[INFO] cloning repository https://github.com/RIZAmohammadkhan/LAG [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RIZAmohammadkhan/LAG" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRIZAmohammadkhan%2FLAG", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRIZAmohammadkhan%2FLAG'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c85dfb30786ab384057d3629bc22e3762fa7215 [INFO] checking RIZAmohammadkhan/LAG/4c85dfb30786ab384057d3629bc22e3762fa7215 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRIZAmohammadkhan%2FLAG" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RIZAmohammadkhan/LAG 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/RIZAmohammadkhan/LAG [INFO] finished tweaking git repo https://github.com/RIZAmohammadkhan/LAG [INFO] tweaked toml for git repo https://github.com/RIZAmohammadkhan/LAG written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/RIZAmohammadkhan/LAG 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5561e6a95094364f3d9ce891e23f0ebfa1e52e9f650da8bf94731764431c5ac0 [INFO] running `Command { std: "docker" "start" "-a" "5561e6a95094364f3d9ce891e23f0ebfa1e52e9f650da8bf94731764431c5ac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5561e6a95094364f3d9ce891e23f0ebfa1e52e9f650da8bf94731764431c5ac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5561e6a95094364f3d9ce891e23f0ebfa1e52e9f650da8bf94731764431c5ac0", kill_on_drop: false }` [INFO] [stdout] 5561e6a95094364f3d9ce891e23f0ebfa1e52e9f650da8bf94731764431c5ac0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbf7ad9236ce6669ebb76d81e7146017a272464445c8fd2f41bf910694799eca [INFO] running `Command { std: "docker" "start" "-a" "bbf7ad9236ce6669ebb76d81e7146017a272464445c8fd2f41bf910694799eca", 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] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling libsodium-sys v0.2.7 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking sodiumoxide v0.2.7 [INFO] [stderr] Checking LAG v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/network/node.rs (2 fixes) [INFO] [stdout] warning: crate `LAG` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `lag` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/network/node.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | while let Ok((socket, addr)) = listener.accept().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/network/node.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/network/node.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | while let Ok((socket, addr)) = listener.accept().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/network/node.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/wallet/mod.rs (2 fixes) [INFO] [stderr] Migrating tests/transaction_test.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/utils/mod.rs (1 fix) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.52s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking LAG v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0432]: unresolved imports `utils::hash`, `utils::hash_serialize` [INFO] [stdout] --> src/lib.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | pub use utils::{hash, hash_serialize}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ no `hash_serialize` in `utils` [INFO] [stdout] | | [INFO] [stdout] | no `hash` in `utils` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these modules instead: [INFO] [stdout] std::hash [INFO] [stdout] sodiumoxide::crypto::hash [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `utils::hash`, `utils::hash_serialize` [INFO] [stdout] --> src/lib.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | pub use utils::{hash, hash_serialize}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ no `hash_serialize` in `utils` [INFO] [stdout] | | [INFO] [stdout] | no `hash` in `utils` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these modules instead: [INFO] [stdout] std::hash [INFO] [stdout] sodiumoxide::crypto::hash [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `wallet::Transaction`, `wallet::WalletKeypair` [INFO] [stdout] --> src/lib.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub use wallet::{Transaction, WalletKeypair}; // Directly use WalletKeypair and Transaction from the wallet module. // Assuming these are... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ no `WalletKeypair` in `wallet` [INFO] [stdout] | | [INFO] [stdout] | no `Transaction` in `wallet` [INFO] [stdout] | help: a similar name exists in the module: `transaction` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::wallet::transaction::Transaction [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::wallet::keypair::WalletKeypair [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `wallet::Transaction`, `wallet::WalletKeypair` [INFO] [stdout] --> src/lib.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub use wallet::{Transaction, WalletKeypair}; // Directly use WalletKeypair and Transaction from the wallet module. // Assuming these are... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ no `WalletKeypair` in `wallet` [INFO] [stdout] | | [INFO] [stdout] | no `Transaction` in `wallet` [INFO] [stdout] | help: a similar name exists in the module: `transaction` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::wallet::transaction::Transaction [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::wallet::keypair::WalletKeypair [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `LAG` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `LAG` (lib) due to 3 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" "bbf7ad9236ce6669ebb76d81e7146017a272464445c8fd2f41bf910694799eca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbf7ad9236ce6669ebb76d81e7146017a272464445c8fd2f41bf910694799eca", kill_on_drop: false }` [INFO] [stdout] bbf7ad9236ce6669ebb76d81e7146017a272464445c8fd2f41bf910694799eca