starting build "fe51f615-a13f-4685-b8d8-de4583da1ebd" 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 Step #1: latest: Pulling from oss-fuzz-base/base-builder Step #1: 61e03ba1d414: Pulling fs layer Step #1: 4afb39f216bd: Pulling fs layer Step #1: e489abdc9f90: Pulling fs layer Step #1: 999fff7bcc24: Pulling fs layer Step #1: 7ad5aaabb4f0: Pulling fs layer Step #1: 936ea618963b: Pulling fs layer Step #1: c86696509def: Pulling fs layer Step #1: 0a94a2cfb8e3: Pulling fs layer Step #1: f601aa8d321d: Pulling fs layer Step #1: b92b70bee63d: Pulling fs layer Step #1: 76f47b212340: Pulling fs layer Step #1: 66f3562b00da: Pulling fs layer Step #1: 927a2dc2c354: Pulling fs layer Step #1: ba63089415ec: Pulling fs layer Step #1: 791274b8be81: Pulling fs layer Step #1: f33af1093e9f: Pulling fs layer Step #1: 95f03d21518b: Pulling fs layer Step #1: 00fc961cca80: Pulling fs layer Step #1: 234244089b40: Pulling fs layer Step #1: 20f8340a0f93: Pulling fs layer Step #1: fc8daab37ceb: Pulling fs layer Step #1: 3153db85ddfa: Pulling fs layer Step #1: fe8bf775f22a: Pulling fs layer Step #1: 204b6d075f16: Pulling fs layer Step #1: 8b6d1b838510: Pulling fs layer Step #1: 1bb4d20a7d4f: Pulling fs layer Step #1: 999fff7bcc24: Waiting Step #1: 81bf466399f8: Pulling fs layer Step #1: 7ad5aaabb4f0: Waiting Step #1: aecd405f3582: Pulling fs layer Step #1: 936ea618963b: Waiting Step #1: c86696509def: Waiting Step #1: 76f47b212340: Waiting Step #1: 234244089b40: Waiting Step #1: b92b70bee63d: Waiting Step #1: 66f3562b00da: Waiting Step #1: 20f8340a0f93: Waiting Step #1: 0a94a2cfb8e3: Waiting Step #1: f601aa8d321d: Waiting Step #1: 927a2dc2c354: Waiting Step #1: ba63089415ec: Waiting Step #1: 1bb4d20a7d4f: Waiting Step #1: 791274b8be81: Waiting Step #1: 81bf466399f8: Waiting Step #1: 95f03d21518b: Waiting Step #1: f33af1093e9f: Waiting Step #1: fc8daab37ceb: Waiting Step #1: fe8bf775f22a: Waiting Step #1: 8b6d1b838510: Waiting Step #1: aecd405f3582: Waiting Step #1: 00fc961cca80: Waiting Step #1: 204b6d075f16: Waiting Step #1: e489abdc9f90: Verifying Checksum Step #1: e489abdc9f90: Download complete Step #1: 4afb39f216bd: Verifying Checksum Step #1: 4afb39f216bd: Download complete Step #1: 999fff7bcc24: Download complete Step #1: 936ea618963b: Verifying Checksum Step #1: 936ea618963b: Download complete Step #1: 61e03ba1d414: Verifying Checksum Step #1: 61e03ba1d414: Download complete Step #1: 0a94a2cfb8e3: Verifying Checksum Step #1: 0a94a2cfb8e3: Download complete Step #1: 7ad5aaabb4f0: Verifying Checksum Step #1: 7ad5aaabb4f0: Download complete Step #1: b92b70bee63d: Download complete Step #1: c86696509def: Verifying Checksum Step #1: c86696509def: Download complete Step #1: 66f3562b00da: Verifying Checksum Step #1: 66f3562b00da: Download complete Step #1: 927a2dc2c354: Verifying Checksum Step #1: 927a2dc2c354: Download complete Step #1: 61e03ba1d414: Pull complete Step #1: f601aa8d321d: Verifying Checksum Step #1: f601aa8d321d: Download complete Step #1: 4afb39f216bd: Pull complete Step #1: e489abdc9f90: Pull complete Step #1: 76f47b212340: Verifying Checksum Step #1: 76f47b212340: Download complete Step #1: 999fff7bcc24: Pull complete Step #1: 791274b8be81: Verifying Checksum Step #1: 791274b8be81: Download complete Step #1: 95f03d21518b: Verifying Checksum Step #1: 95f03d21518b: Download complete Step #1: 00fc961cca80: Verifying Checksum Step #1: 00fc961cca80: Download complete Step #1: 234244089b40: Verifying Checksum Step #1: 234244089b40: Download complete Step #1: ba63089415ec: Verifying Checksum Step #1: ba63089415ec: Download complete Step #1: fc8daab37ceb: Verifying Checksum Step #1: fc8daab37ceb: Download complete Step #1: 7ad5aaabb4f0: Pull complete Step #1: f33af1093e9f: Verifying Checksum Step #1: f33af1093e9f: Download complete Step #1: 936ea618963b: Pull complete Step #1: fe8bf775f22a: Verifying Checksum Step #1: fe8bf775f22a: Download complete Step #1: 3153db85ddfa: Verifying Checksum Step #1: 3153db85ddfa: Download complete Step #1: 20f8340a0f93: Verifying Checksum Step #1: 20f8340a0f93: Download complete Step #1: 204b6d075f16: Verifying Checksum Step #1: 204b6d075f16: Download complete Step #1: 1bb4d20a7d4f: Verifying Checksum Step #1: 1bb4d20a7d4f: Download complete Step #1: 8b6d1b838510: Verifying Checksum Step #1: 8b6d1b838510: Download complete Step #1: 81bf466399f8: Verifying Checksum Step #1: 81bf466399f8: Download complete Step #1: aecd405f3582: Verifying Checksum Step #1: aecd405f3582: Download complete Step #1: c86696509def: Pull complete Step #1: 0a94a2cfb8e3: Pull complete Step #1: f601aa8d321d: Pull complete Step #1: b92b70bee63d: Pull complete Step #1: 76f47b212340: Pull complete Step #1: 66f3562b00da: Pull complete Step #1: 927a2dc2c354: Pull complete Step #1: ba63089415ec: Pull complete Step #1: 791274b8be81: Pull complete Step #1: f33af1093e9f: Pull complete Step #1: 95f03d21518b: Pull complete Step #1: 00fc961cca80: Pull complete Step #1: 234244089b40: Pull complete Step #1: 20f8340a0f93: Pull complete Step #1: fc8daab37ceb: Pull complete Step #1: 3153db85ddfa: Pull complete Step #1: fe8bf775f22a: Pull complete Step #1: 204b6d075f16: Pull complete Step #1: 8b6d1b838510: Pull complete Step #1: 1bb4d20a7d4f: Pull complete Step #1: 81bf466399f8: Pull complete Step #1: aecd405f3582: Pull complete Step #1: Digest: sha256:9897ede75f7da484ed2df2d87a6027cfdca5bd44f8083345f9d58e13e2673788 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder:latest Step #1: ---> cb07f37132f4 Step #1: Step 2/4 : RUN git clone --depth 1 https://github.com/rust-lang/regex regex Step #1: ---> Running in 45e8aacd19b2 Step #1: Cloning into 'regex'... Step #1: Removing intermediate container 45e8aacd19b2 Step #1: ---> ed67e4510222 Step #1: Step 3/4 : WORKDIR $SRC Step #1: ---> Running in 47669808433f Step #1: Removing intermediate container 47669808433f Step #1: ---> f84f71fcac2b Step #1: Step 4/4 : COPY build.sh $SRC/ Step #1: ---> e8ef9c3854e3 Step #1: Successfully built e8ef9c3854e3 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/filezaUBxP 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=fce37e49329157f411e45a3350c42e6927996a40 Step #2: + jq_inplace /tmp/filezaUBxP '."/src/regex" = { type: "git", url: "https://github.com/rust-lang/regex", rev: "fce37e49329157f411e45a3350c42e6927996a40" }' Step #2: ++ tempfile Step #2: + F=/tmp/filei29vkO Step #2: + cat /tmp/filezaUBxP Step #2: + jq '."/src/regex" = { type: "git", url: "https://github.com/rust-lang/regex", rev: "fce37e49329157f411e45a3350c42e6927996a40" }' Step #2: + mv /tmp/filei29vkO /tmp/filezaUBxP 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=4fe572b80f76ff0b0e916b639d1e04d5af48b157 Step #2: + jq_inplace /tmp/filezaUBxP '."/src/aflplusplus" = { type: "git", url: "https://github.com/AFLplusplus/AFLplusplus.git", rev: "4fe572b80f76ff0b0e916b639d1e04d5af48b157" }' Step #2: ++ tempfile Step #2: + F=/tmp/fileGOoEsR Step #2: + cat /tmp/filezaUBxP Step #2: + jq '."/src/aflplusplus" = { type: "git", url: "https://github.com/AFLplusplus/AFLplusplus.git", rev: "4fe572b80f76ff0b0e916b639d1e04d5af48b157" }' Step #2: + mv /tmp/fileGOoEsR /tmp/filezaUBxP Step #2: ++ find /src -name .svn -type d Step #2: ++ find /src -name .hg -type d Step #2: + '[' '' '!=' '' ']' Step #2: + cat /tmp/filezaUBxP Step #2: + rm /tmp/filezaUBxP Step #2: { Step #2: "/src/regex": { Step #2: "type": "git", Step #2: "url": "https://github.com/rust-lang/regex", Step #2: "rev": "fce37e49329157f411e45a3350c42e6927996a40" Step #2: }, Step #2: "/src/aflplusplus": { Step #2: "type": "git", Step #2: "url": "https://github.com/AFLplusplus/AFLplusplus.git", Step #2: "rev": "4fe572b80f76ff0b0e916b639d1e04d5af48b157" 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: 61e03ba1d414: Already exists Step #3: 4afb39f216bd: Already exists Step #3: e489abdc9f90: Already exists Step #3: 999fff7bcc24: Already exists Step #3: b5cec9ac47f6: Pulling fs layer Step #3: 701ff1196284: Pulling fs layer Step #3: c05dc87a1dec: Pulling fs layer Step #3: 0c9bf418915b: Pulling fs layer Step #3: 0bc8704feb65: Pulling fs layer Step #3: 43614ffd420b: Pulling fs layer Step #3: fc8f99ed29ee: Pulling fs layer Step #3: cd70dc9eef7a: Pulling fs layer Step #3: 96e948ed6657: Pulling fs layer Step #3: 3731550d9143: Pulling fs layer Step #3: 1133973c0073: Pulling fs layer Step #3: 50329fd27d6b: Pulling fs layer Step #3: bf0f6196d633: Pulling fs layer Step #3: 0c9bf418915b: Waiting Step #3: 0bc8704feb65: Waiting Step #3: 43614ffd420b: Waiting Step #3: fc8f99ed29ee: Waiting Step #3: cd70dc9eef7a: Waiting Step #3: 96e948ed6657: Waiting Step #3: 3731550d9143: Waiting Step #3: 1133973c0073: Waiting Step #3: 50329fd27d6b: Waiting Step #3: bf0f6196d633: Waiting Step #3: 701ff1196284: Download complete Step #3: 0c9bf418915b: Verifying Checksum Step #3: 0c9bf418915b: Download complete Step #3: b5cec9ac47f6: Download complete Step #3: c05dc87a1dec: Verifying Checksum Step #3: c05dc87a1dec: Download complete Step #3: 43614ffd420b: Verifying Checksum Step #3: 43614ffd420b: Download complete Step #3: fc8f99ed29ee: Verifying Checksum Step #3: fc8f99ed29ee: Download complete Step #3: 96e948ed6657: Verifying Checksum Step #3: 96e948ed6657: Download complete Step #3: 3731550d9143: Download complete Step #3: 1133973c0073: Verifying Checksum Step #3: 1133973c0073: Download complete Step #3: 50329fd27d6b: Verifying Checksum Step #3: 50329fd27d6b: Download complete Step #3: cd70dc9eef7a: Verifying Checksum Step #3: cd70dc9eef7a: Download complete Step #3: b5cec9ac47f6: Pull complete Step #3: 701ff1196284: Pull complete Step #3: 0bc8704feb65: Verifying Checksum Step #3: 0bc8704feb65: Download complete Step #3: c05dc87a1dec: Pull complete Step #3: 0c9bf418915b: Pull complete Step #3: 0bc8704feb65: Pull complete Step #3: 43614ffd420b: Pull complete Step #3: fc8f99ed29ee: Pull complete Step #3: bf0f6196d633: Verifying Checksum Step #3: bf0f6196d633: Download complete Step #3: cd70dc9eef7a: Pull complete Step #3: 96e948ed6657: Pull complete Step #3: 3731550d9143: Pull complete Step #3: 1133973c0073: Pull complete Step #3: 50329fd27d6b: Pull complete Step #3: bf0f6196d633: Pull complete Step #3: Digest: sha256:4225dc1a55270db34e036235e75554b23fd87a13412cf8c2008c8ad13c897cae 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/rust-regex Step #4: --------------------------------------------------------------- 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: RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #4: --------------------------------------------------------------- Step #4: + cd /src/regex Step #4: + cargo fuzz build -O Step #4: error: failed to parse manifest at `/src/regex/fuzz/Cargo.toml` Step #4: Step #4: Caused by: Step #4: profile name `debug` is reserved Step #4: To configure the default development profile, use the name `dev` as in [profile.dev] Step #4: See https://doc.rust-lang.org/cargo/reference/profiles.html for more on configuring profiles. Step #4: Error: failed to build fuzz script: "cargo" "build" "--manifest-path" "/src/regex/fuzz/Cargo.toml" "--target" "x86_64-unknown-linux-gnu" "--release" "--bins" Step #4: ******************************************************************************** Step #4: Failed to build. Step #4: To reproduce, run: Step #4: python infra/helper.py build_image rust-regex Step #4: python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 rust-regex Step #4: ******************************************************************************** Finished Step #4 ERROR ERROR: build step 4 "gcr.io/oss-fuzz/rust-regex" failed: step exited with non-zero status: 1