[INFO] cloning repository https://github.com/andir/shutdown [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andir/shutdown" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandir%2Fshutdown", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandir%2Fshutdown'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5578661f066ff5840c4ae1c9c2dcf9a3b7c5597 [INFO] checking andir/shutdown/a5578661f066ff5840c4ae1c9c2dcf9a3b7c5597 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%2Fandir%2Fshutdown" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andir/shutdown 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/andir/shutdown [INFO] finished tweaking git repo https://github.com/andir/shutdown [INFO] tweaked toml for git repo https://github.com/andir/shutdown written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/andir/shutdown 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] a37d743618c3799c23210276e0ad99d405044350804b24980c5478314ccad24b [INFO] running `Command { std: "docker" "start" "-a" "a37d743618c3799c23210276e0ad99d405044350804b24980c5478314ccad24b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a37d743618c3799c23210276e0ad99d405044350804b24980c5478314ccad24b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a37d743618c3799c23210276e0ad99d405044350804b24980c5478314ccad24b", kill_on_drop: false }` [INFO] [stdout] a37d743618c3799c23210276e0ad99d405044350804b24980c5478314ccad24b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 871ee9c671e4c526169035e21a0c702f698a20a2e2568eae8851092988c412aa [INFO] running `Command { std: "docker" "start" "-a" "871ee9c671e4c526169035e21a0c702f698a20a2e2568eae8851092988c412aa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking untrusted v0.6.2 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling unicase v2.5.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling ryu v1.0.1 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Checking tokio-executor v0.1.8 [INFO] [stderr] Checking tokio-sync v0.1.7 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking http v0.1.18 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Checking tokio-timer v0.2.11 [INFO] [stderr] Checking tokio-threadpool v0.1.16 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking tokio-reactor v0.1.10 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Checking backtrace v0.3.38 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling bindgen v0.43.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Compiling cexpr v0.3.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking indexmap v1.2.0 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Checking miniz_oxide v0.3.3 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stderr] Checking mime v0.3.14 [INFO] [stderr] Checking dtoa v0.4.4 [INFO] [stderr] Checking flate2 v1.0.12 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking publicsuffix v1.5.3 [INFO] [stderr] Checking sct v0.5.0 [INFO] [stderr] Checking webpki v0.19.1 [INFO] [stderr] Checking ct-logs v0.5.1 [INFO] [stderr] Checking env_logger v0.7.0 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Checking rustls v0.15.2 [INFO] [stderr] Checking webpki-roots v0.16.0 [INFO] [stderr] Compiling derive_more v0.13.0 [INFO] [stderr] Checking tokio-rustls v0.9.4 [INFO] [stderr] Checking mqtt311 v0.2.0 [INFO] [stderr] Checking hyper-rustls v0.16.1 [INFO] [stderr] Compiling libical-sys v0.1.3 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking jsonwebtoken v6.0.1 [INFO] [stderr] Checking rumqtt v0.31.0 [INFO] [stderr] Checking reqwest v0.9.19 [INFO] [stderr] Checking shutdown v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `icalcomponent_kind_ICAL_ANY_COMPONENT as ICAL_ANY_COMPONENT` [INFO] [stdout] --> src/calendar/mod.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | icalcomponent, icalcomponent_free, icalcomponent_kind_ICAL_ANY_COMPONENT as ICAL_ANY_COMPONENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icalcomponent_kind_ICAL_ANY_COMPONENT as ICAL_ANY_COMPONENT` [INFO] [stdout] --> src/calendar/mod.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | icalcomponent, icalcomponent_free, icalcomponent_kind_ICAL_ANY_COMPONENT as ICAL_ANY_COMPONENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/calendar/event.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let mut raw = unsafe { icalcomponent_get_dtstart(component) }; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/calendar/event.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | let mut raw = unsafe { icalcomponent_get_dtend(component) }; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/calendar/mod.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | fn from(e: std::ffi::NulError) -> Error { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/calendar/event.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let mut raw = unsafe { icalcomponent_get_dtstart(component) }; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/calendar/event.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | let mut raw = unsafe { icalcomponent_get_dtend(component) }; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/calendar/mod.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | fn from(e: std::ffi::NulError) -> Error { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/hass/mod.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | HomeAssistant(home_assistant::Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | HomeAssistant(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mqtt.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | MosquittoConnectError(rumqtt::error::ConnectError), [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | MosquittoConnectError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Calendar` is never used [INFO] [stdout] --> src/calendar/mod.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | trait Calendar { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Parser` is never constructed [INFO] [stdout] --> src/calendar/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 22 | Parser, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] --> src/main.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 43 | hass: hass::HomeAssistant, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | sender: futures::sync::mpsc::Sender, [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | interrupter: Arc::new(Mutex::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] = 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:64:18 [INFO] [stdout] | [INFO] [stdout] 60 | let futs = vec![ [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | Box::new(futures::future::join_all(futs).map(|_| ())) [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:92:13 [INFO] [stdout] | [INFO] [stdout] 91 | let sender = self.sender.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | / sender [INFO] [stdout] 93 | | .send(OpCode::Publish((msg.topic.clone(), msg.value.clone()))) [INFO] [stdout] 94 | | .map(move |_| println!("published {} {}", msg.topic, msg.value)) [INFO] [stdout] 95 | | .map_err(|_| ()) [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:206:25 [INFO] [stdout] | [INFO] [stdout] 181 | let ((tx, rx), m) = mqtt::MqttConnection::new(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 195 | let auto_shutdown = AutoShutdown::new(hass, door_topic, delay, tx.clone(), shutdown_messages); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | rx.for_each(move |msg| { [INFO] [stdout] | _________________________^ [INFO] [stdout] 207 | | auto_shutdown.handle_msg(msg); [INFO] [stdout] 208 | | Ok(()) [INFO] [stdout] 209 | | }) [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/hass/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 42 | entity: impl AsRef, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | / hass.call_service( [INFO] [stdout] 46 | | "climate", [INFO] [stdout] 47 | | "set_temperature", [INFO] [stdout] 48 | | Some( [INFO] [stdout] ... | [INFO] [stdout] 52 | | ), [INFO] [stdout] 53 | | ) [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/hass/home_assistant.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn new(base_url: impl IntoUrl, conf: Option) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let conf = conf.unwrap_or_else(|| HomeAssistantConfiguration::new()); [INFO] [stdout] 56 | let client = ClientBuilder::new() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | Ok(Self { base_url, client }) [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/hass/home_assistant.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 93 | name: impl AsRef, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | / self.client [INFO] [stdout] 98 | | .get(url) [INFO] [stdout] 99 | | .send() [INFO] [stdout] 100 | | .and_then(|r| r.error_for_status()) [INFO] [stdout] 101 | | .and_then(|mut r| r.json()) [INFO] [stdout] 102 | | .map_err(|e| Error::from(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/hass/home_assistant.rs:102:30 [INFO] [stdout] | [INFO] [stdout] 102 | .map_err(|e| Error::from(e).into()), [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/hass/home_assistant.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 108 | name: impl AsRef, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | / self.client [INFO] [stdout] 115 | | .post(url) [INFO] [stdout] 116 | | .json(&new_state) [INFO] [stdout] 117 | | .send() [INFO] [stdout] 118 | | .and_then(|r| r.error_for_status()) [INFO] [stdout] 119 | | .and_then(|mut r| r.json()) [INFO] [stdout] 120 | | .map_err(|e| Error::from(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/hass/home_assistant.rs:120:30 [INFO] [stdout] | [INFO] [stdout] 120 | .map_err(|e| Error::from(e).into()), [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/hass/home_assistant.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 126 | domain: impl AsRef, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | name: impl AsRef, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | let req = self.client.post(url); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | let req = match attributes { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | / req.send() [INFO] [stdout] 138 | | .and_then(|r| { [INFO] [stdout] 139 | | println!("error for status"); [INFO] [stdout] 140 | | r.error_for_status() [INFO] [stdout] ... | [INFO] [stdout] 149 | | Error::from(e).into() [INFO] [stdout] 150 | | }), [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/hass/home_assistant.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 147 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | println!("calling service failed: {:?}", e); [INFO] [stdout] 149 | Error::from(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/hass/home_assistant.rs:168:26 [INFO] [stdout] | [INFO] [stdout] 160 | fn run_one(f: F) -> std::result::Result [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | let mut runtime = tokio::runtime::Runtime::new().expect("Unable to create a runtime"); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | runtime.block_on(f.into_future()) [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/mqtt.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 39 | let (inner_sender, outer_receiver) = channel(512); [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 | let (outer_sender, inner_receiver) = channel(512); [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] 41 | [INFO] [stdout] 42 | let m = MqttConnection { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | ((outer_sender, outer_receiver), m) [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/mqtt.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 59 | let rx = self.event_receiver; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let mut loop_client = mqtt_client.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let ht = std::thread::spawn(move || { [INFO] [stdout] 62 | tokio::run(rx.for_each(move |msg| { [INFO] [stdout] | ________________________^ [INFO] [stdout] 63 | | match msg { [INFO] [stdout] 64 | | OpCode::Subscribe(topic) => { [INFO] [stdout] 65 | | println!("subscribing: {}", topic); [INFO] [stdout] ... | [INFO] [stdout] 78 | | Ok(()) [INFO] [stdout] 79 | | })) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/calendar/mod.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 50 | fn new_from_str(data: impl AsRef) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | let s: CString = CString::new(data.as_ref())?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | Ok(Ical { calendar }) [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/calendar/mod.rs:311:26 [INFO] [stdout] | [INFO] [stdout] 303 | fn run_one(f: F) -> std::result::Result [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 310 | let mut runtime = tokio::runtime::Runtime::new().expect("Unable to create a runtime"); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 311 | runtime.block_on(f.into_future()) [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 17 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/hass/mod.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | HomeAssistant(home_assistant::Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | HomeAssistant(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_state` and `set_state` are never used [INFO] [stdout] --> src/hass/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Hass { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 23 | fn get_state( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn set_state( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mqtt.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | MosquittoConnectError(rumqtt::error::ConnectError), [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | MosquittoConnectError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Calendar` is never used [INFO] [stdout] --> src/calendar/mod.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | trait Calendar { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Parser` is never constructed [INFO] [stdout] --> src/calendar/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 22 | Parser, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/calendar/mod.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_from_str`, `iter`, and `print_events` are never used [INFO] [stdout] --> src/calendar/mod.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl Ical { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 50 | fn new_from_str(data: impl AsRef) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn iter(&self) -> IcalIterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn print_events(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_timet` is never used [INFO] [stdout] --> src/calendar/mod.rs:290:4 [INFO] [stdout] | [INFO] [stdout] 290 | fn convert_timet(time: libical_sys::time_t) -> std::time::SystemTime { [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/main.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 43 | hass: hass::HomeAssistant, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | sender: futures::sync::mpsc::Sender, [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | interrupter: Arc::new(Mutex::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] = 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:64:18 [INFO] [stdout] | [INFO] [stdout] 60 | let futs = vec![ [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | Box::new(futures::future::join_all(futs).map(|_| ())) [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:92:13 [INFO] [stdout] | [INFO] [stdout] 91 | let sender = self.sender.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | / sender [INFO] [stdout] 93 | | .send(OpCode::Publish((msg.topic.clone(), msg.value.clone()))) [INFO] [stdout] 94 | | .map(move |_| println!("published {} {}", msg.topic, msg.value)) [INFO] [stdout] 95 | | .map_err(|_| ()) [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:206:25 [INFO] [stdout] | [INFO] [stdout] 181 | let ((tx, rx), m) = mqtt::MqttConnection::new(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 195 | let auto_shutdown = AutoShutdown::new(hass, door_topic, delay, tx.clone(), shutdown_messages); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 206 | rx.for_each(move |msg| { [INFO] [stdout] | _________________________^ [INFO] [stdout] 207 | | auto_shutdown.handle_msg(msg); [INFO] [stdout] 208 | | Ok(()) [INFO] [stdout] 209 | | }) [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/hass/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 42 | entity: impl AsRef, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | / hass.call_service( [INFO] [stdout] 46 | | "climate", [INFO] [stdout] 47 | | "set_temperature", [INFO] [stdout] 48 | | Some( [INFO] [stdout] ... | [INFO] [stdout] 52 | | ), [INFO] [stdout] 53 | | ) [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/hass/home_assistant.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn new(base_url: impl IntoUrl, conf: Option) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let conf = conf.unwrap_or_else(|| HomeAssistantConfiguration::new()); [INFO] [stdout] 56 | let client = ClientBuilder::new() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | Ok(Self { base_url, client }) [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/hass/home_assistant.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 93 | name: impl AsRef, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | / self.client [INFO] [stdout] 98 | | .get(url) [INFO] [stdout] 99 | | .send() [INFO] [stdout] 100 | | .and_then(|r| r.error_for_status()) [INFO] [stdout] 101 | | .and_then(|mut r| r.json()) [INFO] [stdout] 102 | | .map_err(|e| Error::from(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/hass/home_assistant.rs:102:30 [INFO] [stdout] | [INFO] [stdout] 102 | .map_err(|e| Error::from(e).into()), [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/hass/home_assistant.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 108 | name: impl AsRef, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | / self.client [INFO] [stdout] 115 | | .post(url) [INFO] [stdout] 116 | | .json(&new_state) [INFO] [stdout] 117 | | .send() [INFO] [stdout] 118 | | .and_then(|r| r.error_for_status()) [INFO] [stdout] 119 | | .and_then(|mut r| r.json()) [INFO] [stdout] 120 | | .map_err(|e| Error::from(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/hass/home_assistant.rs:120:30 [INFO] [stdout] | [INFO] [stdout] 120 | .map_err(|e| Error::from(e).into()), [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/hass/home_assistant.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 126 | domain: impl AsRef, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | name: impl AsRef, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | let req = self.client.post(url); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | let req = match attributes { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | / req.send() [INFO] [stdout] 138 | | .and_then(|r| { [INFO] [stdout] 139 | | println!("error for status"); [INFO] [stdout] 140 | | r.error_for_status() [INFO] [stdout] ... | [INFO] [stdout] 149 | | Error::from(e).into() [INFO] [stdout] 150 | | }), [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/hass/home_assistant.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 147 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | println!("calling service failed: {:?}", e); [INFO] [stdout] 149 | Error::from(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/mqtt.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 39 | let (inner_sender, outer_receiver) = channel(512); [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 | let (outer_sender, inner_receiver) = channel(512); [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] 41 | [INFO] [stdout] 42 | let m = MqttConnection { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | ((outer_sender, outer_receiver), m) [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] error: could not compile `shutdown` (bin "shutdown" test) due to 18 previous errors; 8 warnings emitted [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/mqtt.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 59 | let rx = self.event_receiver; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let mut loop_client = mqtt_client.clone(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let ht = std::thread::spawn(move || { [INFO] [stdout] 62 | tokio::run(rx.for_each(move |msg| { [INFO] [stdout] | ________________________^ [INFO] [stdout] 63 | | match msg { [INFO] [stdout] 64 | | OpCode::Subscribe(topic) => { [INFO] [stdout] 65 | | println!("subscribing: {}", topic); [INFO] [stdout] ... | [INFO] [stdout] 78 | | Ok(()) [INFO] [stdout] 79 | | })) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/calendar/mod.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 50 | fn new_from_str(data: impl AsRef) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | let s: CString = CString::new(data.as_ref())?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | Ok(Ical { calendar }) [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: aborting due to 15 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shutdown` (bin "shutdown") due to 16 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "871ee9c671e4c526169035e21a0c702f698a20a2e2568eae8851092988c412aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "871ee9c671e4c526169035e21a0c702f698a20a2e2568eae8851092988c412aa", kill_on_drop: false }` [INFO] [stdout] 871ee9c671e4c526169035e21a0c702f698a20a2e2568eae8851092988c412aa