[INFO] fetching crate disrust 0.1.0-alpha... [INFO] checking disrust-0.1.0-alpha against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate disrust 0.1.0-alpha into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate disrust 0.1.0-alpha 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 crates.io crate disrust 0.1.0-alpha [INFO] finished tweaking crates.io crate disrust 0.1.0-alpha [INFO] tweaked toml for crates.io crate disrust 0.1.0-alpha written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate disrust 0.1.0-alpha 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] 179dbf60f2db8162abd28f211bc563f29d2ad0bcefaa18bc51dae34250bb5689 [INFO] running `Command { std: "docker" "start" "-a" "179dbf60f2db8162abd28f211bc563f29d2ad0bcefaa18bc51dae34250bb5689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "179dbf60f2db8162abd28f211bc563f29d2ad0bcefaa18bc51dae34250bb5689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "179dbf60f2db8162abd28f211bc563f29d2ad0bcefaa18bc51dae34250bb5689", kill_on_drop: false }` [INFO] [stdout] 179dbf60f2db8162abd28f211bc563f29d2ad0bcefaa18bc51dae34250bb5689 [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] 54d5aa2e8a3878adbb85308fa9b6317e4298c43f0291aa26268ea0bc9a920a09 [INFO] running `Command { std: "docker" "start" "-a" "54d5aa2e8a3878adbb85308fa9b6317e4298c43f0291aa26268ea0bc9a920a09", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking smallvec v1.8.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling rustversion v1.0.7 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking futures-channel v0.3.21 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling const_format_proc_macros v0.2.22 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking unicode-normalization v0.1.20 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking const_format v0.2.25 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling strum_macros v0.24.2 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking tungstenite v0.17.2 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-tungstenite v0.17.1 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.19 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking disrust v0.1.0-alpha (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AUTHORIZATION` and `Method` [INFO] [stdout] --> src/channel/text_channel.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::{Client, header::{AUTHORIZATION, HeaderValue}, Method}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bot` [INFO] [stdout] --> src/guild.rs:3:102 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{emoji::Emoji, getter, role::Role, snowflake::Snowflake, channel::{Channel, TextChannel}, Bot}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `snowflake::Snowflake` [INFO] [stdout] --> src/gateway/mod.rs:2:67 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{Bot, Guild, channel::message::Message as TextMessage, snowflake::Snowflake}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AUTHORIZATION` and `Method` [INFO] [stdout] --> src/channel/text_channel.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::{Client, header::{AUTHORIZATION, HeaderValue}, Method}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bot` [INFO] [stdout] --> src/guild.rs:3:102 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{emoji::Emoji, getter, role::Role, snowflake::Snowflake, channel::{Channel, TextChannel}, Bot}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `snowflake::Snowflake` [INFO] [stdout] --> src/gateway/mod.rs:2:67 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{Bot, Guild, channel::message::Message as TextMessage, snowflake::Snowflake}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position` and `name` are never read [INFO] [stdout] --> src/channel/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ChannelCommon { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 8 | id: Snowflake, [INFO] [stdout] 9 | position: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `guild_id` is never read [INFO] [stdout] --> src/channel/text_channel.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TextChannel { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 8 | channel_common: ChannelCommon, [INFO] [stdout] 9 | guild_id: Snowflake, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/role.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Color(u8, u8, u8); [INFO] [stdout] | ----- ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Color` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position` and `name` are never read [INFO] [stdout] --> src/channel/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ChannelCommon { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 8 | id: Snowflake, [INFO] [stdout] 9 | position: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `guild_id` is never read [INFO] [stdout] --> src/channel/text_channel.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TextChannel { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 8 | channel_common: ChannelCommon, [INFO] [stdout] 9 | guild_id: Snowflake, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/role.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Color(u8, u8, u8); [INFO] [stdout] | ----- ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Color` has derived impls for the traits `Clone` and `Debug`, but these are 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/lib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 44 | let mut headers = HeaderMap::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | / ClientBuilder::default() [INFO] [stdout] 50 | | .default_headers(headers) [INFO] [stdout] 51 | | .build() [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/channel/message.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) fn from_json(json: &Map, client: Client) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | author: serde_json::from_value(json["author"].clone()).unwrap(), [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/channel/message.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | .map(|u| serde_json::from_value(u.clone()).unwrap()) [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/channel/text_channel.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn from_json(json: &Map, client: Client) -> TextChannel { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | client.clone(), [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/channel/text_channel.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 23 | client: Client, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | client: client.clone(), [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/guild.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 67 | pub(crate) fn from_json(json: &Map, client: Client) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | client: client.clone() [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/gateway/mod.rs:71:30 [INFO] [stdout] | [INFO] [stdout] 71 | .map(|x| x.into_text().ok()) [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/lib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 44 | let mut headers = HeaderMap::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | / ClientBuilder::default() [INFO] [stdout] 50 | | .default_headers(headers) [INFO] [stdout] 51 | | .build() [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/channel/message.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) fn from_json(json: &Map, client: Client) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | author: serde_json::from_value(json["author"].clone()).unwrap(), [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/channel/message.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | .map(|u| serde_json::from_value(u.clone()).unwrap()) [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/channel/text_channel.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn from_json(json: &Map, client: Client) -> TextChannel { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | client.clone(), [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/channel/text_channel.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 23 | client: Client, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | client: client.clone(), [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/guild.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 67 | pub(crate) fn from_json(json: &Map, client: Client) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | client: client.clone() [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/user.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Clone, Copy, Deserialize, Debug)] [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/gateway/mod.rs:71:30 [INFO] [stdout] | [INFO] [stdout] 71 | .map(|x| x.into_text().ok()) [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/user.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Clone, Copy, Deserialize, Debug)] [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `disrust` (lib) due to 9 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `disrust` (lib test) due to 9 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "54d5aa2e8a3878adbb85308fa9b6317e4298c43f0291aa26268ea0bc9a920a09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54d5aa2e8a3878adbb85308fa9b6317e4298c43f0291aa26268ea0bc9a920a09", kill_on_drop: false }` [INFO] [stdout] 54d5aa2e8a3878adbb85308fa9b6317e4298c43f0291aa26268ea0bc9a920a09