[INFO] cloning repository https://github.com/Rafael-monte/catalyst [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rafael-monte/catalyst" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRafael-monte%2Fcatalyst", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRafael-monte%2Fcatalyst'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 69dcca365ce3ddd2191be5e08f1d9e0b074f18c0 [INFO] checking Rafael-monte/catalyst/69dcca365ce3ddd2191be5e08f1d9e0b074f18c0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRafael-monte%2Fcatalyst" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Rafael-monte/catalyst 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/Rafael-monte/catalyst [INFO] finished tweaking git repo https://github.com/Rafael-monte/catalyst [INFO] tweaked toml for git repo https://github.com/Rafael-monte/catalyst written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Rafael-monte/catalyst 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-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea6e7ef1b7da8c14857adda6ad7a067d040bd3f01a05213906ee66ef73dd8d59 [INFO] running `Command { std: "docker" "start" "-a" "ea6e7ef1b7da8c14857adda6ad7a067d040bd3f01a05213906ee66ef73dd8d59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea6e7ef1b7da8c14857adda6ad7a067d040bd3f01a05213906ee66ef73dd8d59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea6e7ef1b7da8c14857adda6ad7a067d040bd3f01a05213906ee66ef73dd8d59", kill_on_drop: false }` [INFO] [stdout] ea6e7ef1b7da8c14857adda6ad7a067d040bd3f01a05213906ee66ef73dd8d59 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41334a1fe4e24b73ecfe4cd4afbb18cdf6995270f0ee6d921f34cf1d3bb3cec3 [INFO] running `Command { std: "docker" "start" "-a" "41334a1fe4e24b73ecfe4cd4afbb18cdf6995270f0ee6d921f34cf1d3bb3cec3", 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 catalyst v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/types/stack.rs (1 fix) [INFO] [stdout] warning: associated function `from_vec_draining` is never used [INFO] [stdout] --> src/types/stack.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl Stack { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn from_vec_draining(v: &mut Vec) -> Stack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ONE` is never used [INFO] [stdout] --> src/types/circular_list.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const ONE: usize = 1; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CircularList` is never constructed [INFO] [stdout] --> src/types/circular_list.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CircularList { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from`, `push`, `remove`, `get`, and `calc_index` are never used [INFO] [stdout] --> src/types/circular_list.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl CircularList { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 23 | [INFO] [stdout] 24 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn from(v: &[T]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn push(&mut self, e: T) -> () { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn remove(&mut self, index: usize) -> Result<(), EmptyListError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get(&mut self, index: usize) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn calc_index(&self, idx: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/types/stack.rs:107:15 [INFO] [stdout] | [INFO] [stdout] 107 | while let Some(el) = self.content.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/types/stack.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/types/stack.rs (2 fixes) [INFO] [stdout] warning: associated items `with_max_size`, `from_vec_draining`, `unstack_up`, `can_unstack_up`, and `transform` are never used [INFO] [stdout] --> src/types/stack.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl Stack { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn with_max_size(max_size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn from_vec_draining(v: &mut Vec) -> Stack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn unstack_up(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn can_unstack_up(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn transform(&mut self, mut f: F) -> Stack [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ONE` is never used [INFO] [stdout] --> src/types/circular_list.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const ONE: usize = 1; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CircularList` is never constructed [INFO] [stdout] --> src/types/circular_list.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CircularList { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from`, `push`, `remove`, `get`, and `calc_index` are never used [INFO] [stdout] --> src/types/circular_list.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl CircularList { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 23 | [INFO] [stdout] 24 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn from(v: &[T]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn push(&mut self, e: T) -> () { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn remove(&mut self, index: usize) -> Result<(), EmptyListError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get(&mut self, index: usize) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn calc_index(&self, idx: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/types/stack.rs:107:15 [INFO] [stdout] | [INFO] [stdout] 107 | while let Some(el) = self.content.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/types/stack.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking catalyst v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0412]: cannot find type `Stack` in this scope [INFO] [stdout] --> src/types/stack.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | let mut stack : Stack= Stack::with_max_size(SIZE); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 121 + use crate::types::stack::Stack; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stack` [INFO] [stdout] --> src/types/stack.rs:125:37 [INFO] [stdout] | [INFO] [stdout] 125 | let mut stack : Stack= Stack::with_max_size(SIZE); [INFO] [stdout] | ^^^^^ use of undeclared type `Stack` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 121 + use crate::types::stack::Stack; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Range` in this scope [INFO] [stdout] --> src/types/stack.rs:137:23 [INFO] [stdout] | [INFO] [stdout] 137 | let elements: Range<_> = 0..100; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 121 + use std::collections::btree_map::Range; [INFO] [stdout] | [INFO] [stdout] 121 + use std::collections::btree_set::Range; [INFO] [stdout] | [INFO] [stdout] 121 + use std::ops::Range; [INFO] [stdout] | [INFO] [stdout] 121 + use core::range::Range; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stack` [INFO] [stdout] --> src/types/stack.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | let mut stack = Stack::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Stack` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 121 + use crate::types::stack::Stack; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stack` in this scope [INFO] [stdout] --> src/types/stack.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 147 | let mut stack: Stack = Stack::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 121 + use crate::types::stack::Stack; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stack` [INFO] [stdout] --> src/types/stack.rs:147:37 [INFO] [stdout] | [INFO] [stdout] 147 | let mut stack: Stack = Stack::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Stack` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 121 + use crate::types::stack::Stack; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stack` [INFO] [stdout] --> src/types/stack.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | let mut stack = Stack::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Stack` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 121 + use crate::types::stack::Stack; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_max_size`, `from_vec_draining`, `unstack_up`, `can_unstack_up`, and `transform` are never used [INFO] [stdout] --> src/types/stack.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl Stack { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn with_max_size(max_size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn from_vec_draining(v: &mut Vec) -> Stack { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn unstack_up(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn can_unstack_up(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn transform(&mut self, mut f: F) -> Stack [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ONE` is never used [INFO] [stdout] --> src/types/circular_list.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const ONE: usize = 1; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CircularList` is never constructed [INFO] [stdout] --> src/types/circular_list.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CircularList { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from`, `push`, `remove`, `get`, and `calc_index` are never used [INFO] [stdout] --> src/types/circular_list.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl CircularList { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 23 | [INFO] [stdout] 24 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn from(v: &[T]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn push(&mut self, e: T) -> () { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn remove(&mut self, index: usize) -> Result<(), EmptyListError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get(&mut self, index: usize) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn calc_index(&self, idx: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `catalyst` (bin "catalyst" test) due to 8 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" "41334a1fe4e24b73ecfe4cd4afbb18cdf6995270f0ee6d921f34cf1d3bb3cec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41334a1fe4e24b73ecfe4cd4afbb18cdf6995270f0ee6d921f34cf1d3bb3cec3", kill_on_drop: false }` [INFO] [stdout] 41334a1fe4e24b73ecfe4cd4afbb18cdf6995270f0ee6d921f34cf1d3bb3cec3