[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 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRafael-monte%2Fcatalyst" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Rafael-monte/catalyst on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-7-tc1/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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6516f5cc5786b6bc3057336b3e0436a39c6b1301bc4b0bc02a0ad274e94c9b4d [INFO] running `Command { std: "docker" "start" "-a" "6516f5cc5786b6bc3057336b3e0436a39c6b1301bc4b0bc02a0ad274e94c9b4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6516f5cc5786b6bc3057336b3e0436a39c6b1301bc4b0bc02a0ad274e94c9b4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6516f5cc5786b6bc3057336b3e0436a39c6b1301bc4b0bc02a0ad274e94c9b4d", kill_on_drop: false }` [INFO] [stdout] 6516f5cc5786b6bc3057336b3e0436a39c6b1301bc4b0bc02a0ad274e94c9b4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7c630fbf4ea9bda1600aa7001578019b6a5fbbefeef4ddeba4057f5fe9ceb4f [INFO] running `Command { std: "docker" "start" "-a" "e7c630fbf4ea9bda1600aa7001578019b6a5fbbefeef4ddeba4057f5fe9ceb4f", kill_on_drop: false }` [INFO] [stderr] Checking catalyst v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `any::type_name`, `ops::Range` [INFO] [stdout] --> src/types/stack.rs:117:15 [INFO] [stdout] | [INFO] [stdout] 117 | use std::{any::type_name, ops::Range}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::stack::Stack` [INFO] [stdout] --> src/types/stack.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | use crate::types::stack::Stack; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `any::type_name` [INFO] [stdout] --> src/types/stack.rs:117:15 [INFO] [stdout] | [INFO] [stdout] 117 | use std::{any::type_name, ops::Range}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] running `Command { std: "docker" "inspect" "e7c630fbf4ea9bda1600aa7001578019b6a5fbbefeef4ddeba4057f5fe9ceb4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7c630fbf4ea9bda1600aa7001578019b6a5fbbefeef4ddeba4057f5fe9ceb4f", kill_on_drop: false }` [INFO] [stdout] e7c630fbf4ea9bda1600aa7001578019b6a5fbbefeef4ddeba4057f5fe9ceb4f [INFO] checking Rafael-monte/catalyst against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRafael-monte%2Fcatalyst" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Rafael-monte/catalyst on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-7-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 288344e4cce6567b879ea4d0283647a19bca049c372698a11782d83af91fbb14 [INFO] running `Command { std: "docker" "start" "-a" "288344e4cce6567b879ea4d0283647a19bca049c372698a11782d83af91fbb14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "288344e4cce6567b879ea4d0283647a19bca049c372698a11782d83af91fbb14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "288344e4cce6567b879ea4d0283647a19bca049c372698a11782d83af91fbb14", kill_on_drop: false }` [INFO] [stdout] 288344e4cce6567b879ea4d0283647a19bca049c372698a11782d83af91fbb14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f590e1791f64e543eb06874a0ce220dc10cd02b02a5f2ca88b932aa9cb9391ef [INFO] running `Command { std: "docker" "start" "-a" "f590e1791f64e543eb06874a0ce220dc10cd02b02a5f2ca88b932aa9cb9391ef", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [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: 4 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [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 items [INFO] [stdout] | [INFO] [stdout] 121 + use core::ops::Range; [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] [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" "f590e1791f64e543eb06874a0ce220dc10cd02b02a5f2ca88b932aa9cb9391ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f590e1791f64e543eb06874a0ce220dc10cd02b02a5f2ca88b932aa9cb9391ef", kill_on_drop: false }` [INFO] [stdout] f590e1791f64e543eb06874a0ce220dc10cd02b02a5f2ca88b932aa9cb9391ef