[INFO] cloning repository https://github.com/anupj/Too-Many-Linked-Lists [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anupj/Too-Many-Linked-Lists" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanupj%2FToo-Many-Linked-Lists", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanupj%2FToo-Many-Linked-Lists'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8bb61e051d9d48ac05982628381c1f65eff0e08a [INFO] checking anupj/Too-Many-Linked-Lists/8bb61e051d9d48ac05982628381c1f65eff0e08a against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanupj%2FToo-Many-Linked-Lists" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anupj/Too-Many-Linked-Lists 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/anupj/Too-Many-Linked-Lists [INFO] finished tweaking git repo https://github.com/anupj/Too-Many-Linked-Lists [INFO] tweaked toml for git repo https://github.com/anupj/Too-Many-Linked-Lists written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/anupj/Too-Many-Linked-Lists 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ec1cef6b0c29ebe1208a89f7213ea5f73ed4c0e5c9224975ff3197d5b9c61f4c [INFO] running `Command { std: "docker" "start" "-a" "ec1cef6b0c29ebe1208a89f7213ea5f73ed4c0e5c9224975ff3197d5b9c61f4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec1cef6b0c29ebe1208a89f7213ea5f73ed4c0e5c9224975ff3197d5b9c61f4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec1cef6b0c29ebe1208a89f7213ea5f73ed4c0e5c9224975ff3197d5b9c61f4c", kill_on_drop: false }` [INFO] [stdout] ec1cef6b0c29ebe1208a89f7213ea5f73ed4c0e5c9224975ff3197d5b9c61f4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] f629eed6495c490db0837f3632bf08844dc4c1c9f875f961329c03f080807eb5 [INFO] running `Command { std: "docker" "start" "-a" "f629eed6495c490db0837f3632bf08844dc4c1c9f875f961329c03f080807eb5", 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 lists v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/linkedlist.rs (2 fixes) [INFO] [stderr] Fixed src/third.rs (1 fix) [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fifth.rs:133:15 [INFO] [stdout] | [INFO] [stdout] 133 | while let Some(_) = self.pop() {} [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/fifth.rs:133:41 [INFO] [stdout] | [INFO] [stdout] 133 | while let Some(_) = self.pop() {} [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/first.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | while let Link::More(mut boxed_node) = cur_link { [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/first.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/second.rs:107:15 [INFO] [stdout] | [INFO] [stdout] 107 | while let Some(mut boxed_node) = cur_link { [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/second.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/third.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | while let Some(node) = head { [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/third.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/second.rs (1 fix) [INFO] [stderr] Fixed src/first.rs (1 fix) [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/fifth.rs:133:15 [INFO] [stdout] | [INFO] [stdout] 133 | while let Some(_) = self.pop() {} [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/fifth.rs:133:41 [INFO] [stdout] | [INFO] [stdout] 133 | while let Some(_) = self.pop() {} [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/first.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | while let Link::More(mut boxed_node) = cur_link { [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/first.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/second.rs:107:15 [INFO] [stdout] | [INFO] [stdout] 107 | while let Some(mut boxed_node) = cur_link { [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/second.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/third.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | while let Some(node) = head { [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/third.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking lists v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `List` [INFO] [stdout] --> src/first.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | let mut list = List::new(); [INFO] [stdout] | ^^^^ use of undeclared type `List` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 54 + use crate::fifth::List; [INFO] [stdout] | [INFO] [stdout] 54 + use crate::first::List; [INFO] [stdout] | [INFO] [stdout] 54 + use crate::fourth::List; [INFO] [stdout] | [INFO] [stdout] 54 + use crate::second::List; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `List` [INFO] [stdout] --> src/second.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | let mut list = List::new(); [INFO] [stdout] | ^^^^ use of undeclared type `List` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 116 + use crate::fifth::List; [INFO] [stdout] | [INFO] [stdout] 116 + use crate::first::List; [INFO] [stdout] | [INFO] [stdout] 116 + use crate::fourth::List; [INFO] [stdout] | [INFO] [stdout] 116 + use crate::second::List; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `List` [INFO] [stdout] --> src/second.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 147 | let mut list = List::new(); [INFO] [stdout] | ^^^^ use of undeclared type `List` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 116 + use crate::fifth::List; [INFO] [stdout] | [INFO] [stdout] 116 + use crate::first::List; [INFO] [stdout] | [INFO] [stdout] 116 + use crate::fourth::List; [INFO] [stdout] | [INFO] [stdout] 116 + use crate::second::List; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `List` [INFO] [stdout] --> src/second.rs:167:24 [INFO] [stdout] | [INFO] [stdout] 167 | let mut list = List::new(); [INFO] [stdout] | ^^^^ use of undeclared type `List` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 116 + use crate::fifth::List; [INFO] [stdout] | [INFO] [stdout] 116 + use crate::first::List; [INFO] [stdout] | [INFO] [stdout] 116 + use crate::fourth::List; [INFO] [stdout] | [INFO] [stdout] 116 + use crate::second::List; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `List` [INFO] [stdout] --> src/second.rs:181:24 [INFO] [stdout] | [INFO] [stdout] 181 | let mut list = List::new(); [INFO] [stdout] | ^^^^ use of undeclared type `List` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 116 + use crate::fifth::List; [INFO] [stdout] | [INFO] [stdout] 116 + use crate::first::List; [INFO] [stdout] | [INFO] [stdout] 116 + use crate::fourth::List; [INFO] [stdout] | [INFO] [stdout] 116 + use crate::second::List; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `List` [INFO] [stdout] --> src/second.rs:194:24 [INFO] [stdout] | [INFO] [stdout] 194 | let mut list = List::new(); [INFO] [stdout] | ^^^^ use of undeclared type `List` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 116 + use crate::fifth::List; [INFO] [stdout] | [INFO] [stdout] 116 + use crate::first::List; [INFO] [stdout] | [INFO] [stdout] 116 + use crate::fourth::List; [INFO] [stdout] | [INFO] [stdout] 116 + use crate::second::List; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lists` (lib test) due to 7 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" "f629eed6495c490db0837f3632bf08844dc4c1c9f875f961329c03f080807eb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f629eed6495c490db0837f3632bf08844dc4c1c9f875f961329c03f080807eb5", kill_on_drop: false }` [INFO] [stdout] f629eed6495c490db0837f3632bf08844dc4c1c9f875f961329c03f080807eb5