[INFO] fetching crate miniaudio 0.10.0... [INFO] checking miniaudio-0.10.0 against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] extracting crate miniaudio 0.10.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate miniaudio 0.10.0 on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "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-7-tc1/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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39e6b65c2948cdf42cfb29bf586e229abd6aa8393a8dfacb93b6c4b8fbeaeae3 [INFO] running `Command { std: "docker" "start" "-a" "39e6b65c2948cdf42cfb29bf586e229abd6aa8393a8dfacb93b6c4b8fbeaeae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39e6b65c2948cdf42cfb29bf586e229abd6aa8393a8dfacb93b6c4b8fbeaeae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39e6b65c2948cdf42cfb29bf586e229abd6aa8393a8dfacb93b6c4b8fbeaeae3", kill_on_drop: false }` [INFO] [stdout] 39e6b65c2948cdf42cfb29bf586e229abd6aa8393a8dfacb93b6c4b8fbeaeae3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f50ab1ef847c7880cc60aa365f449a92ebaeede3d3b0d6fc8647bdf214c588d [INFO] running `Command { std: "docker" "start" "-a" "0f50ab1ef847c7880cc60aa365f449a92ebaeede3d3b0d6fc8647bdf214c588d", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling ep-miniaudio-sys v2.3.1 [INFO] [stderr] Checking miniaudio v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Error` is imported redundantly [INFO] [stdout] --> src/decoder.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::base::*; [INFO] [stdout] | -------------- the item `Error` is already imported here [INFO] [stdout] 2 | use crate::lock::{RwLockReadGuard, RwLockWriteGuard, SpinRwLock}; [INFO] [stdout] 3 | use crate::{Error, Format, FramesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Format` is imported redundantly [INFO] [stdout] --> src/decoder.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::base::*; [INFO] [stdout] | -------------- the item `Format` is already imported here [INFO] [stdout] 2 | use crate::lock::{RwLockReadGuard, RwLockWriteGuard, SpinRwLock}; [INFO] [stdout] 3 | use crate::{Error, Format, FramesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Error` is imported redundantly [INFO] [stdout] --> src/decoder.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::base::*; [INFO] [stdout] | -------------- the item `Error` is already imported here [INFO] [stdout] 2 | use crate::lock::{RwLockReadGuard, RwLockWriteGuard, SpinRwLock}; [INFO] [stdout] 3 | use crate::{Error, Format, FramesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Format` is imported redundantly [INFO] [stdout] --> src/decoder.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::base::*; [INFO] [stdout] | -------------- the item `Format` is already imported here [INFO] [stdout] 2 | use crate::lock::{RwLockReadGuard, RwLockWriteGuard, SpinRwLock}; [INFO] [stdout] 3 | use crate::{Error, Format, FramesMut}; [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 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: 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: 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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.76s [INFO] running `Command { std: "docker" "inspect" "0f50ab1ef847c7880cc60aa365f449a92ebaeede3d3b0d6fc8647bdf214c588d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f50ab1ef847c7880cc60aa365f449a92ebaeede3d3b0d6fc8647bdf214c588d", kill_on_drop: false }` [INFO] [stdout] 0f50ab1ef847c7880cc60aa365f449a92ebaeede3d3b0d6fc8647bdf214c588d [INFO] checking miniaudio-0.10.0 against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] extracting crate miniaudio 0.10.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate miniaudio 0.10.0 on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "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-7-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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8607b584d26a95af1cd0eee2968cdef2601bac999ab7bf9d05bb0d5cc9bb16e4 [INFO] running `Command { std: "docker" "start" "-a" "8607b584d26a95af1cd0eee2968cdef2601bac999ab7bf9d05bb0d5cc9bb16e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8607b584d26a95af1cd0eee2968cdef2601bac999ab7bf9d05bb0d5cc9bb16e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8607b584d26a95af1cd0eee2968cdef2601bac999ab7bf9d05bb0d5cc9bb16e4", kill_on_drop: false }` [INFO] [stdout] 8607b584d26a95af1cd0eee2968cdef2601bac999ab7bf9d05bb0d5cc9bb16e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db38f6e84691d7a6bac33193015b401deefe5137c5eda12735c4177c1087d563 [INFO] running `Command { std: "docker" "start" "-a" "db38f6e84691d7a6bac33193015b401deefe5137c5eda12735c4177c1087d563", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling ep-miniaudio-sys v2.3.1 [INFO] [stderr] Checking miniaudio v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Error` is imported redundantly [INFO] [stdout] --> src/decoder.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::base::*; [INFO] [stdout] | -------------- the item `Error` is already imported here [INFO] [stdout] 2 | use crate::lock::{RwLockReadGuard, RwLockWriteGuard, SpinRwLock}; [INFO] [stdout] 3 | use crate::{Error, Format, FramesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Format` is imported redundantly [INFO] [stdout] --> src/decoder.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::base::*; [INFO] [stdout] | -------------- the item `Format` is already imported here [INFO] [stdout] 2 | use crate::lock::{RwLockReadGuard, RwLockWriteGuard, SpinRwLock}; [INFO] [stdout] 3 | use crate::{Error, Format, FramesMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Error` is imported redundantly [INFO] [stdout] --> src/decoder.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::base::*; [INFO] [stdout] | -------------- the item `Error` is already imported here [INFO] [stdout] 2 | use crate::lock::{RwLockReadGuard, RwLockWriteGuard, SpinRwLock}; [INFO] [stdout] 3 | use crate::{Error, Format, FramesMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Format` is imported redundantly [INFO] [stdout] --> src/decoder.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::base::*; [INFO] [stdout] | -------------- the item `Format` is already imported here [INFO] [stdout] 2 | use crate::lock::{RwLockReadGuard, RwLockWriteGuard, SpinRwLock}; [INFO] [stdout] 3 | use crate::{Error, Format, FramesMut}; [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 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] error[E0282]: type annotations needed [INFO] [stdout] --> src/device_io.rs:471:30 [INFO] [stdout] | [INFO] [stdout] 471 | catch_unwind(|| panic!("a panic occurred in the data callback")) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: try giving this closure an explicit return type [INFO] [stdout] | [INFO] [stdout] 471 | catch_unwind(|| -> /* Type */ panic!("a panic occurred in the data callback")) [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/device_io.rs:471:30 [INFO] [stdout] | [INFO] [stdout] 471 | catch_unwind(|| panic!("a panic occurred in the data callback")) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: try giving this closure an explicit return type [INFO] [stdout] | [INFO] [stdout] 471 | catch_unwind(|| -> /* Type */ panic!("a panic occurred in the data callback")) [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/device_io.rs:499:30 [INFO] [stdout] | [INFO] [stdout] 499 | catch_unwind(|| panic!("a panic occurred in the stop callback")) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: try giving this closure an explicit return type [INFO] [stdout] | [INFO] [stdout] 499 | catch_unwind(|| -> /* Type */ panic!("a panic occurred in the stop callback")) [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/device_io.rs:499:30 [INFO] [stdout] | [INFO] [stdout] 499 | catch_unwind(|| panic!("a panic occurred in the stop callback")) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: try giving this closure an explicit return type [INFO] [stdout] | [INFO] [stdout] 499 | catch_unwind(|| -> /* Type */ panic!("a panic occurred in the stop callback")) [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] error: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `miniaudio` (lib) due to 3 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `miniaudio` (lib test) due to 3 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "db38f6e84691d7a6bac33193015b401deefe5137c5eda12735c4177c1087d563", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db38f6e84691d7a6bac33193015b401deefe5137c5eda12735c4177c1087d563", kill_on_drop: false }` [INFO] [stdout] db38f6e84691d7a6bac33193015b401deefe5137c5eda12735c4177c1087d563