[INFO] cloning repository https://github.com/Arties-Templates/twilight-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Arties-Templates/twilight-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArties-Templates%2Ftwilight-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArties-Templates%2Ftwilight-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0dc8521cd85ffdd6bb137a766dd56c6fb72167e3 [INFO] checking Arties-Templates/twilight-bot/0dc8521cd85ffdd6bb137a766dd56c6fb72167e3 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%2FArties-Templates%2Ftwilight-bot" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Arties-Templates/twilight-bot 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] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/Arties-Templates/twilight-bot [INFO] finished tweaking git repo https://github.com/Arties-Templates/twilight-bot [INFO] tweaked toml for git repo https://github.com/Arties-Templates/twilight-bot written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Arties-Templates/twilight-bot 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a903425984d0f845ad35a72a10134812d41e9b516bdf081f725e4fbc990ae45d [INFO] running `Command { std: "docker" "start" "-a" "a903425984d0f845ad35a72a10134812d41e9b516bdf081f725e4fbc990ae45d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a903425984d0f845ad35a72a10134812d41e9b516bdf081f725e4fbc990ae45d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a903425984d0f845ad35a72a10134812d41e9b516bdf081f725e4fbc990ae45d", kill_on_drop: false }` [INFO] [stdout] a903425984d0f845ad35a72a10134812d41e9b516bdf081f725e4fbc990ae45d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 1df3d9fb387513615cac2c623a34d2501bea7798c4a04546fb2292e945b5b830 [INFO] running `Command { std: "docker" "start" "-a" "1df3d9fb387513615cac2c623a34d2501bea7798c4a04546fb2292e945b5b830", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling cc v1.0.74 [INFO] [stderr] Compiling serde_derive v1.0.147 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Checking time-core v0.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling rustls v0.20.7 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling serde_json v1.0.87 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling async-trait v0.1.72 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Compiling syn v2.0.25 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking time v0.3.16 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking dashmap v5.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki-roots v0.22.5 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling twilight-interactions-derive v0.15.2 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling serde_repr v0.1.9 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Checking tungstenite v0.18.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking twilight-gateway-queue v0.15.2 [INFO] [stderr] Checking twilight-http-ratelimiting v0.15.1 [INFO] [stderr] Checking tokio-tungstenite v0.18.0 [INFO] [stderr] Checking h2 v0.3.15 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking twilight-model v0.15.2 [INFO] [stderr] Checking hyper v0.14.22 [INFO] [stderr] Checking hyper-rustls v0.23.0 [INFO] [stderr] Checking twilight-validate v0.15.1 [INFO] [stderr] Checking twilight-interactions v0.15.2 [INFO] [stderr] Checking twilight-gateway v0.15.2 [INFO] [stderr] Checking twilight-mention v0.15.1 [INFO] [stderr] Checking twilight-util v0.15.2 [INFO] [stderr] Checking twilight-http v0.15.2 [INFO] [stderr] Checking twilight-cache-inmemory v0.15.2 [INFO] [stderr] Checking twilight-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `user_id` is never read [INFO] [stdout] --> src/context.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TwilightContext { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub user_id: Id, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `guild_id` and `user_id` are never read [INFO] [stdout] --> src/context.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct CommandContext { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub guild_id: Id, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | pub user_id: Id, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_id` is never read [INFO] [stdout] --> src/context.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TwilightContext { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub user_id: Id, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `guild_id` and `user_id` are never read [INFO] [stdout] --> src/context.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct CommandContext { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub guild_id: Id, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | pub user_id: Id, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/event/process.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | async fn process(self, ctx: Context) { [INFO] [stdout] | ________________________________------------__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | | process_cache_event(self, ctx).await; [INFO] [stdout] 40 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 46 | / process_cache_events! { [INFO] [stdout] 47 | | GuildCreate, [INFO] [stdout] 48 | | GuildDelete, [INFO] [stdout] 49 | | UnavailableGuild, [INFO] [stdout] ... | [INFO] [stdout] 54 | | MemberUpdate [INFO] [stdout] 55 | | } [INFO] [stdout] | |_- in this macro invocation [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] = note: this error originates in the macro `process_cache_events` (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/event/process.rs:59:42 [INFO] [stdout] | [INFO] [stdout] 59 | async fn process(self, ctx: Context) { [INFO] [stdout] | ______________________----__------------__^ [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | | use GatewayEvent::*; [INFO] [stdout] 61 | | [INFO] [stdout] 62 | | process_events! { __self, ctx => [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [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/event/process.rs:71:43 [INFO] [stdout] | [INFO] [stdout] 71 | async fn process(self, _ctx: Context) { [INFO] [stdout] | ____________________________-------------__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | | let shard = self.shard; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | if let Some(shard) = shard { [INFO] [stdout] ... | [INFO] [stdout] 78 | | info!("A Shard connected to the Discord Gateway!"); [INFO] [stdout] 79 | | } [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/event/process.rs:84:42 [INFO] [stdout] | [INFO] [stdout] 84 | async fn process(self, ctx: Context) { [INFO] [stdout] | ______________________----__------------__^ [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | | match crate::interactions::handler::interaction(ctx, self.0).await { [INFO] [stdout] 86 | | Ok(_) => {} [INFO] [stdout] 87 | | Err(why) => error!("Failed to handle Interaction!{why:?}"), [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [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/event/process.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | async fn process(self, ctx: Context) { [INFO] [stdout] | ________________________________------------__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | | process_cache_event(self, ctx).await; [INFO] [stdout] 40 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 46 | / process_cache_events! { [INFO] [stdout] 47 | | GuildCreate, [INFO] [stdout] 48 | | GuildDelete, [INFO] [stdout] 49 | | UnavailableGuild, [INFO] [stdout] ... | [INFO] [stdout] 54 | | MemberUpdate [INFO] [stdout] 55 | | } [INFO] [stdout] | |_- in this macro invocation [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] = note: this error originates in the macro `process_cache_events` (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/event/process.rs:59:42 [INFO] [stdout] | [INFO] [stdout] 59 | async fn process(self, ctx: Context) { [INFO] [stdout] | ______________________----__------------__^ [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | | use GatewayEvent::*; [INFO] [stdout] 61 | | [INFO] [stdout] 62 | | process_events! { __self, ctx => [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [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/event/process.rs:71:43 [INFO] [stdout] | [INFO] [stdout] 71 | async fn process(self, _ctx: Context) { [INFO] [stdout] | ____________________________-------------__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | | let shard = self.shard; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | if let Some(shard) = shard { [INFO] [stdout] ... | [INFO] [stdout] 78 | | info!("A Shard connected to the Discord Gateway!"); [INFO] [stdout] 79 | | } [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/event/process.rs:84:42 [INFO] [stdout] | [INFO] [stdout] 84 | async fn process(self, ctx: Context) { [INFO] [stdout] | ______________________----__------------__^ [INFO] [stdout] | | | | [INFO] [stdout] | | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | | match crate::interactions::handler::interaction(ctx, self.0).await { [INFO] [stdout] 86 | | Ok(_) => {} [INFO] [stdout] 87 | | Err(why) => error!("Failed to handle Interaction!{why:?}"), [INFO] [stdout] 88 | | } [INFO] [stdout] 89 | | } [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 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `twilight-bot` (bin "twilight-bot") due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `twilight-bot` (bin "twilight-bot" test) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1df3d9fb387513615cac2c623a34d2501bea7798c4a04546fb2292e945b5b830", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1df3d9fb387513615cac2c623a34d2501bea7798c4a04546fb2292e945b5b830", kill_on_drop: false }` [INFO] [stdout] 1df3d9fb387513615cac2c623a34d2501bea7798c4a04546fb2292e945b5b830