starting build "6c98344b-f43f-466c-a292-621701d045ed" 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.632kB Step #1: Step 1/5 : FROM gcr.io/oss-fuzz-base/base-builder-rust Step #1: latest: Pulling from oss-fuzz-base/base-builder-rust Step #1: b549f31133a9: Pulling fs layer Step #1: 51df0d6876cd: Pulling fs layer Step #1: 38da3118a46e: Pulling fs layer Step #1: ec67c84a6d76: Pulling fs layer Step #1: 8bb7dd1116ca: Pulling fs layer Step #1: 1fb4fb3d2b01: Pulling fs layer Step #1: a7d3a0578149: Pulling fs layer Step #1: 23e3013e5b98: Pulling fs layer Step #1: 50e1ee57936a: Pulling fs layer Step #1: b46b6cdbb6f2: Pulling fs layer Step #1: c0d18e8fb1fa: Pulling fs layer Step #1: 29a663a40ba4: Pulling fs layer Step #1: d57e2535d3c0: Pulling fs layer Step #1: e530a9eecf2b: Pulling fs layer Step #1: 4f27abcdaf5d: Pulling fs layer Step #1: 81adce140048: Pulling fs layer Step #1: 1eaaa1542342: Pulling fs layer Step #1: 6becd2001539: Pulling fs layer Step #1: 22d4835417b0: Pulling fs layer Step #1: 601a9cbfd137: Pulling fs layer Step #1: 972df7da24e8: Pulling fs layer Step #1: 535ecd0613d1: Pulling fs layer Step #1: 16949380c6e4: Pulling fs layer Step #1: da4104990ff0: Pulling fs layer Step #1: c19b7fe83e8a: Pulling fs layer Step #1: 3c6277aa8e2b: Pulling fs layer Step #1: bcf869ca811e: Pulling fs layer Step #1: 23e3013e5b98: Waiting Step #1: 4a49dc7a9851: Pulling fs layer Step #1: 50e1ee57936a: Waiting Step #1: de9ad109123c: Pulling fs layer Step #1: d74dccfeea37: Pulling fs layer Step #1: 9650ce23f886: Pulling fs layer Step #1: b46b6cdbb6f2: Waiting Step #1: eaeb815cd75a: Pulling fs layer Step #1: 3ccdc7b565ee: Pulling fs layer Step #1: 11c03f65d6c1: Pulling fs layer Step #1: c0d18e8fb1fa: Waiting Step #1: 49c2287c71a0: Pulling fs layer Step #1: 29a663a40ba4: Waiting Step #1: d57e2535d3c0: Waiting Step #1: 81adce140048: Waiting Step #1: e530a9eecf2b: Waiting Step #1: 1eaaa1542342: Waiting Step #1: 4f27abcdaf5d: Waiting Step #1: 6becd2001539: Waiting Step #1: 8bb7dd1116ca: Waiting Step #1: 4a49dc7a9851: Waiting Step #1: 1fb4fb3d2b01: Waiting Step #1: ec67c84a6d76: Waiting Step #1: a7d3a0578149: Waiting Step #1: d74dccfeea37: Waiting Step #1: 22d4835417b0: Waiting Step #1: 16949380c6e4: Waiting Step #1: da4104990ff0: Waiting Step #1: 9650ce23f886: Waiting Step #1: 601a9cbfd137: Waiting Step #1: c19b7fe83e8a: Waiting Step #1: 3c6277aa8e2b: Waiting Step #1: 972df7da24e8: Waiting Step #1: eaeb815cd75a: Waiting Step #1: 11c03f65d6c1: Waiting Step #1: 49c2287c71a0: Waiting Step #1: 535ecd0613d1: Waiting Step #1: 3ccdc7b565ee: Waiting Step #1: bcf869ca811e: Waiting Step #1: de9ad109123c: Waiting Step #1: 38da3118a46e: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: ec67c84a6d76: Verifying Checksum Step #1: ec67c84a6d76: Download complete Step #1: 8bb7dd1116ca: Verifying Checksum Step #1: 8bb7dd1116ca: Download complete Step #1: 1fb4fb3d2b01: Verifying Checksum Step #1: 1fb4fb3d2b01: Download complete Step #1: 51df0d6876cd: Verifying Checksum Step #1: 51df0d6876cd: Download complete Step #1: 23e3013e5b98: Download complete Step #1: 50e1ee57936a: Verifying Checksum Step #1: 50e1ee57936a: Download complete Step #1: c0d18e8fb1fa: Verifying Checksum Step #1: c0d18e8fb1fa: Download complete Step #1: b549f31133a9: Pull complete Step #1: 29a663a40ba4: Verifying Checksum Step #1: 29a663a40ba4: Download complete Step #1: d57e2535d3c0: Verifying Checksum Step #1: d57e2535d3c0: Download complete Step #1: e530a9eecf2b: Verifying Checksum Step #1: e530a9eecf2b: Download complete Step #1: 4f27abcdaf5d: Verifying Checksum Step #1: 4f27abcdaf5d: Download complete Step #1: 81adce140048: Verifying Checksum Step #1: 81adce140048: Download complete Step #1: 1eaaa1542342: Verifying Checksum Step #1: 1eaaa1542342: Download complete Step #1: 6becd2001539: Verifying Checksum Step #1: 6becd2001539: Download complete Step #1: b46b6cdbb6f2: Verifying Checksum Step #1: b46b6cdbb6f2: Download complete Step #1: 22d4835417b0: Verifying Checksum Step #1: 22d4835417b0: Download complete Step #1: 601a9cbfd137: Verifying Checksum Step #1: 601a9cbfd137: Download complete Step #1: 972df7da24e8: Verifying Checksum Step #1: 972df7da24e8: Download complete Step #1: 535ecd0613d1: Download complete Step #1: a7d3a0578149: Verifying Checksum Step #1: a7d3a0578149: Download complete Step #1: 16949380c6e4: Verifying Checksum Step #1: 16949380c6e4: Download complete Step #1: da4104990ff0: Download complete Step #1: c19b7fe83e8a: Verifying Checksum Step #1: c19b7fe83e8a: Download complete Step #1: 3c6277aa8e2b: Download complete Step #1: bcf869ca811e: Verifying Checksum Step #1: bcf869ca811e: Download complete Step #1: 4a49dc7a9851: Verifying Checksum Step #1: 4a49dc7a9851: Download complete Step #1: de9ad109123c: Verifying Checksum Step #1: de9ad109123c: Download complete Step #1: 9650ce23f886: Download complete Step #1: eaeb815cd75a: Verifying Checksum Step #1: eaeb815cd75a: Download complete Step #1: d74dccfeea37: Verifying Checksum Step #1: d74dccfeea37: Download complete Step #1: 3ccdc7b565ee: Verifying Checksum Step #1: 3ccdc7b565ee: Download complete Step #1: 11c03f65d6c1: Download complete Step #1: 51df0d6876cd: Pull complete Step #1: 38da3118a46e: Pull complete Step #1: ec67c84a6d76: Pull complete Step #1: 8bb7dd1116ca: Pull complete Step #1: 1fb4fb3d2b01: Pull complete Step #1: 49c2287c71a0: Verifying Checksum Step #1: 49c2287c71a0: Download complete Step #1: a7d3a0578149: Pull complete Step #1: 23e3013e5b98: Pull complete Step #1: 50e1ee57936a: Pull complete Step #1: b46b6cdbb6f2: Pull complete Step #1: c0d18e8fb1fa: Pull complete Step #1: 29a663a40ba4: Pull complete Step #1: d57e2535d3c0: Pull complete Step #1: e530a9eecf2b: Pull complete Step #1: 4f27abcdaf5d: Pull complete Step #1: 81adce140048: Pull complete Step #1: 1eaaa1542342: Pull complete Step #1: 6becd2001539: Pull complete Step #1: 22d4835417b0: Pull complete Step #1: 601a9cbfd137: Pull complete Step #1: 972df7da24e8: Pull complete Step #1: 535ecd0613d1: Pull complete Step #1: 16949380c6e4: Pull complete Step #1: da4104990ff0: Pull complete Step #1: c19b7fe83e8a: Pull complete Step #1: 3c6277aa8e2b: Pull complete Step #1: bcf869ca811e: Pull complete Step #1: 4a49dc7a9851: Pull complete Step #1: de9ad109123c: Pull complete Step #1: d74dccfeea37: Pull complete Step #1: 9650ce23f886: Pull complete Step #1: eaeb815cd75a: Pull complete Step #1: 3ccdc7b565ee: Pull complete Step #1: 11c03f65d6c1: Pull complete Step #1: 49c2287c71a0: Pull complete Step #1: Digest: sha256:d197b1cd6ac57584187f882e55d98a10e12dec7a9bd66814f64c98346701dfb1 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-rust:latest Step #1: ---> 3146d6ba31f5 Step #1: Step 2/5 : RUN apt-get update && apt-get install -y nasm Step #1: ---> Running in a4548230bee7 Step #1: Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease Step #1: Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB] Step #1: Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease Step #1: Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease Step #1: Fetched 128 kB in 1s (194 kB/s) Step #1: Reading package lists... Step #1: Reading package lists... Step #1: Building dependency tree... Step #1: Reading state information... Step #1: The following NEW packages will be installed: Step #1: nasm Step #1: 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Step #1: Need to get 362 kB of archives. Step #1: After this operation, 3374 kB of additional disk space will be used. Step #1: Get:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 nasm amd64 2.14.02-1 [362 kB] Step #1: debconf: delaying package configuration, since apt-utils is not installed Step #1: Fetched 362 kB in 0s (1577 kB/s) Step #1: Selecting previously unselected package nasm. Step #1: (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 ... 17393 files and directories currently installed.) Step #1: Preparing to unpack .../nasm_2.14.02-1_amd64.deb ... Step #1: Unpacking nasm (2.14.02-1) ... Step #1: Setting up nasm (2.14.02-1) ... Step #1: Removing intermediate container a4548230bee7 Step #1: ---> 3a284b1eb596 Step #1: Step 3/5 : RUN git clone --depth 1 https://github.com/confidential-containers/td-shim.git Step #1: ---> Running in b0830a8d3ed3 Step #1: Cloning into 'td-shim'... Step #1: Removing intermediate container b0830a8d3ed3 Step #1: ---> ea11b178f7bc Step #1: Step 4/5 : COPY build.sh $SRC/ Step #1: ---> 9108b9a32f67 Step #1: Step 5/5 : WORKDIR $SRC/td-shim Step #1: ---> Running in 9cbb4f8fab71 Step #1: Removing intermediate container 9cbb4f8fab71 Step #1: ---> 2618753c6bec Step #1: Successfully built 2618753c6bec Step #1: Successfully tagged gcr.io/oss-fuzz/td-shim:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/td-shim Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileTUiNxM 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/td-shim/.git Step #2 - "srcmap": + GIT_DIR=/src/td-shim Step #2 - "srcmap": + cd /src/td-shim Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/confidential-containers/td-shim.git Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=093d187c63ba91be81dee1fc8ef12fb169c08b7a Step #2 - "srcmap": + jq_inplace /tmp/fileTUiNxM '."/src/td-shim" = { type: "git", url: "https://github.com/confidential-containers/td-shim.git", rev: "093d187c63ba91be81dee1fc8ef12fb169c08b7a" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileGR6VCa Step #2 - "srcmap": + cat /tmp/fileTUiNxM Step #2 - "srcmap": + jq '."/src/td-shim" = { type: "git", url: "https://github.com/confidential-containers/td-shim.git", rev: "093d187c63ba91be81dee1fc8ef12fb169c08b7a" }' Step #2 - "srcmap": + mv /tmp/fileGR6VCa /tmp/fileTUiNxM 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/fileTUiNxM Step #2 - "srcmap": + rm /tmp/fileTUiNxM Step #2 - "srcmap": { Step #2 - "srcmap": "/src/td-shim": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/confidential-containers/td-shim.git", Step #2 - "srcmap": "rev": "093d187c63ba91be81dee1fc8ef12fb169c08b7a" 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 -Wno-error=vla-cxx-extension -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 -Wno-error=vla-cxx-extension -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": + set -eox pipefail Step #3 - "compile-libfuzzer-address-x86_64": + cd /src/td-shim Step #3 - "compile-libfuzzer-address-x86_64": +++ readlink -f '{}' Step #3 - "compile-libfuzzer-address-x86_64": ++ find . -type d -name fuzz -exec dirname '/src/td-shim/{}' ';' Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_CRATE_DIRS='/src/td-shim/./td-shim-interface Step #3 - "compile-libfuzzer-address-x86_64": /src/td-shim/./td-shim Step #3 - "compile-libfuzzer-address-x86_64": /src/td-shim/./td-loader' Step #3 - "compile-libfuzzer-address-x86_64": + git submodule update --init --recursive Step #3 - "compile-libfuzzer-address-x86_64": Submodule 'library/ring' (https://github.com/briansmith/ring.git) registered for path 'library/ring' Step #3 - "compile-libfuzzer-address-x86_64": Cloning into '/src/td-shim/library/ring'... Step #3 - "compile-libfuzzer-address-x86_64": Submodule path 'library/ring': checked out '464d367252354418a2c17feb806876d4d89a8508' Step #3 - "compile-libfuzzer-address-x86_64": + bash sh_script/preparation.sh Step #3 - "compile-libfuzzer-address-x86_64": /src/td-shim/library/ring /src/td-shim Step #3 - "compile-libfuzzer-address-x86_64": HEAD is now at 464d36725 0.17.6. Step #3 - "compile-libfuzzer-address-x86_64": patching file Cargo.toml Step #3 - "compile-libfuzzer-address-x86_64": patching file build.rs Step #3 - "compile-libfuzzer-address-x86_64": /src/td-shim Step #3 - "compile-libfuzzer-address-x86_64": + for CRATE_DIR in ${FUZZ_CRATE_DIRS[@]} Step #3 - "compile-libfuzzer-address-x86_64": + echo 'Building crate: /src/td-shim/./td-shim-interface' Step #3 - "compile-libfuzzer-address-x86_64": Building crate: /src/td-shim/./td-shim-interface Step #3 - "compile-libfuzzer-address-x86_64": + cd /src/td-shim/./td-shim-interface 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":  Locking 37 packages to latest compatible versions Step #3 - "compile-libfuzzer-address-x86_64":  Adding arbitrary v1.1.3 (latest: v1.4.1) Step #3 - "compile-libfuzzer-address-x86_64":  Adding r-efi v3.2.0 (latest: v5.1.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding scroll v0.10.2 (latest: v0.12.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding scroll_derive v0.10.5 (latest: v0.12.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding serde v1.0.198 (latest: v1.0.215) Step #3 - "compile-libfuzzer-address-x86_64":  Adding serde_derive v1.0.198 (latest: v1.0.215) Step #3 - "compile-libfuzzer-address-x86_64":  Adding syn v1.0.109 (latest: v2.0.87) Step #3 - "compile-libfuzzer-address-x86_64":  Adding windows-sys v0.52.0 (latest: v0.59.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding zerocopy v0.7.35 (latest: v0.8.10) Step #3 - "compile-libfuzzer-address-x86_64":  Adding zerocopy-derive v0.7.35 (latest: v0.8.10) Step #3 - "compile-libfuzzer-address-x86_64":  Downloading crates ... Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded scroll_derive v0.10.5 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded jobserver v0.1.32 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded byteorder v1.5.0 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded shlex v1.3.0 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded quote v1.0.37 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded zerocopy-derive v0.7.35 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded proc-macro2 v1.0.89 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded log v0.4.22 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded serde v1.0.198 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded cc v1.2.1 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded libfuzzer-sys v0.4.8 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded unicode-ident v1.0.13 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded zerocopy v0.7.35 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded scroll v0.10.2 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded r-efi v3.2.0 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded arbitrary v1.1.3 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded syn v2.0.87 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded syn v1.0.109 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded libc v0.2.164 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling proc-macro2 v1.0.89 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling unicode-ident v1.0.13 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling libc v0.2.164 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling syn v1.0.109 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling shlex v1.3.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling byteorder v1.5.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling serde v1.0.198 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling log v0.4.22 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling arbitrary v1.1.3 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling r-efi v3.2.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling quote v1.0.37 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling syn v2.0.87 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling jobserver v0.1.32 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling cc v1.2.1 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling libfuzzer-sys v0.4.8 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling scroll_derive v0.10.5 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling zerocopy-derive v0.7.35 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling scroll v0.10.2 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling zerocopy v0.7.35 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling td-shim-interface v0.1.1 (/src/td-shim/td-shim-interface) Step #3 - "compile-libfuzzer-address-x86_64":  Compiling td-shim-interface-fuzz v0.0.0 (/src/td-shim/td-shim-interface/fuzz) Step #3 - "compile-libfuzzer-address-x86_64":  Finished `release` profile [optimized + debuginfo] target(s) in 8.87s Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_TARGET_OUTPUT_DIR=fuzz/target/x86_64-unknown-linux-gnu/release Step #3 - "compile-libfuzzer-address-x86_64": ++ cargo fuzz list Step #3 - "compile-libfuzzer-address-x86_64": + fuzz_tcs='afl_cfv_parser Step #3 - "compile-libfuzzer-address-x86_64": afl_hob_parser Step #3 - "compile-libfuzzer-address-x86_64": afl_payload_parser Step #3 - "compile-libfuzzer-address-x86_64": cfv_parser Step #3 - "compile-libfuzzer-address-x86_64": hob_parser Step #3 - "compile-libfuzzer-address-x86_64": payload_parser' Step #3 - "compile-libfuzzer-address-x86_64": + for tcs in ${fuzz_tcs[@]} Step #3 - "compile-libfuzzer-address-x86_64": + [[ afl_cfv_parser =~ afl ]] Step #3 - "compile-libfuzzer-address-x86_64": + continue Step #3 - "compile-libfuzzer-address-x86_64": + for tcs in ${fuzz_tcs[@]} Step #3 - "compile-libfuzzer-address-x86_64": + [[ afl_hob_parser =~ afl ]] Step #3 - "compile-libfuzzer-address-x86_64": + continue Step #3 - "compile-libfuzzer-address-x86_64": + for tcs in ${fuzz_tcs[@]} Step #3 - "compile-libfuzzer-address-x86_64": + [[ afl_payload_parser =~ afl ]] Step #3 - "compile-libfuzzer-address-x86_64": + continue Step #3 - "compile-libfuzzer-address-x86_64": + for tcs in ${fuzz_tcs[@]} Step #3 - "compile-libfuzzer-address-x86_64": + [[ cfv_parser =~ afl ]] Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_TARGET_NAME=cfv_parser Step #3 - "compile-libfuzzer-address-x86_64": ++ basename /src/td-shim/./td-shim-interface Step #3 - "compile-libfuzzer-address-x86_64": + CRATE_NAME=td-shim-interface Step #3 - "compile-libfuzzer-address-x86_64": + cp fuzz/target/x86_64-unknown-linux-gnu/release/cfv_parser /workspace/out/libfuzzer-address-x86_64/td-shim-interface-cfv_parser Step #3 - "compile-libfuzzer-address-x86_64": + for tcs in ${fuzz_tcs[@]} Step #3 - "compile-libfuzzer-address-x86_64": + [[ hob_parser =~ afl ]] Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_TARGET_NAME=hob_parser Step #3 - "compile-libfuzzer-address-x86_64": ++ basename /src/td-shim/./td-shim-interface Step #3 - "compile-libfuzzer-address-x86_64": + CRATE_NAME=td-shim-interface Step #3 - "compile-libfuzzer-address-x86_64": + cp fuzz/target/x86_64-unknown-linux-gnu/release/hob_parser /workspace/out/libfuzzer-address-x86_64/td-shim-interface-hob_parser Step #3 - "compile-libfuzzer-address-x86_64": + for tcs in ${fuzz_tcs[@]} Step #3 - "compile-libfuzzer-address-x86_64": + [[ payload_parser =~ afl ]] Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_TARGET_NAME=payload_parser Step #3 - "compile-libfuzzer-address-x86_64": ++ basename /src/td-shim/./td-shim-interface Step #3 - "compile-libfuzzer-address-x86_64": + CRATE_NAME=td-shim-interface Step #3 - "compile-libfuzzer-address-x86_64": + cp fuzz/target/x86_64-unknown-linux-gnu/release/payload_parser /workspace/out/libfuzzer-address-x86_64/td-shim-interface-payload_parser Step #3 - "compile-libfuzzer-address-x86_64": + for CRATE_DIR in ${FUZZ_CRATE_DIRS[@]} Step #3 - "compile-libfuzzer-address-x86_64": + echo 'Building crate: /src/td-shim/./td-shim' Step #3 - "compile-libfuzzer-address-x86_64": Building crate: /src/td-shim/./td-shim Step #3 - "compile-libfuzzer-address-x86_64": + cd /src/td-shim/./td-shim 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":  Locking 84 packages to latest compatible versions Step #3 - "compile-libfuzzer-address-x86_64":  Adding arbitrary v1.1.3 (latest: v1.4.1) Step #3 - "compile-libfuzzer-address-x86_64":  Adding der v0.4.5 (latest: v0.7.9) Step #3 - "compile-libfuzzer-address-x86_64":  Adding der_derive v0.4.1 (latest: v0.7.3) Step #3 - "compile-libfuzzer-address-x86_64":  Adding generic-array v0.14.7 (latest: v1.1.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding linux-raw-sys v0.4.14 (latest: v0.6.5) Step #3 - "compile-libfuzzer-address-x86_64":  Adding r-efi v3.2.0 (latest: v5.1.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding scroll v0.10.2 (latest: v0.12.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding scroll_derive v0.10.5 (latest: v0.12.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding serde v1.0.198 (latest: v1.0.215) Step #3 - "compile-libfuzzer-address-x86_64":  Adding serde_derive v1.0.198 (latest: v1.0.215) Step #3 - "compile-libfuzzer-address-x86_64":  Adding syn v1.0.109 (latest: v2.0.87) Step #3 - "compile-libfuzzer-address-x86_64":  Adding synstructure v0.12.6 (latest: v0.13.1) Step #3 - "compile-libfuzzer-address-x86_64":  Adding volatile v0.4.6 (latest: v0.6.1) Step #3 - "compile-libfuzzer-address-x86_64":  Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.3+wasi-0.2.2) Step #3 - "compile-libfuzzer-address-x86_64":  Adding which v5.0.0 (latest: v7.0.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding windows-sys v0.48.0 (latest: v0.59.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding windows-sys v0.52.0 (latest: v0.59.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding windows-targets v0.48.5 (latest: v0.52.6) Step #3 - "compile-libfuzzer-address-x86_64":  Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6) Step #3 - "compile-libfuzzer-address-x86_64":  Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6) Step #3 - "compile-libfuzzer-address-x86_64":  Adding windows_i686_gnu v0.48.5 (latest: v0.52.6) Step #3 - "compile-libfuzzer-address-x86_64":  Adding windows_i686_msvc v0.48.5 (latest: v0.52.6) Step #3 - "compile-libfuzzer-address-x86_64":  Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6) Step #3 - "compile-libfuzzer-address-x86_64":  Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6) Step #3 - "compile-libfuzzer-address-x86_64":  Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6) Step #3 - "compile-libfuzzer-address-x86_64":  Adding x86_64 v0.14.12 (latest: v0.15.1) Step #3 - "compile-libfuzzer-address-x86_64":  Adding zerocopy v0.7.35 (latest: v0.8.10) Step #3 - "compile-libfuzzer-address-x86_64":  Adding zerocopy-derive v0.7.35 (latest: v0.8.10) Step #3 - "compile-libfuzzer-address-x86_64":  Downloading crates ... Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded bitflags v2.6.0 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded crypto-common v0.1.6 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded bit_field v0.10.2 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded cfg-if v1.0.0 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded autocfg v1.4.0 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded cpufeatures v0.2.15 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded block-buffer v0.10.4 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded anyhow v1.0.93 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded rustversion v1.0.18 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded errno v0.3.9 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded version_check v0.9.5 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded unicode-xid v0.2.6 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded lazy_static v1.5.0 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded home v0.5.9 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded generic-array v0.14.7 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded volatile v0.4.6 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded which v5.0.0 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded typenum v1.17.0 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded der v0.4.5 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded x86_64 v0.14.12 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded synstructure v0.12.6 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded getrandom v0.2.15 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded spin v0.9.8 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded sha2 v0.10.8 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded lock_api v0.4.12 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded untrusted v0.9.0 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded scopeguard v1.2.0 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded either v1.13.0 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded digest v0.10.7 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded der_derive v0.4.1 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded rustix v0.38.41 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded linux-raw-sys v0.4.14 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded ring v0.17.8 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling proc-macro2 v1.0.89 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling unicode-ident v1.0.13 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling syn v1.0.109 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling libc v0.2.164 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling autocfg v1.4.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling shlex v1.3.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling typenum v1.17.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling version_check v0.9.5 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling scopeguard v1.2.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling bitflags v2.6.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling rustversion v1.0.18 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling log v0.4.22 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling byteorder v1.5.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling rustix v0.38.41 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling anyhow v1.0.93 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling volatile v0.4.6 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling r-efi v3.2.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling linux-raw-sys v0.4.14 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling cfg-if v1.0.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling bit_field v0.10.2 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling unicode-xid v0.2.6 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling either v1.13.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling home v0.5.9 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling cpufeatures v0.2.15 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling serde v1.0.198 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling untrusted v0.9.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling arbitrary v1.1.3 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling generic-array v0.14.7 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling lock_api v0.4.12 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling quote v1.0.37 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling spin v0.9.8 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling syn v2.0.87 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling lazy_static v1.5.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling x86_64 v0.14.12 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling jobserver v0.1.32 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling getrandom v0.2.15 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling cc v1.2.1 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling block-buffer v0.10.4 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling crypto-common v0.1.6 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling digest v0.10.7 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling which v5.0.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling sha2 v0.10.8 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling synstructure v0.12.6 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling ring v0.17.8 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling libfuzzer-sys v0.4.8 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling zerocopy-derive v0.7.35 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling scroll_derive v0.10.5 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling der_derive v0.4.1 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling zerocopy v0.7.35 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling scroll v0.10.2 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling der v0.4.5 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling tdx-tdcall v0.2.1 (/src/td-shim/tdx-tdcall) Step #3 - "compile-libfuzzer-address-x86_64":  Compiling td-shim-interface v0.1.1 (/src/td-shim/td-shim-interface) Step #3 - "compile-libfuzzer-address-x86_64":  Compiling cc-measurement v0.1.0 (/src/td-shim/cc-measurement) Step #3 - "compile-libfuzzer-address-x86_64":  Compiling td-layout v0.1.0 (/src/td-shim/td-layout) Step #3 - "compile-libfuzzer-address-x86_64":  Compiling td-shim v0.1.0 (/src/td-shim/td-shim) Step #3 - "compile-libfuzzer-address-x86_64": warning: unexpected `cfg` condition name: `target` Step #3 - "compile-libfuzzer-address-x86_64":  --> /src/td-shim/td-shim/build.rs:44:7 Step #3 - "compile-libfuzzer-address-x86_64":  | Step #3 - "compile-libfuzzer-address-x86_64": 44 | #[cfg(target = "x86_64-unknown-none")] Step #3 - "compile-libfuzzer-address-x86_64":  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Step #3 - "compile-libfuzzer-address-x86_64":  | Step #3 - "compile-libfuzzer-address-x86_64":  = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` Step #3 - "compile-libfuzzer-address-x86_64":  = help: consider using a Cargo feature instead Step #3 - "compile-libfuzzer-address-x86_64":  = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: Step #3 - "compile-libfuzzer-address-x86_64":  [lints.rust] Step #3 - "compile-libfuzzer-address-x86_64":  unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target, values("x86_64-unknown-none"))'] } Step #3 - "compile-libfuzzer-address-x86_64":  = note: see for more information about checking conditional configuration Step #3 - "compile-libfuzzer-address-x86_64":  = note: `#[warn(unexpected_cfgs)]` on by default Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": warning: unexpected `cfg` condition name: `target` Step #3 - "compile-libfuzzer-address-x86_64":  --> /src/td-shim/td-shim/build.rs:155:11 Step #3 - "compile-libfuzzer-address-x86_64":  | Step #3 - "compile-libfuzzer-address-x86_64": 155 |  #[cfg(target = "x86_64-unknown-none")] Step #3 - "compile-libfuzzer-address-x86_64":  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Step #3 - "compile-libfuzzer-address-x86_64":  | Step #3 - "compile-libfuzzer-address-x86_64":  = help: consider using a Cargo feature instead Step #3 - "compile-libfuzzer-address-x86_64":  = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: Step #3 - "compile-libfuzzer-address-x86_64":  [lints.rust] Step #3 - "compile-libfuzzer-address-x86_64":  unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target, values("x86_64-unknown-none"))'] } Step #3 - "compile-libfuzzer-address-x86_64":  = note: see for more information about checking conditional configuration Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": warning: `td-shim` (build script) generated 2 warnings Step #3 - "compile-libfuzzer-address-x86_64": warning: unexpected `cfg` condition value: `fuzz` Step #3 - "compile-libfuzzer-address-x86_64":  --> /src/td-shim/td-shim/src/lib.rs:19:7 Step #3 - "compile-libfuzzer-address-x86_64":  | Step #3 - "compile-libfuzzer-address-x86_64": 19 | #[cfg(feature = "fuzz")] Step #3 - "compile-libfuzzer-address-x86_64":  | ^^^^^^^^^^^^^^^^ Step #3 - "compile-libfuzzer-address-x86_64":  | Step #3 - "compile-libfuzzer-address-x86_64":  = note: expected values for `feature` are: `default`, `der`, `lazy-accept`, `linked_list_allocator`, `log`, `main`, `ring`, `ring-hash`, `secure-boot`, `sha2-hash`, `spin`, `td-exception`, `td-loader`, `td-logger`, `td-paging`, `tdx`, `tdx-tdcall`, `x86`, and `x86_64` Step #3 - "compile-libfuzzer-address-x86_64":  = help: consider adding `fuzz` as a feature in `Cargo.toml` Step #3 - "compile-libfuzzer-address-x86_64":  = note: see for more information about checking conditional configuration Step #3 - "compile-libfuzzer-address-x86_64":  = note: `#[warn(unexpected_cfgs)]` on by default Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": warning: `td-shim` (lib) generated 1 warning Step #3 - "compile-libfuzzer-address-x86_64":  Compiling td-shim-fuzz v0.0.0 (/src/td-shim/td-shim/fuzz) Step #3 - "compile-libfuzzer-address-x86_64":  Finished `release` profile [optimized + debuginfo] target(s) in 11.77s Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_TARGET_OUTPUT_DIR=fuzz/target/x86_64-unknown-linux-gnu/release Step #3 - "compile-libfuzzer-address-x86_64": ++ cargo fuzz list Step #3 - "compile-libfuzzer-address-x86_64": + fuzz_tcs='afl_secure_boot_cfv Step #3 - "compile-libfuzzer-address-x86_64": afl_secure_boot_payload Step #3 - "compile-libfuzzer-address-x86_64": secure_boot_cfv Step #3 - "compile-libfuzzer-address-x86_64": secure_boot_payload' Step #3 - "compile-libfuzzer-address-x86_64": + for tcs in ${fuzz_tcs[@]} Step #3 - "compile-libfuzzer-address-x86_64": + [[ afl_secure_boot_cfv =~ afl ]] Step #3 - "compile-libfuzzer-address-x86_64": + continue Step #3 - "compile-libfuzzer-address-x86_64": + for tcs in ${fuzz_tcs[@]} Step #3 - "compile-libfuzzer-address-x86_64": + [[ afl_secure_boot_payload =~ afl ]] Step #3 - "compile-libfuzzer-address-x86_64": + continue Step #3 - "compile-libfuzzer-address-x86_64": + for tcs in ${fuzz_tcs[@]} Step #3 - "compile-libfuzzer-address-x86_64": + [[ secure_boot_cfv =~ afl ]] Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_TARGET_NAME=secure_boot_cfv Step #3 - "compile-libfuzzer-address-x86_64": ++ basename /src/td-shim/./td-shim Step #3 - "compile-libfuzzer-address-x86_64": + CRATE_NAME=td-shim Step #3 - "compile-libfuzzer-address-x86_64": + cp fuzz/target/x86_64-unknown-linux-gnu/release/secure_boot_cfv /workspace/out/libfuzzer-address-x86_64/td-shim-secure_boot_cfv Step #3 - "compile-libfuzzer-address-x86_64": + for tcs in ${fuzz_tcs[@]} Step #3 - "compile-libfuzzer-address-x86_64": + [[ secure_boot_payload =~ afl ]] Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_TARGET_NAME=secure_boot_payload Step #3 - "compile-libfuzzer-address-x86_64": ++ basename /src/td-shim/./td-shim Step #3 - "compile-libfuzzer-address-x86_64": + CRATE_NAME=td-shim Step #3 - "compile-libfuzzer-address-x86_64": + cp fuzz/target/x86_64-unknown-linux-gnu/release/secure_boot_payload /workspace/out/libfuzzer-address-x86_64/td-shim-secure_boot_payload Step #3 - "compile-libfuzzer-address-x86_64": + for CRATE_DIR in ${FUZZ_CRATE_DIRS[@]} Step #3 - "compile-libfuzzer-address-x86_64": + echo 'Building crate: /src/td-shim/./td-loader' Step #3 - "compile-libfuzzer-address-x86_64": Building crate: /src/td-shim/./td-loader Step #3 - "compile-libfuzzer-address-x86_64": + cd /src/td-shim/./td-loader 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":  Locking 33 packages to latest compatible versions Step #3 - "compile-libfuzzer-address-x86_64":  Adding arbitrary v1.1.3 (latest: v1.4.1) Step #3 - "compile-libfuzzer-address-x86_64":  Adding scroll v0.10.2 (latest: v0.12.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding scroll_derive v0.10.5 (latest: v0.12.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding serde v1.0.198 (latest: v1.0.215) Step #3 - "compile-libfuzzer-address-x86_64":  Adding serde_derive v1.0.198 (latest: v1.0.215) Step #3 - "compile-libfuzzer-address-x86_64":  Adding syn v1.0.109 (latest: v2.0.87) Step #3 - "compile-libfuzzer-address-x86_64":  Adding windows-sys v0.52.0 (latest: v0.59.0) Step #3 - "compile-libfuzzer-address-x86_64":  Compiling proc-macro2 v1.0.89 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling libc v0.2.164 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling unicode-ident v1.0.13 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling syn v1.0.109 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling shlex v1.3.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling serde v1.0.198 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling arbitrary v1.1.3 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling log v0.4.22 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling quote v1.0.37 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling jobserver v0.1.32 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling cc v1.2.1 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling libfuzzer-sys v0.4.8 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling scroll_derive v0.10.5 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling scroll v0.10.2 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling td-loader v0.1.0 (/src/td-shim/td-loader) Step #3 - "compile-libfuzzer-address-x86_64":  Compiling td-loader-fuzz v0.0.0 (/src/td-shim/td-loader/fuzz) Step #3 - "compile-libfuzzer-address-x86_64": warning: for loop over an `Option`. This is more readably written as an `if let` statement Step #3 - "compile-libfuzzer-address-x86_64":  --> fuzz_targets/fuzzlib.rs:36:23 Step #3 - "compile-libfuzzer-address-x86_64":  | Step #3 - "compile-libfuzzer-address-x86_64": 36 |  for relocs in elf.relocations() { Step #3 - "compile-libfuzzer-address-x86_64":  | ^^^^^^^^^^^^^^^^^ Step #3 - "compile-libfuzzer-address-x86_64":  | Step #3 - "compile-libfuzzer-address-x86_64":  = note: `#[warn(for_loops_over_fallibles)]` on by default Step #3 - "compile-libfuzzer-address-x86_64": help: to check pattern in a loop use `while let` Step #3 - "compile-libfuzzer-address-x86_64":  | Step #3 - "compile-libfuzzer-address-x86_64": 36 |  while let Some(relocs) = elf.relocations() { Step #3 - "compile-libfuzzer-address-x86_64":  | ~~~~~~~~~~~~~~~ ~~~ Step #3 - "compile-libfuzzer-address-x86_64": help: consider using `if let` to clear intent Step #3 - "compile-libfuzzer-address-x86_64":  | Step #3 - "compile-libfuzzer-address-x86_64": 36 |  if let Some(relocs) = elf.relocations() { Step #3 - "compile-libfuzzer-address-x86_64":  | ~~~~~~~~~~~~ ~~~ Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": warning: `td-loader-fuzz` (bin "afl_pe") generated 1 warning Step #3 - "compile-libfuzzer-address-x86_64": warning: `td-loader-fuzz` (bin "afl_elf") generated 1 warning (1 duplicate) Step #3 - "compile-libfuzzer-address-x86_64": warning: `td-loader-fuzz` (bin "pe") generated 1 warning (1 duplicate) Step #3 - "compile-libfuzzer-address-x86_64": warning: `td-loader-fuzz` (bin "elf") generated 1 warning (1 duplicate) Step #3 - "compile-libfuzzer-address-x86_64":  Finished `release` profile [optimized + debuginfo] target(s) in 5.15s Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_TARGET_OUTPUT_DIR=fuzz/target/x86_64-unknown-linux-gnu/release Step #3 - "compile-libfuzzer-address-x86_64": ++ cargo fuzz list Step #3 - "compile-libfuzzer-address-x86_64": + fuzz_tcs='afl_elf Step #3 - "compile-libfuzzer-address-x86_64": afl_pe Step #3 - "compile-libfuzzer-address-x86_64": elf Step #3 - "compile-libfuzzer-address-x86_64": pe' Step #3 - "compile-libfuzzer-address-x86_64": + for tcs in ${fuzz_tcs[@]} Step #3 - "compile-libfuzzer-address-x86_64": + [[ afl_elf =~ afl ]] Step #3 - "compile-libfuzzer-address-x86_64": + continue Step #3 - "compile-libfuzzer-address-x86_64": + for tcs in ${fuzz_tcs[@]} Step #3 - "compile-libfuzzer-address-x86_64": + [[ afl_pe =~ afl ]] Step #3 - "compile-libfuzzer-address-x86_64": + continue Step #3 - "compile-libfuzzer-address-x86_64": + for tcs in ${fuzz_tcs[@]} Step #3 - "compile-libfuzzer-address-x86_64": + [[ elf =~ afl ]] Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_TARGET_NAME=elf Step #3 - "compile-libfuzzer-address-x86_64": ++ basename /src/td-shim/./td-loader Step #3 - "compile-libfuzzer-address-x86_64": + CRATE_NAME=td-loader Step #3 - "compile-libfuzzer-address-x86_64": + cp fuzz/target/x86_64-unknown-linux-gnu/release/elf /workspace/out/libfuzzer-address-x86_64/td-loader-elf Step #3 - "compile-libfuzzer-address-x86_64": + for tcs in ${fuzz_tcs[@]} Step #3 - "compile-libfuzzer-address-x86_64": + [[ pe =~ afl ]] Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_TARGET_NAME=pe Step #3 - "compile-libfuzzer-address-x86_64": ++ basename /src/td-shim/./td-loader Step #3 - "compile-libfuzzer-address-x86_64": + CRATE_NAME=td-loader Step #3 - "compile-libfuzzer-address-x86_64": + cp fuzz/target/x86_64-unknown-linux-gnu/release/pe /workspace/out/libfuzzer-address-x86_64/td-loader-pe Finished Step #3 - "compile-libfuzzer-address-x86_64" Starting Step #4 - "build-check-libfuzzer-address-x86_64" Step #4 - "build-check-libfuzzer-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #4 - "build-check-libfuzzer-address-x86_64": Unable to find image 'gcr.io/oss-fuzz-base/base-runner:latest' locally Step #4 - "build-check-libfuzzer-address-x86_64": latest: Pulling from oss-fuzz-base/base-runner Step #4 - "build-check-libfuzzer-address-x86_64": b549f31133a9: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 51df0d6876cd: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 38da3118a46e: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 76485c50adab: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 6e454ec0415e: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": fcc56198b7b3: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 839d42049c75: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 9b7f47b799be: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 885b716fb19d: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 1f82e1e2eaac: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 3582fe5817de: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": a221f9a44ef5: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": e9f45d43ad23: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": db56863ee7be: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 84816e0f3769: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": a6399624745a: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 0715e4009fac: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 4e5763569d03: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 7f4c947f7af3: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 30d1cf1bf2b4: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 839d42049c75: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": e9f45d43ad23: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 9b7f47b799be: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": db56863ee7be: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 885b716fb19d: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 84816e0f3769: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": a6399624745a: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 1f82e1e2eaac: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 3582fe5817de: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": a221f9a44ef5: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 30d1cf1bf2b4: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 7f4c947f7af3: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 0715e4009fac: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 4e5763569d03: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 76485c50adab: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 76485c50adab: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": fcc56198b7b3: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 6e454ec0415e: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 6e454ec0415e: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 76485c50adab: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 9b7f47b799be: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 9b7f47b799be: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 885b716fb19d: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 885b716fb19d: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 1f82e1e2eaac: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 6e454ec0415e: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": a221f9a44ef5: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": fcc56198b7b3: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 3582fe5817de: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 3582fe5817de: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": db56863ee7be: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": db56863ee7be: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 839d42049c75: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 839d42049c75: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 84816e0f3769: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 84816e0f3769: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": a6399624745a: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": a6399624745a: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 4e5763569d03: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 4e5763569d03: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 0715e4009fac: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 0715e4009fac: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 7f4c947f7af3: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 30d1cf1bf2b4: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": e9f45d43ad23: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": e9f45d43ad23: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 839d42049c75: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 9b7f47b799be: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 885b716fb19d: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 1f82e1e2eaac: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 3582fe5817de: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": a221f9a44ef5: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": e9f45d43ad23: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": db56863ee7be: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 84816e0f3769: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": a6399624745a: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 0715e4009fac: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 4e5763569d03: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 7f4c947f7af3: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 30d1cf1bf2b4: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": Digest: sha256:cb894d78b81942499e77d79f91f562ce74c084f3ca1001f2c72a30e5404d1f69 Step #4 - "build-check-libfuzzer-address-x86_64": Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-runner:latest Step #4 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpnq_zy_aq/td-shim-secure_boot_cfv Step #4 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpnq_zy_aq/td-shim-secure_boot_payload Step #4 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpnq_zy_aq/td-shim-interface-cfv_parser Step #4 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpnq_zy_aq/td-shim-interface-hob_parser Step #4 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpnq_zy_aq/td-shim-interface-payload_parser Step #4 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpnq_zy_aq/td-loader-pe Step #4 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpnq_zy_aq/td-loader-elf Finished Step #4 - "build-check-libfuzzer-address-x86_64" Starting Step #5 Step #5: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #5 Starting Step #6 Step #6: Already have image: gcr.io/oss-fuzz/td-shim Step #6: adding: llvm-symbolizer (deflated 66%) Step #6: adding: td-loader-elf (deflated 69%) Step #6: adding: td-loader-pe (deflated 69%) Step #6: adding: td-shim-interface-cfv_parser (deflated 70%) Step #6: adding: td-shim-interface-hob_parser (deflated 70%) Step #6: adding: td-shim-interface-payload_parser (deflated 70%) Step #6: adding: td-shim-secure_boot_cfv (deflated 71%) Step #6: adding: td-shim-secure_boot_payload (deflated 71%) Finished Step #6 Starting Step #7 Step #7: Pulling image: gcr.io/oss-fuzz-base/uploader Step #7: Using default tag: latest Step #7: latest: Pulling from oss-fuzz-base/uploader Step #7: c62795f78da9: Pulling fs layer Step #7: d4fceeeb758e: Pulling fs layer Step #7: 5c9125a401ae: Pulling fs layer Step #7: 0062f774e994: Pulling fs layer Step #7: 6b33fd031fac: Pulling fs layer Step #7: 7eb39101e508: Pulling fs layer Step #7: 89257482f398: Pulling fs layer Step #7: 7eb39101e508: Waiting Step #7: 89257482f398: Waiting Step #7: 0062f774e994: Waiting Step #7: 6b33fd031fac: Waiting Step #7: 5c9125a401ae: Verifying Checksum Step #7: 5c9125a401ae: Download complete Step #7: d4fceeeb758e: Verifying Checksum Step #7: d4fceeeb758e: Download complete Step #7: 0062f774e994: Verifying Checksum Step #7: 6b33fd031fac: Verifying Checksum Step #7: 6b33fd031fac: Download complete Step #7: 89257482f398: Verifying Checksum Step #7: 89257482f398: Download complete Step #7: c62795f78da9: Download complete Step #7: 7eb39101e508: Verifying Checksum Step #7: 7eb39101e508: Download complete Step #7: c62795f78da9: Pull complete Step #7: d4fceeeb758e: Pull complete Step #7: 5c9125a401ae: Pull complete Step #7: 0062f774e994: Pull complete Step #7: 6b33fd031fac: Pull complete Step #7: 7eb39101e508: Pull complete Step #7: 89257482f398: Pull complete Step #7: Digest: sha256:5717ba63d13b5515063e2a6ccad09fb5bf32a86c8e0798a363d81c2be522e411 Step #7: Status: Downloaded newer image for gcr.io/oss-fuzz-base/uploader:latest Step #7: gcr.io/oss-fuzz-base/uploader:latest Step #7: % Total % Received % Xferd Average Speed Time Time Time Current Step #7: Dload Upload Total Spent Left Speed Step #7: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 170 0 0 100 170 0 892 --:--:-- --:--:-- --:--:-- 894 Finished Step #7 Starting Step #8 Step #8: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #8: % Total % Received % Xferd Average Speed Time Time Time Current Step #8: Dload Upload Total Spent Left Speed Step #8: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 27 29.9M 0 0 27 8464k 0 92.7M --:--:-- --:--:-- --:--:-- 91.8M 100 29.9M 0 0 100 29.9M 0 58.3M --:--:-- --:--:-- --:--:-- 58.3M Finished Step #8 Starting Step #9 Step #9: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #9: % Total % Received % Xferd Average Speed Time Time Time Current Step #9: Dload Upload Total Spent Left Speed Step #9: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 170 0 0 100 170 0 576 --:--:-- --:--:-- --:--:-- 576 Finished Step #9 Starting Step #10 Step #10: Already have image (with digest): gcr.io/cloud-builders/curl Step #10: % Total % Received % Xferd Average Speed Time Time Time Current Step #10: Dload Upload Total Spent Left Speed Step #10: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 32 0 0 100 32 0 146 --:--:-- --:--:-- --:--:-- 147 Finished Step #10 Starting Step #11 Step #11: Already have image: gcr.io/oss-fuzz/td-shim Finished Step #11 PUSH DONE