[INFO] cloning repository https://github.com/acs2405/Atris-base [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/acs2405/Atris-base" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facs2405%2FAtris-base", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facs2405%2FAtris-base'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b4912a87c5f64c513b1859e390e823040b3387bc [INFO] checking acs2405/Atris-base/b4912a87c5f64c513b1859e390e823040b3387bc against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facs2405%2FAtris-base" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/acs2405/Atris-base on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/acs2405/Atris-base [INFO] finished tweaking git repo https://github.com/acs2405/Atris-base [INFO] tweaked toml for git repo https://github.com/acs2405/Atris-base written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/acs2405/Atris-base 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c37bbf2e1e66611fe9b39a499fb911c56f6c90ff111663286a76b9cb067de5ac [INFO] running `Command { std: "docker" "start" "-a" "c37bbf2e1e66611fe9b39a499fb911c56f6c90ff111663286a76b9cb067de5ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c37bbf2e1e66611fe9b39a499fb911c56f6c90ff111663286a76b9cb067de5ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c37bbf2e1e66611fe9b39a499fb911c56f6c90ff111663286a76b9cb067de5ac", kill_on_drop: false }` [INFO] [stdout] c37bbf2e1e66611fe9b39a499fb911c56f6c90ff111663286a76b9cb067de5ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a66b8372df4ee9ccd8865e0960305f7f59afa2bb25b1f08a60e006660da43c7 [INFO] running `Command { std: "docker" "start" "-a" "8a66b8372df4ee9ccd8865e0960305f7f59afa2bb25b1f08a60e006660da43c7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling proc-macro2 v1.0.72 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking crossbeam-epoch v0.9.17 [INFO] [stderr] Checking crossbeam-channel v0.5.10 [INFO] [stderr] Checking crossbeam-queue v0.3.10 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking crossbeam v0.8.3 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num-bigint v0.4.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-rational v0.4.1 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking atris-base v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PositionedBlock` [INFO] [stdout] --> src/grid/grid.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::block::{Block, PositionedBlock}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JoinHandle`, `Thread`, and `rc::Rc` [INFO] [stdout] --> src/atrissession.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, thread::{Thread, JoinHandle}, rc::Rc}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PositionedBlock` [INFO] [stdout] --> src/grid/grid.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::block::{Block, PositionedBlock}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JoinHandle`, `Thread`, and `rc::Rc` [INFO] [stdout] --> src/atrissession.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, thread::{Thread, JoinHandle}, rc::Rc}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fig` [INFO] [stdout] --> src/grid/grid.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn try_move(&self, fig: &Figure<'bt>, x_offset: i32) {todo!()} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fig` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_offset` [INFO] [stdout] --> src/grid/grid.rs:47:47 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn try_move(&self, fig: &Figure<'bt>, x_offset: i32) {todo!()} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fig` [INFO] [stdout] --> src/grid/grid.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn try_rotate(&self, fig: &Figure<'bt>, angle: i32) {todo!()} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `angle` [INFO] [stdout] --> src/grid/grid.rs:49:49 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn try_rotate(&self, fig: &Figure<'bt>, angle: i32) {todo!()} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_angle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/gridsession.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | Ok(e) => self.start(), // GameStart or GridAdded(Receiver) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/gridsession.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | for e in self.receiver.try_iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grid_session` [INFO] [stdout] --> src/atrissession.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | for grid_session in self.grids.values_mut() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grid_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `grid`, `figures`, `state`, `rng`, and `sender` are never read [INFO] [stdout] --> src/gridsession.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct GridSession<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 10 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | grid: Grid<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | // blocks: Vec>, [INFO] [stdout] 13 | figures: HashMap>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | state: State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | rng: ThreadRng, //Arc/Rc>, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | sender: Sender<()>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GridSession` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `active` are never read [INFO] [stdout] --> src/atrissession.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 12 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uuid`, `game_mode`, and `state` are never read [INFO] [stdout] --> src/atrissession.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct AtrisSession { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 27 | uuid: Uuid, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | game_mode: Box>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | state: State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AtrisSession` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algebra.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 189 | fn neg(self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | Self(-self.0, -self.1) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algebra.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 189 | fn neg(self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | Self(-self.0, -self.1) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algebra.rs:219:14 [INFO] [stdout] | [INFO] [stdout] 218 | fn from(v: (Vector,)) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 219 | Self(v.0.0.into(), v.0.1.into()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algebra.rs:219:28 [INFO] [stdout] | [INFO] [stdout] 218 | fn from(v: (Vector,)) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 219 | Self(v.0.0.into(), v.0.1.into()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algebra.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 238 | fn try_from(v: Vector) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 239 | Ok((Vector(v.0.try_into()?, v.1.try_into()?),)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/block/state.rs:115:24 [INFO] [stdout] | [INFO] [stdout] 114 | fn from(value: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | State { value: value.into() } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/atrissession.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(game_mode: Box>, thread_pool: ThreadPool) -> Self { [INFO] [stdout] | ------------------------------------ ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let (sender, receiver) = unbounded(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | grids: HashMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/atrissession.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | self.sender.send(()); // Send GridAdded(Receiver) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 76 | let _ = self.sender.send(()); // Send GridAdded(Receiver) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/blocktypes/blocktypes.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn add(&mut self, bt: T) -> Option> { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | self.map.insert(bt.id(), Box::new(bt)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `atris-base` (lib) due to 9 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `fig` [INFO] [stdout] --> src/grid/grid.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn try_move(&self, fig: &Figure<'bt>, x_offset: i32) {todo!()} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fig` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_offset` [INFO] [stdout] --> src/grid/grid.rs:47:47 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn try_move(&self, fig: &Figure<'bt>, x_offset: i32) {todo!()} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fig` [INFO] [stdout] --> src/grid/grid.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn try_rotate(&self, fig: &Figure<'bt>, angle: i32) {todo!()} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `angle` [INFO] [stdout] --> src/grid/grid.rs:49:49 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn try_rotate(&self, fig: &Figure<'bt>, angle: i32) {todo!()} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_angle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/gridsession.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | Ok(e) => self.start(), // GameStart or GridAdded(Receiver) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/gridsession.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | for e in self.receiver.try_iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grid_session` [INFO] [stdout] --> src/atrissession.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | for grid_session in self.grids.values_mut() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grid_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `grid`, `figures`, `state`, `rng`, and `sender` are never read [INFO] [stdout] --> src/gridsession.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct GridSession<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 10 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 11 | grid: Grid<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | // blocks: Vec>, [INFO] [stdout] 13 | figures: HashMap>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | state: State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | rng: ThreadRng, //Arc/Rc>, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | sender: Sender<()>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GridSession` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `active` are never read [INFO] [stdout] --> src/atrissession.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 12 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uuid`, `game_mode`, and `state` are never read [INFO] [stdout] --> src/atrissession.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct AtrisSession { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 27 | uuid: Uuid, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | game_mode: Box>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | state: State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AtrisSession` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algebra.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 189 | fn neg(self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | Self(-self.0, -self.1) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algebra.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 189 | fn neg(self) -> Self::Output { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | Self(-self.0, -self.1) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algebra.rs:219:14 [INFO] [stdout] | [INFO] [stdout] 218 | fn from(v: (Vector,)) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 219 | Self(v.0.0.into(), v.0.1.into()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algebra.rs:219:28 [INFO] [stdout] | [INFO] [stdout] 218 | fn from(v: (Vector,)) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 219 | Self(v.0.0.into(), v.0.1.into()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/algebra.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 238 | fn try_from(v: Vector) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 239 | Ok((Vector(v.0.try_into()?, v.1.try_into()?),)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/block/state.rs:115:24 [INFO] [stdout] | [INFO] [stdout] 114 | fn from(value: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | State { value: value.into() } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/atrissession.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(game_mode: Box>, thread_pool: ThreadPool) -> Self { [INFO] [stdout] | ------------------------------------ ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let (sender, receiver) = unbounded(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | grids: HashMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/atrissession.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | self.sender.send(()); // Send GridAdded(Receiver) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 76 | let _ = self.sender.send(()); // Send GridAdded(Receiver) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/blocktypes/blocktypes.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn add(&mut self, bt: T) -> Option> { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | self.map.insert(bt.id(), Box::new(bt)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `atris-base` (lib test) due to 9 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8a66b8372df4ee9ccd8865e0960305f7f59afa2bb25b1f08a60e006660da43c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a66b8372df4ee9ccd8865e0960305f7f59afa2bb25b1f08a60e006660da43c7", kill_on_drop: false }` [INFO] [stdout] 8a66b8372df4ee9ccd8865e0960305f7f59afa2bb25b1f08a60e006660da43c7