starting build "03d2b3cd-a938-4c8e-944a-656e0415b7be" 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 7.68kB Step #1: Step 1/7 : FROM gcr.io/oss-fuzz-base/base-builder-rust Step #1: latest: Pulling from oss-fuzz-base/base-builder-rust Step #1: b549f31133a9: Pulling fs layer Step #1: c2342df20178: Pulling fs layer Step #1: 889620bafc9e: Pulling fs layer Step #1: 7e6b3ebca0da: Pulling fs layer Step #1: a138f249fc79: Pulling fs layer Step #1: 0cef8afac729: Pulling fs layer Step #1: 14c96135cdd2: Pulling fs layer Step #1: 67227131fbab: Pulling fs layer Step #1: c014d579bab7: Pulling fs layer Step #1: 5b1177978078: Pulling fs layer Step #1: af13ed5caca6: Pulling fs layer Step #1: 87c3acb9c02b: Pulling fs layer Step #1: f1f179d89321: Pulling fs layer Step #1: 9d20212a21f4: Pulling fs layer Step #1: 9f0352eb4661: Pulling fs layer Step #1: 173808f86263: Pulling fs layer Step #1: 53e326de4df6: Pulling fs layer Step #1: c314a32e8258: Pulling fs layer Step #1: 5383415e5e56: Pulling fs layer Step #1: 9636736418da: Pulling fs layer Step #1: 98b08632f52f: Pulling fs layer Step #1: e5fdedb94b14: Pulling fs layer Step #1: 5e0b46a8bb68: Pulling fs layer Step #1: 9401c7e4f424: Pulling fs layer Step #1: 3bd967bd9fd1: Pulling fs layer Step #1: 4af64f900d37: Pulling fs layer Step #1: b10cbb869967: Pulling fs layer Step #1: 18e884c6babe: Pulling fs layer Step #1: 1cb1cdf2cc5b: Pulling fs layer Step #1: 99dda7f4b3a7: Pulling fs layer Step #1: f1c4ee30c461: Pulling fs layer Step #1: 0fbc6dc7f7b9: Pulling fs layer Step #1: cd4df9c7093a: Pulling fs layer Step #1: 68b4371eb0d2: Pulling fs layer Step #1: dd7c3f2ed219: Pulling fs layer Step #1: 0cef8afac729: Waiting Step #1: e5fdedb94b14: Waiting Step #1: 7e6b3ebca0da: Waiting Step #1: a138f249fc79: Waiting Step #1: 99dda7f4b3a7: Waiting Step #1: f1c4ee30c461: Waiting Step #1: cd4df9c7093a: Waiting Step #1: 14c96135cdd2: Waiting Step #1: c014d579bab7: Waiting Step #1: 67227131fbab: Waiting Step #1: 68b4371eb0d2: Waiting Step #1: dd7c3f2ed219: Waiting Step #1: af13ed5caca6: Waiting Step #1: 9636736418da: Waiting Step #1: 87c3acb9c02b: Waiting Step #1: f1f179d89321: Waiting Step #1: 5b1177978078: Waiting Step #1: b10cbb869967: Waiting Step #1: 1cb1cdf2cc5b: Waiting Step #1: 9401c7e4f424: Waiting Step #1: 18e884c6babe: Waiting Step #1: 9d20212a21f4: Waiting Step #1: 173808f86263: Waiting Step #1: 0fbc6dc7f7b9: Waiting Step #1: c314a32e8258: Waiting Step #1: 53e326de4df6: Waiting Step #1: 3bd967bd9fd1: Waiting Step #1: 889620bafc9e: Verifying Checksum Step #1: 889620bafc9e: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: a138f249fc79: Verifying Checksum Step #1: a138f249fc79: Download complete Step #1: 7e6b3ebca0da: Verifying Checksum Step #1: 7e6b3ebca0da: Download complete Step #1: 0cef8afac729: Download complete Step #1: c2342df20178: Verifying Checksum Step #1: c2342df20178: Download complete Step #1: 67227131fbab: Verifying Checksum Step #1: 67227131fbab: Download complete Step #1: c014d579bab7: Verifying Checksum Step #1: c014d579bab7: Download complete Step #1: b549f31133a9: Pull complete Step #1: af13ed5caca6: Verifying Checksum Step #1: af13ed5caca6: Download complete Step #1: 87c3acb9c02b: Verifying Checksum Step #1: 87c3acb9c02b: Download complete Step #1: f1f179d89321: Verifying Checksum Step #1: f1f179d89321: Download complete Step #1: 9d20212a21f4: Verifying Checksum Step #1: 9d20212a21f4: Download complete Step #1: 5b1177978078: Verifying Checksum Step #1: 5b1177978078: Download complete Step #1: 9f0352eb4661: Verifying Checksum Step #1: 9f0352eb4661: Download complete Step #1: 173808f86263: Verifying Checksum Step #1: 173808f86263: Download complete Step #1: 53e326de4df6: Verifying Checksum Step #1: 53e326de4df6: Download complete Step #1: c314a32e8258: Verifying Checksum Step #1: c314a32e8258: Download complete Step #1: 5383415e5e56: Download complete Step #1: 9636736418da: Verifying Checksum Step #1: 9636736418da: Download complete Step #1: 98b08632f52f: Verifying Checksum Step #1: 98b08632f52f: Download complete Step #1: 14c96135cdd2: Verifying Checksum Step #1: 14c96135cdd2: Download complete Step #1: e5fdedb94b14: Download complete Step #1: 5e0b46a8bb68: Verifying Checksum Step #1: 5e0b46a8bb68: Download complete Step #1: 9401c7e4f424: Verifying Checksum Step #1: 9401c7e4f424: Download complete Step #1: 3bd967bd9fd1: Verifying Checksum Step #1: 3bd967bd9fd1: Download complete Step #1: 4af64f900d37: Verifying Checksum Step #1: 4af64f900d37: Download complete Step #1: b10cbb869967: Verifying Checksum Step #1: b10cbb869967: Download complete Step #1: 18e884c6babe: Verifying Checksum Step #1: 18e884c6babe: Download complete Step #1: 1cb1cdf2cc5b: Download complete Step #1: c2342df20178: Pull complete Step #1: 889620bafc9e: Pull complete Step #1: f1c4ee30c461: Verifying Checksum Step #1: f1c4ee30c461: Download complete Step #1: 99dda7f4b3a7: Verifying Checksum Step #1: 99dda7f4b3a7: Download complete Step #1: 0fbc6dc7f7b9: Verifying Checksum Step #1: 0fbc6dc7f7b9: Download complete Step #1: cd4df9c7093a: Verifying Checksum Step #1: cd4df9c7093a: Download complete Step #1: 68b4371eb0d2: Verifying Checksum Step #1: 68b4371eb0d2: Download complete Step #1: 7e6b3ebca0da: Pull complete Step #1: a138f249fc79: Pull complete Step #1: 0cef8afac729: Pull complete Step #1: dd7c3f2ed219: Verifying Checksum Step #1: dd7c3f2ed219: Download complete Step #1: 14c96135cdd2: Pull complete Step #1: 67227131fbab: Pull complete Step #1: c014d579bab7: Pull complete Step #1: 5b1177978078: Pull complete Step #1: af13ed5caca6: Pull complete Step #1: 87c3acb9c02b: Pull complete Step #1: f1f179d89321: Pull complete Step #1: 9d20212a21f4: Pull complete Step #1: 9f0352eb4661: Pull complete Step #1: 173808f86263: Pull complete Step #1: 53e326de4df6: Pull complete Step #1: c314a32e8258: Pull complete Step #1: 5383415e5e56: Pull complete Step #1: 9636736418da: Pull complete Step #1: 98b08632f52f: Pull complete Step #1: e5fdedb94b14: Pull complete Step #1: 5e0b46a8bb68: Pull complete Step #1: 9401c7e4f424: Pull complete Step #1: 3bd967bd9fd1: Pull complete Step #1: 4af64f900d37: Pull complete Step #1: b10cbb869967: Pull complete Step #1: 18e884c6babe: Pull complete Step #1: 1cb1cdf2cc5b: Pull complete Step #1: 99dda7f4b3a7: Pull complete Step #1: f1c4ee30c461: Pull complete Step #1: 0fbc6dc7f7b9: Pull complete Step #1: cd4df9c7093a: Pull complete Step #1: 68b4371eb0d2: Pull complete Step #1: dd7c3f2ed219: Pull complete Step #1: Digest: sha256:de78426b7c30dfcc550399f45f2e655a6513ea1a4945c424f0e5f3c77b620905 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-rust:latest Step #1: ---> e1cc7c947203 Step #1: Step 2/7 : RUN apt-get update && apt-get install -y make autoconf automake libtool zlib1g-dev liblzma-dev Step #1: ---> Running in acfc70121be4 Step #1: Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease Step #1: Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB] Step #1: Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB] Step #1: Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB] Step #1: Fetched 383 kB in 1s (671 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: The following additional packages will be installed: Step #1: autotools-dev file libltdl-dev libltdl7 libmagic-mgc libmagic1 libsigsegv2 Step #1: m4 Step #1: Suggested packages: Step #1: autoconf-archive gnu-standards autoconf-doc gettext libtool-doc liblzma-doc Step #1: gfortran | fortran95-compiler gcj-jdk m4-doc Step #1: The following NEW packages will be installed: Step #1: autoconf automake autotools-dev file libltdl-dev libltdl7 liblzma-dev Step #1: libmagic-mgc libmagic1 libsigsegv2 libtool m4 zlib1g-dev Step #1: 0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. Step #1: Need to get 2076 kB of archives. Step #1: After this operation, 14.0 MB of additional disk space will be used. Step #1: Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 libmagic-mgc amd64 1:5.38-4 [218 kB] Step #1: Get:2 http://archive.ubuntu.com/ubuntu focal/main amd64 libmagic1 amd64 1:5.38-4 [75.9 kB] Step #1: Get:3 http://archive.ubuntu.com/ubuntu focal/main amd64 file amd64 1:5.38-4 [23.3 kB] Step #1: Get:4 http://archive.ubuntu.com/ubuntu focal/main amd64 libsigsegv2 amd64 2.12-2 [13.9 kB] Step #1: Get:5 http://archive.ubuntu.com/ubuntu focal/main amd64 m4 amd64 1.4.18-4 [199 kB] Step #1: Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 autoconf all 2.69-11.1 [321 kB] Step #1: Get:7 http://archive.ubuntu.com/ubuntu focal/main amd64 autotools-dev all 20180224.1 [39.6 kB] Step #1: Get:8 http://archive.ubuntu.com/ubuntu focal/main amd64 automake all 1:1.16.1-4ubuntu6 [522 kB] Step #1: Get:9 http://archive.ubuntu.com/ubuntu focal/main amd64 libltdl7 amd64 2.4.6-14 [38.5 kB] Step #1: Get:10 http://archive.ubuntu.com/ubuntu focal/main amd64 libltdl-dev amd64 2.4.6-14 [162 kB] Step #1: Get:11 http://archive.ubuntu.com/ubuntu focal/main amd64 libtool all 2.4.6-14 [161 kB] Step #1: Get:12 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2ubuntu1.5 [155 kB] Step #1: Get:13 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 liblzma-dev amd64 5.2.4-1ubuntu1.1 [147 kB] Step #1: debconf: delaying package configuration, since apt-utils is not installed Step #1: Fetched 2076 kB in 0s (4401 kB/s) Step #1: Selecting previously unselected package libmagic-mgc. Step #1: (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 17393 files and directories currently installed.) Step #1: Preparing to unpack .../00-libmagic-mgc_1%3a5.38-4_amd64.deb ... Step #1: Unpacking libmagic-mgc (1:5.38-4) ... Step #1: Selecting previously unselected package libmagic1:amd64. Step #1: Preparing to unpack .../01-libmagic1_1%3a5.38-4_amd64.deb ... Step #1: Unpacking libmagic1:amd64 (1:5.38-4) ... Step #1: Selecting previously unselected package file. Step #1: Preparing to unpack .../02-file_1%3a5.38-4_amd64.deb ... Step #1: Unpacking file (1:5.38-4) ... Step #1: Selecting previously unselected package libsigsegv2:amd64. Step #1: Preparing to unpack .../03-libsigsegv2_2.12-2_amd64.deb ... Step #1: Unpacking libsigsegv2:amd64 (2.12-2) ... Step #1: Selecting previously unselected package m4. Step #1: Preparing to unpack .../04-m4_1.4.18-4_amd64.deb ... Step #1: Unpacking m4 (1.4.18-4) ... Step #1: Selecting previously unselected package autoconf. Step #1: Preparing to unpack .../05-autoconf_2.69-11.1_all.deb ... Step #1: Unpacking autoconf (2.69-11.1) ... Step #1: Selecting previously unselected package autotools-dev. Step #1: Preparing to unpack .../06-autotools-dev_20180224.1_all.deb ... Step #1: Unpacking autotools-dev (20180224.1) ... Step #1: Selecting previously unselected package automake. Step #1: Preparing to unpack .../07-automake_1%3a1.16.1-4ubuntu6_all.deb ... Step #1: Unpacking automake (1:1.16.1-4ubuntu6) ... Step #1: Selecting previously unselected package libltdl7:amd64. Step #1: Preparing to unpack .../08-libltdl7_2.4.6-14_amd64.deb ... Step #1: Unpacking libltdl7:amd64 (2.4.6-14) ... Step #1: Selecting previously unselected package libltdl-dev:amd64. Step #1: Preparing to unpack .../09-libltdl-dev_2.4.6-14_amd64.deb ... Step #1: Unpacking libltdl-dev:amd64 (2.4.6-14) ... Step #1: Selecting previously unselected package libtool. Step #1: Preparing to unpack .../10-libtool_2.4.6-14_all.deb ... Step #1: Unpacking libtool (2.4.6-14) ... Step #1: Selecting previously unselected package zlib1g-dev:amd64. Step #1: Preparing to unpack .../11-zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu1.5_amd64.deb ... Step #1: Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu1.5) ... Step #1: Selecting previously unselected package liblzma-dev:amd64. Step #1: Preparing to unpack .../12-liblzma-dev_5.2.4-1ubuntu1.1_amd64.deb ... Step #1: Unpacking liblzma-dev:amd64 (5.2.4-1ubuntu1.1) ... Step #1: Setting up libmagic-mgc (1:5.38-4) ... Step #1: Setting up libmagic1:amd64 (1:5.38-4) ... Step #1: Setting up file (1:5.38-4) ... Step #1: Setting up autotools-dev (20180224.1) ... Step #1: Setting up libsigsegv2:amd64 (2.12-2) ... Step #1: Setting up libltdl7:amd64 (2.4.6-14) ... Step #1: Setting up liblzma-dev:amd64 (5.2.4-1ubuntu1.1) ... Step #1: Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu1.5) ... Step #1: Setting up libtool (2.4.6-14) ... Step #1: Setting up m4 (1.4.18-4) ... Step #1: Setting up autoconf (2.69-11.1) ... Step #1: Setting up automake (1:1.16.1-4ubuntu6) ... Step #1: update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Step #1: update-alternatives: warning: skip creation of /usr/share/man/man1/automake.1.gz because associated file /usr/share/man/man1/automake-1.16.1.gz (of link group automake) doesn't exist Step #1: update-alternatives: warning: skip creation of /usr/share/man/man1/aclocal.1.gz because associated file /usr/share/man/man1/aclocal-1.16.1.gz (of link group automake) doesn't exist Step #1: Setting up libltdl-dev:amd64 (2.4.6-14) ... Step #1: Processing triggers for libc-bin (2.31-0ubuntu9.17) ... Step #1: Removing intermediate container acfc70121be4 Step #1: ---> c5d79fbb72e8 Step #1: Step 3/7 : RUN git clone --depth 1 https://github.com/OISF/libhtp.git libhtp Step #1: ---> Running in ad451f5f88ab Step #1: Cloning into 'libhtp'... Step #1: Removing intermediate container ad451f5f88ab Step #1: ---> 56a2687e8a49 Step #1: Step 4/7 : RUN git clone --branch main --depth 1 https://github.com/catenacyber/libhtp-rs.git libhtp-rs Step #1: ---> Running in 17558e057dbf Step #1: Cloning into 'libhtp-rs'... Step #1: Removing intermediate container 17558e057dbf Step #1: ---> fcc704f84728 Step #1: Step 5/7 : WORKDIR $SRC Step #1: ---> Running in f4054239e503 Step #1: Removing intermediate container f4054239e503 Step #1: ---> 287b1a05f67d Step #1: Step 6/7 : COPY build.sh $SRC/ Step #1: ---> 054a20c001ca Step #1: Step 7/7 : COPY multiple.txt $SRC/ Step #1: ---> cbb84681e44d Step #1: Successfully built cbb84681e44d Step #1: Successfully tagged gcr.io/oss-fuzz/libhtp:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/libhtp Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileIC3VrM Step #2 - "srcmap": + echo '{}' Step #2 - "srcmap": + PATHS_TO_SCAN=/src Step #2 - "srcmap": + [[ rust == \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/libhtp-rs/.git Step #2 - "srcmap": + GIT_DIR=/src/libhtp-rs Step #2 - "srcmap": + cd /src/libhtp-rs Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/catenacyber/libhtp-rs.git Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=36e9d3b0d78b3a66745e7a5e15f2683e31cd5735 Step #2 - "srcmap": + jq_inplace /tmp/fileIC3VrM '."/src/libhtp-rs" = { type: "git", url: "https://github.com/catenacyber/libhtp-rs.git", rev: "36e9d3b0d78b3a66745e7a5e15f2683e31cd5735" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/file3JdHNc Step #2 - "srcmap": + cat /tmp/fileIC3VrM Step #2 - "srcmap": + jq '."/src/libhtp-rs" = { type: "git", url: "https://github.com/catenacyber/libhtp-rs.git", rev: "36e9d3b0d78b3a66745e7a5e15f2683e31cd5735" }' Step #2 - "srcmap": + mv /tmp/file3JdHNc /tmp/fileIC3VrM Step #2 - "srcmap": + for DOT_GIT_DIR in $(find $PATHS_TO_SCAN -name ".git" -type d) Step #2 - "srcmap": ++ dirname /src/libhtp/.git Step #2 - "srcmap": + GIT_DIR=/src/libhtp Step #2 - "srcmap": + cd /src/libhtp Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/OISF/libhtp.git Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=4e6ce70e57e71fe0e2132fda81ab98bc3d6a2e85 Step #2 - "srcmap": + jq_inplace /tmp/fileIC3VrM '."/src/libhtp" = { type: "git", url: "https://github.com/OISF/libhtp.git", rev: "4e6ce70e57e71fe0e2132fda81ab98bc3d6a2e85" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileITQtGI Step #2 - "srcmap": + cat /tmp/fileIC3VrM Step #2 - "srcmap": + jq '."/src/libhtp" = { type: "git", url: "https://github.com/OISF/libhtp.git", rev: "4e6ce70e57e71fe0e2132fda81ab98bc3d6a2e85" }' Step #2 - "srcmap": + mv /tmp/fileITQtGI /tmp/fileIC3VrM 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/fileIC3VrM Step #2 - "srcmap": + rm /tmp/fileIC3VrM Step #2 - "srcmap": { Step #2 - "srcmap": "/src/libhtp-rs": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/catenacyber/libhtp-rs.git", Step #2 - "srcmap": "rev": "36e9d3b0d78b3a66745e7a5e15f2683e31cd5735" Step #2 - "srcmap": }, Step #2 - "srcmap": "/src/libhtp": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/OISF/libhtp.git", Step #2 - "srcmap": "rev": "4e6ce70e57e71fe0e2132fda81ab98bc3d6a2e85" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-libfuzzer-address-x86_64" Step #3 - "compile-libfuzzer-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": vm.mmap_rnd_bits = 28 Step #3 - "compile-libfuzzer-address-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": CC=clang Step #3 - "compile-libfuzzer-address-x86_64": CXX=clang++ Step #3 - "compile-libfuzzer-address-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=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link Step #3 - "compile-libfuzzer-address-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=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ Step #3 - "compile-libfuzzer-address-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": + cd libhtp-rs Step #3 - "compile-libfuzzer-address-x86_64": + export CARGO_BUILD_TARGET=x86_64-unknown-linux-gnu Step #3 - "compile-libfuzzer-address-x86_64": + CARGO_BUILD_TARGET=x86_64-unknown-linux-gnu Step #3 - "compile-libfuzzer-address-x86_64": + cargo fuzz build -O Step #3 - "compile-libfuzzer-address-x86_64":  Updating git repository `https://github.com/rust-fuzz/libfuzzer-sys.git` Step #3 - "compile-libfuzzer-address-x86_64": warning: skipping duplicate package `example` found at `/rust/git/checkouts/libfuzzer-sys-e07fde05820d7bc6/35ce7d7/example` Step #3 - "compile-libfuzzer-address-x86_64":  Updating crates.io index Step #3 - "compile-libfuzzer-address-x86_64":  Locking 82 packages to latest compatible versions Step #3 - "compile-libfuzzer-address-x86_64":  Adding arbitrary v0.2.0 (latest: v1.4.1) Step #3 - "compile-libfuzzer-address-x86_64":  Adding bitflags v1.3.2 (latest: v2.9.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding cbindgen v0.24.5 (latest: v0.28.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding clap v3.2.25 (latest: v4.5.32) Step #3 - "compile-libfuzzer-address-x86_64":  Adding clap_lex v0.2.4 (latest: v0.7.4) Step #3 - "compile-libfuzzer-address-x86_64":  Adding crc v1.8.1 (latest: v3.2.1) Step #3 - "compile-libfuzzer-address-x86_64":  Adding flate2 v1.0.35 (latest: v1.1.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding hashbrown v0.12.3 (latest: v0.15.2) Step #3 - "compile-libfuzzer-address-x86_64":  Adding heck v0.4.1 (latest: v0.5.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding hermit-abi v0.1.19 (latest: v0.5.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding indexmap v1.9.3 (latest: v2.8.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding lzma-rs v0.2.0 (latest: v0.3.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding nom v7.1.3 (latest: v8.0.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding os_str_bytes v6.6.1 (latest: v7.1.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding strsim v0.10.0 (latest: v0.11.1) Step #3 - "compile-libfuzzer-address-x86_64":  Adding syn v1.0.109 (latest: v2.0.100) Step #3 - "compile-libfuzzer-address-x86_64":  Adding time v0.3.36 (latest: v0.3.39) Step #3 - "compile-libfuzzer-address-x86_64":  Adding time-core v0.1.2 (latest: v0.1.3) Step #3 - "compile-libfuzzer-address-x86_64":  Adding toml v0.5.11 (latest: v0.8.20) Step #3 - "compile-libfuzzer-address-x86_64":  Adding wasi v0.13.3+wasi-0.2.2 (latest: v0.14.2+wasi-0.2.4) Step #3 - "compile-libfuzzer-address-x86_64":  Adding windows-targets v0.52.6 (latest: v0.53.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding windows_aarch64_gnullvm v0.52.6 (latest: v0.53.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding windows_aarch64_msvc v0.52.6 (latest: v0.53.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding windows_i686_gnu v0.52.6 (latest: v0.53.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding windows_i686_gnullvm v0.52.6 (latest: v0.53.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding windows_i686_msvc v0.52.6 (latest: v0.53.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding windows_x86_64_gnu v0.52.6 (latest: v0.53.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding windows_x86_64_gnullvm v0.52.6 (latest: v0.53.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding windows_x86_64_msvc v0.52.6 (latest: v0.53.0) Step #3 - "compile-libfuzzer-address-x86_64":  Adding wit-bindgen-rt v0.33.0 (latest: v0.40.0) Step #3 - "compile-libfuzzer-address-x86_64":  Downloading crates ... Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded atty v0.2.14 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded bitflags v2.9.0 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded autocfg v1.4.0 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded build_const v0.2.2 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded bitflags v1.3.2 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded arbitrary v0.2.0 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded base64 v0.22.1 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded num-conv v0.1.0 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded deranged v0.3.11 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded pkg-config v0.3.32 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded time-core v0.1.2 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded clap_lex v0.2.4 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded memchr v2.7.4 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded shlex v1.3.0 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded unicode-ident v1.0.18 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded textwrap v0.16.2 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded toml v0.5.11 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded os_str_bytes v6.6.1 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded time v0.3.36 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded serde_derive v1.0.219 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded minimal-lexical v0.2.1 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded hashbrown v0.12.3 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded serde_json v1.0.140 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded clap v3.2.25 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded cbindgen v0.24.5 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded flate2 v1.0.35 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded serde v1.0.219 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded vcpkg v0.2.15 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded ryu v1.0.20 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded syn v2.0.100 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded syn v1.0.109 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded quote v1.0.40 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded proc-macro2 v1.0.94 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded once_cell v1.21.0 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded lzma-rs v0.2.0 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded itoa v1.0.15 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded rustix v1.0.2 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded heck v0.4.1 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded strsim v0.10.0 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded powerfmt v0.2.0 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded fastrand v2.3.0 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded crc32fast v1.4.2 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded cfg-if v1.0.0 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded termcolor v1.4.1 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded tempfile v3.18.0 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded nom v7.1.3 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded regex-automata v0.4.9 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded cdylib-link-lines v0.1.5 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded cc v1.2.16 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded lazy_static v1.5.0 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded log v0.4.26 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded getrandom v0.3.1 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded errno v0.3.10 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded libz-sys v1.1.21 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded libc v0.2.171 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded crc v1.8.1 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded byteorder v1.5.0 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded indexmap v1.9.3 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded bstr v1.11.3 Step #3 - "compile-libfuzzer-address-x86_64":  Downloaded linux-raw-sys v0.9.2 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling libc v0.2.171 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling proc-macro2 v1.0.94 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling unicode-ident v1.0.18 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling shlex v1.3.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling serde v1.0.219 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling autocfg v1.4.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling rustix v1.0.2 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling getrandom v0.3.1 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling hashbrown v0.12.3 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling serde_json v1.0.140 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling syn v1.0.109 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling bitflags v2.9.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling cfg-if v1.0.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling linux-raw-sys v0.9.2 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling os_str_bytes v6.6.1 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling bitflags v1.3.2 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling build_const v0.2.2 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling once_cell v1.21.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling termcolor v1.4.1 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling textwrap v0.16.2 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling cbindgen v0.24.5 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling vcpkg v0.2.15 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling strsim v0.10.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling ryu v1.0.20 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling itoa v1.0.15 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling fastrand v2.3.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling pkg-config v0.3.32 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling memchr v2.7.4 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling heck v0.4.1 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling log v0.4.26 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling cdylib-link-lines v0.1.5 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling powerfmt v0.2.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling time-core v0.1.2 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling crc32fast v1.4.2 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling cc v1.2.16 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling crc v1.8.1 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling byteorder v1.5.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling minimal-lexical v0.2.1 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling deranged v0.3.11 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling clap_lex v0.2.4 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling regex-automata v0.4.9 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling num-conv v0.1.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling base64 v0.22.1 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling arbitrary v0.2.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling lazy_static v1.5.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling indexmap v1.9.3 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling lzma-rs v0.2.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling nom v7.1.3 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling quote v1.0.40 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling syn v2.0.100 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling atty v0.2.14 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling clap v3.2.25 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling bstr v1.11.3 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling time v0.3.36 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling libz-sys v1.1.21 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling libfuzzer-sys v0.1.0 (https://github.com/rust-fuzz/libfuzzer-sys.git#35ce7d71) Step #3 - "compile-libfuzzer-address-x86_64":  Compiling tempfile v3.18.0 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling flate2 v1.0.35 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling serde_derive v1.0.219 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling toml v0.5.11 Step #3 - "compile-libfuzzer-address-x86_64":  Compiling htp v2.0.0 (/src/libhtp-rs) Step #3 - "compile-libfuzzer-address-x86_64":  Compiling htp-fuzz v0.0.1 (/src/libhtp-rs/fuzz) Step #3 - "compile-libfuzzer-address-x86_64": error[E0432]: unresolved import `htp::test` Step #3 - "compile-libfuzzer-address-x86_64":  --> fuzz_targets/fuzz_htp.rs:7:10 Step #3 - "compile-libfuzzer-address-x86_64":  | Step #3 - "compile-libfuzzer-address-x86_64": 7 | use htp::test::{Test, TestConfig}; Step #3 - "compile-libfuzzer-address-x86_64":  | ^^^^ could not find `test` in `htp` Step #3 - "compile-libfuzzer-address-x86_64":  | Step #3 - "compile-libfuzzer-address-x86_64": note: found an item that was configured out Step #3 - "compile-libfuzzer-address-x86_64":  --> /src/libhtp-rs/src/lib.rs:92:9 Step #3 - "compile-libfuzzer-address-x86_64":  | Step #3 - "compile-libfuzzer-address-x86_64": 92 | pub mod test; Step #3 - "compile-libfuzzer-address-x86_64":  | ^^^^ Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": warning: unused import: `std::env` Step #3 - "compile-libfuzzer-address-x86_64":  --> fuzz_targets/fuzz_htp.rs:8:5 Step #3 - "compile-libfuzzer-address-x86_64":  | Step #3 - "compile-libfuzzer-address-x86_64": 8 | use std::env; Step #3 - "compile-libfuzzer-address-x86_64":  | ^^^^^^^^ Step #3 - "compile-libfuzzer-address-x86_64":  | Step #3 - "compile-libfuzzer-address-x86_64":  = note: `#[warn(unused_imports)]` on by default Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": For more information about this error, try `rustc --explain E0432`. Step #3 - "compile-libfuzzer-address-x86_64": warning: `htp-fuzz` (bin "fuzz_htp_rs") generated 1 warning Step #3 - "compile-libfuzzer-address-x86_64": error: could not compile `htp-fuzz` (bin "fuzz_htp_rs") due to 1 previous error; 1 warning emitted Step #3 - "compile-libfuzzer-address-x86_64": Error: failed to build fuzz script: ASAN_OPTIONS="detect_odr_violation=0" RUSTFLAGS="-Cpasses=sancov-module -Cllvm-args=-sanitizer-coverage-level=4 -Cllvm-args=-sanitizer-coverage-inline-8bit-counters -Cllvm-args=-sanitizer-coverage-pc-table -Cllvm-args=-sanitizer-coverage-trace-compares --cfg fuzzing -Clink-dead-code -Zsanitizer=address -Cllvm-args=-sanitizer-coverage-stack-depth -C codegen-units=1 --cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers" "cargo" "build" "--manifest-path" "/src/libhtp-rs/fuzz/Cargo.toml" "--target" "x86_64-unknown-linux-gnu" "--release" "--config" "profile.release.debug=true" "--bins" Step #3 - "compile-libfuzzer-address-x86_64": ******************************************************************************** Step #3 - "compile-libfuzzer-address-x86_64": Failed to build. Step #3 - "compile-libfuzzer-address-x86_64": To reproduce, run: Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_image libhtp Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 libhtp Step #3 - "compile-libfuzzer-address-x86_64": ******************************************************************************** Finished Step #3 - "compile-libfuzzer-address-x86_64" ERROR ERROR: build step 3 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 1