[INFO] fetching crate snarkos-consensus 1.3.17... [INFO] testing snarkos-consensus-1.3.17 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate snarkos-consensus 1.3.17 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate snarkos-consensus 1.3.17 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3229487b318f413c8bbd2614e847c36106ad54e294b4d2b7bfd976707860afa9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3229487b318f413c8bbd2614e847c36106ad54e294b4d2b7bfd976707860afa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3229487b318f413c8bbd2614e847c36106ad54e294b4d2b7bfd976707860afa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3229487b318f413c8bbd2614e847c36106ad54e294b4d2b7bfd976707860afa9", kill_on_drop: false }` [INFO] [stdout] 3229487b318f413c8bbd2614e847c36106ad54e294b4d2b7bfd976707860afa9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a4aae41cc3981edb2861aabc496dc25f49daaf6f05986c112d9621f57cfe8a30 [INFO] running `Command { std: "docker" "start" "-a" "a4aae41cc3981edb2861aabc496dc25f49daaf6f05986c112d9621f57cfe8a30", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling metrics v0.17.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling hash_hasher v2.0.3 [INFO] [stderr] Compiling snarkos-profiler v1.3.17 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling circular-queue v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling quote v1.0.10 [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 crossbeam-deque v0.8.1 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling curl-sys v0.4.51+curl-7.80.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling metrics-macros v0.4.0 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling curl v0.4.41 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling futures-executor v0.3.18 [INFO] [stderr] Compiling futures v0.3.18 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling snarkos-metrics v1.3.17 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling snarkvm-derives v0.7.9 [INFO] [stderr] Compiling num_enum_derive v0.5.4 [INFO] [stderr] Compiling snarkvm-utilities v0.7.9 [INFO] [stderr] Compiling num_enum v0.5.4 [INFO] [stderr] Compiling snarkvm-fields v0.7.9 [INFO] [stderr] Compiling snarkvm-curves v0.7.9 [INFO] [stderr] Compiling snarkvm-r1cs v0.7.9 [INFO] [stderr] Compiling snarkvm-algorithms v0.7.9 [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/github.com-1ecc6299db9ec823/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/github.com-1ecc6299db9ec823/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 struct `std::io::Error`, found struct `anyhow::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, std::io::Error>` [INFO] [stdout] found enum `std::result::Result<_, anyhow::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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 struct `std::io::Error`, found struct `anyhow::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, std::io::Error>` [INFO] [stdout] found enum `std::result::Result<_, anyhow::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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 struct `std::io::Error`, found struct `anyhow::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, std::io::Error>` [INFO] [stdout] found enum `std::result::Result<_, anyhow::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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 struct `std::io::Error`, found struct `anyhow::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, std::io::Error>` [INFO] [stdout] found enum `std::result::Result<_, anyhow::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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 struct `std::io::Error`, found struct `anyhow::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, std::io::Error>` [INFO] [stdout] found enum `std::result::Result<_, anyhow::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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 struct `std::io::Error`, found struct `anyhow::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<_, std::io::Error>` [INFO] [stdout] found enum `std::result::Result<_, anyhow::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/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 struct `std::io::Error`, found struct `anyhow::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result, std::io::Error>` [INFO] [stdout] found enum `std::result::Result, anyhow::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [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` due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "a4aae41cc3981edb2861aabc496dc25f49daaf6f05986c112d9621f57cfe8a30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4aae41cc3981edb2861aabc496dc25f49daaf6f05986c112d9621f57cfe8a30", kill_on_drop: false }` [INFO] [stdout] a4aae41cc3981edb2861aabc496dc25f49daaf6f05986c112d9621f57cfe8a30