[INFO] cloning repository https://github.com/abrahum/nonebot-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abrahum/nonebot-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabrahum%2Fnonebot-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabrahum%2Fnonebot-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8c090098a10f574637fcad16fd74357e875bd43e [INFO] checking abrahum/nonebot-rs/8c090098a10f574637fcad16fd74357e875bd43e 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%2Fabrahum%2Fnonebot-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/abrahum/nonebot-rs 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/abrahum/nonebot-rs [INFO] finished tweaking git repo https://github.com/abrahum/nonebot-rs [INFO] tweaked toml for git repo https://github.com/abrahum/nonebot-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/abrahum/nonebot-rs 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] c99ca998f13e4ee427b3f5948a8697bc81cde89b9a9d972d8cf340c145b7e005 [INFO] running `Command { std: "docker" "start" "-a" "c99ca998f13e4ee427b3f5948a8697bc81cde89b9a9d972d8cf340c145b7e005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c99ca998f13e4ee427b3f5948a8697bc81cde89b9a9d972d8cf340c145b7e005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c99ca998f13e4ee427b3f5948a8697bc81cde89b9a9d972d8cf340c145b7e005", kill_on_drop: false }` [INFO] [stdout] c99ca998f13e4ee427b3f5948a8697bc81cde89b9a9d972d8cf340c145b7e005 [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] 96e6312aae55f149770372d085447e7ca5e77f4e8c87217390eea8dab3836766 [INFO] running `Command { std: "docker" "start" "-a" "96e6312aae55f149770372d085447e7ca5e77f4e8c87217390eea8dab3836766", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling parking_lot_core v0.8.4 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.129 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tokio v1.10.1 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking tracing-core v0.1.19 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling siphasher v0.3.6 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling argh_shared v0.1.5 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking nom v4.1.1 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking sharded-slab v0.1.3 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling pyo3-build-config v0.14.3 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking headers v0.3.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Compiling lua-src v543.1.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling luajit-src v210.2.0+resty5f13855 [INFO] [stderr] Checking socket2 v0.4.1 [INFO] [stderr] Checking cron v0.8.0 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling erased-serde v0.3.16 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling mlua v0.6.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Compiling pyo3 v0.14.3 [INFO] [stderr] Compiling pyo3-macros-backend v0.14.3 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling argh_derive v0.1.5 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking tungstenite v0.14.0 [INFO] [stderr] Checking argh v0.1.5 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking rcnb-rs v0.1.0 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Compiling pyo3-macros v0.14.3 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Checking tokio-cron-scheduler v0.2.1 [INFO] [stderr] Checking tokio-tungstenite v0.15.0 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking pyo3-asyncio v0.14.0 [INFO] [stderr] Checking h2 v0.3.4 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking hyper v0.14.12 [INFO] [stderr] Checking tracing-subscriber v0.2.20 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Checking nonebot_rs v0.3.0 (/opt/rustwide/workdir/nonebot_rs) [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.4 [INFO] [stdout] warning: field `jobs` is never read [INFO] [stdout] --> nonebot_rs/src/scheduler/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct SchedulerConfig { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | jobs: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SchedulerConfig` 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] warning: field `custom` is never read [INFO] [stdout] --> nonebot_rs/src/scheduler/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct JobConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 40 | #[serde(flatten)] [INFO] [stdout] 41 | custom: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JobConfig` has a derived impl for the trait `Debug`, but this is 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] --> nonebot_rs/src/api_resp.rs:231:28 [INFO] [stdout] | [INFO] [stdout] 231 | #[derive(Debug, Serialize, Deserialize, Clone)] [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] = 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] --> nonebot_rs/src/builtin/bot_status.rs:11:81 [INFO] [stdout] | [INFO] [stdout] 11 | async fn handle(&self, event: MessageEvent, matcher: Matcher) { [INFO] [stdout] | _________________________________________________------------------------------__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | | matcher [INFO] [stdout] 13 | | .send_text(&build_status(&event, &matcher).await) [INFO] [stdout] 14 | | .await; [INFO] [stdout] 15 | | } [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] --> nonebot_rs/src/builtin/echo.rs:11:81 [INFO] [stdout] | [INFO] [stdout] 11 | async fn handle(&self, event: MessageEvent, matcher: Matcher) { [INFO] [stdout] | _________________________________________________------------------------------__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | | let msg = Message::Text { [INFO] [stdout] 13 | | text: event.get_raw_message().to_string(), [INFO] [stdout] 14 | | }; [INFO] [stdout] 15 | | matcher.send(vec![msg]).await; [INFO] [stdout] 16 | | } [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] --> nonebot_rs/src/builtin/echo.rs:36:77 [INFO] [stdout] | [INFO] [stdout] 36 | async fn handle(&self, _: MessageEvent, matcher: Matcher) { [INFO] [stdout] | _____________________________________________------------------------------__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | | // echo whatever you say until exit [INFO] [stdout] 38 | | let mut max_times = self.max_times; [INFO] [stdout] 39 | | matcher [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | } [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] --> nonebot_rs/src/builtin/rcnb.rs:12:81 [INFO] [stdout] | [INFO] [stdout] 12 | async fn handle(&self, event: MessageEvent, matcher: Matcher) { [INFO] [stdout] | _________________________________________________------------------------------__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | | let msg = matcher [INFO] [stdout] 14 | | .request_message(Some(&event), Some("Please enter something.")) [INFO] [stdout] 15 | | .await; [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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] --> nonebot_rs/src/comms/revs_ws.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 55 | |req: &Request, resp: Response| -> Result>> { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | Err(HttpResponse::new(None)) [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] --> nonebot_rs/src/comms/utils.rs:116:11 [INFO] [stdout] | [INFO] [stdout] 115 | pub async fn send_event(sender: &broadcast::Sender, e: Event) -> () { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | match sender.send(e) { [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] --> nonebot_rs/src/matcher/mod.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn new(name: &str, handler: H) -> Matcher [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | bot: None, [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] --> nonebot_rs/src/matcher/mod.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn new(name: &str, handler: H) -> Matcher [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | action_sender: None, [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] --> nonebot_rs/src/matcher/mod.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn new(name: &str, handler: H) -> Matcher [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | handler: Arc::new(RwLock::new(handler)), [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] --> nonebot_rs/src/matcher/mod.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn new(name: &str, handler: H) -> Matcher [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 141 | event: None, [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] --> nonebot_rs/src/matcher/mod.rs:208:48 [INFO] [stdout] | [INFO] [stdout] 179 | let mut event = event.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | let matcher = self.clone().set_event(&event); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 205 | let handler = self.handler.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 206 | tokio::spawn(async move { [INFO] [stdout] 207 | let handler = handler.read().await; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | handler.handle(event, matcher).await [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] | [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] --> nonebot_rs/src/matcher/mod.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 237 | handler: H, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 243 | let mut m = Matcher::new( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 259 | / m.set_priority(0) [INFO] [stdout] 260 | | .set_temp(true) [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] --> nonebot_rs/src/matcher/matchers/action.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 10 | message: Option>, [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | notice: Option>, [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | request: Option>, [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | meta: Option>, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | ) -> Matchers { [INFO] [stdout] 15 | let (sender, _) = broadcast::channel(32); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | Matchers { [INFO] [stdout] 17 | message: unoptionb(&message), [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] --> nonebot_rs/src/matcher/matchers/action.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 10 | message: Option>, [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | notice: Option>, [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | request: Option>, [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | meta: Option>, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | ) -> Matchers { [INFO] [stdout] 15 | let (sender, _) = broadcast::channel(32); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | notice: unoptionb(¬ice), [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] --> nonebot_rs/src/matcher/matchers/action.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 10 | message: Option>, [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | notice: Option>, [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | request: Option>, [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | meta: Option>, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | ) -> Matchers { [INFO] [stdout] 15 | let (sender, _) = broadcast::channel(32); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | request: unoptionb(&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] --> nonebot_rs/src/matcher/matchers/action.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 10 | message: Option>, [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | notice: Option>, [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | request: Option>, [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | meta: Option>, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | ) -> Matchers { [INFO] [stdout] 15 | let (sender, _) = broadcast::channel(32); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | meta: unoptionb(&meta), [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] --> nonebot_rs/src/matcher/matchers/action.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 10 | message: Option>, [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | notice: Option>, [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | request: Option>, [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | meta: Option>, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | ) -> Matchers { [INFO] [stdout] 15 | let (sender, _) = broadcast::channel(32); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | bot_getter: None, [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] --> nonebot_rs/src/matcher/message_event_matcher.rs:51:89 [INFO] [stdout] | [INFO] [stdout] 51 | async fn handle(&self, event: MessageEvent, matcher: Matcher) { [INFO] [stdout] | _________________________________________________________------------------------------__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | | matcher [INFO] [stdout] 53 | | .bot [INFO] [stdout] 54 | | .clone() [INFO] [stdout] ... | [INFO] [stdout] 59 | | .unwrap(); [INFO] [stdout] 60 | | } [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] --> nonebot_rs/src/matcher/message_event_matcher.rs:65:80 [INFO] [stdout] | [INFO] [stdout] 64 | let sender = matcher.bot.clone().unwrap().api_sender; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | tokio::spawn(async move { sender.send(ApiChannelItem::TimeOut).await.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] --> nonebot_rs/src/nb.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 36 | let nb_config = crate::config::NbConfig::load(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let (event_sender, _) = broadcast::channel(1024); // need largo cache when reconnect [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let (action_sender, action_receiver) = tokio::sync::mpsc::channel(32); [INFO] [stdout] | ------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let (bot_sender, bot_getter) = watch::channel(HashMap::new()); [INFO] [stdout] | ---------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | Nonebot { [INFO] [stdout] 41 | bots: HashMap::new(), [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] --> nonebot_rs/src/nb.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 36 | let nb_config = crate::config::NbConfig::load(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let (event_sender, _) = broadcast::channel(1024); // need largo cache when reconnect [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let (action_sender, action_receiver) = tokio::sync::mpsc::channel(32); [INFO] [stdout] | ------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let (bot_sender, bot_getter) = watch::channel(HashMap::new()); [INFO] [stdout] | ---------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | plugins: HashMap::new(), [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] --> nonebot_rs/src/nb.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 105 | pub async fn run(self) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | self.async_run().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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> nonebot_rs/src/nb.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | pub async fn run(self) { [INFO] [stdout] | ______________________----__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | | self.async_run().await; [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: aborting due to 24 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `jobs` is never read [INFO] [stdout] --> nonebot_rs/src/scheduler/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct SchedulerConfig { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | jobs: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SchedulerConfig` 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] warning: field `custom` is never read [INFO] [stdout] --> nonebot_rs/src/scheduler/mod.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct JobConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 40 | #[serde(flatten)] [INFO] [stdout] 41 | custom: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JobConfig` has a derived impl for the trait `Debug`, but this is 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] --> nonebot_rs/src/api_resp.rs:231:28 [INFO] [stdout] | [INFO] [stdout] 231 | #[derive(Debug, Serialize, Deserialize, Clone)] [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nonebot_rs` (lib test) due to 25 previous errors; 2 warnings emitted [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] --> nonebot_rs/src/builtin/bot_status.rs:11:81 [INFO] [stdout] | [INFO] [stdout] 11 | async fn handle(&self, event: MessageEvent, matcher: Matcher) { [INFO] [stdout] | _________________________________________________------------------------------__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | | matcher [INFO] [stdout] 13 | | .send_text(&build_status(&event, &matcher).await) [INFO] [stdout] 14 | | .await; [INFO] [stdout] 15 | | } [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] [stderr] warning: build failed, waiting for other jobs to finish... [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] --> nonebot_rs/src/builtin/echo.rs:11:81 [INFO] [stdout] | [INFO] [stdout] 11 | async fn handle(&self, event: MessageEvent, matcher: Matcher) { [INFO] [stdout] | _________________________________________________------------------------------__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | | let msg = Message::Text { [INFO] [stdout] 13 | | text: event.get_raw_message().to_string(), [INFO] [stdout] 14 | | }; [INFO] [stdout] 15 | | matcher.send(vec![msg]).await; [INFO] [stdout] 16 | | } [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] --> nonebot_rs/src/builtin/echo.rs:36:77 [INFO] [stdout] | [INFO] [stdout] 36 | async fn handle(&self, _: MessageEvent, matcher: Matcher) { [INFO] [stdout] | _____________________________________________------------------------------__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | | // echo whatever you say until exit [INFO] [stdout] 38 | | let mut max_times = self.max_times; [INFO] [stdout] 39 | | matcher [INFO] [stdout] ... | [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | } [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] --> nonebot_rs/src/builtin/rcnb.rs:12:81 [INFO] [stdout] | [INFO] [stdout] 12 | async fn handle(&self, event: MessageEvent, matcher: Matcher) { [INFO] [stdout] | _________________________________________________------------------------------__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | | let msg = matcher [INFO] [stdout] 14 | | .request_message(Some(&event), Some("Please enter something.")) [INFO] [stdout] 15 | | .await; [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [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] --> nonebot_rs/src/comms/revs_ws.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 55 | |req: &Request, resp: Response| -> Result>> { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | Err(HttpResponse::new(None)) [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] --> nonebot_rs/src/comms/utils.rs:116:11 [INFO] [stdout] | [INFO] [stdout] 115 | pub async fn send_event(sender: &broadcast::Sender, e: Event) -> () { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | match sender.send(e) { [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] --> nonebot_rs/src/matcher/mod.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn new(name: &str, handler: H) -> Matcher [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | bot: None, [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] --> nonebot_rs/src/matcher/mod.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn new(name: &str, handler: H) -> Matcher [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | action_sender: None, [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] --> nonebot_rs/src/matcher/mod.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn new(name: &str, handler: H) -> Matcher [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | handler: Arc::new(RwLock::new(handler)), [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] --> nonebot_rs/src/matcher/mod.rs:141:20 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn new(name: &str, handler: H) -> Matcher [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 141 | event: None, [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] --> nonebot_rs/src/matcher/mod.rs:208:48 [INFO] [stdout] | [INFO] [stdout] 179 | let mut event = event.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | let matcher = self.clone().set_event(&event); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 205 | let handler = self.handler.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 206 | tokio::spawn(async move { [INFO] [stdout] 207 | let handler = handler.read().await; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | handler.handle(event, matcher).await [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] | [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] --> nonebot_rs/src/matcher/mod.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 237 | handler: H, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 243 | let mut m = Matcher::new( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 259 | / m.set_priority(0) [INFO] [stdout] 260 | | .set_temp(true) [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] --> nonebot_rs/src/matcher/matchers/action.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 10 | message: Option>, [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | notice: Option>, [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | request: Option>, [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | meta: Option>, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | ) -> Matchers { [INFO] [stdout] 15 | let (sender, _) = broadcast::channel(32); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | Matchers { [INFO] [stdout] 17 | message: unoptionb(&message), [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] --> nonebot_rs/src/matcher/matchers/action.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 10 | message: Option>, [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | notice: Option>, [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | request: Option>, [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | meta: Option>, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | ) -> Matchers { [INFO] [stdout] 15 | let (sender, _) = broadcast::channel(32); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | notice: unoptionb(¬ice), [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] --> nonebot_rs/src/matcher/matchers/action.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 10 | message: Option>, [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | notice: Option>, [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | request: Option>, [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | meta: Option>, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | ) -> Matchers { [INFO] [stdout] 15 | let (sender, _) = broadcast::channel(32); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | request: unoptionb(&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] --> nonebot_rs/src/matcher/matchers/action.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 10 | message: Option>, [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | notice: Option>, [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | request: Option>, [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | meta: Option>, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | ) -> Matchers { [INFO] [stdout] 15 | let (sender, _) = broadcast::channel(32); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | meta: unoptionb(&meta), [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] --> nonebot_rs/src/matcher/matchers/action.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 10 | message: Option>, [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | notice: Option>, [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | request: Option>, [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | meta: Option>, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | ) -> Matchers { [INFO] [stdout] 15 | let (sender, _) = broadcast::channel(32); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | bot_getter: None, [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] --> nonebot_rs/src/matcher/message_event_matcher.rs:51:89 [INFO] [stdout] | [INFO] [stdout] 51 | async fn handle(&self, event: MessageEvent, matcher: Matcher) { [INFO] [stdout] | _________________________________________________________------------------------------__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | | matcher [INFO] [stdout] 53 | | .bot [INFO] [stdout] 54 | | .clone() [INFO] [stdout] ... | [INFO] [stdout] 59 | | .unwrap(); [INFO] [stdout] 60 | | } [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] --> nonebot_rs/src/matcher/message_event_matcher.rs:65:80 [INFO] [stdout] | [INFO] [stdout] 64 | let sender = matcher.bot.clone().unwrap().api_sender; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | tokio::spawn(async move { sender.send(ApiChannelItem::TimeOut).await.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] --> nonebot_rs/src/nb.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 36 | let nb_config = crate::config::NbConfig::load(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let (event_sender, _) = broadcast::channel(1024); // need largo cache when reconnect [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let (action_sender, action_receiver) = tokio::sync::mpsc::channel(32); [INFO] [stdout] | ------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let (bot_sender, bot_getter) = watch::channel(HashMap::new()); [INFO] [stdout] | ---------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | Nonebot { [INFO] [stdout] 41 | bots: HashMap::new(), [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] --> nonebot_rs/src/nb.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 36 | let nb_config = crate::config::NbConfig::load(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let (event_sender, _) = broadcast::channel(1024); // need largo cache when reconnect [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let (action_sender, action_receiver) = tokio::sync::mpsc::channel(32); [INFO] [stdout] | ------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let (bot_sender, bot_getter) = watch::channel(HashMap::new()); [INFO] [stdout] | ---------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | plugins: HashMap::new(), [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] --> nonebot_rs/src/nb.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 105 | pub async fn run(self) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | self.async_run().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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> nonebot_rs/src/nb.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | pub async fn run(self) { [INFO] [stdout] | ______________________----__^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | | self.async_run().await; [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: aborting due to 24 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nonebot_rs` (lib) due to 25 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "96e6312aae55f149770372d085447e7ca5e77f4e8c87217390eea8dab3836766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96e6312aae55f149770372d085447e7ca5e77f4e8c87217390eea8dab3836766", kill_on_drop: false }` [INFO] [stdout] 96e6312aae55f149770372d085447e7ca5e77f4e8c87217390eea8dab3836766