starting build "495c9d97-54c2-4f17-b89a-5322c2dcf3dc" 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 7.168kB Step #1: Step 1/18 : 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: 9f80bca35359: Pulling fs layer Step #1: c2e9ab7e6d55: Pulling fs layer Step #1: a2c1799b005c: Pulling fs layer Step #1: 647124c852bc: Pulling fs layer Step #1: 4c0db9535385: Pulling fs layer Step #1: 7d9d6400b844: Pulling fs layer Step #1: b95ba533437d: Pulling fs layer Step #1: 98ef18780bd4: Pulling fs layer Step #1: 0bcc6c903840: Pulling fs layer Step #1: 294ba0b9a924: Pulling fs layer Step #1: 344841c178fd: Pulling fs layer Step #1: 8a24d9f6813c: Pulling fs layer Step #1: 8cfff2f8b62b: Pulling fs layer Step #1: 7b6fc8fef10c: Pulling fs layer Step #1: b56b52e44dc7: Pulling fs layer Step #1: d4dbf4e8824f: Pulling fs layer Step #1: fa95fc65ee8e: Pulling fs layer Step #1: 1da1ba4445a7: Pulling fs layer Step #1: 14cc587b05ae: Pulling fs layer Step #1: 03fa8c0fad9a: Pulling fs layer Step #1: ccfd740776f9: Pulling fs layer Step #1: 04ec2d031af9: Pulling fs layer Step #1: 0fe86fe6d25a: Pulling fs layer Step #1: 3d5e727cc8f7: Pulling fs layer Step #1: 639389e328da: Pulling fs layer Step #1: da2ba7c8e5f6: Pulling fs layer Step #1: 0c2ec5c7c85c: Pulling fs layer Step #1: 189e9da4e490: Pulling fs layer Step #1: 6ec4707e85be: Pulling fs layer Step #1: 6ff2f6029317: Pulling fs layer Step #1: 8a24d9f6813c: Waiting Step #1: 8cfff2f8b62b: Waiting Step #1: 647124c852bc: Waiting Step #1: b56b52e44dc7: Waiting Step #1: 4c0db9535385: Waiting Step #1: d4dbf4e8824f: Waiting Step #1: 7d9d6400b844: Waiting Step #1: fa95fc65ee8e: Waiting Step #1: a2c1799b005c: Waiting Step #1: 7b6fc8fef10c: Waiting Step #1: 0fe86fe6d25a: Waiting Step #1: b95ba533437d: Waiting Step #1: 1da1ba4445a7: Waiting Step #1: ccfd740776f9: Waiting Step #1: 04ec2d031af9: Waiting Step #1: 98ef18780bd4: Waiting Step #1: 6ff2f6029317: Waiting Step #1: 3d5e727cc8f7: Waiting Step #1: 03fa8c0fad9a: Waiting Step #1: 344841c178fd: Waiting Step #1: 14cc587b05ae: Waiting Step #1: 0bcc6c903840: Waiting Step #1: da2ba7c8e5f6: Waiting Step #1: 6ec4707e85be: Waiting Step #1: c2e9ab7e6d55: Verifying Checksum Step #1: c2e9ab7e6d55: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 647124c852bc: Verifying Checksum Step #1: 647124c852bc: Download complete Step #1: a2c1799b005c: Verifying Checksum Step #1: a2c1799b005c: Download complete Step #1: 4c0db9535385: Verifying Checksum Step #1: 4c0db9535385: Download complete Step #1: b95ba533437d: Verifying Checksum Step #1: b95ba533437d: Download complete Step #1: 98ef18780bd4: Download complete Step #1: 9f80bca35359: Verifying Checksum Step #1: 9f80bca35359: Download complete Step #1: 294ba0b9a924: Verifying Checksum Step #1: 294ba0b9a924: Download complete Step #1: 344841c178fd: Verifying Checksum Step #1: 344841c178fd: Download complete Step #1: 8a24d9f6813c: Verifying Checksum Step #1: 8a24d9f6813c: Download complete Step #1: b549f31133a9: Pull complete Step #1: 8cfff2f8b62b: Verifying Checksum Step #1: 8cfff2f8b62b: Download complete Step #1: 7b6fc8fef10c: Verifying Checksum Step #1: 7b6fc8fef10c: Download complete Step #1: b56b52e44dc7: Verifying Checksum Step #1: b56b52e44dc7: Download complete Step #1: d4dbf4e8824f: Verifying Checksum Step #1: d4dbf4e8824f: Download complete Step #1: fa95fc65ee8e: Verifying Checksum Step #1: fa95fc65ee8e: Download complete Step #1: 1da1ba4445a7: Download complete Step #1: 14cc587b05ae: Verifying Checksum Step #1: 14cc587b05ae: Download complete Step #1: 03fa8c0fad9a: Download complete Step #1: ccfd740776f9: Verifying Checksum Step #1: ccfd740776f9: Download complete Step #1: 04ec2d031af9: Verifying Checksum Step #1: 04ec2d031af9: Download complete Step #1: 0fe86fe6d25a: Download complete Step #1: 3d5e727cc8f7: Verifying Checksum Step #1: 3d5e727cc8f7: Download complete Step #1: 0bcc6c903840: Verifying Checksum Step #1: 0bcc6c903840: Download complete Step #1: 639389e328da: Verifying Checksum Step #1: 639389e328da: Download complete Step #1: 0c2ec5c7c85c: Verifying Checksum Step #1: 0c2ec5c7c85c: Download complete Step #1: da2ba7c8e5f6: Verifying Checksum Step #1: da2ba7c8e5f6: Download complete Step #1: 189e9da4e490: Verifying Checksum Step #1: 189e9da4e490: Download complete Step #1: 6ec4707e85be: Download complete Step #1: 7d9d6400b844: Verifying Checksum Step #1: 7d9d6400b844: Download complete Step #1: 9f80bca35359: Pull complete Step #1: c2e9ab7e6d55: Pull complete Step #1: 6ff2f6029317: Verifying Checksum Step #1: 6ff2f6029317: Download complete Step #1: a2c1799b005c: Pull complete Step #1: 647124c852bc: Pull complete Step #1: 4c0db9535385: Pull complete Step #1: 7d9d6400b844: Pull complete Step #1: b95ba533437d: Pull complete Step #1: 98ef18780bd4: Pull complete Step #1: 0bcc6c903840: Pull complete Step #1: 294ba0b9a924: Pull complete Step #1: 344841c178fd: Pull complete Step #1: 8a24d9f6813c: Pull complete Step #1: 8cfff2f8b62b: Pull complete Step #1: 7b6fc8fef10c: Pull complete Step #1: b56b52e44dc7: Pull complete Step #1: d4dbf4e8824f: Pull complete Step #1: fa95fc65ee8e: Pull complete Step #1: 1da1ba4445a7: Pull complete Step #1: 14cc587b05ae: Pull complete Step #1: 03fa8c0fad9a: Pull complete Step #1: ccfd740776f9: Pull complete Step #1: 04ec2d031af9: Pull complete Step #1: 0fe86fe6d25a: Pull complete Step #1: 3d5e727cc8f7: Pull complete Step #1: 639389e328da: Pull complete Step #1: da2ba7c8e5f6: Pull complete Step #1: 0c2ec5c7c85c: Pull complete Step #1: 189e9da4e490: Pull complete Step #1: 6ec4707e85be: Pull complete Step #1: 6ff2f6029317: Pull complete Step #1: Digest: sha256:b1f723e64a3bfee0cf76c1ce15c0491fb40acf6227cbc7c0c5f2b3e94b151039 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-rust:latest Step #1: ---> 6bb211d9d044 Step #1: Step 2/18 : RUN apt-get --yes update && apt-get install --no-install-recommends --yes libssl-dev pkg-config python && apt-get clean && rm --recursive --force /var/lib/apt/lists/* Step #1: ---> Running in a4f511651016 Step #1: Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease Step #1: Hit:2 http://security.ubuntu.com/ubuntu focal-security InRelease Step #1: Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] Step #1: Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease Step #1: Fetched 114 kB in 1s (197 kB/s) Step #1: Reading package lists... Step #1: Reading package lists... Step #1: Building dependency tree... Step #1: Reading state information... Step #1: libssl-dev is already the newest version (1.1.1f-1ubuntu2.22). Step #1: The following additional packages will be installed: Step #1: libglib2.0-0 libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib Step #1: mime-support python2 python2-minimal python2.7 python2.7-minimal Step #1: Suggested packages: Step #1: python2-doc python-tk python2.7-doc binfmt-support Step #1: Recommended packages: Step #1: libglib2.0-data shared-mime-info xdg-user-dirs file Step #1: The following NEW packages will be installed: Step #1: libglib2.0-0 libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib Step #1: mime-support pkg-config python-is-python2 python2 python2-minimal python2.7 Step #1: python2.7-minimal Step #1: 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. Step #1: Need to get 5180 kB of archives. Step #1: After this operation, 20.9 MB of additional disk space will be used. Step #1: Get:1 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 libpython2.7-minimal amd64 2.7.18-1~20.04.4 [335 kB] Step #1: Get:2 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 python2.7-minimal amd64 2.7.18-1~20.04.4 [1280 kB] Step #1: Get:3 http://archive.ubuntu.com/ubuntu focal/universe amd64 python2-minimal amd64 2.7.17-2ubuntu4 [27.5 kB] Step #1: Get:4 http://archive.ubuntu.com/ubuntu focal/main amd64 mime-support all 3.64ubuntu1 [30.6 kB] Step #1: Get:5 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 libpython2.7-stdlib amd64 2.7.18-1~20.04.4 [1887 kB] Step #1: Get:6 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 python2.7 amd64 2.7.18-1~20.04.4 [248 kB] Step #1: Get:7 http://archive.ubuntu.com/ubuntu focal/universe amd64 libpython2-stdlib amd64 2.7.17-2ubuntu4 [7072 B] Step #1: Get:8 http://archive.ubuntu.com/ubuntu focal/universe amd64 python2 amd64 2.7.17-2ubuntu4 [26.5 kB] Step #1: Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libglib2.0-0 amd64 2.64.6-1~ubuntu20.04.7 [1289 kB] Step #1: Get:10 http://archive.ubuntu.com/ubuntu focal/main amd64 pkg-config amd64 0.29.1-0ubuntu4 [45.5 kB] Step #1: Get:11 http://archive.ubuntu.com/ubuntu focal/universe amd64 python-is-python2 all 2.7.17-4 [2496 B] Step #1: debconf: delaying package configuration, since apt-utils is not installed Step #1: Fetched 5180 kB in 0s (10.7 MB/s) Step #1: Selecting previously unselected package libpython2.7-minimal:amd64. 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 ... 17384 files and directories currently installed.) Step #1: Preparing to unpack .../0-libpython2.7-minimal_2.7.18-1~20.04.4_amd64.deb ... Step #1: Unpacking libpython2.7-minimal:amd64 (2.7.18-1~20.04.4) ... Step #1: Selecting previously unselected package python2.7-minimal. Step #1: Preparing to unpack .../1-python2.7-minimal_2.7.18-1~20.04.4_amd64.deb ... Step #1: Unpacking python2.7-minimal (2.7.18-1~20.04.4) ... Step #1: Selecting previously unselected package python2-minimal. Step #1: Preparing to unpack .../2-python2-minimal_2.7.17-2ubuntu4_amd64.deb ... Step #1: Unpacking python2-minimal (2.7.17-2ubuntu4) ... Step #1: Selecting previously unselected package mime-support. Step #1: Preparing to unpack .../3-mime-support_3.64ubuntu1_all.deb ... Step #1: Unpacking mime-support (3.64ubuntu1) ... Step #1: Selecting previously unselected package libpython2.7-stdlib:amd64. Step #1: Preparing to unpack .../4-libpython2.7-stdlib_2.7.18-1~20.04.4_amd64.deb ... Step #1: Unpacking libpython2.7-stdlib:amd64 (2.7.18-1~20.04.4) ... Step #1: Selecting previously unselected package python2.7. Step #1: Preparing to unpack .../5-python2.7_2.7.18-1~20.04.4_amd64.deb ... Step #1: Unpacking python2.7 (2.7.18-1~20.04.4) ... Step #1: Selecting previously unselected package libpython2-stdlib:amd64. Step #1: Preparing to unpack .../6-libpython2-stdlib_2.7.17-2ubuntu4_amd64.deb ... Step #1: Unpacking libpython2-stdlib:amd64 (2.7.17-2ubuntu4) ... Step #1: Setting up libpython2.7-minimal:amd64 (2.7.18-1~20.04.4) ... Step #1: Setting up python2.7-minimal (2.7.18-1~20.04.4) ... Step #1: Setting up python2-minimal (2.7.17-2ubuntu4) ... Step #1: Selecting previously unselected package python2. 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 ... 18160 files and directories currently installed.) Step #1: Preparing to unpack .../python2_2.7.17-2ubuntu4_amd64.deb ... Step #1: Unpacking python2 (2.7.17-2ubuntu4) ... Step #1: Selecting previously unselected package libglib2.0-0:amd64. Step #1: Preparing to unpack .../libglib2.0-0_2.64.6-1~ubuntu20.04.7_amd64.deb ... Step #1: Unpacking libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.7) ... Step #1: Selecting previously unselected package pkg-config. Step #1: Preparing to unpack .../pkg-config_0.29.1-0ubuntu4_amd64.deb ... Step #1: Unpacking pkg-config (0.29.1-0ubuntu4) ... Step #1: Selecting previously unselected package python-is-python2. Step #1: Preparing to unpack .../python-is-python2_2.7.17-4_all.deb ... Step #1: Unpacking python-is-python2 (2.7.17-4) ... Step #1: Setting up mime-support (3.64ubuntu1) ... Step #1: Setting up libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.7) ... Step #1: No schema files found: doing nothing. Step #1: Setting up libpython2.7-stdlib:amd64 (2.7.18-1~20.04.4) ... Step #1: Setting up pkg-config (0.29.1-0ubuntu4) ... Step #1: Setting up python2.7 (2.7.18-1~20.04.4) ... Step #1: Setting up libpython2-stdlib:amd64 (2.7.17-2ubuntu4) ... Step #1: Setting up python2 (2.7.17-2ubuntu4) ... Step #1: Setting up python-is-python2 (2.7.17-4) ... Step #1: Processing triggers for libc-bin (2.31-0ubuntu9.15) ... Step #1: Removing intermediate container a4f511651016 Step #1: ---> 0eae5f008a38 Step #1: Step 3/18 : ARG rustup_dir=/rust Step #1: ---> Running in 2d94e60f943c Step #1: Removing intermediate container 2d94e60f943c Step #1: ---> 13ebe6d07462 Step #1: Step 4/18 : RUN curl --location https://sh.rustup.rs > /tmp/rustup && sh /tmp/rustup -y --default-toolchain=none && chmod a+rwx ${rustup_dir} && rustup --version Step #1: ---> Running in bd0008034887 Step #1:  % Total % Received % Xferd Average Speed Time Time Time Current Step #1: Dload Upload Total Spent Left Speed Step #1: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 26495 100 26495 0 0 304k 0 --:--:-- --:--:-- --:--:-- 304k Step #1: info: downloading installer Step #1: warning: it looks like you have an existing installation of Rust at: Step #1: warning: /usr/local/bin Step #1: warning: It is recommended that rustup be the primary Rust installation. Step #1: warning: Otherwise you may have confusion unless you are careful with your PATH Step #1: warning: If you are sure that you want both rustup and your already installed Rust Step #1: warning: then please reply `y' or `yes' or set RUSTUP_INIT_SKIP_PATH_CHECK to yes Step #1: warning: or pass `-y' to ignore all ignorable checks. Step #1: error: cannot install while Rust is installed Step #1: warning: continuing (because the -y flag is set and the error is ignorable) Step #1: info: profile set to 'default' Step #1: info: default host triple is x86_64-unknown-linux-gnu Step #1: info: skipping toolchain installation Step #1:  Step #1: Step #1: Rust is installed now. Great! Step #1: Step #1: To get started you may need to restart your current shell. Step #1: This would reload your PATH environment variable to include Step #1: Cargo's bin directory (/rust/bin). Step #1: Step #1: To configure your current shell, you need to source Step #1: the corresponding env file under /rust. Step #1: Step #1: This is usually done by running one of the following (note the leading DOT): Step #1: . "/rust/env" # For sh/bash/zsh/ash/dash/pdksh Step #1: source "/rust/env.fish" # For fish Step #1: rustup 1.27.1 (54dd3d00f 2024-04-24) Step #1: info: This is the version for the rustup toolchain manager, not the rustc compiler. Step #1: info: The currently active `rustc` version is `rustc 1.77.0-nightly (89e2160c4 2023-12-27)` Step #1: Removing intermediate container bd0008034887 Step #1: ---> ef5ba7bf34a5 Step #1: Step 5/18 : ARG rust_version=nightly-2023-02-13 Step #1: ---> Running in c5df7bcdd875 Step #1: Removing intermediate container c5df7bcdd875 Step #1: ---> b6e18d280e8d Step #1: Step 6/18 : RUN rustup toolchain install ${rust_version} && rustup default ${rust_version} Step #1: ---> Running in 744c10bb65f8 Step #1: info: syncing channel updates for 'nightly-2023-02-13-x86_64-unknown-linux-gnu' Step #1: info: latest update on 2023-02-13, rust version 1.69.0-nightly (5b8f28453 2023-02-12) Step #1: info: downloading component 'cargo' Step #1: info: downloading component 'clippy' Step #1: info: downloading component 'rust-docs' Step #1: info: downloading component 'rust-std' Step #1: info: downloading component 'rustc' Step #1: info: downloading component 'rustfmt' Step #1: info: installing component 'cargo' Step #1: info: installing component 'clippy' Step #1: info: installing component 'rust-docs' Step #1: info: installing component 'rust-std' Step #1: info: installing component 'rustc' Step #1: info: installing component 'rustfmt' Step #1:  Step #1: nightly-2023-02-13-x86_64-unknown-linux-gnu installed - rustc 1.69.0-nightly (5b8f28453 2023-02-12) Step #1: Step #1: info: checking for self-update Step #1: info: using existing install for 'nightly-2023-02-13-x86_64-unknown-linux-gnu' Step #1: info: default toolchain set to 'nightly-2023-02-13-x86_64-unknown-linux-gnu' Step #1:  Step #1: nightly-2023-02-13-x86_64-unknown-linux-gnu unchanged - rustc 1.69.0-nightly (5b8f28453 2023-02-12) Step #1: Step #1: Removing intermediate container 744c10bb65f8 Step #1: ---> 7d1c840c9df1 Step #1: Step 7/18 : RUN rustup target add wasm32-unknown-unknown Step #1: ---> Running in 830e4fd03526 Step #1: info: downloading component 'rust-std' for 'wasm32-unknown-unknown' Step #1: info: installing component 'rust-std' for 'wasm32-unknown-unknown' Step #1: Removing intermediate container 830e4fd03526 Step #1: ---> aa914b8018dc Step #1: Step 8/18 : RUN rustup target add x86_64-unknown-linux-musl Step #1: ---> Running in 8d202b4da4fe Step #1: info: downloading component 'rust-std' for 'x86_64-unknown-linux-musl' Step #1: info: installing component 'rust-std' for 'x86_64-unknown-linux-musl' Step #1: Removing intermediate container 8d202b4da4fe Step #1: ---> ad5912b15911 Step #1: Step 9/18 : RUN rustup component add rust-src Step #1: ---> Running in 5db19cc4e069 Step #1: info: downloading component 'rust-src' Step #1: info: installing component 'rust-src' Step #1: Removing intermediate container 5db19cc4e069 Step #1: ---> 0b71419d46fa Step #1: Step 10/18 : ARG protobuf_version=3.13.0 Step #1: ---> Running in 23e210f95966 Step #1: Removing intermediate container 23e210f95966 Step #1: ---> 678fe0caddbd Step #1: Step 11/18 : ARG protobuf_sha256=4a3b26d1ebb9c1d23e933694a6669295f6a39ddc64c3db2adf671f0a6026f82e Step #1: ---> Running in 1142fb8ca787 Step #1: Removing intermediate container 1142fb8ca787 Step #1: ---> 94adfd47040b Step #1: Step 12/18 : ARG protobuf_dir=/usr/local/protobuf Step #1: ---> Running in 377142ebf128 Step #1: Removing intermediate container 377142ebf128 Step #1: ---> 44b58483dfcb Step #1: Step 13/18 : ARG protobuf_temp=/tmp/protobuf.zip Step #1: ---> Running in fe3f167fcc4b Step #1: Removing intermediate container fe3f167fcc4b Step #1: ---> 903ba64c08ca Step #1: Step 14/18 : ENV PATH "${protobuf_dir}/bin:${PATH}" Step #1: ---> Running in eab716fba47e Step #1: Removing intermediate container eab716fba47e Step #1: ---> e9369ee3e45d Step #1: Step 15/18 : RUN curl --location https://github.com/protocolbuffers/protobuf/releases/download/v${protobuf_version}/protoc-${protobuf_version}-linux-x86_64.zip > ${protobuf_temp} && sha256sum --binary ${protobuf_temp} && echo "${protobuf_sha256} *${protobuf_temp}" | sha256sum --check && unzip ${protobuf_temp} -d ${protobuf_dir} && rm ${protobuf_temp} && chmod --recursive a+rwx ${protobuf_dir} && protoc --version Step #1: ---> Running in 59069ca7907d Step #1:  % Total % Received % Xferd Average Speed Time Time Time Current Step #1: Dload Upload Total Spent  Left Speed Step #1: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 Step #1:  100 1591k 100 1591k 0 0 4154k 0 --:--:-- --:--:-- --:--:-- 4154k Step #1: 4a3b26d1ebb9c1d23e933694a6669295f6a39ddc64c3db2adf671f0a6026f82e */tmp/protobuf.zip Step #1: /tmp/protobuf.zip: OK Step #1: Archive: /tmp/protobuf.zip Step #1: creating: /usr/local/protobuf/include/ Step #1: creating: /usr/local/protobuf/include/google/ Step #1: creating: /usr/local/protobuf/include/google/protobuf/ Step #1: inflating: /usr/local/protobuf/include/google/protobuf/wrappers.proto Step #1: inflating: /usr/local/protobuf/include/google/protobuf/field_mask.proto Step #1: inflating: /usr/local/protobuf/include/google/protobuf/api.proto Step #1: inflating: /usr/local/protobuf/include/google/protobuf/struct.proto Step #1: inflating: /usr/local/protobuf/include/google/protobuf/descriptor.proto Step #1: inflating: /usr/local/protobuf/include/google/protobuf/timestamp.proto Step #1: creating: /usr/local/protobuf/include/google/protobuf/compiler/ Step #1: inflating: /usr/local/protobuf/include/google/protobuf/compiler/plugin.proto Step #1: inflating: /usr/local/protobuf/include/google/protobuf/empty.proto Step #1: inflating: /usr/local/protobuf/include/google/protobuf/any.proto Step #1: inflating: /usr/local/protobuf/include/google/protobuf/source_context.proto Step #1: inflating: /usr/local/protobuf/include/google/protobuf/type.proto Step #1: inflating: /usr/local/protobuf/include/google/protobuf/duration.proto Step #1: creating: /usr/local/protobuf/bin/ Step #1: inflating: /usr/local/protobuf/bin/protoc Step #1: inflating: /usr/local/protobuf/readme.txt Step #1: libprotoc 3.13.0 Step #1: Removing intermediate container 59069ca7907d Step #1: ---> 7af1f0206a93 Step #1: Step 16/18 : RUN git clone --depth 1 https://github.com/project-oak/oak oak Step #1: ---> Running in b0eb2ccb706a Step #1: Cloning into 'oak'... Step #1: Removing intermediate container b0eb2ccb706a Step #1: ---> f0882d539310 Step #1: Step 17/18 : WORKDIR oak Step #1: ---> Running in 2a11dcce140e Step #1: Removing intermediate container 2a11dcce140e Step #1: ---> de6f4f5b5122 Step #1: Step 18/18 : COPY build.sh $SRC/ Step #1: ---> f7eb85bb3337 Step #1: Successfully built f7eb85bb3337 Step #1: Successfully tagged gcr.io/oss-fuzz/oak:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/oak Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileIFBd0L 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/oak/.git Step #2 - "srcmap": + GIT_DIR=/src/oak Step #2 - "srcmap": + cd /src/oak Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/project-oak/oak Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=55abd32f2c3956287e91950f9d11fcc361cabc31 Step #2 - "srcmap": + jq_inplace /tmp/fileIFBd0L '."/src/oak" = { type: "git", url: "https://github.com/project-oak/oak", rev: "55abd32f2c3956287e91950f9d11fcc361cabc31" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filey2VLN9 Step #2 - "srcmap": + cat /tmp/fileIFBd0L Step #2 - "srcmap": + jq '."/src/oak" = { type: "git", url: "https://github.com/project-oak/oak", rev: "55abd32f2c3956287e91950f9d11fcc361cabc31" }' Step #2 - "srcmap": + mv /tmp/filey2VLN9 /tmp/fileIFBd0L 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/fileIFBd0L Step #2 - "srcmap": + rm /tmp/fileIFBd0L Step #2 - "srcmap": { Step #2 - "srcmap": "/src/oak": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/project-oak/oak", Step #2 - "srcmap": "rev": "55abd32f2c3956287e91950f9d11fcc361cabc31" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-libfuzzer-coverage-x86_64" Step #3 - "compile-libfuzzer-coverage-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-libfuzzer-coverage-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-coverage-x86_64": vm.mmap_rnd_bits = 28 Step #3 - "compile-libfuzzer-coverage-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #3 - "compile-libfuzzer-coverage-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-coverage-x86_64": CC=clang Step #3 - "compile-libfuzzer-coverage-x86_64": CXX=clang++ Step #3 - "compile-libfuzzer-coverage-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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument Step #3 - "compile-libfuzzer-coverage-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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -stdlib=libc++ Step #3 - "compile-libfuzzer-coverage-x86_64": RUSTFLAGS=--cfg fuzzing -Cdebuginfo=1 -Cforce-frame-pointers -Cinstrument-coverage -C link-arg=-lc++ Step #3 - "compile-libfuzzer-coverage-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-coverage-x86_64": + '[' coverage = coverage ']' Step #3 - "compile-libfuzzer-coverage-x86_64": + export 'RUSTFLAGS=--cfg fuzzing -Cdebuginfo=1 -Cforce-frame-pointers -Cinstrument-coverage -C link-arg=-lc++ -C debug-assertions=no' Step #3 - "compile-libfuzzer-coverage-x86_64": + RUSTFLAGS='--cfg fuzzing -Cdebuginfo=1 -Cforce-frame-pointers -Cinstrument-coverage -C link-arg=-lc++ -C debug-assertions=no' Step #3 - "compile-libfuzzer-coverage-x86_64": + export CFLAGS= Step #3 - "compile-libfuzzer-coverage-x86_64": + CFLAGS= Step #3 - "compile-libfuzzer-coverage-x86_64": + cargo-fuzz build --release --target-dir=fuzz/target Step #3 - "compile-libfuzzer-coverage-x86_64": error: failed to parse manifest at `/src/oak/Cargo.toml` Step #3 - "compile-libfuzzer-coverage-x86_64": Step #3 - "compile-libfuzzer-coverage-x86_64": Caused by: Step #3 - "compile-libfuzzer-coverage-x86_64": unknown cargo feature `trim-paths` Step #3 - "compile-libfuzzer-coverage-x86_64": error: failed to load manifest for workspace member `/src/oak/fuzz/.` Step #3 - "compile-libfuzzer-coverage-x86_64": Step #3 - "compile-libfuzzer-coverage-x86_64": Caused by: Step #3 - "compile-libfuzzer-coverage-x86_64": failed to load manifest for dependency `oak_functions_abi` Step #3 - "compile-libfuzzer-coverage-x86_64": Step #3 - "compile-libfuzzer-coverage-x86_64": Caused by: Step #3 - "compile-libfuzzer-coverage-x86_64": failed to parse manifest at `/src/oak/Cargo.toml` Step #3 - "compile-libfuzzer-coverage-x86_64": Step #3 - "compile-libfuzzer-coverage-x86_64": Caused by: Step #3 - "compile-libfuzzer-coverage-x86_64": unknown cargo feature `trim-paths` Step #3 - "compile-libfuzzer-coverage-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 -Cdebuginfo=1 -Cforce-frame-pointers -Cinstrument-coverage -C link-arg=-lc++ -C debug-assertions=no" "cargo" "build" "--manifest-path" "/src/oak/fuzz/Cargo.toml" "--target" "x86_64-unknown-linux-gnu" "--release" "--config" "profile.release.debug=true" "--bins" "--target-dir" "fuzz/target" Step #3 - "compile-libfuzzer-coverage-x86_64": ******************************************************************************** Step #3 - "compile-libfuzzer-coverage-x86_64": Failed to build. Step #3 - "compile-libfuzzer-coverage-x86_64": To reproduce, run: Step #3 - "compile-libfuzzer-coverage-x86_64": python infra/helper.py build_image oak Step #3 - "compile-libfuzzer-coverage-x86_64": python infra/helper.py build_fuzzers --sanitizer coverage --engine libfuzzer --architecture x86_64 oak Step #3 - "compile-libfuzzer-coverage-x86_64": ******************************************************************************** Finished Step #3 - "compile-libfuzzer-coverage-x86_64" ERROR ERROR: build step 3 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1