[INFO] fetching crate miniaudio 0.10.0... [INFO] testing miniaudio-0.10.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate miniaudio 0.10.0 into /workspace/builds/worker-4-tc1/source [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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate miniaudio 0.10.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.73 [INFO] [stderr] Downloaded ep-miniaudio-sys v2.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e38d271171a45863f9642333ccdf513471dccb4840fb061d3ee7546f945c6e55 [INFO] running `Command { std: "docker" "start" "-a" "e38d271171a45863f9642333ccdf513471dccb4840fb061d3ee7546f945c6e55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e38d271171a45863f9642333ccdf513471dccb4840fb061d3ee7546f945c6e55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e38d271171a45863f9642333ccdf513471dccb4840fb061d3ee7546f945c6e55", kill_on_drop: false }` [INFO] [stdout] e38d271171a45863f9642333ccdf513471dccb4840fb061d3ee7546f945c6e55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] db46ed17da6688af618bb085237d6a16e26ccdd1f0f8c9a2a68669760d02aede [INFO] running `Command { std: "docker" "start" "-a" "db46ed17da6688af618bb085237d6a16e26ccdd1f0f8c9a2a68669760d02aede", 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 bitflags v1.2.1 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling ep-miniaudio-sys v2.3.1 [INFO] [stderr] Compiling miniaudio v0.10.0 (/opt/rustwide/workdir) [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: 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(Box), [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/frames.rs:69:45 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn frames<'t, S: 'static + Sample>(&'t self) -> impl 't + Iterator { [INFO] [stdout] | ^^ -- ---- the lifetimes get resolved as `'t` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'t` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'t` [INFO] [stdout] | [INFO] [stdout] 69 | pub fn frames<'t, S: 'static + Sample>(&'t self) -> impl 't + Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/frames.rs:182:45 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn frames<'t, S: 'static + Sample>(&'t self) -> impl 't + Iterator { [INFO] [stdout] | ^^ -- ---- the lifetimes get resolved as `'t` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'t` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'t` [INFO] [stdout] | [INFO] [stdout] 182 | pub fn frames<'t, S: 'static + Sample>(&'t self) -> impl 't + Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/frames.rs:192:10 [INFO] [stdout] | [INFO] [stdout] 192 | &'t mut self, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 193 | ) -> impl 't + Iterator { [INFO] [stdout] | -- -------- the lifetimes get resolved as `'t` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'t` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'t` [INFO] [stdout] | [INFO] [stdout] 193 | ) -> impl 't + Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.02s [INFO] running `Command { std: "docker" "inspect" "db46ed17da6688af618bb085237d6a16e26ccdd1f0f8c9a2a68669760d02aede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db46ed17da6688af618bb085237d6a16e26ccdd1f0f8c9a2a68669760d02aede", kill_on_drop: false }` [INFO] [stdout] db46ed17da6688af618bb085237d6a16e26ccdd1f0f8c9a2a68669760d02aede [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 47bb0691697a97b59ea0e7ffbba77bca47c9bfbb1cfe4b444671982d07a16014 [INFO] running `Command { std: "docker" "start" "-a" "47bb0691697a97b59ea0e7ffbba77bca47c9bfbb1cfe4b444671982d07a16014", 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 miniaudio v0.10.0 (/opt/rustwide/workdir) [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: 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(Box), [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/frames.rs:69:45 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn frames<'t, S: 'static + Sample>(&'t self) -> impl 't + Iterator { [INFO] [stdout] | ^^ -- ---- the lifetimes get resolved as `'t` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'t` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'t` [INFO] [stdout] | [INFO] [stdout] 69 | pub fn frames<'t, S: 'static + Sample>(&'t self) -> impl 't + Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/frames.rs:182:45 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn frames<'t, S: 'static + Sample>(&'t self) -> impl 't + Iterator { [INFO] [stdout] | ^^ -- ---- the lifetimes get resolved as `'t` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'t` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'t` [INFO] [stdout] | [INFO] [stdout] 182 | pub fn frames<'t, S: 'static + Sample>(&'t self) -> impl 't + Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/frames.rs:192:10 [INFO] [stdout] | [INFO] [stdout] 192 | &'t mut self, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 193 | ) -> impl 't + Iterator { [INFO] [stdout] | -- -------- the lifetimes get resolved as `'t` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'t` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'t` [INFO] [stdout] | [INFO] [stdout] 193 | ) -> impl 't + Iterator { [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: 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(Box), [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/frames.rs:69:45 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn frames<'t, S: 'static + Sample>(&'t self) -> impl 't + Iterator { [INFO] [stdout] | ^^ -- ---- the lifetimes get resolved as `'t` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'t` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'t` [INFO] [stdout] | [INFO] [stdout] 69 | pub fn frames<'t, S: 'static + Sample>(&'t self) -> impl 't + Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/frames.rs:182:45 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn frames<'t, S: 'static + Sample>(&'t self) -> impl 't + Iterator { [INFO] [stdout] | ^^ -- ---- the lifetimes get resolved as `'t` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'t` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'t` [INFO] [stdout] | [INFO] [stdout] 182 | pub fn frames<'t, S: 'static + Sample>(&'t self) -> impl 't + Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/frames.rs:192:10 [INFO] [stdout] | [INFO] [stdout] 192 | &'t mut self, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 193 | ) -> impl 't + Iterator { [INFO] [stdout] | -- -------- the lifetimes get resolved as `'t` [INFO] [stdout] | | [INFO] [stdout] | the lifetimes get resolved as `'t` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'t` [INFO] [stdout] | [INFO] [stdout] 193 | ) -> impl 't + Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.92s [INFO] running `Command { std: "docker" "inspect" "47bb0691697a97b59ea0e7ffbba77bca47c9bfbb1cfe4b444671982d07a16014", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47bb0691697a97b59ea0e7ffbba77bca47c9bfbb1cfe4b444671982d07a16014", kill_on_drop: false }` [INFO] [stdout] 47bb0691697a97b59ea0e7ffbba77bca47c9bfbb1cfe4b444671982d07a16014 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 12a0e4b2f10ec3625049028e99878bbe9fea9b8d2a0a8c2f64d2b27c16856be1 [INFO] running `Command { std: "docker" "start" "-a" "12a0e4b2f10ec3625049028e99878bbe9fea9b8d2a0a8c2f64d2b27c16856be1", 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] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stderr] --> src/lock.rs:2:25 [INFO] [stderr] | [INFO] [stderr] 2 | use std::sync::atomic::{spin_loop_hint, AtomicUsize, Ordering}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stderr] --> src/lock.rs:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | spin_loop_hint(); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stderr] --> src/lock.rs:35:17 [INFO] [stderr] | [INFO] [stderr] 35 | spin_loop_hint(); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/lock.rs:42:22 [INFO] [stderr] | [INFO] [stderr] 42 | if self.lock.compare_and_swap(0, 1, Ordering::Acquire) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/device_io.rs:390:12 [INFO] [stderr] | [INFO] [stderr] 390 | Poison(Box), [INFO] [stderr] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 390 - Poison(Box), [INFO] [stderr] 390 + Poison(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> src/device_io.rs:514:22 [INFO] [stderr] | [INFO] [stderr] 514 | unsafe { Box::from_raw(user_data.cast::()) }; // drop it [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 514 | unsafe { let _ = Box::from_raw(user_data.cast::()); }; // drop it [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> src/device_io.rs:1430:22 [INFO] [stderr] | [INFO] [stderr] 1430 | unsafe { Box::from_raw(user_data.cast::()) }; // drop it [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 1430 | unsafe { let _ = Box::from_raw(user_data.cast::()); }; // drop it [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/frames.rs:69:45 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn frames<'t, S: 'static + Sample>(&'t self) -> impl 't + Iterator { [INFO] [stderr] | ^^ -- ---- the lifetimes get resolved as `'t` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'t` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to consistently use `'t` [INFO] [stderr] | [INFO] [stderr] 69 | pub fn frames<'t, S: 'static + Sample>(&'t self) -> impl 't + Iterator { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/frames.rs:182:45 [INFO] [stderr] | [INFO] [stderr] 182 | pub fn frames<'t, S: 'static + Sample>(&'t self) -> impl 't + Iterator { [INFO] [stderr] | ^^ -- ---- the lifetimes get resolved as `'t` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'t` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'t` [INFO] [stderr] | [INFO] [stderr] 182 | pub fn frames<'t, S: 'static + Sample>(&'t self) -> impl 't + Iterator { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/frames.rs:192:10 [INFO] [stderr] | [INFO] [stderr] 192 | &'t mut self, [INFO] [stderr] | ^^ this lifetime flows to the output [INFO] [stderr] 193 | ) -> impl 't + Iterator { [INFO] [stderr] | -- -------- the lifetimes get resolved as `'t` [INFO] [stderr] | | [INFO] [stderr] | the lifetimes get resolved as `'t` [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'t` [INFO] [stderr] | [INFO] [stderr] 193 | ) -> impl 't + Iterator { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: `miniaudio` (lib) generated 10 warnings (run `cargo fix --lib -p miniaudio` to apply 3 suggestions) [INFO] [stderr] warning: `miniaudio` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/miniaudio-5fe2df9da9078394) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "12a0e4b2f10ec3625049028e99878bbe9fea9b8d2a0a8c2f64d2b27c16856be1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12a0e4b2f10ec3625049028e99878bbe9fea9b8d2a0a8c2f64d2b27c16856be1", kill_on_drop: false }` [INFO] [stdout] 12a0e4b2f10ec3625049028e99878bbe9fea9b8d2a0a8c2f64d2b27c16856be1