starting build "c25752c4-6e8b-4e9c-b09d-0a488f5bb1a9" FETCHSOURCE BUILD Starting Step #0 Step #0: Already have image (with digest): gcr.io/cloud-builders/git Step #0: Step #0: ***** NOTICE ***** Step #0: Step #0: Official `cloud-sdk` images, including multiple tagged versions across multiple Step #0: platforms, can be found at Step #0: https://github.com/GoogleCloudPlatform/cloud-sdk-docker and may be more suitable Step #0: for some use cases when interacting with Cloud Source Repositories. Step #0: Step #0: For additional information, please visit Step #0: https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/git Step #0: Step #0: ***** END OF NOTICE ***** Step #0: 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.12kB Step #1: Step 1/4 : FROM gcr.io/oss-fuzz-base/base-builder Step #1: latest: Pulling from oss-fuzz-base/base-builder Step #1: 4007a89234b4: Pulling fs layer Step #1: c1de0f9cdfc1: Pulling fs layer Step #1: c8ee6ca703b8: Pulling fs layer Step #1: b39e2761d3d4: Pulling fs layer Step #1: b07e2a93fb75: Pulling fs layer Step #1: 164de963e425: Pulling fs layer Step #1: 24303027a06b: Pulling fs layer Step #1: ecf4093d1ff2: Pulling fs layer Step #1: 8d825574554f: Pulling fs layer Step #1: c25bea6ef829: Pulling fs layer Step #1: b34cf1ea7506: Pulling fs layer Step #1: b75170912331: Pulling fs layer Step #1: f5290a23e2e9: Pulling fs layer Step #1: 9e3cec0c10e5: Pulling fs layer Step #1: 7cd9212023da: Pulling fs layer Step #1: f470683eff63: Pulling fs layer Step #1: ce30f0ee8e03: Pulling fs layer Step #1: 968406f052d6: Pulling fs layer Step #1: 40a03dd0a551: Pulling fs layer Step #1: c8ba41834e75: Pulling fs layer Step #1: 951dfa90c18d: Pulling fs layer Step #1: 6acba4656fa1: Pulling fs layer Step #1: ce152b25e7fc: Pulling fs layer Step #1: b9090867fae4: Pulling fs layer Step #1: 6d292417b70e: Pulling fs layer Step #1: 8175c5d9839f: Pulling fs layer Step #1: b8bfd032748f: Pulling fs layer Step #1: f6487f04a04a: Pulling fs layer Step #1: 164de963e425: Waiting Step #1: 24303027a06b: Waiting Step #1: ce30f0ee8e03: Waiting Step #1: ecf4093d1ff2: Waiting Step #1: 968406f052d6: Waiting Step #1: 8d825574554f: Waiting Step #1: b39e2761d3d4: Waiting Step #1: 40a03dd0a551: Waiting Step #1: c25bea6ef829: Waiting Step #1: c8ba41834e75: Waiting Step #1: b34cf1ea7506: Waiting Step #1: 951dfa90c18d: Waiting Step #1: b75170912331: Waiting Step #1: 6acba4656fa1: Waiting Step #1: f5290a23e2e9: Waiting Step #1: f470683eff63: Waiting Step #1: ce152b25e7fc: Waiting Step #1: b9090867fae4: Waiting Step #1: 9e3cec0c10e5: Waiting Step #1: f6487f04a04a: Waiting Step #1: 6d292417b70e: Waiting Step #1: 7cd9212023da: Waiting Step #1: 8175c5d9839f: Waiting Step #1: b07e2a93fb75: Waiting Step #1: b8bfd032748f: Waiting Step #1: c1de0f9cdfc1: Download complete Step #1: c8ee6ca703b8: Verifying Checksum Step #1: c8ee6ca703b8: Download complete Step #1: b39e2761d3d4: Verifying Checksum Step #1: b39e2761d3d4: Download complete Step #1: 164de963e425: Verifying Checksum Step #1: 164de963e425: Download complete Step #1: 24303027a06b: Verifying Checksum Step #1: 24303027a06b: Download complete Step #1: ecf4093d1ff2: Verifying Checksum Step #1: ecf4093d1ff2: Download complete Step #1: b07e2a93fb75: Download complete Step #1: 4007a89234b4: Verifying Checksum Step #1: 4007a89234b4: Download complete Step #1: c25bea6ef829: Verifying Checksum Step #1: c25bea6ef829: Download complete Step #1: b75170912331: Verifying Checksum Step #1: b75170912331: Download complete Step #1: f5290a23e2e9: Verifying Checksum Step #1: f5290a23e2e9: Download complete Step #1: 8d825574554f: Verifying Checksum Step #1: 8d825574554f: Download complete Step #1: b34cf1ea7506: Verifying Checksum Step #1: b34cf1ea7506: Download complete Step #1: 9e3cec0c10e5: Verifying Checksum Step #1: 9e3cec0c10e5: Download complete Step #1: 7cd9212023da: Verifying Checksum Step #1: 7cd9212023da: Download complete Step #1: ce30f0ee8e03: Verifying Checksum Step #1: ce30f0ee8e03: Download complete Step #1: 968406f052d6: Verifying Checksum Step #1: 968406f052d6: Download complete Step #1: 40a03dd0a551: Verifying Checksum Step #1: 40a03dd0a551: Download complete Step #1: 4007a89234b4: Pull complete Step #1: 951dfa90c18d: Verifying Checksum Step #1: 951dfa90c18d: Download complete Step #1: c1de0f9cdfc1: Pull complete Step #1: c8ee6ca703b8: Pull complete Step #1: b39e2761d3d4: Pull complete Step #1: 6acba4656fa1: Verifying Checksum Step #1: 6acba4656fa1: Download complete Step #1: ce152b25e7fc: Verifying Checksum Step #1: ce152b25e7fc: Download complete Step #1: b9090867fae4: Verifying Checksum Step #1: b9090867fae4: Download complete Step #1: 6d292417b70e: Verifying Checksum Step #1: 6d292417b70e: Download complete Step #1: 8175c5d9839f: Verifying Checksum Step #1: 8175c5d9839f: Download complete Step #1: c8ba41834e75: Verifying Checksum Step #1: c8ba41834e75: Download complete Step #1: b8bfd032748f: Verifying Checksum Step #1: b8bfd032748f: Download complete Step #1: f6487f04a04a: Verifying Checksum Step #1: f6487f04a04a: Download complete Step #1: f470683eff63: Verifying Checksum Step #1: f470683eff63: Download complete Step #1: b07e2a93fb75: Pull complete Step #1: 164de963e425: Pull complete Step #1: 24303027a06b: Pull complete Step #1: ecf4093d1ff2: Pull complete Step #1: 8d825574554f: Pull complete Step #1: c25bea6ef829: Pull complete Step #1: b34cf1ea7506: Pull complete Step #1: b75170912331: Pull complete Step #1: f5290a23e2e9: Pull complete Step #1: 9e3cec0c10e5: Pull complete Step #1: 7cd9212023da: Pull complete Step #1: f470683eff63: Pull complete Step #1: ce30f0ee8e03: Pull complete Step #1: 968406f052d6: Pull complete Step #1: 40a03dd0a551: Pull complete Step #1: c8ba41834e75: Pull complete Step #1: 951dfa90c18d: Pull complete Step #1: 6acba4656fa1: Pull complete Step #1: ce152b25e7fc: Pull complete Step #1: b9090867fae4: Pull complete Step #1: 6d292417b70e: Pull complete Step #1: 8175c5d9839f: Pull complete Step #1: b8bfd032748f: Pull complete Step #1: f6487f04a04a: Pull complete Step #1: Digest: sha256:e93036f1f1e65817c51570e7bd3d28e7fdde6b598c17b111eec6dbfba5c9b9cf Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder:latest Step #1: ---> 1a95faddc387 Step #1: Step 2/4 : RUN git clone --depth 1 https://github.com/rust-lang/regex regex Step #1: ---> Running in e3e8cd592d02 Step #1: Cloning into 'regex'... Step #1: Removing intermediate container e3e8cd592d02 Step #1: ---> 75d3926da268 Step #1: Step 3/4 : WORKDIR $SRC Step #1: ---> Running in 214bfec4bc07 Step #1: Removing intermediate container 214bfec4bc07 Step #1: ---> 88c69ce7af25 Step #1: Step 4/4 : COPY build.sh $SRC/ Step #1: ---> e69ca511df22 Step #1: Successfully built e69ca511df22 Step #1: Successfully tagged gcr.io/oss-fuzz/rust-regex:latest Finished Step #1 Starting Step #2 Step #2: Already have image: gcr.io/oss-fuzz/rust-regex Step #2: ++ tempfile Step #2: + SRCMAP=/tmp/fileQY9zVp Step #2: + echo '{}' Step #2: + PATHS_TO_SCAN=/src Step #2: + [[ rust == \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/regex/.git Step #2: + GIT_DIR=/src/regex Step #2: + cd /src/regex Step #2: ++ git config --get remote.origin.url Step #2: + GIT_URL=https://github.com/rust-lang/regex Step #2: ++ git rev-parse HEAD Step #2: + GIT_REV=ff283badce21dcebd581909d38b81f2c8c9bfb54 Step #2: + jq_inplace /tmp/fileQY9zVp '."/src/regex" = { type: "git", url: "https://github.com/rust-lang/regex", rev: "ff283badce21dcebd581909d38b81f2c8c9bfb54" }' Step #2: ++ tempfile Step #2: + F=/tmp/fileHCwtSo Step #2: + cat /tmp/fileQY9zVp Step #2: + jq '."/src/regex" = { type: "git", url: "https://github.com/rust-lang/regex", rev: "ff283badce21dcebd581909d38b81f2c8c9bfb54" }' Step #2: + mv /tmp/fileHCwtSo /tmp/fileQY9zVp Step #2: + for DOT_GIT_DIR in '$(find $PATHS_TO_SCAN -name ".git" -type d)' Step #2: ++ dirname /src/aflplusplus/.git Step #2: + GIT_DIR=/src/aflplusplus Step #2: + cd /src/aflplusplus Step #2: ++ git config --get remote.origin.url Step #2: + GIT_URL=https://github.com/AFLplusplus/AFLplusplus.git Step #2: ++ git rev-parse HEAD Step #2: + GIT_REV=3ff4ca348c344bded53f53b0d0c4b020a188f26e Step #2: + jq_inplace /tmp/fileQY9zVp '."/src/aflplusplus" = { type: "git", url: "https://github.com/AFLplusplus/AFLplusplus.git", rev: "3ff4ca348c344bded53f53b0d0c4b020a188f26e" }' Step #2: ++ tempfile Step #2: + F=/tmp/fileRJ99gt Step #2: + cat /tmp/fileQY9zVp Step #2: + jq '."/src/aflplusplus" = { type: "git", url: "https://github.com/AFLplusplus/AFLplusplus.git", rev: "3ff4ca348c344bded53f53b0d0c4b020a188f26e" }' Step #2: + mv /tmp/fileRJ99gt /tmp/fileQY9zVp Step #2: ++ find /src -name .svn -type d Step #2: ++ find /src -name .hg -type d Step #2: + '[' '' '!=' '' ']' Step #2: + cat /tmp/fileQY9zVp Step #2: + rm /tmp/fileQY9zVp Step #2: { Step #2: "/src/regex": { Step #2: "type": "git", Step #2: "url": "https://github.com/rust-lang/regex", Step #2: "rev": "ff283badce21dcebd581909d38b81f2c8c9bfb54" Step #2: }, Step #2: "/src/aflplusplus": { Step #2: "type": "git", Step #2: "url": "https://github.com/AFLplusplus/AFLplusplus.git", Step #2: "rev": "3ff4ca348c344bded53f53b0d0c4b020a188f26e" Step #2: } Step #2: } Finished Step #2 Starting Step #3 Step #3: Already have image: gcr.io/oss-fuzz/rust-regex Step #3: --------------------------------------------------------------- Step #3: Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #3: --------------------------------------------------------------- Step #3: CC=clang Step #3: CXX=clang++ Step #3: CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument Step #3: CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -stdlib=libc++ Step #3: --------------------------------------------------------------- Step #3: + cd /src/regex Step #3: + cargo fuzz build -O Step #3: warning: /src/regex/fuzz/Cargo.toml: use `[profile.dev]` to configure debug builds Step #3: Updating crates.io index Step #3: Downloading crates ... Step #3: Downloaded arbitrary v0.4.7 Step #3: Downloaded memchr v2.3.4 Step #3: Downloaded cc v1.0.67 Step #3: Downloaded libfuzzer-sys v0.3.5 Step #3: Downloaded aho-corasick v0.7.15 Step #3: Compiling memchr v2.3.4 Step #3: Compiling cc v1.0.67 Step #3: Compiling regex-syntax v0.6.23 (/src/regex/regex-syntax) Step #3: Compiling arbitrary v0.4.7 Step #3: Compiling aho-corasick v0.7.15 Step #3: Compiling libfuzzer-sys v0.3.5 Step #3: error: symbol `_RINvMNtNtCskrsM4FCwAVA_4core3ptr7mut_ptrOINtNtCs2beRm3ZGvIF_5alloc3vec3VecINtNtBI_5boxed3BoxDNtNtNtNtB7_4iter6traits8iterator8Iteratorp4ItemcEL_EE4castuECs9KydpJjV7w1_9arbitrary` is already defined Step #3: Step #3: error: aborting due to previous error Step #3: Step #3: error: could not compile `arbitrary` Step #3: Step #3: To learn more, run the command again with --verbose. Step #3: warning: build failed, waiting for other jobs to finish... Step #3: error: build failed Step #3: ******************************************************************************** Step #3: Coverage build failed. Step #3: To reproduce, run: Step #3: python infra/helper.py build_image rust-regex Step #3: python infra/helper.py build_fuzzers --sanitizer coverage rust-regex Step #3: ******************************************************************************** Finished Step #3 ERROR ERROR: build step 3 "gcr.io/oss-fuzz/rust-regex" failed: step exited with non-zero status: 1