starting build "59de28af-59a9-4db0-9b89-75f61f33c9e6" 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/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: 6a031355e5a4: Pulling fs layer Step #1: 0b72f79bb618: Pulling fs layer Step #1: 90335b886515: Pulling fs layer Step #1: 4acfddd8e55d: Pulling fs layer Step #1: e7da934767ce: Pulling fs layer Step #1: ca48cdf3983f: Pulling fs layer Step #1: 7dbcdbf5d55f: Pulling fs layer Step #1: 50e9c68d34ea: Pulling fs layer Step #1: 4e836e3eed39: Pulling fs layer Step #1: 4b5040227f1e: Pulling fs layer Step #1: d3fb02ed4540: Pulling fs layer Step #1: 1f5f6d4a864c: Pulling fs layer Step #1: fac93c045c91: Pulling fs layer Step #1: 8846363f4f98: Pulling fs layer Step #1: 625645c62835: Pulling fs layer Step #1: ef05bcbd095c: Pulling fs layer Step #1: c3f48f44c27e: Pulling fs layer Step #1: 534e4ce04141: Pulling fs layer Step #1: bcc4f22e74eb: Pulling fs layer Step #1: b92dd1a5cf6c: Pulling fs layer Step #1: b4e67ac51e1a: Pulling fs layer Step #1: 1dd8dea6f287: Pulling fs layer Step #1: 9db7b76f6a4a: Pulling fs layer Step #1: 4e2c795fe7b7: Pulling fs layer Step #1: 8a57f4724c32: Pulling fs layer Step #1: 73ce5d51499a: Pulling fs layer Step #1: 66494ca4c4bd: Pulling fs layer Step #1: 86951b715a9f: Pulling fs layer Step #1: 5dda498c2b68: Pulling fs layer Step #1: 72501b17dd43: Pulling fs layer Step #1: 90335b886515: Waiting Step #1: 534e4ce04141: Waiting Step #1: 4acfddd8e55d: Waiting Step #1: 8a57f4724c32: Waiting Step #1: 73ce5d51499a: Waiting Step #1: bcc4f22e74eb: Waiting Step #1: e7da934767ce: Waiting Step #1: 66494ca4c4bd: Waiting Step #1: b92dd1a5cf6c: Waiting Step #1: 86951b715a9f: Waiting Step #1: ca48cdf3983f: Waiting Step #1: b4e67ac51e1a: Waiting Step #1: 1dd8dea6f287: Waiting Step #1: 7dbcdbf5d55f: Waiting Step #1: 50e9c68d34ea: Waiting Step #1: 4e836e3eed39: Waiting Step #1: 4b5040227f1e: Waiting Step #1: d3fb02ed4540: Waiting Step #1: 5dda498c2b68: Waiting Step #1: 72501b17dd43: Waiting Step #1: 9db7b76f6a4a: Waiting Step #1: 4e2c795fe7b7: Waiting Step #1: fac93c045c91: Waiting Step #1: 625645c62835: Waiting Step #1: 8846363f4f98: Waiting Step #1: ef05bcbd095c: Waiting Step #1: 1f5f6d4a864c: Waiting Step #1: c3f48f44c27e: Waiting Step #1: 0b72f79bb618: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 90335b886515: Verifying Checksum Step #1: 90335b886515: Download complete Step #1: e7da934767ce: Download complete Step #1: 4acfddd8e55d: Verifying Checksum Step #1: 4acfddd8e55d: Download complete Step #1: 7dbcdbf5d55f: Verifying Checksum Step #1: 7dbcdbf5d55f: Download complete Step #1: 50e9c68d34ea: Download complete Step #1: 6a031355e5a4: Verifying Checksum Step #1: 6a031355e5a4: Download complete Step #1: 4b5040227f1e: Verifying Checksum Step #1: 4b5040227f1e: Download complete Step #1: d3fb02ed4540: Verifying Checksum Step #1: d3fb02ed4540: Download complete Step #1: 1f5f6d4a864c: Verifying Checksum Step #1: 1f5f6d4a864c: Download complete Step #1: fac93c045c91: Verifying Checksum Step #1: fac93c045c91: Download complete Step #1: 8846363f4f98: Verifying Checksum Step #1: 8846363f4f98: Download complete Step #1: b549f31133a9: Pull complete Step #1: 625645c62835: Verifying Checksum Step #1: 625645c62835: Download complete Step #1: ef05bcbd095c: Download complete Step #1: c3f48f44c27e: Verifying Checksum Step #1: c3f48f44c27e: Download complete Step #1: 534e4ce04141: Verifying Checksum Step #1: 534e4ce04141: Download complete Step #1: 4e836e3eed39: Verifying Checksum Step #1: 4e836e3eed39: Download complete Step #1: bcc4f22e74eb: Verifying Checksum Step #1: bcc4f22e74eb: Download complete Step #1: b92dd1a5cf6c: Verifying Checksum Step #1: b92dd1a5cf6c: Download complete Step #1: 1dd8dea6f287: Download complete Step #1: b4e67ac51e1a: Verifying Checksum Step #1: b4e67ac51e1a: Download complete Step #1: 9db7b76f6a4a: Verifying Checksum Step #1: 9db7b76f6a4a: Download complete Step #1: 4e2c795fe7b7: Verifying Checksum Step #1: 4e2c795fe7b7: Download complete Step #1: 8a57f4724c32: Verifying Checksum Step #1: 8a57f4724c32: Download complete Step #1: 73ce5d51499a: Verifying Checksum Step #1: 73ce5d51499a: Download complete Step #1: 66494ca4c4bd: Download complete Step #1: 86951b715a9f: Download complete Step #1: 5dda498c2b68: Download complete Step #1: 72501b17dd43: Verifying Checksum Step #1: 72501b17dd43: Download complete Step #1: ca48cdf3983f: Download complete Step #1: 6a031355e5a4: Pull complete Step #1: 0b72f79bb618: Pull complete Step #1: 90335b886515: Pull complete Step #1: 4acfddd8e55d: Pull complete Step #1: e7da934767ce: Pull complete Step #1: ca48cdf3983f: Pull complete Step #1: 7dbcdbf5d55f: Pull complete Step #1: 50e9c68d34ea: Pull complete Step #1: 4e836e3eed39: Pull complete Step #1: 4b5040227f1e: Pull complete Step #1: d3fb02ed4540: Pull complete Step #1: 1f5f6d4a864c: Pull complete Step #1: fac93c045c91: Pull complete Step #1: 8846363f4f98: Pull complete Step #1: 625645c62835: Pull complete Step #1: ef05bcbd095c: Pull complete Step #1: c3f48f44c27e: Pull complete Step #1: 534e4ce04141: Pull complete Step #1: bcc4f22e74eb: Pull complete Step #1: b92dd1a5cf6c: Pull complete Step #1: b4e67ac51e1a: Pull complete Step #1: 1dd8dea6f287: Pull complete Step #1: 9db7b76f6a4a: Pull complete Step #1: 4e2c795fe7b7: Pull complete Step #1: 8a57f4724c32: Pull complete Step #1: 73ce5d51499a: Pull complete Step #1: 66494ca4c4bd: Pull complete Step #1: 86951b715a9f: Pull complete Step #1: 5dda498c2b68: Pull complete Step #1: 72501b17dd43: Pull complete Step #1: Digest: sha256:6f10567fc17a5bd937b2a39cd68cbb8113fb1e8cd1ca1a2902cf5a922cd213e1 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> 3ec97add7279 Step #1: Step 2/5 : RUN pip3 install --upgrade pip tzdata Step #1: ---> Running in 7f6245cf9416 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 7f6245cf9416 Step #1: ---> 73193cf28223 Step #1: Step 3/5 : RUN git clone https://github.com/sdispater/pendulum pendulum Step #1: ---> Running in d6a9387480cc Step #1: Cloning into 'pendulum'... Step #1: Removing intermediate container d6a9387480cc Step #1: ---> 9caf6289c471 Step #1: Step 4/5 : COPY *.sh *py $SRC/ Step #1: ---> 84fc94ffde62 Step #1: Step 5/5 : WORKDIR $SRC/pendulum Step #1: ---> Running in efb2908a2927 Step #1: Removing intermediate container efb2908a2927 Step #1: ---> 021f3cc95537 Step #1: Successfully built 021f3cc95537 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/filejsOJJO 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/filejsOJJO '."/src/pendulum" = { type: "git", url: "https://github.com/sdispater/pendulum", rev: "75a87a4e3cab45c5f9c38ca6060a54337dcadd09" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileHIszdc Step #2 - "srcmap": + cat /tmp/filejsOJJO Step #2 - "srcmap": + jq '."/src/pendulum" = { type: "git", url: "https://github.com/sdispater/pendulum", rev: "75a87a4e3cab45c5f9c38ca6060a54337dcadd09" }' Step #2 - "srcmap": + mv /tmp/fileHIszdc /tmp/filejsOJJO 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/filejsOJJO Step #2 - "srcmap": + rm /tmp/filejsOJJO 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