[INFO] cloning repository https://github.com/caique-rocha/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/caique-rocha/telecom-p1-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaique-rocha%2Ftelecom-p1-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaique-rocha%2Ftelecom-p1-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 084dfa28c30ba27cc50d9164dcc78ec5bf8951a3 [INFO] checking caique-rocha/telecom-p1-rust/084dfa28c30ba27cc50d9164dcc78ec5bf8951a3 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%2Fcaique-rocha%2Ftelecom-p1-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/caique-rocha/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/caique-rocha/telecom-p1-rust [INFO] finished tweaking git repo https://github.com/caique-rocha/telecom-p1-rust [INFO] tweaked toml for git repo https://github.com/caique-rocha/telecom-p1-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/caique-rocha/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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] c355ae80b2c5c910f6fd475c84464f3aa08733bdec7e28223038d960aea33873 [INFO] running `Command { std: "docker" "start" "-a" "c355ae80b2c5c910f6fd475c84464f3aa08733bdec7e28223038d960aea33873", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c355ae80b2c5c910f6fd475c84464f3aa08733bdec7e28223038d960aea33873", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c355ae80b2c5c910f6fd475c84464f3aa08733bdec7e28223038d960aea33873", kill_on_drop: false }` [INFO] [stdout] c355ae80b2c5c910f6fd475c84464f3aa08733bdec7e28223038d960aea33873 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 99dfb660195fc50bd78680c55cd120717149f3a648c9016422f27e8b44520e8c [INFO] running `Command { std: "docker" "start" "-a" "99dfb660195fc50bd78680c55cd120717149f3a648c9016422f27e8b44520e8c", 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 autocfg v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rustfft v6.2.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking glam v0.25.0 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking rsor v0.1.4 [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] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling duplicate v1.0.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking numeric-array v0.5.2 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking transpose v0.2.3 [INFO] [stderr] Checking primal-check v0.3.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Checking alsa v0.9.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking funutd v0.14.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking thingbuf v0.1.6 [INFO] [stderr] Checking interp1d v0.2.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking realfft v3.3.0 [INFO] [stderr] Checking fundsp v0.17.1 [INFO] [stderr] Checking modem v0.1.0 (/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/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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `modem` (bin "modem") due to 4 previous errors [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/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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `modem` (bin "modem" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "99dfb660195fc50bd78680c55cd120717149f3a648c9016422f27e8b44520e8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99dfb660195fc50bd78680c55cd120717149f3a648c9016422f27e8b44520e8c", kill_on_drop: false }` [INFO] [stdout] 99dfb660195fc50bd78680c55cd120717149f3a648c9016422f27e8b44520e8c