starting build "c2e32bc2-3921-4402-964c-333a04abccdb" 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 6.656kB Step #1: Step 1/5 : FROM gcr.io/oss-fuzz-base/base-builder-go Step #1: latest: Pulling from oss-fuzz-base/base-builder-go Step #1: b549f31133a9: Pulling fs layer Step #1: 8fcb4deacf22: Pulling fs layer Step #1: de1f70d7e61d: Pulling fs layer Step #1: 118d181f4354: Pulling fs layer Step #1: 51cf54cfeccf: Pulling fs layer Step #1: b0f5d8d1b519: Pulling fs layer Step #1: 429a28bd6d48: Pulling fs layer Step #1: 09122e65c165: Pulling fs layer Step #1: 1a450bc42fd7: Pulling fs layer Step #1: a75b23ddc2b7: Pulling fs layer Step #1: 456762261dec: Pulling fs layer Step #1: e31a6dacdd00: Pulling fs layer Step #1: e6fb54761daf: Pulling fs layer Step #1: dc68e71fa799: Pulling fs layer Step #1: d1f3f1a24347: Pulling fs layer Step #1: 4049ccfe9ae0: Pulling fs layer Step #1: b10061bb0df2: Pulling fs layer Step #1: 56ac6ad5df4f: Pulling fs layer Step #1: 445d4ad3dcf7: Pulling fs layer Step #1: 06d2e179e971: Pulling fs layer Step #1: 1ab7e88fa2e2: Pulling fs layer Step #1: 118d181f4354: Waiting Step #1: 2c7ffd31830b: Pulling fs layer Step #1: 1ac824e1693d: Pulling fs layer Step #1: 51cf54cfeccf: Waiting Step #1: 429a28bd6d48: Waiting Step #1: 209e38fb6a26: Pulling fs layer Step #1: b0f5d8d1b519: Waiting Step #1: 09122e65c165: Waiting Step #1: 1dff7521e43d: Pulling fs layer Step #1: df1d111a1034: Pulling fs layer Step #1: d70f07bc2268: Pulling fs layer Step #1: 1a450bc42fd7: Waiting Step #1: fb9cddcca915: Pulling fs layer Step #1: 14062b451eed: Pulling fs layer Step #1: 7b2d77840f81: Pulling fs layer Step #1: 7a0070697ecc: Pulling fs layer Step #1: d380fb0e81dd: Pulling fs layer Step #1: 8dc6b64154d7: Pulling fs layer Step #1: 16223f1a767e: Pulling fs layer Step #1: 592e2478dacc: Pulling fs layer Step #1: e4b46130a68f: Pulling fs layer Step #1: 6716dc8895e5: Pulling fs layer Step #1: 1ab7e88fa2e2: Waiting Step #1: 456762261dec: Waiting Step #1: d70f07bc2268: Waiting Step #1: 4049ccfe9ae0: Waiting Step #1: b10061bb0df2: Waiting Step #1: 1ac824e1693d: Waiting Step #1: e6fb54761daf: Waiting Step #1: 209e38fb6a26: Waiting Step #1: 8dc6b64154d7: Waiting Step #1: 16223f1a767e: Waiting Step #1: 7b2d77840f81: Waiting Step #1: e4b46130a68f: Waiting Step #1: d380fb0e81dd: Waiting Step #1: 7a0070697ecc: Waiting Step #1: fb9cddcca915: Waiting Step #1: 6716dc8895e5: Waiting Step #1: 06d2e179e971: Waiting Step #1: 2c7ffd31830b: Waiting Step #1: 445d4ad3dcf7: Waiting Step #1: df1d111a1034: Waiting Step #1: 592e2478dacc: Waiting Step #1: d1f3f1a24347: Waiting Step #1: de1f70d7e61d: Download complete Step #1: b549f31133a9: Download complete Step #1: 51cf54cfeccf: Verifying Checksum Step #1: 51cf54cfeccf: Download complete Step #1: 118d181f4354: Verifying Checksum Step #1: 118d181f4354: Download complete Step #1: b0f5d8d1b519: Verifying Checksum Step #1: b0f5d8d1b519: Download complete Step #1: 09122e65c165: Download complete Step #1: 1a450bc42fd7: Download complete Step #1: 8fcb4deacf22: Verifying Checksum Step #1: 8fcb4deacf22: Download complete Step #1: b549f31133a9: Pull complete Step #1: 456762261dec: Verifying Checksum Step #1: 456762261dec: Download complete Step #1: e31a6dacdd00: Verifying Checksum Step #1: e31a6dacdd00: Download complete Step #1: e6fb54761daf: Verifying Checksum Step #1: e6fb54761daf: Download complete Step #1: dc68e71fa799: Verifying Checksum Step #1: dc68e71fa799: Download complete Step #1: d1f3f1a24347: Verifying Checksum Step #1: d1f3f1a24347: Download complete Step #1: 4049ccfe9ae0: Verifying Checksum Step #1: 4049ccfe9ae0: Download complete Step #1: a75b23ddc2b7: Verifying Checksum Step #1: a75b23ddc2b7: Download complete Step #1: 56ac6ad5df4f: Verifying Checksum Step #1: 56ac6ad5df4f: Download complete Step #1: b10061bb0df2: Verifying Checksum Step #1: b10061bb0df2: Download complete Step #1: 445d4ad3dcf7: Verifying Checksum Step #1: 445d4ad3dcf7: Download complete Step #1: 06d2e179e971: Download complete Step #1: 429a28bd6d48: Verifying Checksum Step #1: 429a28bd6d48: Download complete Step #1: 1ab7e88fa2e2: Verifying Checksum Step #1: 1ab7e88fa2e2: Download complete Step #1: 2c7ffd31830b: Verifying Checksum Step #1: 2c7ffd31830b: Download complete Step #1: 1ac824e1693d: Verifying Checksum Step #1: 1ac824e1693d: Download complete Step #1: 209e38fb6a26: Verifying Checksum Step #1: 209e38fb6a26: Download complete Step #1: 1dff7521e43d: Verifying Checksum Step #1: 1dff7521e43d: Download complete Step #1: d70f07bc2268: Verifying Checksum Step #1: d70f07bc2268: Download complete Step #1: df1d111a1034: Verifying Checksum Step #1: df1d111a1034: Download complete Step #1: fb9cddcca915: Verifying Checksum Step #1: fb9cddcca915: Download complete Step #1: 14062b451eed: Verifying Checksum Step #1: 14062b451eed: Download complete Step #1: 7a0070697ecc: Verifying Checksum Step #1: 7a0070697ecc: Download complete Step #1: 8fcb4deacf22: Pull complete Step #1: 7b2d77840f81: Verifying Checksum Step #1: 7b2d77840f81: Download complete Step #1: de1f70d7e61d: Pull complete Step #1: d380fb0e81dd: Verifying Checksum Step #1: d380fb0e81dd: Download complete Step #1: 8dc6b64154d7: Verifying Checksum Step #1: 8dc6b64154d7: Download complete Step #1: 16223f1a767e: Verifying Checksum Step #1: 16223f1a767e: Download complete Step #1: 592e2478dacc: Verifying Checksum Step #1: 592e2478dacc: Download complete Step #1: 6716dc8895e5: Verifying Checksum Step #1: 6716dc8895e5: Download complete Step #1: 118d181f4354: Pull complete Step #1: 51cf54cfeccf: Pull complete Step #1: b0f5d8d1b519: Pull complete Step #1: e4b46130a68f: Verifying Checksum Step #1: e4b46130a68f: Download complete Step #1: 429a28bd6d48: Pull complete Step #1: 09122e65c165: Pull complete Step #1: 1a450bc42fd7: Pull complete Step #1: a75b23ddc2b7: Pull complete Step #1: 456762261dec: Pull complete Step #1: e31a6dacdd00: Pull complete Step #1: e6fb54761daf: Pull complete Step #1: dc68e71fa799: Pull complete Step #1: d1f3f1a24347: Pull complete Step #1: 4049ccfe9ae0: Pull complete Step #1: b10061bb0df2: Pull complete Step #1: 56ac6ad5df4f: Pull complete Step #1: 445d4ad3dcf7: Pull complete Step #1: 06d2e179e971: Pull complete Step #1: 1ab7e88fa2e2: Pull complete Step #1: 2c7ffd31830b: Pull complete Step #1: 1ac824e1693d: Pull complete Step #1: 209e38fb6a26: Pull complete Step #1: 1dff7521e43d: Pull complete Step #1: df1d111a1034: Pull complete Step #1: d70f07bc2268: Pull complete Step #1: fb9cddcca915: Pull complete Step #1: 14062b451eed: Pull complete Step #1: 7b2d77840f81: Pull complete Step #1: 7a0070697ecc: Pull complete Step #1: d380fb0e81dd: Pull complete Step #1: 8dc6b64154d7: Pull complete Step #1: 16223f1a767e: Pull complete Step #1: 592e2478dacc: Pull complete Step #1: e4b46130a68f: Pull complete Step #1: 6716dc8895e5: Pull complete Step #1: Digest: sha256:54add4dd7c5c1eefd7cfde9f418a3bce520f48d41141a9d150f2e1953b34d3ee Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-go:latest Step #1: ---> de41171c54b6 Step #1: Step 2/5 : RUN git clone --depth 1 https://github.com/bufbuild/protocompile Step #1: ---> Running in d690edb9d4bc Step #1: Cloning into 'protocompile'... Step #1: Removing intermediate container d690edb9d4bc Step #1: ---> 7322e90f821e Step #1: Step 3/5 : COPY fuzz_protocompile.go $SRC/protocompile Step #1: ---> fc416655ec48 Step #1: Step 4/5 : COPY build.sh $SRC/ Step #1: ---> ba1226430dd0 Step #1: Step 5/5 : WORKDIR $SRC/protocompile Step #1: ---> Running in bf9d661f319e Step #1: Removing intermediate container bf9d661f319e Step #1: ---> 117c2d0ffec1 Step #1: Successfully built 117c2d0ffec1 Step #1: Successfully tagged gcr.io/oss-fuzz/protocompile:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/protocompile Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileMdSiTL Step #2 - "srcmap": + echo '{}' Step #2 - "srcmap": + PATHS_TO_SCAN=/src Step #2 - "srcmap": + [[ go == \g\o ]] Step #2 - "srcmap": + PATHS_TO_SCAN='/src /root/go' Step #2 - "srcmap": ++ find /src /root/go -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/protocompile/.git Step #2 - "srcmap": + GIT_DIR=/src/protocompile Step #2 - "srcmap": + cd /src/protocompile Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/bufbuild/protocompile Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=bc56d08988a3572a02fb84c4297b3fa91c86270e Step #2 - "srcmap": + jq_inplace /tmp/fileMdSiTL '."/src/protocompile" = { type: "git", url: "https://github.com/bufbuild/protocompile", rev: "bc56d08988a3572a02fb84c4297b3fa91c86270e" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileSQhRxc Step #2 - "srcmap": + cat /tmp/fileMdSiTL Step #2 - "srcmap": + jq '."/src/protocompile" = { type: "git", url: "https://github.com/bufbuild/protocompile", rev: "bc56d08988a3572a02fb84c4297b3fa91c86270e" }' Step #2 - "srcmap": + mv /tmp/fileSQhRxc /tmp/fileMdSiTL Step #2 - "srcmap": ++ find /src /root/go -name .svn -type d Step #2 - "srcmap": ++ find /src /root/go -name .hg -type d Step #2 - "srcmap": + '[' '' '!=' '' ']' Step #2 - "srcmap": + cat /tmp/fileMdSiTL Step #2 - "srcmap": + rm /tmp/fileMdSiTL Step #2 - "srcmap": { Step #2 - "srcmap": "/src/protocompile": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/bufbuild/protocompile", Step #2 - "srcmap": "rev": "bc56d08988a3572a02fb84c4297b3fa91c86270e" 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++ -lresolv 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": + compile_go_fuzzer github.com/bufbuild/protocompile FuzzProtoCompile fuzz_protocompile Step #3 - "compile-libfuzzer-address-x86_64": /usr/local/bin/compile_go_fuzzer: line 28: cd: /root/go/src/github.com/bufbuild/protocompile: No such file or directory Step #3 - "compile-libfuzzer-address-x86_64": go: downloading golang.org/x/sync v0.12.0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/stretchr/testify v1.10.0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading google.golang.org/protobuf v1.36.5 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/rivo/uniseg v0.4.7 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading gopkg.in/yaml.v3 v3.0.1 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/bmatcuk/doublestar/v4 v4.8.1 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/pmezard/go-difflib v1.0.0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/google/go-cmp v0.7.0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/davecgh/go-spew v1.1.1 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/kr/pretty v0.1.0 Step #3 - "compile-libfuzzer-address-x86_64": go: downloading github.com/kr/text v0.1.0 Step #3 - "compile-libfuzzer-address-x86_64": go: module . listed in go.work file requires go >= 1.23.0, but go.work lists go 1.23; to update it: Step #3 - "compile-libfuzzer-address-x86_64": go work use Step #3 - "compile-libfuzzer-address-x86_64": /usr/local/bin/compile_go_fuzzer: line 32: cd: github.com/bufbuild/protocompile@*: No such file or directory Step #3 - "compile-libfuzzer-address-x86_64": /src/protocompile Step #3 - "compile-libfuzzer-address-x86_64": go: module . listed in go.work file requires go >= 1.23.0, but go.work lists go 1.23; to update it: Step #3 - "compile-libfuzzer-address-x86_64": go work use Step #3 - "compile-libfuzzer-address-x86_64": go: /src/protocompile/go.mod already exists Step #3 - "compile-libfuzzer-address-x86_64": Running go-fuzz -tags gofuzz -func FuzzProtoCompile -o fuzz_protocompile.a github.com/bufbuild/protocompile Step #3 - "compile-libfuzzer-address-x86_64": 2025/03/16 06:47:26 failed to load packages:go [-e -json -compiled=false -test=false -export=false -deps=false -find=true -buildmode c-archive -gcflags all=-d=libfuzzer -tags gofuzz,gofuzz_libfuzzer,libfuzzer,gofuzz -trimpath -gcflags syscall=-d=libfuzzer=0 -- github.com/bufbuild/protocompile]: exit status 1: go: module . listed in go.work file requires go >= 1.23.0, but go.work lists go 1.23; to update it: Step #3 - "compile-libfuzzer-address-x86_64": go work use 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 protocompile Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 protocompile 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