[INFO] cloning repository https://github.com/OliLay/smaRSt-fan [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OliLay/smaRSt-fan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOliLay%2FsmaRSt-fan", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOliLay%2FsmaRSt-fan'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b1529f21a2b3db52075e2bde02f32d23be87bd7e [INFO] checking OliLay/smaRSt-fan/b1529f21a2b3db52075e2bde02f32d23be87bd7e 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%2FOliLay%2FsmaRSt-fan" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/OliLay/smaRSt-fan 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/OliLay/smaRSt-fan [INFO] finished tweaking git repo https://github.com/OliLay/smaRSt-fan [INFO] tweaked toml for git repo https://github.com/OliLay/smaRSt-fan written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/OliLay/smaRSt-fan 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 5a9f59967188832120d1c08361e48c6517f3c126e10bfd9c471a46cc31396bfa [INFO] running `Command { std: "docker" "start" "-a" "5a9f59967188832120d1c08361e48c6517f3c126e10bfd9c471a46cc31396bfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a9f59967188832120d1c08361e48c6517f3c126e10bfd9c471a46cc31396bfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a9f59967188832120d1c08361e48c6517f3c126e10bfd9c471a46cc31396bfa", kill_on_drop: false }` [INFO] [stdout] 5a9f59967188832120d1c08361e48c6517f3c126e10bfd9c471a46cc31396bfa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 08364d3ef991aaf497b0f9343161ac24da24f08e52d6b93581f8bbcd7775f36a [INFO] running `Command { std: "docker" "start" "-a" "08364d3ef991aaf497b0f9343161ac24da24f08e52d6b93581f8bbcd7775f36a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking ppv-lite86 v0.2.14 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking instant v0.1.11 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking mqttbytes v0.5.0 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking bytesize v1.1.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking pollster v0.2.4 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking sysfs-pwm v0.1.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking pid v3.0.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking nix v0.22.2 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Checking simple_logger v1.13.0 [INFO] [stderr] Checking retry v1.3.0 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Compiling tokio-macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking sysfs_gpio v0.6.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking systemstat v0.1.8 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking rumqttc v0.9.0 [INFO] [stderr] Checking smarst-fan v0.9.1 (/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/config.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | let get_value = |key: &str| match settings.get::(key) { [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/control/pwm.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 90 | Err(err) => return Err(format!("Could not get current period from PWM. {}", err)), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | match self.pwm.set_duty_cycle_ns(duty_cycle) { [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:51:20 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(status: Arc>, config: &Config) -> Self { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let mqtt_options = MqttOptions::new( [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | let (client, mut connection) = Client::new(mqtt_options, 10); [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] 42 | let inner = InnerMqttClient { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | inner: Arc::new(Mutex::new(inner)), [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/config.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | let get_value = |key: &str| match settings.get::(key) { [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/sensing/tacho.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 117 | let inner_tacho = InnerTacho { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | inner: Arc::new(Mutex::new(inner_tacho)), [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/control/pwm.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 90 | Err(err) => return Err(format!("Could not get current period from PWM. {}", err)), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | match self.pwm.set_duty_cycle_ns(duty_cycle) { [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/signals.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 13 | let terminate_flag = Arc::new(AtomicBool::new(false)); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | Ok(SignalHandler { [INFO] [stdout] | ____________^ [INFO] [stdout] 20 | | terminate_flag: terminate_flag, [INFO] [stdout] 21 | | }) [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:51:20 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(status: Arc>, config: &Config) -> Self { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let mqtt_options = MqttOptions::new( [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | let (client, mut connection) = Client::new(mqtt_options, 10); [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] 42 | let inner = InnerMqttClient { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | inner: Arc::new(Mutex::new(inner)), [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/sensing/tacho.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 117 | let inner_tacho = InnerTacho { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | inner: Arc::new(Mutex::new(inner_tacho)), [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/signals.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 13 | let terminate_flag = Arc::new(AtomicBool::new(false)); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | Ok(SignalHandler { [INFO] [stdout] | ____________^ [INFO] [stdout] 20 | | terminate_flag: terminate_flag, [INFO] [stdout] 21 | | }) [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] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `smarst-fan` (bin "smarst-fan") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `smarst-fan` (bin "smarst-fan" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "08364d3ef991aaf497b0f9343161ac24da24f08e52d6b93581f8bbcd7775f36a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08364d3ef991aaf497b0f9343161ac24da24f08e52d6b93581f8bbcd7775f36a", kill_on_drop: false }` [INFO] [stdout] 08364d3ef991aaf497b0f9343161ac24da24f08e52d6b93581f8bbcd7775f36a