starting build "a02f66df-2e97-48a0-8f59-4e25d195e93a" 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: 89d02f7aa105: Pulling fs layer Step #1: 8ddf7f2f1afd: Pulling fs layer Step #1: 953d024f972e: Pulling fs layer Step #1: 73e4c1a95d7c: Pulling fs layer Step #1: 020e2a8ae453: Pulling fs layer Step #1: 2acedd8e811d: Pulling fs layer Step #1: 802a6d21accc: Pulling fs layer Step #1: d43675a77318: Pulling fs layer Step #1: 6b73abbe7e10: Pulling fs layer Step #1: d4b1706c862d: Pulling fs layer Step #1: 4048c2589592: Pulling fs layer Step #1: 12ad58c9f342: Pulling fs layer Step #1: dee138f71a27: Pulling fs layer Step #1: 72540e57f36d: Pulling fs layer Step #1: 7e8d67df18fb: Pulling fs layer Step #1: 825049a9716f: Pulling fs layer Step #1: c54231abef85: Pulling fs layer Step #1: 3ade40efbbb6: Pulling fs layer Step #1: 1ad21c5cbdd1: Pulling fs layer Step #1: fc0edc2d2b23: Pulling fs layer Step #1: 00ada1e933ba: Pulling fs layer Step #1: 543b6d759c6d: Pulling fs layer Step #1: 46c7309e1ad1: Pulling fs layer Step #1: 66229b962aa0: Pulling fs layer Step #1: 8617b294b338: Pulling fs layer Step #1: 97a033adfc50: Pulling fs layer Step #1: 606b27214ffd: Pulling fs layer Step #1: 768c386681d6: Pulling fs layer Step #1: acbe71f55854: Pulling fs layer Step #1: 8ce76d92792e: Pulling fs layer Step #1: 411da31e4e7a: Pulling fs layer Step #1: 63bd8a02ea72: Pulling fs layer Step #1: 29e671cfdcfa: Pulling fs layer Step #1: 1564037572db: Pulling fs layer Step #1: 020e2a8ae453: Waiting Step #1: 1ad21c5cbdd1: Waiting Step #1: 2acedd8e811d: Waiting Step #1: fc0edc2d2b23: Waiting Step #1: 00ada1e933ba: Waiting Step #1: 543b6d759c6d: Waiting Step #1: 802a6d21accc: Waiting Step #1: 46c7309e1ad1: Waiting Step #1: 66229b962aa0: Waiting Step #1: d43675a77318: Waiting Step #1: 8617b294b338: Waiting Step #1: 825049a9716f: Waiting Step #1: 97a033adfc50: Waiting Step #1: 6b73abbe7e10: Waiting Step #1: 606b27214ffd: Waiting Step #1: c54231abef85: Waiting Step #1: d4b1706c862d: Waiting Step #1: 768c386681d6: Waiting Step #1: 12ad58c9f342: Waiting Step #1: 3ade40efbbb6: Waiting Step #1: acbe71f55854: Waiting Step #1: 8ce76d92792e: Waiting Step #1: dee138f71a27: Waiting Step #1: 72540e57f36d: Waiting Step #1: 7e8d67df18fb: Waiting Step #1: 953d024f972e: Waiting Step #1: 73e4c1a95d7c: Waiting Step #1: 1564037572db: Waiting Step #1: 29e671cfdcfa: Waiting Step #1: 8ddf7f2f1afd: Verifying Checksum Step #1: 8ddf7f2f1afd: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 73e4c1a95d7c: Download complete Step #1: 953d024f972e: Verifying Checksum Step #1: 953d024f972e: Download complete Step #1: 020e2a8ae453: Verifying Checksum Step #1: 020e2a8ae453: Download complete Step #1: 802a6d21accc: Download complete Step #1: 89d02f7aa105: Verifying Checksum Step #1: 89d02f7aa105: Download complete Step #1: d43675a77318: Verifying Checksum Step #1: d43675a77318: Download complete Step #1: b549f31133a9: Pull complete Step #1: d4b1706c862d: Verifying Checksum Step #1: d4b1706c862d: Download complete Step #1: 4048c2589592: Verifying Checksum Step #1: 4048c2589592: Download complete Step #1: 12ad58c9f342: Verifying Checksum Step #1: 12ad58c9f342: Download complete Step #1: dee138f71a27: Verifying Checksum Step #1: dee138f71a27: Download complete Step #1: 72540e57f36d: Verifying Checksum Step #1: 72540e57f36d: Download complete Step #1: 7e8d67df18fb: Download complete Step #1: 6b73abbe7e10: Verifying Checksum Step #1: 6b73abbe7e10: Download complete Step #1: c54231abef85: Verifying Checksum Step #1: c54231abef85: Download complete Step #1: 825049a9716f: Verifying Checksum Step #1: 825049a9716f: Download complete Step #1: 3ade40efbbb6: Verifying Checksum Step #1: 3ade40efbbb6: Download complete Step #1: 1ad21c5cbdd1: Verifying Checksum Step #1: 1ad21c5cbdd1: Download complete Step #1: fc0edc2d2b23: Verifying Checksum Step #1: fc0edc2d2b23: Download complete Step #1: 00ada1e933ba: Verifying Checksum Step #1: 00ada1e933ba: Download complete Step #1: 543b6d759c6d: Verifying Checksum Step #1: 543b6d759c6d: Download complete Step #1: 2acedd8e811d: Verifying Checksum Step #1: 2acedd8e811d: Download complete Step #1: 46c7309e1ad1: Verifying Checksum Step #1: 46c7309e1ad1: Download complete Step #1: 66229b962aa0: Download complete Step #1: 8617b294b338: Verifying Checksum Step #1: 8617b294b338: Download complete Step #1: 97a033adfc50: Verifying Checksum Step #1: 606b27214ffd: Verifying Checksum Step #1: 606b27214ffd: Download complete Step #1: 768c386681d6: Verifying Checksum Step #1: 768c386681d6: Download complete Step #1: acbe71f55854: Verifying Checksum Step #1: acbe71f55854: Download complete Step #1: 8ce76d92792e: Download complete Step #1: 411da31e4e7a: Verifying Checksum Step #1: 411da31e4e7a: Download complete Step #1: 89d02f7aa105: Pull complete Step #1: 63bd8a02ea72: Verifying Checksum Step #1: 63bd8a02ea72: Download complete Step #1: 8ddf7f2f1afd: Pull complete Step #1: 29e671cfdcfa: Verifying Checksum Step #1: 29e671cfdcfa: Download complete Step #1: 1564037572db: Verifying Checksum Step #1: 1564037572db: Download complete Step #1: 953d024f972e: Pull complete Step #1: 73e4c1a95d7c: Pull complete Step #1: 020e2a8ae453: Pull complete Step #1: 2acedd8e811d: Pull complete Step #1: 802a6d21accc: Pull complete Step #1: d43675a77318: Pull complete Step #1: 6b73abbe7e10: Pull complete Step #1: d4b1706c862d: Pull complete Step #1: 4048c2589592: Pull complete Step #1: 12ad58c9f342: Pull complete Step #1: dee138f71a27: Pull complete Step #1: 72540e57f36d: Pull complete Step #1: 7e8d67df18fb: Pull complete Step #1: 825049a9716f: Pull complete Step #1: c54231abef85: Pull complete Step #1: 3ade40efbbb6: Pull complete Step #1: 1ad21c5cbdd1: Pull complete Step #1: fc0edc2d2b23: Pull complete Step #1: 00ada1e933ba: Pull complete Step #1: 543b6d759c6d: Pull complete Step #1: 46c7309e1ad1: Pull complete Step #1: 66229b962aa0: Pull complete Step #1: 8617b294b338: Pull complete Step #1: 97a033adfc50: Pull complete Step #1: 606b27214ffd: Pull complete Step #1: 768c386681d6: Pull complete Step #1: acbe71f55854: Pull complete Step #1: 8ce76d92792e: Pull complete Step #1: 411da31e4e7a: Pull complete Step #1: 63bd8a02ea72: Pull complete Step #1: 29e671cfdcfa: Pull complete Step #1: 1564037572db: Pull complete Step #1: Digest: sha256:78572e7a67eb62cc455d2326c85525b578826a22cbf315dfdf275d48d9b7a4c7 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> 88151e8f300e Step #1: Step 2/5 : RUN pip3 install --upgrade pip tzdata Step #1: ---> Running in a4a398292598 Step #1: Requirement already satisfied: pip in /usr/local/lib/python3.10/site-packages (24.3.1) Step #1: Collecting tzdata Step #1: Downloading tzdata-2024.2-py2.py3-none-any.whl.metadata (1.4 kB) Step #1: Downloading tzdata-2024.2-py2.py3-none-any.whl (346 kB) Step #1: Installing collected packages: tzdata Step #1: Successfully installed tzdata-2024.2 Step #1: WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. Step #1: Removing intermediate container a4a398292598 Step #1: ---> 9b3855f58d8c Step #1: Step 3/5 : RUN git clone https://github.com/sdispater/pendulum pendulum Step #1: ---> Running in 0fccd2dc4a46 Step #1: Cloning into 'pendulum'... Step #1: Removing intermediate container 0fccd2dc4a46 Step #1: ---> 7f4ae8792a2e Step #1: Step 4/5 : COPY *.sh *py $SRC/ Step #1: ---> 71fc0ce80794 Step #1: Step 5/5 : WORKDIR $SRC/pendulum Step #1: ---> Running in 044c1281f655 Step #1: Removing intermediate container 044c1281f655 Step #1: ---> ee6bc9c82de5 Step #1: Successfully built ee6bc9c82de5 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/fileyYHdVM 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=6383c07bfeadb977629383a5c58a053f88c6a104 Step #2 - "srcmap": + jq_inplace /tmp/fileyYHdVM '."/src/pendulum" = { type: "git", url: "https://github.com/sdispater/pendulum", rev: "6383c07bfeadb977629383a5c58a053f88c6a104" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileIQUPja Step #2 - "srcmap": + cat /tmp/fileyYHdVM Step #2 - "srcmap": + jq '."/src/pendulum" = { type: "git", url: "https://github.com/sdispater/pendulum", rev: "6383c07bfeadb977629383a5c58a053f88c6a104" }' Step #2 - "srcmap": + mv /tmp/fileIQUPja /tmp/fileyYHdVM 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/fileyYHdVM Step #2 - "srcmap": + rm /tmp/fileyYHdVM 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": "6383c07bfeadb977629383a5c58a053f88c6a104" 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