starting build "3ea98fae-3f3a-431e-895b-33e6aaa9ca69" 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 19.97kB Step #1: Step 1/5 : FROM gcr.io/oss-fuzz-base/base-builder-rust as builder Step #1: latest: Pulling from oss-fuzz-base/base-builder-rust Step #1: b549f31133a9: Pulling fs layer Step #1: 8726513ee210: Pulling fs layer Step #1: 7054a7cd5879: Pulling fs layer Step #1: fa4207b84c31: Pulling fs layer Step #1: c9e16898e54d: Pulling fs layer Step #1: a397e481ff57: Pulling fs layer Step #1: 7f90ecb8e4d6: Pulling fs layer Step #1: ce26b4380d46: Pulling fs layer Step #1: 5dc6edc3cf5f: Pulling fs layer Step #1: 5173cde1bd66: Pulling fs layer Step #1: 1e34e18e386e: Pulling fs layer Step #1: da35800ee821: Pulling fs layer Step #1: 8c2556f55b93: Pulling fs layer Step #1: bf4f02a303d8: Pulling fs layer Step #1: bfc41af53bee: Pulling fs layer Step #1: ee19cad5d6c8: Pulling fs layer Step #1: 43fb6ebaf28e: Pulling fs layer Step #1: e2bf934a1fde: Pulling fs layer Step #1: 67ae2060248d: Pulling fs layer Step #1: eccb1330175b: Pulling fs layer Step #1: 20f0bfcb2bcb: Pulling fs layer Step #1: fa4207b84c31: Waiting Step #1: 0f18c7482fde: Pulling fs layer Step #1: f931609958c7: Pulling fs layer Step #1: 7384719a7753: Pulling fs layer Step #1: b840ccdb7eeb: Pulling fs layer Step #1: cbffa59180b5: Pulling fs layer Step #1: c9e16898e54d: Waiting Step #1: 3291b748342a: Pulling fs layer Step #1: ef31bd35b792: Pulling fs layer Step #1: b1256746ef70: Pulling fs layer Step #1: a397e481ff57: Waiting Step #1: ce1ee8b7110e: Pulling fs layer Step #1: 1bbdcbbd8481: Pulling fs layer Step #1: 7f90ecb8e4d6: Waiting Step #1: 1933c895cdb1: Pulling fs layer Step #1: a223d9dcbc82: Pulling fs layer Step #1: ce26b4380d46: Waiting Step #1: 5dc6edc3cf5f: Waiting Step #1: 1e34e18e386e: Waiting Step #1: 5173cde1bd66: Waiting Step #1: da35800ee821: Waiting Step #1: 7384719a7753: Waiting Step #1: 8c2556f55b93: Waiting Step #1: b840ccdb7eeb: Waiting Step #1: cbffa59180b5: Waiting Step #1: bf4f02a303d8: Waiting Step #1: 3291b748342a: Waiting Step #1: bfc41af53bee: Waiting Step #1: 1933c895cdb1: Waiting Step #1: ee19cad5d6c8: Waiting Step #1: a223d9dcbc82: Waiting Step #1: ef31bd35b792: Waiting Step #1: 43fb6ebaf28e: Waiting Step #1: b1256746ef70: Waiting Step #1: 20f0bfcb2bcb: Waiting Step #1: e2bf934a1fde: Waiting Step #1: ce1ee8b7110e: Waiting Step #1: 1bbdcbbd8481: Waiting Step #1: eccb1330175b: Waiting Step #1: f931609958c7: Waiting Step #1: 67ae2060248d: Waiting Step #1: 0f18c7482fde: Waiting Step #1: 7054a7cd5879: Verifying Checksum Step #1: 7054a7cd5879: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: c9e16898e54d: Verifying Checksum Step #1: c9e16898e54d: Download complete Step #1: a397e481ff57: Verifying Checksum Step #1: a397e481ff57: Download complete Step #1: fa4207b84c31: Verifying Checksum Step #1: fa4207b84c31: Download complete Step #1: ce26b4380d46: Verifying Checksum Step #1: ce26b4380d46: Download complete Step #1: 8726513ee210: Verifying Checksum Step #1: 8726513ee210: Download complete Step #1: 5dc6edc3cf5f: Verifying Checksum Step #1: 5dc6edc3cf5f: Download complete Step #1: 1e34e18e386e: Download complete Step #1: b549f31133a9: Pull complete Step #1: da35800ee821: Download complete Step #1: 8c2556f55b93: Verifying Checksum Step #1: 8c2556f55b93: Download complete Step #1: bf4f02a303d8: Verifying Checksum Step #1: bf4f02a303d8: Download complete Step #1: bfc41af53bee: Download complete Step #1: ee19cad5d6c8: Verifying Checksum Step #1: ee19cad5d6c8: Download complete Step #1: 43fb6ebaf28e: Verifying Checksum Step #1: 43fb6ebaf28e: Download complete Step #1: e2bf934a1fde: Verifying Checksum Step #1: e2bf934a1fde: Download complete Step #1: 67ae2060248d: Verifying Checksum Step #1: 67ae2060248d: Download complete Step #1: eccb1330175b: Verifying Checksum Step #1: eccb1330175b: Download complete Step #1: 20f0bfcb2bcb: Verifying Checksum Step #1: 20f0bfcb2bcb: Download complete Step #1: 5173cde1bd66: Verifying Checksum Step #1: 5173cde1bd66: Download complete Step #1: 0f18c7482fde: Verifying Checksum Step #1: 0f18c7482fde: Download complete Step #1: 7384719a7753: Download complete Step #1: f931609958c7: Download complete Step #1: cbffa59180b5: Verifying Checksum Step #1: cbffa59180b5: Download complete Step #1: b840ccdb7eeb: Download complete Step #1: ef31bd35b792: Verifying Checksum Step #1: 3291b748342a: Verifying Checksum Step #1: 3291b748342a: Download complete Step #1: ef31bd35b792: Download complete Step #1: ce1ee8b7110e: Verifying Checksum Step #1: ce1ee8b7110e: Download complete Step #1: 1bbdcbbd8481: Verifying Checksum Step #1: 1bbdcbbd8481: Download complete Step #1: b1256746ef70: Download complete Step #1: 1933c895cdb1: Download complete Step #1: 7f90ecb8e4d6: Verifying Checksum Step #1: 7f90ecb8e4d6: Download complete Step #1: 8726513ee210: Pull complete Step #1: 7054a7cd5879: Pull complete Step #1: a223d9dcbc82: Verifying Checksum Step #1: a223d9dcbc82: Download complete Step #1: fa4207b84c31: Pull complete Step #1: c9e16898e54d: Pull complete Step #1: a397e481ff57: Pull complete Step #1: 7f90ecb8e4d6: Pull complete Step #1: ce26b4380d46: Pull complete Step #1: 5dc6edc3cf5f: Pull complete Step #1: 5173cde1bd66: Pull complete Step #1: 1e34e18e386e: Pull complete Step #1: da35800ee821: Pull complete Step #1: 8c2556f55b93: Pull complete Step #1: bf4f02a303d8: Pull complete Step #1: bfc41af53bee: Pull complete Step #1: ee19cad5d6c8: Pull complete Step #1: 43fb6ebaf28e: Pull complete Step #1: e2bf934a1fde: Pull complete Step #1: 67ae2060248d: Pull complete Step #1: eccb1330175b: Pull complete Step #1: 20f0bfcb2bcb: Pull complete Step #1: 0f18c7482fde: Pull complete Step #1: f931609958c7: Pull complete Step #1: 7384719a7753: Pull complete Step #1: b840ccdb7eeb: Pull complete Step #1: cbffa59180b5: Pull complete Step #1: 3291b748342a: Pull complete Step #1: ef31bd35b792: Pull complete Step #1: b1256746ef70: Pull complete Step #1: ce1ee8b7110e: Pull complete Step #1: 1bbdcbbd8481: Pull complete Step #1: 1933c895cdb1: Pull complete Step #1: a223d9dcbc82: Pull complete Step #1: Digest: sha256:ca5002454f88a3364e26efded4d7c550737b9990803a1c5055e417d4b731cb61 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-rust:latest Step #1: ---> c7f109b112d4 Step #1: Step 2/5 : RUN apt-get update Step #1: ---> Running in 8bac652f21b4 Step #1: Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease Step #1: Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease Step #1: Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB] Step #1: Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease Step #1: Fetched 128 kB in 1s (218 kB/s) Step #1: Reading package lists... Step #1: Removing intermediate container 8bac652f21b4 Step #1: ---> 85ad8133aebf Step #1: Step 3/5 : RUN git clone --depth 1 https://github.com/nox/serde_urlencoded Step #1: ---> Running in 114c27e30ce3 Step #1: Cloning into 'serde_urlencoded'... Step #1: Removing intermediate container 114c27e30ce3 Step #1: ---> 2d767b0675c6 Step #1: Step 4/5 : COPY build.sh $SRC/ Step #1: ---> f29ff46b4977 Step #1: Step 5/5 : COPY /fuzz $SRC/serde_urlencoded/fuzz Step #1: ---> 84c77364abdc Step #1: Successfully built 84c77364abdc Step #1: Successfully tagged gcr.io/oss-fuzz/serde_urlencoded:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/serde_urlencoded Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/filewmftBP 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/serde_urlencoded/.git Step #2 - "srcmap": + GIT_DIR=/src/serde_urlencoded Step #2 - "srcmap": + cd /src/serde_urlencoded Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/nox/serde_urlencoded Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=0cca840185fa85b39e2cc8a0b2547fff5ace8e68 Step #2 - "srcmap": + jq_inplace /tmp/filewmftBP '."/src/serde_urlencoded" = { type: "git", url: "https://github.com/nox/serde_urlencoded", rev: "0cca840185fa85b39e2cc8a0b2547fff5ace8e68" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileUBwtpd Step #2 - "srcmap": + cat /tmp/filewmftBP Step #2 - "srcmap": + jq '."/src/serde_urlencoded" = { type: "git", url: "https://github.com/nox/serde_urlencoded", rev: "0cca840185fa85b39e2cc8a0b2547fff5ace8e68" }' Step #2 - "srcmap": + mv /tmp/fileUBwtpd /tmp/filewmftBP 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/filewmftBP Step #2 - "srcmap": + rm /tmp/filewmftBP Step #2 - "srcmap": { Step #2 - "srcmap": "/src/serde_urlencoded": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/nox/serde_urlencoded", Step #2 - "srcmap": "rev": "0cca840185fa85b39e2cc8a0b2547fff5ace8e68" 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 (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": vm.mmap_rnd_bits = 28 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 -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -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 -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -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/serde_urlencoded Step #3 - "compile-libfuzzer-address-x86_64": + cargo fuzz build -O 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 cc v1.1.6 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded itoa v1.0.11 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded form_urlencoded v1.2.1 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded derive_arbitrary v1.3.2 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded percent-encoding v2.3.1 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded jobserver v0.1.32 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded arbitrary v1.3.2 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded quote v1.0.36 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded once_cell v1.19.0 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded ryu v1.0.18 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded unicode-ident v1.0.12 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded syn v2.0.72 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded libfuzzer-sys v0.4.7 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded serde_derive v1.0.204 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded libc v0.2.155 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded serde v1.0.204 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded proc-macro2 v1.0.86 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling proc-macro2 v1.0.86 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling unicode-ident v1.0.12 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling libc v0.2.155 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling serde v1.0.204 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling percent-encoding v2.3.1 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling once_cell v1.19.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling itoa v1.0.11 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling ryu v1.0.18 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling form_urlencoded v1.2.1 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling quote v1.0.36 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling jobserver v0.1.32 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling syn v2.0.72 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling cc v1.1.6 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling libfuzzer-sys v0.4.7 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling derive_arbitrary v1.3.2 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling serde_derive v1.0.204 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling arbitrary v1.3.2 Step #3 - "compile-libfuzzer-address-x86_64": error[E0658]: `#[diagnostic]` attribute name space is experimental Step #3 - "compile-libfuzzer-address-x86_64":  --> /rust/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.204/src/de/mod.rs:537:5 Step #3 - "compile-libfuzzer-address-x86_64":  | Step #3 - "compile-libfuzzer-address-x86_64": 537 |  diagnostic::on_unimplemented( Step #3 - "compile-libfuzzer-address-x86_64":  |  ^^^^^^^^^^ Step #3 - "compile-libfuzzer-address-x86_64":  | Step #3 - "compile-libfuzzer-address-x86_64":  = note: see issue #111996 for more information Step #3 - "compile-libfuzzer-address-x86_64":  = help: add `#![feature(diagnostic_namespace)]` to the crate attributes to enable Step #3 - "compile-libfuzzer-address-x86_64":  = note: this compiler was built on 2024-02-11; consider upgrading it if it is out of date Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": error[E0658]: `#[diagnostic]` attribute name space is experimental Step #3 - "compile-libfuzzer-address-x86_64":  --> /rust/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.204/src/ser/mod.rs:220:5 Step #3 - "compile-libfuzzer-address-x86_64":  | Step #3 - "compile-libfuzzer-address-x86_64": 220 |  diagnostic::on_unimplemented( Step #3 - "compile-libfuzzer-address-x86_64":  |  ^^^^^^^^^^ Step #3 - "compile-libfuzzer-address-x86_64":  | Step #3 - "compile-libfuzzer-address-x86_64":  = note: see issue #111996 for more information Step #3 - "compile-libfuzzer-address-x86_64":  = help: add `#![feature(diagnostic_namespace)]` to the crate attributes to enable Step #3 - "compile-libfuzzer-address-x86_64":  = note: this compiler was built on 2024-02-11; consider upgrading it if it is out of date Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": For more information about this error, try `rustc --explain E0658`. Step #3 - "compile-libfuzzer-address-x86_64": The following warnings were emitted during compilation: Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": warning: serde@1.0.204: cargo:rustc-check-cfg requires -Zcheck-cfg flag Step #3 - "compile-libfuzzer-address-x86_64": warning: serde@1.0.204: cargo:rustc-check-cfg requires -Zcheck-cfg flag Step #3 - "compile-libfuzzer-address-x86_64": warning: serde@1.0.204: cargo:rustc-check-cfg requires -Zcheck-cfg flag Step #3 - "compile-libfuzzer-address-x86_64": warning: serde@1.0.204: cargo:rustc-check-cfg requires -Zcheck-cfg flag Step #3 - "compile-libfuzzer-address-x86_64": warning: serde@1.0.204: cargo:rustc-check-cfg requires -Zcheck-cfg flag Step #3 - "compile-libfuzzer-address-x86_64": warning: serde@1.0.204: cargo:rustc-check-cfg requires -Zcheck-cfg flag Step #3 - "compile-libfuzzer-address-x86_64": warning: serde@1.0.204: cargo:rustc-check-cfg requires -Zcheck-cfg flag Step #3 - "compile-libfuzzer-address-x86_64": warning: serde@1.0.204: cargo:rustc-check-cfg requires -Zcheck-cfg flag Step #3 - "compile-libfuzzer-address-x86_64": warning: serde@1.0.204: cargo:rustc-check-cfg requires -Zcheck-cfg flag Step #3 - "compile-libfuzzer-address-x86_64": warning: serde@1.0.204: cargo:rustc-check-cfg requires -Zcheck-cfg flag Step #3 - "compile-libfuzzer-address-x86_64": warning: serde@1.0.204: cargo:rustc-check-cfg requires -Zcheck-cfg flag Step #3 - "compile-libfuzzer-address-x86_64": warning: serde@1.0.204: cargo:rustc-check-cfg requires -Zcheck-cfg flag Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": error: could not compile `serde` (lib) due to 2 previous errors Step #3 - "compile-libfuzzer-address-x86_64": Error: failed to build fuzz script: ASAN_OPTIONS="detect_odr_violation=0" RUSTFLAGS="-Cpasses=sancov-module -Cllvm-args=-sanitizer-coverage-level=4 -Cllvm-args=-sanitizer-coverage-inline-8bit-counters -Cllvm-args=-sanitizer-coverage-pc-table -Cllvm-args=-sanitizer-coverage-trace-compares --cfg fuzzing -Clink-dead-code -Zsanitizer=address -Cllvm-args=-sanitizer-coverage-stack-depth -C codegen-units=1 --cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers" "cargo" "build" "--manifest-path" "/src/serde_urlencoded/fuzz/Cargo.toml" "--target" "x86_64-unknown-linux-gnu" "--release" "--config" "profile.release.debug=true" "--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 serde_urlencoded Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 serde_urlencoded Step #3 - "compile-libfuzzer-address-x86_64": ******************************************************************************** Finished Step #3 - "compile-libfuzzer-address-x86_64" ERROR ERROR: build step 3 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1