starting build "404fef5a-f869-4260-8957-bcddba8668b2" FETCHSOURCE BUILD Starting Step #0 Step #0: Already have image (with digest): gcr.io/cloud-builders/git Step #0: Step #0: ***** NOTICE ***** Step #0: Step #0: Official `cloud-sdk` images, including multiple tagged versions across multiple Step #0: platforms, can be found at Step #0: https://github.com/GoogleCloudPlatform/cloud-sdk-docker and may be more suitable Step #0: for some use cases when interacting with Cloud Source Repositories. Step #0: Step #0: For additional information, please visit Step #0: https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/git Step #0: Step #0: ***** END OF NOTICE ***** Step #0: 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/5 : FROM gcr.io/oss-fuzz-base/base-builder-python Step #1: latest: Pulling from oss-fuzz-base/base-builder-python Step #1: b549f31133a9: Pulling fs layer Step #1: ee06c35af532: Pulling fs layer Step #1: c36614e90b60: Pulling fs layer Step #1: f7916c9a38bf: Pulling fs layer Step #1: 45aba247b141: Pulling fs layer Step #1: 3373c7ec2037: Pulling fs layer Step #1: 75f33f8f2070: Pulling fs layer Step #1: 7ca928a6e048: Pulling fs layer Step #1: d63773318bc1: Pulling fs layer Step #1: d48cd156a215: Pulling fs layer Step #1: f825c78807d7: Pulling fs layer Step #1: 23baad8ed203: Pulling fs layer Step #1: 44ab4bfa873a: Pulling fs layer Step #1: 9627a9a2b1ad: Pulling fs layer Step #1: 58babef70f1b: Pulling fs layer Step #1: 76cfe82852de: Pulling fs layer Step #1: ae84697013da: Pulling fs layer Step #1: b720c9261036: Pulling fs layer Step #1: 2e43624579d5: Pulling fs layer Step #1: eb77aa496973: Pulling fs layer Step #1: 82414ded40c6: Pulling fs layer Step #1: f7916c9a38bf: Waiting Step #1: c58796fec269: Pulling fs layer Step #1: 413d06e26590: Pulling fs layer Step #1: 7bd5e0879902: Pulling fs layer Step #1: 75f33f8f2070: Waiting Step #1: 1e47901c4623: Pulling fs layer Step #1: 7ca928a6e048: Waiting Step #1: 78311f612a03: Pulling fs layer Step #1: 45aba247b141: Waiting Step #1: d63773318bc1: Waiting Step #1: 09b5d9ecfd69: Pulling fs layer Step #1: d48cd156a215: Waiting Step #1: 79b30ddeffc0: Pulling fs layer Step #1: 3373c7ec2037: Waiting Step #1: 3271cdcf1f7c: Pulling fs layer Step #1: f825c78807d7: Waiting Step #1: 66a39d43e4df: Pulling fs layer Step #1: 58babef70f1b: Waiting Step #1: 3dcfe70efee4: Pulling fs layer Step #1: 23baad8ed203: Waiting Step #1: 76cfe82852de: Waiting Step #1: 44ab4bfa873a: Waiting Step #1: b720c9261036: Waiting Step #1: 1e47901c4623: Waiting Step #1: 9627a9a2b1ad: Waiting Step #1: 78311f612a03: Waiting Step #1: 09b5d9ecfd69: Waiting Step #1: c58796fec269: Waiting Step #1: 413d06e26590: Waiting Step #1: 2e43624579d5: Waiting Step #1: 79b30ddeffc0: Waiting Step #1: 7bd5e0879902: Waiting Step #1: 3271cdcf1f7c: Waiting Step #1: eb77aa496973: Waiting Step #1: 3dcfe70efee4: Waiting Step #1: 82414ded40c6: Waiting Step #1: ae84697013da: Waiting Step #1: 66a39d43e4df: Waiting Step #1: c36614e90b60: Verifying Checksum Step #1: c36614e90b60: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: f7916c9a38bf: Download complete Step #1: 45aba247b141: Verifying Checksum Step #1: 45aba247b141: Download complete Step #1: 3373c7ec2037: Download complete Step #1: 7ca928a6e048: Download complete Step #1: d63773318bc1: Download complete Step #1: ee06c35af532: Verifying Checksum Step #1: ee06c35af532: Download complete Step #1: f825c78807d7: Verifying Checksum Step #1: f825c78807d7: Download complete Step #1: 23baad8ed203: Download complete Step #1: 44ab4bfa873a: Verifying Checksum Step #1: 44ab4bfa873a: Download complete Step #1: 9627a9a2b1ad: Verifying Checksum Step #1: 9627a9a2b1ad: Download complete Step #1: 58babef70f1b: Download complete Step #1: b549f31133a9: Pull complete Step #1: 76cfe82852de: Verifying Checksum Step #1: 76cfe82852de: Download complete Step #1: ae84697013da: Download complete Step #1: b720c9261036: Verifying Checksum Step #1: b720c9261036: Download complete Step #1: 2e43624579d5: Verifying Checksum Step #1: 2e43624579d5: Download complete Step #1: eb77aa496973: Verifying Checksum Step #1: eb77aa496973: Download complete Step #1: d48cd156a215: Verifying Checksum Step #1: d48cd156a215: Download complete Step #1: 82414ded40c6: Download complete Step #1: 413d06e26590: Download complete Step #1: c58796fec269: Download complete Step #1: 7bd5e0879902: Verifying Checksum Step #1: 7bd5e0879902: Download complete Step #1: 1e47901c4623: Verifying Checksum Step #1: 1e47901c4623: Download complete Step #1: 78311f612a03: Verifying Checksum Step #1: 78311f612a03: Download complete Step #1: 09b5d9ecfd69: Verifying Checksum Step #1: 09b5d9ecfd69: Download complete Step #1: 79b30ddeffc0: Verifying Checksum Step #1: 79b30ddeffc0: Download complete Step #1: 3271cdcf1f7c: Verifying Checksum Step #1: 3271cdcf1f7c: Download complete Step #1: 66a39d43e4df: Verifying Checksum Step #1: 66a39d43e4df: Download complete Step #1: 75f33f8f2070: Verifying Checksum Step #1: 75f33f8f2070: Download complete Step #1: 3dcfe70efee4: Verifying Checksum Step #1: 3dcfe70efee4: Download complete Step #1: ee06c35af532: Pull complete Step #1: c36614e90b60: Pull complete Step #1: f7916c9a38bf: Pull complete Step #1: 45aba247b141: Pull complete Step #1: 3373c7ec2037: Pull complete Step #1: 75f33f8f2070: Pull complete Step #1: 7ca928a6e048: Pull complete Step #1: d63773318bc1: Pull complete Step #1: d48cd156a215: Pull complete Step #1: f825c78807d7: Pull complete Step #1: 23baad8ed203: Pull complete Step #1: 44ab4bfa873a: Pull complete Step #1: 9627a9a2b1ad: Pull complete Step #1: 58babef70f1b: Pull complete Step #1: 76cfe82852de: Pull complete Step #1: ae84697013da: Pull complete Step #1: b720c9261036: Pull complete Step #1: 2e43624579d5: Pull complete Step #1: eb77aa496973: Pull complete Step #1: 82414ded40c6: Pull complete Step #1: c58796fec269: Pull complete Step #1: 413d06e26590: Pull complete Step #1: 7bd5e0879902: Pull complete Step #1: 1e47901c4623: Pull complete Step #1: 78311f612a03: Pull complete Step #1: 09b5d9ecfd69: Pull complete Step #1: 79b30ddeffc0: Pull complete Step #1: 3271cdcf1f7c: Pull complete Step #1: 66a39d43e4df: Pull complete Step #1: 3dcfe70efee4: Pull complete Step #1: Digest: sha256:0c86c812ec1e27375e2c252c1befe5acdcc27c65b7249bb2497e704d7b74183e Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> f3b04a5c0343 Step #1: Step 2/5 : RUN pip3 install --upgrade pip tzdata Step #1: ---> Running in f12e5435eae5 Step #1: Collecting pip Step #1: Downloading https://files.pythonhosted.org/packages/47/6a/453160888fab7c6a432a6e25f8afe6256d0d9f2cbd25971021da6491d899/pip-23.3.1-py3-none-any.whl (2.1MB) Step #1: Collecting tzdata Step #1: Downloading https://files.pythonhosted.org/packages/d5/fb/a79efcab32b8a1f1ddca7f35109a50e4a80d42ac1c9187ab46522b2407d7/tzdata-2023.3-py2.py3-none-any.whl (341kB) Step #1: Installing collected packages: pip, tzdata Step #1: Found existing installation: pip 19.2.3 Step #1: Uninstalling pip-19.2.3: Step #1: Successfully uninstalled pip-19.2.3 Step #1: Successfully installed pip-23.3.1 tzdata-2023.3 Step #1: Removing intermediate container f12e5435eae5 Step #1: ---> ad90e2967b14 Step #1: Step 3/5 : RUN git clone https://github.com/sdispater/pendulum pendulum Step #1: ---> Running in 32a52760088c Step #1: Cloning into 'pendulum'... Step #1: Removing intermediate container 32a52760088c Step #1: ---> c8a457f8540b Step #1: Step 4/5 : COPY *.sh *py $SRC/ Step #1: ---> 2c3f980b39a9 Step #1: Step 5/5 : WORKDIR $SRC/pendulum Step #1: ---> Running in 1cc8f873c5e3 Step #1: Removing intermediate container 1cc8f873c5e3 Step #1: ---> 0d7b097c6f26 Step #1: Successfully built 0d7b097c6f26 Step #1: Successfully tagged gcr.io/oss-fuzz/pendulum:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/pendulum Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/filelDUh0L Step #2 - "srcmap": + echo '{}' Step #2 - "srcmap": + PATHS_TO_SCAN=/src Step #2 - "srcmap": + [[ python == \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/pendulum/.git Step #2 - "srcmap": + GIT_DIR=/src/pendulum Step #2 - "srcmap": + cd /src/pendulum Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/sdispater/pendulum Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=75a87a4e3cab45c5f9c38ca6060a54337dcadd09 Step #2 - "srcmap": + jq_inplace /tmp/filelDUh0L '."/src/pendulum" = { type: "git", url: "https://github.com/sdispater/pendulum", rev: "75a87a4e3cab45c5f9c38ca6060a54337dcadd09" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileWn2Nzb Step #2 - "srcmap": + cat /tmp/filelDUh0L Step #2 - "srcmap": + jq '."/src/pendulum" = { type: "git", url: "https://github.com/sdispater/pendulum", rev: "75a87a4e3cab45c5f9c38ca6060a54337dcadd09" }' Step #2 - "srcmap": + mv /tmp/fileWn2Nzb /tmp/filelDUh0L 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/filelDUh0L Step #2 - "srcmap": + rm /tmp/filelDUh0L Step #2 - "srcmap": { Step #2 - "srcmap": "/src/pendulum": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/sdispater/pendulum", Step #2 - "srcmap": "rev": "75a87a4e3cab45c5f9c38ca6060a54337dcadd09" 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": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": CC=clang Step #3 - "compile-libfuzzer-address-x86_64": CXX=clang++ Step #3 - "compile-libfuzzer-address-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -fno-sanitize=function,leak,vptr, Step #3 - "compile-libfuzzer-address-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ -fno-sanitize=function,leak,vptr 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": + pip3 install . Step #3 - "compile-libfuzzer-address-x86_64": Processing /src/pendulum Step #3 - "compile-libfuzzer-address-x86_64": Installing build dependencies ... [?25l- \ | / done Step #3 - "compile-libfuzzer-address-x86_64": [?25h Getting requirements to build wheel ... [?25ldone Step #3 - "compile-libfuzzer-address-x86_64": [?25h Preparing metadata (pyproject.toml) ... [?25l- error Step #3 - "compile-libfuzzer-address-x86_64": error: subprocess-exited-with-error Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": × Preparing metadata (pyproject.toml) did not run successfully. Step #3 - "compile-libfuzzer-address-x86_64": │ exit code: 1 Step #3 - "compile-libfuzzer-address-x86_64": ╰─> [7 lines of output] Step #3 - "compile-libfuzzer-address-x86_64":   /usr/local/bin/cargo: line 55: /rust/bin/cargo: No such file or directory Step #3 - "compile-libfuzzer-address-x86_64":   Step #3 - "compile-libfuzzer-address-x86_64":   Cargo, the Rust package manager, is not installed or is not on PATH. Step #3 - "compile-libfuzzer-address-x86_64":   This package requires Rust and Cargo to compile extensions. Install it through Step #3 - "compile-libfuzzer-address-x86_64":   the system's package manager or via https://rustup.rs/ Step #3 - "compile-libfuzzer-address-x86_64":   Step #3 - "compile-libfuzzer-address-x86_64":   Checking for Rust toolchain.... Step #3 - "compile-libfuzzer-address-x86_64":   [end of output] Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": note: This error originates from a subprocess, and is likely not a problem with pip. Step #3 - "compile-libfuzzer-address-x86_64": error: metadata-generation-failed Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": × Encountered error while generating package metadata. Step #3 - "compile-libfuzzer-address-x86_64": ╰─> See above for output. Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": note: This is an issue with the package mentioned above, not pip. Step #3 - "compile-libfuzzer-address-x86_64": hint: See above for details. Step #3 - "compile-libfuzzer-address-x86_64": [?25h******************************************************************************** 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 pendulum Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 pendulum 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