starting build "66fac7e0-ea92-4af3-9c5e-650a2b72799e" 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 5.12kB 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: 51df0d6876cd: Pulling fs layer Step #1: 38da3118a46e: Pulling fs layer Step #1: ec67c84a6d76: Pulling fs layer Step #1: 8bb7dd1116ca: Pulling fs layer Step #1: 1fb4fb3d2b01: Pulling fs layer Step #1: a7d3a0578149: Pulling fs layer Step #1: 23e3013e5b98: Pulling fs layer Step #1: 50e1ee57936a: Pulling fs layer Step #1: b46b6cdbb6f2: Pulling fs layer Step #1: ec67c84a6d76: Waiting Step #1: 8bb7dd1116ca: Waiting Step #1: 1fb4fb3d2b01: Waiting Step #1: c0d18e8fb1fa: Pulling fs layer Step #1: 29a663a40ba4: Pulling fs layer Step #1: d57e2535d3c0: Pulling fs layer Step #1: e530a9eecf2b: Pulling fs layer Step #1: b46b6cdbb6f2: Waiting Step #1: 4f27abcdaf5d: Pulling fs layer Step #1: 81adce140048: Pulling fs layer Step #1: 50e1ee57936a: Waiting Step #1: a7d3a0578149: Waiting Step #1: 1eaaa1542342: Pulling fs layer Step #1: d57e2535d3c0: Waiting Step #1: e530a9eecf2b: Waiting Step #1: 81adce140048: Waiting Step #1: 29a663a40ba4: Waiting Step #1: 4f27abcdaf5d: Waiting Step #1: c0d18e8fb1fa: Waiting Step #1: 6becd2001539: Pulling fs layer Step #1: 1eaaa1542342: Waiting Step #1: 22d4835417b0: Pulling fs layer Step #1: 6becd2001539: Waiting Step #1: 601a9cbfd137: Pulling fs layer Step #1: 972df7da24e8: Pulling fs layer Step #1: 535ecd0613d1: Pulling fs layer Step #1: 972df7da24e8: Waiting Step #1: 601a9cbfd137: Waiting Step #1: 16949380c6e4: Pulling fs layer Step #1: da4104990ff0: Pulling fs layer Step #1: c19b7fe83e8a: Pulling fs layer Step #1: 3c6277aa8e2b: Pulling fs layer Step #1: 535ecd0613d1: Waiting Step #1: bcf869ca811e: Pulling fs layer Step #1: 16949380c6e4: Waiting Step #1: da4104990ff0: Waiting Step #1: 4a49dc7a9851: Pulling fs layer Step #1: c19b7fe83e8a: Waiting Step #1: de9ad109123c: Pulling fs layer Step #1: d74dccfeea37: Pulling fs layer Step #1: 9650ce23f886: Pulling fs layer Step #1: bcf869ca811e: Waiting Step #1: eaeb815cd75a: Pulling fs layer Step #1: 9650ce23f886: Waiting Step #1: de9ad109123c: Waiting Step #1: d74dccfeea37: Waiting Step #1: 4a49dc7a9851: Waiting Step #1: eaeb815cd75a: Waiting Step #1: 3ccdc7b565ee: Pulling fs layer Step #1: 11c03f65d6c1: Pulling fs layer Step #1: 467aec4774aa: Pulling fs layer Step #1: 3ccdc7b565ee: Waiting Step #1: 11c03f65d6c1: Waiting Step #1: 467aec4774aa: Waiting Step #1: 38da3118a46e: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 8bb7dd1116ca: Verifying Checksum Step #1: 8bb7dd1116ca: Download complete Step #1: ec67c84a6d76: Verifying Checksum Step #1: ec67c84a6d76: Download complete Step #1: 1fb4fb3d2b01: Verifying Checksum Step #1: 1fb4fb3d2b01: Download complete Step #1: 23e3013e5b98: Download complete Step #1: 51df0d6876cd: Verifying Checksum Step #1: 51df0d6876cd: Download complete Step #1: 50e1ee57936a: Verifying Checksum Step #1: 50e1ee57936a: Download complete Step #1: b549f31133a9: Pull complete Step #1: c0d18e8fb1fa: Verifying Checksum Step #1: c0d18e8fb1fa: Download complete Step #1: 29a663a40ba4: Verifying Checksum Step #1: 29a663a40ba4: Download complete Step #1: d57e2535d3c0: Download complete Step #1: e530a9eecf2b: Verifying Checksum Step #1: e530a9eecf2b: Download complete Step #1: 4f27abcdaf5d: Verifying Checksum Step #1: 4f27abcdaf5d: Download complete Step #1: 81adce140048: Verifying Checksum Step #1: 81adce140048: Download complete Step #1: 1eaaa1542342: Verifying Checksum Step #1: 1eaaa1542342: Download complete Step #1: b46b6cdbb6f2: Verifying Checksum Step #1: b46b6cdbb6f2: Download complete Step #1: 6becd2001539: Verifying Checksum Step #1: 6becd2001539: Download complete Step #1: 22d4835417b0: Verifying Checksum Step #1: 22d4835417b0: Download complete Step #1: 601a9cbfd137: Verifying Checksum Step #1: 601a9cbfd137: Download complete Step #1: 972df7da24e8: Verifying Checksum Step #1: 972df7da24e8: Download complete Step #1: 535ecd0613d1: Download complete Step #1: 16949380c6e4: Verifying Checksum Step #1: 16949380c6e4: Download complete Step #1: da4104990ff0: Download complete Step #1: c19b7fe83e8a: Download complete Step #1: a7d3a0578149: Verifying Checksum Step #1: a7d3a0578149: Download complete Step #1: 3c6277aa8e2b: Verifying Checksum Step #1: 3c6277aa8e2b: Download complete Step #1: bcf869ca811e: Verifying Checksum Step #1: bcf869ca811e: Download complete Step #1: 4a49dc7a9851: Verifying Checksum Step #1: 4a49dc7a9851: Download complete Step #1: de9ad109123c: Verifying Checksum Step #1: de9ad109123c: Download complete Step #1: 9650ce23f886: Verifying Checksum Step #1: 9650ce23f886: Download complete Step #1: d74dccfeea37: Verifying Checksum Step #1: d74dccfeea37: Download complete Step #1: eaeb815cd75a: Verifying Checksum Step #1: eaeb815cd75a: Download complete Step #1: 3ccdc7b565ee: Verifying Checksum Step #1: 3ccdc7b565ee: Download complete Step #1: 11c03f65d6c1: Verifying Checksum Step #1: 11c03f65d6c1: Download complete Step #1: 467aec4774aa: Verifying Checksum Step #1: 51df0d6876cd: Pull complete Step #1: 38da3118a46e: Pull complete Step #1: ec67c84a6d76: Pull complete Step #1: 8bb7dd1116ca: Pull complete Step #1: 1fb4fb3d2b01: Pull complete Step #1: a7d3a0578149: Pull complete Step #1: 23e3013e5b98: Pull complete Step #1: 50e1ee57936a: Pull complete Step #1: b46b6cdbb6f2: Pull complete Step #1: c0d18e8fb1fa: Pull complete Step #1: 29a663a40ba4: Pull complete Step #1: d57e2535d3c0: Pull complete Step #1: e530a9eecf2b: Pull complete Step #1: 4f27abcdaf5d: Pull complete Step #1: 81adce140048: Pull complete Step #1: 1eaaa1542342: Pull complete Step #1: 6becd2001539: Pull complete Step #1: 22d4835417b0: Pull complete Step #1: 601a9cbfd137: Pull complete Step #1: 972df7da24e8: Pull complete Step #1: 535ecd0613d1: Pull complete Step #1: 16949380c6e4: Pull complete Step #1: da4104990ff0: Pull complete Step #1: c19b7fe83e8a: Pull complete Step #1: 3c6277aa8e2b: Pull complete Step #1: bcf869ca811e: Pull complete Step #1: 4a49dc7a9851: Pull complete Step #1: de9ad109123c: Pull complete Step #1: d74dccfeea37: Pull complete Step #1: 9650ce23f886: Pull complete Step #1: eaeb815cd75a: Pull complete Step #1: 3ccdc7b565ee: Pull complete Step #1: 11c03f65d6c1: Pull complete Step #1: 467aec4774aa: Pull complete Step #1: Digest: sha256:5ff1d34235ab19c5f82ec3d781fe56d65d3fbb6106da83444a87af70409a2e09 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> 5e178232ff6e Step #1: Step 2/5 : RUN git clone --depth=1 https://github.com/hukkinj1/tomli tomli Step #1: ---> Running in f3ed9c2d1e0b Step #1: Cloning into 'tomli'... Step #1: Removing intermediate container f3ed9c2d1e0b Step #1: ---> 7991ea704aef Step #1: Step 3/5 : RUN git clone --depth=1 https://github.com/hukkin/tomli-w tomli-w Step #1: ---> Running in fdbe8dc265b5 Step #1: Cloning into 'tomli-w'... Step #1: Removing intermediate container fdbe8dc265b5 Step #1: ---> 5c421a34118c Step #1: Step 4/5 : COPY *.sh $SRC/ Step #1: ---> fc0caefac52a Step #1: Step 5/5 : WORKDIR $SRC/tomli Step #1: ---> Running in 05eff1854732 Step #1: Removing intermediate container 05eff1854732 Step #1: ---> 8b61f7cad3e7 Step #1: Successfully built 8b61f7cad3e7 Step #1: Successfully tagged gcr.io/oss-fuzz/tomli:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/tomli Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/filePsUb9N 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/tomli-w/.git Step #2 - "srcmap": + GIT_DIR=/src/tomli-w Step #2 - "srcmap": + cd /src/tomli-w Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/hukkin/tomli-w Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=21b8be3891f8818a8c1ed788ab0170cf50b22cf2 Step #2 - "srcmap": + jq_inplace /tmp/filePsUb9N '."/src/tomli-w" = { type: "git", url: "https://github.com/hukkin/tomli-w", rev: "21b8be3891f8818a8c1ed788ab0170cf50b22cf2" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/file6YyxDc Step #2 - "srcmap": + cat /tmp/filePsUb9N Step #2 - "srcmap": + jq '."/src/tomli-w" = { type: "git", url: "https://github.com/hukkin/tomli-w", rev: "21b8be3891f8818a8c1ed788ab0170cf50b22cf2" }' Step #2 - "srcmap": + mv /tmp/file6YyxDc /tmp/filePsUb9N Step #2 - "srcmap": + for DOT_GIT_DIR in $(find $PATHS_TO_SCAN -name ".git" -type d) Step #2 - "srcmap": ++ dirname /src/tomli/.git Step #2 - "srcmap": + GIT_DIR=/src/tomli Step #2 - "srcmap": + cd /src/tomli Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/hukkinj1/tomli Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=443a0c1bc5da39b7ed84306912ee1900e6b72e2f Step #2 - "srcmap": + jq_inplace /tmp/filePsUb9N '."/src/tomli" = { type: "git", url: "https://github.com/hukkinj1/tomli", rev: "443a0c1bc5da39b7ed84306912ee1900e6b72e2f" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filelddeFI Step #2 - "srcmap": + cat /tmp/filePsUb9N Step #2 - "srcmap": + jq '."/src/tomli" = { type: "git", url: "https://github.com/hukkinj1/tomli", rev: "443a0c1bc5da39b7ed84306912ee1900e6b72e2f" }' Step #2 - "srcmap": + mv /tmp/filelddeFI /tmp/filePsUb9N 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/filePsUb9N Step #2 - "srcmap": + rm /tmp/filePsUb9N Step #2 - "srcmap": { Step #2 - "srcmap": "/src/tomli-w": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/hukkin/tomli-w", Step #2 - "srcmap": "rev": "21b8be3891f8818a8c1ed788ab0170cf50b22cf2" Step #2 - "srcmap": }, Step #2 - "srcmap": "/src/tomli": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/hukkinj1/tomli", Step #2 - "srcmap": "rev": "443a0c1bc5da39b7ed84306912ee1900e6b72e2f" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-libfuzzer-coverage-x86_64" Step #3 - "compile-libfuzzer-coverage-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-libfuzzer-coverage-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-coverage-x86_64": vm.mmap_rnd_bits = 28 Step #3 - "compile-libfuzzer-coverage-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #3 - "compile-libfuzzer-coverage-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-coverage-x86_64": CC=clang Step #3 - "compile-libfuzzer-coverage-x86_64": CXX=clang++ Step #3 - "compile-libfuzzer-coverage-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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -fno-sanitize=function,leak,vptr, Step #3 - "compile-libfuzzer-coverage-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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -stdlib=libc++ -fno-sanitize=function,leak,vptr Step #3 - "compile-libfuzzer-coverage-x86_64": RUSTFLAGS=--cfg fuzzing -Cdebuginfo=1 -Cforce-frame-pointers -Cinstrument-coverage -C link-arg=-lc++ Step #3 - "compile-libfuzzer-coverage-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-coverage-x86_64": + pip3 install . Step #3 - "compile-libfuzzer-coverage-x86_64": Processing /src/tomli Step #3 - "compile-libfuzzer-coverage-x86_64": ERROR: Exception: Step #3 - "compile-libfuzzer-coverage-x86_64": Traceback (most recent call last): Step #3 - "compile-libfuzzer-coverage-x86_64": File "/usr/local/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 188, in main Step #3 - "compile-libfuzzer-coverage-x86_64": status = self.run(options, args) Step #3 - "compile-libfuzzer-coverage-x86_64": File "/usr/local/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 345, in run Step #3 - "compile-libfuzzer-coverage-x86_64": resolver.resolve(requirement_set) Step #3 - "compile-libfuzzer-coverage-x86_64": File "/usr/local/lib/python3.8/site-packages/pip/_internal/legacy_resolve.py", line 196, in resolve Step #3 - "compile-libfuzzer-coverage-x86_64": self._resolve_one(requirement_set, req) Step #3 - "compile-libfuzzer-coverage-x86_64": File "/usr/local/lib/python3.8/site-packages/pip/_internal/legacy_resolve.py", line 359, in _resolve_one Step #3 - "compile-libfuzzer-coverage-x86_64": abstract_dist = self._get_abstract_dist_for(req_to_install) Step #3 - "compile-libfuzzer-coverage-x86_64": File "/usr/local/lib/python3.8/site-packages/pip/_internal/legacy_resolve.py", line 305, in _get_abstract_dist_for Step #3 - "compile-libfuzzer-coverage-x86_64": abstract_dist = self.preparer.prepare_linked_requirement( Step #3 - "compile-libfuzzer-coverage-x86_64": File "/usr/local/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 214, in prepare_linked_requirement Step #3 - "compile-libfuzzer-coverage-x86_64": abstract_dist.prepare_distribution_metadata( Step #3 - "compile-libfuzzer-coverage-x86_64": File "/usr/local/lib/python3.8/site-packages/pip/_internal/distributions/source.py", line 30, in prepare_distribution_metadata Step #3 - "compile-libfuzzer-coverage-x86_64": self.req.load_pyproject_toml() Step #3 - "compile-libfuzzer-coverage-x86_64": File "/usr/local/lib/python3.8/site-packages/pip/_internal/req/req_install.py", line 501, in load_pyproject_toml Step #3 - "compile-libfuzzer-coverage-x86_64": pyproject_toml_data = load_pyproject_toml( Step #3 - "compile-libfuzzer-coverage-x86_64": File "/usr/local/lib/python3.8/site-packages/pip/_internal/pyproject.py", line 66, in load_pyproject_toml Step #3 - "compile-libfuzzer-coverage-x86_64": pp_toml = pytoml.load(f) Step #3 - "compile-libfuzzer-coverage-x86_64": File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pytoml/parser.py", line 11, in load Step #3 - "compile-libfuzzer-coverage-x86_64": return loads(fin.read(), translate=translate, object_pairs_hook=object_pairs_hook, filename=getattr(fin, 'name', repr(fin))) Step #3 - "compile-libfuzzer-coverage-x86_64": File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pytoml/parser.py", line 46, in loads Step #3 - "compile-libfuzzer-coverage-x86_64": scope[k] = process_value(v, object_pairs_hook=object_pairs_hook) Step #3 - "compile-libfuzzer-coverage-x86_64": File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pytoml/parser.py", line 36, in process_value Step #3 - "compile-libfuzzer-coverage-x86_64": value = [process_value(item, object_pairs_hook=object_pairs_hook) for item in value] Step #3 - "compile-libfuzzer-coverage-x86_64": File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pytoml/parser.py", line 36, in Step #3 - "compile-libfuzzer-coverage-x86_64": value = [process_value(item, object_pairs_hook=object_pairs_hook) for item in value] Step #3 - "compile-libfuzzer-coverage-x86_64": File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pytoml/parser.py", line 35, in process_value Step #3 - "compile-libfuzzer-coverage-x86_64": error('array-type-mismatch') Step #3 - "compile-libfuzzer-coverage-x86_64": File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pytoml/parser.py", line 27, in error Step #3 - "compile-libfuzzer-coverage-x86_64": raise TomlError(msg, pos[0], pos[1], filename) Step #3 - "compile-libfuzzer-coverage-x86_64": pip._vendor.pytoml.core.TomlError: /tmp/pip-req-build-of8ek77k/pyproject.toml(53, 1): array-type-mismatch Step #3 - "compile-libfuzzer-coverage-x86_64": WARNING: You are using pip version 19.2.3, however version 24.3.1 is available. Step #3 - "compile-libfuzzer-coverage-x86_64": You should consider upgrading via the 'pip install --upgrade pip' command. Step #3 - "compile-libfuzzer-coverage-x86_64": ******************************************************************************** Step #3 - "compile-libfuzzer-coverage-x86_64": Failed to build. Step #3 - "compile-libfuzzer-coverage-x86_64": To reproduce, run: Step #3 - "compile-libfuzzer-coverage-x86_64": python infra/helper.py build_image tomli Step #3 - "compile-libfuzzer-coverage-x86_64": python infra/helper.py build_fuzzers --sanitizer coverage --engine libfuzzer --architecture x86_64 tomli Step #3 - "compile-libfuzzer-coverage-x86_64": ******************************************************************************** Finished Step #3 - "compile-libfuzzer-coverage-x86_64" ERROR ERROR: build step 3 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1