starting build "7afebde7-be4c-44c3-a697-ca55c33bc119" 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: 846c38eabeb6: Pulling fs layer Step #1: 354bb35a5a0a: Pulling fs layer Step #1: cca0392118bd: Pulling fs layer Step #1: 82426335acfc: Pulling fs layer Step #1: 1cdf79a01e99: Pulling fs layer Step #1: ac907dcbaf3d: Pulling fs layer Step #1: fce4236dad17: Pulling fs layer Step #1: 3b5e162085a8: Pulling fs layer Step #1: 0bf149db740a: Pulling fs layer Step #1: 3e1830f6f8e0: Pulling fs layer Step #1: b838b58ffdce: Pulling fs layer Step #1: 84ea39c463e2: Pulling fs layer Step #1: 6cb42777dff4: Pulling fs layer Step #1: b645178f4047: Pulling fs layer Step #1: e7f88a11dff7: Pulling fs layer Step #1: 47f77897535f: Pulling fs layer Step #1: dc6461e6617f: Pulling fs layer Step #1: 3e6610a48824: Pulling fs layer Step #1: 89c166b5a2c6: Pulling fs layer Step #1: 2ffe182530d4: Pulling fs layer Step #1: 7f8194990141: Pulling fs layer Step #1: fce4236dad17: Waiting Step #1: 7170a315eda0: Pulling fs layer Step #1: dfdae4b2f8fd: Pulling fs layer Step #1: 3b5e162085a8: Waiting Step #1: 3efe8e04abd9: Pulling fs layer Step #1: 1737bc42af26: Pulling fs layer Step #1: 78ba63861a4c: Pulling fs layer Step #1: 0bf149db740a: Waiting Step #1: a9188cb33995: Pulling fs layer Step #1: cca0392118bd: Waiting Step #1: 3e1830f6f8e0: Waiting Step #1: 09d9473e7e96: Pulling fs layer Step #1: c36086e609bd: Pulling fs layer Step #1: 5c9d29c8377c: Pulling fs layer Step #1: a059221751bd: Pulling fs layer Step #1: 82426335acfc: Waiting Step #1: a26044dcf3d7: Pulling fs layer Step #1: 1cdf79a01e99: Waiting Step #1: b838b58ffdce: Waiting Step #1: ac907dcbaf3d: Waiting Step #1: 84ea39c463e2: Waiting Step #1: dfdae4b2f8fd: Waiting Step #1: 6cb42777dff4: Waiting Step #1: 3efe8e04abd9: Waiting Step #1: 1737bc42af26: Waiting Step #1: 7f8194990141: Waiting Step #1: 78ba63861a4c: Waiting Step #1: e7f88a11dff7: Waiting Step #1: 7170a315eda0: Waiting Step #1: 89c166b5a2c6: Waiting Step #1: 2ffe182530d4: Waiting Step #1: 47f77897535f: Waiting Step #1: a059221751bd: Waiting Step #1: a9188cb33995: Waiting Step #1: 3e6610a48824: Waiting Step #1: dc6461e6617f: Waiting Step #1: c36086e609bd: Waiting Step #1: 5c9d29c8377c: Waiting Step #1: 354bb35a5a0a: Verifying Checksum Step #1: 354bb35a5a0a: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 82426335acfc: Verifying Checksum Step #1: 82426335acfc: Download complete Step #1: 1cdf79a01e99: Verifying Checksum Step #1: 1cdf79a01e99: Download complete Step #1: cca0392118bd: Verifying Checksum Step #1: cca0392118bd: Download complete Step #1: fce4236dad17: Verifying Checksum Step #1: fce4236dad17: Download complete Step #1: 846c38eabeb6: Verifying Checksum Step #1: 846c38eabeb6: Download complete Step #1: 3b5e162085a8: Verifying Checksum Step #1: 3b5e162085a8: Download complete Step #1: b549f31133a9: Pull complete Step #1: 3e1830f6f8e0: Verifying Checksum Step #1: 3e1830f6f8e0: Download complete Step #1: b838b58ffdce: Verifying Checksum Step #1: b838b58ffdce: Download complete Step #1: 84ea39c463e2: Verifying Checksum Step #1: 84ea39c463e2: Download complete Step #1: 6cb42777dff4: Verifying Checksum Step #1: 6cb42777dff4: Download complete Step #1: b645178f4047: Verifying Checksum Step #1: b645178f4047: Download complete Step #1: e7f88a11dff7: Verifying Checksum Step #1: e7f88a11dff7: Download complete Step #1: 47f77897535f: Verifying Checksum Step #1: 47f77897535f: Download complete Step #1: dc6461e6617f: Verifying Checksum Step #1: dc6461e6617f: Download complete Step #1: 0bf149db740a: Verifying Checksum Step #1: 0bf149db740a: Download complete Step #1: 89c166b5a2c6: Verifying Checksum Step #1: 89c166b5a2c6: Download complete Step #1: 3e6610a48824: Verifying Checksum Step #1: 3e6610a48824: Download complete Step #1: 2ffe182530d4: Verifying Checksum Step #1: 2ffe182530d4: Download complete Step #1: 7f8194990141: Verifying Checksum Step #1: 7f8194990141: Download complete Step #1: 7170a315eda0: Verifying Checksum Step #1: 7170a315eda0: Download complete Step #1: dfdae4b2f8fd: Verifying Checksum Step #1: dfdae4b2f8fd: Download complete Step #1: 3efe8e04abd9: Verifying Checksum Step #1: 3efe8e04abd9: Download complete Step #1: ac907dcbaf3d: Verifying Checksum Step #1: ac907dcbaf3d: Download complete Step #1: 78ba63861a4c: Verifying Checksum Step #1: 78ba63861a4c: Download complete Step #1: a9188cb33995: Verifying Checksum Step #1: a9188cb33995: Download complete Step #1: 1737bc42af26: Verifying Checksum Step #1: 1737bc42af26: Download complete Step #1: c36086e609bd: Download complete Step #1: 5c9d29c8377c: Verifying Checksum Step #1: 5c9d29c8377c: Download complete Step #1: 09d9473e7e96: Verifying Checksum Step #1: 09d9473e7e96: Download complete Step #1: a059221751bd: Verifying Checksum Step #1: a059221751bd: Download complete Step #1: a26044dcf3d7: Verifying Checksum Step #1: a26044dcf3d7: Download complete Step #1: 846c38eabeb6: Pull complete Step #1: 354bb35a5a0a: Pull complete Step #1: cca0392118bd: Pull complete Step #1: 82426335acfc: Pull complete Step #1: 1cdf79a01e99: Pull complete Step #1: ac907dcbaf3d: Pull complete Step #1: fce4236dad17: Pull complete Step #1: 3b5e162085a8: Pull complete Step #1: 0bf149db740a: Pull complete Step #1: 3e1830f6f8e0: Pull complete Step #1: b838b58ffdce: Pull complete Step #1: 84ea39c463e2: Pull complete Step #1: 6cb42777dff4: Pull complete Step #1: b645178f4047: Pull complete Step #1: e7f88a11dff7: Pull complete Step #1: 47f77897535f: Pull complete Step #1: dc6461e6617f: Pull complete Step #1: 3e6610a48824: Pull complete Step #1: 89c166b5a2c6: Pull complete Step #1: 2ffe182530d4: Pull complete Step #1: 7f8194990141: Pull complete Step #1: 7170a315eda0: Pull complete Step #1: dfdae4b2f8fd: Pull complete Step #1: 3efe8e04abd9: Pull complete Step #1: 1737bc42af26: Pull complete Step #1: 78ba63861a4c: Pull complete Step #1: a9188cb33995: Pull complete Step #1: 09d9473e7e96: Pull complete Step #1: c36086e609bd: Pull complete Step #1: 5c9d29c8377c: Pull complete Step #1: a059221751bd: Pull complete Step #1: a26044dcf3d7: Pull complete Step #1: Digest: sha256:b79e81786351b4157e8875d2e09756c50efc560eb3a14db2ce6f7104eb7476ee Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> 97b255a5ede4 Step #1: Step 2/5 : RUN pip3 install --upgrade pip tzdata Step #1: ---> Running in a169c4f7b655 Step #1: Collecting pip Step #1: Downloading https://files.pythonhosted.org/packages/d4/55/90db48d85f7689ec6f81c0db0622d704306c5284850383c090e6c7195a5c/pip-24.2-py3-none-any.whl (1.8MB) Step #1: Collecting tzdata Step #1: Downloading https://files.pythonhosted.org/packages/a6/ab/7e5f53c3b9d14972843a647d8d7a853969a58aecc7559cb3267302c94774/tzdata-2024.2-py2.py3-none-any.whl (346kB) 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.2 tzdata-2024.2 Step #1: Removing intermediate container a169c4f7b655 Step #1: ---> 9752f032a371 Step #1: Step 3/5 : RUN git clone https://github.com/sdispater/pendulum pendulum Step #1: ---> Running in 5f5366dcfb2c Step #1: Cloning into 'pendulum'... Step #1: Removing intermediate container 5f5366dcfb2c Step #1: ---> c9ce6117f062 Step #1: Step 4/5 : COPY *.sh *py $SRC/ Step #1: ---> 5f3bdcc59579 Step #1: Step 5/5 : WORKDIR $SRC/pendulum Step #1: ---> Running in bb02eae40ec8 Step #1: Removing intermediate container bb02eae40ec8 Step #1: ---> 04c9e361d397 Step #1: Successfully built 04c9e361d397 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/filedFTaDO 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=df4d44c94adf0852df1722201ecaf0f0e6b829f9 Step #2 - "srcmap": + jq_inplace /tmp/filedFTaDO '."/src/pendulum" = { type: "git", url: "https://github.com/sdispater/pendulum", rev: "df4d44c94adf0852df1722201ecaf0f0e6b829f9" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileaVvmVa Step #2 - "srcmap": + cat /tmp/filedFTaDO Step #2 - "srcmap": + jq '."/src/pendulum" = { type: "git", url: "https://github.com/sdispater/pendulum", rev: "df4d44c94adf0852df1722201ecaf0f0e6b829f9" }' Step #2 - "srcmap": + mv /tmp/fileaVvmVa /tmp/filedFTaDO 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/filedFTaDO Step #2 - "srcmap": + rm /tmp/filedFTaDO 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": "df4d44c94adf0852df1722201ecaf0f0e6b829f9" 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 -Wno-error=vla-cxx-extension -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 -Wno-error=vla-cxx-extension -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