[INFO] cloning repository https://github.com/JAD3N/mc-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JAD3N/mc-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJAD3N%2Fmc-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJAD3N%2Fmc-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce1ad57f2417f722d6c00ae21fdc3cd0efdadd7a [INFO] checking JAD3N/mc-server/ce1ad57f2417f722d6c00ae21fdc3cd0efdadd7a 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%2FJAD3N%2Fmc-server" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JAD3N/mc-server 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/JAD3N/mc-server [INFO] finished tweaking git repo https://github.com/JAD3N/mc-server [INFO] tweaked toml for git repo https://github.com/JAD3N/mc-server written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JAD3N/mc-server 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 597a14b01ee93760cab2a375dfc31d5d990705c02c198554acbe52262463a26f [INFO] running `Command { std: "docker" "start" "-a" "597a14b01ee93760cab2a375dfc31d5d990705c02c198554acbe52262463a26f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "597a14b01ee93760cab2a375dfc31d5d990705c02c198554acbe52262463a26f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "597a14b01ee93760cab2a375dfc31d5d990705c02c198554acbe52262463a26f", kill_on_drop: false }` [INFO] [stdout] 597a14b01ee93760cab2a375dfc31d5d990705c02c198554acbe52262463a26f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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] c168c0a65d5effa0bd5c38dab059371b00a52e306db7a756d505da9f69a63fa6 [INFO] running `Command { std: "docker" "start" "-a" "c168c0a65d5effa0bd5c38dab059371b00a52e306db7a756d505da9f69a63fa6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.28 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking arc-swap v0.4.6 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.1.5 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking png v0.16.4 [INFO] [stderr] Checking crossbeam-queue v0.2.2 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking java-props v0.1.2 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking base64 v0.12.1 [INFO] [stderr] Checking java-rand v0.2.0 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [INFO] [stderr] Checking stream-cipher v0.3.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking cfb8 v0.3.2 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking aes v0.3.2 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking serde_yaml v0.8.12 [INFO] [stderr] Checking serde-value v0.6.0 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking event-bus v0.1.0 [INFO] [stderr] Checking jpeg-decoder v0.1.19 [INFO] [stderr] Checking ctrlc v3.1.4 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking image v0.23.4 [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.19 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling async-trait v0.1.31 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking thiserror v1.0.19 [INFO] [stderr] Checking pin-project v0.4.17 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking log4rs v0.11.0 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-io-timeout v0.4.0 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking flume v0.7.1 [INFO] [stderr] Checking server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stdout] warning: unused import: `crate::chat::component::ComponentContainer` [INFO] [stdout] --> server/src/network/protocol/handler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::chat::component::ComponentContainer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> server/src/world/level/dimension.rs:29:58 [INFO] [stdout] | [INFO] [stdout] 29 | dimension_type!($id, $name, $suffix, $folder, []); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 48 | m.insert("the_nether", dimension_type!(0, "the_nether", "_nether", "DIM-1")); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dimension_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> server/src/world/level/dimension.rs:29:58 [INFO] [stdout] | [INFO] [stdout] 29 | dimension_type!($id, $name, $suffix, $folder, []); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 49 | m.insert("the_end", dimension_type!(2, "the_nether", "_end", "DIM1")); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `dimension_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> server/src/server/settings.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ServerSettings { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 8 | allow_flight: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | allow_nether: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | broadcast_console_to_ops: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | broadcast_rcon_to_ops: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | difficulty: Difficulty, [INFO] [stdout] 13 | enable_command_block: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | enable_query: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | enable_rcon: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | enforce_whitlist: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | force_gamemode: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 18 | function_permission_level: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | game_mode: GameMode, [INFO] [stdout] 20 | generate_structures: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | generator_settings: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | hardcore: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | level_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | level_seed: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | level_type: LevelKind, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | max_build_height: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | max_world_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 30 | motd: String, [INFO] [stdout] 31 | network_compression_threshold: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | online_mode: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 33 | op_permission_level: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | player_idle_timeout: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | prevent_proxy_connections: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | pvp: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 37 | query_port: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 38 | rcon_password: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 39 | rcon_port: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | resource_pack: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 41 | resource_pack_sha1: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | spawn_animals: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 45 | spawn_monsters: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 46 | spawn_npcs: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 47 | spawn_protection: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | use_native_transport: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | view_distance: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 50 | white_list: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerSettings` 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> server/src/chat/component/text.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new>(text: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | Self::new_with_style(text, Style::default()) [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] --> server/src/chat/component/translatable.rs:53:41 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn new>(key: T, args: Vec) -> Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | Self::new_with_style(key, args, Style::default()) [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] --> server/src/network/listener.rs:61:56 [INFO] [stdout] | [INFO] [stdout] 49 | let mut worker = Worker::new( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | tokio::spawn(async move { worker.execute().await }); [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 output of future returned by `tokio::task::yield_now` that must be used [INFO] [stdout] --> server/src/network/listener.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | tokio::task::yield_now().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: yield_now does nothing unless polled/`await`-ed [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 62 | let _ = tokio::task::yield_now().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused output of future returned by `tokio::task::yield_now` that must be used [INFO] [stdout] --> server/src/network/worker.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | tokio::task::yield_now().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: yield_now does nothing unless polled/`await`-ed [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 96 | let _ = tokio::task::yield_now().await; [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] --> server/src/network/protocol/packet/set.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn wrap(packet: Result) -> Result, ProtocolError> { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | Ok(Box::new(packet?)) [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] --> server/src/network/protocol/handler.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn send_packet(&self, packet: T) -> anyhow::Result<()> { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | // create payload [INFO] [stdout] 18 | let payload = (self.protocol.client.id_of::().ok_or_else(|| [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | self.send(WorkerRequest::SendPacket(payload)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> server/src/network/protocol/handler.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn send(&self, request: WorkerRequest) -> anyhow::Result<()> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | self.worker_tx.send(request) [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] --> server/src/network/protocol/handler.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 35 | fn new_box(state: ProtocolHandlerState) -> Box where Self: Sized { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | Box::new(Self::new(state)) [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 7 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `server` (lib) due to 8 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c168c0a65d5effa0bd5c38dab059371b00a52e306db7a756d505da9f69a63fa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c168c0a65d5effa0bd5c38dab059371b00a52e306db7a756d505da9f69a63fa6", kill_on_drop: false }` [INFO] [stdout] c168c0a65d5effa0bd5c38dab059371b00a52e306db7a756d505da9f69a63fa6