starting build "7457c635-3c2f-4f79-8bbb-cbc66fc00c87" 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 3.584kB Step #1: Step 1/5 : 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: c9e16898e54d: Waiting Step #1: e2bf934a1fde: Pulling fs layer Step #1: 67ae2060248d: Pulling fs layer Step #1: a397e481ff57: Waiting Step #1: eccb1330175b: Pulling fs layer Step #1: 7f90ecb8e4d6: Waiting 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: 1e34e18e386e: Waiting Step #1: b840ccdb7eeb: Pulling fs layer Step #1: ce26b4380d46: Waiting Step #1: cbffa59180b5: Pulling fs layer Step #1: da35800ee821: Waiting Step #1: 3291b748342a: Pulling fs layer Step #1: 5dc6edc3cf5f: Waiting Step #1: 5173cde1bd66: Waiting Step #1: 8c2556f55b93: Waiting Step #1: fa4207b84c31: Waiting Step #1: ef31bd35b792: Pulling fs layer Step #1: b1256746ef70: Pulling fs layer Step #1: bf4f02a303d8: Waiting Step #1: 67ae2060248d: Waiting Step #1: ce1ee8b7110e: Pulling fs layer Step #1: e2bf934a1fde: Waiting Step #1: 1bbdcbbd8481: Pulling fs layer Step #1: eccb1330175b: Waiting Step #1: 1933c895cdb1: Pulling fs layer Step #1: 43fb6ebaf28e: Waiting Step #1: 20f0bfcb2bcb: Waiting Step #1: f931609958c7: Waiting Step #1: 3291b748342a: Waiting Step #1: bfc41af53bee: Waiting Step #1: ef31bd35b792: Waiting Step #1: 1bbdcbbd8481: Waiting Step #1: 7384719a7753: Waiting Step #1: b1256746ef70: Waiting Step #1: b840ccdb7eeb: Waiting Step #1: 0f18c7482fde: Waiting Step #1: ce1ee8b7110e: Waiting Step #1: ee19cad5d6c8: Waiting Step #1: 7054a7cd5879: Verifying Checksum 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: 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: da35800ee821: Verifying Checksum Step #1: da35800ee821: Download complete Step #1: 8c2556f55b93: Verifying Checksum Step #1: 8c2556f55b93: Download complete Step #1: b549f31133a9: Pull complete Step #1: bf4f02a303d8: Verifying Checksum Step #1: bf4f02a303d8: Download complete Step #1: bfc41af53bee: Download complete Step #1: ee19cad5d6c8: Verifying Checksum Step #1: ee19cad5d6c8: Download complete Step #1: 43fb6ebaf28e: Verifying Checksum Step #1: 43fb6ebaf28e: Download complete Step #1: e2bf934a1fde: Verifying Checksum Step #1: e2bf934a1fde: Download complete Step #1: 67ae2060248d: Verifying Checksum Step #1: 67ae2060248d: Download complete Step #1: eccb1330175b: Verifying Checksum Step #1: eccb1330175b: Download complete Step #1: 20f0bfcb2bcb: Verifying Checksum Step #1: 20f0bfcb2bcb: Download complete Step #1: 5173cde1bd66: Verifying Checksum Step #1: 5173cde1bd66: 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: cbffa59180b5: Verifying Checksum Step #1: cbffa59180b5: Download complete Step #1: b840ccdb7eeb: Verifying Checksum Step #1: b840ccdb7eeb: Download complete Step #1: 3291b748342a: Verifying Checksum Step #1: 3291b748342a: Download complete Step #1: ef31bd35b792: Verifying Checksum Step #1: ef31bd35b792: Download complete Step #1: ce1ee8b7110e: Verifying Checksum Step #1: ce1ee8b7110e: Download complete Step #1: b1256746ef70: Download complete Step #1: 1bbdcbbd8481: Verifying Checksum Step #1: 1bbdcbbd8481: Download complete Step #1: 1933c895cdb1: Verifying Checksum Step #1: 1933c895cdb1: Download complete Step #1: 7f90ecb8e4d6: Verifying Checksum Step #1: 7f90ecb8e4d6: Download complete Step #1: 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/5 : RUN apt-get update && apt-get install -y make cmake Step #1: ---> Running in 8aa2ab08b201 Step #1: Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease Step #1: Hit:2 http://security.ubuntu.com/ubuntu focal-security 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 (136 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: cmake-data libarchive13 libicu66 libjsoncpp1 librhash0 libuv1 libxml2 Step #1: Suggested packages: Step #1: cmake-doc ninja-build lrzip Step #1: The following NEW packages will be installed: Step #1: cmake cmake-data libarchive13 libicu66 libjsoncpp1 librhash0 libuv1 libxml2 Step #1: 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded. Step #1: Need to get 15.0 MB of archives. Step #1: After this operation, 65.0 MB of additional disk space will be used. Step #1: Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libicu66 amd64 66.1-2ubuntu2.1 [8515 kB] Step #1: Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libxml2 amd64 2.9.10+dfsg-5ubuntu0.20.04.7 [640 kB] Step #1: Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libuv1 amd64 1.34.2-1ubuntu1.5 [80.9 kB] Step #1: Get:4 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 cmake-data all 3.16.3-1ubuntu1.20.04.1 [1613 kB] Step #1: Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libarchive13 amd64 3.4.0-2ubuntu1.2 [327 kB] Step #1: Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 libjsoncpp1 amd64 1.7.4-3.1ubuntu2 [75.6 kB] Step #1: Get:7 http://archive.ubuntu.com/ubuntu focal/main amd64 librhash0 amd64 1.3.9-1 [113 kB] Step #1: Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 cmake amd64 3.16.3-1ubuntu1.20.04.1 [3668 kB] Step #1: debconf: delaying package configuration, since apt-utils is not installed Step #1: Fetched 15.0 MB in 2s (9013 kB/s) Step #1: Selecting previously unselected package libicu66:amd64. 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 ... 17384 files and directories currently installed.) Step #1: Preparing to unpack .../0-libicu66_66.1-2ubuntu2.1_amd64.deb ... Step #1: Unpacking libicu66:amd64 (66.1-2ubuntu2.1) ... Step #1: Selecting previously unselected package libxml2:amd64. Step #1: Preparing to unpack .../1-libxml2_2.9.10+dfsg-5ubuntu0.20.04.7_amd64.deb ... Step #1: Unpacking libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.7) ... Step #1: Selecting previously unselected package libuv1:amd64. Step #1: Preparing to unpack .../2-libuv1_1.34.2-1ubuntu1.5_amd64.deb ... Step #1: Unpacking libuv1:amd64 (1.34.2-1ubuntu1.5) ... Step #1: Selecting previously unselected package cmake-data. Step #1: Preparing to unpack .../3-cmake-data_3.16.3-1ubuntu1.20.04.1_all.deb ... Step #1: Unpacking cmake-data (3.16.3-1ubuntu1.20.04.1) ... Step #1: Selecting previously unselected package libarchive13:amd64. Step #1: Preparing to unpack .../4-libarchive13_3.4.0-2ubuntu1.2_amd64.deb ... Step #1: Unpacking libarchive13:amd64 (3.4.0-2ubuntu1.2) ... Step #1: Selecting previously unselected package libjsoncpp1:amd64. Step #1: Preparing to unpack .../5-libjsoncpp1_1.7.4-3.1ubuntu2_amd64.deb ... Step #1: Unpacking libjsoncpp1:amd64 (1.7.4-3.1ubuntu2) ... Step #1: Selecting previously unselected package librhash0:amd64. Step #1: Preparing to unpack .../6-librhash0_1.3.9-1_amd64.deb ... Step #1: Unpacking librhash0:amd64 (1.3.9-1) ... Step #1: Selecting previously unselected package cmake. Step #1: Preparing to unpack .../7-cmake_3.16.3-1ubuntu1.20.04.1_amd64.deb ... Step #1: Unpacking cmake (3.16.3-1ubuntu1.20.04.1) ... Step #1: Setting up libicu66:amd64 (66.1-2ubuntu2.1) ... Step #1: Setting up libuv1:amd64 (1.34.2-1ubuntu1.5) ... Step #1: Setting up librhash0:amd64 (1.3.9-1) ... Step #1: Setting up cmake-data (3.16.3-1ubuntu1.20.04.1) ... Step #1: Setting up libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.7) ... Step #1: Setting up libjsoncpp1:amd64 (1.7.4-3.1ubuntu2) ... Step #1: Setting up libarchive13:amd64 (3.4.0-2ubuntu1.2) ... Step #1: Setting up cmake (3.16.3-1ubuntu1.20.04.1) ... Step #1: Processing triggers for libc-bin (2.31-0ubuntu9.16) ... Step #1: Removing intermediate container 8aa2ab08b201 Step #1: ---> a1afe189c054 Step #1: Step 3/5 : RUN git clone --depth 1 https://github.com/simdutf/simdutf simdutf Step #1: ---> Running in f4406287c09d Step #1: Cloning into 'simdutf'... Step #1: Removing intermediate container f4406287c09d Step #1: ---> 712c4624060d Step #1: Step 4/5 : RUN cp simdutf/fuzz/build.sh $SRC/ Step #1: ---> Running in 2d13d6cc4d1c Step #1: Removing intermediate container 2d13d6cc4d1c Step #1: ---> 70ca6a1841c9 Step #1: Step 5/5 : WORKDIR simdutf Step #1: ---> Running in c49336c8a42e Step #1: Removing intermediate container c49336c8a42e Step #1: ---> f518bd0a081c Step #1: Successfully built f518bd0a081c Step #1: Successfully tagged gcr.io/oss-fuzz/simdutf:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/simdutf Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/filebGat3P 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/simdutf/.git Step #2 - "srcmap": + GIT_DIR=/src/simdutf Step #2 - "srcmap": + cd /src/simdutf Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/simdutf/simdutf Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=5c1a86887010cd2b4d648049c4d73de81a026341 Step #2 - "srcmap": + jq_inplace /tmp/filebGat3P '."/src/simdutf" = { type: "git", url: "https://github.com/simdutf/simdutf", rev: "5c1a86887010cd2b4d648049c4d73de81a026341" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileY6b2fa Step #2 - "srcmap": + cat /tmp/filebGat3P Step #2 - "srcmap": + jq '."/src/simdutf" = { type: "git", url: "https://github.com/simdutf/simdutf", rev: "5c1a86887010cd2b4d648049c4d73de81a026341" }' Step #2 - "srcmap": + mv /tmp/fileY6b2fa /tmp/filebGat3P 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/filebGat3P Step #2 - "srcmap": + rm /tmp/filebGat3P Step #2 - "srcmap": { Step #2 - "srcmap": "/src/simdutf": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/simdutf/simdutf", Step #2 - "srcmap": "rev": "5c1a86887010cd2b4d648049c4d73de81a026341" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-afl-address-x86_64" Step #3 - "compile-afl-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-afl-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-afl-address-x86_64": vm.mmap_rnd_bits = 28 Step #3 - "compile-afl-address-x86_64": Copying precompiled AFL++ Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": AFL++ target compilation setup: Step #3 - "compile-afl-address-x86_64": AFL_IGNORE_UNKNOWN_ENVS=1 Step #3 - "compile-afl-address-x86_64": AFL_QUIET=1 Step #3 - "compile-afl-address-x86_64": AFL_IGNORE_PROBLEMS=1 Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": done. Step #3 - "compile-afl-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-afl-address-x86_64": CC=/src/aflplusplus/afl-clang-fast Step #3 - "compile-afl-address-x86_64": CXX=/src/aflplusplus/afl-clang-fast++ Step #3 - "compile-afl-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 -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope Step #3 - "compile-afl-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 -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -stdlib=libc++ Step #3 - "compile-afl-address-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #3 - "compile-afl-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-afl-address-x86_64": + cd /src/simdutf Step #3 - "compile-afl-address-x86_64": + cmake -B build Step #3 - "compile-afl-address-x86_64": -- The CXX compiler identification is Clang 18.0.0 Step #3 - "compile-afl-address-x86_64": -- Detecting CXX compiler ABI info Step #3 - "compile-afl-address-x86_64": -- Detecting CXX compiler ABI info - done Step #3 - "compile-afl-address-x86_64": -- Check for working CXX compiler: /src/aflplusplus/afl-clang-fast++ - skipped Step #3 - "compile-afl-address-x86_64": -- Detecting CXX compile features Step #3 - "compile-afl-address-x86_64": -- Detecting CXX compile features - done Step #3 - "compile-afl-address-x86_64": -- No build type selected, default to Release Step #3 - "compile-afl-address-x86_64": -- Found Python3: /usr/local/bin/python3.8 (found version "3.8.3") found components: Interpreter Step #3 - "compile-afl-address-x86_64": -- Python found, we are going to amalgamate.py. Step #3 - "compile-afl-address-x86_64": -- The tests are enabled. Step #3 - "compile-afl-address-x86_64": -- Performing Test Iconv_IS_BUILT_IN Step #3 - "compile-afl-address-x86_64": -- Performing Test Iconv_IS_BUILT_IN - Success Step #3 - "compile-afl-address-x86_64": -- Found Iconv: built in to C library Step #3 - "compile-afl-address-x86_64": -- Iconv was found! Step #3 - "compile-afl-address-x86_64": -- Iconv is part of the C library. Step #3 - "compile-afl-address-x86_64": -- looking for static C++ library in /usr/lib/gcc/x86_64-linux-gnu/9 Step #3 - "compile-afl-address-x86_64": -- libstdc++.a found Step #3 - "compile-afl-address-x86_64": -- The tools require C++17. If your system does not support C++17, please set SIMDUTF_TOOLS to OFF. Step #3 - "compile-afl-address-x86_64": -- The benchmarks can be enabled by setting SIMDUTF_BENCHMARKS, e.g., -D SIMDUTF_BENCHMARKS=ON. Step #3 - "compile-afl-address-x86_64": -- Compiling using the C++ standard:11 Step #3 - "compile-afl-address-x86_64": -- Configuring done (1.4s) Step #3 - "compile-afl-address-x86_64": -- Generating done (0.1s) Step #3 - "compile-afl-address-x86_64": -- Build files have been written to: /src/simdutf/build Step #3 - "compile-afl-address-x86_64": ++ nproc Step #3 - "compile-afl-address-x86_64": + cmake --build build --target simdutf-singleheader-files -j32 Step #3 - "compile-afl-address-x86_64": [ 50%] Building CXX object src/CMakeFiles/simdutf.dir/simdutf.cpp.o Step #3 - "compile-afl-address-x86_64": [ 50%] Linking CXX static library libsimdutf.a Step #3 - "compile-afl-address-x86_64": [ 50%] Built target simdutf Step #3 - "compile-afl-address-x86_64": [100%] Generating simdutf.cpp, simdutf.h, amalgamation_demo.cpp, README.md Step #3 - "compile-afl-address-x86_64": SCRIPTPATH=/src/simdutf/singleheader PROJECTPATH=/src/simdutf Step #3 - "compile-afl-address-x86_64": We are about to amalgamate all simdutf files into one source file. Step #3 - "compile-afl-address-x86_64": See https://www.sqlite.org/amalgamation.html and https://en.wikipedia.org/wiki/Single_Compilation_Unit for rationale. Step #3 - "compile-afl-address-x86_64": timestamp is 2024-07-17 08:05:31 -0400 Step #3 - "compile-afl-address-x86_64": Creating /src/simdutf/build/singleheader/simdutf.h Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": Creating /src/simdutf/build/singleheader/simdutf.cpp Step #3 - "compile-afl-address-x86_64": Done with all files generation. Step #3 - "compile-afl-address-x86_64": Files have been written to directory: /src/simdutf/build/singleheader/ Step #3 - "compile-afl-address-x86_64": Done with all files generation. Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": Giving final instructions: Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": While in the singleheader directory under a linux or macOS system with an install toolchain, try: Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": ``` Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": c++ -o amalgamation_demo amalgamation_demo.cpp -std=c++17 && ./amalgamation_demo Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": ``` Step #3 - "compile-afl-address-x86_64": [100%] Built target simdutf-singleheader-files Step #3 - "compile-afl-address-x86_64": + /src/aflplusplus/afl-clang-fast++ -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -stdlib=libc++ -I build/singleheader -c fuzz/roundtrip.cc -o roundtrip.o Step #3 - "compile-afl-address-x86_64": + /src/aflplusplus/afl-clang-fast++ -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -stdlib=libc++ /usr/lib/libFuzzingEngine.a roundtrip.o -o /workspace/out/afl-address-x86_64/roundtrip Finished Step #3 - "compile-afl-address-x86_64" Starting Step #4 - "build-check-afl-address-x86_64" Step #4 - "build-check-afl-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #4 - "build-check-afl-address-x86_64": Unable to find image 'gcr.io/oss-fuzz-base/base-runner:latest' locally Step #4 - "build-check-afl-address-x86_64": latest: Pulling from oss-fuzz-base/base-runner Step #4 - "build-check-afl-address-x86_64": b549f31133a9: Already exists Step #4 - "build-check-afl-address-x86_64": 8726513ee210: Already exists Step #4 - "build-check-afl-address-x86_64": 7054a7cd5879: Already exists Step #4 - "build-check-afl-address-x86_64": f739589ce639: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": b2322709fa19: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": ec3daab22494: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 25b017c9085d: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 6d8064d22942: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 2c5826f03939: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 5342ef9d65f0: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": bf550828fd45: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 6653c9292bbf: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": b1b96c73e874: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 30e213053f23: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 0c00a16d8aaa: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 0468880b53a6: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": fe12524a520c: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 222eb0282449: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 242151016182: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 6e1ab450e78e: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 6d8064d22942: Waiting Step #4 - "build-check-afl-address-x86_64": 2c5826f03939: Waiting Step #4 - "build-check-afl-address-x86_64": 5342ef9d65f0: Waiting Step #4 - "build-check-afl-address-x86_64": 25b017c9085d: Waiting Step #4 - "build-check-afl-address-x86_64": bf550828fd45: Waiting Step #4 - "build-check-afl-address-x86_64": 6653c9292bbf: Waiting Step #4 - "build-check-afl-address-x86_64": b1b96c73e874: Waiting Step #4 - "build-check-afl-address-x86_64": 242151016182: Waiting Step #4 - "build-check-afl-address-x86_64": 30e213053f23: Waiting Step #4 - "build-check-afl-address-x86_64": 6e1ab450e78e: Waiting Step #4 - "build-check-afl-address-x86_64": fe12524a520c: Waiting Step #4 - "build-check-afl-address-x86_64": 0468880b53a6: Waiting Step #4 - "build-check-afl-address-x86_64": ec3daab22494: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": ec3daab22494: Download complete Step #4 - "build-check-afl-address-x86_64": f739589ce639: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": f739589ce639: Download complete Step #4 - "build-check-afl-address-x86_64": b2322709fa19: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": b2322709fa19: Download complete Step #4 - "build-check-afl-address-x86_64": 6d8064d22942: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 6d8064d22942: Download complete Step #4 - "build-check-afl-address-x86_64": 2c5826f03939: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 2c5826f03939: Download complete Step #4 - "build-check-afl-address-x86_64": f739589ce639: Pull complete Step #4 - "build-check-afl-address-x86_64": 5342ef9d65f0: Download complete Step #4 - "build-check-afl-address-x86_64": 6653c9292bbf: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 6653c9292bbf: Download complete Step #4 - "build-check-afl-address-x86_64": bf550828fd45: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": bf550828fd45: Download complete Step #4 - "build-check-afl-address-x86_64": b2322709fa19: Pull complete Step #4 - "build-check-afl-address-x86_64": ec3daab22494: Pull complete Step #4 - "build-check-afl-address-x86_64": 30e213053f23: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 30e213053f23: Download complete Step #4 - "build-check-afl-address-x86_64": 0c00a16d8aaa: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 0c00a16d8aaa: Download complete Step #4 - "build-check-afl-address-x86_64": 25b017c9085d: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 25b017c9085d: Download complete Step #4 - "build-check-afl-address-x86_64": b1b96c73e874: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": b1b96c73e874: Download complete Step #4 - "build-check-afl-address-x86_64": 222eb0282449: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 222eb0282449: Download complete Step #4 - "build-check-afl-address-x86_64": 0468880b53a6: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 0468880b53a6: Download complete Step #4 - "build-check-afl-address-x86_64": 242151016182: Download complete Step #4 - "build-check-afl-address-x86_64": 6e1ab450e78e: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 6e1ab450e78e: Download complete Step #4 - "build-check-afl-address-x86_64": fe12524a520c: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": fe12524a520c: Download complete Step #4 - "build-check-afl-address-x86_64": 25b017c9085d: Pull complete Step #4 - "build-check-afl-address-x86_64": 6d8064d22942: Pull complete Step #4 - "build-check-afl-address-x86_64": 2c5826f03939: Pull complete Step #4 - "build-check-afl-address-x86_64": 5342ef9d65f0: Pull complete Step #4 - "build-check-afl-address-x86_64": bf550828fd45: Pull complete Step #4 - "build-check-afl-address-x86_64": 6653c9292bbf: Pull complete Step #4 - "build-check-afl-address-x86_64": b1b96c73e874: Pull complete Step #4 - "build-check-afl-address-x86_64": 30e213053f23: Pull complete Step #4 - "build-check-afl-address-x86_64": 0c00a16d8aaa: Pull complete Step #4 - "build-check-afl-address-x86_64": 0468880b53a6: Pull complete Step #4 - "build-check-afl-address-x86_64": fe12524a520c: Pull complete Step #4 - "build-check-afl-address-x86_64": 222eb0282449: Pull complete Step #4 - "build-check-afl-address-x86_64": 242151016182: Pull complete Step #4 - "build-check-afl-address-x86_64": 6e1ab450e78e: Pull complete Step #4 - "build-check-afl-address-x86_64": Digest: sha256:d621363d499310ec5bc7b44d62ff87d43cb095b1d56c74cf68d189ea6487d961 Step #4 - "build-check-afl-address-x86_64": Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-runner:latest Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpqmkdbk_s/roundtrip Finished Step #4 - "build-check-afl-address-x86_64" Starting Step #5 Step #5: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #5 Starting Step #6 Step #6: Already have image: gcr.io/oss-fuzz/simdutf Step #6: adding: SanitizerCoverageLTO.so (deflated 70%) Step #6: adding: SanitizerCoveragePCGUARD.so (deflated 70%) Step #6: adding: afl-addseeds (deflated 56%) Step #6: adding: afl-analyze (deflated 54%) Step #6: adding: afl-as (deflated 63%) Step #6: adding: afl-c++ (deflated 57%) Step #6: adding: afl-c++.8 (deflated 56%) Step #6: adding: afl-cc (deflated 57%) Step #6: adding: afl-cc.8 (deflated 56%) Step #6: adding: afl-clang (deflated 57%) Step #6: adding: afl-clang++ (deflated 57%) Step #6: adding: afl-clang-fast (deflated 57%) Step #6: adding: afl-clang-fast++ (deflated 57%) Step #6: adding: afl-clang-fast++.8 (deflated 56%) Step #6: adding: afl-clang-fast.8 (deflated 56%) Step #6: adding: afl-clang-lto (deflated 57%) Step #6: adding: afl-clang-lto++ (deflated 57%) Step #6: adding: afl-clang-lto++.8 (deflated 56%) Step #6: adding: afl-clang-lto.8 (deflated 56%) Step #6: adding: afl-cmin (deflated 70%) Step #6: adding: afl-cmin.bash (deflated 65%) Step #6: adding: afl-compiler-rt-32.o (deflated 56%) Step #6: adding: afl-compiler-rt-64.o (deflated 67%) Step #6: adding: afl-compiler-rt.o (deflated 67%) Step #6: adding: afl-fuzz (deflated 55%) Step #6: adding: afl-g++ (deflated 57%) Step #6: adding: afl-gcc (deflated 57%) Step #6: adding: afl-gotcpu (deflated 61%) Step #6: adding: afl-ld-lto (deflated 62%) Step #6: adding: afl-llvm-dict2file.so (deflated 69%) Step #6: adding: afl-llvm-lto-instrumentlist.so (deflated 70%) Step #6: adding: afl-llvm-pass.so (deflated 68%) Step #6: adding: afl-llvm-rt-lto-32.o (deflated 21%) Step #6: adding: afl-llvm-rt-lto-64.o (deflated 20%) Step #6: adding: afl-llvm-rt-lto.o (deflated 20%) Step #6: adding: afl-lto (deflated 57%) Step #6: adding: afl-lto++ (deflated 57%) Step #6: adding: afl-lto++.8 (deflated 56%) Step #6: adding: afl-lto.8 (deflated 56%) Step #6: adding: afl-persistent-config (deflated 60%) Step #6: adding: afl-plot (deflated 65%) Step #6: adding: afl-showmap (deflated 55%) Step #6: adding: afl-system-config (deflated 63%) Step #6: adding: afl-tmin (deflated 54%) Step #6: adding: afl-whatsup (deflated 69%) Step #6: adding: afl-wine-trace (deflated 70%) Step #6: adding: afl_options.txt (deflated 20%) Step #6: adding: cmplog-instructions-pass.so (deflated 69%) Step #6: adding: cmplog-routines-pass.so (deflated 70%) Step #6: adding: cmplog-switches-pass.so (deflated 69%) Step #6: adding: compare-transform-pass.so (deflated 69%) Step #6: adding: dynamic_list.txt (deflated 76%) Step #6: adding: libAFLDriver.a (deflated 64%) Step #6: adding: libAFLQemuDriver.a (deflated 64%) Step #6: adding: llvm-symbolizer (deflated 66%) Step #6: adding: roundtrip (deflated 68%) Step #6: adding: split-compares-pass.so (deflated 68%) Step #6: adding: split-switches-pass.so (deflated 69%) Finished Step #6 Starting Step #7 Step #7: Pulling image: gcr.io/oss-fuzz-base/uploader Step #7: Using default tag: latest Step #7: latest: Pulling from oss-fuzz-base/uploader Step #7: c62795f78da9: Pulling fs layer Step #7: d4fceeeb758e: Pulling fs layer Step #7: 5c9125a401ae: Pulling fs layer Step #7: 0062f774e994: Pulling fs layer Step #7: 6b33fd031fac: Pulling fs layer Step #7: 7eb39101e508: Pulling fs layer Step #7: 89257482f398: Pulling fs layer Step #7: 6b33fd031fac: Waiting Step #7: 7eb39101e508: Waiting Step #7: 89257482f398: Waiting Step #7: 0062f774e994: Waiting Step #7: d4fceeeb758e: Verifying Checksum Step #7: d4fceeeb758e: Download complete Step #7: 5c9125a401ae: Verifying Checksum Step #7: 5c9125a401ae: Download complete Step #7: 0062f774e994: Download complete Step #7: 6b33fd031fac: Verifying Checksum Step #7: 6b33fd031fac: Download complete Step #7: 89257482f398: Verifying Checksum Step #7: 89257482f398: Download complete Step #7: c62795f78da9: Verifying Checksum Step #7: c62795f78da9: Download complete Step #7: 7eb39101e508: Verifying Checksum Step #7: 7eb39101e508: Download complete Step #7: c62795f78da9: Pull complete Step #7: d4fceeeb758e: Pull complete Step #7: 5c9125a401ae: Pull complete Step #7: 0062f774e994: Pull complete Step #7: 6b33fd031fac: Pull complete Step #7: 7eb39101e508: Pull complete Step #7: 89257482f398: Pull complete Step #7: Digest: sha256:5717ba63d13b5515063e2a6ccad09fb5bf32a86c8e0798a363d81c2be522e411 Step #7: Status: Downloaded newer image for gcr.io/oss-fuzz-base/uploader:latest Step #7: gcr.io/oss-fuzz-base/uploader:latest Step #7: % Total % Received % Xferd Average Speed Time Time Time Current Step #7: Dload Upload Total Spent Left Speed Step #7: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 150 0 0 100 150 0 722 --:--:-- --:--:-- --:--:-- 724 Finished Step #7 Starting Step #8 Step #8: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #8: % Total % Received % Xferd Average Speed Time Time Time Current Step #8: Dload Upload Total Spent Left Speed Step #8: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9932k 0 0 100 9932k 0 28.5M --:--:-- --:--:-- --:--:-- 28.6M Finished Step #8 Starting Step #9 Step #9: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #9: % Total % Received % Xferd Average Speed Time Time Time Current Step #9: Dload Upload Total Spent Left Speed Step #9: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10 0 0 100 10 0 33 --:--:-- --:--:-- --:--:-- 33 Finished Step #9 Starting Step #10 Step #10: Already have image (with digest): gcr.io/cloud-builders/curl Step #10: % Total % Received % Xferd Average Speed Time Time Time Current Step #10: Dload Upload Total Spent Left Speed Step #10: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 32 0 0 100 32 0 150 --:--:-- --:--:-- --:--:-- 151 Finished Step #10 Starting Step #11 Step #11: Already have image: gcr.io/oss-fuzz/simdutf Finished Step #11 Starting Step #12 - "compile-honggfuzz-address-x86_64" Step #12 - "compile-honggfuzz-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #12 - "compile-honggfuzz-address-x86_64": --------------------------------------------------------------- Step #12 - "compile-honggfuzz-address-x86_64": vm.mmap_rnd_bits = 28 Step #12 - "compile-honggfuzz-address-x86_64": Skipping compilation; using precompiled honggfuzz Step #12 - "compile-honggfuzz-address-x86_64": done. Step #12 - "compile-honggfuzz-address-x86_64": --------------------------------------------------------------- Step #12 - "compile-honggfuzz-address-x86_64": CC=clang Step #12 - "compile-honggfuzz-address-x86_64": CXX=clang++ Step #12 - "compile-honggfuzz-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 -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp Step #12 - "compile-honggfuzz-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 -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -stdlib=libc++ Step #12 - "compile-honggfuzz-address-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #12 - "compile-honggfuzz-address-x86_64": --------------------------------------------------------------- Step #12 - "compile-honggfuzz-address-x86_64": + cd /src/simdutf Step #12 - "compile-honggfuzz-address-x86_64": + cmake -B build Step #12 - "compile-honggfuzz-address-x86_64": -- The CXX compiler identification is Clang 18.0.0 Step #12 - "compile-honggfuzz-address-x86_64": -- Detecting CXX compiler ABI info Step #12 - "compile-honggfuzz-address-x86_64": -- Detecting CXX compiler ABI info - done Step #12 - "compile-honggfuzz-address-x86_64": -- Check for working CXX compiler: /usr/local/bin/clang++ - skipped Step #12 - "compile-honggfuzz-address-x86_64": -- Detecting CXX compile features Step #12 - "compile-honggfuzz-address-x86_64": -- Detecting CXX compile features - done Step #12 - "compile-honggfuzz-address-x86_64": -- No build type selected, default to Release Step #12 - "compile-honggfuzz-address-x86_64": -- Found Python3: /usr/local/bin/python3.8 (found version "3.8.3") found components: Interpreter Step #12 - "compile-honggfuzz-address-x86_64": -- Python found, we are going to amalgamate.py. Step #12 - "compile-honggfuzz-address-x86_64": -- The tests are enabled. Step #12 - "compile-honggfuzz-address-x86_64": -- Performing Test Iconv_IS_BUILT_IN Step #12 - "compile-honggfuzz-address-x86_64": -- Performing Test Iconv_IS_BUILT_IN - Success Step #12 - "compile-honggfuzz-address-x86_64": -- Found Iconv: built in to C library Step #12 - "compile-honggfuzz-address-x86_64": -- Iconv was found! Step #12 - "compile-honggfuzz-address-x86_64": -- Iconv is part of the C library. Step #12 - "compile-honggfuzz-address-x86_64": -- looking for static C++ library in /usr/lib/gcc/x86_64-linux-gnu/9 Step #12 - "compile-honggfuzz-address-x86_64": -- libstdc++.a found Step #12 - "compile-honggfuzz-address-x86_64": -- The tools require C++17. If your system does not support C++17, please set SIMDUTF_TOOLS to OFF. Step #12 - "compile-honggfuzz-address-x86_64": -- The benchmarks can be enabled by setting SIMDUTF_BENCHMARKS, e.g., -D SIMDUTF_BENCHMARKS=ON. Step #12 - "compile-honggfuzz-address-x86_64": -- Compiling using the C++ standard:11 Step #12 - "compile-honggfuzz-address-x86_64": -- Configuring done (1.4s) Step #12 - "compile-honggfuzz-address-x86_64": -- Generating done (0.1s) Step #12 - "compile-honggfuzz-address-x86_64": -- Build files have been written to: /src/simdutf/build Step #12 - "compile-honggfuzz-address-x86_64": ++ nproc Step #12 - "compile-honggfuzz-address-x86_64": + cmake --build build --target simdutf-singleheader-files -j32 Step #12 - "compile-honggfuzz-address-x86_64": [ 50%] Building CXX object src/CMakeFiles/simdutf.dir/simdutf.cpp.o Step #12 - "compile-honggfuzz-address-x86_64": [ 50%] Linking CXX static library libsimdutf.a Step #12 - "compile-honggfuzz-address-x86_64": [ 50%] Built target simdutf Step #12 - "compile-honggfuzz-address-x86_64": [100%] Generating simdutf.cpp, simdutf.h, amalgamation_demo.cpp, README.md Step #12 - "compile-honggfuzz-address-x86_64": SCRIPTPATH=/src/simdutf/singleheader PROJECTPATH=/src/simdutf Step #12 - "compile-honggfuzz-address-x86_64": We are about to amalgamate all simdutf files into one source file. Step #12 - "compile-honggfuzz-address-x86_64": See https://www.sqlite.org/amalgamation.html and https://en.wikipedia.org/wiki/Single_Compilation_Unit for rationale. Step #12 - "compile-honggfuzz-address-x86_64": timestamp is 2024-07-17 08:05:31 -0400 Step #12 - "compile-honggfuzz-address-x86_64": Creating /src/simdutf/build/singleheader/simdutf.h Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": Creating /src/simdutf/build/singleheader/simdutf.cpp Step #12 - "compile-honggfuzz-address-x86_64": Done with all files generation. Step #12 - "compile-honggfuzz-address-x86_64": Files have been written to directory: /src/simdutf/build/singleheader/ Step #12 - "compile-honggfuzz-address-x86_64": Done with all files generation. Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": Giving final instructions: Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": While in the singleheader directory under a linux or macOS system with an install toolchain, try: Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": ``` Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": c++ -o amalgamation_demo amalgamation_demo.cpp -std=c++17 && ./amalgamation_demo Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": ``` Step #12 - "compile-honggfuzz-address-x86_64": [100%] Built target simdutf-singleheader-files Step #12 - "compile-honggfuzz-address-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 -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -stdlib=libc++ -I build/singleheader -c fuzz/roundtrip.cc -o roundtrip.o Step #12 - "compile-honggfuzz-address-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 -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -stdlib=libc++ /usr/lib/libFuzzingEngine.a roundtrip.o -o /workspace/out/honggfuzz-address-x86_64/roundtrip Finished Step #12 - "compile-honggfuzz-address-x86_64" Starting Step #13 - "build-check-honggfuzz-address-x86_64" Step #13 - "build-check-honggfuzz-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpp1ga9c_2/roundtrip Finished Step #13 - "build-check-honggfuzz-address-x86_64" Starting Step #14 Step #14: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #14 Starting Step #15 Step #15: Already have image: gcr.io/oss-fuzz/simdutf Step #15: adding: honggfuzz (deflated 66%) Step #15: adding: llvm-symbolizer (deflated 66%) Step #15: adding: roundtrip (deflated 68%) Finished Step #15 Starting Step #16 Step #16: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #16: % Total % Received % Xferd Average Speed Time Time Time Current Step #16: Dload Upload Total Spent Left Speed Step #16: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 150 0 0 100 150 0 712 --:--:-- --:--:-- --:--:-- 714 Finished Step #16 Starting Step #17 Step #17: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #17: % Total % Received % Xferd Average Speed Time Time Time Current Step #17: Dload Upload Total Spent Left Speed Step #17: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4512k 0 0 100 4512k 0 13.2M --:--:-- --:--:-- --:--:-- 13.3M Finished Step #17 Starting Step #18 Step #18: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #18: % Total % Received % Xferd Average Speed Time Time Time Current Step #18: Dload Upload Total Spent Left Speed Step #18: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10 0 0 100 10 0 28 --:--:-- --:--:-- --:--:-- 28 Finished Step #18 Starting Step #19 Step #19: Already have image (with digest): gcr.io/cloud-builders/curl Step #19: % Total % Received % Xferd Average Speed Time Time Time Current Step #19: Dload Upload Total Spent Left Speed Step #19: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 32 0 0 100 32 0 118 --:--:-- --:--:-- --:--:-- 118 Finished Step #19 Starting Step #20 Step #20: Already have image: gcr.io/oss-fuzz/simdutf Finished Step #20 Starting Step #21 - "compile-libfuzzer-address-x86_64" Step #21 - "compile-libfuzzer-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #21 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #21 - "compile-libfuzzer-address-x86_64": vm.mmap_rnd_bits = 28 Step #21 - "compile-libfuzzer-address-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #21 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #21 - "compile-libfuzzer-address-x86_64": CC=clang Step #21 - "compile-libfuzzer-address-x86_64": CXX=clang++ Step #21 - "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 -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link Step #21 - "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 -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ Step #21 - "compile-libfuzzer-address-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #21 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #21 - "compile-libfuzzer-address-x86_64": + cd /src/simdutf Step #21 - "compile-libfuzzer-address-x86_64": + cmake -B build Step #21 - "compile-libfuzzer-address-x86_64": -- The CXX compiler identification is Clang 18.0.0 Step #21 - "compile-libfuzzer-address-x86_64": -- Detecting CXX compiler ABI info Step #21 - "compile-libfuzzer-address-x86_64": -- Detecting CXX compiler ABI info - done Step #21 - "compile-libfuzzer-address-x86_64": -- Check for working CXX compiler: /usr/local/bin/clang++ - skipped Step #21 - "compile-libfuzzer-address-x86_64": -- Detecting CXX compile features Step #21 - "compile-libfuzzer-address-x86_64": -- Detecting CXX compile features - done Step #21 - "compile-libfuzzer-address-x86_64": -- No build type selected, default to Release Step #21 - "compile-libfuzzer-address-x86_64": -- Found Python3: /usr/local/bin/python3.8 (found version "3.8.3") found components: Interpreter Step #21 - "compile-libfuzzer-address-x86_64": -- Python found, we are going to amalgamate.py. Step #21 - "compile-libfuzzer-address-x86_64": -- The tests are enabled. Step #21 - "compile-libfuzzer-address-x86_64": -- Performing Test Iconv_IS_BUILT_IN Step #21 - "compile-libfuzzer-address-x86_64": -- Performing Test Iconv_IS_BUILT_IN - Success Step #21 - "compile-libfuzzer-address-x86_64": -- Found Iconv: built in to C library Step #21 - "compile-libfuzzer-address-x86_64": -- Iconv was found! Step #21 - "compile-libfuzzer-address-x86_64": -- Iconv is part of the C library. Step #21 - "compile-libfuzzer-address-x86_64": -- looking for static C++ library in /usr/lib/gcc/x86_64-linux-gnu/9 Step #21 - "compile-libfuzzer-address-x86_64": -- libstdc++.a found Step #21 - "compile-libfuzzer-address-x86_64": -- The tools require C++17. If your system does not support C++17, please set SIMDUTF_TOOLS to OFF. Step #21 - "compile-libfuzzer-address-x86_64": -- The benchmarks can be enabled by setting SIMDUTF_BENCHMARKS, e.g., -D SIMDUTF_BENCHMARKS=ON. Step #21 - "compile-libfuzzer-address-x86_64": -- Compiling using the C++ standard:11 Step #21 - "compile-libfuzzer-address-x86_64": -- Configuring done (1.4s) Step #21 - "compile-libfuzzer-address-x86_64": -- Generating done (0.1s) Step #21 - "compile-libfuzzer-address-x86_64": -- Build files have been written to: /src/simdutf/build Step #21 - "compile-libfuzzer-address-x86_64": ++ nproc Step #21 - "compile-libfuzzer-address-x86_64": + cmake --build build --target simdutf-singleheader-files -j32 Step #21 - "compile-libfuzzer-address-x86_64": [ 50%] Building CXX object src/CMakeFiles/simdutf.dir/simdutf.cpp.o Step #21 - "compile-libfuzzer-address-x86_64": [ 50%] Linking CXX static library libsimdutf.a Step #21 - "compile-libfuzzer-address-x86_64": [ 50%] Built target simdutf Step #21 - "compile-libfuzzer-address-x86_64": [100%] Generating simdutf.cpp, simdutf.h, amalgamation_demo.cpp, README.md Step #21 - "compile-libfuzzer-address-x86_64": SCRIPTPATH=/src/simdutf/singleheader PROJECTPATH=/src/simdutf Step #21 - "compile-libfuzzer-address-x86_64": We are about to amalgamate all simdutf files into one source file. Step #21 - "compile-libfuzzer-address-x86_64": See https://www.sqlite.org/amalgamation.html and https://en.wikipedia.org/wiki/Single_Compilation_Unit for rationale. Step #21 - "compile-libfuzzer-address-x86_64": timestamp is 2024-07-17 08:05:31 -0400 Step #21 - "compile-libfuzzer-address-x86_64": Creating /src/simdutf/build/singleheader/simdutf.h Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": Creating /src/simdutf/build/singleheader/simdutf.cpp Step #21 - "compile-libfuzzer-address-x86_64": Done with all files generation. Step #21 - "compile-libfuzzer-address-x86_64": Files have been written to directory: /src/simdutf/build/singleheader/ Step #21 - "compile-libfuzzer-address-x86_64": Done with all files generation. Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": Giving final instructions: Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": While in the singleheader directory under a linux or macOS system with an install toolchain, try: Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": ``` Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": c++ -o amalgamation_demo amalgamation_demo.cpp -std=c++17 && ./amalgamation_demo Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": ``` Step #21 - "compile-libfuzzer-address-x86_64": [100%] Built target simdutf-singleheader-files Step #21 - "compile-libfuzzer-address-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 -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ -I build/singleheader -c fuzz/roundtrip.cc -o roundtrip.o Step #21 - "compile-libfuzzer-address-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 -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ -fsanitize=fuzzer roundtrip.o -o /workspace/out/libfuzzer-address-x86_64/roundtrip Finished Step #21 - "compile-libfuzzer-address-x86_64" Starting Step #22 - "build-check-libfuzzer-address-x86_64" Step #22 - "build-check-libfuzzer-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpr208v26t/roundtrip Finished Step #22 - "build-check-libfuzzer-address-x86_64" Starting Step #23 Step #23: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #23 Starting Step #24 Step #24: Already have image: gcr.io/oss-fuzz/simdutf Step #24: adding: llvm-symbolizer (deflated 66%) Step #24: adding: roundtrip (deflated 68%) Finished Step #24 Starting Step #25 Step #25: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #25: % Total % Received % Xferd Average Speed Time Time Time Current Step #25: Dload Upload Total Spent Left Speed Step #25: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 150 0 0 100 150 0 606 --:--:-- --:--:-- --:--:-- 607 Finished Step #25 Starting Step #26 Step #26: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #26: % Total % Received % Xferd Average Speed Time Time Time Current Step #26: Dload Upload Total Spent Left Speed Step #26: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 41 4843k 0 0 41 2000k 0 20.2M --:--:-- --:--:-- --:--:-- 20.1M 100 4843k 0 0 100 4843k 0 17.3M --:--:-- --:--:-- --:--:-- 17.2M Finished Step #26 Starting Step #27 Step #27: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #27: % Total % Received % Xferd Average Speed Time Time Time Current Step #27: Dload Upload Total Spent Left Speed Step #27: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10 0 0 100 10 0 36 --:--:-- --:--:-- --:--:-- 36 100 10 0 0 100 10 0 36 --:--:-- --:--:-- --:--:-- 36 Finished Step #27 Starting Step #28 Step #28: Already have image (with digest): gcr.io/cloud-builders/curl Step #28: % Total % Received % Xferd Average Speed Time Time Time Current Step #28: Dload Upload Total Spent Left Speed Step #28: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 32 0 0 100 32 0 158 --:--:-- --:--:-- --:--:-- 158 Finished Step #28 Starting Step #29 Step #29: Already have image: gcr.io/oss-fuzz/simdutf Finished Step #29 Starting Step #30 - "compile-libfuzzer-none-x86_64" Step #30 - "compile-libfuzzer-none-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #30 - "compile-libfuzzer-none-x86_64": --------------------------------------------------------------- Step #30 - "compile-libfuzzer-none-x86_64": vm.mmap_rnd_bits = 28 Step #30 - "compile-libfuzzer-none-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #30 - "compile-libfuzzer-none-x86_64": --------------------------------------------------------------- Step #30 - "compile-libfuzzer-none-x86_64": CC=clang Step #30 - "compile-libfuzzer-none-x86_64": CXX=clang++ Step #30 - "compile-libfuzzer-none-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=fuzzer-no-link Step #30 - "compile-libfuzzer-none-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=fuzzer-no-link -stdlib=libc++ Step #30 - "compile-libfuzzer-none-x86_64": RUSTFLAGS=--cfg fuzzing -Cdebuginfo=1 -Cforce-frame-pointers Step #30 - "compile-libfuzzer-none-x86_64": --------------------------------------------------------------- Step #30 - "compile-libfuzzer-none-x86_64": + cd /src/simdutf Step #30 - "compile-libfuzzer-none-x86_64": + cmake -B build Step #30 - "compile-libfuzzer-none-x86_64": -- The CXX compiler identification is Clang 18.0.0 Step #30 - "compile-libfuzzer-none-x86_64": -- Detecting CXX compiler ABI info Step #30 - "compile-libfuzzer-none-x86_64": -- Detecting CXX compiler ABI info - done Step #30 - "compile-libfuzzer-none-x86_64": -- Check for working CXX compiler: /usr/local/bin/clang++ - skipped Step #30 - "compile-libfuzzer-none-x86_64": -- Detecting CXX compile features Step #30 - "compile-libfuzzer-none-x86_64": -- Detecting CXX compile features - done Step #30 - "compile-libfuzzer-none-x86_64": -- No build type selected, default to Release Step #30 - "compile-libfuzzer-none-x86_64": -- Found Python3: /usr/local/bin/python3.8 (found version "3.8.3") found components: Interpreter Step #30 - "compile-libfuzzer-none-x86_64": -- Python found, we are going to amalgamate.py. Step #30 - "compile-libfuzzer-none-x86_64": -- The tests are enabled. Step #30 - "compile-libfuzzer-none-x86_64": -- Performing Test Iconv_IS_BUILT_IN Step #30 - "compile-libfuzzer-none-x86_64": -- Performing Test Iconv_IS_BUILT_IN - Success Step #30 - "compile-libfuzzer-none-x86_64": -- Found Iconv: built in to C library Step #30 - "compile-libfuzzer-none-x86_64": -- Iconv was found! Step #30 - "compile-libfuzzer-none-x86_64": -- Iconv is part of the C library. Step #30 - "compile-libfuzzer-none-x86_64": -- looking for static C++ library in /usr/lib/gcc/x86_64-linux-gnu/9 Step #30 - "compile-libfuzzer-none-x86_64": -- libstdc++.a found Step #30 - "compile-libfuzzer-none-x86_64": -- The tools require C++17. If your system does not support C++17, please set SIMDUTF_TOOLS to OFF. Step #30 - "compile-libfuzzer-none-x86_64": -- The benchmarks can be enabled by setting SIMDUTF_BENCHMARKS, e.g., -D SIMDUTF_BENCHMARKS=ON. Step #30 - "compile-libfuzzer-none-x86_64": -- Compiling using the C++ standard:11 Step #30 - "compile-libfuzzer-none-x86_64": -- Configuring done (1.0s) Step #30 - "compile-libfuzzer-none-x86_64": -- Generating done (0.1s) Step #30 - "compile-libfuzzer-none-x86_64": -- Build files have been written to: /src/simdutf/build Step #30 - "compile-libfuzzer-none-x86_64": ++ nproc Step #30 - "compile-libfuzzer-none-x86_64": + cmake --build build --target simdutf-singleheader-files -j32 Step #30 - "compile-libfuzzer-none-x86_64": [ 50%] Building CXX object src/CMakeFiles/simdutf.dir/simdutf.cpp.o Step #30 - "compile-libfuzzer-none-x86_64": [ 50%] Linking CXX static library libsimdutf.a Step #30 - "compile-libfuzzer-none-x86_64": [ 50%] Built target simdutf Step #30 - "compile-libfuzzer-none-x86_64": [100%] Generating simdutf.cpp, simdutf.h, amalgamation_demo.cpp, README.md Step #30 - "compile-libfuzzer-none-x86_64": SCRIPTPATH=/src/simdutf/singleheader PROJECTPATH=/src/simdutf Step #30 - "compile-libfuzzer-none-x86_64": We are about to amalgamate all simdutf files into one source file. Step #30 - "compile-libfuzzer-none-x86_64": See https://www.sqlite.org/amalgamation.html and https://en.wikipedia.org/wiki/Single_Compilation_Unit for rationale. Step #30 - "compile-libfuzzer-none-x86_64": timestamp is 2024-07-17 08:05:31 -0400 Step #30 - "compile-libfuzzer-none-x86_64": Creating /src/simdutf/build/singleheader/simdutf.h Step #30 - "compile-libfuzzer-none-x86_64": Step #30 - "compile-libfuzzer-none-x86_64": Step #30 - "compile-libfuzzer-none-x86_64": Creating /src/simdutf/build/singleheader/simdutf.cpp Step #30 - "compile-libfuzzer-none-x86_64": Done with all files generation. Step #30 - "compile-libfuzzer-none-x86_64": Files have been written to directory: /src/simdutf/build/singleheader/ Step #30 - "compile-libfuzzer-none-x86_64": Done with all files generation. Step #30 - "compile-libfuzzer-none-x86_64": Step #30 - "compile-libfuzzer-none-x86_64": Giving final instructions: Step #30 - "compile-libfuzzer-none-x86_64": Step #30 - "compile-libfuzzer-none-x86_64": Step #30 - "compile-libfuzzer-none-x86_64": Step #30 - "compile-libfuzzer-none-x86_64": Step #30 - "compile-libfuzzer-none-x86_64": While in the singleheader directory under a linux or macOS system with an install toolchain, try: Step #30 - "compile-libfuzzer-none-x86_64": Step #30 - "compile-libfuzzer-none-x86_64": Step #30 - "compile-libfuzzer-none-x86_64": Step #30 - "compile-libfuzzer-none-x86_64": ``` Step #30 - "compile-libfuzzer-none-x86_64": Step #30 - "compile-libfuzzer-none-x86_64": c++ -o amalgamation_demo amalgamation_demo.cpp -std=c++17 && ./amalgamation_demo Step #30 - "compile-libfuzzer-none-x86_64": Step #30 - "compile-libfuzzer-none-x86_64": ``` Step #30 - "compile-libfuzzer-none-x86_64": [100%] Built target simdutf-singleheader-files Step #30 - "compile-libfuzzer-none-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 -fsanitize=fuzzer-no-link -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=fuzzer-no-link -stdlib=libc++ -I build/singleheader -c fuzz/roundtrip.cc -o roundtrip.o Step #30 - "compile-libfuzzer-none-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 -fsanitize=fuzzer-no-link -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=fuzzer-no-link -stdlib=libc++ -fsanitize=fuzzer roundtrip.o -o /workspace/out/libfuzzer-none-x86_64/roundtrip Finished Step #30 - "compile-libfuzzer-none-x86_64" Starting Step #31 - "build-check-libfuzzer-none-x86_64" Step #31 - "build-check-libfuzzer-none-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #31 - "build-check-libfuzzer-none-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpa0zr73o5/roundtrip Finished Step #31 - "build-check-libfuzzer-none-x86_64" Starting Step #32 Step #32: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #32 Starting Step #33 Step #33: Already have image: gcr.io/oss-fuzz/simdutf Step #33: adding: llvm-symbolizer (deflated 66%) Step #33: adding: roundtrip (deflated 68%) Finished Step #33 Starting Step #34 Step #34: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #34: % Total % Received % Xferd Average Speed Time Time Time Current Step #34: Dload Upload Total Spent Left Speed Step #34: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 150 0 0 100 150 0 717 --:--:-- --:--:-- --:--:-- 721 Finished Step #34 Starting Step #35 Step #35: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #35: % Total % Received % Xferd Average Speed Time Time Time Current Step #35: Dload Upload Total Spent Left Speed Step #35: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3899k 0 0 100 3899k 0 13.7M --:--:-- --:--:-- --:--:-- 13.7M Finished Step #35 Starting Step #36 Step #36: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #36: % Total % Received % Xferd Average Speed Time Time Time Current Step #36: Dload Upload Total Spent Left Speed Step #36: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10 0 0 100 10 0 36 --:--:-- --:--:-- --:--:-- 36 Finished Step #36 Starting Step #37 Step #37: Already have image (with digest): gcr.io/cloud-builders/curl Step #37: % Total % Received % Xferd Average Speed Time Time Time Current Step #37: Dload Upload Total Spent Left Speed Step #37: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 29 0 0 100 29 0 149 --:--:-- --:--:-- --:--:-- 150 Finished Step #37 Starting Step #38 Step #38: Already have image: gcr.io/oss-fuzz/simdutf Finished Step #38 Starting Step #39 - "compile-libfuzzer-undefined-x86_64" Step #39 - "compile-libfuzzer-undefined-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #39 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #39 - "compile-libfuzzer-undefined-x86_64": vm.mmap_rnd_bits = 28 Step #39 - "compile-libfuzzer-undefined-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #39 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #39 - "compile-libfuzzer-undefined-x86_64": CC=clang Step #39 - "compile-libfuzzer-undefined-x86_64": CXX=clang++ Step #39 - "compile-libfuzzer-undefined-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function Step #39 - "compile-libfuzzer-undefined-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -stdlib=libc++ Step #39 - "compile-libfuzzer-undefined-x86_64": RUSTFLAGS=--cfg fuzzing -Cdebuginfo=1 -Cforce-frame-pointers Step #39 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #39 - "compile-libfuzzer-undefined-x86_64": + cd /src/simdutf Step #39 - "compile-libfuzzer-undefined-x86_64": + cmake -B build Step #39 - "compile-libfuzzer-undefined-x86_64": -- The CXX compiler identification is Clang 18.0.0 Step #39 - "compile-libfuzzer-undefined-x86_64": -- Detecting CXX compiler ABI info Step #39 - "compile-libfuzzer-undefined-x86_64": -- Detecting CXX compiler ABI info - done Step #39 - "compile-libfuzzer-undefined-x86_64": -- Check for working CXX compiler: /usr/local/bin/clang++ - skipped Step #39 - "compile-libfuzzer-undefined-x86_64": -- Detecting CXX compile features Step #39 - "compile-libfuzzer-undefined-x86_64": -- Detecting CXX compile features - done Step #39 - "compile-libfuzzer-undefined-x86_64": -- No build type selected, default to Release Step #39 - "compile-libfuzzer-undefined-x86_64": -- Found Python3: /usr/local/bin/python3.8 (found version "3.8.3") found components: Interpreter Step #39 - "compile-libfuzzer-undefined-x86_64": -- Python found, we are going to amalgamate.py. Step #39 - "compile-libfuzzer-undefined-x86_64": -- The tests are enabled. Step #39 - "compile-libfuzzer-undefined-x86_64": -- Performing Test Iconv_IS_BUILT_IN Step #39 - "compile-libfuzzer-undefined-x86_64": -- Performing Test Iconv_IS_BUILT_IN - Success Step #39 - "compile-libfuzzer-undefined-x86_64": -- Found Iconv: built in to C library Step #39 - "compile-libfuzzer-undefined-x86_64": -- Iconv was found! Step #39 - "compile-libfuzzer-undefined-x86_64": -- Iconv is part of the C library. Step #39 - "compile-libfuzzer-undefined-x86_64": -- looking for static C++ library in /usr/lib/gcc/x86_64-linux-gnu/9 Step #39 - "compile-libfuzzer-undefined-x86_64": -- libstdc++.a found Step #39 - "compile-libfuzzer-undefined-x86_64": -- The tools require C++17. If your system does not support C++17, please set SIMDUTF_TOOLS to OFF. Step #39 - "compile-libfuzzer-undefined-x86_64": -- The benchmarks can be enabled by setting SIMDUTF_BENCHMARKS, e.g., -D SIMDUTF_BENCHMARKS=ON. Step #39 - "compile-libfuzzer-undefined-x86_64": -- Compiling using the C++ standard:11 Step #39 - "compile-libfuzzer-undefined-x86_64": -- Configuring done (1.0s) Step #39 - "compile-libfuzzer-undefined-x86_64": -- Generating done (0.1s) Step #39 - "compile-libfuzzer-undefined-x86_64": -- Build files have been written to: /src/simdutf/build Step #39 - "compile-libfuzzer-undefined-x86_64": ++ nproc Step #39 - "compile-libfuzzer-undefined-x86_64": + cmake --build build --target simdutf-singleheader-files -j32 Step #39 - "compile-libfuzzer-undefined-x86_64": [ 50%] Building CXX object src/CMakeFiles/simdutf.dir/simdutf.cpp.o Step #39 - "compile-libfuzzer-undefined-x86_64": [ 50%] Linking CXX static library libsimdutf.a Step #39 - "compile-libfuzzer-undefined-x86_64": [ 50%] Built target simdutf Step #39 - "compile-libfuzzer-undefined-x86_64": [100%] Generating simdutf.cpp, simdutf.h, amalgamation_demo.cpp, README.md Step #39 - "compile-libfuzzer-undefined-x86_64": SCRIPTPATH=/src/simdutf/singleheader PROJECTPATH=/src/simdutf Step #39 - "compile-libfuzzer-undefined-x86_64": We are about to amalgamate all simdutf files into one source file. Step #39 - "compile-libfuzzer-undefined-x86_64": See https://www.sqlite.org/amalgamation.html and https://en.wikipedia.org/wiki/Single_Compilation_Unit for rationale. Step #39 - "compile-libfuzzer-undefined-x86_64": timestamp is 2024-07-17 08:05:31 -0400 Step #39 - "compile-libfuzzer-undefined-x86_64": Creating /src/simdutf/build/singleheader/simdutf.h Step #39 - "compile-libfuzzer-undefined-x86_64": Step #39 - "compile-libfuzzer-undefined-x86_64": Step #39 - "compile-libfuzzer-undefined-x86_64": Creating /src/simdutf/build/singleheader/simdutf.cpp Step #39 - "compile-libfuzzer-undefined-x86_64": Done with all files generation. Step #39 - "compile-libfuzzer-undefined-x86_64": Files have been written to directory: /src/simdutf/build/singleheader/ Step #39 - "compile-libfuzzer-undefined-x86_64": Done with all files generation. Step #39 - "compile-libfuzzer-undefined-x86_64": Step #39 - "compile-libfuzzer-undefined-x86_64": Giving final instructions: Step #39 - "compile-libfuzzer-undefined-x86_64": Step #39 - "compile-libfuzzer-undefined-x86_64": Step #39 - "compile-libfuzzer-undefined-x86_64": Step #39 - "compile-libfuzzer-undefined-x86_64": Step #39 - "compile-libfuzzer-undefined-x86_64": While in the singleheader directory under a linux or macOS system with an install toolchain, try: Step #39 - "compile-libfuzzer-undefined-x86_64": Step #39 - "compile-libfuzzer-undefined-x86_64": Step #39 - "compile-libfuzzer-undefined-x86_64": Step #39 - "compile-libfuzzer-undefined-x86_64": ``` Step #39 - "compile-libfuzzer-undefined-x86_64": Step #39 - "compile-libfuzzer-undefined-x86_64": c++ -o amalgamation_demo amalgamation_demo.cpp -std=c++17 && ./amalgamation_demo Step #39 - "compile-libfuzzer-undefined-x86_64": Step #39 - "compile-libfuzzer-undefined-x86_64": ``` Step #39 - "compile-libfuzzer-undefined-x86_64": [100%] Built target simdutf-singleheader-files Step #39 - "compile-libfuzzer-undefined-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 -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -stdlib=libc++ -I build/singleheader -c fuzz/roundtrip.cc -o roundtrip.o Step #39 - "compile-libfuzzer-undefined-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 -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -stdlib=libc++ -fsanitize=fuzzer roundtrip.o -o /workspace/out/libfuzzer-undefined-x86_64/roundtrip Finished Step #39 - "compile-libfuzzer-undefined-x86_64" Starting Step #40 - "build-check-libfuzzer-undefined-x86_64" Step #40 - "build-check-libfuzzer-undefined-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #40 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpkvlam3cc/roundtrip Finished Step #40 - "build-check-libfuzzer-undefined-x86_64" Starting Step #41 Step #41: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #41 Starting Step #42 Step #42: Already have image: gcr.io/oss-fuzz/simdutf Step #42: adding: llvm-symbolizer (deflated 66%) Step #42: adding: roundtrip (deflated 68%) Finished Step #42 Starting Step #43 Step #43: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #43: % Total % Received % Xferd Average Speed Time Time Time Current Step #43: Dload Upload Total Spent Left Speed Step #43: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 150 0 0 100 150 0 663 --:--:-- --:--:-- --:--:-- 663 Finished Step #43 Starting Step #44 Step #44: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #44: % Total % Received % Xferd Average Speed Time Time Time Current Step #44: Dload Upload Total Spent Left Speed Step #44: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4018k 0 0 100 4018k 0 14.3M --:--:-- --:--:-- --:--:-- 14.3M 100 4018k 0 0 100 4018k 0 14.3M --:--:-- --:--:-- --:--:-- 14.3M Finished Step #44 Starting Step #45 Step #45: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #45: % Total % Received % Xferd Average Speed Time Time Time Current Step #45: Dload Upload Total Spent Left Speed Step #45: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10 0 0 100 10 0 37 --:--:-- --:--:-- --:--:-- 37 Finished Step #45 Starting Step #46 Step #46: Already have image (with digest): gcr.io/cloud-builders/curl Step #46: % Total % Received % Xferd Average Speed Time Time Time Current Step #46: Dload Upload Total Spent Left Speed Step #46: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 34 0 0 100 34 0 160 --:--:-- --:--:-- --:--:-- 160 Finished Step #46 Starting Step #47 Step #47: Already have image: gcr.io/oss-fuzz/simdutf Finished Step #47 PUSH DONE