[INFO] cloning repository https://github.com/wangyanyu1817/ipcserialtest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wangyanyu1817/ipcserialtest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangyanyu1817%2Fipcserialtest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangyanyu1817%2Fipcserialtest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b88e3d8fdd7adf8815d78bd76b41684249718416 [INFO] checking wangyanyu1817/ipcserialtest against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangyanyu1817%2Fipcserialtest" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wangyanyu1817/ipcserialtest on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wangyanyu1817/ipcserialtest [INFO] finished tweaking git repo https://github.com/wangyanyu1817/ipcserialtest [INFO] tweaked toml for git repo https://github.com/wangyanyu1817/ipcserialtest written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wangyanyu1817/ipcserialtest 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded once_cell v1.12.0 [INFO] [stderr] Downloaded tokio-modbus v0.5.2 [INFO] [stderr] Downloaded clap_lex v0.2.0 [INFO] [stderr] Downloaded indexmap v1.8.2 [INFO] [stderr] Downloaded serialport v4.2.0 [INFO] [stderr] Downloaded mio v0.8.3 [INFO] [stderr] Downloaded async-trait v0.1.56 [INFO] [stderr] Downloaded libudev v0.3.0 [INFO] [stderr] Downloaded tokio-serial v5.4.3 [INFO] [stderr] Downloaded clap v3.1.18 [INFO] [stderr] Downloaded mio-serial v5.0.2 [INFO] [stderr] Downloaded regex v1.5.6 [INFO] [stderr] Downloaded nix v0.24.1 [INFO] [stderr] Downloaded syn v1.0.96 [INFO] [stderr] Downloaded regex-syntax v0.6.26 [INFO] [stderr] Downloaded tokio v1.19.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2ac70228982169f92d552069042c90dda93b6f07db252d703c1945b4897e89e [INFO] running `Command { std: "docker" "start" "-a" "e2ac70228982169f92d552069042c90dda93b6f07db252d703c1945b4897e89e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2ac70228982169f92d552069042c90dda93b6f07db252d703c1945b4897e89e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2ac70228982169f92d552069042c90dda93b6f07db252d703c1945b4897e89e", kill_on_drop: false }` [INFO] [stdout] e2ac70228982169f92d552069042c90dda93b6f07db252d703c1945b4897e89e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 625cddb9367207575afde50c82ac395b37bfeec84ef4c0b1f7de57e439103dd6 [INFO] running `Command { std: "docker" "start" "-a" "625cddb9367207575afde50c82ac395b37bfeec84ef4c0b1f7de57e439103dd6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking nix v0.24.1 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking libudev v0.3.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serialport v4.2.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Checking mio-serial v5.0.2 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-serial v5.4.3 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking tokio-modbus v0.5.2 [INFO] [stderr] Checking serial v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `handler` is never read [INFO] [stdout] --> src/main.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut handler: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id_cnt` is never read [INFO] [stdout] --> src/modbus_slave.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) struct MbServer { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 23 | rx: Arc)>>>>, [INFO] [stdout] 24 | id_cnt: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `handler` is never read [INFO] [stdout] --> src/main.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut handler: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id_cnt` is never read [INFO] [stdout] --> src/modbus_slave.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) struct MbServer { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 23 | rx: Arc)>>>>, [INFO] [stdout] 24 | id_cnt: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.36s [INFO] running `Command { std: "docker" "inspect" "625cddb9367207575afde50c82ac395b37bfeec84ef4c0b1f7de57e439103dd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "625cddb9367207575afde50c82ac395b37bfeec84ef4c0b1f7de57e439103dd6", kill_on_drop: false }` [INFO] [stdout] 625cddb9367207575afde50c82ac395b37bfeec84ef4c0b1f7de57e439103dd6 [INFO] checking wangyanyu1817/ipcserialtest against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangyanyu1817%2Fipcserialtest" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wangyanyu1817/ipcserialtest on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wangyanyu1817/ipcserialtest [INFO] finished tweaking git repo https://github.com/wangyanyu1817/ipcserialtest [INFO] tweaked toml for git repo https://github.com/wangyanyu1817/ipcserialtest written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/wangyanyu1817/ipcserialtest 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b09cae54e8414fa7cd613a03b6c76852064c39aa5fdc80ce1ce546b5abd57a53 [INFO] running `Command { std: "docker" "start" "-a" "b09cae54e8414fa7cd613a03b6c76852064c39aa5fdc80ce1ce546b5abd57a53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b09cae54e8414fa7cd613a03b6c76852064c39aa5fdc80ce1ce546b5abd57a53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b09cae54e8414fa7cd613a03b6c76852064c39aa5fdc80ce1ce546b5abd57a53", kill_on_drop: false }` [INFO] [stdout] b09cae54e8414fa7cd613a03b6c76852064c39aa5fdc80ce1ce546b5abd57a53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93ac479406e0e9bbde2a30e49a0d70e91daa099d489321bb96a5473b7604aa0d [INFO] running `Command { std: "docker" "start" "-a" "93ac479406e0e9bbde2a30e49a0d70e91daa099d489321bb96a5473b7604aa0d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking nix v0.24.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking libudev v0.3.0 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serialport v4.2.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Checking mio-serial v5.0.2 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-serial v5.4.3 [INFO] [stderr] Checking tokio-modbus v0.5.2 [INFO] [stderr] Checking serial v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `handler` is never read [INFO] [stdout] --> src/main.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut handler: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `handler` is never read [INFO] [stdout] --> src/main.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut handler: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id_cnt` is never read [INFO] [stdout] --> src/modbus_slave.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) struct MbServer { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 23 | rx: Arc)>>>>, [INFO] [stdout] 24 | id_cnt: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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:79:26 [INFO] [stdout] | [INFO] [stdout] 75 | let s = serialport::new(port.clone(), speed) [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | Arc::new(Mutex::new(s)) [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:157:18 [INFO] [stdout] | [INFO] [stdout] 157 | .map(|h| h.join().unwrap()) [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/main.rs:168:19 [INFO] [stdout] | [INFO] [stdout] 163 | lp: Arc>>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | thread::spawn(move || loop { [INFO] [stdout] | ___________________^ [INFO] [stdout] 169 | | let mut p = lp.lock().unwrap(); [INFO] [stdout] 170 | | let mut buf: Vec = vec![0; 50]; [INFO] [stdout] 171 | | if let Ok(cnt) = p.read(buf.as_mut_slice()) { [INFO] [stdout] ... | [INFO] [stdout] 191 | | thread::sleep(Duration::from_millis(interval)); [INFO] [stdout] 192 | | }) [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: field `id_cnt` is never read [INFO] [stdout] --> src/modbus_slave.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) struct MbServer { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 23 | rx: Arc)>>>>, [INFO] [stdout] 24 | id_cnt: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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:204:19 [INFO] [stdout] | [INFO] [stdout] 197 | lp: Arc>>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 202 | tx: Arc)>>>>, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | ) -> thread::JoinHandle<()> { [INFO] [stdout] 204 | thread::spawn(move || loop { [INFO] [stdout] | ___________________^ [INFO] [stdout] 205 | | let mut p = lp.lock().unwrap(); [INFO] [stdout] 206 | | let mut event: Vec = Vec::new(); [INFO] [stdout] 207 | | let mut rbuf: Vec = vec![0; lens.try_into().unwrap()]; [INFO] [stdout] ... | [INFO] [stdout] 259 | | thread::sleep(Duration::from_millis(interval)); [INFO] [stdout] 260 | | }) [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/modbus_slave.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 94 | rx: Arc)>>>>, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | Ok(MbServer { [INFO] [stdout] | ________________^ [INFO] [stdout] 101 | | rx: rx.clone(), [INFO] [stdout] 102 | | id_cnt, [INFO] [stdout] 103 | | }) [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:79:26 [INFO] [stdout] | [INFO] [stdout] 75 | let s = serialport::new(port.clone(), speed) [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | Arc::new(Mutex::new(s)) [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:157:18 [INFO] [stdout] | [INFO] [stdout] 157 | .map(|h| h.join().unwrap()) [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/main.rs:168:19 [INFO] [stdout] | [INFO] [stdout] 163 | lp: Arc>>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | thread::spawn(move || loop { [INFO] [stdout] | ___________________^ [INFO] [stdout] 169 | | let mut p = lp.lock().unwrap(); [INFO] [stdout] 170 | | let mut buf: Vec = vec![0; 50]; [INFO] [stdout] 171 | | if let Ok(cnt) = p.read(buf.as_mut_slice()) { [INFO] [stdout] ... | [INFO] [stdout] 191 | | thread::sleep(Duration::from_millis(interval)); [INFO] [stdout] 192 | | }) [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:204:19 [INFO] [stdout] | [INFO] [stdout] 197 | lp: Arc>>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 202 | tx: Arc)>>>>, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | ) -> thread::JoinHandle<()> { [INFO] [stdout] 204 | thread::spawn(move || loop { [INFO] [stdout] | ___________________^ [INFO] [stdout] 205 | | let mut p = lp.lock().unwrap(); [INFO] [stdout] 206 | | let mut event: Vec = Vec::new(); [INFO] [stdout] 207 | | let mut rbuf: Vec = vec![0; lens.try_into().unwrap()]; [INFO] [stdout] ... | [INFO] [stdout] 259 | | thread::sleep(Duration::from_millis(interval)); [INFO] [stdout] 260 | | }) [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/modbus_slave.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 94 | rx: Arc)>>>>, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | Ok(MbServer { [INFO] [stdout] | ________________^ [INFO] [stdout] 101 | | rx: rx.clone(), [INFO] [stdout] 102 | | id_cnt, [INFO] [stdout] 103 | | }) [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `serial` (bin "serial") due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `serial` (bin "serial" test) due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "93ac479406e0e9bbde2a30e49a0d70e91daa099d489321bb96a5473b7604aa0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93ac479406e0e9bbde2a30e49a0d70e91daa099d489321bb96a5473b7604aa0d", kill_on_drop: false }` [INFO] [stdout] 93ac479406e0e9bbde2a30e49a0d70e91daa099d489321bb96a5473b7604aa0d