starting build "63624de8-37f8-400b-a296-bde1b1aa4cc9" 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: 8726513ee210: Pulling fs layer Step #1: 7054a7cd5879: Pulling fs layer Step #1: fa4207b84c31: Pulling fs layer Step #1: c9e16898e54d: Pulling fs layer Step #1: a397e481ff57: Pulling fs layer Step #1: 7f90ecb8e4d6: Pulling fs layer Step #1: ce26b4380d46: Pulling fs layer Step #1: 5dc6edc3cf5f: Pulling fs layer Step #1: 5173cde1bd66: Pulling fs layer Step #1: 1e34e18e386e: Pulling fs layer Step #1: da35800ee821: Pulling fs layer Step #1: 8c2556f55b93: Pulling fs layer Step #1: bf4f02a303d8: Pulling fs layer Step #1: bfc41af53bee: Pulling fs layer Step #1: ee19cad5d6c8: Pulling fs layer Step #1: 43fb6ebaf28e: Pulling fs layer Step #1: e2bf934a1fde: Pulling fs layer Step #1: 67ae2060248d: Pulling fs layer Step #1: eccb1330175b: Pulling fs layer Step #1: 20f0bfcb2bcb: Pulling fs layer Step #1: 0f18c7482fde: Pulling fs layer Step #1: f931609958c7: Pulling fs layer Step #1: 7384719a7753: Pulling fs layer Step #1: b840ccdb7eeb: Pulling fs layer Step #1: cbffa59180b5: Pulling fs layer Step #1: ce26b4380d46: Waiting Step #1: 1e34e18e386e: Waiting Step #1: 3291b748342a: Pulling fs layer Step #1: da35800ee821: Waiting Step #1: 5dc6edc3cf5f: Waiting Step #1: 8c2556f55b93: Waiting Step #1: ef31bd35b792: Pulling fs layer Step #1: b1256746ef70: Pulling fs layer Step #1: 5173cde1bd66: Waiting Step #1: ce1ee8b7110e: Pulling fs layer Step #1: bf4f02a303d8: Waiting Step #1: 1bbdcbbd8481: Pulling fs layer Step #1: 1933c895cdb1: Pulling fs layer Step #1: bfc41af53bee: Waiting Step #1: 90835bbe9867: Pulling fs layer Step #1: ee19cad5d6c8: Waiting Step #1: 0f18c7482fde: Waiting Step #1: 43fb6ebaf28e: Waiting Step #1: cbffa59180b5: Waiting Step #1: eccb1330175b: Waiting Step #1: e2bf934a1fde: Waiting Step #1: 3291b748342a: Waiting Step #1: 20f0bfcb2bcb: Waiting Step #1: ef31bd35b792: Waiting Step #1: 67ae2060248d: Waiting Step #1: f931609958c7: Waiting Step #1: b1256746ef70: Waiting Step #1: 7384719a7753: Waiting Step #1: fa4207b84c31: Waiting Step #1: b840ccdb7eeb: Waiting Step #1: a397e481ff57: Waiting Step #1: ce1ee8b7110e: Waiting Step #1: 7f90ecb8e4d6: Waiting Step #1: 90835bbe9867: Waiting Step #1: 1933c895cdb1: Waiting Step #1: 1bbdcbbd8481: Waiting Step #1: 7054a7cd5879: Verifying Checksum Step #1: 7054a7cd5879: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: fa4207b84c31: Verifying Checksum Step #1: fa4207b84c31: Download complete Step #1: c9e16898e54d: Verifying Checksum Step #1: c9e16898e54d: Download complete Step #1: a397e481ff57: Verifying Checksum Step #1: a397e481ff57: Download complete Step #1: ce26b4380d46: Verifying Checksum Step #1: ce26b4380d46: Download complete Step #1: 5dc6edc3cf5f: Verifying Checksum Step #1: 5dc6edc3cf5f: Download complete Step #1: 8726513ee210: Verifying Checksum Step #1: 8726513ee210: Download complete Step #1: b549f31133a9: Pull complete Step #1: 5173cde1bd66: Verifying Checksum Step #1: 5173cde1bd66: Download complete Step #1: da35800ee821: Verifying Checksum Step #1: da35800ee821: Download complete Step #1: 8c2556f55b93: Verifying Checksum Step #1: 8c2556f55b93: Download complete Step #1: bf4f02a303d8: Verifying Checksum Step #1: bf4f02a303d8: Download complete Step #1: bfc41af53bee: Verifying Checksum Step #1: bfc41af53bee: Download complete Step #1: ee19cad5d6c8: Verifying Checksum Step #1: ee19cad5d6c8: Download complete Step #1: 43fb6ebaf28e: Verifying Checksum Step #1: 43fb6ebaf28e: Download complete Step #1: 7f90ecb8e4d6: Verifying Checksum Step #1: 7f90ecb8e4d6: Download complete Step #1: eccb1330175b: Verifying Checksum Step #1: eccb1330175b: Download complete Step #1: 67ae2060248d: Verifying Checksum Step #1: 67ae2060248d: Download complete Step #1: 20f0bfcb2bcb: Verifying Checksum Step #1: 20f0bfcb2bcb: Download complete Step #1: 0f18c7482fde: Verifying Checksum Step #1: 0f18c7482fde: Download complete Step #1: f931609958c7: Verifying Checksum Step #1: f931609958c7: Download complete Step #1: 7384719a7753: Verifying Checksum Step #1: 7384719a7753: Download complete Step #1: cbffa59180b5: Verifying Checksum Step #1: cbffa59180b5: Download complete Step #1: b840ccdb7eeb: Verifying Checksum Step #1: b840ccdb7eeb: Download complete Step #1: 3291b748342a: Verifying Checksum Step #1: 3291b748342a: Download complete Step #1: ef31bd35b792: Verifying Checksum Step #1: ef31bd35b792: Download complete Step #1: ce1ee8b7110e: Download complete Step #1: 1bbdcbbd8481: Verifying Checksum Step #1: 1bbdcbbd8481: Download complete Step #1: b1256746ef70: Verifying Checksum Step #1: b1256746ef70: Download complete Step #1: 8726513ee210: Pull complete Step #1: 1933c895cdb1: Download complete Step #1: 7054a7cd5879: Pull complete Step #1: 90835bbe9867: Verifying Checksum Step #1: 90835bbe9867: Download complete Step #1: fa4207b84c31: Pull complete Step #1: c9e16898e54d: Pull complete Step #1: a397e481ff57: Pull complete Step #1: 1e34e18e386e: Verifying Checksum Step #1: 1e34e18e386e: Download complete Step #1: 7f90ecb8e4d6: Pull complete Step #1: ce26b4380d46: Pull complete Step #1: 5dc6edc3cf5f: Pull complete Step #1: 5173cde1bd66: Pull complete Step #1: 1e34e18e386e: Pull complete Step #1: da35800ee821: Pull complete Step #1: 8c2556f55b93: Pull complete Step #1: bf4f02a303d8: Pull complete Step #1: bfc41af53bee: Pull complete Step #1: ee19cad5d6c8: Pull complete Step #1: 43fb6ebaf28e: Pull complete Step #1: e2bf934a1fde: Pull complete Step #1: 67ae2060248d: Pull complete Step #1: eccb1330175b: Pull complete Step #1: 20f0bfcb2bcb: Pull complete Step #1: 0f18c7482fde: Pull complete Step #1: f931609958c7: Pull complete Step #1: 7384719a7753: Pull complete Step #1: b840ccdb7eeb: Pull complete Step #1: cbffa59180b5: Pull complete Step #1: 3291b748342a: Pull complete Step #1: ef31bd35b792: Pull complete Step #1: b1256746ef70: Pull complete Step #1: ce1ee8b7110e: Pull complete Step #1: 1bbdcbbd8481: Pull complete Step #1: 1933c895cdb1: Pull complete Step #1: 90835bbe9867: Pull complete Step #1: Digest: sha256:5848c0f46065c033fcafc3df186a27fd60f314a645d7aa6469905af9da98f94b Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> 501e35d6ccf4 Step #1: Step 2/5 : RUN pip3 install --upgrade pip tzdata Step #1: ---> Running in 1e099981a6cf Step #1: Collecting pip Step #1: Downloading https://files.pythonhosted.org/packages/e7/54/0c1c068542cee73d8863336e974fc881e608d0170f3af15d0c0f28644531/pip-24.1.2-py3-none-any.whl (1.8MB) 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.1.2 tzdata-2024.1 Step #1: Removing intermediate container 1e099981a6cf Step #1: ---> d82fbc18cf2c Step #1: Step 3/5 : RUN git clone https://github.com/sdispater/pendulum pendulum Step #1: ---> Running in 0a24150f4f2e Step #1: Cloning into 'pendulum'... Step #1: Removing intermediate container 0a24150f4f2e Step #1: ---> b869f0aa65b1 Step #1: Step 4/5 : COPY *.sh *py $SRC/ Step #1: ---> 0a229fea7833 Step #1: Step 5/5 : WORKDIR $SRC/pendulum Step #1: ---> Running in 941756b18ad7 Step #1: Removing intermediate container 941756b18ad7 Step #1: ---> 1ec11aab6567 Step #1: Successfully built 1ec11aab6567 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/file9pZ13O 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/file9pZ13O '."/src/pendulum" = { type: "git", url: "https://github.com/sdispater/pendulum", rev: "3e3fec6a5b66759078c5ae39c736ca95b78adbef" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/file561wUa Step #2 - "srcmap": + cat /tmp/file9pZ13O Step #2 - "srcmap": + jq '."/src/pendulum" = { type: "git", url: "https://github.com/sdispater/pendulum", rev: "3e3fec6a5b66759078c5ae39c736ca95b78adbef" }' Step #2 - "srcmap": + mv /tmp/file561wUa /tmp/file9pZ13O 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/file9pZ13O Step #2 - "srcmap": + rm /tmp/file9pZ13O 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