[INFO] fetching crate miniaudio 0.10.0... [INFO] checking miniaudio-0.10.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate miniaudio 0.10.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate miniaudio 0.10.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate miniaudio 0.10.0 [INFO] finished tweaking crates.io crate miniaudio 0.10.0 [INFO] tweaked toml for crates.io crate miniaudio 0.10.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate miniaudio 0.10.0 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `miniaudio` library target) [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dcc301b8266901334616bc004ebdcedf4d570ce3add312b9f915b344c5f94588 [INFO] running `Command { std: "docker" "start" "-a" "dcc301b8266901334616bc004ebdcedf4d570ce3add312b9f915b344c5f94588", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dcc301b8266901334616bc004ebdcedf4d570ce3add312b9f915b344c5f94588", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcc301b8266901334616bc004ebdcedf4d570ce3add312b9f915b344c5f94588", kill_on_drop: false }` [INFO] [stdout] dcc301b8266901334616bc004ebdcedf4d570ce3add312b9f915b344c5f94588 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed657d6e87c8f890c3b56c60c7dd82af8487ccd3d90ce823beb33c6944e0b8c9 [INFO] running `Command { std: "docker" "start" "-a" "ed657d6e87c8f890c3b56c60c7dd82af8487ccd3d90ce823beb33c6944e0b8c9", kill_on_drop: false }` [INFO] [stderr] warning: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `miniaudio` library target) [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ep-miniaudio-sys v2.3.1 [INFO] [stderr] Checking miniaudio v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/frames.rs:69:83 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn frames<'t, S: 'static + Sample>(&'t self) -> impl 't + Iterator { [INFO] [stdout] | -- lifetime `'t` declared here ^ this elided lifetime gets resolved as `'t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/frames.rs:182:83 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn frames<'t, S: 'static + Sample>(&'t self) -> impl 't + Iterator { [INFO] [stdout] | -- lifetime `'t` declared here ^ this elided lifetime gets resolved as `'t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/frames.rs:193:36 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn frames_mut<'t, S: 'static + Sample>( [INFO] [stdout] | -- lifetime `'t` declared here [INFO] [stdout] 192 | &'t mut self, [INFO] [stdout] 193 | ) -> impl 't + Iterator { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/frames.rs:69:83 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn frames<'t, S: 'static + Sample>(&'t self) -> impl 't + Iterator { [INFO] [stdout] | -- lifetime `'t` declared here ^ this elided lifetime gets resolved as `'t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/frames.rs:182:83 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn frames<'t, S: 'static + Sample>(&'t self) -> impl 't + Iterator { [INFO] [stdout] | -- lifetime `'t` declared here ^ this elided lifetime gets resolved as `'t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/frames.rs:193:36 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn frames_mut<'t, S: 'static + Sample>( [INFO] [stdout] | -- lifetime `'t` declared here [INFO] [stdout] 192 | &'t mut self, [INFO] [stdout] 193 | ) -> impl 't + Iterator { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/lock.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::atomic::{spin_loop_hint, AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/lock.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/lock.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/lock.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::atomic::{spin_loop_hint, AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/lock.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/lock.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lock.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | if self.lock.compare_and_swap(0, 1, Ordering::Acquire) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lock.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | if self.lock.compare_and_swap(0, 1, Ordering::Acquire) == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/device_io.rs:390:12 [INFO] [stdout] | [INFO] [stdout] 390 | Poison(Box), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 390 | Poison(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/device_io.rs:514:22 [INFO] [stdout] | [INFO] [stdout] 514 | unsafe { Box::from_raw(user_data.cast::()) }; // drop it [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 514 | unsafe { let _ = Box::from_raw(user_data.cast::()); }; // drop it [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/device_io.rs:1430:22 [INFO] [stdout] | [INFO] [stdout] 1430 | unsafe { Box::from_raw(user_data.cast::()) }; // drop it [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1430 | unsafe { let _ = Box::from_raw(user_data.cast::()); }; // drop it [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/device_io.rs:390:12 [INFO] [stdout] | [INFO] [stdout] 390 | Poison(Box), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 390 | Poison(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/device_io.rs:514:22 [INFO] [stdout] | [INFO] [stdout] 514 | unsafe { Box::from_raw(user_data.cast::()) }; // drop it [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 514 | unsafe { let _ = Box::from_raw(user_data.cast::()); }; // drop it [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/device_io.rs:1430:22 [INFO] [stdout] | [INFO] [stdout] 1430 | unsafe { Box::from_raw(user_data.cast::()) }; // drop it [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1430 | unsafe { let _ = Box::from_raw(user_data.cast::()); }; // drop it [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.67s [INFO] running `Command { std: "docker" "inspect" "ed657d6e87c8f890c3b56c60c7dd82af8487ccd3d90ce823beb33c6944e0b8c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed657d6e87c8f890c3b56c60c7dd82af8487ccd3d90ce823beb33c6944e0b8c9", kill_on_drop: false }` [INFO] [stdout] ed657d6e87c8f890c3b56c60c7dd82af8487ccd3d90ce823beb33c6944e0b8c9