starting build "200a4f6b-09f6-4194-b89f-98bff9b7a626" 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: 8726513ee210: Pulling fs layer Step #1: 7054a7cd5879: Pulling fs layer Step #1: fa4207b84c31: Pulling fs layer Step #1: c9e16898e54d: Pulling fs layer Step #1: a397e481ff57: Pulling fs layer Step #1: 7f90ecb8e4d6: Pulling fs layer Step #1: ce26b4380d46: Pulling fs layer Step #1: 5dc6edc3cf5f: Pulling fs layer Step #1: 5173cde1bd66: Pulling fs layer Step #1: 1e34e18e386e: Pulling fs layer Step #1: da35800ee821: Pulling fs layer Step #1: 8c2556f55b93: Pulling fs layer Step #1: bf4f02a303d8: Pulling fs layer Step #1: bfc41af53bee: Pulling fs layer Step #1: ee19cad5d6c8: Pulling fs layer Step #1: 43fb6ebaf28e: Pulling fs layer Step #1: e2bf934a1fde: Pulling fs layer Step #1: c9e16898e54d: Waiting Step #1: 67ae2060248d: Pulling fs layer Step #1: eccb1330175b: Pulling fs layer Step #1: a397e481ff57: Waiting Step #1: 20f0bfcb2bcb: Pulling fs layer Step #1: 0f18c7482fde: Pulling fs layer Step #1: 5173cde1bd66: Waiting Step #1: 7f90ecb8e4d6: Waiting Step #1: f931609958c7: Pulling fs layer Step #1: 7384719a7753: Pulling fs layer Step #1: ce26b4380d46: Waiting Step #1: b840ccdb7eeb: Pulling fs layer Step #1: 1e34e18e386e: Waiting Step #1: cbffa59180b5: Pulling fs layer Step #1: 5dc6edc3cf5f: Waiting Step #1: 3291b748342a: Pulling fs layer Step #1: da35800ee821: Waiting Step #1: ef31bd35b792: Pulling fs layer Step #1: 8c2556f55b93: Waiting Step #1: b1256746ef70: Pulling fs layer Step #1: bf4f02a303d8: Waiting Step #1: ce1ee8b7110e: Pulling fs layer Step #1: bfc41af53bee: Waiting Step #1: 1bbdcbbd8481: Pulling fs layer Step #1: fa4207b84c31: Waiting Step #1: 1933c895cdb1: Pulling fs layer Step #1: eccb1330175b: Waiting Step #1: 43fb6ebaf28e: Waiting Step #1: 0f18c7482fde: Waiting Step #1: b7996f25e313: Pulling fs layer Step #1: 20f0bfcb2bcb: Waiting Step #1: e2bf934a1fde: Waiting Step #1: f931609958c7: Waiting Step #1: 67ae2060248d: Waiting Step #1: cbffa59180b5: Waiting Step #1: ce1ee8b7110e: Waiting Step #1: 7384719a7753: Waiting Step #1: b1256746ef70: Waiting Step #1: ee19cad5d6c8: Waiting Step #1: b7996f25e313: Waiting Step #1: 1933c895cdb1: Waiting Step #1: 3291b748342a: Waiting Step #1: 1bbdcbbd8481: Waiting Step #1: b840ccdb7eeb: Waiting Step #1: ef31bd35b792: Waiting Step #1: 7054a7cd5879: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: fa4207b84c31: Verifying Checksum Step #1: fa4207b84c31: Download complete Step #1: c9e16898e54d: Verifying Checksum Step #1: c9e16898e54d: Download complete Step #1: a397e481ff57: Verifying Checksum Step #1: a397e481ff57: Download complete Step #1: ce26b4380d46: Verifying Checksum Step #1: ce26b4380d46: Download complete Step #1: 5dc6edc3cf5f: Verifying Checksum Step #1: 5dc6edc3cf5f: Download complete Step #1: 8726513ee210: Verifying Checksum Step #1: 8726513ee210: Download complete Step #1: 1e34e18e386e: Verifying Checksum Step #1: 1e34e18e386e: Download complete Step #1: b549f31133a9: Pull complete Step #1: da35800ee821: Verifying Checksum Step #1: da35800ee821: Download complete Step #1: 8c2556f55b93: Verifying Checksum Step #1: 8c2556f55b93: Download complete Step #1: bf4f02a303d8: Verifying Checksum Step #1: bf4f02a303d8: Download complete Step #1: bfc41af53bee: Verifying Checksum Step #1: bfc41af53bee: Download complete Step #1: ee19cad5d6c8: Verifying Checksum Step #1: ee19cad5d6c8: Download complete Step #1: 43fb6ebaf28e: Verifying Checksum Step #1: 43fb6ebaf28e: Download complete Step #1: e2bf934a1fde: Verifying Checksum Step #1: e2bf934a1fde: Download complete Step #1: 67ae2060248d: Verifying Checksum Step #1: 67ae2060248d: Download complete Step #1: 5173cde1bd66: Verifying Checksum Step #1: 5173cde1bd66: Download complete Step #1: 20f0bfcb2bcb: Verifying Checksum Step #1: 20f0bfcb2bcb: Download complete Step #1: eccb1330175b: Verifying Checksum Step #1: eccb1330175b: Download complete Step #1: f931609958c7: Verifying Checksum Step #1: f931609958c7: Download complete Step #1: 0f18c7482fde: Verifying Checksum Step #1: 0f18c7482fde: Download complete Step #1: 7384719a7753: Download complete Step #1: b840ccdb7eeb: Verifying Checksum Step #1: b840ccdb7eeb: Download complete Step #1: cbffa59180b5: Verifying Checksum Step #1: cbffa59180b5: Download complete Step #1: 3291b748342a: Verifying Checksum Step #1: 3291b748342a: Download complete Step #1: ef31bd35b792: Verifying Checksum Step #1: ef31bd35b792: Download complete Step #1: ce1ee8b7110e: Verifying Checksum Step #1: ce1ee8b7110e: Download complete Step #1: b1256746ef70: Verifying Checksum Step #1: b1256746ef70: Download complete Step #1: 1bbdcbbd8481: Download complete Step #1: 1933c895cdb1: Verifying Checksum Step #1: 1933c895cdb1: Download complete Step #1: 7f90ecb8e4d6: Verifying Checksum Step #1: 7f90ecb8e4d6: Download complete Step #1: b7996f25e313: Verifying Checksum Step #1: b7996f25e313: Download complete Step #1: 8726513ee210: Pull complete Step #1: 7054a7cd5879: Pull complete Step #1: fa4207b84c31: Pull complete Step #1: c9e16898e54d: Pull complete Step #1: a397e481ff57: Pull complete Step #1: 7f90ecb8e4d6: Pull complete Step #1: ce26b4380d46: Pull complete Step #1: 5dc6edc3cf5f: Pull complete Step #1: 5173cde1bd66: Pull complete Step #1: 1e34e18e386e: Pull complete Step #1: da35800ee821: Pull complete Step #1: 8c2556f55b93: Pull complete Step #1: bf4f02a303d8: Pull complete Step #1: bfc41af53bee: Pull complete Step #1: ee19cad5d6c8: Pull complete Step #1: 43fb6ebaf28e: Pull complete Step #1: e2bf934a1fde: Pull complete Step #1: 67ae2060248d: Pull complete Step #1: eccb1330175b: Pull complete Step #1: 20f0bfcb2bcb: Pull complete Step #1: 0f18c7482fde: Pull complete Step #1: f931609958c7: Pull complete Step #1: 7384719a7753: Pull complete Step #1: b840ccdb7eeb: Pull complete Step #1: cbffa59180b5: Pull complete Step #1: 3291b748342a: Pull complete Step #1: ef31bd35b792: Pull complete Step #1: b1256746ef70: Pull complete Step #1: ce1ee8b7110e: Pull complete Step #1: 1bbdcbbd8481: Pull complete Step #1: 1933c895cdb1: Pull complete Step #1: b7996f25e313: Pull complete Step #1: Digest: sha256:ba954e7d236623b4f1b262baad816902b15a08bb5153244a5c493864605e3def Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-javascript:latest Step #1: ---> a0416f246558 Step #1: Step 2/7 : COPY build.sh $SRC/ Step #1: ---> 7f20c82d76e0 Step #1: Step 3/7 : RUN git clone --depth 1 https://github.com/canvg/canvg Step #1: ---> Running in e808e67fbf7e Step #1: Cloning into 'canvg'... Step #1: Removing intermediate container e808e67fbf7e Step #1: ---> ce69836e6a52 Step #1: Step 4/7 : COPY fuzz.js $SRC/canvg Step #1: ---> 40e0264c150c Step #1: Step 5/7 : COPY babel.config.json $SRC/canvg Step #1: ---> 939fc1293ef8 Step #1: Step 6/7 : COPY package.patch $SRC/canvg Step #1: ---> d67e36171562 Step #1: Step 7/7 : WORKDIR $SRC/canvg Step #1: ---> Running in 362dc9bd9da5 Step #1: Removing intermediate container 362dc9bd9da5 Step #1: ---> f0ff81c57cea Step #1: Successfully built f0ff81c57cea 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/filewmqFaP 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/filewmqFaP '."/src/canvg" = { type: "git", url: "https://github.com/canvg/canvg", rev: "937668eced93e0335c67a255d0d2277ea708b2cb" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/file9popo9 Step #2 - "srcmap": + cat /tmp/filewmqFaP Step #2 - "srcmap": + jq '."/src/canvg" = { type: "git", url: "https://github.com/canvg/canvg", rev: "937668eced93e0335c67a255d0d2277ea708b2cb" }' Step #2 - "srcmap": + mv /tmp/file9popo9 /tmp/filewmqFaP 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/filewmqFaP Step #2 - "srcmap": + rm /tmp/filewmqFaP 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