starting build "3c059929-d733-43f0-b1c7-8062a6c94cad" FETCHSOURCE BUILD Starting Step #0 Step #0: Pulling image: gcr.io/oss-fuzz-base/base-runner Step #0: Using default tag: latest Step #0: latest: Pulling from oss-fuzz-base/base-runner Step #0: b549f31133a9: Pulling fs layer Step #0: 800687449569: Pulling fs layer Step #0: 67cc84ed39bf: Pulling fs layer Step #0: 4f9c5aaef41d: Pulling fs layer Step #0: 70a3154e11f3: Pulling fs layer Step #0: 4fab6a53b47e: Pulling fs layer Step #0: 2c8974b97e3f: Pulling fs layer Step #0: fa34d2d81dbe: Pulling fs layer Step #0: 25703bb604aa: Pulling fs layer Step #0: c73cf34df98f: Pulling fs layer Step #0: 52a1fd76d509: Pulling fs layer Step #0: 6887dca9f6f7: Pulling fs layer Step #0: 9d450e2f2926: Pulling fs layer Step #0: caeaffc0bf5a: Pulling fs layer Step #0: 5bddf29a1eb5: Pulling fs layer Step #0: 5123d679bab9: Pulling fs layer Step #0: cd3fe814a4bf: Pulling fs layer Step #0: 4f9c5aaef41d: Waiting Step #0: 2c8974b97e3f: Waiting Step #0: fa34d2d81dbe: Waiting Step #0: 70a3154e11f3: Waiting Step #0: 4fab6a53b47e: Waiting Step #0: 25703bb604aa: Waiting Step #0: c73cf34df98f: Waiting Step #0: 52a1fd76d509: Waiting Step #0: caeaffc0bf5a: Waiting Step #0: 5123d679bab9: Waiting Step #0: 5bddf29a1eb5: Waiting Step #0: 6887dca9f6f7: Waiting Step #0: 9d450e2f2926: Waiting Step #0: cd3fe814a4bf: Waiting Step #0: 67cc84ed39bf: Download complete Step #0: 4f9c5aaef41d: Verifying Checksum Step #0: 4f9c5aaef41d: Download complete Step #0: 70a3154e11f3: Verifying Checksum Step #0: 70a3154e11f3: Download complete Step #0: b549f31133a9: Verifying Checksum Step #0: b549f31133a9: Download complete Step #0: 4fab6a53b47e: Verifying Checksum Step #0: 4fab6a53b47e: Download complete Step #0: fa34d2d81dbe: Verifying Checksum Step #0: fa34d2d81dbe: Download complete Step #0: 25703bb604aa: Verifying Checksum Step #0: 25703bb604aa: Download complete Step #0: c73cf34df98f: Verifying Checksum Step #0: c73cf34df98f: Download complete Step #0: 800687449569: Verifying Checksum Step #0: 800687449569: Download complete Step #0: 6887dca9f6f7: Verifying Checksum Step #0: 6887dca9f6f7: Download complete Step #0: 52a1fd76d509: Verifying Checksum Step #0: 52a1fd76d509: Download complete Step #0: caeaffc0bf5a: Verifying Checksum Step #0: caeaffc0bf5a: Download complete Step #0: 5bddf29a1eb5: Verifying Checksum Step #0: 5bddf29a1eb5: Download complete Step #0: 2c8974b97e3f: Download complete Step #0: cd3fe814a4bf: Verifying Checksum Step #0: cd3fe814a4bf: Download complete Step #0: b549f31133a9: Pull complete Step #0: 9d450e2f2926: Verifying Checksum Step #0: 9d450e2f2926: Download complete Step #0: 5123d679bab9: Verifying Checksum Step #0: 5123d679bab9: Download complete Step #0: 800687449569: Pull complete Step #0: 67cc84ed39bf: Pull complete Step #0: 4f9c5aaef41d: Pull complete Step #0: 70a3154e11f3: Pull complete Step #0: 4fab6a53b47e: Pull complete Step #0: 2c8974b97e3f: Pull complete Step #0: fa34d2d81dbe: Pull complete Step #0: 25703bb604aa: Pull complete Step #0: c73cf34df98f: Pull complete Step #0: 52a1fd76d509: Pull complete Step #0: 6887dca9f6f7: Pull complete Step #0: 9d450e2f2926: Pull complete Step #0: caeaffc0bf5a: Pull complete Step #0: 5bddf29a1eb5: Pull complete Step #0: 5123d679bab9: Pull complete Step #0: cd3fe814a4bf: Pull complete Step #0: Digest: sha256:f6046c5172da95c6c285c79de830b29f4115d542fe22b864a5dbc1432da29528 Step #0: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-runner:latest Step #0: gcr.io/oss-fuzz-base/base-runner:latest Finished Step #0 Starting Step #1 Step #1: Already have image (with digest): gcr.io/cloud-builders/gsutil Step #1: Step #1: ***** NOTICE ***** Step #1: Step #1: Official `cloud-sdk` images, including multiple tagged versions across multiple Step #1: platforms, can be found at Step #1: https://github.com/GoogleCloudPlatform/cloud-sdk-docker. Step #1: Step #1: Suggested alternative images include: Step #1: Step #1: gcr.io/google.com/cloudsdktool/cloud-sdk Step #1: gcr.io/google.com/cloudsdktool/cloud-sdk:alpine Step #1: gcr.io/google.com/cloudsdktool/cloud-sdk:debian_component_based Step #1: gcr.io/google.com/cloudsdktool/cloud-sdk:slim Step #1: Step #1: Please note that the `gsutil` entrypoint must be specified when using these Step #1: images. Step #1: Step #1: ***** END OF NOTICE ***** Step #1: Step #1: Copying gs://oss-fuzz-coverage/ninja/textcov_reports/20231201/fuzzer.covreport... Step #1: / [0/1 files][ 0.0 B/100.5 KiB] 0% Done / [1/1 files][100.5 KiB/100.5 KiB] 100% Done Step #1: Operation completed over 1 objects/100.5 KiB. Finished Step #1 Starting Step #2 Step #2: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Step #2: total 104 Step #2: -rw-r--r-- 1 root root 102948 Dec 1 10:02 fuzzer.covreport Finished Step #2 Starting Step #3 Step #3: Already have image (with digest): gcr.io/cloud-builders/git Step #3: Cloning into 'oss-fuzz'... Finished Step #3 Starting Step #4 Step #4: Already have image (with digest): gcr.io/cloud-builders/docker Step #4: Sending build context to Docker daemon 3.584kB Step #4: Step 1/6 : FROM gcr.io/oss-fuzz-base/base-builder Step #4: latest: Pulling from oss-fuzz-base/base-builder Step #4: b549f31133a9: Already exists Step #4: 800687449569: Already exists Step #4: 67cc84ed39bf: Already exists Step #4: 33c4464df317: Pulling fs layer Step #4: 7a3d59ffed63: Pulling fs layer Step #4: bc24bccd8f7c: Pulling fs layer Step #4: 18d20619fb8d: Pulling fs layer Step #4: 0ec212d79142: Pulling fs layer Step #4: 0d731e844f5b: Pulling fs layer Step #4: 03e6d4298870: Pulling fs layer Step #4: 9cb6c9480ffe: Pulling fs layer Step #4: 636367483a85: Pulling fs layer Step #4: ab160a08f40f: Pulling fs layer Step #4: d56fb1501120: Pulling fs layer Step #4: 6e5ee80d4b76: Pulling fs layer Step #4: 069b70ca1828: Pulling fs layer Step #4: 082a5c4ba783: Pulling fs layer Step #4: aeb889ce9374: Pulling fs layer Step #4: b3c77a307741: Pulling fs layer Step #4: 19afa95abd0d: Pulling fs layer Step #4: 3331bfca5447: Pulling fs layer Step #4: ca89507fe8d3: Pulling fs layer Step #4: 093d0a8d4813: Pulling fs layer Step #4: 562130e5e1f0: Pulling fs layer Step #4: c78d65770fdc: Pulling fs layer Step #4: d8a48a39f3bb: Pulling fs layer Step #4: d547270a8392: Pulling fs layer Step #4: cd72b15f7674: Pulling fs layer Step #4: fed123fa2f8a: Pulling fs layer Step #4: 39a8609a58c5: Pulling fs layer Step #4: b3c77a307741: Waiting Step #4: 03e6d4298870: Waiting Step #4: 9cb6c9480ffe: Waiting Step #4: 636367483a85: Waiting Step #4: d8a48a39f3bb: Waiting Step #4: ab160a08f40f: Waiting Step #4: d547270a8392: Waiting Step #4: d56fb1501120: Waiting Step #4: 19afa95abd0d: Waiting Step #4: 082a5c4ba783: Waiting Step #4: 6e5ee80d4b76: Waiting Step #4: 069b70ca1828: Waiting Step #4: 3331bfca5447: Waiting Step #4: aeb889ce9374: Waiting Step #4: 562130e5e1f0: Waiting Step #4: 093d0a8d4813: Waiting Step #4: c78d65770fdc: Waiting Step #4: 18d20619fb8d: Waiting Step #4: cd72b15f7674: Waiting Step #4: 39a8609a58c5: Waiting Step #4: bc24bccd8f7c: Verifying Checksum Step #4: bc24bccd8f7c: Download complete Step #4: 7a3d59ffed63: Verifying Checksum Step #4: 7a3d59ffed63: Download complete Step #4: 0ec212d79142: Verifying Checksum Step #4: 0ec212d79142: Download complete Step #4: 0d731e844f5b: Verifying Checksum Step #4: 0d731e844f5b: Download complete Step #4: 33c4464df317: Verifying Checksum Step #4: 33c4464df317: Download complete Step #4: 9cb6c9480ffe: Verifying Checksum Step #4: 9cb6c9480ffe: Download complete Step #4: 636367483a85: Verifying Checksum Step #4: 636367483a85: Download complete Step #4: ab160a08f40f: Verifying Checksum Step #4: ab160a08f40f: Download complete Step #4: d56fb1501120: Verifying Checksum Step #4: d56fb1501120: Download complete Step #4: 6e5ee80d4b76: Verifying Checksum Step #4: 6e5ee80d4b76: Download complete Step #4: 069b70ca1828: Verifying Checksum Step #4: 069b70ca1828: Download complete Step #4: 082a5c4ba783: Verifying Checksum Step #4: 082a5c4ba783: Download complete Step #4: aeb889ce9374: Verifying Checksum Step #4: aeb889ce9374: Download complete Step #4: b3c77a307741: Verifying Checksum Step #4: b3c77a307741: Download complete Step #4: 19afa95abd0d: Verifying Checksum Step #4: 19afa95abd0d: Download complete Step #4: 3331bfca5447: Verifying Checksum Step #4: 3331bfca5447: Download complete Step #4: 03e6d4298870: Download complete Step #4: ca89507fe8d3: Verifying Checksum Step #4: ca89507fe8d3: Download complete Step #4: 093d0a8d4813: Download complete Step #4: 33c4464df317: Pull complete Step #4: 562130e5e1f0: Verifying Checksum Step #4: 562130e5e1f0: Download complete Step #4: c78d65770fdc: Verifying Checksum Step #4: c78d65770fdc: Download complete Step #4: d8a48a39f3bb: Verifying Checksum Step #4: d8a48a39f3bb: Download complete Step #4: cd72b15f7674: Verifying Checksum Step #4: cd72b15f7674: Download complete Step #4: d547270a8392: Download complete Step #4: fed123fa2f8a: Verifying Checksum Step #4: fed123fa2f8a: Download complete Step #4: 39a8609a58c5: Verifying Checksum Step #4: 39a8609a58c5: Download complete Step #4: 7a3d59ffed63: Pull complete Step #4: 18d20619fb8d: Download complete Step #4: bc24bccd8f7c: Pull complete Step #4: 18d20619fb8d: Pull complete Step #4: 0ec212d79142: Pull complete Step #4: 0d731e844f5b: Pull complete Step #4: 03e6d4298870: Pull complete Step #4: 9cb6c9480ffe: Pull complete Step #4: 636367483a85: Pull complete Step #4: ab160a08f40f: Pull complete Step #4: d56fb1501120: Pull complete Step #4: 6e5ee80d4b76: Pull complete Step #4: 069b70ca1828: Pull complete Step #4: 082a5c4ba783: Pull complete Step #4: aeb889ce9374: Pull complete Step #4: b3c77a307741: Pull complete Step #4: 19afa95abd0d: Pull complete Step #4: 3331bfca5447: Pull complete Step #4: ca89507fe8d3: Pull complete Step #4: 093d0a8d4813: Pull complete Step #4: 562130e5e1f0: Pull complete Step #4: c78d65770fdc: Pull complete Step #4: d8a48a39f3bb: Pull complete Step #4: d547270a8392: Pull complete Step #4: cd72b15f7674: Pull complete Step #4: fed123fa2f8a: Pull complete Step #4: 39a8609a58c5: Pull complete Step #4: Digest: sha256:e8550ff2b57077cb14770e2ec5a77bdcd040c602412df65fe7355825f55ed250 Step #4: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder:latest Step #4: ---> d548bd1f3608 Step #4: Step 2/6 : RUN apt-get update && apt-get install -y cmake Step #4: ---> Running in 06cec10e9163 Step #4: Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease Step #4: Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] Step #4: Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease Step #4: Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease Step #4: Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [1132 kB] Step #4: Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [3726 kB] Step #4: Get:7 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1439 kB] Step #4: Get:8 http://archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [941 kB] Step #4: Fetched 7352 kB in 1s (6162 kB/s) Step #4: Reading package lists... Step #4: Reading package lists... Step #4: Building dependency tree... Step #4: Reading state information... Step #4: The following additional packages will be installed: Step #4: cmake-data libarchive13 libicu66 libjsoncpp1 librhash0 libuv1 libxml2 Step #4: Suggested packages: Step #4: cmake-doc ninja-build lrzip Step #4: The following NEW packages will be installed: Step #4: cmake cmake-data libarchive13 libicu66 libjsoncpp1 librhash0 libuv1 libxml2 Step #4: 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded. Step #4: Need to get 15.0 MB of archives. Step #4: After this operation, 65.0 MB of additional disk space will be used. Step #4: Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libicu66 amd64 66.1-2ubuntu2.1 [8515 kB] Step #4: Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libxml2 amd64 2.9.10+dfsg-5ubuntu0.20.04.6 [640 kB] Step #4: Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libuv1 amd64 1.34.2-1ubuntu1.3 [80.8 kB] Step #4: Get:4 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 cmake-data all 3.16.3-1ubuntu1.20.04.1 [1613 kB] Step #4: Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libarchive13 amd64 3.4.0-2ubuntu1.2 [327 kB] Step #4: Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 libjsoncpp1 amd64 1.7.4-3.1ubuntu2 [75.6 kB] Step #4: Get:7 http://archive.ubuntu.com/ubuntu focal/main amd64 librhash0 amd64 1.3.9-1 [113 kB] Step #4: Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 cmake amd64 3.16.3-1ubuntu1.20.04.1 [3668 kB] Step #4: debconf: delaying package configuration, since apt-utils is not installed Step #4: Fetched 15.0 MB in 1s (24.1 MB/s) Step #4: Selecting previously unselected package libicu66:amd64. Step #4: (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 ... 17382 files and directories currently installed.) Step #4: Preparing to unpack .../0-libicu66_66.1-2ubuntu2.1_amd64.deb ... Step #4: Unpacking libicu66:amd64 (66.1-2ubuntu2.1) ... Step #4: Selecting previously unselected package libxml2:amd64. Step #4: Preparing to unpack .../1-libxml2_2.9.10+dfsg-5ubuntu0.20.04.6_amd64.deb ... Step #4: Unpacking libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.6) ... Step #4: Selecting previously unselected package libuv1:amd64. Step #4: Preparing to unpack .../2-libuv1_1.34.2-1ubuntu1.3_amd64.deb ... Step #4: Unpacking libuv1:amd64 (1.34.2-1ubuntu1.3) ... Step #4: Selecting previously unselected package cmake-data. Step #4: Preparing to unpack .../3-cmake-data_3.16.3-1ubuntu1.20.04.1_all.deb ... Step #4: Unpacking cmake-data (3.16.3-1ubuntu1.20.04.1) ... Step #4: Selecting previously unselected package libarchive13:amd64. Step #4: Preparing to unpack .../4-libarchive13_3.4.0-2ubuntu1.2_amd64.deb ... Step #4: Unpacking libarchive13:amd64 (3.4.0-2ubuntu1.2) ... Step #4: Selecting previously unselected package libjsoncpp1:amd64. Step #4: Preparing to unpack .../5-libjsoncpp1_1.7.4-3.1ubuntu2_amd64.deb ... Step #4: Unpacking libjsoncpp1:amd64 (1.7.4-3.1ubuntu2) ... Step #4: Selecting previously unselected package librhash0:amd64. Step #4: Preparing to unpack .../6-librhash0_1.3.9-1_amd64.deb ... Step #4: Unpacking librhash0:amd64 (1.3.9-1) ... Step #4: Selecting previously unselected package cmake. Step #4: Preparing to unpack .../7-cmake_3.16.3-1ubuntu1.20.04.1_amd64.deb ... Step #4: Unpacking cmake (3.16.3-1ubuntu1.20.04.1) ... Step #4: Setting up libicu66:amd64 (66.1-2ubuntu2.1) ... Step #4: Setting up libuv1:amd64 (1.34.2-1ubuntu1.3) ... Step #4: Setting up librhash0:amd64 (1.3.9-1) ... Step #4: Setting up cmake-data (3.16.3-1ubuntu1.20.04.1) ... Step #4: Setting up libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.6) ... Step #4: Setting up libjsoncpp1:amd64 (1.7.4-3.1ubuntu2) ... Step #4: Setting up libarchive13:amd64 (3.4.0-2ubuntu1.2) ... Step #4: Setting up cmake (3.16.3-1ubuntu1.20.04.1) ... Step #4: Processing triggers for libc-bin (2.31-0ubuntu9.12) ... Step #4: Removing intermediate container 06cec10e9163 Step #4: ---> cf6353204847 Step #4: Step 3/6 : RUN git clone --depth 1 https://github.com/ninja-build/ninja Step #4: ---> Running in 4d40ade063e8 Step #4: Cloning into 'ninja'... Step #4: Removing intermediate container 4d40ade063e8 Step #4: ---> 6d63bf1cc943 Step #4: Step 4/6 : WORKDIR ninja Step #4: ---> Running in 4a8f3702f469 Step #4: Removing intermediate container 4a8f3702f469 Step #4: ---> d4eca8eea5dd Step #4: Step 5/6 : RUN mv $SRC/ninja/misc/oss-fuzz/build.sh $SRC/ Step #4: ---> Running in 5f736ffc9002 Step #4: Removing intermediate container 5f736ffc9002 Step #4: ---> c01af9e81786 Step #4: Step 6/6 : RUN mv $SRC/ninja/misc/oss-fuzz/sample_ninja_build $SRC/ Step #4: ---> Running in ca7a4c1ef973 Step #4: Removing intermediate container ca7a4c1ef973 Step #4: ---> 51e8ad49a7bc Step #4: Successfully built 51e8ad49a7bc Step #4: Successfully tagged gcr.io/oss-fuzz/ninja:latest Finished Step #4 Starting Step #5 - "srcmap" Step #5 - "srcmap": Already have image: gcr.io/oss-fuzz/ninja Step #5 - "srcmap": ++ tempfile Step #5 - "srcmap": + SRCMAP=/tmp/fileszWBlN Step #5 - "srcmap": + echo '{}' Step #5 - "srcmap": + PATHS_TO_SCAN=/src Step #5 - "srcmap": + [[ c++ == \g\o ]] Step #5 - "srcmap": ++ find /src -name .git -type d Step #5 - "srcmap": + for DOT_GIT_DIR in $(find $PATHS_TO_SCAN -name ".git" -type d) Step #5 - "srcmap": ++ dirname /src/ninja/.git Step #5 - "srcmap": + GIT_DIR=/src/ninja Step #5 - "srcmap": + cd /src/ninja Step #5 - "srcmap": ++ git config --get remote.origin.url Step #5 - "srcmap": + GIT_URL=https://github.com/ninja-build/ninja Step #5 - "srcmap": ++ git rev-parse HEAD Step #5 - "srcmap": + GIT_REV=09b6b4e13a365ff04bc865fd6b4c6f1f52032617 Step #5 - "srcmap": + jq_inplace /tmp/fileszWBlN '."/src/ninja" = { type: "git", url: "https://github.com/ninja-build/ninja", rev: "09b6b4e13a365ff04bc865fd6b4c6f1f52032617" }' Step #5 - "srcmap": ++ tempfile Step #5 - "srcmap": + F=/tmp/file4HRRSb Step #5 - "srcmap": + cat /tmp/fileszWBlN Step #5 - "srcmap": + jq '."/src/ninja" = { type: "git", url: "https://github.com/ninja-build/ninja", rev: "09b6b4e13a365ff04bc865fd6b4c6f1f52032617" }' Step #5 - "srcmap": + mv /tmp/file4HRRSb /tmp/fileszWBlN Step #5 - "srcmap": ++ find /src -name .svn -type d Step #5 - "srcmap": ++ find /src -name .hg -type d Step #5 - "srcmap": + '[' '' '!=' '' ']' Step #5 - "srcmap": + cat /tmp/fileszWBlN Step #5 - "srcmap": + rm /tmp/fileszWBlN Step #5 - "srcmap": { Step #5 - "srcmap": "/src/ninja": { Step #5 - "srcmap": "type": "git", Step #5 - "srcmap": "url": "https://github.com/ninja-build/ninja", Step #5 - "srcmap": "rev": "09b6b4e13a365ff04bc865fd6b4c6f1f52032617" Step #5 - "srcmap": } Step #5 - "srcmap": } Finished Step #5 - "srcmap" Starting Step #6 - "compile-libfuzzer-introspector-x86_64" Step #6 - "compile-libfuzzer-introspector-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #6 - "compile-libfuzzer-introspector-x86_64": --------------------------------------------------------------- Step #6 - "compile-libfuzzer-introspector-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #6 - "compile-libfuzzer-introspector-x86_64": --------------------------------------------------------------- Step #6 - "compile-libfuzzer-introspector-x86_64": CC=clang Step #6 - "compile-libfuzzer-introspector-x86_64": CXX=clang++ Step #6 - "compile-libfuzzer-introspector-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -O0 -flto -fno-inline-functions -fuse-ld=gold -Wno-unused-command-line-argument -fsanitize=fuzzer-no-link -g Step #6 - "compile-libfuzzer-introspector-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -O0 -flto -fno-inline-functions -fuse-ld=gold -Wno-unused-command-line-argument -fsanitize=fuzzer-no-link -stdlib=libc++ -g Step #6 - "compile-libfuzzer-introspector-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=introspector -Cdebuginfo=1 -Cforce-frame-pointers Step #6 - "compile-libfuzzer-introspector-x86_64": --------------------------------------------------------------- Step #6 - "compile-libfuzzer-introspector-x86_64": + cmake -Bbuild-cmake -H. Step #6 - "compile-libfuzzer-introspector-x86_64": -- The CXX compiler identification is Clang 15.0.0 Step #6 - "compile-libfuzzer-introspector-x86_64": -- Detecting CXX compiler ABI info Step #6 - "compile-libfuzzer-introspector-x86_64": -- Detecting CXX compiler ABI info - done Step #6 - "compile-libfuzzer-introspector-x86_64": -- Check for working CXX compiler: /usr/local/bin/clang++ - skipped Step #6 - "compile-libfuzzer-introspector-x86_64": -- Detecting CXX compile features Step #6 - "compile-libfuzzer-introspector-x86_64": -- Detecting CXX compile features - done Step #6 - "compile-libfuzzer-introspector-x86_64": -- IPO / LTO enabled Step #6 - "compile-libfuzzer-introspector-x86_64": -- Performing Test flag_no_deprecated Step #6 - "compile-libfuzzer-introspector-x86_64": -- Performing Test flag_no_deprecated - Success Step #6 - "compile-libfuzzer-introspector-x86_64": -- Performing Test flag_color_diag Step #6 - "compile-libfuzzer-introspector-x86_64": -- Performing Test flag_color_diag - Success Step #6 - "compile-libfuzzer-introspector-x86_64": -- Looking for ppoll Step #6 - "compile-libfuzzer-introspector-x86_64": -- Looking for ppoll - found Step #6 - "compile-libfuzzer-introspector-x86_64": CMake Warning at CMakeLists.txt:77 (message): Step #6 - "compile-libfuzzer-introspector-x86_64": re2c 2 or later was not found; changes to src/*.in.cc will not affect your Step #6 - "compile-libfuzzer-introspector-x86_64": build. Step #6 - "compile-libfuzzer-introspector-x86_64": Step #6 - "compile-libfuzzer-introspector-x86_64":  Step #6 - "compile-libfuzzer-introspector-x86_64": -- Looking for fork Step #6 - "compile-libfuzzer-introspector-x86_64": -- Looking for fork - found Step #6 - "compile-libfuzzer-introspector-x86_64": -- Looking for pipe Step #6 - "compile-libfuzzer-introspector-x86_64": -- Looking for pipe - found Step #6 - "compile-libfuzzer-introspector-x86_64": -- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY) Step #6 - "compile-libfuzzer-introspector-x86_64": CMake Warning (dev) at /usr/local/share/cmake-3.24/Modules/FetchContent.cmake:1267 (message): Step #6 - "compile-libfuzzer-introspector-x86_64": The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is Step #6 - "compile-libfuzzer-introspector-x86_64": not set. The policy's OLD behavior will be used. When using a URL Step #6 - "compile-libfuzzer-introspector-x86_64": download, the timestamps of extracted files should preferably be that of Step #6 - "compile-libfuzzer-introspector-x86_64": the time of extraction, otherwise code that depends on the extracted Step #6 - "compile-libfuzzer-introspector-x86_64": contents might not be rebuilt if the URL changes. The OLD behavior Step #6 - "compile-libfuzzer-introspector-x86_64": preserves the timestamps from the archive instead, but this is usually not Step #6 - "compile-libfuzzer-introspector-x86_64": what you want. Update your project to the NEW behavior or specify the Step #6 - "compile-libfuzzer-introspector-x86_64": DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this Step #6 - "compile-libfuzzer-introspector-x86_64": robustness issue. Step #6 - "compile-libfuzzer-introspector-x86_64": Call Stack (most recent call first): Step #6 - "compile-libfuzzer-introspector-x86_64": CMakeLists.txt:233 (FetchContent_Declare) Step #6 - "compile-libfuzzer-introspector-x86_64": This warning is for project developers. Use -Wno-dev to suppress it. Step #6 - "compile-libfuzzer-introspector-x86_64":  Step #6 - "compile-libfuzzer-introspector-x86_64": CMake Deprecation Warning at build-cmake/_deps/googletest-src/CMakeLists.txt:4 (cmake_minimum_required): Step #6 - "compile-libfuzzer-introspector-x86_64": Compatibility with CMake < 2.8.12 will be removed from a future version of Step #6 - "compile-libfuzzer-introspector-x86_64": CMake. Step #6 - "compile-libfuzzer-introspector-x86_64": Step #6 - "compile-libfuzzer-introspector-x86_64": Update the VERSION argument value or use a ... suffix to tell Step #6 - "compile-libfuzzer-introspector-x86_64": CMake that the project does not need compatibility with older versions. Step #6 - "compile-libfuzzer-introspector-x86_64": Step #6 - "compile-libfuzzer-introspector-x86_64":  Step #6 - "compile-libfuzzer-introspector-x86_64": -- The C compiler identification is Clang 15.0.0 Step #6 - "compile-libfuzzer-introspector-x86_64": -- Detecting C compiler ABI info Step #6 - "compile-libfuzzer-introspector-x86_64": -- Detecting C compiler ABI info - done Step #6 - "compile-libfuzzer-introspector-x86_64": -- Check for working C compiler: /usr/local/bin/clang - skipped Step #6 - "compile-libfuzzer-introspector-x86_64": -- Detecting C compile features Step #6 - "compile-libfuzzer-introspector-x86_64": -- Detecting C compile features - done Step #6 - "compile-libfuzzer-introspector-x86_64": CMake Deprecation Warning at build-cmake/_deps/googletest-src/googlemock/CMakeLists.txt:45 (cmake_minimum_required): Step #6 - "compile-libfuzzer-introspector-x86_64": Compatibility with CMake < 2.8.12 will be removed from a future version of Step #6 - "compile-libfuzzer-introspector-x86_64": CMake. Step #6 - "compile-libfuzzer-introspector-x86_64": Step #6 - "compile-libfuzzer-introspector-x86_64": Update the VERSION argument value or use a ... suffix to tell Step #6 - "compile-libfuzzer-introspector-x86_64": CMake that the project does not need compatibility with older versions. Step #6 - "compile-libfuzzer-introspector-x86_64": Step #6 - "compile-libfuzzer-introspector-x86_64":  Step #6 - "compile-libfuzzer-introspector-x86_64": CMake Deprecation Warning at build-cmake/_deps/googletest-src/googletest/CMakeLists.txt:56 (cmake_minimum_required): Step #6 - "compile-libfuzzer-introspector-x86_64": Compatibility with CMake < 2.8.12 will be removed from a future version of Step #6 - "compile-libfuzzer-introspector-x86_64": CMake. Step #6 - "compile-libfuzzer-introspector-x86_64": Step #6 - "compile-libfuzzer-introspector-x86_64": Update the VERSION argument value or use a ... suffix to tell Step #6 - "compile-libfuzzer-introspector-x86_64": CMake that the project does not need compatibility with older versions. Step #6 - "compile-libfuzzer-introspector-x86_64": Step #6 - "compile-libfuzzer-introspector-x86_64":  Step #6 - "compile-libfuzzer-introspector-x86_64": -- Found PythonInterp: /usr/local/bin/python3.8 (found version "3.8.3") Step #6 - "compile-libfuzzer-introspector-x86_64": -- Performing Test CMAKE_HAVE_LIBC_PTHREAD Step #6 - "compile-libfuzzer-introspector-x86_64": -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success Step #6 - "compile-libfuzzer-introspector-x86_64": -- Found Threads: TRUE Step #6 - "compile-libfuzzer-introspector-x86_64": -- Defining GTest::gtest alias to work-around bug in older release. Step #6 - "compile-libfuzzer-introspector-x86_64": -- Configuring done Step #6 - "compile-libfuzzer-introspector-x86_64": -- Generating done Step #6 - "compile-libfuzzer-introspector-x86_64": -- Build files have been written to: /src/ninja/build-cmake Step #6 - "compile-libfuzzer-introspector-x86_64": + cmake --build build-cmake Step #6 - "compile-libfuzzer-introspector-x86_64": [ 1%] Building CXX object CMakeFiles/libninja-re2c.dir/src/depfile_parser.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 2%] Building CXX object CMakeFiles/libninja-re2c.dir/src/lexer.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 2%] Built target libninja-re2c Step #6 - "compile-libfuzzer-introspector-x86_64": [ 4%] Building CXX object CMakeFiles/libninja.dir/src/build_log.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 5%] Building CXX object CMakeFiles/libninja.dir/src/build.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 6%] Building CXX object CMakeFiles/libninja.dir/src/clean.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 8%] Building CXX object CMakeFiles/libninja.dir/src/clparser.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 9%] Building CXX object CMakeFiles/libninja.dir/src/dyndep.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 11%] Building CXX object CMakeFiles/libninja.dir/src/dyndep_parser.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 12%] Building CXX object CMakeFiles/libninja.dir/src/debug_flags.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 13%] Building CXX object CMakeFiles/libninja.dir/src/deps_log.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 15%] Building CXX object CMakeFiles/libninja.dir/src/disk_interface.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 16%] Building CXX object CMakeFiles/libninja.dir/src/edit_distance.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 18%] Building CXX object CMakeFiles/libninja.dir/src/eval_env.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 19%] Building CXX object CMakeFiles/libninja.dir/src/graph.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 20%] Building CXX object CMakeFiles/libninja.dir/src/graphviz.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 22%] Building CXX object CMakeFiles/libninja.dir/src/json.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 23%] Building CXX object CMakeFiles/libninja.dir/src/line_printer.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 25%] Building CXX object CMakeFiles/libninja.dir/src/manifest_parser.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 26%] Building CXX object CMakeFiles/libninja.dir/src/metrics.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 27%] Building CXX object CMakeFiles/libninja.dir/src/missing_deps.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 29%] Building CXX object CMakeFiles/libninja.dir/src/parser.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 30%] Building CXX object CMakeFiles/libninja.dir/src/state.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 31%] Building CXX object CMakeFiles/libninja.dir/src/status.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 33%] Building CXX object CMakeFiles/libninja.dir/src/string_piece_util.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 34%] Building CXX object CMakeFiles/libninja.dir/src/util.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 36%] Building CXX object CMakeFiles/libninja.dir/src/version.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 37%] Building CXX object CMakeFiles/libninja.dir/src/subprocess-posix.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 37%] Built target libninja Step #6 - "compile-libfuzzer-introspector-x86_64": [ 38%] Generating build/browse_py.h Step #6 - "compile-libfuzzer-introspector-x86_64": [ 40%] Building CXX object CMakeFiles/ninja.dir/src/ninja.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 41%] Building CXX object CMakeFiles/ninja.dir/src/browse.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 43%] Linking CXX executable ninja Step #6 - "compile-libfuzzer-introspector-x86_64": [Log level 1] : 10:03:04 : Fuzz introspector is running Step #6 - "compile-libfuzzer-introspector-x86_64": [Log level 1] : 10:03:04 : Running introspector on ld-temp.o Step #6 - "compile-libfuzzer-introspector-x86_64": [Log level 1] : 10:03:04 : Main function filename: /src/ninja/src/ninja.cc Step #6 - "compile-libfuzzer-introspector-x86_64": [Log level 1] : 10:03:04 : Main function is non-empty Step #6 - "compile-libfuzzer-introspector-x86_64": [Log level 1] : 10:03:04 : This means a main function is in the source code rather in the libfuzzer library, and thus we do not care about it. We only want to study the actual fuzzers. Exiting this run. Step #6 - "compile-libfuzzer-introspector-x86_64": [ 43%] Built target ninja Step #6 - "compile-libfuzzer-introspector-x86_64": [ 44%] Building CXX object _deps/googletest-build/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 45%] Linking CXX static library ../../../lib/libgtest.a Step #6 - "compile-libfuzzer-introspector-x86_64": [ 45%] Built target gtest Step #6 - "compile-libfuzzer-introspector-x86_64": [ 47%] Building CXX object CMakeFiles/ninja_test.dir/src/build_log_test.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 48%] Building CXX object CMakeFiles/ninja_test.dir/src/build_test.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 50%] Building CXX object CMakeFiles/ninja_test.dir/src/clean_test.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 51%] Building CXX object CMakeFiles/ninja_test.dir/src/clparser_test.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 52%] Building CXX object CMakeFiles/ninja_test.dir/src/depfile_parser_test.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 54%] Building CXX object CMakeFiles/ninja_test.dir/src/deps_log_test.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 55%] Building CXX object CMakeFiles/ninja_test.dir/src/disk_interface_test.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 56%] Building CXX object CMakeFiles/ninja_test.dir/src/dyndep_parser_test.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 58%] Building CXX object CMakeFiles/ninja_test.dir/src/edit_distance_test.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 59%] Building CXX object CMakeFiles/ninja_test.dir/src/graph_test.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 61%] Building CXX object CMakeFiles/ninja_test.dir/src/json_test.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 62%] Building CXX object CMakeFiles/ninja_test.dir/src/lexer_test.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 63%] Building CXX object CMakeFiles/ninja_test.dir/src/manifest_parser_test.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 65%] Building CXX object CMakeFiles/ninja_test.dir/src/missing_deps_test.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 66%] Building CXX object CMakeFiles/ninja_test.dir/src/ninja_test.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 68%] Building CXX object CMakeFiles/ninja_test.dir/src/state_test.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 69%] Building CXX object CMakeFiles/ninja_test.dir/src/string_piece_util_test.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 70%] Building CXX object CMakeFiles/ninja_test.dir/src/subprocess_test.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 72%] Building CXX object CMakeFiles/ninja_test.dir/src/test.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 73%] Building CXX object CMakeFiles/ninja_test.dir/src/util_test.cc.o Step #6 - "compile-libfuzzer-introspector-x86_64": [ 75%] Linking CXX executable ninja_test Step #6 - "compile-libfuzzer-introspector-x86_64": [Log level 1] : 10:03:47 : Fuzz introspector is running Step #6 - "compile-libfuzzer-introspector-x86_64": [Log level 1] : 10:03:47 : Running introspector on ld-temp.o Step #6 - "compile-libfuzzer-introspector-x86_64": [Log level 1] : 10:03:47 : Main function filename: /src/ninja/src/ninja_test.cc Step #6 - "compile-libfuzzer-introspector-x86_64": [Log level 1] : 10:03:47 : Main function is non-empty Step #6 - "compile-libfuzzer-introspector-x86_64": [Log level 1] : 10:03:47 : This means a main function is in the source code rather in the libfuzzer library, and thus we do not care about it. We only want to study the actual fuzzers. Exiting this run. Step #6 - "compile-libfuzzer-introspector-x86_64": /usr/bin/ld.gold: fatal error: LLVM gold plugin: :0: Undefined temporary symbol .Ltmp41804 Step #6 - "compile-libfuzzer-introspector-x86_64": Step #6 - "compile-libfuzzer-introspector-x86_64": clang-15: error: linker command failed with exit code 1 (use -v to see invocation) Step #6 - "compile-libfuzzer-introspector-x86_64": make[2]: *** [CMakeFiles/ninja_test.dir/build.make:456: ninja_test] Error 1 Step #6 - "compile-libfuzzer-introspector-x86_64": make[1]: *** [CMakeFiles/Makefile2:991: CMakeFiles/ninja_test.dir/all] Error 2 Step #6 - "compile-libfuzzer-introspector-x86_64": make: *** [Makefile:146: all] Error 2 Step #6 - "compile-libfuzzer-introspector-x86_64": ******************************************************************************** Step #6 - "compile-libfuzzer-introspector-x86_64": Failed to build. Step #6 - "compile-libfuzzer-introspector-x86_64": To reproduce, run: Step #6 - "compile-libfuzzer-introspector-x86_64": python infra/helper.py build_image ninja Step #6 - "compile-libfuzzer-introspector-x86_64": python infra/helper.py build_fuzzers --sanitizer introspector --engine libfuzzer --architecture x86_64 ninja Step #6 - "compile-libfuzzer-introspector-x86_64": ******************************************************************************** Finished Step #6 - "compile-libfuzzer-introspector-x86_64" ERROR ERROR: build step 6 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1