[INFO] cloning repository https://github.com/Lypt0x/phishingDetectionRenewed [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lypt0x/phishingDetectionRenewed" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLypt0x%2FphishingDetectionRenewed", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLypt0x%2FphishingDetectionRenewed'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 471c12ffef40a9da345a088f2f8b99bc3cd417a0 [INFO] checking Lypt0x/phishingDetectionRenewed/471c12ffef40a9da345a088f2f8b99bc3cd417a0 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%2FLypt0x%2FphishingDetectionRenewed" "/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/Lypt0x/phishingDetectionRenewed 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/Lypt0x/phishingDetectionRenewed [INFO] finished tweaking git repo https://github.com/Lypt0x/phishingDetectionRenewed [INFO] tweaked toml for git repo https://github.com/Lypt0x/phishingDetectionRenewed written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Lypt0x/phishingDetectionRenewed 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] 7acafd06a36606ebc0463e4b2b9497eaa438a803ac0e89d6dfbf94ee30aa4217 [INFO] running `Command { std: "docker" "start" "-a" "7acafd06a36606ebc0463e4b2b9497eaa438a803ac0e89d6dfbf94ee30aa4217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7acafd06a36606ebc0463e4b2b9497eaa438a803ac0e89d6dfbf94ee30aa4217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7acafd06a36606ebc0463e4b2b9497eaa438a803ac0e89d6dfbf94ee30aa4217", kill_on_drop: false }` [INFO] [stdout] 7acafd06a36606ebc0463e4b2b9497eaa438a803ac0e89d6dfbf94ee30aa4217 [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] dee6a16514bdf66378abd906ec2af92292fe46135f450e18430a07a1f18ee9f5 [INFO] running `Command { std: "docker" "start" "-a" "dee6a16514bdf66378abd906ec2af92292fe46135f450e18430a07a1f18ee9f5", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling tokio v1.13.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tinyvec v1.5.0 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking alloc-no-stdlib v2.0.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking ordered-float v2.8.0 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking alloc-stdlib v0.2.1 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking brotli-decompressor v2.3.2 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling anyhow v1.0.45 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking twilight-command-parser v0.7.0 [INFO] [stderr] Checking linkify v0.7.0 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking brotli v3.3.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking ct-logs v0.8.0 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Compiling tokio-macros v1.5.1 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling twilight-interactions-derive v0.7.1 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking rustls-native-certs v0.5.0 [INFO] [stderr] Checking tungstenite v0.13.0 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking leaky-bucket-lite v0.2.2 [INFO] [stderr] Checking tokio-tungstenite v0.14.0 [INFO] [stderr] Checking h2 v0.3.7 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking twilight-model v0.7.1 [INFO] [stderr] Checking hyper v0.14.14 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.6 [INFO] [stderr] Checking twilight-http v0.7.1 [INFO] [stderr] Checking twilight-util v0.7.0 [INFO] [stderr] Checking twilight-interactions v0.7.1 [INFO] [stderr] Checking twilight-cache-inmemory v0.7.1 [INFO] [stderr] Checking twilight-gateway-queue v0.7.0 [INFO] [stderr] Checking twilight-gateway v0.7.1 [INFO] [stderr] Checking discord_phishing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/bot/cluster.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct MessageCluster<'a> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 14 | pub token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Ok(()) [INFO] [stdout] | ^^---- [INFO] [stdout] | | [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: 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/bot/handling.rs:19:124 [INFO] [stdout] | [INFO] [stdout] 19 | async fn handle_event<'a>(&self, message_cluster: Arc>, safe: Arc>) -> Result<()> { [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] 20 | | let mut events = message_cluster.events.write().await; [INFO] [stdout] 21 | | [INFO] [stdout] 22 | | while let Some((_shard_id, event)) = events.next().await { [INFO] [stdout] ... | [INFO] [stdout] 69 | | Ok(()) [INFO] [stdout] 70 | | } [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/bot/parser.rs:18:81 [INFO] [stdout] | [INFO] [stdout] 18 | message: &Message, safe: Arc>) -> Result { [INFO] [stdout] | ________________________________________-----------------------__________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | if message.author.bot { [INFO] [stdout] 21 | | return Ok(false); [INFO] [stdout] ... | [INFO] [stdout] 71 | | Ok(true) [INFO] [stdout] 72 | | } [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/bot/parser.rs:81:108 [INFO] [stdout] | [INFO] [stdout] 81 | async fn is_denied(&self, link: Option>, safe: Arc>) -> Result> { [INFO] [stdout] | _______________________________________________________-----------------------______________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | | if let Some(link) = link { [INFO] [stdout] 83 | | let link = link.as_str(); [INFO] [stdout] 84 | | let mut safe = safe.write().await; [INFO] [stdout] ... | [INFO] [stdout] 88 | | Ok(None) [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/bot/parser.rs:91:128 [INFO] [stdout] | [INFO] [stdout] 91 | async fn allow(&self, link: Option>, message: &Message, client: &Client, safe: Arc>) -> Result { [INFO] [stdout] | _______________________________________________________________________________________-----------------------__________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | | match link { [INFO] [stdout] 93 | | Some(url) => { [INFO] [stdout] 94 | | let mut safe = safe.write().await; [INFO] [stdout] ... | [INFO] [stdout] 106 | | Ok(false) [INFO] [stdout] 107 | | } [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/bot/parser.rs:109:127 [INFO] [stdout] | [INFO] [stdout] 109 | async fn deny(&self, link: Option>, message: &Message, client: &Client, safe: Arc>) -> Result { [INFO] [stdout] | ______________________________________________________________________________________-----------------------__________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | | match link { [INFO] [stdout] 111 | | Some(url) => { [INFO] [stdout] 112 | | let mut safe = safe.write().await; [INFO] [stdout] ... | [INFO] [stdout] 124 | | Ok(false) [INFO] [stdout] 125 | | } [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/bot/preparer.rs:12:108 [INFO] [stdout] | [INFO] [stdout] 12 | async fn can_be_submitted(&self, safe: Arc>, message: Box) -> Result { [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] 13 | | [INFO] [stdout] 14 | | let mut safe = safe.write().await; [INFO] [stdout] ... | [INFO] [stdout] 34 | | Ok(true) [INFO] [stdout] 35 | | } [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/bot/cluster.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 46 | let cluster = Arc::clone(&self.cluster); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | Ok(tokio::spawn(async move { [INFO] [stdout] | ____________^ [INFO] [stdout] 48 | | cluster.up().await [INFO] [stdout] 49 | | })) [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/bot/cluster.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 46 | let cluster = Arc::clone(&self.cluster); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | Ok(tokio::spawn(async move { [INFO] [stdout] 48 | cluster.up().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] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `discord_phishing` (bin "discord_phishing" test) due to 10 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/bot/cluster.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct MessageCluster<'a> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 14 | pub token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Ok(()) [INFO] [stdout] | ^^---- [INFO] [stdout] | | [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: 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/bot/handling.rs:19:124 [INFO] [stdout] | [INFO] [stdout] 19 | async fn handle_event<'a>(&self, message_cluster: Arc>, safe: Arc>) -> Result<()> { [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] 20 | | let mut events = message_cluster.events.write().await; [INFO] [stdout] 21 | | [INFO] [stdout] 22 | | while let Some((_shard_id, event)) = events.next().await { [INFO] [stdout] ... | [INFO] [stdout] 69 | | Ok(()) [INFO] [stdout] 70 | | } [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/bot/parser.rs:18:81 [INFO] [stdout] | [INFO] [stdout] 18 | message: &Message, safe: Arc>) -> Result { [INFO] [stdout] | ________________________________________-----------------------__________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | if message.author.bot { [INFO] [stdout] 21 | | return Ok(false); [INFO] [stdout] ... | [INFO] [stdout] 71 | | Ok(true) [INFO] [stdout] 72 | | } [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/bot/parser.rs:81:108 [INFO] [stdout] | [INFO] [stdout] 81 | async fn is_denied(&self, link: Option>, safe: Arc>) -> Result> { [INFO] [stdout] | _______________________________________________________-----------------------______________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | | if let Some(link) = link { [INFO] [stdout] 83 | | let link = link.as_str(); [INFO] [stdout] 84 | | let mut safe = safe.write().await; [INFO] [stdout] ... | [INFO] [stdout] 88 | | Ok(None) [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/bot/parser.rs:91:128 [INFO] [stdout] | [INFO] [stdout] 91 | async fn allow(&self, link: Option>, message: &Message, client: &Client, safe: Arc>) -> Result { [INFO] [stdout] | _______________________________________________________________________________________-----------------------__________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | | match link { [INFO] [stdout] 93 | | Some(url) => { [INFO] [stdout] 94 | | let mut safe = safe.write().await; [INFO] [stdout] ... | [INFO] [stdout] 106 | | Ok(false) [INFO] [stdout] 107 | | } [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/bot/parser.rs:109:127 [INFO] [stdout] | [INFO] [stdout] 109 | async fn deny(&self, link: Option>, message: &Message, client: &Client, safe: Arc>) -> Result { [INFO] [stdout] | ______________________________________________________________________________________-----------------------__________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | | match link { [INFO] [stdout] 111 | | Some(url) => { [INFO] [stdout] 112 | | let mut safe = safe.write().await; [INFO] [stdout] ... | [INFO] [stdout] 124 | | Ok(false) [INFO] [stdout] 125 | | } [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/bot/preparer.rs:12:108 [INFO] [stdout] | [INFO] [stdout] 12 | async fn can_be_submitted(&self, safe: Arc>, message: Box) -> Result { [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] 13 | | [INFO] [stdout] 14 | | let mut safe = safe.write().await; [INFO] [stdout] ... | [INFO] [stdout] 34 | | Ok(true) [INFO] [stdout] 35 | | } [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/bot/cluster.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 46 | let cluster = Arc::clone(&self.cluster); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | Ok(tokio::spawn(async move { [INFO] [stdout] | ____________^ [INFO] [stdout] 48 | | cluster.up().await [INFO] [stdout] 49 | | })) [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/bot/cluster.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 46 | let cluster = Arc::clone(&self.cluster); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | Ok(tokio::spawn(async move { [INFO] [stdout] 48 | cluster.up().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] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `discord_phishing` (bin "discord_phishing") due to 10 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "dee6a16514bdf66378abd906ec2af92292fe46135f450e18430a07a1f18ee9f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dee6a16514bdf66378abd906ec2af92292fe46135f450e18430a07a1f18ee9f5", kill_on_drop: false }` [INFO] [stdout] dee6a16514bdf66378abd906ec2af92292fe46135f450e18430a07a1f18ee9f5