[INFO] cloning repository https://github.com/BerzanXYZ/simple-blockchain-client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BerzanXYZ/simple-blockchain-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBerzanXYZ%2Fsimple-blockchain-client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBerzanXYZ%2Fsimple-blockchain-client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 86bf692ae179aada328f1d2a1a7870b7a6bdb471 [INFO] checking BerzanXYZ/simple-blockchain-client/86bf692ae179aada328f1d2a1a7870b7a6bdb471 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBerzanXYZ%2Fsimple-blockchain-client" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BerzanXYZ/simple-blockchain-client on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BerzanXYZ/simple-blockchain-client [INFO] finished tweaking git repo https://github.com/BerzanXYZ/simple-blockchain-client [INFO] tweaked toml for git repo https://github.com/BerzanXYZ/simple-blockchain-client written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/BerzanXYZ/simple-blockchain-client 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19306eec9e934dabe9d5a43e7633114bb0c5a3f17e69605c8033b07708636e50 [INFO] running `Command { std: "docker" "start" "-a" "19306eec9e934dabe9d5a43e7633114bb0c5a3f17e69605c8033b07708636e50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19306eec9e934dabe9d5a43e7633114bb0c5a3f17e69605c8033b07708636e50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19306eec9e934dabe9d5a43e7633114bb0c5a3f17e69605c8033b07708636e50", kill_on_drop: false }` [INFO] [stdout] 19306eec9e934dabe9d5a43e7633114bb0c5a3f17e69605c8033b07708636e50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ff6a89d83aeac90242efebae41c30bc20a1b55909712332e229404c290c2763 [INFO] running `Command { std: "docker" "start" "-a" "7ff6a89d83aeac90242efebae41c30bc20a1b55909712332e229404c290c2763", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking simple-blockchain-client v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/client.rs (1 fix) [INFO] [stderr] Fixed src/client.rs (1 fix) [INFO] [stdout] warning: struct `Client` is never constructed [INFO] [stdout] --> src/client.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Client { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `join_consensus`, `recv_msg`, `send_msg`, and `start` are never used [INFO] [stdout] --> src/client.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Client { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn join_consensus(&mut self, client_addr: SocketAddr) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn recv_msg(&self, buf: &mut [u8]) -> Result<(Message, SocketAddr), ()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn send_msg(&self, msg: &Message, to: SocketAddr) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn start(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking simple-blockchain-client v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> src/client.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | spawn(move || client.start()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> src/client.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | spawn(move || { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope [INFO] [stdout] --> src/client.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | sleep(Duration::from_secs(5)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/client.rs:111:11 [INFO] [stdout] | [INFO] [stdout] 111 | sleep(Duration::from_secs(5)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Client` is never constructed [INFO] [stdout] --> src/client.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Client { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `join_consensus`, `recv_msg`, `send_msg`, and `start` are never used [INFO] [stdout] --> src/client.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Client { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn join_consensus(&mut self, client_addr: SocketAddr) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn recv_msg(&self, buf: &mut [u8]) -> Result<(Message, SocketAddr), ()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn send_msg(&self, msg: &Message, to: SocketAddr) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn start(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `simple-blockchain-client` (bin "simple-blockchain-client" test) due to 5 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "7ff6a89d83aeac90242efebae41c30bc20a1b55909712332e229404c290c2763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ff6a89d83aeac90242efebae41c30bc20a1b55909712332e229404c290c2763", kill_on_drop: false }` [INFO] [stdout] 7ff6a89d83aeac90242efebae41c30bc20a1b55909712332e229404c290c2763