[INFO] fetching crate snarkvm-posw 0.7.2... [INFO] testing snarkvm-posw-0.7.2 against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] extracting crate snarkvm-posw 0.7.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate snarkvm-posw 0.7.2 on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate snarkvm-posw 0.7.2 [INFO] finished tweaking crates.io crate snarkvm-posw 0.7.2 [INFO] tweaked toml for crates.io crate snarkvm-posw 0.7.2 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bech32 v0.8.1 [INFO] [stderr] Downloaded snarkvm-dpc v0.7.4 [INFO] [stderr] Downloaded snarkvm-parameters v0.7.4 [INFO] [stderr] Downloaded snarkvm-marlin v0.7.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2f3a870398dc46bb57fe6f76e0e1ce5f106ae3b137a3644588ae30b8f406f4e [INFO] running `Command { std: "docker" "start" "-a" "e2f3a870398dc46bb57fe6f76e0e1ce5f106ae3b137a3644588ae30b8f406f4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2f3a870398dc46bb57fe6f76e0e1ce5f106ae3b137a3644588ae30b8f406f4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2f3a870398dc46bb57fe6f76e0e1ce5f106ae3b137a3644588ae30b8f406f4e", kill_on_drop: false }` [INFO] [stdout] e2f3a870398dc46bb57fe6f76e0e1ce5f106ae3b137a3644588ae30b8f406f4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4e0c9f2b5088b3cbec4a243b467df573230714ee0e2613a3c24ce3def92828a [INFO] running `Command { std: "docker" "start" "-a" "f4e0c9f2b5088b3cbec4a243b467df573230714ee0e2613a3c24ce3def92828a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling funty v1.2.0 [INFO] [stderr] Compiling snarkvm-profiler v0.7.4 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bech32 v0.8.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling wyz v0.4.0 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling bitvec v0.22.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling blake2 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling curl-sys v0.4.44+curl-7.77.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling curl v0.4.38 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling snarkvm-derives v0.7.4 [INFO] [stderr] Compiling snarkvm-utilities v0.7.4 [INFO] [stderr] Compiling snarkvm-fields v0.7.4 [INFO] [stderr] Compiling snarkvm-curves v0.7.4 [INFO] [stderr] Compiling snarkvm-r1cs v0.7.4 [INFO] [stderr] Compiling snarkvm-algorithms v0.7.4 [INFO] [stderr] Compiling snarkvm-gadgets v0.7.4 [INFO] [stderr] Compiling snarkvm-parameters v0.7.4 [INFO] [stderr] Compiling snarkvm-polycommit v0.7.4 [INFO] [stderr] Compiling snarkvm-marlin v0.7.4 [INFO] [stderr] Compiling snarkvm-dpc v0.7.4 [INFO] [stderr] Compiling snarkvm-posw v0.7.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `snarkvm_utilities::to_bytes` [INFO] [stdout] --> src/posw.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | to_bytes, [INFO] [stdout] | ^^^^^^^^ no `to_bytes` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `to_bytes` [INFO] [stdout] --> src/posw.rs:235:32 [INFO] [stdout] | [INFO] [stdout] 235 | serialized_proof = to_bytes!(proof)?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromBytes`, `ToBytes` [INFO] [stdout] --> src/posw.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | bytes::{FromBytes, ToBytes}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `::VerifyingKey` in the current scope [INFO] [stdout] --> src/posw.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | let vk = S::VerifyingKey::read(¶ms[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `::VerifyingKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `::VerifyingKey` in the current scope [INFO] [stdout] --> src/posw.rs:111:35 [INFO] [stdout] | [INFO] [stdout] 111 | let vk = S::VerifyingKey::read(&PoswSNARKVKParameters::load_bytes()?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `::VerifyingKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for associated type `::ProvingKey` in the current scope [INFO] [stdout] --> src/posw.rs:112:33 [INFO] [stdout] | [INFO] [stdout] 112 | let pk = S::ProvingKey::read(&PoswSNARKPKParameters::load_bytes()?[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `::ProvingKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/posw.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let mut serialized_proof; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/posw.rs:235:32 [INFO] [stdout] | [INFO] [stdout] 235 | serialized_proof = to_bytes!(proof)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/posw.rs:235:48 [INFO] [stdout] | [INFO] [stdout] 235 | serialized_proof = to_bytes!(proof)?; [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: required by `Break` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/posw.rs:241:20 [INFO] [stdout] | [INFO] [stdout] 241 | Ok((nonce, serialized_proof)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Vec`, found slice `[u8]` [INFO] [stdout] | help: try using a conversion method: `serialized_proof.to_vec()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found slice `[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `read` found for struct `Fp256` in the current scope [INFO] [stdout] --> src/posw.rs:276:30 [INFO] [stdout] | [INFO] [stdout] 276 | let merkle_root = F::read(&pedersen_merkle_root.0[..])?; [INFO] [stdout] | ^^^^ function or associated item not found in `Fp256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `snarkvm-posw` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "f4e0c9f2b5088b3cbec4a243b467df573230714ee0e2613a3c24ce3def92828a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4e0c9f2b5088b3cbec4a243b467df573230714ee0e2613a3c24ce3def92828a", kill_on_drop: false }` [INFO] [stdout] f4e0c9f2b5088b3cbec4a243b467df573230714ee0e2613a3c24ce3def92828a