starting build "06319eba-bdaa-422f-8cec-ac49f191ae4e" 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: 68f0a05088d4: Pulling fs layer Step #1: fc036af1fb82: Pulling fs layer Step #1: 4dd984a2c4cd: Pulling fs layer Step #1: 02f44cff9251: Pulling fs layer Step #1: 78eedb9c24d1: Pulling fs layer Step #1: c10ce716bc48: Pulling fs layer Step #1: 5a002da03f93: Pulling fs layer Step #1: c26cf580b400: Pulling fs layer Step #1: a34000951f24: Pulling fs layer Step #1: 09d46e9bcc80: Pulling fs layer Step #1: e868cba1bf9d: Pulling fs layer Step #1: bb609e1d8712: Pulling fs layer Step #1: 9cefa2757712: Pulling fs layer Step #1: 504c7b716e54: Pulling fs layer Step #1: d5a6ee2c6055: Pulling fs layer Step #1: 5da197700b3d: Pulling fs layer Step #1: 34ce862331f6: Pulling fs layer Step #1: 9859ff431d87: Pulling fs layer Step #1: 5e4160ae6b8d: Pulling fs layer Step #1: d6b2b8ceba38: Pulling fs layer Step #1: a98e84c730db: Pulling fs layer Step #1: 110756886791: Pulling fs layer Step #1: 84ca88975d01: Pulling fs layer Step #1: e1cbe534da93: Pulling fs layer Step #1: d7f2a05063bc: Pulling fs layer Step #1: db2baaddc893: Pulling fs layer Step #1: 37586d83063c: Pulling fs layer Step #1: 618d4cdb2e86: Pulling fs layer Step #1: da476df3c135: Pulling fs layer Step #1: 635e322a5c23: Pulling fs layer Step #1: 02f44cff9251: Waiting Step #1: 78eedb9c24d1: Waiting Step #1: 5e4160ae6b8d: Waiting Step #1: c10ce716bc48: Waiting Step #1: d6b2b8ceba38: Waiting Step #1: 5a002da03f93: Waiting Step #1: a98e84c730db: Waiting Step #1: 110756886791: Waiting Step #1: c26cf580b400: Waiting Step #1: 84ca88975d01: Waiting Step #1: a34000951f24: Waiting Step #1: e1cbe534da93: Waiting Step #1: 09d46e9bcc80: Waiting Step #1: d7f2a05063bc: Waiting Step #1: e868cba1bf9d: Waiting Step #1: db2baaddc893: Waiting Step #1: bb609e1d8712: Waiting Step #1: 37586d83063c: Waiting Step #1: 9cefa2757712: Waiting Step #1: 618d4cdb2e86: Waiting Step #1: 34ce862331f6: Waiting Step #1: 504c7b716e54: Waiting Step #1: 9859ff431d87: Waiting Step #1: 4dd984a2c4cd: Waiting Step #1: d5a6ee2c6055: Waiting Step #1: da476df3c135: Waiting Step #1: 5da197700b3d: Waiting Step #1: 635e322a5c23: Waiting Step #1: fc036af1fb82: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 4dd984a2c4cd: Verifying Checksum Step #1: 4dd984a2c4cd: Download complete Step #1: 02f44cff9251: Verifying Checksum Step #1: 02f44cff9251: Download complete Step #1: 78eedb9c24d1: Verifying Checksum Step #1: 78eedb9c24d1: Download complete Step #1: 5a002da03f93: Verifying Checksum Step #1: 5a002da03f93: Download complete Step #1: c26cf580b400: Download complete Step #1: 68f0a05088d4: Verifying Checksum Step #1: 68f0a05088d4: Download complete Step #1: 09d46e9bcc80: Verifying Checksum Step #1: 09d46e9bcc80: Download complete Step #1: e868cba1bf9d: Verifying Checksum Step #1: e868cba1bf9d: Download complete Step #1: bb609e1d8712: Verifying Checksum Step #1: bb609e1d8712: Download complete Step #1: b549f31133a9: Pull complete Step #1: 9cefa2757712: Verifying Checksum Step #1: 9cefa2757712: Download complete Step #1: 504c7b716e54: Download complete Step #1: d5a6ee2c6055: Verifying Checksum Step #1: d5a6ee2c6055: Download complete Step #1: 5da197700b3d: Verifying Checksum Step #1: 5da197700b3d: Download complete Step #1: 34ce862331f6: Download complete Step #1: 9859ff431d87: Verifying Checksum Step #1: 9859ff431d87: Download complete Step #1: 5e4160ae6b8d: Verifying Checksum Step #1: 5e4160ae6b8d: Download complete Step #1: d6b2b8ceba38: Verifying Checksum Step #1: d6b2b8ceba38: Download complete Step #1: a34000951f24: Verifying Checksum Step #1: a34000951f24: Download complete Step #1: a98e84c730db: Verifying Checksum Step #1: a98e84c730db: Download complete Step #1: 110756886791: Verifying Checksum Step #1: 110756886791: Download complete Step #1: 84ca88975d01: Verifying Checksum Step #1: 84ca88975d01: Download complete Step #1: e1cbe534da93: Verifying Checksum Step #1: e1cbe534da93: Download complete Step #1: d7f2a05063bc: Verifying Checksum Step #1: d7f2a05063bc: Download complete Step #1: 37586d83063c: Download complete Step #1: db2baaddc893: Verifying Checksum Step #1: db2baaddc893: Download complete Step #1: 618d4cdb2e86: Verifying Checksum Step #1: 618d4cdb2e86: Download complete Step #1: da476df3c135: Download complete Step #1: c10ce716bc48: Verifying Checksum Step #1: c10ce716bc48: Download complete Step #1: 635e322a5c23: Verifying Checksum Step #1: 635e322a5c23: Download complete Step #1: 68f0a05088d4: Pull complete Step #1: fc036af1fb82: Pull complete Step #1: 4dd984a2c4cd: Pull complete Step #1: 02f44cff9251: Pull complete Step #1: 78eedb9c24d1: Pull complete Step #1: c10ce716bc48: Pull complete Step #1: 5a002da03f93: Pull complete Step #1: c26cf580b400: Pull complete Step #1: a34000951f24: Pull complete Step #1: 09d46e9bcc80: Pull complete Step #1: e868cba1bf9d: Pull complete Step #1: bb609e1d8712: Pull complete Step #1: 9cefa2757712: Pull complete Step #1: 504c7b716e54: Pull complete Step #1: d5a6ee2c6055: Pull complete Step #1: 5da197700b3d: Pull complete Step #1: 34ce862331f6: Pull complete Step #1: 9859ff431d87: Pull complete Step #1: 5e4160ae6b8d: Pull complete Step #1: d6b2b8ceba38: Pull complete Step #1: a98e84c730db: Pull complete Step #1: 110756886791: Pull complete Step #1: 84ca88975d01: Pull complete Step #1: e1cbe534da93: Pull complete Step #1: d7f2a05063bc: Pull complete Step #1: db2baaddc893: Pull complete Step #1: 37586d83063c: Pull complete Step #1: 618d4cdb2e86: Pull complete Step #1: da476df3c135: Pull complete Step #1: 635e322a5c23: Pull complete Step #1: Digest: sha256:a2b4ca790cf0554d7d8fa56a531a36386913ca2938b4c96e38431049d74733da Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-javascript:latest Step #1: ---> b5ec8e27d9a8 Step #1: Step 2/7 : COPY build.sh $SRC/ Step #1: ---> 068edfd4137f Step #1: Step 3/7 : RUN git clone --depth 1 https://github.com/canvg/canvg Step #1: ---> Running in 92244bf781ac Step #1: Cloning into 'canvg'... Step #1: Removing intermediate container 92244bf781ac Step #1: ---> e347908ffd42 Step #1: Step 4/7 : COPY fuzz.js $SRC/canvg Step #1: ---> 95cdccbc1696 Step #1: Step 5/7 : COPY babel.config.json $SRC/canvg Step #1: ---> feeb489537cb Step #1: Step 6/7 : COPY package.patch $SRC/canvg Step #1: ---> 524e88ec25f8 Step #1: Step 7/7 : WORKDIR $SRC/canvg Step #1: ---> Running in 58acbea182d6 Step #1: Removing intermediate container 58acbea182d6 Step #1: ---> 9cd20890a900 Step #1: Successfully built 9cd20890a900 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/file8SX2QL 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/file8SX2QL '."/src/canvg" = { type: "git", url: "https://github.com/canvg/canvg", rev: "937668eced93e0335c67a255d0d2277ea708b2cb" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileKtahib Step #2 - "srcmap": + cat /tmp/file8SX2QL Step #2 - "srcmap": + jq '."/src/canvg" = { type: "git", url: "https://github.com/canvg/canvg", rev: "937668eced93e0335c67a255d0d2277ea708b2cb" }' Step #2 - "srcmap": + mv /tmp/fileKtahib /tmp/file8SX2QL 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/file8SX2QL Step #2 - "srcmap": + rm /tmp/file8SX2QL 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