[INFO] fetching crate awedio 0.4.1... [INFO] checking awedio-0.4.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate awedio 0.4.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate awedio 0.4.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 awedio 0.4.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate awedio 0.4.1 [INFO] tweaked toml for crates.io crate awedio 0.4.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate awedio 0.4.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-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] 647b0fd64a5bcc200b0a8300e6a496696bcc10c215ddc017fc36628312485ab8 [INFO] running `Command { std: "docker" "start" "-a" "647b0fd64a5bcc200b0a8300e6a496696bcc10c215ddc017fc36628312485ab8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "647b0fd64a5bcc200b0a8300e6a496696bcc10c215ddc017fc36628312485ab8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "647b0fd64a5bcc200b0a8300e6a496696bcc10c215ddc017fc36628312485ab8", kill_on_drop: false }` [INFO] [stdout] 647b0fd64a5bcc200b0a8300e6a496696bcc10c215ddc017fc36628312485ab8 [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] c9dd7fe884688a9d6d08bf54321d27fc188db0faae2f850145c477851f20f40b [INFO] running `Command { std: "docker" "start" "-a" "c9dd7fe884688a9d6d08bf54321d27fc188db0faae2f850145c477851f20f40b", kill_on_drop: false }` [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking bytemuck v1.16.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking extended v0.1.0 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking qoaudio v0.7.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking symphonia-core v0.5.4 [INFO] [stderr] Checking symphonia-metadata v0.5.4 [INFO] [stderr] Checking symphonia-codec-adpcm v0.5.4 [INFO] [stderr] Checking symphonia-codec-pcm v0.5.4 [INFO] [stderr] Checking symphonia-codec-alac v0.5.4 [INFO] [stderr] Checking symphonia-codec-aac v0.5.4 [INFO] [stderr] Checking alsa v0.9.0 [INFO] [stderr] Checking symphonia-utils-xiph v0.5.4 [INFO] [stderr] Checking symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Checking symphonia-format-riff v0.5.4 [INFO] [stderr] Checking symphonia-format-caf v0.5.4 [INFO] [stderr] Checking symphonia-format-ogg v0.5.4 [INFO] [stderr] Checking symphonia-bundle-flac v0.5.4 [INFO] [stderr] Checking symphonia-format-isomp4 v0.5.4 [INFO] [stderr] Checking symphonia-codec-vorbis v0.5.4 [INFO] [stderr] Checking symphonia-format-mkv v0.5.4 [INFO] [stderr] Checking symphonia v0.5.4 [INFO] [stderr] Checking awedio v0.4.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/lib.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 27 | let mut backend = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | backends::CpalBackend::with_defaults().ok_or(backends::CpalBackendError::NoDevice)?; [INFO] [stdout] 29 | let manager = backend.start(|error| eprintln!("error with cpal output stream: {}", error))?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | Ok((manager, backend)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] = 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/backends/cpal_backend.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 37 | let device = host.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] 44 | Some(CpalBackend { [INFO] [stdout] | ______________^ [INFO] [stdout] 45 | | channel_count, [INFO] [stdout] 46 | | sample_rate, [INFO] [stdout] 47 | | buffer_size: CpalBufferSize::Default, [INFO] [stdout] ... | [INFO] [stdout] 50 | | sample_format, [INFO] [stdout] 51 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/backends/cpal_backend.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 64 | let device = host.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] 67 | Some(CpalBackend { [INFO] [stdout] | ______________^ [INFO] [stdout] 68 | | channel_count, [INFO] [stdout] 69 | | sample_rate, [INFO] [stdout] 70 | | buffer_size, [INFO] [stdout] ... | [INFO] [stdout] 73 | | sample_format, [INFO] [stdout] 74 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/backends/cpal_backend.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 82 | device: cpal::Device, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | stream: None, [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/sounds/decoders/qoa.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(data: R) -> Result, DecodeError> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | let mut raw_decoder = RawDecoder::new(data)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | Ok(QoaDecoder { [INFO] [stdout] | ____________^ [INFO] [stdout] 34 | | raw_decoder, [INFO] [stdout] 35 | | sample_rate, [INFO] [stdout] 36 | | channel_count, [INFO] [stdout] 37 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/sounds/wrappers/sample_rate_converter.rs:112:46 [INFO] [stdout] | [INFO] [stdout] 112 | let mut collect_frame = || match self.inner.next_frame() { [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/sounds/memory_sound.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn from_sound(mut orig: impl Sound) -> Result { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | Ok(MemorySound { [INFO] [stdout] | ____________^ [INFO] [stdout] 80 | | samples: Arc::new(samples), [INFO] [stdout] 81 | | channel_count, [INFO] [stdout] 82 | | sample_rate, [INFO] [stdout] 83 | | next_sample: 0, [INFO] [stdout] 84 | | should_loop: false, [INFO] [stdout] 85 | | }) [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `awedio` (lib) due to 8 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/lib.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 27 | let mut backend = [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | backends::CpalBackend::with_defaults().ok_or(backends::CpalBackendError::NoDevice)?; [INFO] [stdout] 29 | let manager = backend.start(|error| eprintln!("error with cpal output stream: {}", error))?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | Ok((manager, backend)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] = 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/backends/cpal_backend.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 37 | let device = host.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] 44 | Some(CpalBackend { [INFO] [stdout] | ______________^ [INFO] [stdout] 45 | | channel_count, [INFO] [stdout] 46 | | sample_rate, [INFO] [stdout] 47 | | buffer_size: CpalBufferSize::Default, [INFO] [stdout] ... | [INFO] [stdout] 50 | | sample_format, [INFO] [stdout] 51 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/backends/cpal_backend.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 64 | let device = host.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] 67 | Some(CpalBackend { [INFO] [stdout] | ______________^ [INFO] [stdout] 68 | | channel_count, [INFO] [stdout] 69 | | sample_rate, [INFO] [stdout] 70 | | buffer_size, [INFO] [stdout] ... | [INFO] [stdout] 73 | | sample_format, [INFO] [stdout] 74 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/backends/cpal_backend.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 82 | device: cpal::Device, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | stream: None, [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/sounds/decoders/qoa.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(data: R) -> Result, DecodeError> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | let mut raw_decoder = RawDecoder::new(data)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | Ok(QoaDecoder { [INFO] [stdout] | ____________^ [INFO] [stdout] 34 | | raw_decoder, [INFO] [stdout] 35 | | sample_rate, [INFO] [stdout] 36 | | channel_count, [INFO] [stdout] 37 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/sounds/wrappers/sample_rate_converter.rs:112:46 [INFO] [stdout] | [INFO] [stdout] 112 | let mut collect_frame = || match self.inner.next_frame() { [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/sounds/memory_sound.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn from_sound(mut orig: impl Sound) -> Result { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | Ok(MemorySound { [INFO] [stdout] | ____________^ [INFO] [stdout] 80 | | samples: Arc::new(samples), [INFO] [stdout] 81 | | channel_count, [INFO] [stdout] 82 | | sample_rate, [INFO] [stdout] 83 | | next_sample: 0, [INFO] [stdout] 84 | | should_loop: false, [INFO] [stdout] 85 | | }) [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `awedio` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "c9dd7fe884688a9d6d08bf54321d27fc188db0faae2f850145c477851f20f40b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9dd7fe884688a9d6d08bf54321d27fc188db0faae2f850145c477851f20f40b", kill_on_drop: false }` [INFO] [stdout] c9dd7fe884688a9d6d08bf54321d27fc188db0faae2f850145c477851f20f40b