[INFO] cloning repository https://github.com/PhotonQuantum/hithit_bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PhotonQuantum/hithit_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhotonQuantum%2Fhithit_bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhotonQuantum%2Fhithit_bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e6ab738746ad4c8446b065805b1b674feb9a1c1 [INFO] checking PhotonQuantum/hithit_bot/3e6ab738746ad4c8446b065805b1b674feb9a1c1 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%2FPhotonQuantum%2Fhithit_bot" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PhotonQuantum/hithit_bot on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/PhotonQuantum/hithit_bot [INFO] finished tweaking git repo https://github.com/PhotonQuantum/hithit_bot [INFO] tweaked toml for git repo https://github.com/PhotonQuantum/hithit_bot written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/PhotonQuantum/hithit_bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 31ab7ab13b8b27f5fe40e968bc05fd096d0c5ea2b9263b8c5012308bb1197259 [INFO] running `Command { std: "docker" "start" "-a" "31ab7ab13b8b27f5fe40e968bc05fd096d0c5ea2b9263b8c5012308bb1197259", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31ab7ab13b8b27f5fe40e968bc05fd096d0c5ea2b9263b8c5012308bb1197259", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31ab7ab13b8b27f5fe40e968bc05fd096d0c5ea2b9263b8c5012308bb1197259", kill_on_drop: false }` [INFO] [stdout] 31ab7ab13b8b27f5fe40e968bc05fd096d0c5ea2b9263b8c5012308bb1197259 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 08d59739c2bae48082ecf5ca0fe0012eb2d50bd6b19287ac4935f74a7fc29b23 [INFO] running `Command { std: "docker" "start" "-a" "08d59739c2bae48082ecf5ca0fe0012eb2d50bd6b19287ac4935f74a7fc29b23", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling syn v1.0.104 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking regex-syntax v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling rustls v0.20.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking time-core v0.1.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking time v0.3.17 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling rustversion v1.0.11 [INFO] [stderr] Checking aho-corasick v1.0.1 [INFO] [stderr] Compiling semver v1.0.6 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling cc v1.0.100 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Checking regex v1.8.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking ipnet v2.4.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling io-lifetimes v1.0.10 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking subtle v2.6.0 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling rustls v0.23.10 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rustix v0.37.25 [INFO] [stderr] Checking rustls-pemfile v0.2.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling libz-sys v1.1.5 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling libgit2-sys v0.14.2+1.5.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling sentry-contexts v0.34.0 [INFO] [stderr] Compiling vergen v7.5.1 [INFO] [stderr] Checking rc-box v1.1.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking takecell v0.1.1 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Checking never v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking hostname v0.4.0 [INFO] [stderr] Checking flurry v0.3.1 [INFO] [stderr] Checking uname v0.1.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking owo-colors v3.2.0 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Checking matchit v0.4.6 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking ranges v0.4.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Checking const_format v0.2.32 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling enum-iterator-derive v1.1.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Compiling aquamarine v0.1.11 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling enum-iterator v1.2.0 [INFO] [stderr] Checking tokio v1.38.1 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Compiling serde_with_macros v1.5.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking webpki v0.22.2 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki-roots v0.22.5 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking color-spantrace v0.2.0 [INFO] [stderr] Checking rustls-webpki v0.102.4 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Checking color-eyre v0.6.3 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking axum-core v0.1.2 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking dptree v0.1.0 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking tokio-util v0.7.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-rustls v0.23.2 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking tower v0.4.12 [INFO] [stderr] Checking h2 v0.3.12 [INFO] [stderr] Checking hyper-util v0.1.5 [INFO] [stderr] Checking tower-http v0.2.4 [INFO] [stderr] Checking uuid v1.0.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Compiling git2 v0.16.1 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking hyper-rustls v0.27.2 [INFO] [stderr] Checking sentry-types v0.34.0 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Checking hyper v0.14.17 [INFO] [stderr] Compiling hithit_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking sentry-core v0.34.0 [INFO] [stderr] Checking sentry-backtrace v0.34.0 [INFO] [stderr] Checking sentry-panic v0.34.0 [INFO] [stderr] Checking sentry-tracing v0.34.0 [INFO] [stderr] Checking sentry v0.34.0 [INFO] [stderr] Checking hyper-rustls v0.23.0 [INFO] [stderr] Checking axum v0.4.8 [INFO] [stderr] Checking reqwest v0.11.9 [INFO] [stderr] Checking teloxide-core v0.4.3 [INFO] [stderr] Checking teloxide v0.7.2 [INFO] [stderr] Checking teloxide-listener v0.1.0-beta.1 [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:133:18 [INFO] [stdout] | [INFO] [stdout] 130 | fn handle_error(self: Arc, error: E) -> BoxFuture<'static, ()> { [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] 133 | Box::pin(async {}) [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/formatter.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | kind: kind [INFO] [stdout] | ___________________^ [INFO] [stdout] 102 | | .clone() [INFO] [stdout] 103 | | .union(&segment_to_merge.kind) [INFO] [stdout] 104 | | .cloned() [INFO] [stdout] 105 | | .collect(), [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/handlers.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | output.unwrap_or_else(|e| elaborate_error(e).into()) [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/handlers.rs:82:35 [INFO] [stdout] | [INFO] [stdout] 82 | output.unwrap_or_else(|e| elaborate_error(e).into()) [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] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/memory.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let msg = msg.borrow(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `teloxide::prelude::Message` does not implement `Borrow`, so calling `borrow` on `&teloxide::prelude::Message` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 34 - let msg = msg.borrow(); [INFO] [stdout] 34 + let msg = msg; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `teloxide::prelude::Message`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/teloxide-core-0.4.3/src/types/message.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(Clone)] [INFO] [stdout] 18 | pub struct Message { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/curly.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 17 | let mut ast = vec![]; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | let mut named: HashSet = HashSet::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | Ok(Formatter { [INFO] [stdout] | ________^ [INFO] [stdout] 82 | | data: ast, [INFO] [stdout] 83 | | indexed: max(anonymous_counter, max_indexed), [INFO] [stdout] 84 | | named, [INFO] [stdout] 85 | | }) [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/process.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 14 | booking: MutexGuard, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | let fmt_ctx = build_format_ctx(bot_user, booking, msg)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | [INFO] [stdout] 26 | let parser = if text.starts_with(EXPLAIN_COMMAND_EXTENDED.get().unwrap()) { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let formatter = parser.try_as_formatter()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | [INFO] [stdout] 55 | Ok(formatter.format(&fmt_ctx)?) [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] | 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/process.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 60 | mut booking: MutexGuard, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | Some(if let Some(reply_msg) = message.reply_to_message() { [INFO] [stdout] | __________^ [INFO] [stdout] 64 | | let user = reply_msg.from()?; [INFO] [stdout] 65 | | if user == bot_user { [INFO] [stdout] 66 | | let cached_msg = booking.reverse_lookup(&reply_msg.try_into().ok()?); [INFO] [stdout] ... | [INFO] [stdout] 87 | | Segment::from_user_with_name(message.from()?.clone(), String::from("自己")) [INFO] [stdout] 88 | | }) [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/process.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 93 | booking: MutexGuard, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | let sender = Segment::from_user(msg.from().ok_or(Error::ShouldNotHandle)?.clone()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | let me = Segment::from_user_with_name( [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | let receiver = get_reply_user(bot_user, booking, msg).ok_or(Error::ShouldNotHandle)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 102 | Ok(FormatContext::new(sender, receiver, me)) [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/segments.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 58 | fn from(data: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | Self { [INFO] [stdout] 60 | data: data.into_iter().collect(), [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/segments.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn trim(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | self.trim_start().trim_end() [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:133:18 [INFO] [stdout] | [INFO] [stdout] 130 | fn handle_error(self: Arc, error: E) -> BoxFuture<'static, ()> { [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] 133 | Box::pin(async {}) [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/formatter.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | kind: kind [INFO] [stdout] | ___________________^ [INFO] [stdout] 102 | | .clone() [INFO] [stdout] 103 | | .union(&segment_to_merge.kind) [INFO] [stdout] 104 | | .cloned() [INFO] [stdout] 105 | | .collect(), [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/handlers.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | output.unwrap_or_else(|e| elaborate_error(e).into()) [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/handlers.rs:82:35 [INFO] [stdout] | [INFO] [stdout] 82 | output.unwrap_or_else(|e| elaborate_error(e).into()) [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 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/memory.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let msg = msg.borrow(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `teloxide::prelude::Message` does not implement `Borrow`, so calling `borrow` on `&teloxide::prelude::Message` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 34 - let msg = msg.borrow(); [INFO] [stdout] 34 + let msg = msg; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `teloxide::prelude::Message`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/teloxide-core-0.4.3/src/types/message.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(Clone)] [INFO] [stdout] 18 | pub struct Message { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/curly.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 17 | let mut ast = vec![]; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | let mut named: HashSet = HashSet::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | Ok(Formatter { [INFO] [stdout] | ________^ [INFO] [stdout] 82 | | data: ast, [INFO] [stdout] 83 | | indexed: max(anonymous_counter, max_indexed), [INFO] [stdout] 84 | | named, [INFO] [stdout] 85 | | }) [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/process.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 14 | booking: MutexGuard, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | let fmt_ctx = build_format_ctx(bot_user, booking, msg)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | [INFO] [stdout] 26 | let parser = if text.starts_with(EXPLAIN_COMMAND_EXTENDED.get().unwrap()) { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | let formatter = parser.try_as_formatter()?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | [INFO] [stdout] 55 | Ok(formatter.format(&fmt_ctx)?) [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] | 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/process.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 60 | mut booking: MutexGuard, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | Some(if let Some(reply_msg) = message.reply_to_message() { [INFO] [stdout] | __________^ [INFO] [stdout] 64 | | let user = reply_msg.from()?; [INFO] [stdout] 65 | | if user == bot_user { [INFO] [stdout] 66 | | let cached_msg = booking.reverse_lookup(&reply_msg.try_into().ok()?); [INFO] [stdout] ... | [INFO] [stdout] 87 | | Segment::from_user_with_name(message.from()?.clone(), String::from("自己")) [INFO] [stdout] 88 | | }) [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/process.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 93 | booking: MutexGuard, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | let sender = Segment::from_user(msg.from().ok_or(Error::ShouldNotHandle)?.clone()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | let me = Segment::from_user_with_name( [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | let receiver = get_reply_user(bot_user, booking, msg).ok_or(Error::ShouldNotHandle)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 102 | Ok(FormatContext::new(sender, receiver, me)) [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/segments.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 58 | fn from(data: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | Self { [INFO] [stdout] 60 | data: data.into_iter().collect(), [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/segments.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn trim(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | self.trim_start().trim_end() [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 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hithit_bot` (bin "hithit_bot" test) due to 11 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hithit_bot` (bin "hithit_bot") due to 11 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "08d59739c2bae48082ecf5ca0fe0012eb2d50bd6b19287ac4935f74a7fc29b23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08d59739c2bae48082ecf5ca0fe0012eb2d50bd6b19287ac4935f74a7fc29b23", kill_on_drop: false }` [INFO] [stdout] 08d59739c2bae48082ecf5ca0fe0012eb2d50bd6b19287ac4935f74a7fc29b23