starting build "4e7f0cf7-39ee-41eb-bcfa-9a1f175b2d69" 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: 68f0a05088d4: Pulling fs layer Step #1: fc036af1fb82: Pulling fs layer Step #1: 4dd984a2c4cd: Pulling fs layer Step #1: 02f44cff9251: Pulling fs layer Step #1: 78eedb9c24d1: Pulling fs layer Step #1: c10ce716bc48: Pulling fs layer Step #1: 5a002da03f93: Pulling fs layer Step #1: c26cf580b400: Pulling fs layer Step #1: a34000951f24: Pulling fs layer Step #1: 09d46e9bcc80: Pulling fs layer Step #1: e868cba1bf9d: Pulling fs layer Step #1: bb609e1d8712: Pulling fs layer Step #1: 9cefa2757712: Pulling fs layer Step #1: 504c7b716e54: Pulling fs layer Step #1: 4dd984a2c4cd: Waiting Step #1: d5a6ee2c6055: Pulling fs layer Step #1: 5da197700b3d: Pulling fs layer Step #1: 34ce862331f6: Pulling fs layer Step #1: 9859ff431d87: Pulling fs layer Step #1: 02f44cff9251: Waiting Step #1: 5e4160ae6b8d: Pulling fs layer Step #1: d6b2b8ceba38: Pulling fs layer Step #1: 78eedb9c24d1: Waiting Step #1: a98e84c730db: Pulling fs layer Step #1: 110756886791: Pulling fs layer Step #1: 84ca88975d01: Pulling fs layer Step #1: c10ce716bc48: Waiting Step #1: e1cbe534da93: Pulling fs layer Step #1: d7f2a05063bc: Pulling fs layer Step #1: 5a002da03f93: Waiting Step #1: db2baaddc893: Pulling fs layer Step #1: 37586d83063c: Pulling fs layer Step #1: 9cefa2757712: Waiting Step #1: 618d4cdb2e86: Pulling fs layer Step #1: 504c7b716e54: Waiting Step #1: da476df3c135: Pulling fs layer Step #1: d5a6ee2c6055: Waiting Step #1: 451d64a04274: Pulling fs layer Step #1: 5da197700b3d: Waiting Step #1: 34ce862331f6: Waiting Step #1: 9859ff431d87: Waiting Step #1: 5e4160ae6b8d: Waiting Step #1: d7f2a05063bc: Waiting Step #1: d6b2b8ceba38: Waiting Step #1: db2baaddc893: Waiting Step #1: 09d46e9bcc80: Waiting Step #1: 37586d83063c: Waiting Step #1: c26cf580b400: Waiting Step #1: 84ca88975d01: Waiting Step #1: e1cbe534da93: Waiting Step #1: 618d4cdb2e86: Waiting Step #1: a34000951f24: Waiting Step #1: da476df3c135: Waiting Step #1: bb609e1d8712: Waiting Step #1: 451d64a04274: Waiting Step #1: 110756886791: Waiting Step #1: fc036af1fb82: Verifying Checksum Step #1: fc036af1fb82: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 02f44cff9251: Verifying Checksum Step #1: 02f44cff9251: Download complete Step #1: 4dd984a2c4cd: Verifying Checksum Step #1: 4dd984a2c4cd: Download complete Step #1: 78eedb9c24d1: Download complete Step #1: 5a002da03f93: Verifying Checksum Step #1: 5a002da03f93: Download complete Step #1: c26cf580b400: Verifying Checksum Step #1: c26cf580b400: Download complete Step #1: 68f0a05088d4: Verifying Checksum Step #1: 68f0a05088d4: Download complete Step #1: 09d46e9bcc80: Verifying Checksum Step #1: 09d46e9bcc80: Download complete Step #1: e868cba1bf9d: Verifying Checksum Step #1: e868cba1bf9d: Download complete Step #1: b549f31133a9: Pull complete Step #1: bb609e1d8712: Verifying Checksum Step #1: bb609e1d8712: Download complete Step #1: 9cefa2757712: Verifying Checksum Step #1: 9cefa2757712: Download complete Step #1: 504c7b716e54: Verifying Checksum Step #1: 504c7b716e54: Download complete Step #1: d5a6ee2c6055: Verifying Checksum Step #1: d5a6ee2c6055: Download complete Step #1: 5da197700b3d: Verifying Checksum Step #1: 5da197700b3d: Download complete Step #1: 34ce862331f6: Verifying Checksum Step #1: 34ce862331f6: Download complete Step #1: 9859ff431d87: Verifying Checksum Step #1: 9859ff431d87: Download complete Step #1: 5e4160ae6b8d: Verifying Checksum Step #1: 5e4160ae6b8d: Download complete Step #1: a34000951f24: Verifying Checksum Step #1: a34000951f24: Download complete Step #1: d6b2b8ceba38: Verifying Checksum Step #1: d6b2b8ceba38: Download complete Step #1: a98e84c730db: Verifying Checksum Step #1: a98e84c730db: Download complete Step #1: 110756886791: Verifying Checksum Step #1: 110756886791: Download complete Step #1: 84ca88975d01: Verifying Checksum Step #1: 84ca88975d01: Download complete Step #1: e1cbe534da93: Verifying Checksum Step #1: e1cbe534da93: Download complete Step #1: d7f2a05063bc: Verifying Checksum Step #1: d7f2a05063bc: Download complete Step #1: db2baaddc893: Download complete Step #1: 37586d83063c: Verifying Checksum Step #1: 37586d83063c: Download complete Step #1: da476df3c135: Download complete Step #1: 618d4cdb2e86: Verifying Checksum Step #1: 618d4cdb2e86: Download complete Step #1: 451d64a04274: Verifying Checksum Step #1: 451d64a04274: Download complete Step #1: c10ce716bc48: Verifying Checksum Step #1: c10ce716bc48: Download complete Step #1: 68f0a05088d4: Pull complete Step #1: fc036af1fb82: Pull complete Step #1: 4dd984a2c4cd: Pull complete Step #1: 02f44cff9251: Pull complete Step #1: 78eedb9c24d1: Pull complete Step #1: c10ce716bc48: Pull complete Step #1: 5a002da03f93: Pull complete Step #1: c26cf580b400: Pull complete Step #1: a34000951f24: Pull complete Step #1: 09d46e9bcc80: Pull complete Step #1: e868cba1bf9d: Pull complete Step #1: bb609e1d8712: Pull complete Step #1: 9cefa2757712: Pull complete Step #1: 504c7b716e54: Pull complete Step #1: d5a6ee2c6055: Pull complete Step #1: 5da197700b3d: Pull complete Step #1: 34ce862331f6: Pull complete Step #1: 9859ff431d87: Pull complete Step #1: 5e4160ae6b8d: Pull complete Step #1: d6b2b8ceba38: Pull complete Step #1: a98e84c730db: Pull complete Step #1: 110756886791: Pull complete Step #1: 84ca88975d01: Pull complete Step #1: e1cbe534da93: Pull complete Step #1: d7f2a05063bc: Pull complete Step #1: db2baaddc893: Pull complete Step #1: 37586d83063c: Pull complete Step #1: 618d4cdb2e86: Pull complete Step #1: da476df3c135: Pull complete Step #1: 451d64a04274: Pull complete Step #1: Digest: sha256:599834d5e21c7d452b305d085a7a843a408b3d8f146d508f45d91519dd26befb Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> 525c9474a645 Step #1: Step 2/5 : RUN pip3 install --upgrade pip tzdata Step #1: ---> Running in 9ca81c301fd5 Step #1: Collecting pip Step #1: Downloading https://files.pythonhosted.org/packages/8a/6a/19e9fe04fca059ccf770861c7d5721ab4c2aebc539889e97c7977528a53b/pip-24.0-py3-none-any.whl (2.1MB) Step #1: Collecting tzdata Step #1: Downloading https://files.pythonhosted.org/packages/65/58/f9c9e6be752e9fcb8b6a0ee9fb87e6e7a1f6bcab2cdc73f02bb7ba91ada0/tzdata-2024.1-py2.py3-none-any.whl (345kB) 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-24.0 tzdata-2024.1 Step #1: Removing intermediate container 9ca81c301fd5 Step #1: ---> fa590fe8179a Step #1: Step 3/5 : RUN git clone https://github.com/sdispater/pendulum pendulum Step #1: ---> Running in 529b1d03af5e Step #1: Cloning into 'pendulum'... Step #1: Removing intermediate container 529b1d03af5e Step #1: ---> d8a54261e122 Step #1: Step 4/5 : COPY *.sh *py $SRC/ Step #1: ---> 952782630895 Step #1: Step 5/5 : WORKDIR $SRC/pendulum Step #1: ---> Running in 9376685a7e92 Step #1: Removing intermediate container 9376685a7e92 Step #1: ---> 8f799a51f0e4 Step #1: Successfully built 8f799a51f0e4 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/filevWyzCM 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=3e3fec6a5b66759078c5ae39c736ca95b78adbef Step #2 - "srcmap": + jq_inplace /tmp/filevWyzCM '."/src/pendulum" = { type: "git", url: "https://github.com/sdispater/pendulum", rev: "3e3fec6a5b66759078c5ae39c736ca95b78adbef" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileJ8t8Ta Step #2 - "srcmap": + cat /tmp/filevWyzCM Step #2 - "srcmap": + jq '."/src/pendulum" = { type: "git", url: "https://github.com/sdispater/pendulum", rev: "3e3fec6a5b66759078c5ae39c736ca95b78adbef" }' Step #2 - "srcmap": + mv /tmp/fileJ8t8Ta /tmp/filevWyzCM 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/filevWyzCM Step #2 - "srcmap": + rm /tmp/filevWyzCM 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": "3e3fec6a5b66759078c5ae39c736ca95b78adbef" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-libfuzzer-address-x86_64" Step #3 - "compile-libfuzzer-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": vm.mmap_rnd_bits = 28 Step #3 - "compile-libfuzzer-address-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": CC=clang Step #3 - "compile-libfuzzer-address-x86_64": CXX=clang++ Step #3 - "compile-libfuzzer-address-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -fno-sanitize=function,leak,vptr, Step #3 - "compile-libfuzzer-address-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ -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