starting build "7e5a57a1-0b1d-4470-865c-c65a04b70ebe" 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 5.632kB Step #1: Step 1/5 : FROM gcr.io/oss-fuzz-base/base-builder Step #1: latest: Pulling from oss-fuzz-base/base-builder Step #1: be8ec4e48d7f: Pulling fs layer Step #1: 33b8b485aff0: Pulling fs layer Step #1: d887158cc58c: Pulling fs layer Step #1: 05895bb28c18: Pulling fs layer Step #1: aa905a39f88d: Pulling fs layer Step #1: c7074f267687: Pulling fs layer Step #1: 2fe9c5f3c19c: Pulling fs layer Step #1: 05895bb28c18: Waiting Step #1: aa905a39f88d: Waiting Step #1: c7074f267687: Waiting Step #1: 88c194406a6b: Pulling fs layer Step #1: 2fe9c5f3c19c: Waiting Step #1: 572211246009: Pulling fs layer Step #1: 88c194406a6b: Waiting Step #1: 572211246009: Waiting Step #1: dce8304dfe3b: Pulling fs layer Step #1: 705af039ef9a: Pulling fs layer Step #1: 8b512b00f284: Pulling fs layer Step #1: 705af039ef9a: Waiting Step #1: 8b512b00f284: Waiting Step #1: dce8304dfe3b: Waiting Step #1: dc6dd1eee853: Pulling fs layer Step #1: cc91cf06aba9: Pulling fs layer Step #1: dc6dd1eee853: Waiting Step #1: 9e069a7a8eed: Pulling fs layer Step #1: 9e069a7a8eed: Waiting Step #1: 3bc7363f8e87: Pulling fs layer Step #1: ef8efa958638: Pulling fs layer Step #1: 6e4ff5625b1c: Pulling fs layer Step #1: 94784a7ef363: Pulling fs layer Step #1: 414eba1ee71a: Pulling fs layer Step #1: 8130bd99c65f: Pulling fs layer Step #1: 7190188d5792: Pulling fs layer Step #1: 11fcee3eb891: Pulling fs layer Step #1: dc991e29a8d4: Pulling fs layer Step #1: 9c68115cff54: Pulling fs layer Step #1: 6fec5c1457e3: Pulling fs layer Step #1: 447b3f60783e: Pulling fs layer Step #1: 3bc7363f8e87: Waiting Step #1: 9c68115cff54: Waiting Step #1: ef8efa958638: Waiting Step #1: 6e4ff5625b1c: Waiting Step #1: 7190188d5792: Waiting Step #1: 94784a7ef363: Waiting Step #1: 414eba1ee71a: Waiting Step #1: 6fec5c1457e3: Waiting Step #1: dc991e29a8d4: Waiting Step #1: 8130bd99c65f: Waiting Step #1: 11fcee3eb891: Waiting Step #1: 447b3f60783e: Waiting Step #1: d887158cc58c: Verifying Checksum Step #1: d887158cc58c: Download complete Step #1: 33b8b485aff0: Verifying Checksum Step #1: 33b8b485aff0: Download complete Step #1: 05895bb28c18: Verifying Checksum Step #1: 05895bb28c18: Download complete Step #1: c7074f267687: Verifying Checksum Step #1: c7074f267687: Download complete Step #1: be8ec4e48d7f: Verifying Checksum Step #1: be8ec4e48d7f: Download complete Step #1: 88c194406a6b: Download complete Step #1: aa905a39f88d: Verifying Checksum Step #1: aa905a39f88d: Download complete Step #1: dce8304dfe3b: Verifying Checksum Step #1: dce8304dfe3b: Download complete Step #1: 2fe9c5f3c19c: Verifying Checksum Step #1: 2fe9c5f3c19c: Download complete Step #1: 8b512b00f284: Verifying Checksum Step #1: 8b512b00f284: Download complete Step #1: dc6dd1eee853: Verifying Checksum Step #1: dc6dd1eee853: Download complete Step #1: cc91cf06aba9: Verifying Checksum Step #1: cc91cf06aba9: Download complete Step #1: be8ec4e48d7f: Pull complete Step #1: 705af039ef9a: Verifying Checksum Step #1: 705af039ef9a: Download complete Step #1: 33b8b485aff0: Pull complete Step #1: d887158cc58c: Pull complete Step #1: 05895bb28c18: Pull complete Step #1: 3bc7363f8e87: Verifying Checksum Step #1: 3bc7363f8e87: Download complete Step #1: 9e069a7a8eed: Verifying Checksum Step #1: 9e069a7a8eed: Download complete Step #1: aa905a39f88d: Pull complete Step #1: c7074f267687: Pull complete Step #1: 6e4ff5625b1c: Verifying Checksum Step #1: 6e4ff5625b1c: Download complete Step #1: 94784a7ef363: Verifying Checksum Step #1: 94784a7ef363: Download complete Step #1: 414eba1ee71a: Verifying Checksum Step #1: 414eba1ee71a: Download complete Step #1: 8130bd99c65f: Download complete Step #1: ef8efa958638: Verifying Checksum Step #1: ef8efa958638: Download complete Step #1: 572211246009: Verifying Checksum Step #1: 572211246009: Download complete Step #1: dc991e29a8d4: Verifying Checksum Step #1: dc991e29a8d4: Download complete Step #1: 9c68115cff54: Verifying Checksum Step #1: 9c68115cff54: Download complete Step #1: 6fec5c1457e3: Verifying Checksum Step #1: 6fec5c1457e3: Download complete Step #1: 7190188d5792: Verifying Checksum Step #1: 7190188d5792: Download complete Step #1: 447b3f60783e: Verifying Checksum Step #1: 447b3f60783e: Download complete Step #1: 11fcee3eb891: Verifying Checksum Step #1: 11fcee3eb891: Download complete Step #1: 2fe9c5f3c19c: Pull complete Step #1: 88c194406a6b: Pull complete Step #1: 572211246009: Pull complete Step #1: dce8304dfe3b: Pull complete Step #1: 705af039ef9a: Pull complete Step #1: 8b512b00f284: Pull complete Step #1: dc6dd1eee853: Pull complete Step #1: cc91cf06aba9: Pull complete Step #1: 9e069a7a8eed: Pull complete Step #1: 3bc7363f8e87: Pull complete Step #1: ef8efa958638: Pull complete Step #1: 6e4ff5625b1c: Pull complete Step #1: 94784a7ef363: Pull complete Step #1: 414eba1ee71a: Pull complete Step #1: 8130bd99c65f: Pull complete Step #1: 7190188d5792: Pull complete Step #1: 11fcee3eb891: Pull complete Step #1: dc991e29a8d4: Pull complete Step #1: 9c68115cff54: Pull complete Step #1: 6fec5c1457e3: Pull complete Step #1: 447b3f60783e: Pull complete Step #1: Digest: sha256:6cd402d36992b46a9358a6cdbe2d5fa39953d422e739b9dcd3ac227d8ffb6d21 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder:latest Step #1: ---> beedc1369f73 Step #1: Step 2/5 : RUN apt-get update Step #1: ---> Running in 6197c8ec4f7a Step #1: Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB] Step #1: Hit:2 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial InRelease Step #1: Hit:3 http://archive.ubuntu.com/ubuntu xenial InRelease Step #1: Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB] Step #1: Get:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB] Step #1: Get:6 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [1896 kB] Step #1: Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [2406 kB] Step #1: Get:8 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [1371 kB] Step #1: Get:9 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [979 kB] Step #1: Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [1840 kB] Step #1: Get:11 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [827 kB] Step #1: Get:12 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [8820 B] Step #1: Get:13 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages [9052 B] Step #1: Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [1532 kB] Step #1: Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [1364 kB] Step #1: Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [26.4 kB] Step #1: Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 Packages [24.8 kB] Step #1: Fetched 12.6 MB in 2s (6222 kB/s) Step #1: Reading package lists... Step #1: Removing intermediate container 6197c8ec4f7a Step #1: ---> 439bff8dbe39 Step #1: Step 3/5 : RUN git clone --recursive --depth 1 https://github.com/mongodb/mongo-c-driver Step #1: ---> Running in 5a6e1647205b Step #1: Cloning into 'mongo-c-driver'... Step #1: Removing intermediate container 5a6e1647205b Step #1: ---> 15b09ad39609 Step #1: Step 4/5 : WORKDIR $SRC/mongo-c-driver Step #1: ---> Running in 83cd4dcdd4f5 Step #1: Removing intermediate container 83cd4dcdd4f5 Step #1: ---> ccd07efc75d3 Step #1: Step 5/5 : COPY build.sh $SRC/ Step #1: ---> 223978d766bc Step #1: Successfully built 223978d766bc Step #1: Successfully tagged gcr.io/oss-fuzz/mongodb:latest Finished Step #1 Starting Step #2 Step #2: Already have image: gcr.io/oss-fuzz/mongodb Step #2: ++ tempfile Step #2: + SRCMAP=/tmp/fileoxSZs0 Step #2: + echo '{}' Step #2: + PATHS_TO_SCAN=/src Step #2: + [[ c++ == \g\o ]] Step #2: ++ find /src -name .git -type d Step #2: + for DOT_GIT_DIR in '$(find $PATHS_TO_SCAN -name ".git" -type d)' Step #2: ++ dirname /src/mongo-c-driver/.git Step #2: + GIT_DIR=/src/mongo-c-driver Step #2: + cd /src/mongo-c-driver Step #2: ++ git config --get remote.origin.url Step #2: + GIT_URL=https://github.com/mongodb/mongo-c-driver Step #2: ++ git rev-parse HEAD Step #2: + GIT_REV=873ceb046f95b00ec4cd3f4d07dfe9b7ae911707 Step #2: + jq_inplace /tmp/fileoxSZs0 '."/src/mongo-c-driver" = { type: "git", url: "https://github.com/mongodb/mongo-c-driver", rev: "873ceb046f95b00ec4cd3f4d07dfe9b7ae911707" }' Step #2: ++ tempfile Step #2: + F=/tmp/filegRskZ2 Step #2: + cat /tmp/fileoxSZs0 Step #2: + jq '."/src/mongo-c-driver" = { type: "git", url: "https://github.com/mongodb/mongo-c-driver", rev: "873ceb046f95b00ec4cd3f4d07dfe9b7ae911707" }' Step #2: + mv /tmp/filegRskZ2 /tmp/fileoxSZs0 Step #2: + for DOT_GIT_DIR in '$(find $PATHS_TO_SCAN -name ".git" -type d)' Step #2: ++ dirname /src/afl/.git Step #2: + GIT_DIR=/src/afl Step #2: + cd /src/afl Step #2: ++ git config --get remote.origin.url Step #2: + GIT_URL=https://github.com/google/AFL.git Step #2: ++ git rev-parse HEAD Step #2: + GIT_REV=82b5e359463238d790cadbe2dd494d6a4928bff3 Step #2: + jq_inplace /tmp/fileoxSZs0 '."/src/afl" = { type: "git", url: "https://github.com/google/AFL.git", rev: "82b5e359463238d790cadbe2dd494d6a4928bff3" }' Step #2: ++ tempfile Step #2: + F=/tmp/file4FpWi7 Step #2: + cat /tmp/fileoxSZs0 Step #2: + jq '."/src/afl" = { type: "git", url: "https://github.com/google/AFL.git", rev: "82b5e359463238d790cadbe2dd494d6a4928bff3" }' Step #2: + mv /tmp/file4FpWi7 /tmp/fileoxSZs0 Step #2: ++ find /src -name .svn -type d Step #2: ++ find /src -name .hg -type d Step #2: + '[' '' '!=' '' ']' Step #2: + cat /tmp/fileoxSZs0 Step #2: + rm /tmp/fileoxSZs0 Step #2: { Step #2: "/src/mongo-c-driver": { Step #2: "type": "git", Step #2: "url": "https://github.com/mongodb/mongo-c-driver", Step #2: "rev": "873ceb046f95b00ec4cd3f4d07dfe9b7ae911707" Step #2: }, Step #2: "/src/afl": { Step #2: "type": "git", Step #2: "url": "https://github.com/google/AFL.git", Step #2: "rev": "82b5e359463238d790cadbe2dd494d6a4928bff3" Step #2: } Step #2: } Finished Step #2 Starting Step #3 Step #3: Pulling image: gcr.io/oss-fuzz-base/msan-libs-builder Step #3: Using default tag: latest Step #3: latest: Pulling from oss-fuzz-base/msan-libs-builder Step #3: be8ec4e48d7f: Already exists Step #3: 33b8b485aff0: Already exists Step #3: d887158cc58c: Already exists Step #3: 05895bb28c18: Already exists Step #3: aa905a39f88d: Already exists Step #3: c7074f267687: Already exists Step #3: 2fe9c5f3c19c: Already exists Step #3: 88c194406a6b: Already exists Step #3: 572211246009: Already exists Step #3: dce8304dfe3b: Already exists Step #3: c09849d7ceb2: Pulling fs layer Step #3: 3a062f0b1937: Pulling fs layer Step #3: e24740531721: Pulling fs layer Step #3: add68c27dcfd: Pulling fs layer Step #3: 14dbdc69f350: Pulling fs layer Step #3: cb59e0e14904: Pulling fs layer Step #3: 7491321dd7ac: Pulling fs layer Step #3: 14dbdc69f350: Waiting Step #3: cb59e0e14904: Waiting Step #3: add68c27dcfd: Waiting Step #3: c09849d7ceb2: Verifying Checksum Step #3: c09849d7ceb2: Download complete Step #3: e24740531721: Verifying Checksum Step #3: e24740531721: Download complete Step #3: add68c27dcfd: Download complete Step #3: c09849d7ceb2: Pull complete Step #3: 14dbdc69f350: Verifying Checksum Step #3: 14dbdc69f350: Download complete Step #3: cb59e0e14904: Verifying Checksum Step #3: cb59e0e14904: Download complete Step #3: 3a062f0b1937: Verifying Checksum Step #3: 3a062f0b1937: Download complete Step #3: 7491321dd7ac: Verifying Checksum Step #3: 7491321dd7ac: Download complete Step #3: 3a062f0b1937: Pull complete Step #3: e24740531721: Pull complete Step #3: add68c27dcfd: Pull complete Step #3: 14dbdc69f350: Pull complete Step #3: cb59e0e14904: Pull complete Step #3: 7491321dd7ac: Pull complete Step #3: Digest: sha256:593e33354a6bbe63153a2a74d9e5d1e69a96c017a80f877a49c666cca501bbf6 Step #3: Status: Downloaded newer image for gcr.io/oss-fuzz-base/msan-libs-builder:latest Step #3: gcr.io/oss-fuzz-base/msan-libs-builder:latest Finished Step #3 Starting Step #4 Step #4: Already have image: gcr.io/oss-fuzz/mongodb Step #4: --------------------------------------------------------------- Step #4: ar: creating /usr/lib/libFuzzingEngine.a Step #4: Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #4: --------------------------------------------------------------- Step #4: CC=clang Step #4: CXX=clang++ Step #4: CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link Step #4: CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ Step #4: --------------------------------------------------------------- Step #4: + mkdir cmake-build Step #4: + cd cmake-build Step #4: + cmake -DENABLE_MONGOC=OFF -DENABLE_BSON_AUTO=ON -DENABLE_STATIC=ON ../ Step #4: -- The C compiler identification is Clang 12.0.0 Step #4: -- Detecting C compiler ABI info Step #4: -- Detecting C compiler ABI info - done Step #4: -- Check for working C compiler: /usr/local/bin/clang - skipped Step #4: -- Detecting C compile features Step #4: -- Detecting C compile features - done Step #4: -- No CMAKE_BUILD_TYPE selected, defaulting to RelWithDebInfo Step #4: -- Found PythonInterp: /usr/local/bin/python3.8 (found version "3.8.3") Step #4: calculated BUILD_VERSION 0.0.0 Step #4: storing BUILD_VERSION 0.0.0 in file VERSION_CURRENT for later use Step #4: -- Build and install static libraries Step #4: -- Using bundled libbson Step #4: libbson version (from VERSION_CURRENT file): 0.0.0 Step #4: -- Check if the system is big endian Step #4: -- Searching 16 bit integer Step #4: -- Looking for sys/types.h Step #4: -- Looking for sys/types.h - found Step #4: -- Looking for stdint.h Step #4: -- Looking for stdint.h - found Step #4: -- Looking for stddef.h Step #4: -- Looking for stddef.h - found Step #4: -- Check size of unsigned short Step #4: -- Check size of unsigned short - done Step #4: -- Searching 16 bit integer - Using unsigned short Step #4: -- Check if the system is big endian - little endian Step #4: -- Looking for snprintf Step #4: -- Looking for snprintf - found Step #4: -- Looking for reallocf Step #4: -- Looking for reallocf - not found Step #4: -- Performing Test BSON_HAVE_TIMESPEC Step #4: -- Performing Test BSON_HAVE_TIMESPEC - Success Step #4: -- struct timespec found Step #4: -- Looking for gmtime_r Step #4: -- Looking for gmtime_r - found Step #4: -- Looking for rand_r Step #4: -- Looking for rand_r - found Step #4: -- Looking for strings.h Step #4: CMake Warning (dev) at /usr/local/share/cmake-3.18/Modules/CheckIncludeFile.cmake:80 (message): Step #4: Policy CMP0075 is not set: Include file check macros honor Step #4: CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy Step #4: details. Use the cmake_policy command to set the policy and suppress this Step #4: warning. Step #4: Step #4: CMAKE_REQUIRED_LIBRARIES is set to: Step #4: Step #4: /usr/lib/x86_64-linux-gnu/librt.so Step #4: Step #4: For compatibility with CMake 3.11 and below this check is ignoring it. Step #4: Call Stack (most recent call first): Step #4: src/libbson/CMakeLists.txt:91 (CHECK_INCLUDE_FILE) Step #4: This warning is for project developers. Use -Wno-dev to suppress it. Step #4: Step #4: -- Looking for strings.h - found Step #4: -- Looking for strlcpy Step #4: -- Looking for strlcpy - not found Step #4: -- Looking for clock_gettime Step #4: -- Looking for clock_gettime - found Step #4: -- Looking for strnlen Step #4: -- Looking for strnlen - found Step #4: -- Looking for stdbool.h Step #4: -- Looking for stdbool.h - found Step #4: -- Looking for SYS_gettid Step #4: -- Looking for SYS_gettid - found Step #4: -- Looking for syscall Step #4: -- Looking for syscall - found Step #4: -- Performing Test HAVE_ATOMIC_32_ADD_AND_FETCH Step #4: -- Performing Test HAVE_ATOMIC_32_ADD_AND_FETCH - Success Step #4: -- Performing Test HAVE_ATOMIC_64_ADD_AND_FETCH Step #4: -- Performing Test HAVE_ATOMIC_64_ADD_AND_FETCH - Success Step #4: -- Looking for pthread.h Step #4: -- Looking for pthread.h - found Step #4: -- Performing Test CMAKE_HAVE_LIBC_PTHREAD Step #4: -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success Step #4: -- Found Threads: TRUE Step #4: Adding -fPIC to compilation of bson_static components Step #4: -- Build files generated for: Step #4: -- build system: Unix Makefiles Step #4: -- Configuring done Step #4: -- Generating done Step #4: CMake Warning: Step #4: Manually-specified variables were not used by the project: Step #4: Step #4: ENABLE_BSON_AUTO Step #4: Step #4: Step #4: -- Build files have been written to: /src/mongo-c-driver/cmake-build Step #4: + make Step #4: Scanning dependencies of target bson_shared Step #4: [ 1%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bcon.c.o Step #4: [ 2%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson.c.o Step #4: [ 4%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-atomic.c.o Step #4: [ 5%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-clock.c.o Step #4: [ 7%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-context.c.o Step #4: [ 8%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-decimal128.c.o Step #4: [ 10%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-error.c.o Step #4: [ 11%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-iso8601.c.o Step #4: [ 13%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-iter.c.o Step #4: [ 14%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-json.c.o Step #4: [ 16%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-keys.c.o Step #4: [ 17%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-md5.c.o Step #4: [ 19%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-memory.c.o Step #4: [ 20%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-oid.c.o Step #4: [ 22%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-reader.c.o Step #4: [ 23%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-string.c.o Step #4: [ 25%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-timegm.c.o Step #4: [ 26%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-utf8.c.o Step #4: [ 27%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-value.c.o Step #4: [ 29%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-version-functions.c.o Step #4: [ 30%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-writer.c.o Step #4: [ 32%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/jsonsl/jsonsl.c.o Step #4: [ 33%] Building C object src/libbson/CMakeFiles/bson_shared.dir/__/common/common-b64.c.o Step #4: [ 35%] Building C object src/libbson/CMakeFiles/bson_shared.dir/__/common/common-md5.c.o Step #4: [ 36%] Building C object src/libbson/CMakeFiles/bson_shared.dir/__/common/common-thread.c.o Step #4: [ 38%] Linking C shared library libbson-1.0.so Step #4: [ 38%] Built target bson_shared Step #4: Scanning dependencies of target bcon-speed Step #4: [ 39%] Building C object src/libbson/CMakeFiles/bcon-speed.dir/examples/bcon-speed.c.o Step #4: [ 41%] Linking C executable bcon-speed Step #4: [ 41%] Built target bcon-speed Step #4: Scanning dependencies of target bson_static Step #4: [ 42%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bcon.c.o Step #4: [ 44%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson.c.o Step #4: [ 45%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-atomic.c.o Step #4: [ 47%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-clock.c.o Step #4: [ 48%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-context.c.o Step #4: [ 50%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-decimal128.c.o Step #4: [ 51%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-error.c.o Step #4: [ 52%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-iso8601.c.o Step #4: [ 54%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-iter.c.o Step #4: [ 55%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-json.c.o Step #4: [ 57%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-keys.c.o Step #4: [ 58%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-md5.c.o Step #4: [ 60%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-memory.c.o Step #4: [ 61%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-oid.c.o Step #4: [ 63%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-reader.c.o Step #4: [ 64%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-string.c.o Step #4: [ 66%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-timegm.c.o Step #4: [ 67%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-utf8.c.o Step #4: [ 69%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-value.c.o Step #4: [ 70%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-version-functions.c.o Step #4: [ 72%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-writer.c.o Step #4: [ 73%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/jsonsl/jsonsl.c.o Step #4: [ 75%] Building C object src/libbson/CMakeFiles/bson_static.dir/__/common/common-b64.c.o Step #4: [ 76%] Building C object src/libbson/CMakeFiles/bson_static.dir/__/common/common-md5.c.o Step #4: [ 77%] Building C object src/libbson/CMakeFiles/bson_static.dir/__/common/common-thread.c.o Step #4: [ 79%] Linking C static library libbson-static-1.0.a Step #4: [ 79%] Built target bson_static Step #4: Scanning dependencies of target json-to-bson Step #4: [ 80%] Building C object src/libbson/CMakeFiles/json-to-bson.dir/examples/json-to-bson.c.o Step #4: [ 82%] Linking C executable json-to-bson Step #4: [ 82%] Built target json-to-bson Step #4: Scanning dependencies of target bson-streaming-reader Step #4: [ 83%] Building C object src/libbson/CMakeFiles/bson-streaming-reader.dir/examples/bson-streaming-reader.c.o Step #4: [ 85%] Linking C executable bson-streaming-reader Step #4: [ 85%] Built target bson-streaming-reader Step #4: Scanning dependencies of target bson-to-json Step #4: [ 86%] Building C object src/libbson/CMakeFiles/bson-to-json.dir/examples/bson-to-json.c.o Step #4: [ 88%] Linking C executable bson-to-json Step #4: [ 88%] Built target bson-to-json Step #4: Scanning dependencies of target bson-metrics Step #4: [ 89%] Building C object src/libbson/CMakeFiles/bson-metrics.dir/examples/bson-metrics.c.o Step #4: [ 91%] Linking C executable bson-metrics Step #4: [ 91%] Built target bson-metrics Step #4: Scanning dependencies of target bson-validate Step #4: [ 92%] Building C object src/libbson/CMakeFiles/bson-validate.dir/examples/bson-validate.c.o Step #4: [ 94%] Linking C executable bson-validate Step #4: [ 94%] Built target bson-validate Step #4: Scanning dependencies of target bcon-col-view Step #4: [ 95%] Building C object src/libbson/CMakeFiles/bcon-col-view.dir/examples/bcon-col-view.c.o Step #4: [ 97%] Linking C executable bcon-col-view Step #4: [ 97%] Built target bcon-col-view Step #4: Scanning dependencies of target bson-check-depth Step #4: [ 98%] Building C object src/libbson/CMakeFiles/bson-check-depth.dir/examples/bson-check-depth.c.o Step #4: [100%] Linking C executable bson-check-depth Step #4: [100%] Built target bson-check-depth Step #4: + clang -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -I./src -I./src/libbson/src -I./src/libbson/src/bson -I./src/common -I../src/libbson/src -I../src/libbson/src/bson -I../src/common -c ../src/libbson/fuzz/fuzz_test_libbson.c -o fuzz_test_libbson.o Step #4: + clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ -fsanitize=fuzzer fuzz_test_libbson.o ./src/libbson/libbson-static-1.0.a -o /workspace/out/address/fuzz-libbson Finished Step #4 Starting Step #5 Step #5: Pulling image: gcr.io/oss-fuzz-base/base-runner Step #5: Using default tag: latest Step #5: latest: Pulling from oss-fuzz-base/base-runner Step #5: be8ec4e48d7f: Already exists Step #5: 33b8b485aff0: Already exists Step #5: d887158cc58c: Already exists Step #5: 05895bb28c18: Already exists Step #5: aa905a39f88d: Already exists Step #5: c7074f267687: Already exists Step #5: 77fdbc7dde37: Pulling fs layer Step #5: f9f8372a7018: Pulling fs layer Step #5: af0f07c35ec8: Pulling fs layer Step #5: f81da946257a: Pulling fs layer Step #5: 23e656355937: Pulling fs layer Step #5: 4f9fab57997b: Pulling fs layer Step #5: 9cab044ca0a6: Pulling fs layer Step #5: 23e656355937: Waiting Step #5: 4f9fab57997b: Waiting Step #5: 9cab044ca0a6: Waiting Step #5: f81da946257a: Waiting Step #5: 77fdbc7dde37: Verifying Checksum Step #5: 77fdbc7dde37: Download complete Step #5: af0f07c35ec8: Verifying Checksum Step #5: af0f07c35ec8: Download complete Step #5: f81da946257a: Download complete Step #5: 77fdbc7dde37: Pull complete Step #5: 4f9fab57997b: Verifying Checksum Step #5: 4f9fab57997b: Download complete Step #5: 23e656355937: Verifying Checksum Step #5: 23e656355937: Download complete Step #5: 9cab044ca0a6: Verifying Checksum Step #5: 9cab044ca0a6: Download complete Step #5: f9f8372a7018: Verifying Checksum Step #5: f9f8372a7018: Download complete Step #5: f9f8372a7018: Pull complete Step #5: af0f07c35ec8: Pull complete Step #5: f81da946257a: Pull complete Step #5: 23e656355937: Pull complete Step #5: 4f9fab57997b: Pull complete Step #5: 9cab044ca0a6: Pull complete Step #5: Digest: sha256:13bdb00c776b39397112c08b4139b2c5fd96bb10158377b2d7539e6fd561ae9b Step #5: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-runner:latest Step #5: gcr.io/oss-fuzz-base/base-runner:latest Step #5: INFO: performing bad build checks for /tmp/not-out/fuzz-libbson Finished Step #5 Starting Step #6 Step #6: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #6 Starting Step #7 Step #7: Already have image: gcr.io/oss-fuzz/mongodb Step #7: adding: fuzz-libbson (deflated 68%) Step #7: adding: llvm-symbolizer (deflated 64%) Finished Step #7 Starting Step #8 Step #8: Pulling image: gcr.io/oss-fuzz-base/uploader Step #8: Using default tag: latest Step #8: latest: Pulling from oss-fuzz-base/uploader Step #8: c62795f78da9: Pulling fs layer Step #8: d4fceeeb758e: Pulling fs layer Step #8: 5c9125a401ae: Pulling fs layer Step #8: 0062f774e994: Pulling fs layer Step #8: 6b33fd031fac: Pulling fs layer Step #8: 7eb39101e508: Pulling fs layer Step #8: 89257482f398: Pulling fs layer Step #8: 0062f774e994: Waiting Step #8: 89257482f398: Waiting Step #8: 6b33fd031fac: Waiting Step #8: 7eb39101e508: Waiting Step #8: 5c9125a401ae: Verifying Checksum Step #8: 5c9125a401ae: Download complete Step #8: d4fceeeb758e: Verifying Checksum Step #8: d4fceeeb758e: Download complete Step #8: 6b33fd031fac: Verifying Checksum Step #8: 6b33fd031fac: Download complete Step #8: 0062f774e994: Verifying Checksum Step #8: 0062f774e994: Download complete Step #8: c62795f78da9: Verifying Checksum Step #8: c62795f78da9: Download complete Step #8: 89257482f398: Verifying Checksum Step #8: 89257482f398: Download complete Step #8: 7eb39101e508: Verifying Checksum Step #8: 7eb39101e508: Download complete Step #8: c62795f78da9: Pull complete Step #8: d4fceeeb758e: Pull complete Step #8: 5c9125a401ae: Pull complete Step #8: 0062f774e994: Pull complete Step #8: 6b33fd031fac: Pull complete Step #8: 7eb39101e508: Pull complete Step #8: 89257482f398: Pull complete Step #8: Digest: sha256:5717ba63d13b5515063e2a6ccad09fb5bf32a86c8e0798a363d81c2be522e411 Step #8: Status: Downloaded newer image for gcr.io/oss-fuzz-base/uploader:latest Step #8: gcr.io/oss-fuzz-base/uploader:latest Step #8: % Total % Received % Xferd Average Speed Time Time Time Current Step #8: Dload Upload Total Spent Left Speed Step #8: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 306 0 0 100 306 0 1297 --:--:-- --:--:-- --:--:-- 1302 Finished Step #8 Starting Step #9 Step #9: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #9: % Total % Received % Xferd Average Speed Time Time Time Current Step #9: Dload Upload Total Spent Left Speed Step #9: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3506k 0 0 100 3506k 0 9979k --:--:-- --:--:-- --:--:-- 9988k Finished Step #9 Starting Step #10 Step #10: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #10: % Total % Received % Xferd Average Speed Time Time Time Current Step #10: Dload Upload Total Spent Left Speed Step #10: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13 0 0 100 13 0 42 --:--:-- --:--:-- --:--:-- 42 Finished Step #10 Starting Step #11 Step #11: Already have image (with digest): gcr.io/cloud-builders/curl Step #11: % Total % Received % Xferd Average Speed Time Time Time Current Step #11: Dload Upload Total Spent Left Speed Step #11: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 32 0 0 100 32 0 75 --:--:-- --:--:-- --:--:-- 75 100 32 0 0 100 32 0 75 --:--:-- --:--:-- --:--:-- 75 Finished Step #11 Starting Step #12 Step #12: Already have image: gcr.io/oss-fuzz/mongodb Finished Step #12 Starting Step #13 Step #13: Already have image: gcr.io/oss-fuzz/mongodb Step #13: --------------------------------------------------------------- Step #13: ar: creating /usr/lib/libFuzzingEngine.a Step #13: Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #13: --------------------------------------------------------------- Step #13: CC=clang Step #13: CXX=clang++ Step #13: CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link Step #13: CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -stdlib=libc++ Step #13: --------------------------------------------------------------- Step #13: + mkdir cmake-build Step #13: + cd cmake-build Step #13: + cmake -DENABLE_MONGOC=OFF -DENABLE_BSON_AUTO=ON -DENABLE_STATIC=ON ../ Step #13: -- The C compiler identification is Clang 12.0.0 Step #13: -- Detecting C compiler ABI info Step #13: -- Detecting C compiler ABI info - done Step #13: -- Check for working C compiler: /usr/local/bin/clang - skipped Step #13: -- Detecting C compile features Step #13: -- Detecting C compile features - done Step #13: -- No CMAKE_BUILD_TYPE selected, defaulting to RelWithDebInfo Step #13: -- Found PythonInterp: /usr/local/bin/python3.8 (found version "3.8.3") Step #13: calculated BUILD_VERSION 0.0.0 Step #13: storing BUILD_VERSION 0.0.0 in file VERSION_CURRENT for later use Step #13: -- Build and install static libraries Step #13: -- Using bundled libbson Step #13: libbson version (from VERSION_CURRENT file): 0.0.0 Step #13: -- Check if the system is big endian Step #13: -- Searching 16 bit integer Step #13: -- Looking for sys/types.h Step #13: -- Looking for sys/types.h - found Step #13: -- Looking for stdint.h Step #13: -- Looking for stdint.h - found Step #13: -- Looking for stddef.h Step #13: -- Looking for stddef.h - found Step #13: -- Check size of unsigned short Step #13: -- Check size of unsigned short - done Step #13: -- Searching 16 bit integer - Using unsigned short Step #13: -- Check if the system is big endian - little endian Step #13: -- Looking for snprintf Step #13: -- Looking for snprintf - found Step #13: -- Looking for reallocf Step #13: -- Looking for reallocf - not found Step #13: -- Performing Test BSON_HAVE_TIMESPEC Step #13: -- Performing Test BSON_HAVE_TIMESPEC - Success Step #13: -- struct timespec found Step #13: -- Looking for gmtime_r Step #13: -- Looking for gmtime_r - found Step #13: -- Looking for rand_r Step #13: -- Looking for rand_r - found Step #13: -- Looking for strings.h Step #13: CMake Warning (dev) at /usr/local/share/cmake-3.18/Modules/CheckIncludeFile.cmake:80 (message): Step #13: Policy CMP0075 is not set: Include file check macros honor Step #13: CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy Step #13: details. Use the cmake_policy command to set the policy and suppress this Step #13: warning. Step #13: Step #13: CMAKE_REQUIRED_LIBRARIES is set to: Step #13: Step #13: /usr/lib/x86_64-linux-gnu/librt.so Step #13: Step #13: For compatibility with CMake 3.11 and below this check is ignoring it. Step #13: Call Stack (most recent call first): Step #13: src/libbson/CMakeLists.txt:91 (CHECK_INCLUDE_FILE) Step #13: This warning is for project developers. Use -Wno-dev to suppress it. Step #13: Step #13: -- Looking for strings.h - found Step #13: -- Looking for strlcpy Step #13: -- Looking for strlcpy - not found Step #13: -- Looking for clock_gettime Step #13: -- Looking for clock_gettime - found Step #13: -- Looking for strnlen Step #13: -- Looking for strnlen - found Step #13: -- Looking for stdbool.h Step #13: -- Looking for stdbool.h - found Step #13: -- Looking for SYS_gettid Step #13: -- Looking for SYS_gettid - found Step #13: -- Looking for syscall Step #13: -- Looking for syscall - found Step #13: -- Performing Test HAVE_ATOMIC_32_ADD_AND_FETCH Step #13: -- Performing Test HAVE_ATOMIC_32_ADD_AND_FETCH - Success Step #13: -- Performing Test HAVE_ATOMIC_64_ADD_AND_FETCH Step #13: -- Performing Test HAVE_ATOMIC_64_ADD_AND_FETCH - Success Step #13: -- Looking for pthread.h Step #13: -- Looking for pthread.h - found Step #13: -- Performing Test CMAKE_HAVE_LIBC_PTHREAD Step #13: -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success Step #13: -- Found Threads: TRUE Step #13: Adding -fPIC to compilation of bson_static components Step #13: -- Build files generated for: Step #13: -- build system: Unix Makefiles Step #13: -- Configuring done Step #13: -- Generating done Step #13: CMake Warning: Step #13: Manually-specified variables were not used by the project: Step #13: Step #13: ENABLE_BSON_AUTO Step #13: Step #13: Step #13: -- Build files have been written to: /src/mongo-c-driver/cmake-build Step #13: + make Step #13: Scanning dependencies of target bson_shared Step #13: [ 1%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bcon.c.o Step #13: [ 2%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson.c.o Step #13: [ 4%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-atomic.c.o Step #13: [ 5%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-clock.c.o Step #13: [ 7%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-context.c.o Step #13: [ 8%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-decimal128.c.o Step #13: [ 10%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-error.c.o Step #13: [ 11%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-iso8601.c.o Step #13: [ 13%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-iter.c.o Step #13: [ 14%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-json.c.o Step #13: [ 16%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-keys.c.o Step #13: [ 17%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-md5.c.o Step #13: [ 19%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-memory.c.o Step #13: [ 20%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-oid.c.o Step #13: [ 22%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-reader.c.o Step #13: [ 23%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-string.c.o Step #13: [ 25%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-timegm.c.o Step #13: [ 26%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-utf8.c.o Step #13: [ 27%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-value.c.o Step #13: [ 29%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-version-functions.c.o Step #13: [ 30%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-writer.c.o Step #13: [ 32%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/jsonsl/jsonsl.c.o Step #13: [ 33%] Building C object src/libbson/CMakeFiles/bson_shared.dir/__/common/common-b64.c.o Step #13: [ 35%] Building C object src/libbson/CMakeFiles/bson_shared.dir/__/common/common-md5.c.o Step #13: [ 36%] Building C object src/libbson/CMakeFiles/bson_shared.dir/__/common/common-thread.c.o Step #13: [ 38%] Linking C shared library libbson-1.0.so Step #13: [ 38%] Built target bson_shared Step #13: Scanning dependencies of target bcon-speed Step #13: [ 39%] Building C object src/libbson/CMakeFiles/bcon-speed.dir/examples/bcon-speed.c.o Step #13: [ 41%] Linking C executable bcon-speed Step #13: [ 41%] Built target bcon-speed Step #13: Scanning dependencies of target bson_static Step #13: [ 42%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bcon.c.o Step #13: [ 44%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson.c.o Step #13: [ 45%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-atomic.c.o Step #13: [ 47%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-clock.c.o Step #13: [ 48%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-context.c.o Step #13: [ 50%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-decimal128.c.o Step #13: [ 51%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-error.c.o Step #13: [ 52%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-iso8601.c.o Step #13: [ 54%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-iter.c.o Step #13: [ 55%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-json.c.o Step #13: [ 57%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-keys.c.o Step #13: [ 58%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-md5.c.o Step #13: [ 60%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-memory.c.o Step #13: [ 61%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-oid.c.o Step #13: [ 63%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-reader.c.o Step #13: [ 64%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-string.c.o Step #13: [ 66%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-timegm.c.o Step #13: [ 67%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-utf8.c.o Step #13: [ 69%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-value.c.o Step #13: [ 70%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-version-functions.c.o Step #13: [ 72%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-writer.c.o Step #13: [ 73%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/jsonsl/jsonsl.c.o Step #13: [ 75%] Building C object src/libbson/CMakeFiles/bson_static.dir/__/common/common-b64.c.o Step #13: [ 76%] Building C object src/libbson/CMakeFiles/bson_static.dir/__/common/common-md5.c.o Step #13: [ 77%] Building C object src/libbson/CMakeFiles/bson_static.dir/__/common/common-thread.c.o Step #13: [ 79%] Linking C static library libbson-static-1.0.a Step #13: [ 79%] Built target bson_static Step #13: Scanning dependencies of target json-to-bson Step #13: [ 80%] Building C object src/libbson/CMakeFiles/json-to-bson.dir/examples/json-to-bson.c.o Step #13: [ 82%] Linking C executable json-to-bson Step #13: [ 82%] Built target json-to-bson Step #13: Scanning dependencies of target bson-streaming-reader Step #13: [ 83%] Building C object src/libbson/CMakeFiles/bson-streaming-reader.dir/examples/bson-streaming-reader.c.o Step #13: [ 85%] Linking C executable bson-streaming-reader Step #13: [ 85%] Built target bson-streaming-reader Step #13: Scanning dependencies of target bson-to-json Step #13: [ 86%] Building C object src/libbson/CMakeFiles/bson-to-json.dir/examples/bson-to-json.c.o Step #13: [ 88%] Linking C executable bson-to-json Step #13: [ 88%] Built target bson-to-json Step #13: Scanning dependencies of target bson-metrics Step #13: [ 89%] Building C object src/libbson/CMakeFiles/bson-metrics.dir/examples/bson-metrics.c.o Step #13: [ 91%] Linking C executable bson-metrics Step #13: [ 91%] Built target bson-metrics Step #13: Scanning dependencies of target bson-validate Step #13: [ 92%] Building C object src/libbson/CMakeFiles/bson-validate.dir/examples/bson-validate.c.o Step #13: [ 94%] Linking C executable bson-validate Step #13: [ 94%] Built target bson-validate Step #13: Scanning dependencies of target bcon-col-view Step #13: [ 95%] Building C object src/libbson/CMakeFiles/bcon-col-view.dir/examples/bcon-col-view.c.o Step #13: [ 97%] Linking C executable bcon-col-view Step #13: [ 97%] Built target bcon-col-view Step #13: Scanning dependencies of target bson-check-depth Step #13: [ 98%] Building C object src/libbson/CMakeFiles/bson-check-depth.dir/examples/bson-check-depth.c.o Step #13: [100%] Linking C executable bson-check-depth Step #13: [100%] Built target bson-check-depth Step #13: + clang -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -I./src -I./src/libbson/src -I./src/libbson/src/bson -I./src/common -I../src/libbson/src -I../src/libbson/src/bson -I../src/common -c ../src/libbson/fuzz/fuzz_test_libbson.c -o fuzz_test_libbson.o Step #13: + clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -stdlib=libc++ -fsanitize=fuzzer fuzz_test_libbson.o ./src/libbson/libbson-static-1.0.a -o /workspace/out/undefined/fuzz-libbson Finished Step #13 Starting Step #14 Step #14: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Step #14: INFO: performing bad build checks for /tmp/not-out/fuzz-libbson Finished Step #14 Starting Step #15 Step #15: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #15 Starting Step #16 Step #16: Already have image: gcr.io/oss-fuzz/mongodb Step #16: adding: fuzz-libbson (deflated 67%) Step #16: adding: llvm-symbolizer (deflated 64%) Finished Step #16 Starting Step #17 Step #17: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #17: % Total % Received % Xferd Average Speed Time Time Time Current Step #17: Dload Upload Total Spent Left Speed Step #17: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 306 0 0 100 306 0 1434 --:--:-- --:--:-- --:--:-- 1436 Finished Step #17 Starting Step #18 Step #18: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #18: % Total % Received % Xferd Average Speed Time Time Time Current Step #18: Dload Upload Total Spent Left Speed Step #18: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2949k 0 0 100 2949k 0 6981k --:--:-- --:--:-- --:--:-- 6989k Finished Step #18 Starting Step #19 Step #19: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #19: % Total % Received % Xferd Average Speed Time Time Time Current Step #19: Dload Upload Total Spent Left Speed Step #19: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13 0 0 100 13 0 42 --:--:-- --:--:-- --:--:-- 42 Finished Step #19 Starting Step #20 Step #20: Already have image (with digest): gcr.io/cloud-builders/curl Step #20: % Total % Received % Xferd Average Speed Time Time Time Current Step #20: Dload Upload Total Spent Left Speed Step #20: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 34 0 0 100 34 0 120 --:--:-- --:--:-- --:--:-- 120 Finished Step #20 Starting Step #21 Step #21: Already have image: gcr.io/oss-fuzz/mongodb Finished Step #21 Starting Step #22 Step #22: Already have image: gcr.io/oss-fuzz/mongodb Step #22: --------------------------------------------------------------- Step #22: ar: creating /usr/lib/libFuzzingEngine.a Step #22: Compiling afl to /usr/lib/libFuzzingEngine.a ...rm -f afl-gcc afl-fuzz afl-showmap afl-tmin afl-gotcpu afl-analyze afl-as as afl-g++ afl-clang afl-clang++ *.o *~ a.out core core.[1-9][0-9]* *.stackdump test .test test-instr .test-instr0 .test-instr1 qemu_mode/qemu-2.10.0.tar.bz2 afl-qemu-trace Step #22: rm -rf out_dir qemu_mode/qemu-2.10.0 Step #22: make -C llvm_mode clean Step #22: make[1]: Entering directory '/src/afl/llvm_mode' Step #22: rm -f *.o *.so *~ a.out core core.[1-9][0-9]* test-instr .test-instr0 .test-instr1 Step #22: rm -f ../afl-clang-fast ../afl-llvm-pass.so ../afl-llvm-rt.o ../afl-llvm-rt-32.o ../afl-llvm-rt-64.o ../afl-clang-fast++ Step #22: make[1]: Leaving directory '/src/afl/llvm_mode' Step #22: make -C libdislocator clean Step #22: make[1]: Entering directory '/src/afl/libdislocator' Step #22: rm -f *.o *.so *~ a.out core core.[1-9][0-9]* Step #22: rm -f libdislocator.so Step #22: make[1]: Leaving directory '/src/afl/libdislocator' Step #22: make -C libtokencap clean Step #22: make[1]: Entering directory '/src/afl/libtokencap' Step #22: rm -f *.o *.so *~ a.out core core.[1-9][0-9]* Step #22: rm -f libtokencap.so Step #22: make[1]: Leaving directory '/src/afl/libtokencap' Step #22: [!] Note: skipping x86 compilation checks (AFL_NO_X86 set). Step #22: clang -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-gcc.c -o afl-gcc -ldl Step #22: set -e; for i in afl-g++ afl-clang afl-clang++; do ln -sf afl-gcc $i; done Step #22: clang -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-fuzz.c -o afl-fuzz -ldl Step #22: clang -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-showmap.c -o afl-showmap -ldl Step #22: clang -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-tmin.c -o afl-tmin -ldl Step #22: clang -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-gotcpu.c -o afl-gotcpu -ldl Step #22: clang -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-analyze.c -o afl-analyze -ldl Step #22: clang -O3 -funroll-loops -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-as.c -o afl-as -ldl Step #22: ln -sf afl-as as Step #22: [!] Note: skipping build tests (you may need to use LLVM or QEMU mode). Step #22: [+] LLVM users: see llvm_mode/README.llvm for a faster alternative to afl-gcc. Step #22: [+] All done! Be sure to review README - it's pretty short and useful. Step #22: done. Step #22: --------------------------------------------------------------- Step #22: CC=clang Step #22: CXX=clang++ Step #22: CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard Step #22: CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard -stdlib=libc++ Step #22: --------------------------------------------------------------- Step #22: + mkdir cmake-build Step #22: + cd cmake-build Step #22: + cmake -DENABLE_MONGOC=OFF -DENABLE_BSON_AUTO=ON -DENABLE_STATIC=ON ../ Step #22: -- The C compiler identification is Clang 12.0.0 Step #22: -- Detecting C compiler ABI info Step #22: -- Detecting C compiler ABI info - done Step #22: -- Check for working C compiler: /usr/local/bin/clang - skipped Step #22: -- Detecting C compile features Step #22: -- Detecting C compile features - done Step #22: -- No CMAKE_BUILD_TYPE selected, defaulting to RelWithDebInfo Step #22: -- Found PythonInterp: /usr/local/bin/python3.8 (found version "3.8.3") Step #22: calculated BUILD_VERSION 0.0.0 Step #22: storing BUILD_VERSION 0.0.0 in file VERSION_CURRENT for later use Step #22: -- Build and install static libraries Step #22: -- Using bundled libbson Step #22: libbson version (from VERSION_CURRENT file): 0.0.0 Step #22: -- Check if the system is big endian Step #22: -- Searching 16 bit integer Step #22: -- Looking for sys/types.h Step #22: -- Looking for sys/types.h - found Step #22: -- Looking for stdint.h Step #22: -- Looking for stdint.h - found Step #22: -- Looking for stddef.h Step #22: -- Looking for stddef.h - found Step #22: -- Check size of unsigned short Step #22: -- Check size of unsigned short - done Step #22: -- Searching 16 bit integer - Using unsigned short Step #22: -- Check if the system is big endian - little endian Step #22: -- Looking for snprintf Step #22: -- Looking for snprintf - found Step #22: -- Looking for reallocf Step #22: -- Looking for reallocf - not found Step #22: -- Performing Test BSON_HAVE_TIMESPEC Step #22: -- Performing Test BSON_HAVE_TIMESPEC - Success Step #22: -- struct timespec found Step #22: -- Looking for gmtime_r Step #22: -- Looking for gmtime_r - found Step #22: -- Looking for rand_r Step #22: -- Looking for rand_r - found Step #22: -- Looking for strings.h Step #22: CMake Warning (dev) at /usr/local/share/cmake-3.18/Modules/CheckIncludeFile.cmake:80 (message): Step #22: Policy CMP0075 is not set: Include file check macros honor Step #22: CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy Step #22: details. Use the cmake_policy command to set the policy and suppress this Step #22: warning. Step #22: Step #22: CMAKE_REQUIRED_LIBRARIES is set to: Step #22: Step #22: /usr/lib/x86_64-linux-gnu/librt.so Step #22: Step #22: For compatibility with CMake 3.11 and below this check is ignoring it. Step #22: Call Stack (most recent call first): Step #22: src/libbson/CMakeLists.txt:91 (CHECK_INCLUDE_FILE) Step #22: This warning is for project developers. Use -Wno-dev to suppress it. Step #22: Step #22: -- Looking for strings.h - found Step #22: -- Looking for strlcpy Step #22: -- Looking for strlcpy - not found Step #22: -- Looking for clock_gettime Step #22: -- Looking for clock_gettime - found Step #22: -- Looking for strnlen Step #22: -- Looking for strnlen - found Step #22: -- Looking for stdbool.h Step #22: -- Looking for stdbool.h - found Step #22: -- Looking for SYS_gettid Step #22: -- Looking for SYS_gettid - found Step #22: -- Looking for syscall Step #22: -- Looking for syscall - found Step #22: -- Performing Test HAVE_ATOMIC_32_ADD_AND_FETCH Step #22: -- Performing Test HAVE_ATOMIC_32_ADD_AND_FETCH - Success Step #22: -- Performing Test HAVE_ATOMIC_64_ADD_AND_FETCH Step #22: -- Performing Test HAVE_ATOMIC_64_ADD_AND_FETCH - Success Step #22: -- Looking for pthread.h Step #22: -- Looking for pthread.h - found Step #22: -- Performing Test CMAKE_HAVE_LIBC_PTHREAD Step #22: -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success Step #22: -- Found Threads: TRUE Step #22: Adding -fPIC to compilation of bson_static components Step #22: -- Build files generated for: Step #22: -- build system: Unix Makefiles Step #22: -- Configuring done Step #22: -- Generating done Step #22: CMake Warning: Step #22: Manually-specified variables were not used by the project: Step #22: Step #22: ENABLE_BSON_AUTO Step #22: Step #22: Step #22: -- Build files have been written to: /src/mongo-c-driver/cmake-build Step #22: + make Step #22: Scanning dependencies of target bson_shared Step #22: [ 1%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bcon.c.o Step #22: [ 2%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson.c.o Step #22: [ 4%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-atomic.c.o Step #22: [ 5%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-clock.c.o Step #22: [ 7%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-context.c.o Step #22: [ 8%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-decimal128.c.o Step #22: [ 10%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-error.c.o Step #22: [ 11%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-iso8601.c.o Step #22: [ 13%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-iter.c.o Step #22: [ 14%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-json.c.o Step #22: [ 16%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-keys.c.o Step #22: [ 17%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-md5.c.o Step #22: [ 19%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-memory.c.o Step #22: [ 20%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-oid.c.o Step #22: [ 22%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-reader.c.o Step #22: [ 23%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-string.c.o Step #22: [ 25%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-timegm.c.o Step #22: [ 26%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-utf8.c.o Step #22: [ 27%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-value.c.o Step #22: [ 29%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-version-functions.c.o Step #22: [ 30%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-writer.c.o Step #22: [ 32%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/jsonsl/jsonsl.c.o Step #22: [ 33%] Building C object src/libbson/CMakeFiles/bson_shared.dir/__/common/common-b64.c.o Step #22: [ 35%] Building C object src/libbson/CMakeFiles/bson_shared.dir/__/common/common-md5.c.o Step #22: [ 36%] Building C object src/libbson/CMakeFiles/bson_shared.dir/__/common/common-thread.c.o Step #22: [ 38%] Linking C shared library libbson-1.0.so Step #22: [ 38%] Built target bson_shared Step #22: Scanning dependencies of target bcon-speed Step #22: [ 39%] Building C object src/libbson/CMakeFiles/bcon-speed.dir/examples/bcon-speed.c.o Step #22: [ 41%] Linking C executable bcon-speed Step #22: [ 41%] Built target bcon-speed Step #22: Scanning dependencies of target bson_static Step #22: [ 42%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bcon.c.o Step #22: [ 44%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson.c.o Step #22: [ 45%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-atomic.c.o Step #22: [ 47%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-clock.c.o Step #22: [ 48%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-context.c.o Step #22: [ 50%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-decimal128.c.o Step #22: [ 51%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-error.c.o Step #22: [ 52%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-iso8601.c.o Step #22: [ 54%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-iter.c.o Step #22: [ 55%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-json.c.o Step #22: [ 57%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-keys.c.o Step #22: [ 58%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-md5.c.o Step #22: [ 60%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-memory.c.o Step #22: [ 61%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-oid.c.o Step #22: [ 63%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-reader.c.o Step #22: [ 64%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-string.c.o Step #22: [ 66%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-timegm.c.o Step #22: [ 67%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-utf8.c.o Step #22: [ 69%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-value.c.o Step #22: [ 70%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-version-functions.c.o Step #22: [ 72%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-writer.c.o Step #22: [ 73%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/jsonsl/jsonsl.c.o Step #22: [ 75%] Building C object src/libbson/CMakeFiles/bson_static.dir/__/common/common-b64.c.o Step #22: [ 76%] Building C object src/libbson/CMakeFiles/bson_static.dir/__/common/common-md5.c.o Step #22: [ 77%] Building C object src/libbson/CMakeFiles/bson_static.dir/__/common/common-thread.c.o Step #22: [ 79%] Linking C static library libbson-static-1.0.a Step #22: [ 79%] Built target bson_static Step #22: Scanning dependencies of target json-to-bson Step #22: [ 80%] Building C object src/libbson/CMakeFiles/json-to-bson.dir/examples/json-to-bson.c.o Step #22: [ 82%] Linking C executable json-to-bson Step #22: [ 82%] Built target json-to-bson Step #22: Scanning dependencies of target bson-streaming-reader Step #22: [ 83%] Building C object src/libbson/CMakeFiles/bson-streaming-reader.dir/examples/bson-streaming-reader.c.o Step #22: [ 85%] Linking C executable bson-streaming-reader Step #22: [ 85%] Built target bson-streaming-reader Step #22: Scanning dependencies of target bson-to-json Step #22: [ 86%] Building C object src/libbson/CMakeFiles/bson-to-json.dir/examples/bson-to-json.c.o Step #22: [ 88%] Linking C executable bson-to-json Step #22: [ 88%] Built target bson-to-json Step #22: Scanning dependencies of target bson-metrics Step #22: [ 89%] Building C object src/libbson/CMakeFiles/bson-metrics.dir/examples/bson-metrics.c.o Step #22: [ 91%] Linking C executable bson-metrics Step #22: [ 91%] Built target bson-metrics Step #22: Scanning dependencies of target bson-validate Step #22: [ 92%] Building C object src/libbson/CMakeFiles/bson-validate.dir/examples/bson-validate.c.o Step #22: [ 94%] Linking C executable bson-validate Step #22: [ 94%] Built target bson-validate Step #22: Scanning dependencies of target bcon-col-view Step #22: [ 95%] Building C object src/libbson/CMakeFiles/bcon-col-view.dir/examples/bcon-col-view.c.o Step #22: [ 97%] Linking C executable bcon-col-view Step #22: [ 97%] Built target bcon-col-view Step #22: Scanning dependencies of target bson-check-depth Step #22: [ 98%] Building C object src/libbson/CMakeFiles/bson-check-depth.dir/examples/bson-check-depth.c.o Step #22: [100%] Linking C executable bson-check-depth Step #22: [100%] Built target bson-check-depth Step #22: + clang -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard -I./src -I./src/libbson/src -I./src/libbson/src/bson -I./src/common -I../src/libbson/src -I../src/libbson/src/bson -I../src/common -c ../src/libbson/fuzz/fuzz_test_libbson.c -o fuzz_test_libbson.o Step #22: + clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard -stdlib=libc++ /usr/lib/libFuzzingEngine.a fuzz_test_libbson.o ./src/libbson/libbson-static-1.0.a -o /workspace/out/address/fuzz-libbson Finished Step #22 Starting Step #23 Step #23: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Step #23: INFO: performing bad build checks for /tmp/not-out/fuzz-libbson Finished Step #23 Starting Step #24 Step #24: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #24 Starting Step #25 Step #25: Already have image: gcr.io/oss-fuzz/mongodb Step #25: adding: afl-analyze (deflated 60%) Step #25: adding: afl-as (deflated 64%) Step #25: adding: afl-cmin (deflated 63%) Step #25: adding: afl-fuzz (deflated 61%) Step #25: adding: afl-gcc (deflated 64%) Step #25: adding: afl-gotcpu (deflated 62%) Step #25: adding: afl-plot (deflated 61%) Step #25: adding: afl-showmap (deflated 60%) Step #25: adding: afl-tmin (deflated 61%) Step #25: adding: afl-whatsup (deflated 58%) Step #25: adding: fuzz-libbson (deflated 68%) Step #25: adding: llvm-symbolizer (deflated 64%) Finished Step #25 Starting Step #26 Step #26: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #26: % Total % Received % Xferd Average Speed Time Time Time Current Step #26: Dload Upload Total Spent Left Speed Step #26: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 306 0 0 100 306 0 1489 --:--:-- --:--:-- --:--:-- 1485 100 306 0 0 100 306 0 1362 --:--:-- --:--:-- --:--:-- 1360 Finished Step #26 Starting Step #27 Step #27: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #27: % Total % Received % Xferd Average Speed Time Time Time Current Step #27: Dload Upload Total Spent Left Speed Step #27: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3409k 0 0 100 3409k 0 10.3M --:--:-- --:--:-- --:--:-- 10.3M Finished Step #27 Starting Step #28 Step #28: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #28: % Total % Received % Xferd Average Speed Time Time Time Current Step #28: Dload Upload Total Spent Left Speed Step #28: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13 0 0 100 13 0 41 --:--:-- --:--:-- --:--:-- 41 Finished Step #28 Starting Step #29 Step #29: Already have image (with digest): gcr.io/cloud-builders/curl Step #29: % Total % Received % Xferd Average Speed Time Time Time Current Step #29: Dload Upload Total Spent Left Speed Step #29: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 32 0 0 100 32 0 111 --:--:-- --:--:-- --:--:-- 112 Finished Step #29 Starting Step #30 Step #30: Already have image: gcr.io/oss-fuzz/mongodb Finished Step #30 Starting Step #31 Step #31: Already have image: gcr.io/oss-fuzz/mongodb Step #31: --------------------------------------------------------------- Step #31: Skipping compilation; using precompiled honggfuzz Step #31: done. Step #31: --------------------------------------------------------------- Step #31: CC=clang Step #31: CXX=clang++ Step #31: CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp Step #31: CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -stdlib=libc++ Step #31: --------------------------------------------------------------- Step #31: + mkdir cmake-build Step #31: + cd cmake-build Step #31: + cmake -DENABLE_MONGOC=OFF -DENABLE_BSON_AUTO=ON -DENABLE_STATIC=ON ../ Step #31: -- The C compiler identification is Clang 12.0.0 Step #31: -- Detecting C compiler ABI info Step #31: -- Detecting C compiler ABI info - done Step #31: -- Check for working C compiler: /usr/local/bin/clang - skipped Step #31: -- Detecting C compile features Step #31: -- Detecting C compile features - done Step #31: -- No CMAKE_BUILD_TYPE selected, defaulting to RelWithDebInfo Step #31: -- Found PythonInterp: /usr/local/bin/python3.8 (found version "3.8.3") Step #31: calculated BUILD_VERSION 0.0.0 Step #31: storing BUILD_VERSION 0.0.0 in file VERSION_CURRENT for later use Step #31: -- Build and install static libraries Step #31: -- Using bundled libbson Step #31: libbson version (from VERSION_CURRENT file): 0.0.0 Step #31: -- Check if the system is big endian Step #31: -- Searching 16 bit integer Step #31: -- Looking for sys/types.h Step #31: -- Looking for sys/types.h - found Step #31: -- Looking for stdint.h Step #31: -- Looking for stdint.h - found Step #31: -- Looking for stddef.h Step #31: -- Looking for stddef.h - found Step #31: -- Check size of unsigned short Step #31: -- Check size of unsigned short - done Step #31: -- Searching 16 bit integer - Using unsigned short Step #31: -- Check if the system is big endian - little endian Step #31: -- Looking for snprintf Step #31: -- Looking for snprintf - found Step #31: -- Looking for reallocf Step #31: -- Looking for reallocf - not found Step #31: -- Performing Test BSON_HAVE_TIMESPEC Step #31: -- Performing Test BSON_HAVE_TIMESPEC - Success Step #31: -- struct timespec found Step #31: -- Looking for gmtime_r Step #31: -- Looking for gmtime_r - found Step #31: -- Looking for rand_r Step #31: -- Looking for rand_r - found Step #31: -- Looking for strings.h Step #31: CMake Warning (dev) at /usr/local/share/cmake-3.18/Modules/CheckIncludeFile.cmake:80 (message): Step #31: Policy CMP0075 is not set: Include file check macros honor Step #31: CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy Step #31: details. Use the cmake_policy command to set the policy and suppress this Step #31: warning. Step #31: Step #31: CMAKE_REQUIRED_LIBRARIES is set to: Step #31: Step #31: /usr/lib/x86_64-linux-gnu/librt.so Step #31: Step #31: For compatibility with CMake 3.11 and below this check is ignoring it. Step #31: Call Stack (most recent call first): Step #31: src/libbson/CMakeLists.txt:91 (CHECK_INCLUDE_FILE) Step #31: This warning is for project developers. Use -Wno-dev to suppress it. Step #31: Step #31: -- Looking for strings.h - found Step #31: -- Looking for strlcpy Step #31: -- Looking for strlcpy - not found Step #31: -- Looking for clock_gettime Step #31: -- Looking for clock_gettime - found Step #31: -- Looking for strnlen Step #31: -- Looking for strnlen - found Step #31: -- Looking for stdbool.h Step #31: -- Looking for stdbool.h - found Step #31: -- Looking for SYS_gettid Step #31: -- Looking for SYS_gettid - found Step #31: -- Looking for syscall Step #31: -- Looking for syscall - found Step #31: -- Performing Test HAVE_ATOMIC_32_ADD_AND_FETCH Step #31: -- Performing Test HAVE_ATOMIC_32_ADD_AND_FETCH - Success Step #31: -- Performing Test HAVE_ATOMIC_64_ADD_AND_FETCH Step #31: -- Performing Test HAVE_ATOMIC_64_ADD_AND_FETCH - Success Step #31: -- Looking for pthread.h Step #31: -- Looking for pthread.h - found Step #31: -- Performing Test CMAKE_HAVE_LIBC_PTHREAD Step #31: -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success Step #31: -- Found Threads: TRUE Step #31: Adding -fPIC to compilation of bson_static components Step #31: -- Build files generated for: Step #31: -- build system: Unix Makefiles Step #31: -- Configuring done Step #31: -- Generating done Step #31: CMake Warning: Step #31: Manually-specified variables were not used by the project: Step #31: Step #31: ENABLE_BSON_AUTO Step #31: Step #31: Step #31: -- Build files have been written to: /src/mongo-c-driver/cmake-build Step #31: + make Step #31: Scanning dependencies of target bson_shared Step #31: [ 1%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bcon.c.o Step #31: [ 2%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson.c.o Step #31: [ 4%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-atomic.c.o Step #31: [ 5%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-clock.c.o Step #31: [ 7%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-context.c.o Step #31: [ 8%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-decimal128.c.o Step #31: [ 10%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-error.c.o Step #31: [ 11%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-iso8601.c.o Step #31: [ 13%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-iter.c.o Step #31: [ 14%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-json.c.o Step #31: [ 16%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-keys.c.o Step #31: [ 17%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-md5.c.o Step #31: [ 19%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-memory.c.o Step #31: [ 20%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-oid.c.o Step #31: [ 22%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-reader.c.o Step #31: [ 23%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-string.c.o Step #31: [ 25%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-timegm.c.o Step #31: [ 26%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-utf8.c.o Step #31: [ 27%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-value.c.o Step #31: [ 29%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-version-functions.c.o Step #31: [ 30%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/bson/bson-writer.c.o Step #31: [ 32%] Building C object src/libbson/CMakeFiles/bson_shared.dir/src/jsonsl/jsonsl.c.o Step #31: [ 33%] Building C object src/libbson/CMakeFiles/bson_shared.dir/__/common/common-b64.c.o Step #31: [ 35%] Building C object src/libbson/CMakeFiles/bson_shared.dir/__/common/common-md5.c.o Step #31: [ 36%] Building C object src/libbson/CMakeFiles/bson_shared.dir/__/common/common-thread.c.o Step #31: [ 38%] Linking C shared library libbson-1.0.so Step #31: [ 38%] Built target bson_shared Step #31: Scanning dependencies of target bcon-speed Step #31: [ 39%] Building C object src/libbson/CMakeFiles/bcon-speed.dir/examples/bcon-speed.c.o Step #31: [ 41%] Linking C executable bcon-speed Step #31: [ 41%] Built target bcon-speed Step #31: Scanning dependencies of target bson_static Step #31: [ 42%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bcon.c.o Step #31: [ 44%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson.c.o Step #31: [ 45%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-atomic.c.o Step #31: [ 47%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-clock.c.o Step #31: [ 48%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-context.c.o Step #31: [ 50%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-decimal128.c.o Step #31: [ 51%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-error.c.o Step #31: [ 52%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-iso8601.c.o Step #31: [ 54%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-iter.c.o Step #31: [ 55%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-json.c.o Step #31: [ 57%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-keys.c.o Step #31: [ 58%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-md5.c.o Step #31: [ 60%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-memory.c.o Step #31: [ 61%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-oid.c.o Step #31: [ 63%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-reader.c.o Step #31: [ 64%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-string.c.o Step #31: [ 66%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-timegm.c.o Step #31: [ 67%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-utf8.c.o Step #31: [ 69%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-value.c.o Step #31: [ 70%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-version-functions.c.o Step #31: [ 72%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/bson/bson-writer.c.o Step #31: [ 73%] Building C object src/libbson/CMakeFiles/bson_static.dir/src/jsonsl/jsonsl.c.o Step #31: [ 75%] Building C object src/libbson/CMakeFiles/bson_static.dir/__/common/common-b64.c.o Step #31: [ 76%] Building C object src/libbson/CMakeFiles/bson_static.dir/__/common/common-md5.c.o Step #31: [ 77%] Building C object src/libbson/CMakeFiles/bson_static.dir/__/common/common-thread.c.o Step #31: [ 79%] Linking C static library libbson-static-1.0.a Step #31: [ 79%] Built target bson_static Step #31: Scanning dependencies of target json-to-bson Step #31: [ 80%] Building C object src/libbson/CMakeFiles/json-to-bson.dir/examples/json-to-bson.c.o Step #31: [ 82%] Linking C executable json-to-bson Step #31: [ 82%] Built target json-to-bson Step #31: Scanning dependencies of target bson-streaming-reader Step #31: [ 83%] Building C object src/libbson/CMakeFiles/bson-streaming-reader.dir/examples/bson-streaming-reader.c.o Step #31: [ 85%] Linking C executable bson-streaming-reader Step #31: [ 85%] Built target bson-streaming-reader Step #31: Scanning dependencies of target bson-to-json Step #31: [ 86%] Building C object src/libbson/CMakeFiles/bson-to-json.dir/examples/bson-to-json.c.o Step #31: [ 88%] Linking C executable bson-to-json Step #31: [ 88%] Built target bson-to-json Step #31: Scanning dependencies of target bson-metrics Step #31: [ 89%] Building C object src/libbson/CMakeFiles/bson-metrics.dir/examples/bson-metrics.c.o Step #31: [ 91%] Linking C executable bson-metrics Step #31: [ 91%] Built target bson-metrics Step #31: Scanning dependencies of target bson-validate Step #31: [ 92%] Building C object src/libbson/CMakeFiles/bson-validate.dir/examples/bson-validate.c.o Step #31: [ 94%] Linking C executable bson-validate Step #31: [ 94%] Built target bson-validate Step #31: Scanning dependencies of target bcon-col-view Step #31: [ 95%] Building C object src/libbson/CMakeFiles/bcon-col-view.dir/examples/bcon-col-view.c.o Step #31: [ 97%] Linking C executable bcon-col-view Step #31: [ 97%] Built target bcon-col-view Step #31: Scanning dependencies of target bson-check-depth Step #31: [ 98%] Building C object src/libbson/CMakeFiles/bson-check-depth.dir/examples/bson-check-depth.c.o Step #31: [100%] Linking C executable bson-check-depth Step #31: [100%] Built target bson-check-depth Step #31: + clang -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -I./src -I./src/libbson/src -I./src/libbson/src/bson -I./src/common -I../src/libbson/src -I../src/libbson/src/bson -I../src/common -c ../src/libbson/fuzz/fuzz_test_libbson.c -o fuzz_test_libbson.o Step #31: + clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -stdlib=libc++ /usr/lib/libFuzzingEngine.a fuzz_test_libbson.o ./src/libbson/libbson-static-1.0.a -o /workspace/out/address/fuzz-libbson Finished Step #31 Starting Step #32 Step #32: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Step #32: INFO: performing bad build checks for /tmp/not-out/fuzz-libbson Finished Step #32 Starting Step #33 Step #33: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #33 Starting Step #34 Step #34: Already have image: gcr.io/oss-fuzz/mongodb Step #34: adding: fuzz-libbson (deflated 68%) Step #34: adding: honggfuzz (deflated 65%) Step #34: adding: llvm-symbolizer (deflated 64%) Finished Step #34 Starting Step #35 Step #35: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #35: % Total % Received % Xferd Average Speed Time Time Time Current Step #35: Dload Upload Total Spent Left Speed Step #35: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 306 0 0 100 306 0 1339 --:--:-- --:--:-- --:--:-- 1336 Finished Step #35 Starting Step #36 Step #36: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #36: % Total % Received % Xferd Average Speed Time Time Time Current Step #36: Dload Upload Total Spent Left Speed Step #36: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3216k 0 0 100 3216k 0 10.1M --:--:-- --:--:-- --:--:-- 10.1M 100 3216k 0 0 100 3216k 0 10.1M --:--:-- --:--:-- --:--:-- 10.1M Finished Step #36 Starting Step #37 Step #37: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #37: % Total % Received % Xferd Average Speed Time Time Time Current Step #37: Dload Upload Total Spent Left Speed Step #37: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13 0 0 100 13 0 44 --:--:-- --:--:-- --:--:-- 44 100 13 0 0 100 13 0 44 --:--:-- --:--:-- --:--:-- 44 Finished Step #37 Starting Step #38 Step #38: Already have image (with digest): gcr.io/cloud-builders/curl Step #38: % Total % Received % Xferd Average Speed Time Time Time Current Step #38: Dload Upload Total Spent Left Speed Step #38: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 32 0 0 100 32 0 113 --:--:-- --:--:-- --:--:-- 113 Finished Step #38 Starting Step #39 Step #39: Already have image: gcr.io/oss-fuzz/mongodb Finished Step #39 PUSH DONE