[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 master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 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-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zkcrossteam/rust-protocol on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/DelphinusLab/zkWasm-rust.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.88 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.88 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.88 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.88 [INFO] [stderr] Downloaded once_cell v1.18.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc2f9822c985e31482161297e3e492e1265d24b62679abccbe8d555abdb05eb1 [INFO] running `Command { std: "docker" "start" "-a" "cc2f9822c985e31482161297e3e492e1265d24b62679abccbe8d555abdb05eb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc2f9822c985e31482161297e3e492e1265d24b62679abccbe8d555abdb05eb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc2f9822c985e31482161297e3e492e1265d24b62679abccbe8d555abdb05eb1", kill_on_drop: false }` [INFO] [stdout] cc2f9822c985e31482161297e3e492e1265d24b62679abccbe8d555abdb05eb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a5730f21b754628a65175cf85d38be9fd7e72381d55e98e10d86171a07422ae [INFO] running `Command { std: "docker" "start" "-a" "0a5730f21b754628a65175cf85d38be9fd7e72381d55e98e10d86171a07422ae", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.88 [INFO] [stderr] Compiling crunchy v0.2.2 [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 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 generic-array v0.14.7 [INFO] [stderr] Compiling uint v0.9.5 [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" "0a5730f21b754628a65175cf85d38be9fd7e72381d55e98e10d86171a07422ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a5730f21b754628a65175cf85d38be9fd7e72381d55e98e10d86171a07422ae", kill_on_drop: false }` [INFO] [stdout] 0a5730f21b754628a65175cf85d38be9fd7e72381d55e98e10d86171a07422ae