starting build "c9b61873-8950-4a50-a729-820d5617ff7a" 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.12kB Step #1: Step 1/4 : FROM gcr.io/oss-fuzz-base/base-builder-rust Step #1: latest: Pulling from oss-fuzz-base/base-builder-rust Step #1: 7b1a6ab2e44d: Already exists Step #1: 12e582d6d5a9: Pulling fs layer Step #1: bc3efa5fd73c: Pulling fs layer Step #1: 6d870a9bfaa0: Pulling fs layer Step #1: 4b1eb9b9223d: Pulling fs layer Step #1: 4baee767b02c: Pulling fs layer Step #1: eb06bd13430c: Pulling fs layer Step #1: c6fb1e08a6e7: Pulling fs layer Step #1: 591673210d79: Pulling fs layer Step #1: a722f565f0e6: Pulling fs layer Step #1: 35521ffc2047: Pulling fs layer Step #1: 93c05e878113: Pulling fs layer Step #1: b1474156c530: Pulling fs layer Step #1: 93f00915b694: Pulling fs layer Step #1: 4baee767b02c: Waiting Step #1: 4b1eb9b9223d: Waiting Step #1: fc9306299815: Pulling fs layer Step #1: 549030faf67b: Pulling fs layer Step #1: 0e1905f63409: Pulling fs layer Step #1: eb06bd13430c: Waiting Step #1: 743c3f2fbd58: Pulling fs layer Step #1: 856a30361ca8: Pulling fs layer Step #1: 12e00018ad89: Pulling fs layer Step #1: 5f501dd950a1: Pulling fs layer Step #1: b1474156c530: Waiting Step #1: 35521ffc2047: Waiting Step #1: 549030faf67b: Waiting Step #1: 0e1905f63409: Waiting Step #1: 93c05e878113: Waiting Step #1: 93f00915b694: Waiting Step #1: 743c3f2fbd58: Waiting Step #1: a722f565f0e6: Waiting Step #1: fc9306299815: Waiting Step #1: 856a30361ca8: Waiting Step #1: 12e00018ad89: Waiting Step #1: bc3efa5fd73c: Download complete Step #1: 4b1eb9b9223d: Verifying Checksum Step #1: 4b1eb9b9223d: Download complete Step #1: 6d870a9bfaa0: Verifying Checksum Step #1: 6d870a9bfaa0: Download complete Step #1: eb06bd13430c: Download complete Step #1: 12e582d6d5a9: Verifying Checksum Step #1: 12e582d6d5a9: Download complete Step #1: 591673210d79: Verifying Checksum Step #1: 591673210d79: Download complete Step #1: a722f565f0e6: Verifying Checksum Step #1: a722f565f0e6: Download complete Step #1: 35521ffc2047: Verifying Checksum Step #1: 35521ffc2047: Download complete Step #1: 93c05e878113: Verifying Checksum Step #1: 93c05e878113: Download complete Step #1: b1474156c530: Verifying Checksum Step #1: b1474156c530: Download complete Step #1: 12e582d6d5a9: Pull complete Step #1: 93f00915b694: Verifying Checksum Step #1: 93f00915b694: Download complete Step #1: bc3efa5fd73c: Pull complete Step #1: fc9306299815: Download complete Step #1: 549030faf67b: Download complete Step #1: c6fb1e08a6e7: Verifying Checksum Step #1: c6fb1e08a6e7: Download complete Step #1: 743c3f2fbd58: Verifying Checksum Step #1: 743c3f2fbd58: Download complete Step #1: 856a30361ca8: Verifying Checksum Step #1: 856a30361ca8: Download complete Step #1: 0e1905f63409: Verifying Checksum Step #1: 0e1905f63409: Download complete Step #1: 12e00018ad89: Verifying Checksum Step #1: 12e00018ad89: Download complete Step #1: 4baee767b02c: Verifying Checksum Step #1: 4baee767b02c: Download complete Step #1: 6d870a9bfaa0: Pull complete Step #1: 4b1eb9b9223d: Pull complete Step #1: 5f501dd950a1: Verifying Checksum Step #1: 5f501dd950a1: Download complete Step #1: 4baee767b02c: Pull complete Step #1: eb06bd13430c: Pull complete Step #1: c6fb1e08a6e7: Pull complete Step #1: 591673210d79: Pull complete Step #1: a722f565f0e6: Pull complete Step #1: 35521ffc2047: Pull complete Step #1: 93c05e878113: Pull complete Step #1: b1474156c530: Pull complete Step #1: 93f00915b694: Pull complete Step #1: fc9306299815: Pull complete Step #1: 549030faf67b: Pull complete Step #1: 0e1905f63409: Pull complete Step #1: 743c3f2fbd58: Pull complete Step #1: 856a30361ca8: Pull complete Step #1: 12e00018ad89: Pull complete Step #1: 5f501dd950a1: Pull complete Step #1: Digest: sha256:a78d68cf7b6c85ed8fb912a083968dbfe324384c3369979df7e2fd66c7301800 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-rust:latest Step #1: ---> 1ed977cf0a7c Step #1: Step 2/4 : RUN git clone --depth 1 https://github.com/rust-lang/regex regex Step #1: ---> Running in 94f7bdf80fbc Step #1: Cloning into 'regex'... Step #1: Removing intermediate container 94f7bdf80fbc Step #1: ---> b1557757b5a6 Step #1: Step 3/4 : WORKDIR $SRC Step #1: ---> Running in 0248b6df6f64 Step #1: Removing intermediate container 0248b6df6f64 Step #1: ---> 57b1df62c713 Step #1: Step 4/4 : COPY build.sh $SRC/ Step #1: ---> 3b4672a7aa97 Step #1: Successfully built 3b4672a7aa97 Step #1: Successfully tagged gcr.io/oss-fuzz/rust-regex:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/rust-regex Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileyhGhgS Step #2 - "srcmap": + echo '{}' Step #2 - "srcmap": + PATHS_TO_SCAN=/src Step #2 - "srcmap": + [[ rust == \g\o ]] Step #2 - "srcmap": ++ find /src -name .git -type d Step #2 - "srcmap": + for DOT_GIT_DIR in $(find $PATHS_TO_SCAN -name ".git" -type d) Step #2 - "srcmap": ++ dirname /src/regex/.git Step #2 - "srcmap": + GIT_DIR=/src/regex Step #2 - "srcmap": + cd /src/regex Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/rust-lang/regex Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=63ee6699a27b294774af0154862e5cc35b495ee6 Step #2 - "srcmap": + jq_inplace /tmp/fileyhGhgS '."/src/regex" = { type: "git", url: "https://github.com/rust-lang/regex", rev: "63ee6699a27b294774af0154862e5cc35b495ee6" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/file0Tgkgg Step #2 - "srcmap": + cat /tmp/fileyhGhgS Step #2 - "srcmap": + jq '."/src/regex" = { type: "git", url: "https://github.com/rust-lang/regex", rev: "63ee6699a27b294774af0154862e5cc35b495ee6" }' Step #2 - "srcmap": + mv /tmp/file0Tgkgg /tmp/fileyhGhgS Step #2 - "srcmap": + for DOT_GIT_DIR in $(find $PATHS_TO_SCAN -name ".git" -type d) Step #2 - "srcmap": ++ dirname /src/aflplusplus/.git Step #2 - "srcmap": + GIT_DIR=/src/aflplusplus Step #2 - "srcmap": + cd /src/aflplusplus Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/AFLplusplus/AFLplusplus.git Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=533e979010ca338df6fc415d87668f8187752915 Step #2 - "srcmap": + jq_inplace /tmp/fileyhGhgS '."/src/aflplusplus" = { type: "git", url: "https://github.com/AFLplusplus/AFLplusplus.git", rev: "533e979010ca338df6fc415d87668f8187752915" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileDFfFlN Step #2 - "srcmap": + cat /tmp/fileyhGhgS Step #2 - "srcmap": + jq '."/src/aflplusplus" = { type: "git", url: "https://github.com/AFLplusplus/AFLplusplus.git", rev: "533e979010ca338df6fc415d87668f8187752915" }' Step #2 - "srcmap": + mv /tmp/fileDFfFlN /tmp/fileyhGhgS Step #2 - "srcmap": ++ find /src -name .svn -type d Step #2 - "srcmap": ++ find /src -name .hg -type d Step #2 - "srcmap": + '[' '' '!=' '' ']' Step #2 - "srcmap": + cat /tmp/fileyhGhgS Step #2 - "srcmap": + rm /tmp/fileyhGhgS Step #2 - "srcmap": { Step #2 - "srcmap": "/src/regex": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/rust-lang/regex", Step #2 - "srcmap": "rev": "63ee6699a27b294774af0154862e5cc35b495ee6" Step #2 - "srcmap": }, Step #2 - "srcmap": "/src/aflplusplus": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/AFLplusplus/AFLplusplus.git", Step #2 - "srcmap": "rev": "533e979010ca338df6fc415d87668f8187752915" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-libfuzzer-address-x86_64" Step #3 - "compile-libfuzzer-address-x86_64": Already have image: gcr.io/oss-fuzz/rust-regex Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": CC=clang Step #3 - "compile-libfuzzer-address-x86_64": CXX=clang++ Step #3 - "compile-libfuzzer-address-x86_64": 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 #3 - "compile-libfuzzer-address-x86_64": 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 #3 - "compile-libfuzzer-address-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": + cd /src/regex Step #3 - "compile-libfuzzer-address-x86_64": + cargo fuzz build -O Step #3 - "compile-libfuzzer-address-x86_64": warning: /src/regex/fuzz/Cargo.toml: the cargo feature `named-profiles` has been stabilized in the 1.57 release and is no longer necessary to be listed in the manifest Step #3 - "compile-libfuzzer-address-x86_64": See https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#custom-profiles for more information about using this feature. Step #3 - "compile-libfuzzer-address-x86_64": Updating crates.io index Step #3 - "compile-libfuzzer-address-x86_64": Downloading crates ... Step #3 - "compile-libfuzzer-address-x86_64": Downloaded aho-corasick v0.7.18 Step #3 - "compile-libfuzzer-address-x86_64": Downloaded once_cell v1.8.0 Step #3 - "compile-libfuzzer-address-x86_64": Downloaded memchr v2.4.1 Step #3 - "compile-libfuzzer-address-x86_64": Downloaded libfuzzer-sys v0.4.2 Step #3 - "compile-libfuzzer-address-x86_64": Downloaded cc v1.0.72 Step #3 - "compile-libfuzzer-address-x86_64": Downloaded arbitrary v1.0.2 Step #3 - "compile-libfuzzer-address-x86_64": error: `inherits` must not be specified in root profile `dev` Step #3 - "compile-libfuzzer-address-x86_64": Error: failed to build fuzz script: "cargo" "build" "--manifest-path" "/src/regex/fuzz/Cargo.toml" "--target" "x86_64-unknown-linux-gnu" "--release" "--bins" Step #3 - "compile-libfuzzer-address-x86_64": ******************************************************************************** Step #3 - "compile-libfuzzer-address-x86_64": Failed to build. Step #3 - "compile-libfuzzer-address-x86_64": To reproduce, run: Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_image rust-regex Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 rust-regex Step #3 - "compile-libfuzzer-address-x86_64": ******************************************************************************** Finished Step #3 - "compile-libfuzzer-address-x86_64" ERROR ERROR: build step 3 "gcr.io/oss-fuzz/rust-regex" failed: step exited with non-zero status: 1