starting build "ada21601-0d83-4ad1-83f1-19af17269593" 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 12.8kB Step #1: Step 1/7 : FROM gcr.io/oss-fuzz-base/base-builder-javascript Step #1: latest: Pulling from oss-fuzz-base/base-builder-javascript Step #1: b549f31133a9: Pulling fs layer Step #1: 9f80bca35359: Pulling fs layer Step #1: c2e9ab7e6d55: Pulling fs layer Step #1: a2c1799b005c: Pulling fs layer Step #1: 647124c852bc: Pulling fs layer Step #1: 4c0db9535385: Pulling fs layer Step #1: 7d9d6400b844: Pulling fs layer Step #1: b95ba533437d: Pulling fs layer Step #1: 98ef18780bd4: Pulling fs layer Step #1: 0bcc6c903840: Pulling fs layer Step #1: 294ba0b9a924: Pulling fs layer Step #1: 344841c178fd: Pulling fs layer Step #1: 8a24d9f6813c: Pulling fs layer Step #1: 8cfff2f8b62b: Pulling fs layer Step #1: 7b6fc8fef10c: Pulling fs layer Step #1: b56b52e44dc7: Pulling fs layer Step #1: d4dbf4e8824f: Pulling fs layer Step #1: fa95fc65ee8e: Pulling fs layer Step #1: 1da1ba4445a7: Pulling fs layer Step #1: 14cc587b05ae: Pulling fs layer Step #1: 03fa8c0fad9a: Pulling fs layer Step #1: ccfd740776f9: Pulling fs layer Step #1: 04ec2d031af9: Pulling fs layer Step #1: 0fe86fe6d25a: Pulling fs layer Step #1: 3d5e727cc8f7: Pulling fs layer Step #1: 639389e328da: Pulling fs layer Step #1: da2ba7c8e5f6: Pulling fs layer Step #1: 0c2ec5c7c85c: Pulling fs layer Step #1: 189e9da4e490: Pulling fs layer Step #1: 6ec4707e85be: Pulling fs layer Step #1: 3a4b0407ab9d: Pulling fs layer Step #1: a2c1799b005c: Waiting Step #1: 7d9d6400b844: Waiting Step #1: d4dbf4e8824f: Waiting Step #1: ccfd740776f9: Waiting Step #1: 04ec2d031af9: Waiting Step #1: fa95fc65ee8e: Waiting Step #1: 0c2ec5c7c85c: Waiting Step #1: 344841c178fd: Waiting Step #1: b95ba533437d: Waiting Step #1: 647124c852bc: Waiting Step #1: 4c0db9535385: Waiting Step #1: 0fe86fe6d25a: Waiting Step #1: 14cc587b05ae: Waiting Step #1: 639389e328da: Waiting Step #1: 8cfff2f8b62b: Waiting Step #1: 3a4b0407ab9d: Waiting Step #1: 03fa8c0fad9a: Waiting Step #1: 0bcc6c903840: Waiting Step #1: 98ef18780bd4: Waiting Step #1: 7b6fc8fef10c: Waiting Step #1: 189e9da4e490: Waiting Step #1: 1da1ba4445a7: Waiting Step #1: 8a24d9f6813c: Waiting Step #1: 6ec4707e85be: Waiting Step #1: c2e9ab7e6d55: Verifying Checksum Step #1: c2e9ab7e6d55: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 647124c852bc: Verifying Checksum Step #1: 647124c852bc: Download complete Step #1: a2c1799b005c: Verifying Checksum Step #1: a2c1799b005c: Download complete Step #1: 4c0db9535385: Download complete Step #1: b95ba533437d: Download complete Step #1: 98ef18780bd4: Verifying Checksum Step #1: 98ef18780bd4: Download complete Step #1: 9f80bca35359: Verifying Checksum Step #1: 9f80bca35359: Download complete Step #1: 294ba0b9a924: Verifying Checksum Step #1: 294ba0b9a924: Download complete Step #1: 344841c178fd: Verifying Checksum Step #1: 344841c178fd: Download complete Step #1: b549f31133a9: Pull complete Step #1: 8a24d9f6813c: Verifying Checksum Step #1: 8a24d9f6813c: Download complete Step #1: 8cfff2f8b62b: Verifying Checksum Step #1: 8cfff2f8b62b: Download complete Step #1: 7b6fc8fef10c: Verifying Checksum Step #1: 7b6fc8fef10c: Download complete Step #1: b56b52e44dc7: Verifying Checksum Step #1: b56b52e44dc7: Download complete Step #1: d4dbf4e8824f: Verifying Checksum Step #1: d4dbf4e8824f: Download complete Step #1: fa95fc65ee8e: Verifying Checksum Step #1: fa95fc65ee8e: Download complete Step #1: 1da1ba4445a7: Verifying Checksum Step #1: 1da1ba4445a7: Download complete Step #1: 14cc587b05ae: Verifying Checksum Step #1: 14cc587b05ae: Download complete Step #1: 03fa8c0fad9a: Verifying Checksum Step #1: 03fa8c0fad9a: Download complete Step #1: 0bcc6c903840: Verifying Checksum Step #1: 0bcc6c903840: Download complete Step #1: ccfd740776f9: Verifying Checksum Step #1: ccfd740776f9: Download complete Step #1: 04ec2d031af9: Download complete Step #1: 0fe86fe6d25a: Verifying Checksum Step #1: 0fe86fe6d25a: Download complete Step #1: 3d5e727cc8f7: Verifying Checksum Step #1: 3d5e727cc8f7: Download complete Step #1: 639389e328da: Verifying Checksum Step #1: 639389e328da: Download complete Step #1: 0c2ec5c7c85c: Verifying Checksum Step #1: 0c2ec5c7c85c: Download complete Step #1: da2ba7c8e5f6: Verifying Checksum Step #1: da2ba7c8e5f6: Download complete Step #1: 6ec4707e85be: Verifying Checksum Step #1: 6ec4707e85be: Download complete Step #1: 189e9da4e490: Verifying Checksum Step #1: 189e9da4e490: Download complete Step #1: 7d9d6400b844: Verifying Checksum Step #1: 7d9d6400b844: Download complete Step #1: 3a4b0407ab9d: Verifying Checksum Step #1: 3a4b0407ab9d: Download complete Step #1: 9f80bca35359: Pull complete Step #1: c2e9ab7e6d55: Pull complete Step #1: a2c1799b005c: Pull complete Step #1: 647124c852bc: Pull complete Step #1: 4c0db9535385: Pull complete Step #1: 7d9d6400b844: Pull complete Step #1: b95ba533437d: Pull complete Step #1: 98ef18780bd4: Pull complete Step #1: 0bcc6c903840: Pull complete Step #1: 294ba0b9a924: Pull complete Step #1: 344841c178fd: Pull complete Step #1: 8a24d9f6813c: Pull complete Step #1: 8cfff2f8b62b: Pull complete Step #1: 7b6fc8fef10c: Pull complete Step #1: b56b52e44dc7: Pull complete Step #1: d4dbf4e8824f: Pull complete Step #1: fa95fc65ee8e: Pull complete Step #1: 1da1ba4445a7: Pull complete Step #1: 14cc587b05ae: Pull complete Step #1: 03fa8c0fad9a: Pull complete Step #1: ccfd740776f9: Pull complete Step #1: 04ec2d031af9: Pull complete Step #1: 0fe86fe6d25a: Pull complete Step #1: 3d5e727cc8f7: Pull complete Step #1: 639389e328da: Pull complete Step #1: da2ba7c8e5f6: Pull complete Step #1: 0c2ec5c7c85c: Pull complete Step #1: 189e9da4e490: Pull complete Step #1: 6ec4707e85be: Pull complete Step #1: 3a4b0407ab9d: Pull complete Step #1: Digest: sha256:33b7146a840ab5da585ea58f708cc9c510dd4893992a69903822c2d76add8b64 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-javascript:latest Step #1: ---> fe83a67a62de Step #1: Step 2/7 : COPY build.sh $SRC/ Step #1: ---> 451dbbcd99d5 Step #1: Step 3/7 : RUN git clone --depth 1 https://github.com/canvg/canvg Step #1: ---> Running in f6761c41dfb3 Step #1: Cloning into 'canvg'... Step #1: Removing intermediate container f6761c41dfb3 Step #1: ---> 42d8d5309e20 Step #1: Step 4/7 : COPY fuzz.js $SRC/canvg Step #1: ---> 344e313348c3 Step #1: Step 5/7 : COPY babel.config.json $SRC/canvg Step #1: ---> 43a55ea44315 Step #1: Step 6/7 : COPY package.patch $SRC/canvg Step #1: ---> ca16b9630095 Step #1: Step 7/7 : WORKDIR $SRC/canvg Step #1: ---> Running in 1af727a14c10 Step #1: Removing intermediate container 1af727a14c10 Step #1: ---> c353d9198f93 Step #1: Successfully built c353d9198f93 Step #1: Successfully tagged gcr.io/oss-fuzz/canvg:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/canvg Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileA6I85P Step #2 - "srcmap": + echo '{}' Step #2 - "srcmap": + PATHS_TO_SCAN=/src Step #2 - "srcmap": + [[ javascript == \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/canvg/.git Step #2 - "srcmap": + GIT_DIR=/src/canvg Step #2 - "srcmap": + cd /src/canvg Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/canvg/canvg Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=937668eced93e0335c67a255d0d2277ea708b2cb Step #2 - "srcmap": + jq_inplace /tmp/fileA6I85P '."/src/canvg" = { type: "git", url: "https://github.com/canvg/canvg", rev: "937668eced93e0335c67a255d0d2277ea708b2cb" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileynvJ7a Step #2 - "srcmap": + cat /tmp/fileA6I85P Step #2 - "srcmap": + jq '."/src/canvg" = { type: "git", url: "https://github.com/canvg/canvg", rev: "937668eced93e0335c67a255d0d2277ea708b2cb" }' Step #2 - "srcmap": + mv /tmp/fileynvJ7a /tmp/fileA6I85P 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/fileA6I85P Step #2 - "srcmap": + rm /tmp/fileA6I85P Step #2 - "srcmap": { Step #2 - "srcmap": "/src/canvg": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/canvg/canvg", Step #2 - "srcmap": "rev": "937668eced93e0335c67a255d0d2277ea708b2cb" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-libfuzzer-none-x86_64" Step #3 - "compile-libfuzzer-none-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-libfuzzer-none-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-none-x86_64": vm.mmap_rnd_bits = 28 Step #3 - "compile-libfuzzer-none-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #3 - "compile-libfuzzer-none-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-none-x86_64": CC=clang Step #3 - "compile-libfuzzer-none-x86_64": CXX=clang++ Step #3 - "compile-libfuzzer-none-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 -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=fuzzer-no-link Step #3 - "compile-libfuzzer-none-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 -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=fuzzer-no-link -stdlib=libc++ Step #3 - "compile-libfuzzer-none-x86_64": RUSTFLAGS=--cfg fuzzing -Cdebuginfo=1 -Cforce-frame-pointers Step #3 - "compile-libfuzzer-none-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-none-x86_64": + patch package.json Step #3 - "compile-libfuzzer-none-x86_64": patching file package.json Step #3 - "compile-libfuzzer-none-x86_64": Hunk #1 FAILED at 92. Step #3 - "compile-libfuzzer-none-x86_64": 1 out of 1 hunk FAILED -- saving rejects to file package.json.rej Step #3 - "compile-libfuzzer-none-x86_64": ******************************************************************************** Step #3 - "compile-libfuzzer-none-x86_64": Failed to build. Step #3 - "compile-libfuzzer-none-x86_64": To reproduce, run: Step #3 - "compile-libfuzzer-none-x86_64": python infra/helper.py build_image canvg Step #3 - "compile-libfuzzer-none-x86_64": python infra/helper.py build_fuzzers --sanitizer none --engine libfuzzer --architecture x86_64 canvg Step #3 - "compile-libfuzzer-none-x86_64": ******************************************************************************** Finished Step #3 - "compile-libfuzzer-none-x86_64" ERROR ERROR: build step 3 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1