[INFO] cloning repository https://github.com/8bitTD/windows_audio
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/8bitTD/windows_audio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F8bitTD%2Fwindows_audio", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F8bitTD%2Fwindows_audio'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4f11979e49236b091887059112b5508f8c3ec776
[INFO] testing 8bitTD/windows_audio against 1.98.0-beta.1 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F8bitTD%2Fwindows_audio" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/8bitTD/windows_audio
[INFO] finished tweaking git repo https://github.com/8bitTD/windows_audio
[INFO] tweaked toml for git repo https://github.com/8bitTD/windows_audio written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/8bitTD/windows_audio on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/8bitTD/windows_audio 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" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3f6d5ab6124dcbde925d2f560ba578081b6ec21c5bad1184e542c48b261b6590
[INFO] running `Command { std: "docker" "start" "3f6d5ab6124dcbde925d2f560ba578081b6ec21c5bad1184e542c48b261b6590", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3f6d5ab6124dcbde925d2f560ba578081b6ec21c5bad1184e542c48b261b6590", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3f6d5ab6124dcbde925d2f560ba578081b6ec21c5bad1184e542c48b261b6590" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3f6d5ab6124dcbde925d2f560ba578081b6ec21c5bad1184e542c48b261b6590", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3f6d5ab6124dcbde925d2f560ba578081b6ec21c5bad1184e542c48b261b6590" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling proc-macro2 v1.0.50
[INFO] [stderr]    Compiling unicode-ident v1.0.6
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling thiserror v1.0.38
[INFO] [stderr]    Compiling cc v1.0.78
[INFO] [stderr]    Compiling parking_lot_core v0.9.6
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling cpal v0.14.2
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling hound v3.5.0
[INFO] [stderr]    Compiling alsa-sys v0.3.1
[INFO] [stderr]    Compiling minimp3-sys v0.3.2
[INFO] [stderr]    Compiling lewton v0.10.2
[INFO] [stderr]    Compiling nix v0.23.2
[INFO] [stderr]    Compiling slice-deque v0.3.0
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.38
[INFO] [stderr]    Compiling minimp3 v0.5.1
[INFO] [stderr]    Compiling alsa v0.6.0
[INFO] [stderr]    Compiling rodio v0.16.0
[INFO] [stderr]    Compiling windows_audio v0.1.7 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.58s
[INFO] running `Command { std: "docker" "inspect" "3f6d5ab6124dcbde925d2f560ba578081b6ec21c5bad1184e542c48b261b6590", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3f6d5ab6124dcbde925d2f560ba578081b6ec21c5bad1184e542c48b261b6590" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling windows_audio v0.1.7 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.86s
[INFO] running `Command { std: "docker" "inspect" "3f6d5ab6124dcbde925d2f560ba578081b6ec21c5bad1184e542c48b261b6590", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3f6d5ab6124dcbde925d2f560ba578081b6ec21c5bad1184e542c48b261b6590" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/windows_audio-f18e1c8ed073b039)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test tests::it_works ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests windows_audio
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - Audio::new (line 24) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - Audio::new (line 24) stdout ----
[INFO] [stdout] Test executable failed (exit status: 101).
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] 
[INFO] [stdout] thread 'main' (897) panicked at src/lib.rs:7:19:
[INFO] [stdout] index out of bounds: the len is 0 but the index is 0
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5884659a8831 - std[73adb7dc35730857]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5884659a8831 - std[73adb7dc35730857]::backtrace_rs::backtrace::trace_unsynchronized::<std[73adb7dc35730857]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5884659a8831 - std[73adb7dc35730857]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5884659a8831 - <<std[73adb7dc35730857]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[6883ba1bc0fe4ed1]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5884659ba2ba - <core[6883ba1bc0fe4ed1]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5884659ba2ba - core[6883ba1bc0fe4ed1]::fmt::write
[INFO] [stdout]    6:     0x5884659ac9cc - std[73adb7dc35730857]::io::default_write_fmt::<std[73adb7dc35730857]::sys::stdio::unix::Stderr>
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/io/mod.rs:626:11
[INFO] [stdout]    7:     0x5884659ac9cc - <std[73adb7dc35730857]::sys::stdio::unix::Stderr as std[73adb7dc35730857]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/io/mod.rs:1730:13
[INFO] [stdout]    8:     0x588465991b26 - <std[73adb7dc35730857]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x588465991b26 - std[73adb7dc35730857]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5884659a3841 - std[73adb7dc35730857]::panicking::default_hook
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/panicking.rs:319:9
[INFO] [stdout]   11:     0x5884659a39fb - std[73adb7dc35730857]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/panicking.rs:815:13
[INFO] [stdout]   12:     0x588465991bd2 - std[73adb7dc35730857]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/panicking.rs:688:13
[INFO] [stdout]   13:     0x5884659896d9 - std[73adb7dc35730857]::sys::backtrace::__rust_end_short_backtrace::<std[73adb7dc35730857]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   14:     0x58846599234d - __rustc[a7b7b02e776dd976]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/panicking.rs:679:5
[INFO] [stdout]   15:     0x5884659baa8c - core[6883ba1bc0fe4ed1]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/core/src/panicking.rs:80:14
[INFO] [stdout]   16:     0x5884659ba87c - core[6883ba1bc0fe4ed1]::panicking::panic_bounds_check
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/core/src/panicking.rs:271:5
[INFO] [stdout]   17:     0x588465864f68 - <usize as core[6883ba1bc0fe4ed1]::slice::index::SliceIndex<[windows_audio[132be9bcc8b89e6d]::AudioInfo]>>::index
[INFO] [stdout]   18:     0x588465864f9c - <alloc[55a36b64bcbf2c0d]::vec::Vec<windows_audio[132be9bcc8b89e6d]::AudioInfo> as core[6883ba1bc0fe4ed1]::ops::index::Index<usize>>::index
[INFO] [stdout]   19:     0x588465864e70 - rust_out[c5d83d26dbed9be7]::main::_doctest_main_src_lib_rs_24_0
[INFO] [stdout]   20:     0x588465864df6 - rust_out[c5d83d26dbed9be7]::main
[INFO] [stdout]   21:     0x588465864fb3 - <fn() as core[6883ba1bc0fe4ed1]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   22:     0x588465864db6 - std[73adb7dc35730857]::sys::backtrace::__rust_begin_short_backtrace::<fn(), ()>
[INFO] [stdout]   23:     0x588465864dc9 - std[73adb7dc35730857]::rt::lang_start::<()>::{closure#0}
[INFO] [stdout]   24:     0x5884659a2f97 - <&dyn core[6883ba1bc0fe4ed1]::ops::function::Fn<(), Output = i32> + core[6883ba1bc0fe4ed1]::panic::unwind_safe::RefUnwindSafe + core[6883ba1bc0fe4ed1]::marker::Sync as core[6883ba1bc0fe4ed1]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/core/src/ops/function.rs:287:21
[INFO] [stdout]   25:     0x5884659a2f97 - std[73adb7dc35730857]::panicking::catch_unwind::do_call::<&dyn core[6883ba1bc0fe4ed1]::ops::function::Fn<(), Output = i32> + core[6883ba1bc0fe4ed1]::panic::unwind_safe::RefUnwindSafe + core[6883ba1bc0fe4ed1]::marker::Sync, i32>
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/panicking.rs:576:43
[INFO] [stdout]   26:     0x5884659a2f97 - std[73adb7dc35730857]::panicking::catch_unwind::<i32, &dyn core[6883ba1bc0fe4ed1]::ops::function::Fn<(), Output = i32> + core[6883ba1bc0fe4ed1]::panic::unwind_safe::RefUnwindSafe + core[6883ba1bc0fe4ed1]::marker::Sync>
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/panicking.rs:544:19
[INFO] [stdout]   27:     0x5884659a2f97 - std[73adb7dc35730857]::panic::catch_unwind::<&dyn core[6883ba1bc0fe4ed1]::ops::function::Fn<(), Output = i32> + core[6883ba1bc0fe4ed1]::panic::unwind_safe::RefUnwindSafe + core[6883ba1bc0fe4ed1]::marker::Sync, i32>
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/panic.rs:359:14
[INFO] [stdout]   28:     0x5884659a2f97 - std[73adb7dc35730857]::rt::lang_start_internal::{closure#0}
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/rt.rs:175:24
[INFO] [stdout]   29:     0x5884659a2f97 - std[73adb7dc35730857]::panicking::catch_unwind::do_call::<std[73adb7dc35730857]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/panicking.rs:576:43
[INFO] [stdout]   30:     0x5884659a2f97 - std[73adb7dc35730857]::panicking::catch_unwind::<isize, std[73adb7dc35730857]::rt::lang_start_internal::{closure#0}>
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x5884659a2f97 - std[73adb7dc35730857]::panic::catch_unwind::<std[73adb7dc35730857]::rt::lang_start_internal::{closure#0}, isize>
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x5884659a2f97 - std[73adb7dc35730857]::rt::lang_start_internal
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/rt.rs:171:5
[INFO] [stdout]   33:     0x588465864da1 - std[73adb7dc35730857]::rt::lang_start::<()>
[INFO] [stdout]   34:     0x588465865015 - main
[INFO] [stdout]   35:     0x79a76ffd21ca - <unknown>
[INFO] [stdout]   36:     0x79a76ffd228b - __libc_start_main
[INFO] [stdout]   37:     0x588465864ca5 - _start
[INFO] [stdout]   38:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - Audio::new (line 24)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "3f6d5ab6124dcbde925d2f560ba578081b6ec21c5bad1184e542c48b261b6590", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f6d5ab6124dcbde925d2f560ba578081b6ec21c5bad1184e542c48b261b6590", kill_on_drop: false }`
[INFO] [stdout] 3f6d5ab6124dcbde925d2f560ba578081b6ec21c5bad1184e542c48b261b6590
