starting build "394d1cbc-0c75-4de5-96cd-92193f07357a" 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/8 : FROM gcr.io/oss-fuzz-base/base-builder-rust Step #1: latest: Pulling from oss-fuzz-base/base-builder-rust Step #1: b549f31133a9: Pulling fs layer Step #1: 160496dfdc1e: Pulling fs layer Step #1: e2c1e6ffb55e: Pulling fs layer Step #1: 790f0b60d601: Pulling fs layer Step #1: ba5377523637: Pulling fs layer Step #1: fcf19af99e9b: Pulling fs layer Step #1: c120616e8611: Pulling fs layer Step #1: 648979ff9271: Pulling fs layer Step #1: 38b58f40b986: Pulling fs layer Step #1: 6fec27639895: Pulling fs layer Step #1: 6311c17bee61: Pulling fs layer Step #1: 63cd1cde0eec: Pulling fs layer Step #1: 1ef02760f71f: Pulling fs layer Step #1: fda5a71c8862: Pulling fs layer Step #1: 7ad2f7c615a2: Pulling fs layer Step #1: 0b07407e6342: Pulling fs layer Step #1: fbed995eca46: Pulling fs layer Step #1: 4381c7f8884c: Pulling fs layer Step #1: 790f0b60d601: Waiting Step #1: 63cd1cde0eec: Waiting Step #1: 6fec27639895: Waiting Step #1: bd3393df7542: Pulling fs layer Step #1: f8afaf16f210: Pulling fs layer Step #1: 086216b75b6f: Pulling fs layer Step #1: ebb3d4059a93: Pulling fs layer Step #1: fbed995eca46: Waiting Step #1: ba5377523637: Waiting Step #1: 1ef02760f71f: Waiting Step #1: bd3393df7542: Waiting Step #1: 38b58f40b986: Waiting Step #1: f8afaf16f210: Waiting Step #1: 4381c7f8884c: Waiting Step #1: fcf19af99e9b: Waiting Step #1: 7ad2f7c615a2: Waiting Step #1: fda5a71c8862: Waiting Step #1: 086216b75b6f: Waiting Step #1: c120616e8611: Waiting Step #1: 648979ff9271: Waiting Step #1: 1cb7b39b268b: Pulling fs layer Step #1: ebb3d4059a93: Waiting Step #1: fd1f752e3c9f: Pulling fs layer Step #1: 1cb7b39b268b: Waiting Step #1: fd1f752e3c9f: Waiting Step #1: 84db406b755d: Pulling fs layer Step #1: 3968f7202bef: Pulling fs layer Step #1: 37c0a55501a4: Pulling fs layer Step #1: 84db406b755d: Waiting Step #1: fddacf1580ff: Pulling fs layer Step #1: 3c790d5687e6: Pulling fs layer Step #1: 37c0a55501a4: Waiting Step #1: fddacf1580ff: Waiting Step #1: 0fcda4deea49: Pulling fs layer Step #1: cfc1aaab3799: Pulling fs layer Step #1: 3c790d5687e6: Waiting Step #1: 5764b068ae0e: Pulling fs layer Step #1: 5764b068ae0e: Waiting Step #1: 39d461f2294c: Pulling fs layer Step #1: 39d461f2294c: Waiting Step #1: cfc1aaab3799: Waiting Step #1: 0fcda4deea49: Waiting Step #1: e2c1e6ffb55e: Verifying Checksum Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: ba5377523637: Verifying Checksum Step #1: ba5377523637: Download complete Step #1: 790f0b60d601: Verifying Checksum Step #1: 790f0b60d601: Download complete Step #1: fcf19af99e9b: Download complete Step #1: 648979ff9271: Download complete Step #1: 160496dfdc1e: Verifying Checksum Step #1: 160496dfdc1e: Download complete Step #1: 38b58f40b986: Verifying Checksum Step #1: 38b58f40b986: Download complete Step #1: b549f31133a9: Pull complete Step #1: 6311c17bee61: Verifying Checksum Step #1: 6311c17bee61: Download complete Step #1: 63cd1cde0eec: Verifying Checksum Step #1: 63cd1cde0eec: Download complete Step #1: 1ef02760f71f: Verifying Checksum Step #1: 1ef02760f71f: Download complete Step #1: fda5a71c8862: Verifying Checksum Step #1: fda5a71c8862: Download complete Step #1: 7ad2f7c615a2: Download complete Step #1: 0b07407e6342: Verifying Checksum Step #1: 0b07407e6342: Download complete Step #1: fbed995eca46: Verifying Checksum Step #1: fbed995eca46: Download complete Step #1: 4381c7f8884c: Verifying Checksum Step #1: 4381c7f8884c: Download complete Step #1: c120616e8611: Verifying Checksum Step #1: c120616e8611: Download complete Step #1: bd3393df7542: Verifying Checksum Step #1: bd3393df7542: Download complete Step #1: f8afaf16f210: Verifying Checksum Step #1: f8afaf16f210: Download complete Step #1: 086216b75b6f: Download complete Step #1: 1cb7b39b268b: Verifying Checksum Step #1: 1cb7b39b268b: Download complete Step #1: fd1f752e3c9f: Download complete Step #1: ebb3d4059a93: Verifying Checksum Step #1: ebb3d4059a93: Download complete Step #1: 6fec27639895: Verifying Checksum Step #1: 6fec27639895: Download complete Step #1: 84db406b755d: Verifying Checksum Step #1: 84db406b755d: Download complete Step #1: 37c0a55501a4: Verifying Checksum Step #1: 37c0a55501a4: Download complete Step #1: 3968f7202bef: Verifying Checksum Step #1: 3968f7202bef: Download complete Step #1: 160496dfdc1e: Pull complete Step #1: fddacf1580ff: Verifying Checksum Step #1: fddacf1580ff: Download complete Step #1: e2c1e6ffb55e: Pull complete Step #1: 0fcda4deea49: Verifying Checksum Step #1: 0fcda4deea49: Download complete Step #1: 3c790d5687e6: Verifying Checksum Step #1: 3c790d5687e6: Download complete Step #1: cfc1aaab3799: Verifying Checksum Step #1: cfc1aaab3799: Download complete Step #1: 5764b068ae0e: Download complete Step #1: 790f0b60d601: Pull complete Step #1: ba5377523637: Pull complete Step #1: fcf19af99e9b: Pull complete Step #1: 39d461f2294c: Verifying Checksum Step #1: 39d461f2294c: Download complete Step #1: c120616e8611: Pull complete Step #1: 648979ff9271: Pull complete Step #1: 38b58f40b986: Pull complete Step #1: 6fec27639895: Pull complete Step #1: 6311c17bee61: Pull complete Step #1: 63cd1cde0eec: Pull complete Step #1: 1ef02760f71f: Pull complete Step #1: fda5a71c8862: Pull complete Step #1: 7ad2f7c615a2: Pull complete Step #1: 0b07407e6342: Pull complete Step #1: fbed995eca46: Pull complete Step #1: 4381c7f8884c: Pull complete Step #1: bd3393df7542: Pull complete Step #1: f8afaf16f210: Pull complete Step #1: 086216b75b6f: Pull complete Step #1: ebb3d4059a93: Pull complete Step #1: 1cb7b39b268b: Pull complete Step #1: fd1f752e3c9f: Pull complete Step #1: 84db406b755d: Pull complete Step #1: 3968f7202bef: Pull complete Step #1: 37c0a55501a4: Pull complete Step #1: fddacf1580ff: Pull complete Step #1: 3c790d5687e6: Pull complete Step #1: 0fcda4deea49: Pull complete Step #1: cfc1aaab3799: Pull complete Step #1: 5764b068ae0e: Pull complete Step #1: 39d461f2294c: Pull complete Step #1: Digest: sha256:e6e58a1cd25531ec214cef745ed130599ff5d0cf271f5ee543a3aabd3e9e5855 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-rust:latest Step #1: ---> 678f15664054 Step #1: Step 2/8 : RUN git clone --depth 1 https://github.com/surrealdb/surrealdb surrealdb Step #1: ---> Running in 31831682203e Step #1: Cloning into 'surrealdb'... Step #1: Removing intermediate container 31831682203e Step #1: ---> 019b6384b9fb Step #1: Step 3/8 : RUN git clone --depth 1 https://github.com/surrealdb/docs.surrealdb.com.git surrealdb_website Step #1: ---> Running in 425c061113c7 Step #1: Cloning into 'surrealdb_website'... Step #1: Removing intermediate container 425c061113c7 Step #1: ---> b61d19c54c0b Step #1: Step 4/8 : WORKDIR surrealdb Step #1: ---> Running in c501653cc211 Step #1: Removing intermediate container c501653cc211 Step #1: ---> 602f1ce6e876 Step #1: Step 5/8 : RUN rustup install nightly Step #1: ---> Running in 7c697e7afb60 Step #1: info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu' Step #1: info: latest update on 2024-10-30, rust version 1.84.0-nightly (1e4f10ba6 2024-10-29) Step #1: info: downloading component 'cargo' Step #1: info: downloading component 'rust-std' Step #1: info: downloading component 'rustc' Step #1: info: installing component 'cargo' Step #1: info: installing component 'rust-std' Step #1: info: installing component 'rustc' Step #1:  Step #1: nightly-x86_64-unknown-linux-gnu installed - rustc 1.84.0-nightly (1e4f10ba6 2024-10-29) Step #1: Step #1: info: checking for self-update Step #1: Removing intermediate container 7c697e7afb60 Step #1: ---> 351c75de8901 Step #1: Step 6/8 : RUN rustup default nightly Step #1: ---> Running in fef5cfb3c460 Step #1: info: using existing install for 'nightly-x86_64-unknown-linux-gnu' Step #1: info: default toolchain set to 'nightly-x86_64-unknown-linux-gnu' Step #1:  Step #1: info: note that the toolchain 'nightly-2024-07-12-x86_64-unknown-linux-gnu' is currently in use (environment override by RUSTUP_TOOLCHAIN) Step #1:  nightly-x86_64-unknown-linux-gnu unchanged - rustc 1.84.0-nightly (1e4f10ba6 2024-10-29) Step #1: Step #1: Removing intermediate container fef5cfb3c460 Step #1: ---> e0396194ece1 Step #1: Step 7/8 : RUN rustup component add rust-src Step #1: ---> Running in e52c0ed91e76 Step #1: info: component 'rust-src' is up to date Step #1: Removing intermediate container e52c0ed91e76 Step #1: ---> d81b041c45f0 Step #1: Step 8/8 : COPY build.sh $SRC/ Step #1: ---> 7337accc7e17 Step #1: Successfully built 7337accc7e17 Step #1: Successfully tagged gcr.io/oss-fuzz/surrealdb:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/surrealdb Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/filenzVxLO Step #2 - "srcmap": + echo '{}' Step #2 - "srcmap": + PATHS_TO_SCAN=/src Step #2 - "srcmap": + [[ rust == \g\o ]] Step #2 - "srcmap": ++ find /src -name .git -type d Step #2 - "srcmap": + for DOT_GIT_DIR in $(find $PATHS_TO_SCAN -name ".git" -type d) Step #2 - "srcmap": ++ dirname /src/surrealdb_website/.git Step #2 - "srcmap": + GIT_DIR=/src/surrealdb_website Step #2 - "srcmap": + cd /src/surrealdb_website Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/surrealdb/docs.surrealdb.com.git Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=67cebb49d52f64f7f287f7693465b219d664c96a Step #2 - "srcmap": + jq_inplace /tmp/filenzVxLO '."/src/surrealdb_website" = { type: "git", url: "https://github.com/surrealdb/docs.surrealdb.com.git", rev: "67cebb49d52f64f7f287f7693465b219d664c96a" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileIQP7s9 Step #2 - "srcmap": + cat /tmp/filenzVxLO Step #2 - "srcmap": + jq '."/src/surrealdb_website" = { type: "git", url: "https://github.com/surrealdb/docs.surrealdb.com.git", rev: "67cebb49d52f64f7f287f7693465b219d664c96a" }' Step #2 - "srcmap": + mv /tmp/fileIQP7s9 /tmp/filenzVxLO Step #2 - "srcmap": + for DOT_GIT_DIR in $(find $PATHS_TO_SCAN -name ".git" -type d) Step #2 - "srcmap": ++ dirname /src/surrealdb/.git Step #2 - "srcmap": + GIT_DIR=/src/surrealdb Step #2 - "srcmap": + cd /src/surrealdb Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/surrealdb/surrealdb Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=6d5150c66488710389039147bce9a942fb91684d Step #2 - "srcmap": + jq_inplace /tmp/filenzVxLO '."/src/surrealdb" = { type: "git", url: "https://github.com/surrealdb/surrealdb", rev: "6d5150c66488710389039147bce9a942fb91684d" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filejkz3JG Step #2 - "srcmap": + cat /tmp/filenzVxLO Step #2 - "srcmap": + jq '."/src/surrealdb" = { type: "git", url: "https://github.com/surrealdb/surrealdb", rev: "6d5150c66488710389039147bce9a942fb91684d" }' Step #2 - "srcmap": + mv /tmp/filejkz3JG /tmp/filenzVxLO 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/filenzVxLO Step #2 - "srcmap": + rm /tmp/filenzVxLO Step #2 - "srcmap": { Step #2 - "srcmap": "/src/surrealdb_website": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/surrealdb/docs.surrealdb.com.git", Step #2 - "srcmap": "rev": "67cebb49d52f64f7f287f7693465b219d664c96a" Step #2 - "srcmap": }, Step #2 - "srcmap": "/src/surrealdb": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/surrealdb/surrealdb", Step #2 - "srcmap": "rev": "6d5150c66488710389039147bce9a942fb91684d" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-libfuzzer-address-x86_64" Step #3 - "compile-libfuzzer-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": vm.mmap_rnd_bits = 28 Step #3 - "compile-libfuzzer-address-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": CC=clang Step #3 - "compile-libfuzzer-address-x86_64": CXX=clang++ Step #3 - "compile-libfuzzer-address-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link Step #3 - "compile-libfuzzer-address-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ Step #3 - "compile-libfuzzer-address-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": cp: cannot stat '/rust/rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/': No such file or directory 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 surrealdb Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_fuzzers --sanitizer address --engine libfuzzer --architecture x86_64 surrealdb 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