[INFO] fetching crate snarkos-consensus 1.3.17... [INFO] testing snarkos-consensus-1.3.17 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate snarkos-consensus 1.3.17 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate snarkos-consensus 1.3.17 [INFO] finished tweaking crates.io crate snarkos-consensus 1.3.17 [INFO] tweaked toml for crates.io crate snarkos-consensus 1.3.17 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate snarkos-consensus 1.3.17 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 222 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.11.4) [INFO] [stderr] Adding metrics v0.17.1 (available: v0.24.2) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_chacha v0.3.1 (available: v0.9.0) [INFO] [stderr] Adding rand_xorshift v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding snarkos-metrics v1.3.17 (available: v2.0.2) [INFO] [stderr] Adding snarkos-storage v1.3.17 (available: v2.0.2) [INFO] [stderr] Adding snarkvm-algorithms v0.7.9 (available: v4.2.1) [INFO] [stderr] Adding snarkvm-curves v0.7.9 (available: v4.2.1) [INFO] [stderr] Adding snarkvm-dpc v0.7.9 (available: v0.8.0) [INFO] [stderr] Adding snarkvm-parameters v0.7.9 (available: v4.2.1) [INFO] [stderr] Adding snarkvm-utilities v0.7.9 (available: v4.2.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding tracing-subscriber v0.2.25 (available: v0.3.20) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d6d4ac245bf68cb8dd6fed611b1167b0658f1a868626fa5c54585dc9b6f42c2 [INFO] running `Command { std: "docker" "start" "-a" "9d6d4ac245bf68cb8dd6fed611b1167b0658f1a868626fa5c54585dc9b6f42c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d6d4ac245bf68cb8dd6fed611b1167b0658f1a868626fa5c54585dc9b6f42c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d6d4ac245bf68cb8dd6fed611b1167b0658f1a868626fa5c54585dc9b6f42c2", kill_on_drop: false }` [INFO] [stdout] 9d6d4ac245bf68cb8dd6fed611b1167b0658f1a868626fa5c54585dc9b6f42c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 233024e30f0b45ab0614c4f752d519c4af6291eacc464084e4fb409692a14fdd [INFO] running `Command { std: "docker" "start" "-a" "233024e30f0b45ab0614c4f752d519c4af6291eacc464084e4fb409692a14fdd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling curl-sys v0.4.83+curl-8.15.0 [INFO] [stderr] Compiling snarkvm-profiler v0.7.9 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling curl v0.4.49 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling circular-queue v0.2.7 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling metrics v0.17.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling bitvec v0.19.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling bech32 v0.8.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling base58 v0.1.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling hash_hasher v2.0.4 [INFO] [stderr] Compiling snarkos-profiler v1.3.17 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling snarkvm-derives v0.7.9 [INFO] [stderr] Compiling snarkvm-utilities v0.7.9 [INFO] [stderr] Compiling snarkvm-fields v0.7.9 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling snarkvm-curves v0.7.9 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling metrics-macros v0.4.1 [INFO] [stderr] Compiling snarkvm-r1cs v0.7.9 [INFO] [stderr] Compiling snarkvm-algorithms v0.7.9 [INFO] [stderr] Compiling snarkos-metrics v1.3.17 [INFO] [stderr] Compiling snarkvm-gadgets v0.7.9 [INFO] [stderr] Compiling snarkvm-parameters v0.7.9 [INFO] [stderr] Compiling snarkvm-polycommit v0.7.9 [INFO] [stderr] Compiling snarkvm-marlin v0.7.9 [INFO] [stderr] Compiling snarkvm-dpc v0.7.9 [INFO] [stderr] Compiling snarkos-storage v1.3.17 [INFO] [stderr] Compiling snarkvm-posw v0.7.9 [INFO] [stdout] error: 1 positional argument in format string, but no arguments were given [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/snarkos-storage-1.3.17/src/storage/key_value/store.rs:70:57 [INFO] [stdout] | [INFO] [stdout] 70 | return Err(anyhow!("invalid length for u32: {}")); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/snarkos-storage-1.3.17/src/objects/block.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn write_transactions(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] | ------------ expected `std::result::Result<(), std::io::Error>` because of return type [INFO] [stdout] ... [INFO] [stdout] 70 | Ok(()) [INFO] [stdout] | ^^^^^^ expected `std::io::Error`, found `anyhow::Error` [INFO] [stdout] | [INFO] [stdout] = note: `anyhow::Error` and `std::io::Error` have similar names, but are actually distinct types [INFO] [stdout] note: `anyhow::Error` is defined in crate `anyhow` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.100/src/lib.rs:394:1 [INFO] [stdout] | [INFO] [stdout] 394 | pub struct Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `std::io::Error` is defined in crate `std` [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/error.rs:65:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/snarkos-storage-1.3.17/src/objects/record.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 74 | fn to_bytes_to_digest(from: &B) -> IoResult { [INFO] [stdout] | ---------------- expected `std::result::Result` because of return type [INFO] [stdout] ... [INFO] [stdout] 77 | Ok(out) [INFO] [stdout] | ^^^^^^^ expected `std::io::Error`, found `anyhow::Error` [INFO] [stdout] | [INFO] [stdout] = note: `anyhow::Error` and `std::io::Error` have similar names, but are actually distinct types [INFO] [stdout] note: `anyhow::Error` is defined in crate `anyhow` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.100/src/lib.rs:394:1 [INFO] [stdout] | [INFO] [stdout] 394 | pub struct Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `std::io::Error` is defined in crate `std` [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/error.rs:65:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/snarkos-storage-1.3.17/src/objects/transaction.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 88 | fn write_le(&self, mut writer: W) -> IoResult<()> { [INFO] [stdout] | ------------ expected `std::result::Result<(), std::io::Error>` because of return type [INFO] [stdout] ... [INFO] [stdout] 109 | Ok(()) [INFO] [stdout] | ^^^^^^ expected `std::io::Error`, found `anyhow::Error` [INFO] [stdout] | [INFO] [stdout] = note: `anyhow::Error` and `std::io::Error` have similar names, but are actually distinct types [INFO] [stdout] note: `anyhow::Error` is defined in crate `anyhow` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.100/src/lib.rs:394:1 [INFO] [stdout] | [INFO] [stdout] 394 | pub struct Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `std::io::Error` is defined in crate `std` [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/error.rs:65:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/snarkos-storage-1.3.17/src/objects/transaction.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 119 | fn serialize_digest(bytes: &B) -> IoResult { [INFO] [stdout] | ---------------- expected `std::result::Result` because of return type [INFO] [stdout] ... [INFO] [stdout] 122 | Ok(Digest(out)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `std::io::Error`, found `anyhow::Error` [INFO] [stdout] | [INFO] [stdout] = note: `anyhow::Error` and `std::io::Error` have similar names, but are actually distinct types [INFO] [stdout] note: `anyhow::Error` is defined in crate `anyhow` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.100/src/lib.rs:394:1 [INFO] [stdout] | [INFO] [stdout] 394 | pub struct Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `std::io::Error` is defined in crate `std` [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/error.rs:65:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/snarkos-storage-1.3.17/src/objects/transaction.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 125 | fn serialize_bytes(bytes: &B) -> IoResult> { [INFO] [stdout] | ----------------- expected `std::result::Result, std::io::Error>` because of return type [INFO] [stdout] ... [INFO] [stdout] 128 | Ok(out) [INFO] [stdout] | ^^^^^^^ expected `std::io::Error`, found `anyhow::Error` [INFO] [stdout] | [INFO] [stdout] = note: `anyhow::Error` and `std::io::Error` have similar names, but are actually distinct types [INFO] [stdout] note: `anyhow::Error` is defined in crate `anyhow` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.100/src/lib.rs:394:1 [INFO] [stdout] | [INFO] [stdout] 394 | pub struct Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `std::io::Error` is defined in crate `std` [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/error.rs:65:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/snarkos-storage-1.3.17/src/objects/transaction.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 131 | fn serialize_many_digests(items: &[B]) -> IoResult> { [INFO] [stdout] | --------------------- expected `std::result::Result, std::io::Error>` because of return type [INFO] [stdout] ... [INFO] [stdout] 136 | Ok(out) [INFO] [stdout] | ^^^^^^^ expected `std::io::Error`, found `anyhow::Error` [INFO] [stdout] | [INFO] [stdout] = note: `anyhow::Error` and `std::io::Error` have similar names, but are actually distinct types [INFO] [stdout] note: `anyhow::Error` is defined in crate `anyhow` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.100/src/lib.rs:394:1 [INFO] [stdout] | [INFO] [stdout] 394 | pub struct Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `std::io::Error` is defined in crate `std` [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/error.rs:65:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/snarkos-storage-1.3.17/src/objects/transaction.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 148 | fn deserialize(tx: &SerialTransaction) -> IoResult { [INFO] [stdout] | -------------- expected `std::result::Result, std::io::Error>` because of return type [INFO] [stdout] ... [INFO] [stdout] 155 | / Ok(Transaction { [INFO] [stdout] 156 | | network: tx.network, [INFO] [stdout] 157 | | ledger_digest: deserialize_bytes(&tx.ledger_digest)?, [INFO] [stdout] 158 | | old_serial_numbers, [INFO] [stdout] ... | [INFO] [stdout] 167 | | inner_circuit_id: deserialize_bytes(&tx.inner_circuit_id)?, [INFO] [stdout] 168 | | }) [INFO] [stdout] | |__________^ expected `Result, Error>`, found `Result, Error>` [INFO] [stdout] | [INFO] [stdout] = note: `anyhow::Error` and `std::io::Error` have similar names, but are actually distinct types [INFO] [stdout] note: `anyhow::Error` is defined in crate `anyhow` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.100/src/lib.rs:394:1 [INFO] [stdout] | [INFO] [stdout] 394 | pub struct Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `std::io::Error` is defined in crate `std` [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/error.rs:65:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `snarkos-storage` (lib) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "233024e30f0b45ab0614c4f752d519c4af6291eacc464084e4fb409692a14fdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "233024e30f0b45ab0614c4f752d519c4af6291eacc464084e4fb409692a14fdd", kill_on_drop: false }` [INFO] [stdout] 233024e30f0b45ab0614c4f752d519c4af6291eacc464084e4fb409692a14fdd