[INFO] cloning repository https://github.com/10thfloor/rusty-chain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/10thfloor/rusty-chain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F10thfloor%2Frusty-chain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F10thfloor%2Frusty-chain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8625f8794dbb66773e61fc7f5a5995163b57ed7a
[INFO] checking 10thfloor/rusty-chain against try#438eb4c1a1c3841523d7f672601e8adbe04cff28 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F10thfloor%2Frusty-chain" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/10thfloor/rusty-chain
[INFO] finished tweaking git repo https://github.com/10thfloor/rusty-chain
[INFO] tweaked toml for git repo https://github.com/10thfloor/rusty-chain written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/10thfloor/rusty-chain on toolchain 438eb4c1a1c3841523d7f672601e8adbe04cff28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/10thfloor/rusty-chain already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d245e0daf6c9d040b2149781b08814ba6f10cf627b3173607891a2a31c48dff7
[INFO] running `Command { std: "docker" "start" "-a" "d245e0daf6c9d040b2149781b08814ba6f10cf627b3173607891a2a31c48dff7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d245e0daf6c9d040b2149781b08814ba6f10cf627b3173607891a2a31c48dff7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d245e0daf6c9d040b2149781b08814ba6f10cf627b3173607891a2a31c48dff7", kill_on_drop: false }`
[INFO] [stdout] d245e0daf6c9d040b2149781b08814ba6f10cf627b3173607891a2a31c48dff7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ffc735a6b8988b9e86aeb596c2d212b583a51bf0834fef56e05e8c369fc4650e
[INFO] running `Command { std: "docker" "start" "-a" "ffc735a6b8988b9e86aeb596c2d212b583a51bf0834fef56e05e8c369fc4650e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking cfg-if v1.0.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]     Checking anstyle-parse v0.2.7
[INFO] [stderr]     Checking anstyle-query v1.1.4
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling litrs v0.4.2
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]     Checking colorchoice v1.0.4
[INFO] [stderr]     Checking anstyle v1.0.11
[INFO] [stderr]     Checking linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling serde_json v1.0.142
[INFO] [stderr]     Checking iana-time-zone v0.1.63
[INFO] [stderr]     Checking cpufeatures v0.2.17
[INFO] [stderr]     Checking unicode-width v0.1.14
[INFO] [stderr]     Checking jiff v0.2.15
[INFO] [stderr]    Compiling convert_case v0.7.1
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling document-features v0.2.11
[INFO] [stderr]     Checking anstream v0.6.20
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking socket2 v0.6.0
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking signal-hook-mio v0.2.4
[INFO] [stderr]     Checking crossterm v0.25.0
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking tui v0.19.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking tokio v1.47.1
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]     Checking crossterm v0.29.0
[INFO] [stderr]     Checking env_logger v0.11.8
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/main.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 |     io::{self, Write},
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/main.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 |     io::{self, Write},
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `p2p` is never read
[INFO] [stdout]   --> src/main.rs:75:5
[INFO] [stdout]    |
[INFO] [stdout] 70 | struct App {
[INFO] [stdout]    |        --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 75 |     p2p: p2p::P2p,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/blockchain.rs:74:12
[INFO] [stdout]     |
[INFO] [stdout]  47 | impl Chain {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  74 |     pub fn create_account(&mut self, account: String) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  82 |     pub fn get_balance(&self, account: &String) -> Option<&i64> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |     pub fn get_chain(&self) -> &Vec<Block> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  90 |     pub fn new_transaction(&mut self, sender: String, receiver: String, amount: i64) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub fn update_difficulty(&mut self, difficulty: u32) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 |     pub fn update_reward(&mut self, reward: i64) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub fn resolve_conflict(&mut self, new_chain: &[Block]) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `addr` and `stream` are never read
[INFO] [stdout]   --> src/p2p.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Peer {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 26 |     addr: SocketAddr,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 27 |     stream: TcpStream,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/p2p.rs:31:18
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Peer {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 31 |     pub async fn new(addr: SocketAddr) -> Result<Self, Box<dyn Error>> {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `peers`, `listener`, and `peer_addrs` are never read
[INFO] [stdout]   --> src/p2p.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct P2p {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] 38 |     peers: HashMap<SocketAddr, Peer>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 39 |     listener: TcpListener,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 40 |     peer_addrs: Vec<SocketAddr>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `run` and `broadcast_message` are never used
[INFO] [stdout]   --> src/p2p.rs:54:18
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl P2p {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub async fn run(&mut self, tx: mpsc::Sender<P2pMessage>) {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     pub async fn broadcast_message(&mut self, message: P2pMessage) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `p2p` is never read
[INFO] [stdout]   --> src/main.rs:75:5
[INFO] [stdout]    |
[INFO] [stdout] 70 | struct App {
[INFO] [stdout]    |        --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 75 |     p2p: p2p::P2p,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/blockchain.rs:74:12
[INFO] [stdout]     |
[INFO] [stdout]  47 | impl Chain {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  74 |     pub fn create_account(&mut self, account: String) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  82 |     pub fn get_balance(&self, account: &String) -> Option<&i64> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |     pub fn get_chain(&self) -> &Vec<Block> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  90 |     pub fn new_transaction(&mut self, sender: String, receiver: String, amount: i64) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub fn update_difficulty(&mut self, difficulty: u32) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 |     pub fn update_reward(&mut self, reward: i64) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub fn resolve_conflict(&mut self, new_chain: &[Block]) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `addr` and `stream` are never read
[INFO] [stdout]   --> src/p2p.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Peer {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 26 |     addr: SocketAddr,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 27 |     stream: TcpStream,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/p2p.rs:31:18
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Peer {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 31 |     pub async fn new(addr: SocketAddr) -> Result<Self, Box<dyn Error>> {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `peers`, `listener`, and `peer_addrs` are never read
[INFO] [stdout]   --> src/p2p.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct P2p {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] 38 |     peers: HashMap<SocketAddr, Peer>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 39 |     listener: TcpListener,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 40 |     peer_addrs: Vec<SocketAddr>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `run` and `broadcast_message` are never used
[INFO] [stdout]   --> src/p2p.rs:54:18
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl P2p {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub async fn run(&mut self, tx: mpsc::Sender<P2pMessage>) {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     pub async fn broadcast_message(&mut self, message: P2pMessage) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.09s
[INFO] running `Command { std: "docker" "inspect" "ffc735a6b8988b9e86aeb596c2d212b583a51bf0834fef56e05e8c369fc4650e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ffc735a6b8988b9e86aeb596c2d212b583a51bf0834fef56e05e8c369fc4650e", kill_on_drop: false }`
[INFO] [stdout] ffc735a6b8988b9e86aeb596c2d212b583a51bf0834fef56e05e8c369fc4650e
