[INFO] cloning repository https://github.com/JohnBortotti/alexandria [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JohnBortotti/alexandria" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnBortotti%2Falexandria", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnBortotti%2Falexandria'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dbd720decd1efd0556438fd64ea580f45609107d [INFO] checking JohnBortotti/alexandria/dbd720decd1efd0556438fd64ea580f45609107d against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohnBortotti%2Falexandria" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JohnBortotti/alexandria 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/JohnBortotti/alexandria [INFO] finished tweaking git repo https://github.com/JohnBortotti/alexandria [INFO] tweaked toml for git repo https://github.com/JohnBortotti/alexandria written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JohnBortotti/alexandria 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 17ffee689d52746e70784ed8c01d37e159b67f07752b715a8aa731ed39264b19 [INFO] running `Command { std: "docker" "start" "-a" "17ffee689d52746e70784ed8c01d37e159b67f07752b715a8aa731ed39264b19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17ffee689d52746e70784ed8c01d37e159b67f07752b715a8aa731ed39264b19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17ffee689d52746e70784ed8c01d37e159b67f07752b715a8aa731ed39264b19", kill_on_drop: false }` [INFO] [stdout] 17ffee689d52746e70784ed8c01d37e159b67f07752b715a8aa731ed39264b19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 28f136587193c1cca6550a54eda80bd47d85a5fb1251fe43d62115f8e85deffb [INFO] running `Command { std: "docker" "start" "-a" "28f136587193c1cca6550a54eda80bd47d85a5fb1251fe43d62115f8e85deffb", 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 libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking unsafe-libyaml v0.2.9 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking base64 v0.21.3 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking simple-logging v2.0.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tokio-serde v0.8.0 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking serde_yaml v0.9.25 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking alexandria v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/raft/server.rs (6 fixes) [INFO] [stderr] Fixed src/raft/node/log.rs (1 fix) [INFO] [stderr] Fixed src/raft/state_machine.rs (1 fix) [INFO] [stderr] Fixed src/raft/node/follower.rs (1 fix) [INFO] [stderr] Fixed src/storage/lsm/mod.rs (2 fixes) [INFO] [stderr] Fixed src/storage/mod.rs (1 fix) [INFO] [stdout] warning: function `setup` is never used [INFO] [stdout] --> src/raft/node/leader.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | fn setup() -> ( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raft/state_machine.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | while let Some(entry) = self.state_rx.next().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/raft/state_machine.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raft/server.rs:186:15 [INFO] [stdout] | [INFO] [stdout] 186 | while let Some(mut socket) = listener.try_next().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/raft/server.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raft/server.rs:251:15 [INFO] [stdout] | [INFO] [stdout] 251 | while let Some(socket) = listener.try_next().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/raft/server.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raft/server.rs:311:15 [INFO] [stdout] | [INFO] [stdout] 311 | while let Some(msg) = listener.next().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/raft/server.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/raft_election_tests.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Log` [INFO] [stdout] --> src/raft/node/log.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | let log = Log::new(); [INFO] [stdout] | ^^^ use of undeclared type `Log` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 44 + use crate::raft::node::Log; [INFO] [stdout] | [INFO] [stdout] 44 + use log::Log; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Log` [INFO] [stdout] --> src/raft/node/log.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | let mut log = Log::new(); [INFO] [stdout] | ^^^ use of undeclared type `Log` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 44 + use crate::raft::node::Log; [INFO] [stdout] | [INFO] [stdout] 44 + use log::Log; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Entry` in this scope [INFO] [stdout] --> src/raft/node/log.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | log.append(vec!(Entry { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 44 + use crate::raft::node::Entry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `alexandria` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/raft/state_machine.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | while let Some(entry) = self.state_rx.next().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/raft/state_machine.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/raft_log_replication_tests.rs from 2021 edition to 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raft/server.rs:186:15 [INFO] [stdout] | [INFO] [stdout] 186 | while let Some(mut socket) = listener.try_next().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/raft/server.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raft/server.rs:251:15 [INFO] [stdout] | [INFO] [stdout] 251 | while let Some(socket) = listener.try_next().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/raft/server.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raft/server.rs:311:15 [INFO] [stdout] | [INFO] [stdout] 311 | while let Some(msg) = listener.next().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/raft/server.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Log` [INFO] [stdout] --> src/raft/node/log.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | let log = Log::new(); [INFO] [stdout] | ^^^ use of undeclared type `Log` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 44 + use crate::Log; [INFO] [stdout] | [INFO] [stdout] 44 + use alexandria::raft::node::log::Log; [INFO] [stdout] | [INFO] [stdout] 44 + use log::Log; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Log` [INFO] [stdout] --> src/raft/node/log.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | let mut log = Log::new(); [INFO] [stdout] | ^^^ use of undeclared type `Log` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 44 + use crate::Log; [INFO] [stdout] | [INFO] [stdout] 44 + use alexandria::raft::node::log::Log; [INFO] [stdout] | [INFO] [stdout] 44 + use log::Log; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Entry` in this scope [INFO] [stdout] --> src/raft/node/log.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | log.append(vec!(Entry { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 44 + use crate::raft::node::Entry; [INFO] [stdout] | [INFO] [stdout] 44 + use alexandria::raft::node::log::Entry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `alexandria` (bin "alexandria" test) due to 4 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "28f136587193c1cca6550a54eda80bd47d85a5fb1251fe43d62115f8e85deffb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28f136587193c1cca6550a54eda80bd47d85a5fb1251fe43d62115f8e85deffb", kill_on_drop: false }` [INFO] [stdout] 28f136587193c1cca6550a54eda80bd47d85a5fb1251fe43d62115f8e85deffb