starting build "ed2076ee-ec14-4c01-b589-aeae1c01cc0f" 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: f2fcf2e227f4: Pulling fs layer Step #1: da477cd879f9: Pulling fs layer Step #1: f9c33016fb16: Pulling fs layer Step #1: 72e497f44a0a: Pulling fs layer Step #1: 807e7e92d553: Pulling fs layer Step #1: 2af538ff64cc: Pulling fs layer Step #1: e2bfef62f127: Pulling fs layer Step #1: bdfc2f43ab22: Pulling fs layer Step #1: 1a2d9435b89f: Pulling fs layer Step #1: 5cfc952b9aa0: Pulling fs layer Step #1: f2cd263c35de: Pulling fs layer Step #1: 113ebc8c163b: Pulling fs layer Step #1: 2e86ff9de0ba: Pulling fs layer Step #1: f9c33016fb16: Waiting Step #1: 654ee72fcad0: Pulling fs layer Step #1: 01af52a281bc: Pulling fs layer Step #1: 72e497f44a0a: Waiting Step #1: 81351a185085: Pulling fs layer Step #1: 807e7e92d553: Waiting Step #1: 73f57ed61429: Pulling fs layer Step #1: d3d6171212b0: Pulling fs layer Step #1: aa652db7a318: Pulling fs layer Step #1: 2d902074596f: Pulling fs layer Step #1: ab7266ccacca: Pulling fs layer Step #1: 45a7b69c6c74: Pulling fs layer Step #1: 93feae40aef9: Pulling fs layer Step #1: 2af538ff64cc: Waiting Step #1: 20b774d80b34: Pulling fs layer Step #1: 2541c6de8817: Pulling fs layer Step #1: e2bfef62f127: Waiting Step #1: b9010161076d: Pulling fs layer Step #1: bdfc2f43ab22: Waiting Step #1: 0cf7f9d06e95: Pulling fs layer Step #1: 1a2d9435b89f: Waiting Step #1: 94434788ccac: Pulling fs layer Step #1: 5be98e82b487: Pulling fs layer Step #1: efee6427d7c0: Pulling fs layer Step #1: 113ebc8c163b: Waiting Step #1: 14f059fa46b4: Pulling fs layer Step #1: 1ba5f54a6ff9: Pulling fs layer Step #1: f2cd263c35de: Waiting Step #1: 45a7b69c6c74: Waiting Step #1: 0cf7f9d06e95: Waiting Step #1: efee6427d7c0: Waiting Step #1: 93feae40aef9: Waiting Step #1: 2e86ff9de0ba: Waiting Step #1: 20b774d80b34: Waiting Step #1: 94434788ccac: Waiting Step #1: 14f059fa46b4: Waiting Step #1: 2541c6de8817: Waiting Step #1: 5be98e82b487: Waiting Step #1: 1ba5f54a6ff9: Waiting Step #1: 654ee72fcad0: Waiting Step #1: 01af52a281bc: Waiting Step #1: aa652db7a318: Waiting Step #1: 81351a185085: Waiting Step #1: 73f57ed61429: Waiting Step #1: 2d902074596f: Waiting Step #1: d3d6171212b0: Waiting Step #1: ab7266ccacca: Waiting Step #1: b9010161076d: Waiting Step #1: da477cd879f9: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 72e497f44a0a: Verifying Checksum Step #1: 72e497f44a0a: Download complete Step #1: f9c33016fb16: Verifying Checksum Step #1: f9c33016fb16: Download complete Step #1: 807e7e92d553: Download complete Step #1: e2bfef62f127: Verifying Checksum Step #1: e2bfef62f127: Download complete Step #1: f2fcf2e227f4: Verifying Checksum Step #1: f2fcf2e227f4: Download complete Step #1: bdfc2f43ab22: Verifying Checksum Step #1: bdfc2f43ab22: Download complete Step #1: 5cfc952b9aa0: Verifying Checksum Step #1: 5cfc952b9aa0: Download complete Step #1: b549f31133a9: Pull complete Step #1: f2cd263c35de: Verifying Checksum Step #1: f2cd263c35de: Download complete Step #1: 113ebc8c163b: Verifying Checksum Step #1: 113ebc8c163b: Download complete Step #1: 2e86ff9de0ba: Verifying Checksum Step #1: 2e86ff9de0ba: Download complete Step #1: 654ee72fcad0: Verifying Checksum Step #1: 654ee72fcad0: Download complete Step #1: 01af52a281bc: Verifying Checksum Step #1: 01af52a281bc: Download complete Step #1: 81351a185085: Verifying Checksum Step #1: 81351a185085: Download complete Step #1: 73f57ed61429: Verifying Checksum Step #1: 73f57ed61429: Download complete Step #1: 1a2d9435b89f: Verifying Checksum Step #1: 1a2d9435b89f: Download complete Step #1: d3d6171212b0: Verifying Checksum Step #1: d3d6171212b0: Download complete Step #1: aa652db7a318: Verifying Checksum Step #1: aa652db7a318: Download complete Step #1: 2d902074596f: Verifying Checksum Step #1: 2d902074596f: Download complete Step #1: ab7266ccacca: Verifying Checksum Step #1: ab7266ccacca: Download complete Step #1: 93feae40aef9: Verifying Checksum Step #1: 93feae40aef9: Download complete Step #1: 45a7b69c6c74: Download complete Step #1: 20b774d80b34: Verifying Checksum Step #1: 20b774d80b34: Download complete Step #1: 2541c6de8817: Verifying Checksum Step #1: 2541c6de8817: Download complete Step #1: b9010161076d: Verifying Checksum Step #1: b9010161076d: Download complete Step #1: 0cf7f9d06e95: Verifying Checksum Step #1: 0cf7f9d06e95: Download complete Step #1: 5be98e82b487: Verifying Checksum Step #1: 5be98e82b487: Download complete Step #1: 94434788ccac: Verifying Checksum Step #1: 94434788ccac: Download complete Step #1: 2af538ff64cc: Verifying Checksum Step #1: 2af538ff64cc: Download complete Step #1: efee6427d7c0: Verifying Checksum Step #1: efee6427d7c0: Download complete Step #1: 14f059fa46b4: Verifying Checksum Step #1: 14f059fa46b4: Download complete Step #1: 1ba5f54a6ff9: Verifying Checksum Step #1: 1ba5f54a6ff9: Download complete Step #1: f2fcf2e227f4: Pull complete Step #1: da477cd879f9: Pull complete Step #1: f9c33016fb16: Pull complete Step #1: 72e497f44a0a: Pull complete Step #1: 807e7e92d553: Pull complete Step #1: 2af538ff64cc: Pull complete Step #1: e2bfef62f127: Pull complete Step #1: bdfc2f43ab22: Pull complete Step #1: 1a2d9435b89f: Pull complete Step #1: 5cfc952b9aa0: Pull complete Step #1: f2cd263c35de: Pull complete Step #1: 113ebc8c163b: Pull complete Step #1: 2e86ff9de0ba: Pull complete Step #1: 654ee72fcad0: Pull complete Step #1: 01af52a281bc: Pull complete Step #1: 81351a185085: Pull complete Step #1: 73f57ed61429: Pull complete Step #1: d3d6171212b0: Pull complete Step #1: aa652db7a318: Pull complete Step #1: 2d902074596f: Pull complete Step #1: ab7266ccacca: Pull complete Step #1: 45a7b69c6c74: Pull complete Step #1: 93feae40aef9: Pull complete Step #1: 20b774d80b34: Pull complete Step #1: 2541c6de8817: Pull complete Step #1: b9010161076d: Pull complete Step #1: 0cf7f9d06e95: Pull complete Step #1: 94434788ccac: Pull complete Step #1: 5be98e82b487: Pull complete Step #1: efee6427d7c0: Pull complete Step #1: 14f059fa46b4: Pull complete Step #1: 1ba5f54a6ff9: Pull complete Step #1: Digest: sha256:b9cd9841bf728e987671c6df82caa94bc6e56d4589175787ea647b6e6654fa8f Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> f03907b9675d Step #1: Step 2/5 : RUN git clone --depth=1 https://github.com/hukkinj1/tomli tomli Step #1: ---> Running in 23398ea51e2e Step #1: Cloning into 'tomli'... Step #1: Removing intermediate container 23398ea51e2e Step #1: ---> 8f1bab1b903b Step #1: Step 3/5 : RUN git clone --depth=1 https://github.com/hukkin/tomli-w tomli-w Step #1: ---> Running in 329d45f2289d Step #1: Cloning into 'tomli-w'... Step #1: Removing intermediate container 329d45f2289d Step #1: ---> bea2838fa432 Step #1: Step 4/5 : COPY *.sh $SRC/ Step #1: ---> f07834cf258d Step #1: Step 5/5 : WORKDIR $SRC/tomli Step #1: ---> Running in b00abd1fb11e Step #1: Removing intermediate container b00abd1fb11e Step #1: ---> 28cd6cc08918 Step #1: Successfully built 28cd6cc08918 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/fileoDcBbM 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=deec36a6642fd88494f3185cf5721daa72e3f42d Step #2 - "srcmap": + jq_inplace /tmp/fileoDcBbM '."/src/tomli-w" = { type: "git", url: "https://github.com/hukkin/tomli-w", rev: "deec36a6642fd88494f3185cf5721daa72e3f42d" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileg1lOLd Step #2 - "srcmap": + cat /tmp/fileoDcBbM Step #2 - "srcmap": + jq '."/src/tomli-w" = { type: "git", url: "https://github.com/hukkin/tomli-w", rev: "deec36a6642fd88494f3185cf5721daa72e3f42d" }' Step #2 - "srcmap": + mv /tmp/fileg1lOLd /tmp/fileoDcBbM 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=4be816b4070f1705e19231166aedf9256aa38086 Step #2 - "srcmap": + jq_inplace /tmp/fileoDcBbM '."/src/tomli" = { type: "git", url: "https://github.com/hukkinj1/tomli", rev: "4be816b4070f1705e19231166aedf9256aa38086" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/file36xobK Step #2 - "srcmap": + cat /tmp/fileoDcBbM Step #2 - "srcmap": + jq '."/src/tomli" = { type: "git", url: "https://github.com/hukkinj1/tomli", rev: "4be816b4070f1705e19231166aedf9256aa38086" }' Step #2 - "srcmap": + mv /tmp/file36xobK /tmp/fileoDcBbM 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/fileoDcBbM Step #2 - "srcmap": + rm /tmp/fileoDcBbM 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": "deec36a6642fd88494f3185cf5721daa72e3f42d" 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": "4be816b4070f1705e19231166aedf9256aa38086" 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/tomli Step #3 - "compile-libfuzzer-address-x86_64": ERROR: Exception: Step #3 - "compile-libfuzzer-address-x86_64": Traceback (most recent call last): Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 188, in main Step #3 - "compile-libfuzzer-address-x86_64": status = self.run(options, args) Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 345, in run Step #3 - "compile-libfuzzer-address-x86_64": resolver.resolve(requirement_set) Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/pip/_internal/legacy_resolve.py", line 196, in resolve Step #3 - "compile-libfuzzer-address-x86_64": self._resolve_one(requirement_set, req) Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/pip/_internal/legacy_resolve.py", line 359, in _resolve_one Step #3 - "compile-libfuzzer-address-x86_64": abstract_dist = self._get_abstract_dist_for(req_to_install) Step #3 - "compile-libfuzzer-address-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-address-x86_64": abstract_dist = self.preparer.prepare_linked_requirement( Step #3 - "compile-libfuzzer-address-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-address-x86_64": abstract_dist.prepare_distribution_metadata( Step #3 - "compile-libfuzzer-address-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-address-x86_64": self.req.load_pyproject_toml() Step #3 - "compile-libfuzzer-address-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-address-x86_64": pyproject_toml_data = load_pyproject_toml( Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/pip/_internal/pyproject.py", line 66, in load_pyproject_toml Step #3 - "compile-libfuzzer-address-x86_64": pp_toml = pytoml.load(f) Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pytoml/parser.py", line 11, in load Step #3 - "compile-libfuzzer-address-x86_64": return loads(fin.read(), translate=translate, object_pairs_hook=object_pairs_hook, filename=getattr(fin, 'name', repr(fin))) Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pytoml/parser.py", line 46, in loads Step #3 - "compile-libfuzzer-address-x86_64": scope[k] = process_value(v, object_pairs_hook=object_pairs_hook) Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pytoml/parser.py", line 36, in process_value Step #3 - "compile-libfuzzer-address-x86_64": value = [process_value(item, object_pairs_hook=object_pairs_hook) for item in value] Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pytoml/parser.py", line 36, in Step #3 - "compile-libfuzzer-address-x86_64": value = [process_value(item, object_pairs_hook=object_pairs_hook) for item in value] Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pytoml/parser.py", line 35, in process_value Step #3 - "compile-libfuzzer-address-x86_64": error('array-type-mismatch') Step #3 - "compile-libfuzzer-address-x86_64": File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pytoml/parser.py", line 27, in error Step #3 - "compile-libfuzzer-address-x86_64": raise TomlError(msg, pos[0], pos[1], filename) Step #3 - "compile-libfuzzer-address-x86_64": pip._vendor.pytoml.core.TomlError: /tmp/pip-req-build-a9nav2hy/pyproject.toml(53, 1): array-type-mismatch Step #3 - "compile-libfuzzer-address-x86_64": WARNING: You are using pip version 19.2.3, however version 24.2 is available. Step #3 - "compile-libfuzzer-address-x86_64": You should consider upgrading via the 'pip install --upgrade pip' command. Step #3 - "compile-libfuzzer-address-x86_64": ******************************************************************************** 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 tomli Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 tomli 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