starting build "c1c82440-4548-417c-b95c-c111890adec1" 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: 27a60affb188: Pulling fs layer Step #1: fe996ae7dc59: Pulling fs layer Step #1: 87e0e48e0cd6: Pulling fs layer Step #1: f835b9e0cf1c: Pulling fs layer Step #1: af789c137254: Pulling fs layer Step #1: aff0ac00717e: Pulling fs layer Step #1: 3b1039f9896d: Pulling fs layer Step #1: 03589768b946: Pulling fs layer Step #1: 476467ef4fc6: Pulling fs layer Step #1: 3c766dd49ffb: Pulling fs layer Step #1: cfbfe91f834e: Pulling fs layer Step #1: 0b187dafa8d3: Pulling fs layer Step #1: 345ac71c4767: Pulling fs layer Step #1: 7eadecc7791c: Pulling fs layer Step #1: dde9b3807101: Pulling fs layer Step #1: aa322f9d5179: Pulling fs layer Step #1: ed7ec7eeb8fb: Pulling fs layer Step #1: fcd3b4f5fe45: Pulling fs layer Step #1: 88e3f27d7c68: Pulling fs layer Step #1: 84249ace8dd9: Pulling fs layer Step #1: b48628b9660b: Pulling fs layer Step #1: 560589aab225: Pulling fs layer Step #1: 8049d1ac7afb: Pulling fs layer Step #1: 9ca13435c3d5: Pulling fs layer Step #1: bdf125cfc8ec: Pulling fs layer Step #1: 479b0a7911fe: Pulling fs layer Step #1: 87e0e48e0cd6: Waiting Step #1: b33bd0575475: Pulling fs layer Step #1: af789c137254: Waiting Step #1: cfbfe91f834e: Waiting Step #1: aa322f9d5179: Waiting Step #1: 58dcb60388c1: Pulling fs layer Step #1: ed7ec7eeb8fb: Waiting Step #1: aff0ac00717e: Waiting Step #1: b8e63fb00ce7: Pulling fs layer Step #1: 0b187dafa8d3: Waiting Step #1: d8ea79b21b9a: Pulling fs layer Step #1: 74524f23875e: Pulling fs layer Step #1: 3b1039f9896d: Waiting Step #1: fcd3b4f5fe45: Waiting Step #1: 8a3a946d5a7c: Pulling fs layer Step #1: 345ac71c4767: Waiting Step #1: 8328a6d3718e: Pulling fs layer Step #1: 03589768b946: Waiting Step #1: 88e3f27d7c68: Waiting Step #1: 7eadecc7791c: Waiting Step #1: 84249ace8dd9: Waiting Step #1: 476467ef4fc6: Waiting Step #1: 3c766dd49ffb: Waiting Step #1: dde9b3807101: Waiting Step #1: b48628b9660b: Waiting Step #1: 560589aab225: Waiting Step #1: d8ea79b21b9a: Waiting Step #1: 8049d1ac7afb: Waiting Step #1: 8a3a946d5a7c: Waiting Step #1: 74524f23875e: Waiting Step #1: 9ca13435c3d5: Waiting Step #1: 8328a6d3718e: Waiting Step #1: bdf125cfc8ec: Waiting Step #1: b8e63fb00ce7: Waiting Step #1: 58dcb60388c1: Waiting Step #1: 479b0a7911fe: Waiting Step #1: fe996ae7dc59: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: f835b9e0cf1c: Verifying Checksum Step #1: f835b9e0cf1c: Download complete Step #1: 87e0e48e0cd6: Verifying Checksum Step #1: 87e0e48e0cd6: Download complete Step #1: af789c137254: Verifying Checksum Step #1: af789c137254: Download complete Step #1: 3b1039f9896d: Download complete Step #1: 27a60affb188: Verifying Checksum Step #1: 27a60affb188: Download complete Step #1: 03589768b946: Verifying Checksum Step #1: 03589768b946: Download complete Step #1: b549f31133a9: Pull complete Step #1: 3c766dd49ffb: Verifying Checksum Step #1: 3c766dd49ffb: Download complete Step #1: cfbfe91f834e: Verifying Checksum Step #1: cfbfe91f834e: Download complete Step #1: 0b187dafa8d3: Download complete Step #1: 345ac71c4767: Verifying Checksum Step #1: 345ac71c4767: Download complete Step #1: 7eadecc7791c: Verifying Checksum Step #1: 7eadecc7791c: Download complete Step #1: dde9b3807101: Verifying Checksum Step #1: dde9b3807101: Download complete Step #1: aa322f9d5179: Verifying Checksum Step #1: aa322f9d5179: Download complete Step #1: 476467ef4fc6: Verifying Checksum Step #1: 476467ef4fc6: Download complete Step #1: ed7ec7eeb8fb: Verifying Checksum Step #1: ed7ec7eeb8fb: Download complete Step #1: fcd3b4f5fe45: Verifying Checksum Step #1: fcd3b4f5fe45: Download complete Step #1: 88e3f27d7c68: Verifying Checksum Step #1: 88e3f27d7c68: Download complete Step #1: 84249ace8dd9: Verifying Checksum Step #1: 84249ace8dd9: Download complete Step #1: b48628b9660b: Verifying Checksum Step #1: b48628b9660b: Download complete Step #1: 560589aab225: Verifying Checksum Step #1: 560589aab225: Download complete Step #1: 8049d1ac7afb: Verifying Checksum Step #1: 8049d1ac7afb: Download complete Step #1: 9ca13435c3d5: Verifying Checksum Step #1: 9ca13435c3d5: Download complete Step #1: bdf125cfc8ec: Verifying Checksum Step #1: bdf125cfc8ec: Download complete Step #1: 479b0a7911fe: Verifying Checksum Step #1: 479b0a7911fe: Download complete Step #1: b33bd0575475: Verifying Checksum Step #1: b33bd0575475: Download complete Step #1: 58dcb60388c1: Verifying Checksum Step #1: 58dcb60388c1: Download complete Step #1: aff0ac00717e: Verifying Checksum Step #1: aff0ac00717e: Download complete Step #1: d8ea79b21b9a: Verifying Checksum Step #1: d8ea79b21b9a: Download complete Step #1: b8e63fb00ce7: Verifying Checksum Step #1: b8e63fb00ce7: Download complete Step #1: 74524f23875e: Download complete Step #1: 8a3a946d5a7c: Verifying Checksum Step #1: 8a3a946d5a7c: Download complete Step #1: 8328a6d3718e: Verifying Checksum Step #1: 8328a6d3718e: Download complete Step #1: 27a60affb188: Pull complete Step #1: fe996ae7dc59: Pull complete Step #1: 87e0e48e0cd6: Pull complete Step #1: f835b9e0cf1c: Pull complete Step #1: af789c137254: Pull complete Step #1: aff0ac00717e: Pull complete Step #1: 3b1039f9896d: Pull complete Step #1: 03589768b946: Pull complete Step #1: 476467ef4fc6: Pull complete Step #1: 3c766dd49ffb: Pull complete Step #1: cfbfe91f834e: Pull complete Step #1: 0b187dafa8d3: Pull complete Step #1: 345ac71c4767: Pull complete Step #1: 7eadecc7791c: Pull complete Step #1: dde9b3807101: Pull complete Step #1: aa322f9d5179: Pull complete Step #1: ed7ec7eeb8fb: Pull complete Step #1: fcd3b4f5fe45: Pull complete Step #1: 88e3f27d7c68: Pull complete Step #1: 84249ace8dd9: Pull complete Step #1: b48628b9660b: Pull complete Step #1: 560589aab225: Pull complete Step #1: 8049d1ac7afb: Pull complete Step #1: 9ca13435c3d5: Pull complete Step #1: bdf125cfc8ec: Pull complete Step #1: 479b0a7911fe: Pull complete Step #1: b33bd0575475: Pull complete Step #1: 58dcb60388c1: Pull complete Step #1: b8e63fb00ce7: Pull complete Step #1: d8ea79b21b9a: Pull complete Step #1: 74524f23875e: Pull complete Step #1: 8a3a946d5a7c: Pull complete Step #1: 8328a6d3718e: Pull complete Step #1: Digest: sha256:112a54785eaf7e70ca82ab22a35e45df51227f5bb0e5125fcc05f446fa324a7e Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder:latest Step #1: ---> fec8bbbf3c13 Step #1: Step 2/7 : RUN apt-get update && apt-get install -y build-essential cmake gettext make Step #1: ---> Running in 378f0101b3b3 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 (367 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 2s (10.0 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.17) ... Step #1: Removing intermediate container 378f0101b3b3 Step #1: ---> ff96c41874a2 Step #1: Step 3/7 : RUN git clone --recurse-submodules https://github.com/google/leveldb.git Step #1: ---> Running in e32e50807457 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 e32e50807457 Step #1: ---> e5aa7a7da2e7 Step #1: Step 4/7 : WORKDIR $SRC/ Step #1: ---> Running in e2d5097b513f Step #1: Removing intermediate container e2d5097b513f Step #1: ---> 4f0860efd980 Step #1: Step 5/7 : COPY build.sh $SRC/ Step #1: ---> e0cd88b0dce9 Step #1: Step 6/7 : COPY *.cc $SRC/leveldb/ Step #1: ---> b7d42267af1e Step #1: Step 7/7 : COPY *.options $SRC/ Step #1: ---> 26838c4bf6a5 Step #1: Successfully built 26838c4bf6a5 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/fileDmfBKN 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/fileDmfBKN '."/src/leveldb" = { type: "git", url: "https://github.com/google/leveldb.git", rev: "ac691084fdc5546421a55b25e7653d450e5a25fb" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filezI8Cwb Step #2 - "srcmap": + cat /tmp/fileDmfBKN Step #2 - "srcmap": + jq '."/src/leveldb" = { type: "git", url: "https://github.com/google/leveldb.git", rev: "ac691084fdc5546421a55b25e7653d450e5a25fb" }' Step #2 - "srcmap": + mv /tmp/filezI8Cwb /tmp/fileDmfBKN 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/fileDmfBKN Step #2 - "srcmap": + rm /tmp/fileDmfBKN 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 (2.1s) 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