[INFO] fetching crate bitcoin-chain 0.3.1... [INFO] checking bitcoin-chain-0.3.1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate bitcoin-chain 0.3.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate bitcoin-chain 0.3.1 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 23 packages to latest compatible versions [INFO] [stderr] Adding bech32 v0.5.0 (latest: v0.11.0) [INFO] [stderr] Adding bitcoin v0.15.1 (latest: v0.32.2) [INFO] [stderr] Adding bitcoin-bech32 v0.8.1 (latest: v0.13.0) [INFO] [stderr] Adding cc v1.0.26 (latest: v1.1.15) [INFO] [stderr] Adding hex v0.3.2 (latest: v0.4.3) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding secp256k1 v0.11.6 (latest: v0.29.0) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.36) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitcoin-bech32 v0.8.1 [INFO] [stderr] Downloaded bech32 v0.5.0 [INFO] [stderr] Downloaded cc v1.0.26 [INFO] [stderr] Downloaded secp256k1 v0.11.6 [INFO] [stderr] Downloaded bitcoin v0.15.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2171e7ded6a8ac558ba62050f48d263117ad2947d8470bbc1060b7d454fe0e7 [INFO] running `Command { std: "docker" "start" "-a" "f2171e7ded6a8ac558ba62050f48d263117ad2947d8470bbc1060b7d454fe0e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2171e7ded6a8ac558ba62050f48d263117ad2947d8470bbc1060b7d454fe0e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2171e7ded6a8ac558ba62050f48d263117ad2947d8470bbc1060b7d454fe0e7", kill_on_drop: false }` [INFO] [stdout] f2171e7ded6a8ac558ba62050f48d263117ad2947d8470bbc1060b7d454fe0e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b905d38f1029babec5a26dd8a90e0f1f4ff18447bd23e3ea89446e87fdbf194f [INFO] running `Command { std: "docker" "start" "-a" "b905d38f1029babec5a26dd8a90e0f1f4ff18447bd23e3ea89446e87fdbf194f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling cc v1.0.26 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking bech32 v0.5.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking bitcoin-bech32 v0.8.1 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling secp256k1 v0.11.6 [INFO] [stderr] Checking bitcoin v0.15.1 [INFO] [stderr] Checking 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: 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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | (self as &dyn fmt::Display).fmt(f) [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.56s [INFO] running `Command { std: "docker" "inspect" "b905d38f1029babec5a26dd8a90e0f1f4ff18447bd23e3ea89446e87fdbf194f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b905d38f1029babec5a26dd8a90e0f1f4ff18447bd23e3ea89446e87fdbf194f", kill_on_drop: false }` [INFO] [stdout] b905d38f1029babec5a26dd8a90e0f1f4ff18447bd23e3ea89446e87fdbf194f