starting build "5b1f2312-3778-4aa1-b60e-031c645d544a" FETCHSOURCE BUILD Starting Step #0 Step #0: Already have image (with digest): gcr.io/cloud-builders/git Step #0: Cloning into 'oss-fuzz'... Finished Step #0 Starting Step #1 Step #1: Already have image (with digest): gcr.io/cloud-builders/docker Step #1: Sending build context to Docker daemon 11.78kB Step #1: Step 1/7 : FROM gcr.io/oss-fuzz-base/base-builder Step #1: latest: Pulling from oss-fuzz-base/base-builder Step #1: b549f31133a9: Pulling fs layer Step #1: 546774638ae1: Pulling fs layer Step #1: 1e4d1959044a: Pulling fs layer Step #1: 8755a86c1873: Pulling fs layer Step #1: f9c0e660f70c: Pulling fs layer Step #1: 91489fda87d9: Pulling fs layer Step #1: 08565aebb676: Pulling fs layer Step #1: e2e985e97bf1: Pulling fs layer Step #1: cc27ce5fb9b4: Pulling fs layer Step #1: 47f120ccfee4: Pulling fs layer Step #1: fc8ce1b380d4: Pulling fs layer Step #1: 641a9951be91: Pulling fs layer Step #1: f54dd9111ce9: Pulling fs layer Step #1: c4ee723681ed: Pulling fs layer Step #1: 14b219684277: Pulling fs layer Step #1: 44ef0a335210: Pulling fs layer Step #1: 739044e87aab: Pulling fs layer Step #1: 4ba5fcb2b7b4: Pulling fs layer Step #1: f9c0e660f70c: Waiting Step #1: f2cc9d17eb42: Pulling fs layer Step #1: aae8aca52827: Pulling fs layer Step #1: 72c7f627f24d: Pulling fs layer Step #1: 895cb524f633: Pulling fs layer Step #1: 07bb9121ef6b: Pulling fs layer Step #1: dc10cf8e5b3c: Pulling fs layer Step #1: 002e01733edf: Pulling fs layer Step #1: 9728058072b0: Pulling fs layer Step #1: cc27ce5fb9b4: Waiting Step #1: e0eb88df6af4: Pulling fs layer Step #1: 5562ec10a06f: Pulling fs layer Step #1: 3a4628934546: Pulling fs layer Step #1: 60a762d70bd3: Pulling fs layer Step #1: 91489fda87d9: Waiting Step #1: a04feda75a8a: Pulling fs layer Step #1: 08565aebb676: Waiting Step #1: d58bc7539d5f: Pulling fs layer Step #1: 95ad4169007c: Pulling fs layer Step #1: aa707b89dc5f: Pulling fs layer Step #1: 002e01733edf: Waiting Step #1: c4ee723681ed: Waiting Step #1: e0eb88df6af4: Waiting Step #1: 9728058072b0: Waiting Step #1: 47f120ccfee4: Waiting Step #1: a04feda75a8a: Waiting Step #1: d58bc7539d5f: Waiting Step #1: 4ba5fcb2b7b4: Waiting Step #1: 3a4628934546: Waiting Step #1: 95ad4169007c: Waiting Step #1: aa707b89dc5f: Waiting Step #1: 641a9951be91: Waiting Step #1: 07bb9121ef6b: Waiting Step #1: 739044e87aab: Waiting Step #1: dc10cf8e5b3c: Waiting Step #1: f54dd9111ce9: Waiting Step #1: 60a762d70bd3: Waiting Step #1: f2cc9d17eb42: Waiting Step #1: 895cb524f633: Waiting Step #1: 44ef0a335210: Waiting Step #1: 8755a86c1873: Waiting Step #1: aae8aca52827: Waiting Step #1: 1e4d1959044a: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: f9c0e660f70c: Verifying Checksum Step #1: f9c0e660f70c: Download complete Step #1: 91489fda87d9: Verifying Checksum Step #1: 91489fda87d9: Download complete Step #1: 8755a86c1873: Verifying Checksum Step #1: 8755a86c1873: Download complete Step #1: 546774638ae1: Download complete Step #1: e2e985e97bf1: Download complete Step #1: cc27ce5fb9b4: Verifying Checksum Step #1: cc27ce5fb9b4: Download complete Step #1: b549f31133a9: Pull complete Step #1: fc8ce1b380d4: Verifying Checksum Step #1: fc8ce1b380d4: Download complete Step #1: 641a9951be91: Verifying Checksum Step #1: 641a9951be91: Download complete Step #1: f54dd9111ce9: Download complete Step #1: c4ee723681ed: Verifying Checksum Step #1: c4ee723681ed: Download complete Step #1: 14b219684277: Verifying Checksum Step #1: 14b219684277: Download complete Step #1: 47f120ccfee4: Verifying Checksum Step #1: 47f120ccfee4: Download complete Step #1: 44ef0a335210: Download complete Step #1: 739044e87aab: Verifying Checksum Step #1: 739044e87aab: Download complete Step #1: 4ba5fcb2b7b4: Verifying Checksum Step #1: 4ba5fcb2b7b4: Download complete Step #1: f2cc9d17eb42: Verifying Checksum Step #1: f2cc9d17eb42: Download complete Step #1: aae8aca52827: Verifying Checksum Step #1: aae8aca52827: Download complete Step #1: 72c7f627f24d: Verifying Checksum Step #1: 72c7f627f24d: Download complete Step #1: 895cb524f633: Download complete Step #1: 07bb9121ef6b: Verifying Checksum Step #1: 07bb9121ef6b: Download complete Step #1: 08565aebb676: Verifying Checksum Step #1: 08565aebb676: Download complete Step #1: dc10cf8e5b3c: Verifying Checksum Step #1: dc10cf8e5b3c: Download complete Step #1: 002e01733edf: Verifying Checksum Step #1: 002e01733edf: Download complete Step #1: 9728058072b0: Verifying Checksum Step #1: 9728058072b0: Download complete Step #1: e0eb88df6af4: Verifying Checksum Step #1: e0eb88df6af4: Download complete Step #1: 5562ec10a06f: Verifying Checksum Step #1: 5562ec10a06f: Download complete Step #1: 3a4628934546: Verifying Checksum Step #1: 3a4628934546: Download complete Step #1: a04feda75a8a: Verifying Checksum Step #1: a04feda75a8a: Download complete Step #1: 60a762d70bd3: Verifying Checksum Step #1: 60a762d70bd3: Download complete Step #1: d58bc7539d5f: Verifying Checksum Step #1: d58bc7539d5f: Download complete Step #1: 95ad4169007c: Download complete Step #1: aa707b89dc5f: Verifying Checksum Step #1: aa707b89dc5f: Download complete Step #1: 546774638ae1: Pull complete Step #1: 1e4d1959044a: Pull complete Step #1: 8755a86c1873: Pull complete Step #1: f9c0e660f70c: Pull complete Step #1: 91489fda87d9: Pull complete Step #1: 08565aebb676: Pull complete Step #1: e2e985e97bf1: Pull complete Step #1: cc27ce5fb9b4: Pull complete Step #1: 47f120ccfee4: Pull complete Step #1: fc8ce1b380d4: Pull complete Step #1: 641a9951be91: Pull complete Step #1: f54dd9111ce9: Pull complete Step #1: c4ee723681ed: Pull complete Step #1: 14b219684277: Pull complete Step #1: 44ef0a335210: Pull complete Step #1: 739044e87aab: Pull complete Step #1: 4ba5fcb2b7b4: Pull complete Step #1: f2cc9d17eb42: Pull complete Step #1: aae8aca52827: Pull complete Step #1: 72c7f627f24d: Pull complete Step #1: 895cb524f633: Pull complete Step #1: 07bb9121ef6b: Pull complete Step #1: dc10cf8e5b3c: Pull complete Step #1: 002e01733edf: Pull complete Step #1: 9728058072b0: Pull complete Step #1: e0eb88df6af4: Pull complete Step #1: 5562ec10a06f: Pull complete Step #1: 3a4628934546: Pull complete Step #1: 60a762d70bd3: Pull complete Step #1: a04feda75a8a: Pull complete Step #1: d58bc7539d5f: Pull complete Step #1: 95ad4169007c: Pull complete Step #1: aa707b89dc5f: Pull complete Step #1: Digest: sha256:593eeb07f37f49c2b05ad28b4b0bf07aafa2568f79e0c8add38bfc04d36e3b12 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder:latest Step #1: ---> b1f23636895c Step #1: Step 2/7 : RUN apt-get update && apt-get install -y build-essential cmake gettext make Step #1: ---> Running in 0877c0ee3fbd Step #1: Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB] Step #1: Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease Step #1: Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB] Step #1: Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB] Step #1: Fetched 383 kB in 1s (736 kB/s) Step #1: Reading package lists... Step #1: Reading package lists... Step #1: Building dependency tree... Step #1: Reading state information... Step #1: make is already the newest version (4.2.1-1.2). Step #1: make set to manually installed. Step #1: build-essential is already the newest version (12.8ubuntu1.1). Step #1: The following additional packages will be installed: Step #1: cmake-data gettext-base libarchive13 libcroco3 libglib2.0-0 libglib2.0-data Step #1: libicu66 libjsoncpp1 librhash0 libuv1 libxml2 shared-mime-info xdg-user-dirs Step #1: Suggested packages: Step #1: cmake-doc ninja-build gettext-doc autopoint libasprintf-dev libgettextpo-dev Step #1: lrzip Step #1: The following NEW packages will be installed: Step #1: cmake cmake-data gettext gettext-base libarchive13 libcroco3 libglib2.0-0 Step #1: libglib2.0-data libicu66 libjsoncpp1 librhash0 libuv1 libxml2 Step #1: shared-mime-info xdg-user-dirs Step #1: 0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded. Step #1: Need to get 17.8 MB of archives. Step #1: After this operation, 77.0 MB of additional disk space will be used. Step #1: Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libglib2.0-0 amd64 2.64.6-1~ubuntu20.04.8 [1289 kB] Step #1: Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libglib2.0-data all 2.64.6-1~ubuntu20.04.8 [5848 B] Step #1: Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libicu66 amd64 66.1-2ubuntu2.1 [8515 kB] Step #1: Get:4 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libxml2 amd64 2.9.10+dfsg-5ubuntu0.20.04.8 [640 kB] Step #1: Get:5 http://archive.ubuntu.com/ubuntu focal/main amd64 shared-mime-info amd64 1.15-1 [430 kB] Step #1: Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 xdg-user-dirs amd64 0.17-2ubuntu1 [48.3 kB] Step #1: Get:7 http://archive.ubuntu.com/ubuntu focal/main amd64 gettext-base amd64 0.19.8.1-10build1 [50.2 kB] Step #1: Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libuv1 amd64 1.34.2-1ubuntu1.5 [80.9 kB] Step #1: Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 cmake-data all 3.16.3-1ubuntu1.20.04.1 [1613 kB] Step #1: Get:10 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libarchive13 amd64 3.4.0-2ubuntu1.4 [327 kB] Step #1: Get:11 http://archive.ubuntu.com/ubuntu focal/main amd64 libjsoncpp1 amd64 1.7.4-3.1ubuntu2 [75.6 kB] Step #1: Get:12 http://archive.ubuntu.com/ubuntu focal/main amd64 librhash0 amd64 1.3.9-1 [113 kB] Step #1: Get:13 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 cmake amd64 3.16.3-1ubuntu1.20.04.1 [3668 kB] Step #1: Get:14 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libcroco3 amd64 0.6.13-1ubuntu0.1 [82.4 kB] Step #1: Get:15 http://archive.ubuntu.com/ubuntu focal/main amd64 gettext amd64 0.19.8.1-10build1 [895 kB] Step #1: debconf: delaying package configuration, since apt-utils is not installed Step #1: Fetched 17.8 MB in 1s (28.4 MB/s) Step #1: Selecting previously unselected package libglib2.0-0:amd64. Step #1: (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 17393 files and directories currently installed.) Step #1: Preparing to unpack .../00-libglib2.0-0_2.64.6-1~ubuntu20.04.8_amd64.deb ... Step #1: Unpacking libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.8) ... Step #1: Selecting previously unselected package libglib2.0-data. Step #1: Preparing to unpack .../01-libglib2.0-data_2.64.6-1~ubuntu20.04.8_all.deb ... Step #1: Unpacking libglib2.0-data (2.64.6-1~ubuntu20.04.8) ... Step #1: Selecting previously unselected package libicu66:amd64. Step #1: Preparing to unpack .../02-libicu66_66.1-2ubuntu2.1_amd64.deb ... Step #1: Unpacking libicu66:amd64 (66.1-2ubuntu2.1) ... Step #1: Selecting previously unselected package libxml2:amd64. Step #1: Preparing to unpack .../03-libxml2_2.9.10+dfsg-5ubuntu0.20.04.8_amd64.deb ... Step #1: Unpacking libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.8) ... Step #1: Selecting previously unselected package shared-mime-info. Step #1: Preparing to unpack .../04-shared-mime-info_1.15-1_amd64.deb ... Step #1: Unpacking shared-mime-info (1.15-1) ... Step #1: Selecting previously unselected package xdg-user-dirs. Step #1: Preparing to unpack .../05-xdg-user-dirs_0.17-2ubuntu1_amd64.deb ... Step #1: Unpacking xdg-user-dirs (0.17-2ubuntu1) ... Step #1: Selecting previously unselected package gettext-base. Step #1: Preparing to unpack .../06-gettext-base_0.19.8.1-10build1_amd64.deb ... Step #1: Unpacking gettext-base (0.19.8.1-10build1) ... Step #1: Selecting previously unselected package libuv1:amd64. Step #1: Preparing to unpack .../07-libuv1_1.34.2-1ubuntu1.5_amd64.deb ... Step #1: Unpacking libuv1:amd64 (1.34.2-1ubuntu1.5) ... Step #1: Selecting previously unselected package cmake-data. Step #1: Preparing to unpack .../08-cmake-data_3.16.3-1ubuntu1.20.04.1_all.deb ... Step #1: Unpacking cmake-data (3.16.3-1ubuntu1.20.04.1) ... Step #1: Selecting previously unselected package libarchive13:amd64. Step #1: Preparing to unpack .../09-libarchive13_3.4.0-2ubuntu1.4_amd64.deb ... Step #1: Unpacking libarchive13:amd64 (3.4.0-2ubuntu1.4) ... Step #1: Selecting previously unselected package libjsoncpp1:amd64. Step #1: Preparing to unpack .../10-libjsoncpp1_1.7.4-3.1ubuntu2_amd64.deb ... Step #1: Unpacking libjsoncpp1:amd64 (1.7.4-3.1ubuntu2) ... Step #1: Selecting previously unselected package librhash0:amd64. Step #1: Preparing to unpack .../11-librhash0_1.3.9-1_amd64.deb ... Step #1: Unpacking librhash0:amd64 (1.3.9-1) ... Step #1: Selecting previously unselected package cmake. Step #1: Preparing to unpack .../12-cmake_3.16.3-1ubuntu1.20.04.1_amd64.deb ... Step #1: Unpacking cmake (3.16.3-1ubuntu1.20.04.1) ... Step #1: Selecting previously unselected package libcroco3:amd64. Step #1: Preparing to unpack .../13-libcroco3_0.6.13-1ubuntu0.1_amd64.deb ... Step #1: Unpacking libcroco3:amd64 (0.6.13-1ubuntu0.1) ... Step #1: Selecting previously unselected package gettext. Step #1: Preparing to unpack .../14-gettext_0.19.8.1-10build1_amd64.deb ... Step #1: Unpacking gettext (0.19.8.1-10build1) ... Step #1: Setting up xdg-user-dirs (0.17-2ubuntu1) ... Step #1: Setting up libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.8) ... Step #1: No schema files found: doing nothing. Step #1: Setting up libicu66:amd64 (66.1-2ubuntu2.1) ... Step #1: Setting up gettext-base (0.19.8.1-10build1) ... Step #1: Setting up libglib2.0-data (2.64.6-1~ubuntu20.04.8) ... Step #1: Setting up libuv1:amd64 (1.34.2-1ubuntu1.5) ... Step #1: Setting up librhash0:amd64 (1.3.9-1) ... Step #1: Setting up cmake-data (3.16.3-1ubuntu1.20.04.1) ... Step #1: Setting up libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.8) ... Step #1: Setting up libjsoncpp1:amd64 (1.7.4-3.1ubuntu2) ... Step #1: Setting up libarchive13:amd64 (3.4.0-2ubuntu1.4) ... Step #1: Setting up shared-mime-info (1.15-1) ... Step #1: Setting up libcroco3:amd64 (0.6.13-1ubuntu0.1) ... Step #1: Setting up cmake (3.16.3-1ubuntu1.20.04.1) ... Step #1: Setting up gettext (0.19.8.1-10build1) ... Step #1: Processing triggers for libc-bin (2.31-0ubuntu9.16) ... Step #1: Removing intermediate container 0877c0ee3fbd Step #1: ---> 129a4d333247 Step #1: Step 3/7 : RUN git clone --recurse-submodules https://github.com/google/leveldb.git Step #1: ---> Running in 49fe02c4631c Step #1: Cloning into 'leveldb'... Step #1: Submodule 'third_party/benchmark' (https://github.com/google/benchmark) registered for path 'third_party/benchmark' Step #1: Submodule 'third_party/googletest' (https://github.com/google/googletest.git) registered for path 'third_party/googletest' Step #1: Cloning into '/src/leveldb/third_party/benchmark'... Step #1: Cloning into '/src/leveldb/third_party/googletest'... Step #1: Submodule path 'third_party/benchmark': checked out 'f7547e29ccaed7b64ef4f7495ecfff1c9f6f3d03' Step #1: Submodule path 'third_party/googletest': checked out '662fe38e44900c007eccb65a5d2ea19df7bd520e' Step #1: Removing intermediate container 49fe02c4631c Step #1: ---> 7e1b68bb4a57 Step #1: Step 4/7 : WORKDIR $SRC/ Step #1: ---> Running in 36a0f8fdfd26 Step #1: Removing intermediate container 36a0f8fdfd26 Step #1: ---> 4f893777261d Step #1: Step 5/7 : COPY build.sh $SRC/ Step #1: ---> 840541c3ce28 Step #1: Step 6/7 : COPY *.cc $SRC/leveldb/ Step #1: ---> e654bdeab321 Step #1: Step 7/7 : COPY *.options $SRC/ Step #1: ---> 49af91210a93 Step #1: Successfully built 49af91210a93 Step #1: Successfully tagged gcr.io/oss-fuzz/leveldb:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/leveldb Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileXW89EO Step #2 - "srcmap": + echo '{}' Step #2 - "srcmap": + PATHS_TO_SCAN=/src Step #2 - "srcmap": + [[ c++ == \g\o ]] Step #2 - "srcmap": ++ find /src -name .git -type d Step #2 - "srcmap": + for DOT_GIT_DIR in $(find $PATHS_TO_SCAN -name ".git" -type d) Step #2 - "srcmap": ++ dirname /src/leveldb/.git Step #2 - "srcmap": + GIT_DIR=/src/leveldb Step #2 - "srcmap": + cd /src/leveldb Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/google/leveldb.git Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=ac691084fdc5546421a55b25e7653d450e5a25fb Step #2 - "srcmap": + jq_inplace /tmp/fileXW89EO '."/src/leveldb" = { type: "git", url: "https://github.com/google/leveldb.git", rev: "ac691084fdc5546421a55b25e7653d450e5a25fb" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileqHlCoc Step #2 - "srcmap": + cat /tmp/fileXW89EO Step #2 - "srcmap": + jq '."/src/leveldb" = { type: "git", url: "https://github.com/google/leveldb.git", rev: "ac691084fdc5546421a55b25e7653d450e5a25fb" }' Step #2 - "srcmap": + mv /tmp/fileqHlCoc /tmp/fileXW89EO Step #2 - "srcmap": ++ find /src -name .svn -type d Step #2 - "srcmap": ++ find /src -name .hg -type d Step #2 - "srcmap": + '[' '' '!=' '' ']' Step #2 - "srcmap": + cat /tmp/fileXW89EO Step #2 - "srcmap": + rm /tmp/fileXW89EO Step #2 - "srcmap": { Step #2 - "srcmap": "/src/leveldb": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/google/leveldb.git", Step #2 - "srcmap": "rev": "ac691084fdc5546421a55b25e7653d450e5a25fb" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-libfuzzer-coverage-x86_64" Step #3 - "compile-libfuzzer-coverage-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-libfuzzer-coverage-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-coverage-x86_64": vm.mmap_rnd_bits = 28 Step #3 - "compile-libfuzzer-coverage-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #3 - "compile-libfuzzer-coverage-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-coverage-x86_64": CC=clang Step #3 - "compile-libfuzzer-coverage-x86_64": CXX=clang++ Step #3 - "compile-libfuzzer-coverage-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument Step #3 - "compile-libfuzzer-coverage-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -stdlib=libc++ Step #3 - "compile-libfuzzer-coverage-x86_64": RUSTFLAGS=--cfg fuzzing -Cdebuginfo=1 -Cforce-frame-pointers -Cinstrument-coverage -C link-arg=-lc++ Step #3 - "compile-libfuzzer-coverage-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-coverage-x86_64": + CFLAGS='-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -fno-sanitize=vptr' Step #3 - "compile-libfuzzer-coverage-x86_64": + CXXFLAGS='-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -stdlib=libc++ -fno-sanitize=vptr' Step #3 - "compile-libfuzzer-coverage-x86_64": + CXXFLAGS='-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -stdlib=libc++ -fno-sanitize=vptr -std=c++17' Step #3 - "compile-libfuzzer-coverage-x86_64": + cd /src/leveldb Step #3 - "compile-libfuzzer-coverage-x86_64": + mkdir -p build Step #3 - "compile-libfuzzer-coverage-x86_64": + cd build Step #3 - "compile-libfuzzer-coverage-x86_64": + cmake -DCMAKE_BUILD_TYPE=Release -DLEVELDB_BUILD_TESTS=0 -DLEVELDB_BUILD_BENCHMARKS=0 .. Step #3 - "compile-libfuzzer-coverage-x86_64": -- The C compiler identification is Clang 18.1.8 Step #3 - "compile-libfuzzer-coverage-x86_64": -- The CXX compiler identification is Clang 18.1.8 Step #3 - "compile-libfuzzer-coverage-x86_64": -- Detecting C compiler ABI info Step #3 - "compile-libfuzzer-coverage-x86_64": -- Detecting C compiler ABI info - done Step #3 - "compile-libfuzzer-coverage-x86_64": -- Check for working C compiler: /usr/local/bin/clang - skipped Step #3 - "compile-libfuzzer-coverage-x86_64": -- Detecting C compile features Step #3 - "compile-libfuzzer-coverage-x86_64": -- Detecting C compile features - done Step #3 - "compile-libfuzzer-coverage-x86_64": -- Detecting CXX compiler ABI info Step #3 - "compile-libfuzzer-coverage-x86_64": -- Detecting CXX compiler ABI info - done Step #3 - "compile-libfuzzer-coverage-x86_64": -- Check for working CXX compiler: /usr/local/bin/clang++ - skipped Step #3 - "compile-libfuzzer-coverage-x86_64": -- Detecting CXX compile features Step #3 - "compile-libfuzzer-coverage-x86_64": -- Detecting CXX compile features - done Step #3 - "compile-libfuzzer-coverage-x86_64": -- Looking for unistd.h Step #3 - "compile-libfuzzer-coverage-x86_64": -- Looking for unistd.h - found Step #3 - "compile-libfuzzer-coverage-x86_64": -- Looking for crc32c_value in crc32c Step #3 - "compile-libfuzzer-coverage-x86_64": -- Looking for crc32c_value in crc32c - not found Step #3 - "compile-libfuzzer-coverage-x86_64": -- Looking for snappy_compress in snappy Step #3 - "compile-libfuzzer-coverage-x86_64": -- Looking for snappy_compress in snappy - not found Step #3 - "compile-libfuzzer-coverage-x86_64": -- Looking for zstd_compress in zstd Step #3 - "compile-libfuzzer-coverage-x86_64": -- Looking for zstd_compress in zstd - not found Step #3 - "compile-libfuzzer-coverage-x86_64": -- Looking for malloc in tcmalloc Step #3 - "compile-libfuzzer-coverage-x86_64": -- Looking for malloc in tcmalloc - not found Step #3 - "compile-libfuzzer-coverage-x86_64": -- Looking for fdatasync Step #3 - "compile-libfuzzer-coverage-x86_64": -- Looking for fdatasync - found Step #3 - "compile-libfuzzer-coverage-x86_64": -- Looking for F_FULLFSYNC Step #3 - "compile-libfuzzer-coverage-x86_64": -- Looking for F_FULLFSYNC - not found Step #3 - "compile-libfuzzer-coverage-x86_64": -- Looking for O_CLOEXEC Step #3 - "compile-libfuzzer-coverage-x86_64": -- Looking for O_CLOEXEC - found Step #3 - "compile-libfuzzer-coverage-x86_64": -- Performing Test HAVE_CLANG_THREAD_SAFETY Step #3 - "compile-libfuzzer-coverage-x86_64": -- Performing Test HAVE_CLANG_THREAD_SAFETY - Success Step #3 - "compile-libfuzzer-coverage-x86_64": -- Performing Test LEVELDB_HAVE_NO_MISSING_FIELD_INITIALIZERS Step #3 - "compile-libfuzzer-coverage-x86_64": -- Performing Test LEVELDB_HAVE_NO_MISSING_FIELD_INITIALIZERS - Success Step #3 - "compile-libfuzzer-coverage-x86_64": -- Performing Test HAVE_CXX17_HAS_INCLUDE Step #3 - "compile-libfuzzer-coverage-x86_64": -- Performing Test HAVE_CXX17_HAS_INCLUDE - Success Step #3 - "compile-libfuzzer-coverage-x86_64": -- Performing Test CMAKE_HAVE_LIBC_PTHREAD Step #3 - "compile-libfuzzer-coverage-x86_64": -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success Step #3 - "compile-libfuzzer-coverage-x86_64": -- Found Threads: TRUE Step #3 - "compile-libfuzzer-coverage-x86_64": -- Configuring done (1.7s) Step #3 - "compile-libfuzzer-coverage-x86_64": -- Generating done (0.0s) Step #3 - "compile-libfuzzer-coverage-x86_64": -- Build files have been written to: /src/leveldb/build Step #3 - "compile-libfuzzer-coverage-x86_64": + cmake --build . Step #3 - "compile-libfuzzer-coverage-x86_64": [ 2%] Building CXX object CMakeFiles/leveldb.dir/db/builder.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 4%] Building CXX object CMakeFiles/leveldb.dir/db/c.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 7%] Building CXX object CMakeFiles/leveldb.dir/db/db_impl.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 9%] Building CXX object CMakeFiles/leveldb.dir/db/db_iter.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 12%] Building CXX object CMakeFiles/leveldb.dir/db/dbformat.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 14%] Building CXX object CMakeFiles/leveldb.dir/db/dumpfile.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 17%] Building CXX object CMakeFiles/leveldb.dir/db/filename.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 19%] Building CXX object CMakeFiles/leveldb.dir/db/log_reader.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 21%] Building CXX object CMakeFiles/leveldb.dir/db/log_writer.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 24%] Building CXX object CMakeFiles/leveldb.dir/db/memtable.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 26%] Building CXX object CMakeFiles/leveldb.dir/db/repair.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 29%] Building CXX object CMakeFiles/leveldb.dir/db/table_cache.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 31%] Building CXX object CMakeFiles/leveldb.dir/db/version_edit.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 34%] Building CXX object CMakeFiles/leveldb.dir/db/version_set.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 36%] Building CXX object CMakeFiles/leveldb.dir/db/write_batch.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 39%] Building CXX object CMakeFiles/leveldb.dir/table/block_builder.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 41%] Building CXX object CMakeFiles/leveldb.dir/table/block.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 43%] Building CXX object CMakeFiles/leveldb.dir/table/filter_block.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 46%] Building CXX object CMakeFiles/leveldb.dir/table/format.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 48%] Building CXX object CMakeFiles/leveldb.dir/table/iterator.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 51%] Building CXX object CMakeFiles/leveldb.dir/table/merger.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 53%] Building CXX object CMakeFiles/leveldb.dir/table/table_builder.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 56%] Building CXX object CMakeFiles/leveldb.dir/table/table.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 58%] Building CXX object CMakeFiles/leveldb.dir/table/two_level_iterator.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 60%] Building CXX object CMakeFiles/leveldb.dir/util/arena.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 63%] Building CXX object CMakeFiles/leveldb.dir/util/bloom.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 65%] Building CXX object CMakeFiles/leveldb.dir/util/cache.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 68%] Building CXX object CMakeFiles/leveldb.dir/util/coding.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": [ 70%] Building CXX object CMakeFiles/leveldb.dir/util/comparator.cc.o Step #3 - "compile-libfuzzer-coverage-x86_64": In file included from /src/leveldb/util/comparator.cc:14: Step #3 - "compile-libfuzzer-coverage-x86_64": /src/leveldb/./util/no_destructor.h:24:24: error: no template named 'is_standard_layout_v' in namespace 'std'; did you mean 'is_standard_layout'? Step #3 - "compile-libfuzzer-coverage-x86_64": 24 | static_assert(std::is_standard_layout_v>); Step #3 - "compile-libfuzzer-coverage-x86_64": |  ~~~~~^~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-libfuzzer-coverage-x86_64":  |  is_standard_layout Step #3 - "compile-libfuzzer-coverage-x86_64": /usr/local/bin/../include/c++/v1/__type_traits/is_standard_layout.h:22:29: note: 'is_standard_layout' declared here Step #3 - "compile-libfuzzer-coverage-x86_64": 22 | struct _LIBCPP_TEMPLATE_VIS is_standard_layout : public integral_constant {}; Step #3 - "compile-libfuzzer-coverage-x86_64": |  ^ Step #3 - "compile-libfuzzer-coverage-x86_64": In file included from /src/leveldb/util/comparator.cc:14: Step #3 - "compile-libfuzzer-coverage-x86_64": /src/leveldb/./util/no_destructor.h:24:72: error: expected '(' for function-style cast or type construction Step #3 - "compile-libfuzzer-coverage-x86_64": 24 | static_assert(std::is_standard_layout_v>); Step #3 - "compile-libfuzzer-coverage-x86_64": |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ Step #3 - "compile-libfuzzer-coverage-x86_64": 2 errors generated. Step #3 - "compile-libfuzzer-coverage-x86_64": make[2]: *** [CMakeFiles/leveldb.dir/build.make:468: CMakeFiles/leveldb.dir/util/comparator.cc.o] Error 1 Step #3 - "compile-libfuzzer-coverage-x86_64": make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/leveldb.dir/all] Error 2 Step #3 - "compile-libfuzzer-coverage-x86_64": make: *** [Makefile:136: all] Error 2 Step #3 - "compile-libfuzzer-coverage-x86_64": ******************************************************************************** Step #3 - "compile-libfuzzer-coverage-x86_64": Failed to build. Step #3 - "compile-libfuzzer-coverage-x86_64": To reproduce, run: Step #3 - "compile-libfuzzer-coverage-x86_64": python infra/helper.py build_image leveldb Step #3 - "compile-libfuzzer-coverage-x86_64": python infra/helper.py build_fuzzers --sanitizer coverage --engine libfuzzer --architecture x86_64 leveldb Step #3 - "compile-libfuzzer-coverage-x86_64": ******************************************************************************** Finished Step #3 - "compile-libfuzzer-coverage-x86_64" ERROR ERROR: build step 3 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1