starting build "c33e0255-c90c-42bc-b4f6-b755f5d19e3a" 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: ee18352bc492: Pulling fs layer Step #1: a6765bc87452: Pulling fs layer Step #1: b80640a74617: Pulling fs layer Step #1: b0f2b499ff17: Pulling fs layer Step #1: 5f3f60db7f12: Pulling fs layer Step #1: 4e80cb72be8c: Pulling fs layer Step #1: 619a9b59d614: Pulling fs layer Step #1: 1ed6297d6fc5: Pulling fs layer Step #1: 8985e507c80f: Pulling fs layer Step #1: 17184832c8ee: Pulling fs layer Step #1: 29b8fcf84986: Pulling fs layer Step #1: 4ced2452bbd9: Pulling fs layer Step #1: 9ad376a81c52: Pulling fs layer Step #1: 9d0a6dfe07ad: Pulling fs layer Step #1: d49c71e26e42: Pulling fs layer Step #1: f8b7e4556708: Pulling fs layer Step #1: aea86f07d0f3: Pulling fs layer Step #1: 38d6357d9f5c: Pulling fs layer Step #1: b0f2b499ff17: Waiting Step #1: 90bb603b69c0: Pulling fs layer Step #1: b540defe5e87: Pulling fs layer Step #1: 5f3f60db7f12: Waiting Step #1: 8985e507c80f: Waiting Step #1: 91fac086f240: Pulling fs layer Step #1: 4e80cb72be8c: Waiting Step #1: 29b8fcf84986: Waiting Step #1: 17184832c8ee: Waiting Step #1: 866356f54d1c: Pulling fs layer Step #1: dffdd9650ac5: Pulling fs layer Step #1: bc9f2eb70938: Pulling fs layer Step #1: b936ebfb7d23: Pulling fs layer Step #1: 2cf0c3cd031d: Pulling fs layer Step #1: ce0219a6915b: Pulling fs layer Step #1: 66bfe63622b4: Pulling fs layer Step #1: b24e94d72fe5: Pulling fs layer Step #1: d4c9508ac390: Pulling fs layer Step #1: 55e069f79403: Pulling fs layer Step #1: 91fac086f240: Waiting Step #1: 66bfe63622b4: Waiting Step #1: aea86f07d0f3: Waiting Step #1: 1ed6297d6fc5: Waiting Step #1: 38d6357d9f5c: Waiting Step #1: 9ad376a81c52: Waiting Step #1: d4c9508ac390: Waiting Step #1: 55e069f79403: Waiting Step #1: bc9f2eb70938: Waiting Step #1: 90bb603b69c0: Waiting Step #1: d49c71e26e42: Waiting Step #1: 9d0a6dfe07ad: Waiting Step #1: b24e94d72fe5: Waiting Step #1: 866356f54d1c: Waiting Step #1: 619a9b59d614: Waiting Step #1: b80640a74617: Waiting Step #1: f8b7e4556708: Waiting Step #1: 2cf0c3cd031d: Waiting Step #1: b936ebfb7d23: Waiting Step #1: a6765bc87452: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: b80640a74617: Verifying Checksum Step #1: b80640a74617: Download complete Step #1: 5f3f60db7f12: Verifying Checksum Step #1: 5f3f60db7f12: Download complete Step #1: b0f2b499ff17: Verifying Checksum Step #1: b0f2b499ff17: Download complete Step #1: 619a9b59d614: Verifying Checksum Step #1: 619a9b59d614: Download complete Step #1: 1ed6297d6fc5: Verifying Checksum Step #1: 1ed6297d6fc5: Download complete Step #1: ee18352bc492: Verifying Checksum Step #1: ee18352bc492: Download complete Step #1: 17184832c8ee: Verifying Checksum Step #1: 17184832c8ee: Download complete Step #1: 29b8fcf84986: Verifying Checksum Step #1: 29b8fcf84986: Download complete Step #1: b549f31133a9: Pull complete Step #1: 4ced2452bbd9: Verifying Checksum Step #1: 4ced2452bbd9: Download complete Step #1: 9ad376a81c52: Verifying Checksum Step #1: 9ad376a81c52: Download complete Step #1: 9d0a6dfe07ad: Verifying Checksum Step #1: 9d0a6dfe07ad: Download complete Step #1: d49c71e26e42: Verifying Checksum Step #1: d49c71e26e42: Download complete Step #1: f8b7e4556708: Download complete Step #1: aea86f07d0f3: Download complete Step #1: 38d6357d9f5c: Download complete Step #1: 90bb603b69c0: Verifying Checksum Step #1: 90bb603b69c0: Download complete Step #1: b540defe5e87: Download complete Step #1: 8985e507c80f: Verifying Checksum Step #1: 8985e507c80f: Download complete Step #1: 866356f54d1c: Download complete Step #1: dffdd9650ac5: Download complete Step #1: 91fac086f240: Verifying Checksum Step #1: b936ebfb7d23: Download complete Step #1: bc9f2eb70938: Verifying Checksum Step #1: bc9f2eb70938: Download complete Step #1: 2cf0c3cd031d: Verifying Checksum Step #1: 2cf0c3cd031d: Download complete Step #1: ce0219a6915b: Verifying Checksum Step #1: ce0219a6915b: Download complete Step #1: 4e80cb72be8c: Verifying Checksum Step #1: 4e80cb72be8c: Download complete Step #1: b24e94d72fe5: Verifying Checksum Step #1: b24e94d72fe5: Download complete Step #1: 66bfe63622b4: Verifying Checksum Step #1: 66bfe63622b4: Download complete Step #1: d4c9508ac390: Verifying Checksum Step #1: d4c9508ac390: Download complete Step #1: 55e069f79403: Verifying Checksum Step #1: 55e069f79403: Download complete Step #1: ee18352bc492: Pull complete Step #1: a6765bc87452: Pull complete Step #1: b80640a74617: Pull complete Step #1: b0f2b499ff17: Pull complete Step #1: 5f3f60db7f12: Pull complete Step #1: 4e80cb72be8c: Pull complete Step #1: 619a9b59d614: Pull complete Step #1: 1ed6297d6fc5: Pull complete Step #1: 8985e507c80f: Pull complete Step #1: 17184832c8ee: Pull complete Step #1: 29b8fcf84986: Pull complete Step #1: 4ced2452bbd9: Pull complete Step #1: 9ad376a81c52: Pull complete Step #1: 9d0a6dfe07ad: Pull complete Step #1: d49c71e26e42: Pull complete Step #1: f8b7e4556708: Pull complete Step #1: aea86f07d0f3: Pull complete Step #1: 38d6357d9f5c: Pull complete Step #1: 90bb603b69c0: Pull complete Step #1: b540defe5e87: Pull complete Step #1: 91fac086f240: Pull complete Step #1: 866356f54d1c: Pull complete Step #1: dffdd9650ac5: Pull complete Step #1: bc9f2eb70938: Pull complete Step #1: b936ebfb7d23: Pull complete Step #1: 2cf0c3cd031d: Pull complete Step #1: ce0219a6915b: Pull complete Step #1: 66bfe63622b4: Pull complete Step #1: b24e94d72fe5: Pull complete Step #1: d4c9508ac390: Pull complete Step #1: 55e069f79403: Pull complete Step #1: Digest: sha256:be12f57b44cfd321cc52c7d50fc5f989317179fb428d2c6e04e0efe53342cd6a Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder:latest Step #1: ---> 83dbb3af54f5 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 b3029ba566f6 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 (130 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 b3029ba566f6 Step #1: ---> 5980d970392c Step #1: Step 3/4 : RUN git clone --depth=1 https://github.com/sparklemotion/nokogiri.git Step #1: ---> Running in 4fed89d0588f Step #1: Cloning into 'nokogiri'... Step #1: Removing intermediate container 4fed89d0588f Step #1: ---> f049ff1e4c3e Step #1: Step 4/4 : COPY build.sh $SRC Step #1: ---> 01bf74b8fbff Step #1: Successfully built 01bf74b8fbff 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/fileT6BbsP 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=80d6806e47cadaee24a77c93ddfc01b48fc762d4 Step #2 - "srcmap": + jq_inplace /tmp/fileT6BbsP '."/src/nokogiri" = { type: "git", url: "https://github.com/sparklemotion/nokogiri.git", rev: "80d6806e47cadaee24a77c93ddfc01b48fc762d4" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/file01sAu9 Step #2 - "srcmap": + cat /tmp/fileT6BbsP Step #2 - "srcmap": + jq '."/src/nokogiri" = { type: "git", url: "https://github.com/sparklemotion/nokogiri.git", rev: "80d6806e47cadaee24a77c93ddfc01b48fc762d4" }' Step #2 - "srcmap": + mv /tmp/file01sAu9 /tmp/fileT6BbsP 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/fileT6BbsP Step #2 - "srcmap": + rm /tmp/fileT6BbsP 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": "80d6806e47cadaee24a77c93ddfc01b48fc762d4" 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: ee18352bc492: Already exists Step #4: a6765bc87452: Already exists Step #4: fb39ff994b2c: Pulling fs layer Step #4: 1bb17e6db488: Pulling fs layer Step #4: e09eae94e9d5: Pulling fs layer Step #4: bd924babecc1: Pulling fs layer Step #4: d0b48ee81772: Pulling fs layer Step #4: 15e105733968: Pulling fs layer Step #4: 43273d73581d: Pulling fs layer Step #4: 4ec281f31d06: Pulling fs layer Step #4: 30405e7848ca: Pulling fs layer Step #4: 853c3a42e7c5: Pulling fs layer Step #4: 3ab5bd740ef3: Pulling fs layer Step #4: 8e8f65ce42db: Pulling fs layer Step #4: 86c16412de47: Pulling fs layer Step #4: b48ab5a2f8cd: Pulling fs layer Step #4: d0b48ee81772: Waiting Step #4: f23fe94963ac: Pulling fs layer Step #4: 15e105733968: Waiting Step #4: 331cde3e9d9e: Pulling fs layer Step #4: 4ec281f31d06: Waiting Step #4: 43273d73581d: Waiting Step #4: bef3c0ff49f0: Pulling fs layer Step #4: 3ab5bd740ef3: Waiting Step #4: 853c3a42e7c5: Waiting Step #4: 8e8f65ce42db: Waiting Step #4: 86c16412de47: Waiting Step #4: b48ab5a2f8cd: Waiting Step #4: 331cde3e9d9e: Waiting Step #4: f23fe94963ac: Waiting Step #4: bd924babecc1: Waiting Step #4: e09eae94e9d5: Download complete Step #4: fb39ff994b2c: Verifying Checksum Step #4: fb39ff994b2c: Download complete Step #4: 1bb17e6db488: Verifying Checksum Step #4: 1bb17e6db488: Download complete Step #4: d0b48ee81772: Verifying Checksum Step #4: d0b48ee81772: Download complete Step #4: fb39ff994b2c: Pull complete Step #4: 15e105733968: Verifying Checksum Step #4: 15e105733968: Download complete Step #4: 43273d73581d: Verifying Checksum Step #4: 43273d73581d: Download complete Step #4: 30405e7848ca: Verifying Checksum Step #4: 30405e7848ca: Download complete Step #4: 1bb17e6db488: Pull complete Step #4: e09eae94e9d5: Pull complete Step #4: 4ec281f31d06: Verifying Checksum Step #4: 4ec281f31d06: Download complete Step #4: 3ab5bd740ef3: Verifying Checksum Step #4: 3ab5bd740ef3: Download complete Step #4: 8e8f65ce42db: Verifying Checksum Step #4: 8e8f65ce42db: Download complete Step #4: bd924babecc1: Verifying Checksum Step #4: bd924babecc1: Download complete Step #4: 853c3a42e7c5: Verifying Checksum Step #4: 853c3a42e7c5: Download complete Step #4: f23fe94963ac: Verifying Checksum Step #4: f23fe94963ac: Download complete Step #4: b48ab5a2f8cd: Verifying Checksum Step #4: b48ab5a2f8cd: Download complete Step #4: bef3c0ff49f0: Verifying Checksum Step #4: bef3c0ff49f0: Download complete Step #4: 86c16412de47: Verifying Checksum Step #4: 86c16412de47: Download complete Step #4: 331cde3e9d9e: Verifying Checksum Step #4: 331cde3e9d9e: Download complete Step #4: bd924babecc1: Pull complete Step #4: d0b48ee81772: Pull complete Step #4: 15e105733968: Pull complete Step #4: 43273d73581d: Pull complete Step #4: 4ec281f31d06: Pull complete Step #4: 30405e7848ca: Pull complete Step #4: 853c3a42e7c5: Pull complete Step #4: 3ab5bd740ef3: Pull complete Step #4: 8e8f65ce42db: Pull complete Step #4: 86c16412de47: Pull complete Step #4: b48ab5a2f8cd: Pull complete Step #4: f23fe94963ac: Pull complete Step #4: 331cde3e9d9e: Pull complete Step #4: bef3c0ff49f0: Pull complete Step #4: Digest: sha256:697222ab07b94a33ad280b2e5848c94da6cf608f4a4bdbc4ff038d91de6f3ef2 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