starting build "0f7ac2d7-791f-4c74-97fa-9fa6faa66288" 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: 3d710c687d00: Pulling fs layer Step #1: 5871c999bb7f: Pulling fs layer Step #1: 49000c630162: Pulling fs layer Step #1: 5392ce741eff: Pulling fs layer Step #1: 263734d12e9c: Pulling fs layer Step #1: 7306bd1f392c: Pulling fs layer Step #1: 4e4e8971c238: Pulling fs layer Step #1: ab58def3c482: Pulling fs layer Step #1: bf2fdf6c64d4: Pulling fs layer Step #1: 19538d0a2442: Pulling fs layer Step #1: 7810f4e9fe4d: Pulling fs layer Step #1: 9d66997e22ca: Pulling fs layer Step #1: 2ffeb66e248c: Pulling fs layer Step #1: e931b1039fcc: Pulling fs layer Step #1: 68e5052c5cfe: Pulling fs layer Step #1: 872fbc0da05e: Pulling fs layer Step #1: 0c63282fb394: Pulling fs layer Step #1: 9e5473413b08: Pulling fs layer Step #1: e57b519feb8f: Pulling fs layer Step #1: 7bb19315c9db: Pulling fs layer Step #1: 7ebdcf9f783d: Pulling fs layer Step #1: ababc272d73e: Pulling fs layer Step #1: 9b86524e6f04: Pulling fs layer Step #1: b686b4d27010: Pulling fs layer Step #1: 41bd949d07dc: Pulling fs layer Step #1: 263734d12e9c: Waiting Step #1: 752af61ae2bf: Pulling fs layer Step #1: 9b3040955b60: Pulling fs layer Step #1: acb248606d61: Pulling fs layer Step #1: 4daa157fbf24: Pulling fs layer Step #1: 7306bd1f392c: Waiting Step #1: a691504df577: Pulling fs layer Step #1: c4c6ca34d89b: Pulling fs layer Step #1: 2a3c5dbe3101: Pulling fs layer Step #1: 4e4e8971c238: Waiting Step #1: ab58def3c482: Waiting Step #1: 49000c630162: Waiting Step #1: 7810f4e9fe4d: Waiting Step #1: 19538d0a2442: Waiting Step #1: 9d66997e22ca: Waiting Step #1: bf2fdf6c64d4: Waiting Step #1: 9b86524e6f04: Waiting Step #1: 2ffeb66e248c: Waiting Step #1: b686b4d27010: Waiting Step #1: 5392ce741eff: Waiting Step #1: 9e5473413b08: Waiting Step #1: 872fbc0da05e: Waiting Step #1: 41bd949d07dc: Waiting Step #1: 752af61ae2bf: Waiting Step #1: e57b519feb8f: Waiting Step #1: 68e5052c5cfe: Waiting Step #1: e931b1039fcc: Waiting Step #1: 9b3040955b60: Waiting Step #1: 7bb19315c9db: Waiting Step #1: acb248606d61: Waiting Step #1: 2a3c5dbe3101: Waiting Step #1: 4daa157fbf24: Waiting Step #1: 0c63282fb394: Waiting Step #1: ababc272d73e: Waiting Step #1: a691504df577: Waiting Step #1: c4c6ca34d89b: Waiting Step #1: 7ebdcf9f783d: Waiting Step #1: 5871c999bb7f: Verifying Checksum Step #1: 5871c999bb7f: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 49000c630162: Verifying Checksum Step #1: 49000c630162: Download complete Step #1: 5392ce741eff: Verifying Checksum Step #1: 5392ce741eff: Download complete Step #1: 3d710c687d00: Verifying Checksum Step #1: 3d710c687d00: Download complete Step #1: 263734d12e9c: Download complete Step #1: 4e4e8971c238: Verifying Checksum Step #1: 4e4e8971c238: Download complete Step #1: ab58def3c482: Verifying Checksum Step #1: ab58def3c482: Download complete Step #1: b549f31133a9: Pull complete Step #1: 19538d0a2442: Verifying Checksum Step #1: 19538d0a2442: Download complete Step #1: 7810f4e9fe4d: Download complete Step #1: 9d66997e22ca: Verifying Checksum Step #1: 9d66997e22ca: Download complete Step #1: bf2fdf6c64d4: Verifying Checksum Step #1: bf2fdf6c64d4: Download complete Step #1: 2ffeb66e248c: Download complete Step #1: e931b1039fcc: Verifying Checksum Step #1: 68e5052c5cfe: Verifying Checksum Step #1: 68e5052c5cfe: Download complete Step #1: 872fbc0da05e: Verifying Checksum Step #1: 872fbc0da05e: Download complete Step #1: 0c63282fb394: Verifying Checksum Step #1: 0c63282fb394: Download complete Step #1: 9e5473413b08: Verifying Checksum Step #1: 9e5473413b08: Download complete Step #1: 7306bd1f392c: Verifying Checksum Step #1: 7306bd1f392c: Download complete Step #1: e57b519feb8f: Verifying Checksum Step #1: e57b519feb8f: Download complete Step #1: 7bb19315c9db: Verifying Checksum Step #1: 7bb19315c9db: Download complete Step #1: ababc272d73e: Download complete Step #1: 7ebdcf9f783d: Verifying Checksum Step #1: 7ebdcf9f783d: Download complete Step #1: 9b86524e6f04: Verifying Checksum Step #1: 9b86524e6f04: Download complete Step #1: 41bd949d07dc: Verifying Checksum Step #1: 41bd949d07dc: Download complete Step #1: b686b4d27010: Download complete Step #1: 752af61ae2bf: Verifying Checksum Step #1: 752af61ae2bf: Download complete Step #1: 3d710c687d00: Pull complete Step #1: 5871c999bb7f: Pull complete Step #1: 9b3040955b60: Verifying Checksum Step #1: 9b3040955b60: Download complete Step #1: 4daa157fbf24: Verifying Checksum Step #1: 4daa157fbf24: Download complete Step #1: acb248606d61: Verifying Checksum Step #1: acb248606d61: Download complete Step #1: a691504df577: Verifying Checksum Step #1: a691504df577: Download complete Step #1: c4c6ca34d89b: Verifying Checksum Step #1: c4c6ca34d89b: Download complete Step #1: 2a3c5dbe3101: Verifying Checksum Step #1: 2a3c5dbe3101: Download complete Step #1: 49000c630162: Pull complete Step #1: 5392ce741eff: Pull complete Step #1: 263734d12e9c: Pull complete Step #1: 7306bd1f392c: Pull complete Step #1: 4e4e8971c238: Pull complete Step #1: ab58def3c482: Pull complete Step #1: bf2fdf6c64d4: Pull complete Step #1: 19538d0a2442: Pull complete Step #1: 7810f4e9fe4d: Pull complete Step #1: 9d66997e22ca: Pull complete Step #1: 2ffeb66e248c: Pull complete Step #1: e931b1039fcc: Pull complete Step #1: 68e5052c5cfe: Pull complete Step #1: 872fbc0da05e: Pull complete Step #1: 0c63282fb394: Pull complete Step #1: 9e5473413b08: Pull complete Step #1: e57b519feb8f: Pull complete Step #1: 7bb19315c9db: Pull complete Step #1: 7ebdcf9f783d: Pull complete Step #1: ababc272d73e: Pull complete Step #1: 9b86524e6f04: Pull complete Step #1: b686b4d27010: Pull complete Step #1: 41bd949d07dc: Pull complete Step #1: 752af61ae2bf: Pull complete Step #1: 9b3040955b60: Pull complete Step #1: acb248606d61: Pull complete Step #1: 4daa157fbf24: Pull complete Step #1: a691504df577: Pull complete Step #1: c4c6ca34d89b: Pull complete Step #1: 2a3c5dbe3101: Pull complete Step #1: Digest: sha256:bb8b98b86512cd8d5ebb358fe7fa9c519abd9009d299abd1052de70bd9c67b7f Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> 82c25be03fb0 Step #1: Step 2/5 : RUN git clone --depth=1 https://github.com/hukkinj1/tomli tomli Step #1: ---> Running in 89100465c40f Step #1: Cloning into 'tomli'... Step #1: Removing intermediate container 89100465c40f Step #1: ---> 1aad9d780f26 Step #1: Step 3/5 : RUN git clone --depth=1 https://github.com/hukkin/tomli-w tomli-w Step #1: ---> Running in bf92af4e238e Step #1: Cloning into 'tomli-w'... Step #1: Removing intermediate container bf92af4e238e Step #1: ---> 5b8820ee6993 Step #1: Step 4/5 : COPY *.sh $SRC/ Step #1: ---> 7d1ce77dd34e Step #1: Step 5/5 : WORKDIR $SRC/tomli Step #1: ---> Running in 58c92481840e Step #1: Removing intermediate container 58c92481840e Step #1: ---> f491d4b0196b Step #1: Successfully built f491d4b0196b 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/filelgmjxH 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=940e9f3f6e91320ac645bd6bab82b3649ff215eb Step #2 - "srcmap": + jq_inplace /tmp/filelgmjxH '."/src/tomli-w" = { type: "git", url: "https://github.com/hukkin/tomli-w", rev: "940e9f3f6e91320ac645bd6bab82b3649ff215eb" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileWx3gb5 Step #2 - "srcmap": + cat /tmp/filelgmjxH Step #2 - "srcmap": + jq '."/src/tomli-w" = { type: "git", url: "https://github.com/hukkin/tomli-w", rev: "940e9f3f6e91320ac645bd6bab82b3649ff215eb" }' Step #2 - "srcmap": + mv /tmp/fileWx3gb5 /tmp/filelgmjxH 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=f57fb669e9147bc69e2681ce7eeea2ed6294c039 Step #2 - "srcmap": + jq_inplace /tmp/filelgmjxH '."/src/tomli" = { type: "git", url: "https://github.com/hukkinj1/tomli", rev: "f57fb669e9147bc69e2681ce7eeea2ed6294c039" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileBhUPMC Step #2 - "srcmap": + cat /tmp/filelgmjxH Step #2 - "srcmap": + jq '."/src/tomli" = { type: "git", url: "https://github.com/hukkinj1/tomli", rev: "f57fb669e9147bc69e2681ce7eeea2ed6294c039" }' Step #2 - "srcmap": + mv /tmp/fileBhUPMC /tmp/filelgmjxH 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/filelgmjxH Step #2 - "srcmap": + rm /tmp/filelgmjxH 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": "940e9f3f6e91320ac645bd6bab82b3649ff215eb" 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": "f57fb669e9147bc69e2681ce7eeea2ed6294c039" 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-g47yg061/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.2 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