[INFO] cloning repository https://github.com/INDA24PlusPlus/moudi-chess-gui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/INDA24PlusPlus/moudi-chess-gui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FINDA24PlusPlus%2Fmoudi-chess-gui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FINDA24PlusPlus%2Fmoudi-chess-gui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0240f3e846f7b6ba637d9f8f1ff726d86dccfa2b [INFO] checking INDA24PlusPlus/moudi-chess-gui/0240f3e846f7b6ba637d9f8f1ff726d86dccfa2b against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FINDA24PlusPlus%2Fmoudi-chess-gui" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/INDA24PlusPlus/moudi-chess-gui on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/INDA24PlusPlus/moudi-chess-gui [INFO] finished tweaking git repo https://github.com/INDA24PlusPlus/moudi-chess-gui [INFO] tweaked toml for git repo https://github.com/INDA24PlusPlus/moudi-chess-gui written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/INDA24PlusPlus/moudi-chess-gui 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" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 808693eb2a7e684b022e41bbacbf38470ff66f492c47cee0dbd95d828c39231c [INFO] running `Command { std: "docker" "start" "-a" "808693eb2a7e684b022e41bbacbf38470ff66f492c47cee0dbd95d828c39231c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "808693eb2a7e684b022e41bbacbf38470ff66f492c47cee0dbd95d828c39231c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "808693eb2a7e684b022e41bbacbf38470ff66f492c47cee0dbd95d828c39231c", kill_on_drop: false }` [INFO] [stdout] 808693eb2a7e684b022e41bbacbf38470ff66f492c47cee0dbd95d828c39231c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b230ac52066b53d1bf59b5cf01f396e532d60b6f0f473105c7be5fe0a50169e [INFO] running `Command { std: "docker" "start" "-a" "8b230ac52066b53d1bf59b5cf01f396e532d60b6f0f473105c7be5fe0a50169e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling cc v1.1.22 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Checking hibitset v0.6.4 [INFO] [stderr] Checking shrev v1.1.3 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking tuple_utils v0.3.0 [INFO] [stderr] Checking viktoe-chess v0.1.0 (https://github.com/INDA24PlusPlus/viktoe-chess#0133a135) [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking tynm v0.1.10 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking shred v0.10.2 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Checking specs v0.16.1 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking chess-networking v0.1.0 (https://github.com/INDA24PlusPlus/chess-networking#490cf1a0) [INFO] [stderr] Compiling raylib-sys v5.0.2 [INFO] [stderr] Checking raylib v5.0.2 [INFO] [stderr] Checking chess-gui v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/scenes/start.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | if let Some(action) = self.actions.get(&id) { [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/scenes/start.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 30 ~ match self.actions.get(&id) { Some(action) => { [INFO] [stdout] 31 | return action(self); [INFO] [stdout] 32 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `chess_gui` [INFO] [stdout] warning: `impl Player` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/scenes/game.rs:137:34 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn get_player(&self) -> &impl Player { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/scenes/game.rs:137:23 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn get_player(&self) -> &impl Player { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 137 | pub fn get_player(&self) -> &impl Player + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `impl Player` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/scenes/game.rs:144:46 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn get_player_mut(&mut self) -> &mut impl Player { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/scenes/game.rs:144:27 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn get_player_mut(&mut self) -> &mut impl Player { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 144 | pub fn get_player_mut(&mut self) -> &mut impl Player + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/scenes/remoteconn.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | if let Some(action) = self.actions.get(&id) { [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/scenes/remoteconn.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 39 ~ match self.actions.get(&id) { Some(action) => { [INFO] [stdout] 40 | return action(self); [INFO] [stdout] 41 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/scenes/remoteconn.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | if let UIElement::Input(input) = &scene.elements[2] { [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/scenes/remoteconn.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 84 ~ match &scene.elements[2] { UIElement::Input(input) => { [INFO] [stdout] 85 | connect(input) [INFO] [stdout] 86 ~ } _ => { [INFO] [stdout] 87 | SceneInitType::None [INFO] [stdout] 88 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/scenes/game.rs [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/scenes/remoteconn.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | if let Err(e) = stream.write_all(&buf) { [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/scenes/remoteconn.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 117 ~ match stream.write_all(&buf) { Err(e) => { [INFO] [stdout] 118 | println!("\nError sending start to server: {}\n", e); [INFO] [stdout] 119 | SceneInitType::None [INFO] [stdout] 120 ~ } _ => { [INFO] [stdout] 121 | SceneInitType::RemoteGame(stream) [INFO] [stdout] 122 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/scenes/remotegame.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | if let Some(game) = &mut self.game { [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/scenes/remotegame.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 28 ~ match &mut self.game { Some(game) => { [INFO] [stdout] 29 | game.draw(draw_handler); [INFO] [stdout] 30 ~ } _ => { [INFO] [stdout] 31 | for element in &self.elements { [INFO] [stdout] 32 | element.draw(draw_handler); [INFO] [stdout] 33 | } [INFO] [stdout] 34 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/scenes/remotegame.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(game) = &mut self.game { [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/scenes/remotegame.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 38 ~ match &mut self.game { Some(game) => { [INFO] [stdout] 39 | game.update(rl, thread); [INFO] [stdout] 40 ~ } _ => { [INFO] [stdout] 41 | if rl.is_key_pressed(KeyboardKey::KEY_ESCAPE) { [INFO] [stdout] ... [INFO] [stdout] 53 | } [INFO] [stdout] 54 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/scenes/remotegame.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | if let Some(action) = self.actions.get(&id) { [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/scenes/remotegame.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 49 ~ match self.actions.get(&id) { Some(action) => { [INFO] [stdout] 50 | return action(self); [INFO] [stdout] 51 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: ambiguous `+` in a type [INFO] [stderr] --> src/scenes/game.rs:137:34 [INFO] [stderr] | [INFO] [stderr] 137 | pub fn get_player(&self) -> &impl Player + use<> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: try adding parentheses [INFO] [stderr] | [INFO] [stderr] 137 | pub fn get_player(&self) -> &(impl Player + use<>) { [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] error: ambiguous `+` in a type [INFO] [stderr] --> src/scenes/game.rs:144:46 [INFO] [stderr] | [INFO] [stderr] 144 | pub fn get_player_mut(&mut self) -> &mut impl Player + use<> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: try adding parentheses [INFO] [stderr] | [INFO] [stderr] 144 | pub fn get_player_mut(&mut self) -> &mut (impl Player + use<>) { [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | if let Ok((stream, addr)) = self.listener.accept() { [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/server.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 50 ~ match self.listener.accept() { Ok((stream, addr)) => { [INFO] [stdout] 51 | stream.set_nonblocking(true).unwrap(); [INFO] [stdout] 52 | Some(ServerClient::new(stream, addr)) [INFO] [stdout] 53 ~ } _ => { [INFO] [stdout] 54 | None [INFO] [stdout] 55 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/client.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | if let Err(e) = send(&mut self.stream, start) { [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/server/client.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 63 ~ match send(&mut self.stream, start) { Err(e) => { [INFO] [stdout] 64 | println!("\nServer Error sending start: {}\n", e); [INFO] [stdout] 65 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/client.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | if let Err(e) = send(&mut self.stream, _move) { [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/server/client.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 88 ~ match send(&mut self.stream, _move) { Err(e) => { [INFO] [stdout] 89 | println!("\nServer Error sending move: {}\n", e); [INFO] [stdout] 90 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/server/client.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | if let Err(e) = send(&mut self.stream, &ack) { [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/server/client.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 110 ~ match send(&mut self.stream, &ack) { Err(e) => { [INFO] [stdout] 111 | println!("\nServer Error sending ack: {}\n", e); [INFO] [stdout] 112 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous `+` in a type [INFO] [stdout] --> src/scenes/game.rs:137:34 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn get_player(&self) -> &impl Player + use<> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try adding parentheses [INFO] [stdout] | [INFO] [stdout] 137 | pub fn get_player(&self) -> &(impl Player + use<>) { [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous `+` in a type [INFO] [stdout] --> src/scenes/game.rs:144:46 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn get_player_mut(&mut self) -> &mut impl Player + use<> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: try adding parentheses [INFO] [stdout] | [INFO] [stdout] 144 | pub fn get_player_mut(&mut self) -> &mut (impl Player + use<>) { [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chess-gui` (bin "chess-gui") due to 2 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "8b230ac52066b53d1bf59b5cf01f396e532d60b6f0f473105c7be5fe0a50169e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b230ac52066b53d1bf59b5cf01f396e532d60b6f0f473105c7be5fe0a50169e", kill_on_drop: false }` [INFO] [stdout] 8b230ac52066b53d1bf59b5cf01f396e532d60b6f0f473105c7be5fe0a50169e