[INFO] cloning repository https://github.com/ArtikGz/mars [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ArtikGz/mars" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArtikGz%2Fmars", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArtikGz%2Fmars'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c97db46eb2633b1a1f210145949b1836eb2d2ee2 [INFO] checking ArtikGz/mars/c97db46eb2633b1a1f210145949b1836eb2d2ee2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArtikGz%2Fmars" "/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/ArtikGz/mars on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ArtikGz/mars [INFO] finished tweaking git repo https://github.com/ArtikGz/mars [INFO] tweaked toml for git repo https://github.com/ArtikGz/mars written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ArtikGz/mars 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 471bb7bb5812b36b93dcd0bb83806a584c3d48ab74b477ad743b561139779188 [INFO] running `Command { std: "docker" "start" "-a" "471bb7bb5812b36b93dcd0bb83806a584c3d48ab74b477ad743b561139779188", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "471bb7bb5812b36b93dcd0bb83806a584c3d48ab74b477ad743b561139779188", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "471bb7bb5812b36b93dcd0bb83806a584c3d48ab74b477ad743b561139779188", kill_on_drop: false }` [INFO] [stdout] 471bb7bb5812b36b93dcd0bb83806a584c3d48ab74b477ad743b561139779188 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68fb323b933d5ed06d88d59fb65ef736b9f76f687bce1b8afe72efeabc672650 [INFO] running `Command { std: "docker" "start" "-a" "68fb323b933d5ed06d88d59fb65ef736b9f76f687bce1b8afe72efeabc672650", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking uuid v1.9.1 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking mars v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BlockPos` and `self` [INFO] [stdout] --> src/blocks/chunk.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | block::{self, Block, BlockPos}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | perlin::{self, PerlinNoiseGenerator}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::log` [INFO] [stdout] --> src/blocks/section.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::log; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `distributions::uniform::SampleRange` and `prelude::*` [INFO] [stdout] --> src/blocks/perlin.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::{distributions::uniform::SampleRange, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_chacha::ChaCha8Rng` [INFO] [stdout] --> src/blocks/perlin.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand_chacha::ChaCha8Rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWrite` [INFO] [stdout] --> src/tcp/mod.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::io::{AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/tcp/client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Take` [INFO] [stdout] --> src/tcp/client.rs:11:85 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::io::{AsyncBufReadExt, AsyncReadExt, AsyncWriteExt, BufReader, BufWriter, Take}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::select` [INFO] [stdout] --> src/tcp/client.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tokio::select; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/tcp/client.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::sync::{Mutex, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChunkSection` [INFO] [stdout] --> src/tcp/mapper.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | section::{self, ChunkSection}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::Take` [INFO] [stdout] --> src/tcp/packet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::io::Take; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `measure` [INFO] [stdout] --> src/tcp/server.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{log, measure}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/tcp/server.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::sync::{mpsc, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockPos` and `self` [INFO] [stdout] --> src/blocks/chunk.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | block::{self, Block, BlockPos}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | perlin::{self, PerlinNoiseGenerator}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::log` [INFO] [stdout] --> src/blocks/section.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::log; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `distributions::uniform::SampleRange` and `prelude::*` [INFO] [stdout] --> src/blocks/perlin.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::{distributions::uniform::SampleRange, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_chacha::ChaCha8Rng` [INFO] [stdout] --> src/blocks/perlin.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand_chacha::ChaCha8Rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWrite` [INFO] [stdout] --> src/tcp/mod.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::io::{AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/tcp/client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Take` [INFO] [stdout] --> src/tcp/client.rs:11:85 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::io::{AsyncBufReadExt, AsyncReadExt, AsyncWriteExt, BufReader, BufWriter, Take}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::select` [INFO] [stdout] --> src/tcp/client.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tokio::select; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/tcp/client.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::sync::{Mutex, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChunkSection` [INFO] [stdout] --> src/tcp/mapper.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | section::{self, ChunkSection}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::Take` [INFO] [stdout] --> src/tcp/packet.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::io::Take; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `measure` [INFO] [stdout] --> src/tcp/server.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{log, measure}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/tcp/server.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::sync::{mpsc, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Interval` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tcp/client.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut ticker = tokio::time::interval(Duration::from_secs(10)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | / tokio::select! { [INFO] [stdout] 58 | | _ = ticker.tick() => { [INFO] [stdout] 59 | | [INFO] [stdout] 60 | | if *state.lock().await == State::Play { [INFO] [stdout] ... | [INFO] [stdout] 72 | | }, [INFO] [stdout] 73 | | }; [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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: this value of type `Interval` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tcp/client.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut ticker = tokio::time::interval(Duration::from_secs(10)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | / tokio::select! { [INFO] [stdout] 58 | | _ = ticker.tick() => { [INFO] [stdout] 59 | | [INFO] [stdout] 60 | | if *state.lock().await == State::Play { [INFO] [stdout] ... | [INFO] [stdout] 72 | | }, [INFO] [stdout] 73 | | }; [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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] warning: unused variable: `reader` [INFO] [stdout] --> src/tcp/packet.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | reader: &mut impl AsyncReadOwnExt, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio::sync::mpsc::Sender` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tcp/server.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | let (_event_channel_writer, mut event_channel_reader) = mpsc::channel(16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | / tokio::select! { [INFO] [stdout] 32 | | _ = event_loop(&mut event_channel_reader) => {} [INFO] [stdout] 33 | | _ = serve(listener) => {} [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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: this value of type `tokio::net::tcp::OwnedReadHalf` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tcp/server.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | let (mut connection_reader, mut connection_writer) = socket.into_split(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | / tokio::select!( [INFO] [stdout] 83 | | Err(e) = client::handle_incoming(&state, &mut connection_reader, &message_channel_sender) => { [INFO] [stdout] 84 | | log::error!("Client crashed while handling incoming packet with an error: {}", e); [INFO] [stdout] 85 | | }, [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | ); [INFO] [stdout] | |_____- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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 variable: `reader` [INFO] [stdout] --> src/tcp/packet.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | reader: &mut impl AsyncReadOwnExt, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio::sync::mpsc::Sender` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tcp/server.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | let (_event_channel_writer, mut event_channel_reader) = mpsc::channel(16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | / tokio::select! { [INFO] [stdout] 32 | | _ = event_loop(&mut event_channel_reader) => {} [INFO] [stdout] 33 | | _ = serve(listener) => {} [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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: this value of type `tokio::net::tcp::OwnedReadHalf` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tcp/server.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | let (mut connection_reader, mut connection_writer) = socket.into_split(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | / tokio::select!( [INFO] [stdout] 83 | | Err(e) = client::handle_incoming(&state, &mut connection_reader, &message_channel_sender) => { [INFO] [stdout] 84 | | log::error!("Client crashed while handling incoming packet with an error: {}", e); [INFO] [stdout] 85 | | }, [INFO] [stdout] ... | [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | ); [INFO] [stdout] | |_____- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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 import: `Write` [INFO] [stdout] --> src/tcp/mod.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/tcp/mod.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/tcp/client.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/tcp/client.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/tcp/packet.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/tcp/mod.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/tcp/mod.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/tcp/client.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/tcp/client.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/tcp/packet.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/tcp/mod.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | async fn write_var_int(&mut self, value: VarInt) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 65 ~ fn write_var_int(&mut self, value: VarInt) -> impl std::future::Future> + Send {async { [INFO] [stdout] 66 | let mut value = value; [INFO] [stdout] ... [INFO] [stdout] 83 | Ok(()) [INFO] [stdout] 84 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/tcp/mod.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | async fn write_string(&mut self, value: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 86 ~ fn write_string(&mut self, value: &str) -> impl std::future::Future> + Send {async { [INFO] [stdout] 87 | self.write_var_int(value.len() as VarInt).await?; [INFO] [stdout] ... [INFO] [stdout] 90 | Ok(()) [INFO] [stdout] 91 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mars` (bin "mars" test) due to 4 previous errors; 21 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/tcp/mod.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | async fn write_var_int(&mut self, value: VarInt) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 65 ~ fn write_var_int(&mut self, value: VarInt) -> impl std::future::Future> + Send {async { [INFO] [stdout] 66 | let mut value = value; [INFO] [stdout] ... [INFO] [stdout] 83 | Ok(()) [INFO] [stdout] 84 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/tcp/mod.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | async fn write_string(&mut self, value: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 86 ~ fn write_string(&mut self, value: &str) -> impl std::future::Future> + Send {async { [INFO] [stdout] 87 | self.write_var_int(value.len() as VarInt).await?; [INFO] [stdout] ... [INFO] [stdout] 90 | Ok(()) [INFO] [stdout] 91 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mars` (bin "mars") due to 4 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "68fb323b933d5ed06d88d59fb65ef736b9f76f687bce1b8afe72efeabc672650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68fb323b933d5ed06d88d59fb65ef736b9f76f687bce1b8afe72efeabc672650", kill_on_drop: false }` [INFO] [stdout] 68fb323b933d5ed06d88d59fb65ef736b9f76f687bce1b8afe72efeabc672650