[INFO] fetching crate bitcoin-chain 0.3.1... [INFO] testing bitcoin-chain-0.3.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate bitcoin-chain 0.3.1 into /workspace/builds/worker-2-tc1/source [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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bitcoin-chain 0.3.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 22 packages to latest compatible versions [INFO] [stderr] Adding bitcoin v0.15.1 (available: v0.32.6) [INFO] [stderr] Adding cc v1.0.26 (available: v1.2.27) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitcoin-bech32 v0.8.1 [INFO] [stderr] Downloaded bech32 v0.5.0 [INFO] [stderr] Downloaded bitcoin v0.15.1 [INFO] [stderr] Downloaded secp256k1 v0.11.6 [INFO] [stderr] Downloaded rust-crypto v0.2.36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5306cdd3ab011d03351288400fadd1af9603edd60d6fc9b60d30dbbf80b90d0e [INFO] running `Command { std: "docker" "start" "-a" "5306cdd3ab011d03351288400fadd1af9603edd60d6fc9b60d30dbbf80b90d0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5306cdd3ab011d03351288400fadd1af9603edd60d6fc9b60d30dbbf80b90d0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5306cdd3ab011d03351288400fadd1af9603edd60d6fc9b60d30dbbf80b90d0e", kill_on_drop: false }` [INFO] [stdout] 5306cdd3ab011d03351288400fadd1af9603edd60d6fc9b60d30dbbf80b90d0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a631a9fddc61b651999a0276305fc907df39d5188cbf53b6e8325c1168e0ae19 [INFO] running `Command { std: "docker" "start" "-a" "a631a9fddc61b651999a0276305fc907df39d5188cbf53b6e8325c1168e0ae19", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling cc v1.0.26 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling bech32 v0.5.0 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling rand v0.3.23 [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 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] = 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | (self as &dyn fmt::Display).fmt(f) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/blockchain.rs:598:17 [INFO] [stdout] | [INFO] [stdout] 598 | pub fn iter(&self, start_hash: Sha256dHash) -> BlockIter { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 598 | pub fn iter(&self, start_hash: Sha256dHash) -> BlockIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/blockchain.rs:610:21 [INFO] [stdout] | [INFO] [stdout] 610 | pub fn rev_iter(&self, start_hash: Sha256dHash) -> RevBlockIter { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 610 | pub fn rev_iter(&self, start_hash: Sha256dHash) -> RevBlockIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/blockchain.rs:622:27 [INFO] [stdout] | [INFO] [stdout] 622 | pub fn rev_stale_iter(&self, start_hash: Sha256dHash) -> RevStaleBlockIter { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 622 | pub fn rev_stale_iter(&self, start_hash: Sha256dHash) -> RevStaleBlockIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/patricia_tree.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn iter(&self) -> Items { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 348 | pub fn iter(&self) -> Items<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/patricia_tree.rs:357:21 [INFO] [stdout] | [INFO] [stdout] 357 | pub fn mut_iter(&mut self) -> MutItems { [INFO] [stdout] | ^^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 357 | pub fn mut_iter(&mut self) -> MutItems<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.73s [INFO] running `Command { std: "docker" "inspect" "a631a9fddc61b651999a0276305fc907df39d5188cbf53b6e8325c1168e0ae19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a631a9fddc61b651999a0276305fc907df39d5188cbf53b6e8325c1168e0ae19", kill_on_drop: false }` [INFO] [stdout] a631a9fddc61b651999a0276305fc907df39d5188cbf53b6e8325c1168e0ae19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 323f13e094377c3bd07baadced9c722c67eef1026eeb83a7baa95a377550af2e [INFO] running `Command { std: "docker" "start" "-a" "323f13e094377c3bd07baadced9c722c67eef1026eeb83a7baa95a377550af2e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] [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: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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | (self as &dyn fmt::Display).fmt(f) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/blockchain.rs:598:17 [INFO] [stdout] | [INFO] [stdout] 598 | pub fn iter(&self, start_hash: Sha256dHash) -> BlockIter { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 598 | pub fn iter(&self, start_hash: Sha256dHash) -> BlockIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/blockchain.rs:610:21 [INFO] [stdout] | [INFO] [stdout] 610 | pub fn rev_iter(&self, start_hash: Sha256dHash) -> RevBlockIter { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 610 | pub fn rev_iter(&self, start_hash: Sha256dHash) -> RevBlockIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/blockchain.rs:622:27 [INFO] [stdout] | [INFO] [stdout] 622 | pub fn rev_stale_iter(&self, start_hash: Sha256dHash) -> RevStaleBlockIter { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 622 | pub fn rev_stale_iter(&self, start_hash: Sha256dHash) -> RevStaleBlockIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/patricia_tree.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn iter(&self) -> Items { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 348 | pub fn iter(&self) -> Items<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/patricia_tree.rs:357:21 [INFO] [stdout] | [INFO] [stdout] 357 | pub fn mut_iter(&mut self) -> MutItems { [INFO] [stdout] | ^^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 357 | pub fn mut_iter(&mut self) -> MutItems<'_, K, V> { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | (self as &dyn fmt::Display).fmt(f) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/blockchain.rs:598:17 [INFO] [stdout] | [INFO] [stdout] 598 | pub fn iter(&self, start_hash: Sha256dHash) -> BlockIter { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 598 | pub fn iter(&self, start_hash: Sha256dHash) -> BlockIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/blockchain.rs:610:21 [INFO] [stdout] | [INFO] [stdout] 610 | pub fn rev_iter(&self, start_hash: Sha256dHash) -> RevBlockIter { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 610 | pub fn rev_iter(&self, start_hash: Sha256dHash) -> RevBlockIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/blockchain.rs:622:27 [INFO] [stdout] | [INFO] [stdout] 622 | pub fn rev_stale_iter(&self, start_hash: Sha256dHash) -> RevStaleBlockIter { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 622 | pub fn rev_stale_iter(&self, start_hash: Sha256dHash) -> RevStaleBlockIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/patricia_tree.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn iter(&self) -> Items { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 348 | pub fn iter(&self) -> Items<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/patricia_tree.rs:357:21 [INFO] [stdout] | [INFO] [stdout] 357 | pub fn mut_iter(&mut self) -> MutItems { [INFO] [stdout] | ^^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 357 | pub fn mut_iter(&mut self) -> MutItems<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.47s [INFO] running `Command { std: "docker" "inspect" "323f13e094377c3bd07baadced9c722c67eef1026eeb83a7baa95a377550af2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "323f13e094377c3bd07baadced9c722c67eef1026eeb83a7baa95a377550af2e", kill_on_drop: false }` [INFO] [stdout] 323f13e094377c3bd07baadced9c722c67eef1026eeb83a7baa95a377550af2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5c6ec88b9f8f4271fd6d0b5fc37b0f0c0c6edc780605c6db1e27629cd8634662 [INFO] running `Command { std: "docker" "start" "-a" "5c6ec88b9f8f4271fd6d0b5fc37b0f0c0c6edc780605c6db1e27629cd8634662", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 73 | (self as &dyn fmt::Display).fmt(f) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/blockchain.rs:598:17 [INFO] [stderr] | [INFO] [stderr] 598 | pub fn iter(&self, start_hash: Sha256dHash) -> BlockIter { [INFO] [stderr] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 598 | pub fn iter(&self, start_hash: Sha256dHash) -> BlockIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/blockchain.rs:610:21 [INFO] [stderr] | [INFO] [stderr] 610 | pub fn rev_iter(&self, start_hash: Sha256dHash) -> RevBlockIter { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 610 | pub fn rev_iter(&self, start_hash: Sha256dHash) -> RevBlockIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/blockchain.rs:622:27 [INFO] [stderr] | [INFO] [stderr] 622 | pub fn rev_stale_iter(&self, start_hash: Sha256dHash) -> RevStaleBlockIter { [INFO] [stderr] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 622 | pub fn rev_stale_iter(&self, start_hash: Sha256dHash) -> RevStaleBlockIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/patricia_tree.rs:348:17 [INFO] [stderr] | [INFO] [stderr] 348 | pub fn iter(&self) -> Items { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 348 | pub fn iter(&self) -> Items<'_, K, V> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/patricia_tree.rs:357:21 [INFO] [stderr] | [INFO] [stderr] 357 | pub fn mut_iter(&mut self) -> MutItems { [INFO] [stderr] | ^^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 357 | pub fn mut_iter(&mut self) -> MutItems<'_, K, V> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `bitcoin-chain` (lib) generated 43 warnings (run `cargo fix --lib -p bitcoin-chain` to apply 6 suggestions) [INFO] [stderr] warning: `bitcoin-chain` (lib test) generated 43 warnings (43 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/bitcoin_chain-f2f46ea689f51a71) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test blockchain::tests::blockchain_serialize_test ... ok [INFO] [stdout] test patricia_tree::tests::patricia_single_insert_lookup_delete_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_serialize_test ... ok [INFO] [stdout] test patricia_tree::tests::patricia_insert_lookup_delete_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5c6ec88b9f8f4271fd6d0b5fc37b0f0c0c6edc780605c6db1e27629cd8634662", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c6ec88b9f8f4271fd6d0b5fc37b0f0c0c6edc780605c6db1e27629cd8634662", kill_on_drop: false }` [INFO] [stdout] 5c6ec88b9f8f4271fd6d0b5fc37b0f0c0c6edc780605c6db1e27629cd8634662