starting build "96b9328c-b13d-4bf1-9d75-d79dbfbe09ca" 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: ba7014a462db: Pulling fs layer Step #1: df5362399123: Pulling fs layer Step #1: bce1cd45230a: Pulling fs layer Step #1: cc827b369a72: Pulling fs layer Step #1: 3b962ecfd278: Pulling fs layer Step #1: 7b5612dd8d84: Pulling fs layer Step #1: 9e650fb89c3c: Pulling fs layer Step #1: 1f055ea1c8df: Pulling fs layer Step #1: 9356f210ae35: Pulling fs layer Step #1: fb17571a0b8c: Pulling fs layer Step #1: a1ad9e74fb5a: Pulling fs layer Step #1: e6ef849bd73c: Pulling fs layer Step #1: 5460d321aa9d: Pulling fs layer Step #1: 47a8ca594ec1: Pulling fs layer Step #1: 4cba161f0ad3: Pulling fs layer Step #1: 8538f4437929: Pulling fs layer Step #1: d709cdf6c37f: Pulling fs layer Step #1: 20a18ef1ac7a: Pulling fs layer Step #1: 9a3145e6cac7: Pulling fs layer Step #1: ba66675f3cfc: Pulling fs layer Step #1: de1a4a1d5fdb: Pulling fs layer Step #1: 8f357c25c664: Pulling fs layer Step #1: d4853bca9e53: Pulling fs layer Step #1: a4abe4d69242: Pulling fs layer Step #1: 860df6b7a18b: Pulling fs layer Step #1: 4624531c3319: Pulling fs layer Step #1: f1357543bf7e: Pulling fs layer Step #1: 60ef5c2c1a75: Pulling fs layer Step #1: 245e98ad5a7a: Pulling fs layer Step #1: 917aaca7b1c1: Pulling fs layer Step #1: 7b9490ba7a17: Pulling fs layer Step #1: b73234c86c93: Pulling fs layer Step #1: bce1cd45230a: Waiting Step #1: 9e650fb89c3c: Waiting Step #1: cc827b369a72: Waiting Step #1: de1a4a1d5fdb: Waiting Step #1: 8f357c25c664: Waiting Step #1: 1f055ea1c8df: Waiting Step #1: 60ef5c2c1a75: Waiting Step #1: 245e98ad5a7a: Waiting Step #1: 917aaca7b1c1: Waiting Step #1: 9356f210ae35: Waiting Step #1: d4853bca9e53: Waiting Step #1: 7b9490ba7a17: Waiting Step #1: fb17571a0b8c: Waiting Step #1: b73234c86c93: Waiting Step #1: a4abe4d69242: Waiting Step #1: a1ad9e74fb5a: Waiting Step #1: 860df6b7a18b: Waiting Step #1: d709cdf6c37f: Waiting Step #1: e6ef849bd73c: Waiting Step #1: 4624531c3319: Waiting Step #1: 20a18ef1ac7a: Waiting Step #1: 5460d321aa9d: Waiting Step #1: f1357543bf7e: Waiting Step #1: 9a3145e6cac7: Waiting Step #1: 3b962ecfd278: Waiting Step #1: 8538f4437929: Waiting Step #1: ba66675f3cfc: Waiting Step #1: 4cba161f0ad3: Waiting Step #1: 47a8ca594ec1: Waiting Step #1: df5362399123: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: cc827b369a72: Verifying Checksum Step #1: cc827b369a72: Download complete Step #1: bce1cd45230a: Verifying Checksum Step #1: bce1cd45230a: Download complete Step #1: 3b962ecfd278: Verifying Checksum Step #1: 3b962ecfd278: Download complete Step #1: ba7014a462db: Verifying Checksum Step #1: ba7014a462db: Download complete Step #1: 9e650fb89c3c: Verifying Checksum Step #1: 9e650fb89c3c: Download complete Step #1: 1f055ea1c8df: Verifying Checksum Step #1: 1f055ea1c8df: Download complete Step #1: b549f31133a9: Pull complete Step #1: fb17571a0b8c: Verifying Checksum Step #1: fb17571a0b8c: Download complete Step #1: a1ad9e74fb5a: Download complete Step #1: e6ef849bd73c: Verifying Checksum Step #1: e6ef849bd73c: Download complete Step #1: 5460d321aa9d: Verifying Checksum Step #1: 5460d321aa9d: Download complete Step #1: 47a8ca594ec1: Verifying Checksum Step #1: 47a8ca594ec1: Download complete Step #1: 4cba161f0ad3: Verifying Checksum Step #1: 4cba161f0ad3: Download complete Step #1: 9356f210ae35: Verifying Checksum Step #1: 9356f210ae35: Download complete Step #1: 8538f4437929: Verifying Checksum Step #1: 8538f4437929: Download complete Step #1: d709cdf6c37f: Verifying Checksum Step #1: d709cdf6c37f: Download complete Step #1: 20a18ef1ac7a: Verifying Checksum Step #1: 20a18ef1ac7a: Download complete Step #1: 9a3145e6cac7: Verifying Checksum Step #1: 9a3145e6cac7: Download complete Step #1: ba66675f3cfc: Verifying Checksum Step #1: ba66675f3cfc: Download complete Step #1: de1a4a1d5fdb: Verifying Checksum Step #1: de1a4a1d5fdb: Download complete Step #1: 8f357c25c664: Verifying Checksum Step #1: 8f357c25c664: Download complete Step #1: d4853bca9e53: Verifying Checksum Step #1: d4853bca9e53: Download complete Step #1: 7b5612dd8d84: Verifying Checksum Step #1: 7b5612dd8d84: Download complete Step #1: a4abe4d69242: Verifying Checksum Step #1: a4abe4d69242: Download complete Step #1: 860df6b7a18b: Verifying Checksum Step #1: 4624531c3319: Verifying Checksum Step #1: 4624531c3319: Download complete Step #1: f1357543bf7e: Verifying Checksum Step #1: f1357543bf7e: Download complete Step #1: 60ef5c2c1a75: Verifying Checksum Step #1: 60ef5c2c1a75: Download complete Step #1: 245e98ad5a7a: Verifying Checksum Step #1: 245e98ad5a7a: Download complete Step #1: 917aaca7b1c1: Verifying Checksum Step #1: 917aaca7b1c1: Download complete Step #1: ba7014a462db: Pull complete Step #1: 7b9490ba7a17: Verifying Checksum Step #1: 7b9490ba7a17: Download complete Step #1: df5362399123: Pull complete Step #1: b73234c86c93: Download complete Step #1: bce1cd45230a: Pull complete Step #1: cc827b369a72: Pull complete Step #1: 3b962ecfd278: Pull complete Step #1: 7b5612dd8d84: Pull complete Step #1: 9e650fb89c3c: Pull complete Step #1: 1f055ea1c8df: Pull complete Step #1: 9356f210ae35: Pull complete Step #1: fb17571a0b8c: Pull complete Step #1: a1ad9e74fb5a: Pull complete Step #1: e6ef849bd73c: Pull complete Step #1: 5460d321aa9d: Pull complete Step #1: 47a8ca594ec1: Pull complete Step #1: 4cba161f0ad3: Pull complete Step #1: 8538f4437929: Pull complete Step #1: d709cdf6c37f: Pull complete Step #1: 20a18ef1ac7a: Pull complete Step #1: 9a3145e6cac7: Pull complete Step #1: ba66675f3cfc: Pull complete Step #1: de1a4a1d5fdb: Pull complete Step #1: 8f357c25c664: Pull complete Step #1: d4853bca9e53: Pull complete Step #1: a4abe4d69242: Pull complete Step #1: 860df6b7a18b: Pull complete Step #1: 4624531c3319: Pull complete Step #1: f1357543bf7e: Pull complete Step #1: 60ef5c2c1a75: Pull complete Step #1: 245e98ad5a7a: Pull complete Step #1: 917aaca7b1c1: Pull complete Step #1: 7b9490ba7a17: Pull complete Step #1: b73234c86c93: Pull complete Step #1: Digest: sha256:98a3661719aa83dafc7efdd8c60004f16f132172e3ed8968ad94174e2aff7b56 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-javascript:latest Step #1: ---> ea4ebf0d8891 Step #1: Step 2/7 : COPY build.sh $SRC/ Step #1: ---> e34404136f76 Step #1: Step 3/7 : RUN git clone --depth 1 https://github.com/canvg/canvg Step #1: ---> Running in 465d3d79f8a5 Step #1: Cloning into 'canvg'... Step #1: Removing intermediate container 465d3d79f8a5 Step #1: ---> 3930bfa85918 Step #1: Step 4/7 : COPY fuzz.js $SRC/canvg Step #1: ---> 2da8dad9be4e Step #1: Step 5/7 : COPY babel.config.json $SRC/canvg Step #1: ---> 35d39d61af4d Step #1: Step 6/7 : COPY package.patch $SRC/canvg Step #1: ---> 1824dff15a23 Step #1: Step 7/7 : WORKDIR $SRC/canvg Step #1: ---> Running in 4417e64604c6 Step #1: Removing intermediate container 4417e64604c6 Step #1: ---> 4e30114ab36d Step #1: Successfully built 4e30114ab36d 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/filer52FBO 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/filer52FBO '."/src/canvg" = { type: "git", url: "https://github.com/canvg/canvg", rev: "937668eced93e0335c67a255d0d2277ea708b2cb" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filegpkyJd Step #2 - "srcmap": + cat /tmp/filer52FBO Step #2 - "srcmap": + jq '."/src/canvg" = { type: "git", url: "https://github.com/canvg/canvg", rev: "937668eced93e0335c67a255d0d2277ea708b2cb" }' Step #2 - "srcmap": + mv /tmp/filegpkyJd /tmp/filer52FBO 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/filer52FBO Step #2 - "srcmap": + rm /tmp/filer52FBO 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 -Wno-error=vla-cxx-extension -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 -Wno-error=vla-cxx-extension -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