[INFO] cloning repository https://github.com/Jo-a-ninhas/telecom-p1-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jo-a-ninhas/telecom-p1-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJo-a-ninhas%2Ftelecom-p1-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJo-a-ninhas%2Ftelecom-p1-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f0ff4f8ed5d2e7e17edf301137295509c3fda9b0 [INFO] checking Jo-a-ninhas/telecom-p1-rust/f0ff4f8ed5d2e7e17edf301137295509c3fda9b0 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%2FJo-a-ninhas%2Ftelecom-p1-rust" "/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/Jo-a-ninhas/telecom-p1-rust 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/Jo-a-ninhas/telecom-p1-rust [INFO] finished tweaking git repo https://github.com/Jo-a-ninhas/telecom-p1-rust [INFO] tweaked toml for git repo https://github.com/Jo-a-ninhas/telecom-p1-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Jo-a-ninhas/telecom-p1-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `plotters` dependency) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45dabd4c8368639715f99a38adf48e9c4a795adc5df035be641e693d8e838fa9 [INFO] running `Command { std: "docker" "start" "-a" "45dabd4c8368639715f99a38adf48e9c4a795adc5df035be641e693d8e838fa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45dabd4c8368639715f99a38adf48e9c4a795adc5df035be641e693d8e838fa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45dabd4c8368639715f99a38adf48e9c4a795adc5df035be641e693d8e838fa9", kill_on_drop: false }` [INFO] [stdout] 45dabd4c8368639715f99a38adf48e9c4a795adc5df035be641e693d8e838fa9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef709313564263dfdcaca9f2f043b01effc8df0075f42d2e4541584186256c3c [INFO] running `Command { std: "docker" "start" "-a" "ef709313564263dfdcaca9f2f043b01effc8df0075f42d2e4541584186256c3c", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `plotters` dependency) [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking alsa v0.9.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking interp1d v0.2.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking modem v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `in_samples` [INFO] [stdout] --> src/v21.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn demodulate(&mut self, in_samples: &[f32], out_samples: &mut [u8]) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_samples` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out_samples` [INFO] [stdout] --> src/v21.rs:27:54 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn demodulate(&mut self, in_samples: &[f32], out_samples: &mut [u8]) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_samples` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/uart.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn put_samples(&mut self, buffer: &[u8]) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_samples` [INFO] [stdout] --> src/v21.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn demodulate(&mut self, in_samples: &[f32], out_samples: &mut [u8]) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_samples` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out_samples` [INFO] [stdout] --> src/v21.rs:27:54 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn demodulate(&mut self, in_samples: &[f32], out_samples: &mut [u8]) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_samples` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/uart.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn put_samples(&mut self, buffer: &[u8]) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sampling_period`, `samples_per_symbol`, `omega_mark`, and `omega_space` are never read [INFO] [stdout] --> src/v21.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct V21RX { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 4 | // TODO: coloque outros atributos que você precisar aqui [INFO] [stdout] 5 | sampling_period: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | samples_per_symbol: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | omega_mark: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | omega_space: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `samples_per_symbol` is never read [INFO] [stdout] --> src/uart.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UartRx { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | // TODO: coloque outros atributos que você precisar aqui [INFO] [stdout] 6 | samples_per_symbol: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sampling_period`, `samples_per_symbol`, `omega_mark`, and `omega_space` are never read [INFO] [stdout] --> src/v21.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct V21RX { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 4 | // TODO: coloque outros atributos que você precisar aqui [INFO] [stdout] 5 | sampling_period: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | samples_per_symbol: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | omega_mark: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | omega_space: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `samples_per_symbol` is never read [INFO] [stdout] --> src/uart.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UartRx { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | // TODO: coloque outros atributos que você precisar aqui [INFO] [stdout] 6 | samples_per_symbol: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> src/uart.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn put_samples(&mut self, buffer: &[u8]) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_samples` [INFO] [stdout] --> src/v21.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn demodulate(&mut self, in_samples: &[f32], out_samples: &mut [u8]) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_samples` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out_samples` [INFO] [stdout] --> src/v21.rs:27:54 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn demodulate(&mut self, in_samples: &[f32], out_samples: &mut [u8]) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_samples` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `samples_per_symbol` is never read [INFO] [stdout] --> src/uart.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UartRx { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | // TODO: coloque outros atributos que você precisar aqui [INFO] [stdout] 6 | samples_per_symbol: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sampling_period`, `samples_per_symbol`, `omega_mark`, and `omega_space` are never read [INFO] [stdout] --> src/v21.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct V21RX { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 4 | // TODO: coloque outros atributos que você precisar aqui [INFO] [stdout] 5 | sampling_period: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | samples_per_symbol: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | omega_mark: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | omega_space: f32, [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:168:9 [INFO] [stdout] | [INFO] [stdout] 156 | uart_tx: Arc>, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | / move |audio_out: &mut [T], _: &cpal::OutputCallbackInfo| { [INFO] [stdout] 169 | | let bufsize = audio_out.len() / channels; [INFO] [stdout] 170 | | let mut uart_out = vec![1; bufsize]; [INFO] [stdout] 171 | | uart_tx.lock().unwrap().get_samples(&mut uart_out); [INFO] [stdout] ... | [INFO] [stdout] 180 | | } [INFO] [stdout] 181 | | }, [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:203:9 [INFO] [stdout] | [INFO] [stdout] 190 | mut uart_rx: UartRx, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 203 | / move |audio_in: &[T], _: &cpal::InputCallbackInfo| { [INFO] [stdout] 204 | | let bufsize = audio_in.len() / channels; [INFO] [stdout] 205 | | let mut v21_in = vec![0.; bufsize]; [INFO] [stdout] 206 | | for (frame, dest) in audio_in.chunks(channels).zip(v21_in.iter_mut()) { [INFO] [stdout] ... | [INFO] [stdout] 213 | | uart_rx.put_samples(&uart_in); [INFO] [stdout] 214 | | }, [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/serial_linux.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 14 | from_uart: Receiver, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | to_uart: Sender, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | ) -> anyhow::Result { [INFO] [stdout] 17 | let res = nix::pty::openpty(None, None)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let pty = res.master; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | Ok(Self { to_uart, pty }) [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] warning: unused variable: `buffer` [INFO] [stdout] --> src/uart.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn put_samples(&mut self, buffer: &[u8]) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_samples` [INFO] [stdout] --> src/v21.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn demodulate(&mut self, in_samples: &[f32], out_samples: &mut [u8]) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_samples` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out_samples` [INFO] [stdout] --> src/v21.rs:27:54 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn demodulate(&mut self, in_samples: &[f32], out_samples: &mut [u8]) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_samples` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `modem` (bin "modem" test) due to 4 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `samples_per_symbol` is never read [INFO] [stdout] --> src/uart.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct UartRx { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | // TODO: coloque outros atributos que você precisar aqui [INFO] [stdout] 6 | samples_per_symbol: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sampling_period`, `samples_per_symbol`, `omega_mark`, and `omega_space` are never read [INFO] [stdout] --> src/v21.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct V21RX { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 4 | // TODO: coloque outros atributos que você precisar aqui [INFO] [stdout] 5 | sampling_period: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | samples_per_symbol: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | omega_mark: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | omega_space: f32, [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:168:9 [INFO] [stdout] | [INFO] [stdout] 156 | uart_tx: Arc>, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | / move |audio_out: &mut [T], _: &cpal::OutputCallbackInfo| { [INFO] [stdout] 169 | | let bufsize = audio_out.len() / channels; [INFO] [stdout] 170 | | let mut uart_out = vec![1; bufsize]; [INFO] [stdout] 171 | | uart_tx.lock().unwrap().get_samples(&mut uart_out); [INFO] [stdout] ... | [INFO] [stdout] 180 | | } [INFO] [stdout] 181 | | }, [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:203:9 [INFO] [stdout] | [INFO] [stdout] 190 | mut uart_rx: UartRx, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 203 | / move |audio_in: &[T], _: &cpal::InputCallbackInfo| { [INFO] [stdout] 204 | | let bufsize = audio_in.len() / channels; [INFO] [stdout] 205 | | let mut v21_in = vec![0.; bufsize]; [INFO] [stdout] 206 | | for (frame, dest) in audio_in.chunks(channels).zip(v21_in.iter_mut()) { [INFO] [stdout] ... | [INFO] [stdout] 213 | | uart_rx.put_samples(&uart_in); [INFO] [stdout] 214 | | }, [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/serial_linux.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 14 | from_uart: Receiver, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | to_uart: Sender, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | ) -> anyhow::Result { [INFO] [stdout] 17 | let res = nix::pty::openpty(None, None)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let pty = res.master; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | Ok(Self { to_uart, pty }) [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 3 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `modem` (bin "modem") due to 4 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ef709313564263dfdcaca9f2f043b01effc8df0075f42d2e4541584186256c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef709313564263dfdcaca9f2f043b01effc8df0075f42d2e4541584186256c3c", kill_on_drop: false }` [INFO] [stdout] ef709313564263dfdcaca9f2f043b01effc8df0075f42d2e4541584186256c3c