[INFO] fetching crate echolot 0.1.1... [INFO] checking echolot-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate echolot 0.1.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate echolot 0.1.1 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 crates.io crate echolot 0.1.1 [INFO] finished tweaking crates.io crate echolot 0.1.1 [INFO] tweaked toml for crates.io crate echolot 0.1.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate echolot 0.1.1 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] c722358a6eec2f3dd5a734a1749507cb6698d552d6ccc24fa06f87a027609c83 [INFO] running `Command { std: "docker" "start" "-a" "c722358a6eec2f3dd5a734a1749507cb6698d552d6ccc24fa06f87a027609c83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c722358a6eec2f3dd5a734a1749507cb6698d552d6ccc24fa06f87a027609c83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c722358a6eec2f3dd5a734a1749507cb6698d552d6ccc24fa06f87a027609c83", kill_on_drop: false }` [INFO] [stdout] c722358a6eec2f3dd5a734a1749507cb6698d552d6ccc24fa06f87a027609c83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 9c23c8cecefd3e9ccaabb643ee69d598e3bb4706ec1259c179dfd4f45dbbb848 [INFO] running `Command { std: "docker" "start" "-a" "9c23c8cecefd3e9ccaabb643ee69d598e3bb4706ec1259c179dfd4f45dbbb848", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking strength_reduce v0.2.3 [INFO] [stderr] Compiling cpal v0.13.5 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking rsor v0.1.3 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking num-complex v0.4.1 [INFO] [stderr] Checking numeric-array v0.5.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking primal-check v0.3.1 [INFO] [stderr] Checking transpose v0.2.1 [INFO] [stderr] Checking rustfft v6.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling duplicate v0.4.0 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking alsa v0.6.0 [INFO] [stderr] Checking fundsp v0.6.3 [INFO] [stderr] Checking echolot v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/transmit.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base64::encode as encode_base64` [INFO] [stdout] --> src/transmit.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use base64::encode as encode_base64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::File` [INFO] [stdout] --> src/receive.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::File, sync::mpsc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/receive.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base64::decode as decode_base64` [INFO] [stdout] --> src/receive.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use base64::decode as decode_base64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/transmit.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base64::encode as encode_base64` [INFO] [stdout] --> src/transmit.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use base64::encode as encode_base64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::File` [INFO] [stdout] --> src/receive.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::File, sync::mpsc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/receive.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base64::decode as decode_base64` [INFO] [stdout] --> src/receive.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use base64::decode as decode_base64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/coding.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn decode(transmission: Vec, sample_rate: u32) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `freq_to_base64` is never used [INFO] [stdout] --> src/coding.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn freq_to_base64(freq: f32) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `base64_value_to_base64_char` is never used [INFO] [stdout] --> src/coding.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn base64_value_to_base64_char(n: u8) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `i16_to_f32` is never used [INFO] [stdout] --> src/receive/util.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn i16_to_f32(sample: &[i16]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u16_to_f32` is never used [INFO] [stdout] --> src/receive/util.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn u16_to_f32(sample: &[u16]) -> Vec { [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/transmit/speaker.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 30 | let device = host.default_output_device().expect("failed to find a default output device"); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 34 | | device, [INFO] [stdout] 35 | | config, [INFO] [stdout] 36 | | }) [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: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/coding.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn decode(transmission: Vec, sample_rate: u32) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `freq_to_base64` is never used [INFO] [stdout] --> src/coding.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn freq_to_base64(freq: f32) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `base64_value_to_base64_char` is never used [INFO] [stdout] --> src/coding.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn base64_value_to_base64_char(n: u8) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `i16_to_f32` is never used [INFO] [stdout] --> src/receive/util.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn i16_to_f32(sample: &[i16]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u16_to_f32` is never used [INFO] [stdout] --> src/receive/util.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn u16_to_f32(sample: &[u16]) -> Vec { [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/transmit/speaker.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 30 | let device = host.default_output_device().expect("failed to find a default output device"); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 34 | | device, [INFO] [stdout] 35 | | config, [INFO] [stdout] 36 | | }) [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] [stderr] error: could not compile `echolot` (bin "echolot" test) due to 2 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `echolot` (bin "echolot") due to 2 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9c23c8cecefd3e9ccaabb643ee69d598e3bb4706ec1259c179dfd4f45dbbb848", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c23c8cecefd3e9ccaabb643ee69d598e3bb4706ec1259c179dfd4f45dbbb848", kill_on_drop: false }` [INFO] [stdout] 9c23c8cecefd3e9ccaabb643ee69d598e3bb4706ec1259c179dfd4f45dbbb848