starting build "046a4986-7234-4a6b-9485-ac6fd9d709c5" 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/4 : FROM gcr.io/oss-fuzz-base/base-builder Step #1: latest: Pulling from oss-fuzz-base/base-builder 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: 67ae2060248d: Pulling fs layer Step #1: eccb1330175b: Pulling fs layer Step #1: 20f0bfcb2bcb: Pulling fs layer Step #1: 0f18c7482fde: Pulling fs layer Step #1: f931609958c7: Pulling fs layer Step #1: 7384719a7753: Pulling fs layer Step #1: b840ccdb7eeb: Pulling fs layer Step #1: fa4207b84c31: Waiting Step #1: cbffa59180b5: Pulling fs layer Step #1: 3291b748342a: Pulling fs layer Step #1: 5dc6edc3cf5f: Waiting Step #1: ef31bd35b792: Pulling fs layer Step #1: b1256746ef70: Pulling fs layer Step #1: 5173cde1bd66: Waiting Step #1: c9e16898e54d: Waiting Step #1: ce1ee8b7110e: Pulling fs layer Step #1: 1bbdcbbd8481: Pulling fs layer Step #1: a397e481ff57: Waiting Step #1: 1933c895cdb1: Pulling fs layer Step #1: 1e34e18e386e: Waiting Step #1: 7f90ecb8e4d6: Waiting Step #1: da35800ee821: Waiting Step #1: ce26b4380d46: Waiting Step #1: f931609958c7: Waiting Step #1: ef31bd35b792: Waiting Step #1: 0f18c7482fde: Waiting Step #1: 7384719a7753: Waiting Step #1: b1256746ef70: Waiting Step #1: b840ccdb7eeb: Waiting Step #1: 1933c895cdb1: Waiting Step #1: cbffa59180b5: Waiting Step #1: 8c2556f55b93: Waiting Step #1: 3291b748342a: Waiting Step #1: bf4f02a303d8: Waiting Step #1: e2bf934a1fde: Waiting Step #1: ce1ee8b7110e: Waiting Step #1: bfc41af53bee: Waiting Step #1: 1bbdcbbd8481: Waiting Step #1: ee19cad5d6c8: Waiting Step #1: 43fb6ebaf28e: Waiting Step #1: 20f0bfcb2bcb: Waiting Step #1: 7054a7cd5879: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: c9e16898e54d: Verifying Checksum Step #1: c9e16898e54d: Download complete Step #1: fa4207b84c31: Verifying Checksum Step #1: fa4207b84c31: 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: 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: Download complete Step #1: 67ae2060248d: Verifying Checksum Step #1: 67ae2060248d: Download complete Step #1: eccb1330175b: Verifying Checksum Step #1: eccb1330175b: Download complete Step #1: 5173cde1bd66: Verifying Checksum Step #1: 5173cde1bd66: Download complete Step #1: 20f0bfcb2bcb: Verifying Checksum Step #1: 20f0bfcb2bcb: Download complete Step #1: f931609958c7: Download complete Step #1: 0f18c7482fde: Verifying Checksum Step #1: 0f18c7482fde: Download complete Step #1: 7384719a7753: Verifying Checksum 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: ef31bd35b792: Verifying Checksum Step #1: ef31bd35b792: Download complete Step #1: 3291b748342a: Verifying Checksum Step #1: 3291b748342a: Download complete Step #1: ce1ee8b7110e: Verifying Checksum Step #1: ce1ee8b7110e: Download complete Step #1: 1bbdcbbd8481: Verifying Checksum Step #1: 1bbdcbbd8481: Download complete Step #1: b1256746ef70: Verifying Checksum Step #1: b1256746ef70: Download complete Step #1: 1933c895cdb1: Verifying Checksum Step #1: 1933c895cdb1: Download complete Step #1: 7f90ecb8e4d6: Verifying Checksum Step #1: 7f90ecb8e4d6: 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: Digest: sha256:021bada09d0c99dc65d80c1a6b117fd95e8322ebd06739e63ded862c3bffff64 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder:latest Step #1: ---> ea2f05890762 Step #1: Step 2/4 : RUN apt-get update && apt-get --no-install-recommends install -y build-essential make curl wget Step #1: ---> Running in d321dc53fad3 Step #1: Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease Step #1: Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease Step #1: Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB] Step #1: Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease Step #1: Fetched 128 kB in 1s (119 kB/s) Step #1: Reading package lists... Step #1: Reading package lists... Step #1: Building dependency tree... Step #1: Reading state information... Step #1: make is already the newest version (4.2.1-1.2). Step #1: make set to manually installed. Step #1: build-essential is already the newest version (12.8ubuntu1.1). Step #1: curl is already the newest version (7.68.0-1ubuntu2.22). Step #1: wget is already the newest version (1.20.3-1ubuntu2.1). Step #1: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Step #1: Removing intermediate container d321dc53fad3 Step #1: ---> bbabaa304723 Step #1: Step 3/4 : RUN git clone --depth=1 https://github.com/sparklemotion/nokogiri.git Step #1: ---> Running in 844a83f1fcb6 Step #1: Cloning into 'nokogiri'... Step #1: Removing intermediate container 844a83f1fcb6 Step #1: ---> 8dd360bcec87 Step #1: Step 4/4 : COPY build.sh $SRC Step #1: ---> 78166926af26 Step #1: Successfully built 78166926af26 Step #1: Successfully tagged gcr.io/oss-fuzz/nokogiri:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/nokogiri Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileIw3UiM Step #2 - "srcmap": + echo '{}' Step #2 - "srcmap": + PATHS_TO_SCAN=/src Step #2 - "srcmap": + [[ c == \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/nokogiri/.git Step #2 - "srcmap": + GIT_DIR=/src/nokogiri Step #2 - "srcmap": + cd /src/nokogiri Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/sparklemotion/nokogiri.git Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=a8096cb973ea76d6fbc552d7637c5a8f6741a32f Step #2 - "srcmap": + jq_inplace /tmp/fileIw3UiM '."/src/nokogiri" = { type: "git", url: "https://github.com/sparklemotion/nokogiri.git", rev: "a8096cb973ea76d6fbc552d7637c5a8f6741a32f" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/file03j6j9 Step #2 - "srcmap": + cat /tmp/fileIw3UiM Step #2 - "srcmap": + jq '."/src/nokogiri" = { type: "git", url: "https://github.com/sparklemotion/nokogiri.git", rev: "a8096cb973ea76d6fbc552d7637c5a8f6741a32f" }' Step #2 - "srcmap": + mv /tmp/file03j6j9 /tmp/fileIw3UiM 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/fileIw3UiM Step #2 - "srcmap": + rm /tmp/fileIw3UiM Step #2 - "srcmap": { Step #2 - "srcmap": "/src/nokogiri": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/sparklemotion/nokogiri.git", Step #2 - "srcmap": "rev": "a8096cb973ea76d6fbc552d7637c5a8f6741a32f" 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 -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 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 -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++ 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": + cd nokogiri/gumbo-parser Step #3 - "compile-libfuzzer-coverage-x86_64": + make oss-fuzz '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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument' '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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -stdlib=libc++' Step #3 - "compile-libfuzzer-coverage-x86_64": mkdir -p build/test Step #3 - "compile-libfuzzer-coverage-x86_64": mkdir -p build/src Step #3 - "compile-libfuzzer-coverage-x86_64": ./fuzzer/build-ossfuzz.sh Step #3 - "compile-libfuzzer-coverage-x86_64": + cd src Step #3 - "compile-libfuzzer-coverage-x86_64": + make Step #3 - "compile-libfuzzer-coverage-x86_64": make[1]: Entering directory '/src/nokogiri/gumbo-parser/src' Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -c -o ascii.o ascii.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -c -o attribute.o attribute.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -c -o char_ref.o char_ref.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -c -o error.o error.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -c -o foreign_attrs.o foreign_attrs.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -c -o parser.o parser.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -c -o string_buffer.o string_buffer.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -c -o string_piece.o string_piece.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -c -o svg_attrs.o svg_attrs.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -c -o svg_tags.o svg_tags.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -c -o tag.o tag.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -c -o tag_lookup.o tag_lookup.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -c -o token_buffer.o token_buffer.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -c -o tokenizer.o tokenizer.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -c -o utf8.o utf8.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -c -o util.o util.c Step #3 - "compile-libfuzzer-coverage-x86_64": clang -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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -c -o vector.o vector.c Step #3 - "compile-libfuzzer-coverage-x86_64": ar rv libgumbo.a ascii.o attribute.o char_ref.o error.o foreign_attrs.o parser.o string_buffer.o string_piece.o svg_attrs.o svg_tags.o tag.o tag_lookup.o token_buffer.o tokenizer.o utf8.o util.o vector.o Step #3 - "compile-libfuzzer-coverage-x86_64": ar: creating libgumbo.a Step #3 - "compile-libfuzzer-coverage-x86_64": a - ascii.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - attribute.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - char_ref.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - error.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - foreign_attrs.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - parser.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - string_buffer.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - string_piece.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - svg_attrs.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - svg_tags.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - tag.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - tag_lookup.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - token_buffer.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - tokenizer.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - utf8.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - util.o Step #3 - "compile-libfuzzer-coverage-x86_64": a - vector.o Step #3 - "compile-libfuzzer-coverage-x86_64": (ranlib libgumbo.a || true) >/dev/null 2>&1 Step #3 - "compile-libfuzzer-coverage-x86_64": make[1]: Leaving directory '/src/nokogiri/gumbo-parser/src' Step #3 - "compile-libfuzzer-coverage-x86_64": + cd ../ Step #3 - "compile-libfuzzer-coverage-x86_64": + clang++ -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 -fprofile-instr-generate -fcoverage-mapping -pthread -Wl,--no-as-needed -Wl,-ldl -Wl,-lm -Wno-unused-command-line-argument -stdlib=libc++ -o /workspace/out/libfuzzer-coverage-x86_64/parse_fuzzer fuzzer/parse_fuzzer.cc src/libgumbo.a -fsanitize=fuzzer Step #3 - "compile-libfuzzer-coverage-x86_64": + cp fuzzer/gumbo.dict /workspace/out/libfuzzer-coverage-x86_64/parse_fuzzer.dict Step #3 - "compile-libfuzzer-coverage-x86_64": + cp fuzzer/gumbo_corpus.zip /workspace/out/libfuzzer-coverage-x86_64/parse_fuzzer_seed_corpus.zip Finished Step #3 - "compile-libfuzzer-coverage-x86_64" Starting Step #4 Step #4: Pulling image: gcr.io/oss-fuzz-base/base-runner Step #4: Using default tag: latest Step #4: latest: Pulling from oss-fuzz-base/base-runner Step #4: b549f31133a9: Already exists Step #4: 8726513ee210: Already exists Step #4: 7054a7cd5879: Already exists Step #4: f739589ce639: Pulling fs layer Step #4: b2322709fa19: Pulling fs layer Step #4: ec3daab22494: Pulling fs layer Step #4: 25b017c9085d: Pulling fs layer Step #4: 6d8064d22942: Pulling fs layer Step #4: 2c5826f03939: Pulling fs layer Step #4: 5342ef9d65f0: Pulling fs layer Step #4: bf550828fd45: Pulling fs layer Step #4: 6653c9292bbf: Pulling fs layer Step #4: b1b96c73e874: Pulling fs layer Step #4: 30e213053f23: Pulling fs layer Step #4: 0c00a16d8aaa: Pulling fs layer Step #4: 0468880b53a6: Pulling fs layer Step #4: fe12524a520c: Pulling fs layer Step #4: 222eb0282449: Pulling fs layer Step #4: 6d8064d22942: Waiting Step #4: 242151016182: Pulling fs layer Step #4: 6e1ab450e78e: Pulling fs layer Step #4: 2c5826f03939: Waiting Step #4: 5342ef9d65f0: Waiting Step #4: bf550828fd45: Waiting Step #4: 6653c9292bbf: Waiting Step #4: 0c00a16d8aaa: Waiting Step #4: b1b96c73e874: Waiting Step #4: 0468880b53a6: Waiting Step #4: 30e213053f23: Waiting Step #4: fe12524a520c: Waiting Step #4: 222eb0282449: Waiting Step #4: 242151016182: Waiting Step #4: 25b017c9085d: Waiting Step #4: 6e1ab450e78e: Waiting Step #4: ec3daab22494: Verifying Checksum Step #4: ec3daab22494: Download complete Step #4: f739589ce639: Verifying Checksum Step #4: b2322709fa19: Verifying Checksum Step #4: b2322709fa19: Download complete Step #4: 2c5826f03939: Download complete Step #4: 6d8064d22942: Verifying Checksum Step #4: 6d8064d22942: Download complete Step #4: f739589ce639: Pull complete Step #4: 5342ef9d65f0: Verifying Checksum Step #4: 5342ef9d65f0: Download complete Step #4: 6653c9292bbf: Download complete Step #4: b2322709fa19: Pull complete Step #4: ec3daab22494: Pull complete Step #4: bf550828fd45: Verifying Checksum Step #4: bf550828fd45: Download complete Step #4: 25b017c9085d: Verifying Checksum Step #4: 25b017c9085d: Download complete Step #4: 0c00a16d8aaa: Verifying Checksum Step #4: 0c00a16d8aaa: Download complete Step #4: 30e213053f23: Verifying Checksum Step #4: 30e213053f23: Download complete Step #4: b1b96c73e874: Verifying Checksum Step #4: b1b96c73e874: Download complete Step #4: 222eb0282449: Verifying Checksum Step #4: 222eb0282449: Download complete Step #4: 242151016182: Download complete Step #4: 6e1ab450e78e: Download complete Step #4: 0468880b53a6: Verifying Checksum Step #4: 0468880b53a6: Download complete Step #4: fe12524a520c: Verifying Checksum Step #4: fe12524a520c: Download complete Step #4: 25b017c9085d: Pull complete Step #4: 6d8064d22942: Pull complete Step #4: 2c5826f03939: Pull complete Step #4: 5342ef9d65f0: Pull complete Step #4: bf550828fd45: Pull complete Step #4: 6653c9292bbf: Pull complete Step #4: b1b96c73e874: Pull complete Step #4: 30e213053f23: Pull complete Step #4: 0c00a16d8aaa: Pull complete Step #4: 0468880b53a6: Pull complete Step #4: fe12524a520c: Pull complete Step #4: 222eb0282449: Pull complete Step #4: 242151016182: Pull complete Step #4: 6e1ab450e78e: Pull complete Step #4: Digest: sha256:d621363d499310ec5bc7b44d62ff87d43cb095b1d56c74cf68d189ea6487d961 Step #4: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-runner:latest Step #4: gcr.io/oss-fuzz-base/base-runner:latest Finished Step #4 Starting Step #5 Step #5: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Step #5: [/corpus/parse_fuzzer.zip] Step #5: End-of-central-directory signature not found. Either this file is not Step #5: a zipfile, or it constitutes one disk of a multi-part archive. In the Step #5: latter case the central directory and zipfile comment will be found on Step #5: the last disk(s) of this archive. Step #5: unzip: cannot find zipfile directory in one of /corpus/parse_fuzzer.zip or Step #5: /corpus/parse_fuzzer.zip.zip, and cannot find /corpus/parse_fuzzer.zip.ZIP, period. Step #5: Failed to unpack the corpus for parse_fuzzer. This usually means that corpus backup for a particular fuzz target does not exist. If a fuzz target was added in the last 24 hours, please wait one more day. Otherwise, something is wrong with the fuzz target or the infrastructure, and corpus pruning task does not finish successfully. Step #5: ******************************************************************************** Step #5: Code coverage report generation failed. Step #5: To reproduce, run: Step #5: python infra/helper.py build_image nokogiri Step #5: python infra/helper.py build_fuzzers --sanitizer coverage nokogiri Step #5: python infra/helper.py coverage nokogiri Step #5: ******************************************************************************** Finished Step #5 ERROR ERROR: build step 5 "gcr.io/oss-fuzz-base/base-runner" failed: step exited with non-zero status: 1