[INFO] fetching crate sbz-switch 4.0.0... [INFO] checking sbz-switch-4.0.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate sbz-switch 4.0.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate sbz-switch 4.0.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6/source/.cargo/config [INFO] started tweaking crates.io crate sbz-switch 4.0.0 [INFO] finished tweaking crates.io crate sbz-switch 4.0.0 [INFO] tweaked toml for crates.io crate sbz-switch 4.0.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate sbz-switch 4.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eeddcb7d14b4b97442943af944cfc21d91d5be9e75123dd0de4f3bdd29460664 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "eeddcb7d14b4b97442943af944cfc21d91d5be9e75123dd0de4f3bdd29460664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eeddcb7d14b4b97442943af944cfc21d91d5be9e75123dd0de4f3bdd29460664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeddcb7d14b4b97442943af944cfc21d91d5be9e75123dd0de4f3bdd29460664", kill_on_drop: false }` [INFO] [stdout] eeddcb7d14b4b97442943af944cfc21d91d5be9e75123dd0de4f3bdd29460664 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35f07708519ab1e3931add0dd28e1c2c67265a9dfcbf675a1ba1bce3059f2158 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "35f07708519ab1e3931add0dd28e1c2c67265a9dfcbf675a1ba1bce3059f2158", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.20 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking arc-swap v0.4.6 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking rle-decode-fast v1.0.1 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking libflate_lz77 v1.0.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking libflate v1.0.0 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking slog-scope v4.3.0 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking slog-async v2.5.0 [INFO] [stderr] Checking slog-stdlog v4.0.0 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking slog-term v2.5.0 [INFO] [stderr] Checking slog-kvfilter v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling pin-project-internal v0.4.16 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling trackable_derive v1.0.0 [INFO] [stderr] Checking trackable v1.0.0 [INFO] [stderr] Checking pin-project v0.4.16 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking sloggers v1.0.1 [INFO] [stderr] Checking serde_yaml v0.8.12 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking sbz-switch v4.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: argument must be a string literal [INFO] [stdout] --> src/lib.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | compile_error!("This crate must be built for x86 for compatibility with sound drivers." + [INFO] [stdout] | ________________^ [INFO] [stdout] 50 | | "(build for i686-pc-windows-msvc or suppress this error using feature ctsndcr_ignore_arch)"); [INFO] [stdout] | |_______________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: argument must be a string literal [INFO] [stdout] --> src/lib.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | compile_error!("This crate must be built for x86 for compatibility with sound drivers." + [INFO] [stdout] | ________________^ [INFO] [stdout] 50 | | "(build for i686-pc-windows-msvc or suppress this error using feature ctsndcr_ignore_arch)"); [INFO] [stdout] | |_______________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/com/event.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::combaseapi::{CoWaitForMultipleObjects, CWMO_DISPATCH_CALLS}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/com/event.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/com/event.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::synchapi::{CreateEventW, SetEvent}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/com/event.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winbase::INFINITE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/com/event.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/com/mod.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::combaseapi::{CoInitializeEx, CoUninitialize}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/com/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::objbase::COINIT_APARTMENTTHREADED; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/com/mod.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::unknwnbase::IUnknown; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/com/event.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::combaseapi::{CoWaitForMultipleObjects, CWMO_DISPATCH_CALLS}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/com/event.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/com/event.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::synchapi::{CreateEventW, SetEvent}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/com/event.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winbase::INFINITE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/com/event.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/com/mod.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::combaseapi::{CoInitializeEx, CoUninitialize}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/com/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::objbase::COINIT_APARTMENTTHREADED; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/com/mod.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::unknwnbase::IUnknown; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ctsndcr.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::shared::guiddef::{IsEqualIID, REFIID}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ctsndcr.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::shared::minwindef::ULONG; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ctsndcr.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::shared::ntdef::HRESULT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ctsndcr.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::shared::winerror::{E_INVALIDARG, E_NOINTERFACE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ctsndcr.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::unknwnbase::{IUnknown, IUnknownVtbl}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/ctsndcr.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/hresult.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hresult.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::ntdef::HRESULT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hresult.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::winerror::FACILITY_WIN32; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/hresult.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winbase::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/media/event.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::guiddef::GUID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/media/event.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::winerror::E_ABORT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/media/event.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::endpointvolume::{IAudioEndpointVolume, IAudioEndpointVolumeCallback}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/media/mod.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use std::os::windows::ffi::{OsStrExt, OsStringExt}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/ctsndcr.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/media/mod.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::shared::guiddef::GUID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/media/mod.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::shared::guiddef::{IsEqualIID, REFIID}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/media/mod.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::shared::minwindef::ULONG; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/media/mod.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::shared::ntdef::HRESULT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/media/mod.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::shared::winerror::NTE_NOT_FOUND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/media/mod.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::shared::winerror::{E_INVALIDARG, E_NOINTERFACE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/media/mod.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::shared::wtypes::{PROPERTYKEY, VARTYPE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/media/mod.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::um::combaseapi::CLSCTX_ALL; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/media/mod.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use winapi::um::combaseapi::{CoCreateInstance, CoTaskMemFree, PropVariantClear}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/media/mod.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use winapi::um::coml2api::STGM_READ; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/media/mod.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use winapi::um::endpointvolume::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/media/mod.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | use winapi::um::mmdeviceapi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/media/mod.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | use winapi::um::propidl::PROPVARIANT; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/media/mod.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | use winapi::um::propsys::IPropertyStore; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/media/mod.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | use winapi::um::unknwnbase::{IUnknown, IUnknownVtbl}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/media/mod.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/soundcore/consts.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::wtypes::PROPERTYKEY; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/soundcore/core.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/soundcore/core.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::guiddef::GUID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/soundcore/core.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::combaseapi::{CoCreateInstance, CLSCTX_ALL}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/media/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/soundcore/event.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::shared::winerror::E_ABORT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/soundcore/feature_iterator.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::winerror::E_FAIL; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/soundcore/parameter.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::winerror::E_ACCESSDENIED; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/soundcore/parameter_iterator.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::winerror::E_FAIL; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapiext.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::wtypes::PROPERTYKEY; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/soundcore/core.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::soundcore::PKEY_SOUNDCORECTL_CLSID` [INFO] [stdout] --> src/media/mod.rs:49:40 [INFO] [stdout] | [INFO] [stdout] 49 | use crate::soundcore::{SoundCoreError, PKEY_SOUNDCORECTL_CLSID}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `PKEY_SOUNDCORECTL_CLSID` in `soundcore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::winapiext::PKEY_DeviceInterface_FriendlyName`, `crate::winapiext::PKEY_Device_DeviceDesc` [INFO] [stdout] --> src/media/mod.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | use crate::winapiext::{PKEY_DeviceInterface_FriendlyName, PKEY_Device_DeviceDesc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ no `PKEY_Device_DeviceDesc` in `winapiext` [INFO] [stdout] | | [INFO] [stdout] | no `PKEY_DeviceInterface_FriendlyName` in `winapiext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::ctsndcr::IEventNotify`, `crate::ctsndcr::ISoundCore` [INFO] [stdout] --> src/soundcore/core.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::ctsndcr::{HardwareInfo, IEventNotify, ISoundCore}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ no `ISoundCore` in `ctsndcr` [INFO] [stdout] | | [INFO] [stdout] | no `IEventNotify` in `ctsndcr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::ctsndcr::ICallback`, `crate::ctsndcr::IEventNotify`, `crate::ctsndcr::ISoundCore` [INFO] [stdout] --> src/soundcore/event.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::ctsndcr::{EventInfo, ICallback, IEventNotify, ISoundCore, Param}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ no `ISoundCore` in `ctsndcr` [INFO] [stdout] | | | [INFO] [stdout] | | no `IEventNotify` in `ctsndcr` [INFO] [stdout] | no `ICallback` in `ctsndcr` [INFO] [stdout] | help: a similar name exists in the module: `Callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::ctsndcr::ISoundCore` [INFO] [stdout] --> src/soundcore/feature.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ctsndcr::{FeatureInfo, ISoundCore}; [INFO] [stdout] | ^^^^^^^^^^ no `ISoundCore` in `ctsndcr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::ctsndcr::ISoundCore` [INFO] [stdout] --> src/soundcore/feature_iterator.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ctsndcr::{FeatureInfo, ISoundCore}; [INFO] [stdout] | ^^^^^^^^^^ no `ISoundCore` in `ctsndcr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::ctsndcr::ISoundCore` [INFO] [stdout] --> src/soundcore/parameter.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::ctsndcr::{ISoundCore, Param, ParamInfo, ParamValue}; [INFO] [stdout] | ^^^^^^^^^^ no `ISoundCore` in `ctsndcr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::ctsndcr::ISoundCore` [INFO] [stdout] --> src/soundcore/parameter_iterator.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ctsndcr::{ISoundCore, ParamInfo}; [INFO] [stdout] | ^^^^^^^^^^ no `ISoundCore` in `ctsndcr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::consts::PKEY_SOUNDCORECTL_CLSID` [INFO] [stdout] --> src/soundcore/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use self::consts::PKEY_SOUNDCORECTL_CLSID; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `PKEY_SOUNDCORECTL_CLSID` in `soundcore::consts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `RIDL` in this scope [INFO] [stdout] --> src/ctsndcr.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | RIDL! {#[uuid(0x6111e7c4, 0x3ea4, 0x47ed, 0xb0, 0x74, 0xc6, 0x38, 0x87, 0x52, 0x82, 0xc4)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `RIDL` in this scope [INFO] [stdout] --> src/ctsndcr.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | RIDL! {#[uuid(0xf6cb394a, 0xa680, 0x45c0, 0xac, 0xd2, 0xf0, 0x59, 0x56, 0x26, 0xa3, 0xfd)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `RIDL` in this scope [INFO] [stdout] --> src/ctsndcr.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | RIDL! {#[uuid(0xb353c442, 0xc49d, 0x4532, 0x9e, 0x3a, 0x1b, 0x20, 0xa1, 0x82, 0xfd, 0x00)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `DEFINE_PROPERTYKEY` in this scope [INFO] [stdout] --> src/soundcore/consts.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | DEFINE_PROPERTYKEY! {PKEY_SOUNDCORECTL_CLSID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `DEFINE_PROPERTYKEY` in this scope [INFO] [stdout] --> src/winapiext.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | DEFINE_PROPERTYKEY! {PKEY_DeviceInterface_FriendlyName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `DEFINE_PROPERTYKEY` in this scope [INFO] [stdout] --> src/winapiext.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | DEFINE_PROPERTYKEY! {PKEY_Device_DeviceDesc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ctsndcr.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::shared::guiddef::{IsEqualIID, REFIID}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ctsndcr.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::shared::minwindef::ULONG; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ctsndcr.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::shared::ntdef::HRESULT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ctsndcr.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::shared::winerror::{E_INVALIDARG, E_NOINTERFACE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ctsndcr.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::unknwnbase::{IUnknown, IUnknownVtbl}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/ctsndcr.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/hresult.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hresult.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::ntdef::HRESULT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/hresult.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::winerror::FACILITY_WIN32; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/hresult.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winbase::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/media/event.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::guiddef::GUID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/media/event.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::winerror::E_ABORT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/media/event.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::endpointvolume::{IAudioEndpointVolume, IAudioEndpointVolumeCallback}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/media/mod.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use std::os::windows::ffi::{OsStrExt, OsStringExt}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/ctsndcr.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/media/mod.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::shared::guiddef::GUID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/media/mod.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::shared::guiddef::{IsEqualIID, REFIID}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/media/mod.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::shared::minwindef::ULONG; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/media/mod.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::shared::ntdef::HRESULT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/media/mod.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::shared::winerror::NTE_NOT_FOUND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/media/mod.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::shared::winerror::{E_INVALIDARG, E_NOINTERFACE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/media/mod.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::shared::wtypes::{PROPERTYKEY, VARTYPE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/media/mod.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::um::combaseapi::CLSCTX_ALL; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/media/mod.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use winapi::um::combaseapi::{CoCreateInstance, CoTaskMemFree, PropVariantClear}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/media/mod.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use winapi::um::coml2api::STGM_READ; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/media/mod.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use winapi::um::endpointvolume::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/media/mod.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | use winapi::um::mmdeviceapi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/media/mod.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | use winapi::um::propidl::PROPVARIANT; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/media/mod.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | use winapi::um::propsys::IPropertyStore; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/media/mod.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | use winapi::um::unknwnbase::{IUnknown, IUnknownVtbl}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/media/mod.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/soundcore/consts.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::wtypes::PROPERTYKEY; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/soundcore/core.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/soundcore/core.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::guiddef::GUID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/soundcore/core.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::combaseapi::{CoCreateInstance, CLSCTX_ALL}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/media/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/soundcore/event.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::shared::winerror::E_ABORT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/soundcore/feature_iterator.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::winerror::E_FAIL; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/soundcore/parameter.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::winerror::E_ACCESSDENIED; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/soundcore/parameter_iterator.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::winerror::E_FAIL; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapiext.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::wtypes::PROPERTYKEY; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/soundcore/core.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::soundcore::PKEY_SOUNDCORECTL_CLSID` [INFO] [stdout] --> src/media/mod.rs:49:40 [INFO] [stdout] | [INFO] [stdout] 49 | use crate::soundcore::{SoundCoreError, PKEY_SOUNDCORECTL_CLSID}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `PKEY_SOUNDCORECTL_CLSID` in `soundcore` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::winapiext::PKEY_DeviceInterface_FriendlyName`, `crate::winapiext::PKEY_Device_DeviceDesc` [INFO] [stdout] --> src/media/mod.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | use crate::winapiext::{PKEY_DeviceInterface_FriendlyName, PKEY_Device_DeviceDesc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ no `PKEY_Device_DeviceDesc` in `winapiext` [INFO] [stdout] | | [INFO] [stdout] | no `PKEY_DeviceInterface_FriendlyName` in `winapiext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::ctsndcr::IEventNotify`, `crate::ctsndcr::ISoundCore` [INFO] [stdout] --> src/soundcore/core.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::ctsndcr::{HardwareInfo, IEventNotify, ISoundCore}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ no `ISoundCore` in `ctsndcr` [INFO] [stdout] | | [INFO] [stdout] | no `IEventNotify` in `ctsndcr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::ctsndcr::ICallback`, `crate::ctsndcr::IEventNotify`, `crate::ctsndcr::ISoundCore` [INFO] [stdout] --> src/soundcore/event.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::ctsndcr::{EventInfo, ICallback, IEventNotify, ISoundCore, Param}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ no `ISoundCore` in `ctsndcr` [INFO] [stdout] | | | [INFO] [stdout] | | no `IEventNotify` in `ctsndcr` [INFO] [stdout] | no `ICallback` in `ctsndcr` [INFO] [stdout] | help: a similar name exists in the module: `Callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::ctsndcr::ISoundCore` [INFO] [stdout] --> src/soundcore/feature.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ctsndcr::{FeatureInfo, ISoundCore}; [INFO] [stdout] | ^^^^^^^^^^ no `ISoundCore` in `ctsndcr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::ctsndcr::ISoundCore` [INFO] [stdout] --> src/soundcore/feature_iterator.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ctsndcr::{FeatureInfo, ISoundCore}; [INFO] [stdout] | ^^^^^^^^^^ no `ISoundCore` in `ctsndcr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::ctsndcr::ISoundCore` [INFO] [stdout] --> src/soundcore/parameter.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::ctsndcr::{ISoundCore, Param, ParamInfo, ParamValue}; [INFO] [stdout] | ^^^^^^^^^^ no `ISoundCore` in `ctsndcr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::ctsndcr::ISoundCore` [INFO] [stdout] --> src/soundcore/parameter_iterator.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ctsndcr::{ISoundCore, ParamInfo}; [INFO] [stdout] | ^^^^^^^^^^ no `ISoundCore` in `ctsndcr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::consts::PKEY_SOUNDCORECTL_CLSID` [INFO] [stdout] --> src/soundcore/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use self::consts::PKEY_SOUNDCORECTL_CLSID; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `PKEY_SOUNDCORECTL_CLSID` in `soundcore::consts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `RIDL` in this scope [INFO] [stdout] --> src/ctsndcr.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | RIDL! {#[uuid(0x6111e7c4, 0x3ea4, 0x47ed, 0xb0, 0x74, 0xc6, 0x38, 0x87, 0x52, 0x82, 0xc4)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `RIDL` in this scope [INFO] [stdout] --> src/ctsndcr.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | RIDL! {#[uuid(0xf6cb394a, 0xa680, 0x45c0, 0xac, 0xd2, 0xf0, 0x59, 0x56, 0x26, 0xa3, 0xfd)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `RIDL` in this scope [INFO] [stdout] --> src/ctsndcr.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | RIDL! {#[uuid(0xb353c442, 0xc49d, 0x4532, 0x9e, 0x3a, 0x1b, 0x20, 0xa1, 0x82, 0xfd, 0x00)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `DEFINE_PROPERTYKEY` in this scope [INFO] [stdout] --> src/soundcore/consts.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | DEFINE_PROPERTYKEY! {PKEY_SOUNDCORECTL_CLSID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `DEFINE_PROPERTYKEY` in this scope [INFO] [stdout] --> src/winapiext.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | DEFINE_PROPERTYKEY! {PKEY_DeviceInterface_FriendlyName, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `DEFINE_PROPERTYKEY` in this scope [INFO] [stdout] --> src/winapiext.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | DEFINE_PROPERTYKEY! {PKEY_Device_DeviceDesc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IUnknown` [INFO] [stdout] --> src/ctsndcr.rs:257:29 [INFO] [stdout] | [INFO] [stdout] 257 | if IsEqualIID(iid, &IUnknown::uuidof()) || IsEqualIID(iid, &ICallback::uuidof()) { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `IUnknown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ICallback` [INFO] [stdout] --> src/ctsndcr.rs:257:69 [INFO] [stdout] | [INFO] [stdout] 257 | if IsEqualIID(iid, &IUnknown::uuidof()) || IsEqualIID(iid, &ICallback::uuidof()) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ICallback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IUnknown` [INFO] [stdout] --> src/ctsndcr.rs:257:29 [INFO] [stdout] | [INFO] [stdout] 257 | if IsEqualIID(iid, &IUnknown::uuidof()) || IsEqualIID(iid, &ICallback::uuidof()) { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `IUnknown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ICallback` [INFO] [stdout] --> src/ctsndcr.rs:257:69 [INFO] [stdout] | [INFO] [stdout] 257 | if IsEqualIID(iid, &IUnknown::uuidof()) || IsEqualIID(iid, &ICallback::uuidof()) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ICallback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IAudioEndpointVolume` [INFO] [stdout] --> src/media/mod.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | &IAudioEndpointVolume::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `IAudioEndpointVolume` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IMMDeviceEnumerator` [INFO] [stdout] --> src/media/mod.rs:329:18 [INFO] [stdout] | [INFO] [stdout] 329 | &IMMDeviceEnumerator::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `IMMDeviceEnumerator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IAudioEndpointVolume` [INFO] [stdout] --> src/media/mod.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | &IAudioEndpointVolume::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `IAudioEndpointVolume` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IUnknown` [INFO] [stdout] --> src/media/mod.rs:466:29 [INFO] [stdout] | [INFO] [stdout] 466 | if IsEqualIID(iid, &IUnknown::uuidof()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `IUnknown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IAudioEndpointVolumeCallback` [INFO] [stdout] --> src/media/mod.rs:467:33 [INFO] [stdout] | [INFO] [stdout] 467 | || IsEqualIID(iid, &IAudioEndpointVolumeCallback::uuidof()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `IAudioEndpointVolumeCallback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IMMDeviceEnumerator` [INFO] [stdout] --> src/media/mod.rs:329:18 [INFO] [stdout] | [INFO] [stdout] 329 | &IMMDeviceEnumerator::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `IMMDeviceEnumerator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IUnknown` [INFO] [stdout] --> src/media/mod.rs:466:29 [INFO] [stdout] | [INFO] [stdout] 466 | if IsEqualIID(iid, &IUnknown::uuidof()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `IUnknown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IAudioEndpointVolumeCallback` [INFO] [stdout] --> src/media/mod.rs:467:33 [INFO] [stdout] | [INFO] [stdout] 467 | || IsEqualIID(iid, &IAudioEndpointVolumeCallback::uuidof()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `IAudioEndpointVolumeCallback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/com/event.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | ready_event: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetEvent` in this scope [INFO] [stdout] --> src/com/event.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | SetEvent(arc_self.ready_event); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/com/event.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe { CloseHandle(self.ready_event as *mut _) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateEventW` in this scope [INFO] [stdout] --> src/com/event.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | let ready_event = unsafe { CreateEventW(ptr::null_mut(), 0, 0, ptr::null_mut()) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoWaitForMultipleObjects` in this scope [INFO] [stdout] --> src/com/event.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | check(CoWaitForMultipleObjects( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CWMO_DISPATCH_CALLS` in this scope [INFO] [stdout] --> src/com/event.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | CWMO_DISPATCH_CALLS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFINITE` in this scope [INFO] [stdout] --> src/com/event.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | INFINITE, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoInitializeEx` in this scope [INFO] [stdout] --> src/com/mod.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { check(CoInitializeEx(null_mut(), COINIT_APARTMENTTHREADED)).and(Ok(())) } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_APARTMENTTHREADED` in this scope [INFO] [stdout] --> src/com/mod.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { check(CoInitializeEx(null_mut(), COINIT_APARTMENTTHREADED)).and(Ok(())) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoUninitialize` in this scope [INFO] [stdout] --> src/com/mod.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | CoUninitialize(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/com/mod.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | T: Deref, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/com/mod.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | T: Deref, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/com/mod.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | T: Deref, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/com/mod.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | T: Deref, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/com/mod.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | T: Deref, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/com/mod.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | T: Deref, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ICallbackVtbl` in this scope [INFO] [stdout] --> src/ctsndcr.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 178 | lpVtbl: *mut ICallbackVtbl, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ICallbackVtbl` in this scope [INFO] [stdout] --> src/ctsndcr.rs:179:11 [INFO] [stdout] | [INFO] [stdout] 179 | vtbl: ICallbackVtbl, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ICallback` in this scope [INFO] [stdout] --> src/ctsndcr.rs:184:6 [INFO] [stdout] | [INFO] [stdout] 174 | / struct Callback [INFO] [stdout] 175 | | where [INFO] [stdout] 176 | | C: FnMut(&EventInfo) -> Result<(), Win32Error>, [INFO] [stdout] 177 | | { [INFO] [stdout] ... | [INFO] [stdout] 181 | | callback: C, [INFO] [stdout] 182 | | } [INFO] [stdout] | |_- similarly named struct `Callback` defined here [INFO] [stdout] 183 | [INFO] [stdout] 184 | impl ICallback { [INFO] [stdout] | ^^^^^^^^^ help: a struct with a similar name exists: `Callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ICallbackVtbl` in this scope [INFO] [stdout] --> src/ctsndcr.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 202 | vtbl: ICallbackVtbl { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IUnknownVtbl` in this scope [INFO] [stdout] --> src/ctsndcr.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 203 | parent: IUnknownVtbl { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/ctsndcr.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | let this = this as *mut IUnknown; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `E_INVALIDARG` in this scope [INFO] [stdout] --> src/ctsndcr.rs:229:29 [INFO] [stdout] | [INFO] [stdout] 229 | Err(Win32Error::new(E_INVALIDARG)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/ctsndcr.rs:238:27 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe fn uncheck(result: E) -> HRESULT [INFO] [stdout] | - help: you might be missing a type parameter: `, HRESULT` [INFO] [stdout] 237 | where [INFO] [stdout] 238 | E: FnOnce() -> Result, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/ctsndcr.rs:236:36 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe fn uncheck(result: E) -> HRESULT [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/ctsndcr.rs:247:16 [INFO] [stdout] | [INFO] [stdout] 247 | this: *mut IUnknown, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/ctsndcr.rs:248:10 [INFO] [stdout] | [INFO] [stdout] 248 | iid: REFIID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/ctsndcr.rs:250:6 [INFO] [stdout] | [INFO] [stdout] 250 | ) -> HRESULT [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsEqualIID` in this scope [INFO] [stdout] --> src/ctsndcr.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | if IsEqualIID(iid, &IUnknown::uuidof()) || IsEqualIID(iid, &ICallback::uuidof()) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsEqualIID` in this scope [INFO] [stdout] --> src/ctsndcr.rs:257:52 [INFO] [stdout] | [INFO] [stdout] 257 | if IsEqualIID(iid, &IUnknown::uuidof()) || IsEqualIID(iid, &ICallback::uuidof()) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `E_NOINTERFACE` in this scope [INFO] [stdout] --> src/ctsndcr.rs:263:33 [INFO] [stdout] | [INFO] [stdout] 263 | Err(Win32Error::new(E_NOINTERFACE)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/ctsndcr.rs:268:58 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe extern "system" fn callback_add_ref(this: *mut IUnknown) -> ULONG [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/ctsndcr.rs:268:71 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe extern "system" fn callback_add_ref(this: *mut IUnknown) -> ULONG [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/ctsndcr.rs:275:22 [INFO] [stdout] | [INFO] [stdout] 275 | count as ULONG [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/ctsndcr.rs:281:58 [INFO] [stdout] | [INFO] [stdout] 281 | unsafe extern "system" fn callback_release(this: *mut IUnknown) -> ULONG [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/ctsndcr.rs:281:71 [INFO] [stdout] | [INFO] [stdout] 281 | unsafe extern "system" fn callback_release(this: *mut IUnknown) -> ULONG [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/ctsndcr.rs:296:22 [INFO] [stdout] | [INFO] [stdout] 296 | count as ULONG [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ICallback` in this scope [INFO] [stdout] --> src/ctsndcr.rs:303:16 [INFO] [stdout] | [INFO] [stdout] 174 | / struct Callback [INFO] [stdout] 175 | | where [INFO] [stdout] 176 | | C: FnMut(&EventInfo) -> Result<(), Win32Error>, [INFO] [stdout] 177 | | { [INFO] [stdout] ... | [INFO] [stdout] 181 | | callback: C, [INFO] [stdout] 182 | | } [INFO] [stdout] | |_- similarly named struct `Callback` defined here [INFO] [stdout] ... [INFO] [stdout] 303 | this: *mut ICallback, [INFO] [stdout] | ^^^^^^^^^ help: a struct with a similar name exists: `Callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/ctsndcr.rs:305:6 [INFO] [stdout] | [INFO] [stdout] 305 | ) -> HRESULT [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/hresult.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub code: HRESULT, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/hresult.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(code: HRESULT) -> Win32Error { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FACILITY_WIN32` in this scope [INFO] [stdout] --> src/hresult.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | facility if facility == FACILITY_WIN32 => unsafe { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FormatMessageW` in this scope [INFO] [stdout] --> src/hresult.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | let len = FormatMessageW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_ALLOCATE_BUFFER` in this scope [INFO] [stdout] --> src/hresult.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_FROM_SYSTEM` in this scope [INFO] [stdout] --> src/hresult.rs:43:54 [INFO] [stdout] | [INFO] [stdout] 43 | FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OsStringExt` [INFO] [stdout] --> src/hresult.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | ... OsStringExt::from_wide(slice::from_raw_parts(buffer, len as usize)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 56 | OsString::from_wide(slice::from_raw_parts(buffer, len as usize)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::soundcore::event::mpsc::queue::thread::thread::env::os_imp::OsStringExt; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::prelude::OsStringExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LocalFree` in this scope [INFO] [stdout] --> src/hresult.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | LocalFree(buffer as *mut _); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/hresult.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn check(result: HRESULT) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/hresult.rs:88:41 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn check(result: HRESULT) -> Result { [INFO] [stdout] | - ^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/media/event.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | pub event_context: GUID, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAudioEndpointVolume` in this scope [INFO] [stdout] --> src/media/event.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 55 | pub(crate) struct VolumeEvents { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 56 | volume: ComObject, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAudioEndpointVolumeCallback` in this scope [INFO] [stdout] --> src/media/event.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | callback: ComObject, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/media/mod.rs:400:1 [INFO] [stdout] | [INFO] [stdout] 400 | struct AudioEndpointVolumeCallback { [INFO] [stdout] | ------------------------------------- similarly named struct `AudioEndpointVolumeCallback` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 58 | callback: ComObject, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 55 | pub(crate) struct VolumeEvents { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAudioEndpointVolume` in this scope [INFO] [stdout] --> src/media/event.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 61 | impl VolumeEvents { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 62 | pub fn new(volume: ComObject) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `E_ABORT` in this scope [INFO] [stdout] --> src/media/event.rs:73:51 [INFO] [stdout] | [INFO] [stdout] 73 | Err(_) => Err(Win32Error::new(E_ABORT)), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/media/mod.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | fn parse_guid(src: &str) -> Result> { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GUID` in this scope [INFO] [stdout] --> src/media/mod.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | Ok(GUID { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMMDevice` in this scope [INFO] [stdout] --> src/media/mod.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct Endpoint { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 100 | device: ComObject, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAudioEndpointVolume` in this scope [INFO] [stdout] --> src/media/mod.rs:102:35 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct Endpoint { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 102 | volume: Lazy, Win32Error>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMMDevice` in this scope [INFO] [stdout] --> src/media/mod.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 106 | impl Endpoint { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 107 | fn new(device: ComObject, logger: Logger) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OsStringExt` [INFO] [stdout] --> src/media/mod.rs:127:33 [INFO] [stdout] | [INFO] [stdout] 127 | let str: OsString = OsStringExt::from_wide(slice::from_raw_parts(raw_id, length)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 127 | let str: OsString = OsString::from_wide(slice::from_raw_parts(raw_id, length)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 | use crate::soundcore::event::mpsc::queue::thread::thread::env::os_imp::OsStringExt; [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::unix::prelude::OsStringExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoTaskMemFree` in this scope [INFO] [stdout] --> src/media/mod.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | CoTaskMemFree(raw_id as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STGM_READ` in this scope [INFO] [stdout] --> src/media/mod.rs:139:44 [INFO] [stdout] | [INFO] [stdout] 139 | .OpenPropertyStore(STGM_READ, property_store.as_mut_ptr()), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/media/mod.rs:152:35 [INFO] [stdout] | [INFO] [stdout] 106 | impl Endpoint { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn clsid(&self) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NTE_NOT_FOUND` in this scope [INFO] [stdout] --> src/media/mod.rs:159:70 [INFO] [stdout] | [INFO] [stdout] 159 | Err(GetPropertyError::Win32(ref error)) if error.code == NTE_NOT_FOUND => { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAudioEndpointVolume` in this scope [INFO] [stdout] --> src/media/mod.rs:179:42 [INFO] [stdout] | [INFO] [stdout] 106 | impl Endpoint { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 179 | fn volume(&self) -> Result, Win32Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAudioEndpointVolume` in this scope [INFO] [stdout] --> src/media/mod.rs:182:51 [INFO] [stdout] | [INFO] [stdout] 106 | impl Endpoint { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 182 | let mut ctrl = MaybeUninit::<*mut IAudioEndpointVolume>::uninit(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSCTX_ALL` in this scope [INFO] [stdout] --> src/media/mod.rs:185:21 [INFO] [stdout] | [INFO] [stdout] 185 | CLSCTX_ALL, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VARTYPE` in this scope [INFO] [stdout] --> src/media/mod.rs:252:20 [INFO] [stdout] | [INFO] [stdout] 252 | UnexpectedType(VARTYPE), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IPropertyStore` in this scope [INFO] [stdout] --> src/media/mod.rs:281:32 [INFO] [stdout] | [INFO] [stdout] 281 | struct PropertyStore(ComObject, Logger); [INFO] [stdout] | - ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROPERTYKEY` in this scope [INFO] [stdout] --> src/media/mod.rs:284:38 [INFO] [stdout] | [INFO] [stdout] 284 | unsafe fn get_value(&self, key: &PROPERTYKEY) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROPVARIANT` in this scope [INFO] [stdout] --> src/media/mod.rs:284:61 [INFO] [stdout] | [INFO] [stdout] 283 | impl PropertyStore { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 284 | unsafe fn get_value(&self, key: &PROPERTYKEY) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROPERTYKEY` in this scope [INFO] [stdout] --> src/media/mod.rs:291:38 [INFO] [stdout] | [INFO] [stdout] 291 | fn get_string_value(&self, key: &PROPERTYKEY) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PropVariantClear` in this scope [INFO] [stdout] --> src/media/mod.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | PropVariantClear(&mut property_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PropVariantClear` in this scope [INFO] [stdout] --> src/media/mod.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | PropVariantClear(&mut property_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMMDeviceEnumerator` in this scope [INFO] [stdout] --> src/media/mod.rs:316:39 [INFO] [stdout] | [INFO] [stdout] 316 | pub struct DeviceEnumerator(ComObject, Logger); [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMMDeviceEnumerator` in this scope [INFO] [stdout] --> src/media/mod.rs:323:53 [INFO] [stdout] | [INFO] [stdout] 316 | pub struct DeviceEnumerator(ComObject, Logger); [INFO] [stdout] | -------------------------------------------------------------------- similarly named struct `DeviceEnumerator` defined here [INFO] [stdout] ... [INFO] [stdout] 323 | let mut enumerator = MaybeUninit::<*mut IMMDeviceEnumerator>::uninit(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 323 | let mut enumerator = MaybeUninit::<*mut DeviceEnumerator>::uninit(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 318 | impl DeviceEnumerator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoCreateInstance` in this scope [INFO] [stdout] --> src/media/mod.rs:325:19 [INFO] [stdout] | [INFO] [stdout] 325 | check(CoCreateInstance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSID_MMDeviceEnumerator` in this scope [INFO] [stdout] --> src/media/mod.rs:326:18 [INFO] [stdout] | [INFO] [stdout] 316 | pub struct DeviceEnumerator(ComObject, Logger); [INFO] [stdout] | -------------------------------------------------------------------- similarly named tuple struct `DeviceEnumerator` defined here [INFO] [stdout] ... [INFO] [stdout] 326 | &CLSID_MMDeviceEnumerator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `DeviceEnumerator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSCTX_ALL` in this scope [INFO] [stdout] --> src/media/mod.rs:328:17 [INFO] [stdout] | [INFO] [stdout] 328 | CLSCTX_ALL, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `eRender` in this scope [INFO] [stdout] --> src/media/mod.rs:346:17 [INFO] [stdout] | [INFO] [stdout] 346 | eRender, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEVICE_STATE_ACTIVE` in this scope [INFO] [stdout] --> src/media/mod.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | DEVICE_STATE_ACTIVE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `eRender` in this scope [INFO] [stdout] --> src/media/mod.rs:376:46 [INFO] [stdout] | [INFO] [stdout] 376 | .GetDefaultAudioEndpoint(eRender, eConsole, device.as_mut_ptr()), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `eConsole` in this scope [INFO] [stdout] --> src/media/mod.rs:376:55 [INFO] [stdout] | [INFO] [stdout] 376 | .GetDefaultAudioEndpoint(eRender, eConsole, device.as_mut_ptr()), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAudioEndpointVolumeCallbackVtbl` in this scope [INFO] [stdout] --> src/media/mod.rs:401:19 [INFO] [stdout] | [INFO] [stdout] 401 | lp_vtbl: *mut IAudioEndpointVolumeCallbackVtbl, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAudioEndpointVolumeCallbackVtbl` in this scope [INFO] [stdout] --> src/media/mod.rs:402:11 [INFO] [stdout] | [INFO] [stdout] 402 | vtbl: IAudioEndpointVolumeCallbackVtbl, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AUDIO_VOLUME_NOTIFICATION_DATA` in this scope [INFO] [stdout] --> src/media/mod.rs:409:32 [INFO] [stdout] | [INFO] [stdout] 409 | C: Send + 'static + FnMut(&AUDIO_VOLUME_NOTIFICATION_DATA) -> Result<(), Win32Error>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAudioEndpointVolumeCallback` in this scope [INFO] [stdout] --> src/media/mod.rs:412:45 [INFO] [stdout] | [INFO] [stdout] 400 | struct AudioEndpointVolumeCallback { [INFO] [stdout] | ------------------------------------- similarly named struct `AudioEndpointVolumeCallback` defined here [INFO] [stdout] ... [INFO] [stdout] 412 | pub unsafe fn wrap(callback: C) -> *mut IAudioEndpointVolumeCallback { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `AudioEndpointVolumeCallback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IAudioEndpointVolumeCallbackVtbl` in this scope [INFO] [stdout] --> src/media/mod.rs:415:19 [INFO] [stdout] | [INFO] [stdout] 400 | struct AudioEndpointVolumeCallback { [INFO] [stdout] | ------------------------------------- similarly named struct `AudioEndpointVolumeCallback` defined here [INFO] [stdout] ... [INFO] [stdout] 415 | vtbl: IAudioEndpointVolumeCallbackVtbl { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `AudioEndpointVolumeCallback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IUnknownVtbl` in this scope [INFO] [stdout] --> src/media/mod.rs:416:25 [INFO] [stdout] | [INFO] [stdout] 416 | parent: IUnknownVtbl { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/media/mod.rs:436:29 [INFO] [stdout] | [INFO] [stdout] 436 | let this = this as *mut IUnknown; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `E_INVALIDARG` in this scope [INFO] [stdout] --> src/media/mod.rs:441:29 [INFO] [stdout] | [INFO] [stdout] 441 | Err(Win32Error::new(E_INVALIDARG)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/media/mod.rs:450:27 [INFO] [stdout] | [INFO] [stdout] 448 | unsafe fn uncheck(result: E) -> HRESULT [INFO] [stdout] | - help: you might be missing a type parameter: `, HRESULT` [INFO] [stdout] 449 | where [INFO] [stdout] 450 | E: FnOnce() -> Result, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/media/mod.rs:448:36 [INFO] [stdout] | [INFO] [stdout] 448 | unsafe fn uncheck(result: E) -> HRESULT [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/media/mod.rs:459:16 [INFO] [stdout] | [INFO] [stdout] 459 | this: *mut IUnknown, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/media/mod.rs:460:10 [INFO] [stdout] | [INFO] [stdout] 460 | iid: REFIID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/media/mod.rs:462:6 [INFO] [stdout] | [INFO] [stdout] 462 | ) -> HRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsEqualIID` in this scope [INFO] [stdout] --> src/media/mod.rs:466:12 [INFO] [stdout] | [INFO] [stdout] 466 | if IsEqualIID(iid, &IUnknown::uuidof()) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsEqualIID` in this scope [INFO] [stdout] --> src/media/mod.rs:467:16 [INFO] [stdout] | [INFO] [stdout] 467 | || IsEqualIID(iid, &IAudioEndpointVolumeCallback::uuidof()) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `E_NOINTERFACE` in this scope [INFO] [stdout] --> src/media/mod.rs:474:33 [INFO] [stdout] | [INFO] [stdout] 474 | Err(Win32Error::new(E_NOINTERFACE)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/media/mod.rs:479:58 [INFO] [stdout] | [INFO] [stdout] 479 | unsafe extern "system" fn callback_add_ref(this: *mut IUnknown) -> ULONG { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/media/mod.rs:479:71 [INFO] [stdout] | [INFO] [stdout] 479 | unsafe extern "system" fn callback_add_ref(this: *mut IUnknown) -> ULONG { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/media/mod.rs:483:22 [INFO] [stdout] | [INFO] [stdout] 483 | count as ULONG [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/media/mod.rs:489:58 [INFO] [stdout] | [INFO] [stdout] 489 | unsafe extern "system" fn callback_release(this: *mut IUnknown) -> ULONG { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/media/mod.rs:489:71 [INFO] [stdout] | [INFO] [stdout] 489 | unsafe extern "system" fn callback_release(this: *mut IUnknown) -> ULONG { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/media/mod.rs:501:22 [INFO] [stdout] | [INFO] [stdout] 501 | count as ULONG [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AUDIO_VOLUME_NOTIFICATION_DATA` in this scope [INFO] [stdout] --> src/media/mod.rs:512:15 [INFO] [stdout] | [INFO] [stdout] 512 | C: FnMut(&AUDIO_VOLUME_NOTIFICATION_DATA) -> Result<(), Win32Error>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAudioEndpointVolumeCallback` in this scope [INFO] [stdout] --> src/media/mod.rs:508:16 [INFO] [stdout] | [INFO] [stdout] 400 | struct AudioEndpointVolumeCallback { [INFO] [stdout] | ------------------------------------- similarly named struct `AudioEndpointVolumeCallback` defined here [INFO] [stdout] ... [INFO] [stdout] 508 | this: *mut IAudioEndpointVolumeCallback, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `AudioEndpointVolumeCallback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AUDIO_VOLUME_NOTIFICATION_DATA` in this scope [INFO] [stdout] --> src/media/mod.rs:509:18 [INFO] [stdout] | [INFO] [stdout] 509 | notify: *mut AUDIO_VOLUME_NOTIFICATION_DATA, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/media/mod.rs:510:6 [INFO] [stdout] | [INFO] [stdout] 510 | ) -> HRESULT [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/soundcore/core.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | clsid: &GUID, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/soundcore/core.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | fn new(clsid: &GUID, logger: Logger) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoCreateInstance` in this scope [INFO] [stdout] --> src/soundcore/core.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | check(CoCreateInstance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSCTX_ALL` in this scope [INFO] [stdout] --> src/soundcore/core.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | CLSCTX_ALL, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `E_ABORT` in this scope [INFO] [stdout] --> src/soundcore/event.rs:39:47 [INFO] [stdout] | [INFO] [stdout] 39 | Err(_) => Err(Win32Error::new(E_ABORT)), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `E_FAIL` in this scope [INFO] [stdout] --> src/soundcore/feature_iterator.rs:50:57 [INFO] [stdout] | [INFO] [stdout] 50 | Err(Win32Error { code, .. }) if code == E_FAIL => return None, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `E_ACCESSDENIED` in this scope [INFO] [stdout] --> src/soundcore/parameter.rs:111:57 [INFO] [stdout] | [INFO] [stdout] 111 | Err(Win32Error { code, .. }) if code == E_ACCESSDENIED => { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `E_FAIL` in this scope [INFO] [stdout] --> src/soundcore/parameter_iterator.rs:63:57 [INFO] [stdout] | [INFO] [stdout] 63 | Err(Win32Error { code, .. }) if code == E_FAIL => return None, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/com/event.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | ready_event: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetEvent` in this scope [INFO] [stdout] --> src/com/event.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | SetEvent(arc_self.ready_event); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/com/event.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe { CloseHandle(self.ready_event as *mut _) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateEventW` in this scope [INFO] [stdout] --> src/com/event.rs:40:36 [INFO] [stdout] | [INFO] [stdout] 40 | let ready_event = unsafe { CreateEventW(ptr::null_mut(), 0, 0, ptr::null_mut()) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoWaitForMultipleObjects` in this scope [INFO] [stdout] --> src/com/event.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | check(CoWaitForMultipleObjects( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CWMO_DISPATCH_CALLS` in this scope [INFO] [stdout] --> src/com/event.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | CWMO_DISPATCH_CALLS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFINITE` in this scope [INFO] [stdout] --> src/com/event.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | INFINITE, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoInitializeEx` in this scope [INFO] [stdout] --> src/com/mod.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { check(CoInitializeEx(null_mut(), COINIT_APARTMENTTHREADED)).and(Ok(())) } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_APARTMENTTHREADED` in this scope [INFO] [stdout] --> src/com/mod.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { check(CoInitializeEx(null_mut(), COINIT_APARTMENTTHREADED)).and(Ok(())) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoUninitialize` in this scope [INFO] [stdout] --> src/com/mod.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | CoUninitialize(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/com/mod.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | T: Deref, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/com/mod.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | T: Deref, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/com/mod.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | T: Deref, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/com/mod.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | T: Deref, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/com/mod.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | T: Deref, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/com/mod.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | T: Deref, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ICallbackVtbl` in this scope [INFO] [stdout] --> src/ctsndcr.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 178 | lpVtbl: *mut ICallbackVtbl, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ICallbackVtbl` in this scope [INFO] [stdout] --> src/ctsndcr.rs:179:11 [INFO] [stdout] | [INFO] [stdout] 179 | vtbl: ICallbackVtbl, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ICallback` in this scope [INFO] [stdout] --> src/ctsndcr.rs:184:6 [INFO] [stdout] | [INFO] [stdout] 174 | / struct Callback [INFO] [stdout] 175 | | where [INFO] [stdout] 176 | | C: FnMut(&EventInfo) -> Result<(), Win32Error>, [INFO] [stdout] 177 | | { [INFO] [stdout] ... | [INFO] [stdout] 181 | | callback: C, [INFO] [stdout] 182 | | } [INFO] [stdout] | |_- similarly named struct `Callback` defined here [INFO] [stdout] 183 | [INFO] [stdout] 184 | impl ICallback { [INFO] [stdout] | ^^^^^^^^^ help: a struct with a similar name exists: `Callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ICallbackVtbl` in this scope [INFO] [stdout] --> src/ctsndcr.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 202 | vtbl: ICallbackVtbl { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IUnknownVtbl` in this scope [INFO] [stdout] --> src/ctsndcr.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 203 | parent: IUnknownVtbl { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/ctsndcr.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | let this = this as *mut IUnknown; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `E_INVALIDARG` in this scope [INFO] [stdout] --> src/ctsndcr.rs:229:29 [INFO] [stdout] | [INFO] [stdout] 229 | Err(Win32Error::new(E_INVALIDARG)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/ctsndcr.rs:238:27 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe fn uncheck(result: E) -> HRESULT [INFO] [stdout] | - help: you might be missing a type parameter: `, HRESULT` [INFO] [stdout] 237 | where [INFO] [stdout] 238 | E: FnOnce() -> Result, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/ctsndcr.rs:236:36 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe fn uncheck(result: E) -> HRESULT [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/ctsndcr.rs:247:16 [INFO] [stdout] | [INFO] [stdout] 247 | this: *mut IUnknown, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/ctsndcr.rs:248:10 [INFO] [stdout] | [INFO] [stdout] 248 | iid: REFIID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/ctsndcr.rs:250:6 [INFO] [stdout] | [INFO] [stdout] 250 | ) -> HRESULT [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsEqualIID` in this scope [INFO] [stdout] --> src/ctsndcr.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | if IsEqualIID(iid, &IUnknown::uuidof()) || IsEqualIID(iid, &ICallback::uuidof()) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsEqualIID` in this scope [INFO] [stdout] --> src/ctsndcr.rs:257:52 [INFO] [stdout] | [INFO] [stdout] 257 | if IsEqualIID(iid, &IUnknown::uuidof()) || IsEqualIID(iid, &ICallback::uuidof()) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `E_NOINTERFACE` in this scope [INFO] [stdout] --> src/ctsndcr.rs:263:33 [INFO] [stdout] | [INFO] [stdout] 263 | Err(Win32Error::new(E_NOINTERFACE)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/ctsndcr.rs:268:58 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe extern "system" fn callback_add_ref(this: *mut IUnknown) -> ULONG [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/ctsndcr.rs:268:71 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe extern "system" fn callback_add_ref(this: *mut IUnknown) -> ULONG [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/ctsndcr.rs:275:22 [INFO] [stdout] | [INFO] [stdout] 275 | count as ULONG [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/ctsndcr.rs:281:58 [INFO] [stdout] | [INFO] [stdout] 281 | unsafe extern "system" fn callback_release(this: *mut IUnknown) -> ULONG [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/ctsndcr.rs:281:71 [INFO] [stdout] | [INFO] [stdout] 281 | unsafe extern "system" fn callback_release(this: *mut IUnknown) -> ULONG [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/ctsndcr.rs:296:22 [INFO] [stdout] | [INFO] [stdout] 296 | count as ULONG [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ICallback` in this scope [INFO] [stdout] --> src/ctsndcr.rs:303:16 [INFO] [stdout] | [INFO] [stdout] 174 | / struct Callback [INFO] [stdout] 175 | | where [INFO] [stdout] 176 | | C: FnMut(&EventInfo) -> Result<(), Win32Error>, [INFO] [stdout] 177 | | { [INFO] [stdout] ... | [INFO] [stdout] 181 | | callback: C, [INFO] [stdout] 182 | | } [INFO] [stdout] | |_- similarly named struct `Callback` defined here [INFO] [stdout] ... [INFO] [stdout] 303 | this: *mut ICallback, [INFO] [stdout] | ^^^^^^^^^ help: a struct with a similar name exists: `Callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/ctsndcr.rs:305:6 [INFO] [stdout] | [INFO] [stdout] 305 | ) -> HRESULT [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/hresult.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub code: HRESULT, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/hresult.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(code: HRESULT) -> Win32Error { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FACILITY_WIN32` in this scope [INFO] [stdout] --> src/hresult.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | facility if facility == FACILITY_WIN32 => unsafe { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FormatMessageW` in this scope [INFO] [stdout] --> src/hresult.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | let len = FormatMessageW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_ALLOCATE_BUFFER` in this scope [INFO] [stdout] --> src/hresult.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_FROM_SYSTEM` in this scope [INFO] [stdout] --> src/hresult.rs:43:54 [INFO] [stdout] | [INFO] [stdout] 43 | FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OsStringExt` [INFO] [stdout] --> src/hresult.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | ... OsStringExt::from_wide(slice::from_raw_parts(buffer, len as usize)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 56 | OsString::from_wide(slice::from_raw_parts(buffer, len as usize)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::soundcore::event::mpsc::queue::thread::thread::env::os_imp::OsStringExt; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::prelude::OsStringExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LocalFree` in this scope [INFO] [stdout] --> src/hresult.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | LocalFree(buffer as *mut _); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/hresult.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn check(result: HRESULT) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/hresult.rs:88:41 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn check(result: HRESULT) -> Result { [INFO] [stdout] | - ^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/media/event.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | pub event_context: GUID, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAudioEndpointVolume` in this scope [INFO] [stdout] --> src/media/event.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 55 | pub(crate) struct VolumeEvents { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 56 | volume: ComObject, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAudioEndpointVolumeCallback` in this scope [INFO] [stdout] --> src/media/event.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | callback: ComObject, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/media/mod.rs:400:1 [INFO] [stdout] | [INFO] [stdout] 400 | struct AudioEndpointVolumeCallback { [INFO] [stdout] | ------------------------------------- similarly named struct `AudioEndpointVolumeCallback` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 58 | callback: ComObject, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 55 | pub(crate) struct VolumeEvents { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAudioEndpointVolume` in this scope [INFO] [stdout] --> src/media/event.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 61 | impl VolumeEvents { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 62 | pub fn new(volume: ComObject) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `E_ABORT` in this scope [INFO] [stdout] --> src/media/event.rs:73:51 [INFO] [stdout] | [INFO] [stdout] 73 | Err(_) => Err(Win32Error::new(E_ABORT)), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/media/mod.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | fn parse_guid(src: &str) -> Result> { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GUID` in this scope [INFO] [stdout] --> src/media/mod.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | Ok(GUID { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMMDevice` in this scope [INFO] [stdout] --> src/media/mod.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct Endpoint { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 100 | device: ComObject, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAudioEndpointVolume` in this scope [INFO] [stdout] --> src/media/mod.rs:102:35 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct Endpoint { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 102 | volume: Lazy, Win32Error>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMMDevice` in this scope [INFO] [stdout] --> src/media/mod.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 106 | impl Endpoint { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 107 | fn new(device: ComObject, logger: Logger) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OsStringExt` [INFO] [stdout] --> src/media/mod.rs:127:33 [INFO] [stdout] | [INFO] [stdout] 127 | let str: OsString = OsStringExt::from_wide(slice::from_raw_parts(raw_id, length)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 127 | let str: OsString = OsString::from_wide(slice::from_raw_parts(raw_id, length)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 | use crate::soundcore::event::mpsc::queue::thread::thread::env::os_imp::OsStringExt; [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::unix::prelude::OsStringExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoTaskMemFree` in this scope [INFO] [stdout] --> src/media/mod.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | CoTaskMemFree(raw_id as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STGM_READ` in this scope [INFO] [stdout] --> src/media/mod.rs:139:44 [INFO] [stdout] | [INFO] [stdout] 139 | .OpenPropertyStore(STGM_READ, property_store.as_mut_ptr()), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/media/mod.rs:152:35 [INFO] [stdout] | [INFO] [stdout] 106 | impl Endpoint { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn clsid(&self) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NTE_NOT_FOUND` in this scope [INFO] [stdout] --> src/media/mod.rs:159:70 [INFO] [stdout] | [INFO] [stdout] 159 | Err(GetPropertyError::Win32(ref error)) if error.code == NTE_NOT_FOUND => { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAudioEndpointVolume` in this scope [INFO] [stdout] --> src/media/mod.rs:179:42 [INFO] [stdout] | [INFO] [stdout] 106 | impl Endpoint { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 179 | fn volume(&self) -> Result, Win32Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAudioEndpointVolume` in this scope [INFO] [stdout] --> src/media/mod.rs:182:51 [INFO] [stdout] | [INFO] [stdout] 106 | impl Endpoint { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 182 | let mut ctrl = MaybeUninit::<*mut IAudioEndpointVolume>::uninit(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSCTX_ALL` in this scope [INFO] [stdout] --> src/media/mod.rs:185:21 [INFO] [stdout] | [INFO] [stdout] 185 | CLSCTX_ALL, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VARTYPE` in this scope [INFO] [stdout] --> src/media/mod.rs:252:20 [INFO] [stdout] | [INFO] [stdout] 252 | UnexpectedType(VARTYPE), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IPropertyStore` in this scope [INFO] [stdout] --> src/media/mod.rs:281:32 [INFO] [stdout] | [INFO] [stdout] 281 | struct PropertyStore(ComObject, Logger); [INFO] [stdout] | - ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROPERTYKEY` in this scope [INFO] [stdout] --> src/media/mod.rs:284:38 [INFO] [stdout] | [INFO] [stdout] 284 | unsafe fn get_value(&self, key: &PROPERTYKEY) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROPVARIANT` in this scope [INFO] [stdout] --> src/media/mod.rs:284:61 [INFO] [stdout] | [INFO] [stdout] 283 | impl PropertyStore { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 284 | unsafe fn get_value(&self, key: &PROPERTYKEY) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROPERTYKEY` in this scope [INFO] [stdout] --> src/media/mod.rs:291:38 [INFO] [stdout] | [INFO] [stdout] 291 | fn get_string_value(&self, key: &PROPERTYKEY) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PropVariantClear` in this scope [INFO] [stdout] --> src/media/mod.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | PropVariantClear(&mut property_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PropVariantClear` in this scope [INFO] [stdout] --> src/media/mod.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | PropVariantClear(&mut property_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMMDeviceEnumerator` in this scope [INFO] [stdout] --> src/media/mod.rs:316:39 [INFO] [stdout] | [INFO] [stdout] 316 | pub struct DeviceEnumerator(ComObject, Logger); [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMMDeviceEnumerator` in this scope [INFO] [stdout] --> src/media/mod.rs:323:53 [INFO] [stdout] | [INFO] [stdout] 316 | pub struct DeviceEnumerator(ComObject, Logger); [INFO] [stdout] | -------------------------------------------------------------------- similarly named struct `DeviceEnumerator` defined here [INFO] [stdout] ... [INFO] [stdout] 323 | let mut enumerator = MaybeUninit::<*mut IMMDeviceEnumerator>::uninit(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 323 | let mut enumerator = MaybeUninit::<*mut DeviceEnumerator>::uninit(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 318 | impl DeviceEnumerator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoCreateInstance` in this scope [INFO] [stdout] --> src/media/mod.rs:325:19 [INFO] [stdout] | [INFO] [stdout] 325 | check(CoCreateInstance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSID_MMDeviceEnumerator` in this scope [INFO] [stdout] --> src/media/mod.rs:326:18 [INFO] [stdout] | [INFO] [stdout] 316 | pub struct DeviceEnumerator(ComObject, Logger); [INFO] [stdout] | -------------------------------------------------------------------- similarly named tuple struct `DeviceEnumerator` defined here [INFO] [stdout] ... [INFO] [stdout] 326 | &CLSID_MMDeviceEnumerator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `DeviceEnumerator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSCTX_ALL` in this scope [INFO] [stdout] --> src/media/mod.rs:328:17 [INFO] [stdout] | [INFO] [stdout] 328 | CLSCTX_ALL, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `eRender` in this scope [INFO] [stdout] --> src/media/mod.rs:346:17 [INFO] [stdout] | [INFO] [stdout] 346 | eRender, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 189 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEVICE_STATE_ACTIVE` in this scope [INFO] [stdout] --> src/media/mod.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | DEVICE_STATE_ACTIVE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `eRender` in this scope [INFO] [stdout] --> src/media/mod.rs:376:46 [INFO] [stdout] | [INFO] [stdout] 376 | .GetDefaultAudioEndpoint(eRender, eConsole, device.as_mut_ptr()), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `eConsole` in this scope [INFO] [stdout] --> src/media/mod.rs:376:55 [INFO] [stdout] | [INFO] [stdout] 376 | .GetDefaultAudioEndpoint(eRender, eConsole, device.as_mut_ptr()), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAudioEndpointVolumeCallbackVtbl` in this scope [INFO] [stdout] --> src/media/mod.rs:401:19 [INFO] [stdout] | [INFO] [stdout] 401 | lp_vtbl: *mut IAudioEndpointVolumeCallbackVtbl, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAudioEndpointVolumeCallbackVtbl` in this scope [INFO] [stdout] --> src/media/mod.rs:402:11 [INFO] [stdout] | [INFO] [stdout] 402 | vtbl: IAudioEndpointVolumeCallbackVtbl, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AUDIO_VOLUME_NOTIFICATION_DATA` in this scope [INFO] [stdout] --> src/media/mod.rs:409:32 [INFO] [stdout] | [INFO] [stdout] 409 | C: Send + 'static + FnMut(&AUDIO_VOLUME_NOTIFICATION_DATA) -> Result<(), Win32Error>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAudioEndpointVolumeCallback` in this scope [INFO] [stdout] --> src/media/mod.rs:412:45 [INFO] [stdout] | [INFO] [stdout] 400 | struct AudioEndpointVolumeCallback { [INFO] [stdout] | ------------------------------------- similarly named struct `AudioEndpointVolumeCallback` defined here [INFO] [stdout] ... [INFO] [stdout] 412 | pub unsafe fn wrap(callback: C) -> *mut IAudioEndpointVolumeCallback { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `AudioEndpointVolumeCallback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IAudioEndpointVolumeCallbackVtbl` in this scope [INFO] [stdout] --> src/media/mod.rs:415:19 [INFO] [stdout] | [INFO] [stdout] 400 | struct AudioEndpointVolumeCallback { [INFO] [stdout] | ------------------------------------- similarly named struct `AudioEndpointVolumeCallback` defined here [INFO] [stdout] ... [INFO] [stdout] 415 | vtbl: IAudioEndpointVolumeCallbackVtbl { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `AudioEndpointVolumeCallback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IUnknownVtbl` in this scope [INFO] [stdout] --> src/media/mod.rs:416:25 [INFO] [stdout] | [INFO] [stdout] 416 | parent: IUnknownVtbl { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/media/mod.rs:436:29 [INFO] [stdout] | [INFO] [stdout] 436 | let this = this as *mut IUnknown; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sbz-switch` [INFO] [stdout] error[E0425]: cannot find value `E_INVALIDARG` in this scope [INFO] [stdout] --> src/media/mod.rs:441:29 [INFO] [stdout] | [INFO] [stdout] 441 | Err(Win32Error::new(E_INVALIDARG)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/media/mod.rs:450:27 [INFO] [stdout] | [INFO] [stdout] 448 | unsafe fn uncheck(result: E) -> HRESULT [INFO] [stdout] | - help: you might be missing a type parameter: `, HRESULT` [INFO] [stdout] 449 | where [INFO] [stdout] 450 | E: FnOnce() -> Result, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/media/mod.rs:448:36 [INFO] [stdout] | [INFO] [stdout] 448 | unsafe fn uncheck(result: E) -> HRESULT [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/media/mod.rs:459:16 [INFO] [stdout] | [INFO] [stdout] 459 | this: *mut IUnknown, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/media/mod.rs:460:10 [INFO] [stdout] | [INFO] [stdout] 460 | iid: REFIID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/media/mod.rs:462:6 [INFO] [stdout] | [INFO] [stdout] 462 | ) -> HRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsEqualIID` in this scope [INFO] [stdout] --> src/media/mod.rs:466:12 [INFO] [stdout] | [INFO] [stdout] 466 | if IsEqualIID(iid, &IUnknown::uuidof()) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `IsEqualIID` in this scope [INFO] [stdout] --> src/media/mod.rs:467:16 [INFO] [stdout] | [INFO] [stdout] 467 | || IsEqualIID(iid, &IAudioEndpointVolumeCallback::uuidof()) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `E_NOINTERFACE` in this scope [INFO] [stdout] --> src/media/mod.rs:474:33 [INFO] [stdout] | [INFO] [stdout] 474 | Err(Win32Error::new(E_NOINTERFACE)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/media/mod.rs:479:58 [INFO] [stdout] | [INFO] [stdout] 479 | unsafe extern "system" fn callback_add_ref(this: *mut IUnknown) -> ULONG { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/media/mod.rs:479:71 [INFO] [stdout] | [INFO] [stdout] 479 | unsafe extern "system" fn callback_add_ref(this: *mut IUnknown) -> ULONG { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/media/mod.rs:483:22 [INFO] [stdout] | [INFO] [stdout] 483 | count as ULONG [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/media/mod.rs:489:58 [INFO] [stdout] | [INFO] [stdout] 489 | unsafe extern "system" fn callback_release(this: *mut IUnknown) -> ULONG { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/media/mod.rs:489:71 [INFO] [stdout] | [INFO] [stdout] 489 | unsafe extern "system" fn callback_release(this: *mut IUnknown) -> ULONG { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/media/mod.rs:501:22 [INFO] [stdout] | [INFO] [stdout] 501 | count as ULONG [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AUDIO_VOLUME_NOTIFICATION_DATA` in this scope [INFO] [stdout] --> src/media/mod.rs:512:15 [INFO] [stdout] | [INFO] [stdout] 512 | C: FnMut(&AUDIO_VOLUME_NOTIFICATION_DATA) -> Result<(), Win32Error>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAudioEndpointVolumeCallback` in this scope [INFO] [stdout] --> src/media/mod.rs:508:16 [INFO] [stdout] | [INFO] [stdout] 400 | struct AudioEndpointVolumeCallback { [INFO] [stdout] | ------------------------------------- similarly named struct `AudioEndpointVolumeCallback` defined here [INFO] [stdout] ... [INFO] [stdout] 508 | this: *mut IAudioEndpointVolumeCallback, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `AudioEndpointVolumeCallback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AUDIO_VOLUME_NOTIFICATION_DATA` in this scope [INFO] [stdout] --> src/media/mod.rs:509:18 [INFO] [stdout] | [INFO] [stdout] 509 | notify: *mut AUDIO_VOLUME_NOTIFICATION_DATA, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/media/mod.rs:510:6 [INFO] [stdout] | [INFO] [stdout] 510 | ) -> HRESULT [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/soundcore/core.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | clsid: &GUID, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/soundcore/core.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | fn new(clsid: &GUID, logger: Logger) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoCreateInstance` in this scope [INFO] [stdout] --> src/soundcore/core.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | check(CoCreateInstance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CLSCTX_ALL` in this scope [INFO] [stdout] --> src/soundcore/core.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | CLSCTX_ALL, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `E_ABORT` in this scope [INFO] [stdout] --> src/soundcore/event.rs:39:47 [INFO] [stdout] | [INFO] [stdout] 39 | Err(_) => Err(Win32Error::new(E_ABORT)), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `E_FAIL` in this scope [INFO] [stdout] --> src/soundcore/feature_iterator.rs:50:57 [INFO] [stdout] | [INFO] [stdout] 50 | Err(Win32Error { code, .. }) if code == E_FAIL => return None, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `E_ACCESSDENIED` in this scope [INFO] [stdout] --> src/soundcore/parameter.rs:111:57 [INFO] [stdout] | [INFO] [stdout] 111 | Err(Win32Error { code, .. }) if code == E_ACCESSDENIED => { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `E_FAIL` in this scope [INFO] [stdout] --> src/soundcore/parameter_iterator.rs:63:57 [INFO] [stdout] | [INFO] [stdout] 63 | Err(Win32Error { code, .. }) if code == E_FAIL => return None, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 189 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "35f07708519ab1e3931add0dd28e1c2c67265a9dfcbf675a1ba1bce3059f2158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35f07708519ab1e3931add0dd28e1c2c67265a9dfcbf675a1ba1bce3059f2158", kill_on_drop: false }` [INFO] [stdout] 35f07708519ab1e3931add0dd28e1c2c67265a9dfcbf675a1ba1bce3059f2158