starting build "cc857f0e-f93f-4c96-a264-ea73de1fa799" 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: 9e174c08eb85: Pulling fs layer Step #1: 2cd29e6c1ecf: Pulling fs layer Step #1: 1366d8263393: Pulling fs layer Step #1: fa41e3551025: Pulling fs layer Step #1: 61b5b8ad0f96: Pulling fs layer Step #1: fe870a1d2514: Pulling fs layer Step #1: afa3b9d0eab0: Pulling fs layer Step #1: 037ef7d40100: Pulling fs layer Step #1: 83455dd42233: Pulling fs layer Step #1: 72bd13282b8a: Pulling fs layer Step #1: c50d3c031bb4: Pulling fs layer Step #1: 8dd946c71e81: Pulling fs layer Step #1: 2c06dd19cdaf: Pulling fs layer Step #1: 8efacf68f3c7: Pulling fs layer Step #1: b064effd2ca5: Pulling fs layer Step #1: 314b2533b0cb: Pulling fs layer Step #1: 70f6b0eb3293: Pulling fs layer Step #1: 79ce9e592395: Pulling fs layer Step #1: c76fcee71e43: Pulling fs layer Step #1: df9a59b82586: Pulling fs layer Step #1: 6feee60eb383: Pulling fs layer Step #1: 0b48d58ed109: Pulling fs layer Step #1: d17b5b838f7f: Pulling fs layer Step #1: 1366d8263393: Waiting Step #1: ed7aabd173cf: Pulling fs layer Step #1: fe8a129ab9c8: Pulling fs layer Step #1: f1055bddfaf5: Pulling fs layer Step #1: fa41e3551025: Waiting Step #1: fe870a1d2514: Waiting Step #1: ea5733fa39c4: Pulling fs layer Step #1: 61b5b8ad0f96: Waiting Step #1: 83455dd42233: Waiting Step #1: 24074cdd3473: Pulling fs layer Step #1: afa3b9d0eab0: Waiting Step #1: b016e5ae518d: Pulling fs layer Step #1: 95e1ed7f17e7: Pulling fs layer Step #1: 72bd13282b8a: Waiting Step #1: 8efacf68f3c7: Waiting Step #1: b064effd2ca5: Waiting Step #1: 79ce9e592395: Waiting Step #1: 314b2533b0cb: Waiting Step #1: c50d3c031bb4: Waiting Step #1: 70f6b0eb3293: Waiting Step #1: c76fcee71e43: Waiting Step #1: 8dd946c71e81: Waiting Step #1: df9a59b82586: Waiting Step #1: f1055bddfaf5: Waiting Step #1: 6feee60eb383: Waiting Step #1: 2c06dd19cdaf: Waiting Step #1: ea5733fa39c4: Waiting Step #1: ed7aabd173cf: Waiting Step #1: 24074cdd3473: Waiting Step #1: 0b48d58ed109: Waiting Step #1: fe8a129ab9c8: Waiting Step #1: b016e5ae518d: Waiting Step #1: 037ef7d40100: Waiting Step #1: d17b5b838f7f: Waiting Step #1: 95e1ed7f17e7: Waiting Step #1: 2cd29e6c1ecf: Verifying Checksum Step #1: 2cd29e6c1ecf: Download complete Step #1: b549f31133a9: Download complete Step #1: 1366d8263393: Verifying Checksum Step #1: 1366d8263393: Download complete Step #1: fa41e3551025: Verifying Checksum Step #1: fa41e3551025: Download complete Step #1: 61b5b8ad0f96: Download complete Step #1: afa3b9d0eab0: Verifying Checksum Step #1: afa3b9d0eab0: Download complete Step #1: 037ef7d40100: Verifying Checksum Step #1: 037ef7d40100: Download complete Step #1: 9e174c08eb85: Verifying Checksum Step #1: 9e174c08eb85: Download complete Step #1: 72bd13282b8a: Verifying Checksum Step #1: 72bd13282b8a: Download complete Step #1: c50d3c031bb4: Verifying Checksum Step #1: c50d3c031bb4: Download complete Step #1: 8dd946c71e81: Verifying Checksum Step #1: 8dd946c71e81: Download complete Step #1: 2c06dd19cdaf: Verifying Checksum Step #1: 2c06dd19cdaf: Download complete Step #1: b549f31133a9: Pull complete Step #1: 8efacf68f3c7: Verifying Checksum Step #1: 8efacf68f3c7: Download complete Step #1: b064effd2ca5: Verifying Checksum Step #1: b064effd2ca5: Download complete Step #1: 314b2533b0cb: Verifying Checksum Step #1: 314b2533b0cb: Download complete Step #1: 70f6b0eb3293: Verifying Checksum Step #1: 70f6b0eb3293: Download complete Step #1: 79ce9e592395: Verifying Checksum Step #1: 79ce9e592395: Download complete Step #1: 83455dd42233: Verifying Checksum Step #1: 83455dd42233: Download complete Step #1: c76fcee71e43: Verifying Checksum Step #1: c76fcee71e43: Download complete Step #1: df9a59b82586: Verifying Checksum Step #1: df9a59b82586: Download complete Step #1: 0b48d58ed109: Verifying Checksum Step #1: 0b48d58ed109: Download complete Step #1: d17b5b838f7f: Verifying Checksum Step #1: d17b5b838f7f: Download complete Step #1: 6feee60eb383: Verifying Checksum Step #1: 6feee60eb383: Download complete Step #1: fe8a129ab9c8: Verifying Checksum Step #1: fe8a129ab9c8: Download complete Step #1: ed7aabd173cf: Verifying Checksum Step #1: ed7aabd173cf: Download complete Step #1: ea5733fa39c4: Download complete Step #1: f1055bddfaf5: Verifying Checksum Step #1: f1055bddfaf5: Download complete Step #1: 24074cdd3473: Verifying Checksum Step #1: 24074cdd3473: Download complete Step #1: b016e5ae518d: Download complete Step #1: fe870a1d2514: Verifying Checksum Step #1: fe870a1d2514: Download complete Step #1: 9e174c08eb85: Pull complete Step #1: 2cd29e6c1ecf: Pull complete Step #1: 95e1ed7f17e7: Verifying Checksum Step #1: 95e1ed7f17e7: Download complete Step #1: 1366d8263393: Pull complete Step #1: fa41e3551025: Pull complete Step #1: 61b5b8ad0f96: Pull complete Step #1: fe870a1d2514: Pull complete Step #1: afa3b9d0eab0: Pull complete Step #1: 037ef7d40100: Pull complete Step #1: 83455dd42233: Pull complete Step #1: 72bd13282b8a: Pull complete Step #1: c50d3c031bb4: Pull complete Step #1: 8dd946c71e81: Pull complete Step #1: 2c06dd19cdaf: Pull complete Step #1: 8efacf68f3c7: Pull complete Step #1: b064effd2ca5: Pull complete Step #1: 314b2533b0cb: Pull complete Step #1: 70f6b0eb3293: Pull complete Step #1: 79ce9e592395: Pull complete Step #1: c76fcee71e43: Pull complete Step #1: df9a59b82586: Pull complete Step #1: 6feee60eb383: Pull complete Step #1: 0b48d58ed109: Pull complete Step #1: d17b5b838f7f: Pull complete Step #1: ed7aabd173cf: Pull complete Step #1: fe8a129ab9c8: Pull complete Step #1: f1055bddfaf5: Pull complete Step #1: ea5733fa39c4: Pull complete Step #1: 24074cdd3473: Pull complete Step #1: b016e5ae518d: Pull complete Step #1: 95e1ed7f17e7: Pull complete Step #1: Digest: sha256:0c6ce43407c40fcdffb1eaa17b026f4ecce642f8a7d2acb5005c37982f78b12c Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-rust:latest Step #1: ---> 4e11c54258ae Step #1: Step 2/8 : RUN git clone --depth 1 https://github.com/surrealdb/surrealdb surrealdb Step #1: ---> Running in 7ff633020608 Step #1: Cloning into 'surrealdb'... Step #1: Removing intermediate container 7ff633020608 Step #1: ---> 7dabfab0dee9 Step #1: Step 3/8 : RUN git clone --depth 1 https://github.com/surrealdb/docs.surrealdb.com.git surrealdb_website Step #1: ---> Running in 5bdf1d2ffce6 Step #1: Cloning into 'surrealdb_website'... Step #1: Removing intermediate container 5bdf1d2ffce6 Step #1: ---> 51d7ebeddcb1 Step #1: Step 4/8 : WORKDIR surrealdb Step #1: ---> Running in 2d3f24b3df8c Step #1: Removing intermediate container 2d3f24b3df8c Step #1: ---> 62be256e3f15 Step #1: Step 5/8 : RUN rustup install nightly-2023-04-21 Step #1: ---> Running in c60394ac171e Step #1: info: syncing channel updates for 'nightly-2023-04-21-x86_64-unknown-linux-gnu' Step #1: info: latest update on 2023-04-21, rust version 1.71.0-nightly (8bdcc62cb 2023-04-20) 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-2023-04-21-x86_64-unknown-linux-gnu installed - rustc 1.71.0-nightly (8bdcc62cb 2023-04-20) Step #1: Step #1: info: checking for self-update Step #1: Removing intermediate container c60394ac171e Step #1: ---> 11b1f86c35f5 Step #1: Step 6/8 : RUN rustup default nightly-2023-04-21 Step #1: ---> Running in e42ce50bba1e Step #1: info: using existing install for 'nightly-2023-04-21-x86_64-unknown-linux-gnu' Step #1: info: default toolchain set to 'nightly-2023-04-21-x86_64-unknown-linux-gnu' Step #1:  Step #1: nightly-2023-04-21-x86_64-unknown-linux-gnu unchanged - rustc 1.71.0-nightly (8bdcc62cb 2023-04-20) Step #1: Step #1: Removing intermediate container e42ce50bba1e Step #1: ---> b6cf4bdd728d Step #1: Step 7/8 : RUN rustup component add rust-src Step #1: ---> Running in 54ed08e7b189 Step #1: info: downloading component 'rust-src' Step #1: info: installing component 'rust-src' Step #1: Removing intermediate container 54ed08e7b189 Step #1: ---> 8a2dee12bf93 Step #1: Step 8/8 : COPY build.sh $SRC/ Step #1: ---> 0f4646de804f Step #1: Successfully built 0f4646de804f 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/fileO3K5aQ 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=d0f8d02030beb315fe64afa1130da5b40a7b021d Step #2 - "srcmap": + jq_inplace /tmp/fileO3K5aQ '."/src/surrealdb_website" = { type: "git", url: "https://github.com/surrealdb/docs.surrealdb.com.git", rev: "d0f8d02030beb315fe64afa1130da5b40a7b021d" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileqWjcBd Step #2 - "srcmap": + cat /tmp/fileO3K5aQ Step #2 - "srcmap": + jq '."/src/surrealdb_website" = { type: "git", url: "https://github.com/surrealdb/docs.surrealdb.com.git", rev: "d0f8d02030beb315fe64afa1130da5b40a7b021d" }' Step #2 - "srcmap": + mv /tmp/fileqWjcBd /tmp/fileO3K5aQ 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=829fb0baf9a1a63b8e612ce2ed7829a54859bb20 Step #2 - "srcmap": + jq_inplace /tmp/fileO3K5aQ '."/src/surrealdb" = { type: "git", url: "https://github.com/surrealdb/surrealdb", rev: "829fb0baf9a1a63b8e612ce2ed7829a54859bb20" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileNtZrAI Step #2 - "srcmap": + cat /tmp/fileO3K5aQ Step #2 - "srcmap": + jq '."/src/surrealdb" = { type: "git", url: "https://github.com/surrealdb/surrealdb", rev: "829fb0baf9a1a63b8e612ce2ed7829a54859bb20" }' Step #2 - "srcmap": + mv /tmp/fileNtZrAI /tmp/fileO3K5aQ 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/fileO3K5aQ Step #2 - "srcmap": + rm /tmp/fileO3K5aQ 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": "d0f8d02030beb315fe64afa1130da5b40a7b021d" 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": "829fb0baf9a1a63b8e612ce2ed7829a54859bb20" 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 -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 -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ Step #3 - "compile-libfuzzer-address-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": + cd lib Step #3 - "compile-libfuzzer-address-x86_64": + cp fuzz/fuzz_targets/fuzz_executor.dict fuzz/fuzz_targets/fuzz_sql_parser.dict /workspace/out/libfuzzer-address-x86_64/ Step #3 - "compile-libfuzzer-address-x86_64": + export 'RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers --cfg uuid_unstable' Step #3 - "compile-libfuzzer-address-x86_64": + RUSTFLAGS='--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers --cfg uuid_unstable' Step #3 - "compile-libfuzzer-address-x86_64": + cargo fuzz build -O --debug-assertions Step #3 - "compile-libfuzzer-address-x86_64":  Updating crates.io index Step #3 - "compile-libfuzzer-address-x86_64": error: failed to select a version for `surrealdb`. Step #3 - "compile-libfuzzer-address-x86_64": ... required by package `surrealdb-fuzz v0.0.0 (/src/surrealdb/lib/fuzz)` Step #3 - "compile-libfuzzer-address-x86_64": versions that meet the requirements `*` are: 1.5.0 Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": the package `surrealdb-fuzz` depends on `surrealdb`, with features: `surrealdb-core2` but `surrealdb` does not have these features. Step #3 - "compile-libfuzzer-address-x86_64": It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name. Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": Step #3 - "compile-libfuzzer-address-x86_64": failed to select a version for `surrealdb` which could resolve this conflict Step #3 - "compile-libfuzzer-address-x86_64": Error: failed to build fuzz script: ASAN_OPTIONS="detect_odr_violation=0" RUSTFLAGS="-Cpasses=sancov-module -Cllvm-args=-sanitizer-coverage-level=4 -Cllvm-args=-sanitizer-coverage-inline-8bit-counters -Cllvm-args=-sanitizer-coverage-pc-table -Cllvm-args=-sanitizer-coverage-trace-compares --cfg fuzzing -Clink-dead-code -Zsanitizer=address -Cllvm-args=-sanitizer-coverage-stack-depth -Cdebug-assertions -C codegen-units=1 --cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers --cfg uuid_unstable" "cargo" "build" "--manifest-path" "/src/surrealdb/lib/fuzz/Cargo.toml" "--target" "x86_64-unknown-linux-gnu" "--release" "--config" "profile.release.debug=true" "--bins" Step #3 - "compile-libfuzzer-address-x86_64": ******************************************************************************** Step #3 - "compile-libfuzzer-address-x86_64": Failed to build. Step #3 - "compile-libfuzzer-address-x86_64": To reproduce, run: Step #3 - "compile-libfuzzer-address-x86_64": python infra/helper.py build_image 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