[INFO] cloning repository https://github.com/zkcrossteam/rust-protocol [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zkcrossteam/rust-protocol" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzkcrossteam%2Frust-protocol", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzkcrossteam%2Frust-protocol'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92a6551d8fa055042a514e4e62f3fe374c912cc4 [INFO] testing zkcrossteam/rust-protocol against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzkcrossteam%2Frust-protocol" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/zkcrossteam/rust-protocol [INFO] finished tweaking git repo https://github.com/zkcrossteam/rust-protocol [INFO] tweaked toml for git repo https://github.com/zkcrossteam/rust-protocol written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zkcrossteam/rust-protocol on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zkcrossteam/rust-protocol already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c65639cf6795d3ee2733d40f203b30af5c919f2222a6fe9252464c56f0dadd01 [INFO] running `Command { std: "docker" "start" "-a" "c65639cf6795d3ee2733d40f203b30af5c919f2222a6fe9252464c56f0dadd01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c65639cf6795d3ee2733d40f203b30af5c919f2222a6fe9252464c56f0dadd01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c65639cf6795d3ee2733d40f203b30af5c919f2222a6fe9252464c56f0dadd01", kill_on_drop: false }` [INFO] [stdout] c65639cf6795d3ee2733d40f203b30af5c919f2222a6fe9252464c56f0dadd01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5b8136a4718530edb2fc0d5b672cb725f7addbdfc8a40efb12f5867245ee87f [INFO] running `Command { std: "docker" "start" "-a" "a5b8136a4718530edb2fc0d5b672cb725f7addbdfc8a40efb12f5867245ee87f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.88 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.88 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.88 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.88 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.88 [INFO] [stderr] Compiling zkwasm-rust-sdk v0.1.0 (https://github.com/DelphinusLab/zkWasm-rust.git?branch=witness-gen#06d49b56) [INFO] [stdout] error[E0599]: no method named `sub_ptr` found for raw pointer `*const u8` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/zkwasm-rust-1a0e718577b82fa3/06d49b5/src/witness.rs:114:65 [INFO] [stdout] | [INFO] [stdout] 114 | let arr_ptr = unsafe { wit_base.add((c[0] as *const u8).sub_ptr(ori_base)) }; [INFO] [stdout] | ^^^^^^^ method not found in `*const u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sub_ptr` found for raw pointer `*const u8` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/zkwasm-rust-1a0e718577b82fa3/06d49b5/src/witness.rs:159:69 [INFO] [stdout] | [INFO] [stdout] 159 | wasm_witness_insert((c.as_ref() as *const Obj as *const u8).sub_ptr(ori_base) as u64); [INFO] [stdout] | ^^^^^^^ method not found in `*const u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zkwasm-rust-sdk` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "a5b8136a4718530edb2fc0d5b672cb725f7addbdfc8a40efb12f5867245ee87f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5b8136a4718530edb2fc0d5b672cb725f7addbdfc8a40efb12f5867245ee87f", kill_on_drop: false }` [INFO] [stdout] a5b8136a4718530edb2fc0d5b672cb725f7addbdfc8a40efb12f5867245ee87f