[INFO] fetching crate bitcoin-chain 0.3.1... [INFO] testing bitcoin-chain-0.3.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate bitcoin-chain 0.3.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate bitcoin-chain 0.3.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitcoin-chain 0.3.1 [INFO] finished tweaking crates.io crate bitcoin-chain 0.3.1 [INFO] tweaked toml for crates.io crate bitcoin-chain 0.3.1 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 412c778fc63ac4da4fb9030c55034cf0e39c184d74850f54a1b88ef2d6ef29ae [INFO] running `Command { std: "docker" "start" "-a" "412c778fc63ac4da4fb9030c55034cf0e39c184d74850f54a1b88ef2d6ef29ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "412c778fc63ac4da4fb9030c55034cf0e39c184d74850f54a1b88ef2d6ef29ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "412c778fc63ac4da4fb9030c55034cf0e39c184d74850f54a1b88ef2d6ef29ae", kill_on_drop: false }` [INFO] [stdout] 412c778fc63ac4da4fb9030c55034cf0e39c184d74850f54a1b88ef2d6ef29ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d63dd341e0eb7b209982e2f8ef15dc7d2dabfdb2962e778a82bb396c812fd50 [INFO] running `Command { std: "docker" "start" "-a" "0d63dd341e0eb7b209982e2f8ef15dc7d2dabfdb2962e778a82bb396c812fd50", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling cc v1.0.26 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling bech32 v0.5.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling bitcoin-bech32 v0.8.1 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling secp256k1 v0.11.6 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling bitcoin v0.15.1 [INFO] [stderr] Compiling bitcoin-chain v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | try!(self.block.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | try!(self.total_work.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | try!(self.required_difficulty.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | try!(self.height.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | try!(self.has_txdata.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | block: try!(Decodable::consensus_decode(d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | total_work: try!(Decodable::consensus_decode(d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:137:34 [INFO] [stdout] | [INFO] [stdout] 137 | required_difficulty: try!(Decodable::consensus_decode(d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | height: try!(Decodable::consensus_decode(d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | has_txdata: try!(Decodable::consensus_decode(d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | try!(self.network.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | try!(self.tree.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | try!(self.best_hash.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | try!(self.genesis_hash.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | let network: Network = try!(Decodable::consensus_decode(d)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:177:35 [INFO] [stdout] | [INFO] [stdout] 177 | let mut tree: BlockTree = try!(Decodable::consensus_decode(d)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:178:38 [INFO] [stdout] | [INFO] [stdout] 178 | let best_hash: Sha256dHash = try!(Decodable::consensus_decode(d)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:179:41 [INFO] [stdout] | [INFO] [stdout] 179 | let genesis_hash: Sha256dHash = try!(Decodable::consensus_decode(d)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:540:9 [INFO] [stdout] | [INFO] [stdout] 540 | try!(new_block.block.header.spv_validate(&new_block.required_difficulty)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:376:13 [INFO] [stdout] | [INFO] [stdout] 376 | try!(writeln!(f, ": {:?}", tree.data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:374:17 [INFO] [stdout] | [INFO] [stdout] 374 | try!(write!(f, "{:}", if tree.skip_prefix.bit(i) { 1 } else { 0 })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:382:17 [INFO] [stdout] | [INFO] [stdout] 382 | try!(write!(f, "0")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:383:17 [INFO] [stdout] | [INFO] [stdout] 383 | try!(recurse(&**t, f, depth + tree.skip_len as usize + 1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:380:21 [INFO] [stdout] | [INFO] [stdout] 380 | try!(write!(f, "-")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:390:17 [INFO] [stdout] | [INFO] [stdout] 390 | try!(write!(f, "1")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:391:17 [INFO] [stdout] | [INFO] [stdout] 391 | try!(recurse(&**t, f, depth + tree.skip_len as usize + 1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:388:21 [INFO] [stdout] | [INFO] [stdout] 388 | try!(write!(f, "_")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | try!(self.skip_prefix.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | try!(self.skip_len.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | try!(self.data.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | try!(self.child_l.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:410:9 [INFO] [stdout] | [INFO] [stdout] 410 | try!(self.child_r.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:422:26 [INFO] [stdout] | [INFO] [stdout] 422 | skip_prefix: try!(Decodable::consensus_decode(d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:423:23 [INFO] [stdout] | [INFO] [stdout] 423 | skip_len: try!(Decodable::consensus_decode(d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:424:19 [INFO] [stdout] | [INFO] [stdout] 424 | data: try!(Decodable::consensus_decode(d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:425:22 [INFO] [stdout] | [INFO] [stdout] 425 | child_l: try!(Decodable::consensus_decode(d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:426:22 [INFO] [stdout] | [INFO] [stdout] 426 | child_r: try!(Decodable::consensus_decode(d)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blockchain.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | (self as &fmt::Display).fmt(f) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 - (self as &fmt::Display).fmt(f) [INFO] [stdout] 73 + (self as &dyn fmt::Display).fmt(f) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.66s [INFO] running `Command { std: "docker" "inspect" "0d63dd341e0eb7b209982e2f8ef15dc7d2dabfdb2962e778a82bb396c812fd50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d63dd341e0eb7b209982e2f8ef15dc7d2dabfdb2962e778a82bb396c812fd50", kill_on_drop: false }` [INFO] [stdout] 0d63dd341e0eb7b209982e2f8ef15dc7d2dabfdb2962e778a82bb396c812fd50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ca5f0fc7c2f4dc429fcb4cd2ccb9f7265fe67da2f7e09b37831f4ee6d3d4bce [INFO] running `Command { std: "docker" "start" "-a" "2ca5f0fc7c2f4dc429fcb4cd2ccb9f7265fe67da2f7e09b37831f4ee6d3d4bce", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | try!(self.block.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | try!(self.total_work.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bitcoin-chain v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | try!(self.required_difficulty.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | try!(self.height.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | try!(self.has_txdata.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | block: try!(Decodable::consensus_decode(d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | total_work: try!(Decodable::consensus_decode(d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:137:34 [INFO] [stdout] | [INFO] [stdout] 137 | required_difficulty: try!(Decodable::consensus_decode(d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | height: try!(Decodable::consensus_decode(d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | has_txdata: try!(Decodable::consensus_decode(d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | try!(self.network.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | try!(self.tree.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | try!(self.best_hash.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | try!(self.genesis_hash.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | let network: Network = try!(Decodable::consensus_decode(d)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:177:35 [INFO] [stdout] | [INFO] [stdout] 177 | let mut tree: BlockTree = try!(Decodable::consensus_decode(d)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:178:38 [INFO] [stdout] | [INFO] [stdout] 178 | let best_hash: Sha256dHash = try!(Decodable::consensus_decode(d)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:179:41 [INFO] [stdout] | [INFO] [stdout] 179 | let genesis_hash: Sha256dHash = try!(Decodable::consensus_decode(d)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:540:9 [INFO] [stdout] | [INFO] [stdout] 540 | try!(new_block.block.header.spv_validate(&new_block.required_difficulty)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:376:13 [INFO] [stdout] | [INFO] [stdout] 376 | try!(writeln!(f, ": {:?}", tree.data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:374:17 [INFO] [stdout] | [INFO] [stdout] 374 | try!(write!(f, "{:}", if tree.skip_prefix.bit(i) { 1 } else { 0 })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:382:17 [INFO] [stdout] | [INFO] [stdout] 382 | try!(write!(f, "0")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:383:17 [INFO] [stdout] | [INFO] [stdout] 383 | try!(recurse(&**t, f, depth + tree.skip_len as usize + 1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:380:21 [INFO] [stdout] | [INFO] [stdout] 380 | try!(write!(f, "-")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:390:17 [INFO] [stdout] | [INFO] [stdout] 390 | try!(write!(f, "1")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:391:17 [INFO] [stdout] | [INFO] [stdout] 391 | try!(recurse(&**t, f, depth + tree.skip_len as usize + 1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:388:21 [INFO] [stdout] | [INFO] [stdout] 388 | try!(write!(f, "_")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | try!(self.skip_prefix.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | try!(self.skip_len.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | try!(self.data.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | try!(self.child_l.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:410:9 [INFO] [stdout] | [INFO] [stdout] 410 | try!(self.child_r.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:422:26 [INFO] [stdout] | [INFO] [stdout] 422 | skip_prefix: try!(Decodable::consensus_decode(d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:423:23 [INFO] [stdout] | [INFO] [stdout] 423 | skip_len: try!(Decodable::consensus_decode(d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:424:19 [INFO] [stdout] | [INFO] [stdout] 424 | data: try!(Decodable::consensus_decode(d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:425:22 [INFO] [stdout] | [INFO] [stdout] 425 | child_l: try!(Decodable::consensus_decode(d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:426:22 [INFO] [stdout] | [INFO] [stdout] 426 | child_r: try!(Decodable::consensus_decode(d)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blockchain.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | (self as &fmt::Display).fmt(f) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 - (self as &fmt::Display).fmt(f) [INFO] [stdout] 73 + (self as &dyn fmt::Display).fmt(f) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | try!(self.block.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | try!(self.total_work.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | try!(self.required_difficulty.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | try!(self.height.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | try!(self.has_txdata.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | block: try!(Decodable::consensus_decode(d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | total_work: try!(Decodable::consensus_decode(d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:137:34 [INFO] [stdout] | [INFO] [stdout] 137 | required_difficulty: try!(Decodable::consensus_decode(d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | height: try!(Decodable::consensus_decode(d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | has_txdata: try!(Decodable::consensus_decode(d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | try!(self.network.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | try!(self.tree.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | try!(self.best_hash.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | try!(self.genesis_hash.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:176:32 [INFO] [stdout] | [INFO] [stdout] 176 | let network: Network = try!(Decodable::consensus_decode(d)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:177:35 [INFO] [stdout] | [INFO] [stdout] 177 | let mut tree: BlockTree = try!(Decodable::consensus_decode(d)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:178:38 [INFO] [stdout] | [INFO] [stdout] 178 | let best_hash: Sha256dHash = try!(Decodable::consensus_decode(d)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:179:41 [INFO] [stdout] | [INFO] [stdout] 179 | let genesis_hash: Sha256dHash = try!(Decodable::consensus_decode(d)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/blockchain.rs:540:9 [INFO] [stdout] | [INFO] [stdout] 540 | try!(new_block.block.header.spv_validate(&new_block.required_difficulty)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:376:13 [INFO] [stdout] | [INFO] [stdout] 376 | try!(writeln!(f, ": {:?}", tree.data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:374:17 [INFO] [stdout] | [INFO] [stdout] 374 | try!(write!(f, "{:}", if tree.skip_prefix.bit(i) { 1 } else { 0 })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:382:17 [INFO] [stdout] | [INFO] [stdout] 382 | try!(write!(f, "0")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:383:17 [INFO] [stdout] | [INFO] [stdout] 383 | try!(recurse(&**t, f, depth + tree.skip_len as usize + 1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:380:21 [INFO] [stdout] | [INFO] [stdout] 380 | try!(write!(f, "-")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:390:17 [INFO] [stdout] | [INFO] [stdout] 390 | try!(write!(f, "1")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:391:17 [INFO] [stdout] | [INFO] [stdout] 391 | try!(recurse(&**t, f, depth + tree.skip_len as usize + 1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:388:21 [INFO] [stdout] | [INFO] [stdout] 388 | try!(write!(f, "_")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | try!(self.skip_prefix.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | try!(self.skip_len.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | try!(self.data.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | try!(self.child_l.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:410:9 [INFO] [stdout] | [INFO] [stdout] 410 | try!(self.child_r.consensus_encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:422:26 [INFO] [stdout] | [INFO] [stdout] 422 | skip_prefix: try!(Decodable::consensus_decode(d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:423:23 [INFO] [stdout] | [INFO] [stdout] 423 | skip_len: try!(Decodable::consensus_decode(d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:424:19 [INFO] [stdout] | [INFO] [stdout] 424 | data: try!(Decodable::consensus_decode(d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:425:22 [INFO] [stdout] | [INFO] [stdout] 425 | child_l: try!(Decodable::consensus_decode(d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/patricia_tree.rs:426:22 [INFO] [stdout] | [INFO] [stdout] 426 | child_r: try!(Decodable::consensus_decode(d)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blockchain.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | (self as &fmt::Display).fmt(f) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 - (self as &fmt::Display).fmt(f) [INFO] [stdout] 73 + (self as &dyn fmt::Display).fmt(f) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.37s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/bitcoin_chain-65f526781fb7fb27) [INFO] running `Command { std: "docker" "inspect" "2ca5f0fc7c2f4dc429fcb4cd2ccb9f7265fe67da2f7e09b37831f4ee6d3d4bce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ca5f0fc7c2f4dc429fcb4cd2ccb9f7265fe67da2f7e09b37831f4ee6d3d4bce", kill_on_drop: false }` [INFO] [stdout] 2ca5f0fc7c2f4dc429fcb4cd2ccb9f7265fe67da2f7e09b37831f4ee6d3d4bce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fc7676250c32cf7d64c81f02bdd1a869429e05e5b8c66d7ef42a843f4694ebc6 [INFO] running `Command { std: "docker" "start" "-a" "fc7676250c32cf7d64c81f02bdd1a869429e05e5b8c66d7ef42a843f4694ebc6", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/blockchain.rs:121:9 [INFO] [stderr] | [INFO] [stderr] 121 | try!(self.block.consensus_encode(s)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/blockchain.rs:122:9 [INFO] [stderr] | [INFO] [stderr] 122 | try!(self.total_work.consensus_encode(s)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/blockchain.rs:123:9 [INFO] [stderr] | [INFO] [stderr] 123 | try!(self.required_difficulty.consensus_encode(s)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/blockchain.rs:124:9 [INFO] [stderr] | [INFO] [stderr] 124 | try!(self.height.consensus_encode(s)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/blockchain.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 125 | try!(self.has_txdata.consensus_encode(s)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/blockchain.rs:135:20 [INFO] [stderr] | [INFO] [stderr] 135 | block: try!(Decodable::consensus_decode(d)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/blockchain.rs:136:25 [INFO] [stderr] | [INFO] [stderr] 136 | total_work: try!(Decodable::consensus_decode(d)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/blockchain.rs:137:34 [INFO] [stderr] | [INFO] [stderr] 137 | required_difficulty: try!(Decodable::consensus_decode(d)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/blockchain.rs:138:21 [INFO] [stderr] | [INFO] [stderr] 138 | height: try!(Decodable::consensus_decode(d)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/blockchain.rs:139:25 [INFO] [stderr] | [INFO] [stderr] 139 | has_txdata: try!(Decodable::consensus_decode(d)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/blockchain.rs:166:9 [INFO] [stderr] | [INFO] [stderr] 166 | try!(self.network.consensus_encode(s)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/blockchain.rs:167:9 [INFO] [stderr] | [INFO] [stderr] 167 | try!(self.tree.consensus_encode(s)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/blockchain.rs:168:9 [INFO] [stderr] | [INFO] [stderr] 168 | try!(self.best_hash.consensus_encode(s)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/blockchain.rs:169:9 [INFO] [stderr] | [INFO] [stderr] 169 | try!(self.genesis_hash.consensus_encode(s)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/blockchain.rs:176:32 [INFO] [stderr] | [INFO] [stderr] 176 | let network: Network = try!(Decodable::consensus_decode(d)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/blockchain.rs:177:35 [INFO] [stderr] | [INFO] [stderr] 177 | let mut tree: BlockTree = try!(Decodable::consensus_decode(d)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/blockchain.rs:178:38 [INFO] [stderr] | [INFO] [stderr] 178 | let best_hash: Sha256dHash = try!(Decodable::consensus_decode(d)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/blockchain.rs:179:41 [INFO] [stderr] | [INFO] [stderr] 179 | let genesis_hash: Sha256dHash = try!(Decodable::consensus_decode(d)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/blockchain.rs:540:9 [INFO] [stderr] | [INFO] [stderr] 540 | try!(new_block.block.header.spv_validate(&new_block.required_difficulty)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/patricia_tree.rs:376:13 [INFO] [stderr] | [INFO] [stderr] 376 | try!(writeln!(f, ": {:?}", tree.data)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/patricia_tree.rs:374:17 [INFO] [stderr] | [INFO] [stderr] 374 | try!(write!(f, "{:}", if tree.skip_prefix.bit(i) { 1 } else { 0 })); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/patricia_tree.rs:382:17 [INFO] [stderr] | [INFO] [stderr] 382 | try!(write!(f, "0")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/patricia_tree.rs:383:17 [INFO] [stderr] | [INFO] [stderr] 383 | try!(recurse(&**t, f, depth + tree.skip_len as usize + 1)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/patricia_tree.rs:380:21 [INFO] [stderr] | [INFO] [stderr] 380 | try!(write!(f, "-")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/patricia_tree.rs:390:17 [INFO] [stderr] | [INFO] [stderr] 390 | try!(write!(f, "1")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/patricia_tree.rs:391:17 [INFO] [stderr] | [INFO] [stderr] 391 | try!(recurse(&**t, f, depth + tree.skip_len as usize + 1)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/patricia_tree.rs:388:21 [INFO] [stderr] | [INFO] [stderr] 388 | try!(write!(f, "_")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/patricia_tree.rs:406:9 [INFO] [stderr] | [INFO] [stderr] 406 | try!(self.skip_prefix.consensus_encode(s)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/patricia_tree.rs:407:9 [INFO] [stderr] | [INFO] [stderr] 407 | try!(self.skip_len.consensus_encode(s)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/patricia_tree.rs:408:9 [INFO] [stderr] | [INFO] [stderr] 408 | try!(self.data.consensus_encode(s)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/patricia_tree.rs:409:9 [INFO] [stderr] | [INFO] [stderr] 409 | try!(self.child_l.consensus_encode(s)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/patricia_tree.rs:410:9 [INFO] [stderr] | [INFO] [stderr] 410 | try!(self.child_r.consensus_encode(s)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/patricia_tree.rs:422:26 [INFO] [stderr] | [INFO] [stderr] 422 | skip_prefix: try!(Decodable::consensus_decode(d)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/patricia_tree.rs:423:23 [INFO] [stderr] | [INFO] [stderr] 423 | skip_len: try!(Decodable::consensus_decode(d)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/patricia_tree.rs:424:19 [INFO] [stderr] | [INFO] [stderr] 424 | data: try!(Decodable::consensus_decode(d)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/patricia_tree.rs:425:22 [INFO] [stderr] | [INFO] [stderr] 425 | child_l: try!(Decodable::consensus_decode(d)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/patricia_tree.rs:426:22 [INFO] [stderr] | [INFO] [stderr] 426 | child_r: try!(Decodable::consensus_decode(d)) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/blockchain.rs:73:19 [INFO] [stderr] | [INFO] [stderr] 73 | (self as &fmt::Display).fmt(f) [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 73 - (self as &fmt::Display).fmt(f) [INFO] [stderr] 73 + (self as &dyn fmt::Display).fmt(f) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `bitcoin-chain` (lib) generated 38 warnings [INFO] [stderr] warning: `bitcoin-chain` (lib test) generated 38 warnings (38 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bitcoin_chain-65f526781fb7fb27) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test patricia_tree::tests::patricia_single_insert_lookup_delete_test ... ok [INFO] [stdout] test blockchain::tests::blockchain_serialize_test ... ok [INFO] [stdout] test patricia_tree::tests::patricia_insert_substring_keys ... ok [INFO] [stdout] test patricia_tree::tests::patricia_iter_test ... ok [INFO] [stdout] test patricia_tree::tests::patricia_mut_iter_test ... ok [INFO] [stdout] test patricia_tree::tests::patricia_insert_lookup_delete_test ... ok [INFO] [stdout] test patricia_tree::tests::patricia_serialize_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] [stderr] Doc-tests bitcoin_chain [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fc7676250c32cf7d64c81f02bdd1a869429e05e5b8c66d7ef42a843f4694ebc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc7676250c32cf7d64c81f02bdd1a869429e05e5b8c66d7ef42a843f4694ebc6", kill_on_drop: false }` [INFO] [stdout] fc7676250c32cf7d64c81f02bdd1a869429e05e5b8c66d7ef42a843f4694ebc6