[INFO] fetching crate rotilities 0.2.8... [INFO] testing rotilities-0.2.8 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rotilities 0.2.8 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate rotilities 0.2.8 [INFO] finished tweaking crates.io crate rotilities 0.2.8 [INFO] tweaked toml for crates.io crate rotilities 0.2.8 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rotilities 0.2.8 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rotilities 0.2.8 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00d5a55b21de635f73ace9a08da484b6b5c20b3372555fb2b859ba1a6080a435 [INFO] running `Command { std: "docker" "start" "-a" "00d5a55b21de635f73ace9a08da484b6b5c20b3372555fb2b859ba1a6080a435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00d5a55b21de635f73ace9a08da484b6b5c20b3372555fb2b859ba1a6080a435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00d5a55b21de635f73ace9a08da484b6b5c20b3372555fb2b859ba1a6080a435", kill_on_drop: false }` [INFO] [stdout] 00d5a55b21de635f73ace9a08da484b6b5c20b3372555fb2b859ba1a6080a435 [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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b108775a89dd68942e3b9b64055a84c369abe90cbdb430943951d073c7d089b [INFO] running `Command { std: "docker" "start" "-a" "1b108775a89dd68942e3b9b64055a84c369abe90cbdb430943951d073c7d089b", kill_on_drop: false }` [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling rodio v0.20.1 [INFO] [stderr] Compiling rotilities v0.2.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.99s [INFO] running `Command { std: "docker" "inspect" "1b108775a89dd68942e3b9b64055a84c369abe90cbdb430943951d073c7d089b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b108775a89dd68942e3b9b64055a84c369abe90cbdb430943951d073c7d089b", kill_on_drop: false }` [INFO] [stdout] 1b108775a89dd68942e3b9b64055a84c369abe90cbdb430943951d073c7d089b [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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c7f561572ce3af7b6ceef0fbe188cb5dc17bf76a99def74cd94fd41245592fc [INFO] running `Command { std: "docker" "start" "-a" "7c7f561572ce3af7b6ceef0fbe188cb5dc17bf76a99def74cd94fd41245592fc", kill_on_drop: false }` [INFO] [stderr] Compiling rotilities v0.2.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `Command { std: "docker" "inspect" "7c7f561572ce3af7b6ceef0fbe188cb5dc17bf76a99def74cd94fd41245592fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c7f561572ce3af7b6ceef0fbe188cb5dc17bf76a99def74cd94fd41245592fc", kill_on_drop: false }` [INFO] [stdout] 7c7f561572ce3af7b6ceef0fbe188cb5dc17bf76a99def74cd94fd41245592fc [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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b1a1f659d81515a9f75b869ca91cef36d2bfc2e0487109d6ebde5345bf814a3f [INFO] running `Command { std: "docker" "start" "-a" "b1a1f659d81515a9f75b869ca91cef36d2bfc2e0487109d6ebde5345bf814a3f", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rotilities-6e6b3d75089b078a) [INFO] [stdout] [INFO] [stderr] Doc-tests rotilities [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] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - new_sink (line 54) ... FAILED [INFO] [stdout] test src/lib.rs - resume_audio (line 121) ... FAILED [INFO] [stdout] test src/lib.rs - pause_audio (line 103) ... FAILED [INFO] [stdout] test src/lib.rs - stop_audio (line 85) ... FAILED [INFO] [stdout] test src/lib.rs - play_audio (line 71) ... FAILED [INFO] [stdout] test src/lib.rs - (line 9) ... FAILED [INFO] [stdout] test src/lib.rs - set_audio_volume (line 142) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - new_sink (line 54) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/lib.rs:55:38 [INFO] [stdout] | [INFO] [stdout] 3 | let (_stream, stream_handle) = init() [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | let sink = new_sink(&stream_handle); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init` in this scope [INFO] [stdout] --> src/lib.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 3 | let (_stream, stream_handle) = init() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rotilities::init; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_sink` in this scope [INFO] [stdout] --> src/lib.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 4 | let sink = new_sink(&stream_handle); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rotilities::new_sink; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - resume_audio (line 121) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `new_sink` in this scope [INFO] [stdout] --> src/lib.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 3 | let sink = new_sink(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rotilities::new_sink; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `play_audio` in this scope [INFO] [stdout] --> src/lib.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 5 | play_audio(&sink, "path/to/file.mp3"); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rotilities::play_audio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pause_audio` in this scope [INFO] [stdout] --> src/lib.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 8 | pause_audio(&sink); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rotilities::pause_audio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `resume_audio` in this scope [INFO] [stdout] --> src/lib.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 11 | resume_audio(&sink); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rotilities::resume_audio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - pause_audio (line 103) stdout ---- [INFO] [stdout] error: prefix `mp3` is unknown [INFO] [stdout] --> src/lib.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 3 | play_audio(&sink, path/to/file.mp3"); [INFO] [stdout] | ^^^ unknown prefix [INFO] [stdout] | [INFO] [stdout] = note: prefixed identifiers and literals are reserved since Rust 2021 [INFO] [stdout] help: consider inserting whitespace here [INFO] [stdout] | [INFO] [stdout] 3 | play_audio(&sink, path/to/file.mp3 "); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0765]: unterminated double quote string [INFO] [stdout] --> src/lib.rs:106:35 [INFO] [stdout] | [INFO] [stdout] 3 | play_audio(&sink, path/to/file.mp3"); [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 4 | | std::thread::sleep(std::time::Duration::from_secs(5)); [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | pause_audio(&sink); [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0765`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - stop_audio (line 85) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `new_sink` in this scope [INFO] [stdout] --> src/lib.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 3 | let sink = new_sink(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rotilities::new_sink; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `play_audio` in this scope [INFO] [stdout] --> src/lib.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 5 | play_audio(&sink, "path/to/file.mp3"); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rotilities::play_audio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stop_audio` in this scope [INFO] [stdout] --> src/lib.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 8 | stop_audio(&sink); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rotilities::stop_audio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - play_audio (line 71) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `new_sink` in this scope [INFO] [stdout] --> src/lib.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 3 | let sink = new_sink(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rotilities::new_sink; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `play_audio` in this scope [INFO] [stdout] --> src/lib.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 4 | play_audio(&sink, "path/to/file.mp3"); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rotilities::play_audio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 9) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] ALSA lib confmisc.c:855:(parse_card) cannot find card '0' [INFO] [stdout] ALSA lib conf.c:5204:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory [INFO] [stdout] ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings [INFO] [stdout] ALSA lib conf.c:5204:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory [INFO] [stdout] ALSA lib confmisc.c:1342:(snd_func_refer) error evaluating name [INFO] [stdout] ALSA lib conf.c:5204:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory [INFO] [stdout] ALSA lib conf.c:5727:(snd_config_expand) Evaluate error: No such file or directory [INFO] [stdout] ALSA lib pcm.c:2721:(snd_pcm_open_noupdate) Unknown PCM default [INFO] [stdout] [INFO] [stdout] thread 'main' (72) panicked at src/lib.rs:46:10: [INFO] [stdout] Creating OuputStream Failed: DefaultStreamConfigError(DeviceNotAvailable) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5f199c1eb852 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5f199c1eb852 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5f199c1eb852 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5f199c1eb852 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5f199c1fbf5f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5f199c1fbf5f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5f199c1c6c01 - std::io::default_write_fmt::h45f0f9de0268fdcb [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5f199c1c6c01 - std::io::Write::write_fmt::hc685c74e0b8ce55d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5f199c1ccd32 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5f199c1cf52f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5f199c1cf389 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x5f199c1cfbb5 - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x5f199c1cfa4a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x5f199c1cce79 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5f199c1bb28d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x5f199c203bf0 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 16: 0x5f199c203196 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 17: 0x5f199c01fa8f - core::result::Result::expect::hc9b16a8bd12bdca7 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1178:23 [INFO] [stdout] 18: 0x5f199bfd198a - rotilities::init::hbfb58ede7ec16911 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:46:10 [INFO] [stdout] 19: 0x5f199bfd1475 - rust_out::main::he42420d96a9d7f64 [INFO] [stdout] 20: 0x5f199bfd1403 - core::ops::function::FnOnce::call_once::h69ea4ce53012ff78 [INFO] [stdout] 21: 0x5f199bfd13e6 - std::sys::backtrace::__rust_begin_short_backtrace::h3de91f36bae4c6b1 [INFO] [stdout] 22: 0x5f199bfd13c9 - std::rt::lang_start::{{closure}}::h8b7ae09552e39435 [INFO] [stdout] 23: 0x5f199c1c8080 - core::ops::function::impls:: for &F>::call_once::h387c5546b57ddfde [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 24: 0x5f199c1c8080 - std::panicking::catch_unwind::do_call::hf9fdd250c001d1cd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 25: 0x5f199c1c8080 - std::panicking::catch_unwind::hc213e1339e7313f3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 26: 0x5f199c1c8080 - std::panic::catch_unwind::h7e2e13142bd98e67 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 27: 0x5f199c1c8080 - std::rt::lang_start_internal::{{closure}}::ha8eea67def213c83 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:175:24 [INFO] [stdout] 28: 0x5f199c1c8080 - std::panicking::catch_unwind::do_call::hc6f04b090be4f56e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5f199c1c8080 - std::panicking::catch_unwind::hfb8ae23b2e34f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5f199c1c8080 - std::panic::catch_unwind::hf2cef20feb3addd6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5f199c1c8080 - std::rt::lang_start_internal::h1ca864a6b9355c57 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:171:5 [INFO] [stdout] 32: 0x5f199bfd13b1 - std::rt::lang_start::h60a8ec71437d48b3 [INFO] [stdout] 33: 0x5f199bfd1555 - main [INFO] [stdout] 34: 0x7189202e01ca - [INFO] [stdout] 35: 0x7189202e028b - __libc_start_main [INFO] [stdout] 36: 0x5f199bfd12c5 - _start [INFO] [stdout] 37: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - set_audio_volume (line 142) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `new_sink` in this scope [INFO] [stdout] --> src/lib.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 3 | let sink = new_sink(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rotilities::new_sink; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `play_audio` in this scope [INFO] [stdout] --> src/lib.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 5 | play_audio(&sink, "path/to/file.mp3"); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rotilities::play_audio; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_audio_volume` in this scope [INFO] [stdout] --> src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 8 | set_audio_volume(&sink, 0.5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use rotilities::set_audio_volume; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 9) [INFO] [stdout] src/lib.rs - new_sink (line 54) [INFO] [stdout] src/lib.rs - pause_audio (line 103) [INFO] [stdout] src/lib.rs - play_audio (line 71) [INFO] [stdout] src/lib.rs - resume_audio (line 121) [INFO] [stdout] src/lib.rs - set_audio_volume (line 142) [INFO] [stdout] src/lib.rs - stop_audio (line 85) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.56s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.70s; merged doctests compilation took 0.14s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b1a1f659d81515a9f75b869ca91cef36d2bfc2e0487109d6ebde5345bf814a3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1a1f659d81515a9f75b869ca91cef36d2bfc2e0487109d6ebde5345bf814a3f", kill_on_drop: false }` [INFO] [stdout] b1a1f659d81515a9f75b869ca91cef36d2bfc2e0487109d6ebde5345bf814a3f