[INFO] cloning repository https://github.com/arsen671games3/Teloxide-Multibot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arsen671games3/Teloxide-Multibot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farsen671games3%2FTeloxide-Multibot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farsen671games3%2FTeloxide-Multibot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fc4ba4be3be0f00dbb7819ca1e942a15c2796a8d [INFO] checking arsen671games3/Teloxide-Multibot/fc4ba4be3be0f00dbb7819ca1e942a15c2796a8d 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%2Farsen671games3%2FTeloxide-Multibot" "/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/arsen671games3/Teloxide-Multibot 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/arsen671games3/Teloxide-Multibot [INFO] finished tweaking git repo https://github.com/arsen671games3/Teloxide-Multibot [INFO] tweaked toml for git repo https://github.com/arsen671games3/Teloxide-Multibot written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/arsen671games3/Teloxide-Multibot 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] 187009738c79cf0fec241d25adf2b88cfe06f9930d90522265d52351c4499d52 [INFO] running `Command { std: "docker" "start" "-a" "187009738c79cf0fec241d25adf2b88cfe06f9930d90522265d52351c4499d52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "187009738c79cf0fec241d25adf2b88cfe06f9930d90522265d52351c4499d52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "187009738c79cf0fec241d25adf2b88cfe06f9930d90522265d52351c4499d52", kill_on_drop: false }` [INFO] [stdout] 187009738c79cf0fec241d25adf2b88cfe06f9930d90522265d52351c4499d52 [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] acf5b8c3527ef4ede58d121acfc005dc64fe05635f553951a0917d1e24b6639a [INFO] running `Command { std: "docker" "start" "-a" "acf5b8c3527ef4ede58d121acfc005dc64fe05635f553951a0917d1e24b6639a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.74 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Compiling syn v2.0.46 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.110 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rc-box v1.2.0 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking never v0.1.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking takecell v0.1.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.194 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling teloxide-macros v0.7.1 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking tower-http v0.3.5 [INFO] [stderr] Checking http-body-util v0.1.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking dptree v0.3.0 [INFO] [stderr] Checking tower-http v0.5.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking serde_path_to_error v0.1.15 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.23 [INFO] [stderr] Checking teloxide-core v0.9.1 [INFO] [stderr] Checking teloxide v0.12.2 [INFO] [stderr] Checking teloxide-multibot v0.1.0 (/opt/rustwide/workdir) [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:51:14 [INFO] [stdout] | [INFO] [stdout] 50 | let listeners_and_bots = join_all(bot_tokens.iter().zip(bots).map(|(bot_token, bot)| async { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | (axum_app::start_bot( [INFO] [stdout] | ______________^ [INFO] [stdout] 52 | | bot.clone(), [INFO] [stdout] 53 | | axum_app::get_bot_id_from_bot_token(bot_token).unwrap(), [INFO] [stdout] 54 | | &bots_manager [INFO] [stdout] 55 | | ) [INFO] [stdout] 56 | | .await [INFO] [stdout] 57 | | .expect("Error while starting bot"), bot) [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 61 | for (listener, bot) in listeners_and_bots { [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] 62 | let bots_manager_reference_clone = bots_manager_reference.clone(); [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | ).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] --> src/main.rs:65:50 [INFO] [stdout] | [INFO] [stdout] 65 | .default_handler(|_upd| Box::pin(async {})) [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] [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/axum_app.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 60 | fn new(sender: HashMap, Bot)>) -> Self { [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | Self { origin: std::sync::Arc::new(std::sync::RwLock::new(Some(sender))) } [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/axum_app.rs:258:32 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn make_axum_app(mut options: Options, ) -> (impl Future, BotsManager) { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | let (stop_token, stop_flag) = mk_stop_token(); [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] 207 | let tx = ClosableSender::new(HashMap::new()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | let origin = tx.origin.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 209 | let senders = tx.origin.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 210 | let state = WebhookState { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | let delete_webhook_stop_flag = stop_flag.clone().then(|()| async move { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 237 | let stop_token_for_server = stop_token.clone(); [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | let app = axum::Router::new() [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 252 | let stop_token_for_handler = stop_token.clone(); [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 258 | (delete_webhook_stop_flag, BotsManager{senders, stop_token, options}) [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `teloxide-multibot` (bin "teloxide-multibot") due to 6 previous errors [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] --> src/main.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 50 | let listeners_and_bots = join_all(bot_tokens.iter().zip(bots).map(|(bot_token, bot)| async { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | (axum_app::start_bot( [INFO] [stdout] | ______________^ [INFO] [stdout] 52 | | bot.clone(), [INFO] [stdout] 53 | | axum_app::get_bot_id_from_bot_token(bot_token).unwrap(), [INFO] [stdout] 54 | | &bots_manager [INFO] [stdout] 55 | | ) [INFO] [stdout] 56 | | .await [INFO] [stdout] 57 | | .expect("Error while starting bot"), bot) [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 61 | for (listener, bot) in listeners_and_bots { [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] 62 | let bots_manager_reference_clone = bots_manager_reference.clone(); [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | ).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] --> src/main.rs:65:50 [INFO] [stdout] | [INFO] [stdout] 65 | .default_handler(|_upd| Box::pin(async {})) [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] [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/axum_app.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 60 | fn new(sender: HashMap, Bot)>) -> Self { [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | Self { origin: std::sync::Arc::new(std::sync::RwLock::new(Some(sender))) } [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/axum_app.rs:258:32 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn make_axum_app(mut options: Options, ) -> (impl Future, BotsManager) { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | let (stop_token, stop_flag) = mk_stop_token(); [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] 207 | let tx = ClosableSender::new(HashMap::new()); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | let origin = tx.origin.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 209 | let senders = tx.origin.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 210 | let state = WebhookState { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | let delete_webhook_stop_flag = stop_flag.clone().then(|()| async move { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 237 | let stop_token_for_server = stop_token.clone(); [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | let app = axum::Router::new() [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 252 | let stop_token_for_handler = stop_token.clone(); [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 258 | (delete_webhook_stop_flag, BotsManager{senders, stop_token, options}) [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `teloxide-multibot` (bin "teloxide-multibot" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "acf5b8c3527ef4ede58d121acfc005dc64fe05635f553951a0917d1e24b6639a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acf5b8c3527ef4ede58d121acfc005dc64fe05635f553951a0917d1e24b6639a", kill_on_drop: false }` [INFO] [stdout] acf5b8c3527ef4ede58d121acfc005dc64fe05635f553951a0917d1e24b6639a