[INFO] cloning repository https://github.com/quorauk/arduino-audio-meter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/quorauk/arduino-audio-meter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquorauk%2Farduino-audio-meter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquorauk%2Farduino-audio-meter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a18d32b89ad0fd46940213a8dedfa132d8045590 [INFO] checking quorauk/arduino-audio-meter against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquorauk%2Farduino-audio-meter" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/quorauk/arduino-audio-meter on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/quorauk/arduino-audio-meter [INFO] finished tweaking git repo https://github.com/quorauk/arduino-audio-meter [INFO] tweaked toml for git repo https://github.com/quorauk/arduino-audio-meter written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/quorauk/arduino-audio-meter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a06dc1ab5bdb41d4b3e02a72338e04981154fead06eb65522e52e3cff6681ff [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" "8a06dc1ab5bdb41d4b3e02a72338e04981154fead06eb65522e52e3cff6681ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a06dc1ab5bdb41d4b3e02a72338e04981154fead06eb65522e52e3cff6681ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a06dc1ab5bdb41d4b3e02a72338e04981154fead06eb65522e52e3cff6681ff", kill_on_drop: false }` [INFO] [stdout] 8a06dc1ab5bdb41d4b3e02a72338e04981154fead06eb65522e52e3cff6681ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cffb1defea226f2674772cacfac0f32e16e76060a024cf3b8381515aad025c7 [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" "7cffb1defea226f2674772cacfac0f32e16e76060a024cf3b8381515aad025c7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Checking serialport v3.3.0 [INFO] [stderr] Checking vmu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::objbase::*; [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/windows.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | 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/windows.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::endpointvolume::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/windows.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/windows.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `guiddef` [INFO] [stdout] --> src/windows.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | let cls_mm_device_enum : guiddef::GUID = CLSID_MMDeviceEnumerator; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `guiddef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IMMDeviceEnumerator` [INFO] [stdout] --> src/windows.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | let iid_imm_device_enumerator = IMMDeviceEnumerator::uuidof(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `IMMDeviceEnumerator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | winapi::um::combaseapi::CoCreateInstance(&cls_mm_device_enum, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wtypesbase` [INFO] [stdout] --> src/windows.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | wtypesbase::CLSCTX_INPROC_SERVER, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `wtypesbase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/windows.rs:21:58 [INFO] [stdout] | [INFO] [stdout] 21 | ... as *mut *mut 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 `um` in `winapi` [INFO] [stdout] --> src/windows.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | let mut pp_device : *mut winapi::um::mmdeviceapi::IMMDevice = unsafe { std::mem::zeroed() }; [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/windows.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | winapi::um::mmdeviceapi::eCapture, [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/windows.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | winapi::um::mmdeviceapi::eCommunications, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IAudioMeterInformation` [INFO] [stdout] --> src/windows.rs:39:40 [INFO] [stdout] | [INFO] [stdout] 39 | let cls_iaudio_meter_information = IAudioMeterInformation::uuidof(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `IAudioMeterInformation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wtypesbase` [INFO] [stdout] --> src/windows.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | wtypesbase::CLSCTX_INPROC_SERVER, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `wtypesbase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:48:52 [INFO] [stdout] | [INFO] [stdout] 48 | &mut input_device as *mut *mut winapi::um::endpointvolume::IAudioMeterInformation [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/windows.rs:49:54 [INFO] [stdout] | [INFO] [stdout] 49 | ... as *mut *mut 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 `um` in `winapi` [INFO] [stdout] --> src/main.rs:21:78 [INFO] [stdout] | [INFO] [stdout] 21 | fn connected(port : &mut serialport::SerialPort, input_device : *mut winapi::um::endpointvolume::IAudioMeterInformation) { [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMMDeviceEnumerator` in this scope [INFO] [stdout] --> src/windows.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_device_enumerator() -> *mut IMMDeviceEnumerator { [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/windows.rs:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | let cls_mm_device_enum : guiddef::GUID = CLSID_MMDeviceEnumerator; [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/windows.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | let mut device_enumerator : *mut IMMDeviceEnumerator = unsafe { std::mem::zeroed() }; [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/windows.rs:20:49 [INFO] [stdout] | [INFO] [stdout] 20 | &mut device_enumerator as *mut *mut IMMDeviceEnumerator [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/windows.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | fn get_imm_device(device_enumerator : *mut IMMDeviceEnumerator) -> *mut IMMDevice { [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/windows.rs:26:73 [INFO] [stdout] | [INFO] [stdout] 26 | fn get_imm_device(device_enumerator : *mut IMMDeviceEnumerator) -> *mut IMMDevice { [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/windows.rs:38:50 [INFO] [stdout] | [INFO] [stdout] 38 | fn get_iaudio_meter_information(pp_device : *mut IMMDevice) -> *mut IAudioMeterInformation { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAudioMeterInformation` in this scope [INFO] [stdout] --> src/windows.rs:38:69 [INFO] [stdout] | [INFO] [stdout] 38 | fn get_iaudio_meter_information(pp_device : *mut IMMDevice) -> *mut IAudioMeterInformation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAudioMeterInformation` in this scope [INFO] [stdout] --> src/windows.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | let mut input_device : *mut IAudioMeterInformation = unsafe { std::mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAudioMeterInformation` in this scope [INFO] [stdout] --> src/windows.rs:54:46 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_audio_meter_information() -> *mut IAudioMeterInformation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoInitialize` in this scope [INFO] [stdout] --> src/windows.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | unsafe { CoInitialize(std::ptr::null_mut()) }; [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/windows.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | let device_enumerator : *mut IMMDeviceEnumerator = get_device_enumerator(); [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/windows.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | let pp_device : *mut IMMDevice = get_imm_device(device_enumerator); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | fn connected(port : &mut serialport::SerialPort, input_device : *mut winapi::um::endpointvolume::IAudioMeterInformation) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn serialport::SerialPort` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::objbase::*; [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/windows.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | 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/windows.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::endpointvolume::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/windows.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/windows.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `guiddef` [INFO] [stdout] --> src/windows.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | let cls_mm_device_enum : guiddef::GUID = CLSID_MMDeviceEnumerator; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `guiddef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IMMDeviceEnumerator` [INFO] [stdout] --> src/windows.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | let iid_imm_device_enumerator = IMMDeviceEnumerator::uuidof(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `IMMDeviceEnumerator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | winapi::um::combaseapi::CoCreateInstance(&cls_mm_device_enum, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wtypesbase` [INFO] [stdout] --> src/windows.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | wtypesbase::CLSCTX_INPROC_SERVER, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `wtypesbase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/windows.rs:21:58 [INFO] [stdout] | [INFO] [stdout] 21 | ... as *mut *mut 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 `um` in `winapi` [INFO] [stdout] --> src/windows.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | let mut pp_device : *mut winapi::um::mmdeviceapi::IMMDevice = unsafe { std::mem::zeroed() }; [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/windows.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | winapi::um::mmdeviceapi::eCapture, [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/windows.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | winapi::um::mmdeviceapi::eCommunications, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IAudioMeterInformation` [INFO] [stdout] --> src/windows.rs:39:40 [INFO] [stdout] | [INFO] [stdout] 39 | let cls_iaudio_meter_information = IAudioMeterInformation::uuidof(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `IAudioMeterInformation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wtypesbase` [INFO] [stdout] --> src/windows.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | wtypesbase::CLSCTX_INPROC_SERVER, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `wtypesbase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/windows.rs:48:52 [INFO] [stdout] | [INFO] [stdout] 48 | &mut input_device as *mut *mut winapi::um::endpointvolume::IAudioMeterInformation [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/windows.rs:49:54 [INFO] [stdout] | [INFO] [stdout] 49 | ... as *mut *mut 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 `um` in `winapi` [INFO] [stdout] --> src/main.rs:21:78 [INFO] [stdout] | [INFO] [stdout] 21 | fn connected(port : &mut serialport::SerialPort, input_device : *mut winapi::um::endpointvolume::IAudioMeterInformation) { [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IMMDeviceEnumerator` in this scope [INFO] [stdout] --> src/windows.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_device_enumerator() -> *mut IMMDeviceEnumerator { [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/windows.rs:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | let cls_mm_device_enum : guiddef::GUID = CLSID_MMDeviceEnumerator; [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/windows.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | let mut device_enumerator : *mut IMMDeviceEnumerator = unsafe { std::mem::zeroed() }; [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/windows.rs:20:49 [INFO] [stdout] | [INFO] [stdout] 20 | &mut device_enumerator as *mut *mut IMMDeviceEnumerator [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/windows.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | fn get_imm_device(device_enumerator : *mut IMMDeviceEnumerator) -> *mut IMMDevice { [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/windows.rs:26:73 [INFO] [stdout] | [INFO] [stdout] 26 | fn get_imm_device(device_enumerator : *mut IMMDeviceEnumerator) -> *mut IMMDevice { [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/windows.rs:38:50 [INFO] [stdout] | [INFO] [stdout] 38 | fn get_iaudio_meter_information(pp_device : *mut IMMDevice) -> *mut IAudioMeterInformation { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAudioMeterInformation` in this scope [INFO] [stdout] --> src/windows.rs:38:69 [INFO] [stdout] | [INFO] [stdout] 38 | fn get_iaudio_meter_information(pp_device : *mut IMMDevice) -> *mut IAudioMeterInformation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAudioMeterInformation` in this scope [INFO] [stdout] --> src/windows.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | let mut input_device : *mut IAudioMeterInformation = unsafe { std::mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IAudioMeterInformation` in this scope [INFO] [stdout] --> src/windows.rs:54:46 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_audio_meter_information() -> *mut IAudioMeterInformation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoInitialize` in this scope [INFO] [stdout] --> src/windows.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | unsafe { CoInitialize(std::ptr::null_mut()) }; [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/windows.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | let device_enumerator : *mut IMMDeviceEnumerator = get_device_enumerator(); [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/windows.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | let pp_device : *mut IMMDevice = get_imm_device(device_enumerator); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | fn connected(port : &mut serialport::SerialPort, input_device : *mut winapi::um::endpointvolume::IAudioMeterInformation) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn serialport::SerialPort` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vmu` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 31 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, 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" "7cffb1defea226f2674772cacfac0f32e16e76060a024cf3b8381515aad025c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cffb1defea226f2674772cacfac0f32e16e76060a024cf3b8381515aad025c7", kill_on_drop: false }` [INFO] [stdout] 7cffb1defea226f2674772cacfac0f32e16e76060a024cf3b8381515aad025c7