[INFO] cloning repository https://github.com/quorauk/arduino-audio-meter [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquorauk%2Farduino-audio-meter'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a18d32b89ad0fd46940213a8dedfa132d8045590 [INFO] testing quorauk/arduino-audio-meter against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquorauk%2Farduino-audio-meter" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/quorauk/arduino-audio-meter on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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-3/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 `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 970aa9c6293423d9eb2515ecce5b1daea45f355d4753c2455d4217df689df179 [INFO] running `"docker" "start" "-a" "970aa9c6293423d9eb2515ecce5b1daea45f355d4753c2455d4217df689df179"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling libudev v0.2.0 [INFO] [stderr] Compiling serialport v3.3.0 [INFO] [stderr] Compiling vmu v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/windows.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use winapi::um::objbase::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/windows.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::um::mmdeviceapi::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/windows.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::um::endpointvolume::*; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::shared` [INFO] [stderr] --> src/windows.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::shared::*; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::Interface` [INFO] [stderr] --> src/windows.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::Interface; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `guiddef` [INFO] [stderr] --> src/windows.rs:10:30 [INFO] [stderr] | [INFO] [stderr] 10 | let cls_mm_device_enum : guiddef::GUID = CLSID_MMDeviceEnumerator; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `guiddef` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `IMMDeviceEnumerator` [INFO] [stderr] --> src/windows.rs:11:37 [INFO] [stderr] | [INFO] [stderr] 11 | let iid_imm_device_enumerator = IMMDeviceEnumerator::uuidof(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `IMMDeviceEnumerator` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/windows.rs:16:17 [INFO] [stderr] | [INFO] [stderr] 16 | winapi::um::combaseapi::CoCreateInstance(&cls_mm_device_enum, [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wtypesbase` [INFO] [stderr] --> src/windows.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | wtypesbase::CLSCTX_INPROC_SERVER, [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `wtypesbase` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stderr] --> src/windows.rs:21:58 [INFO] [stderr] | [INFO] [stderr] 21 | ... as *mut *mut winapi::ctypes::c_void); [INFO] [stderr] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/windows.rs:27:38 [INFO] [stderr] | [INFO] [stderr] 27 | let mut pp_device : *mut winapi::um::mmdeviceapi::IMMDevice = unsafe { std::mem::zeroed() }; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/windows.rs:30:21 [INFO] [stderr] | [INFO] [stderr] 30 | winapi::um::mmdeviceapi::eCapture, [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/windows.rs:31:21 [INFO] [stderr] | [INFO] [stderr] 31 | winapi::um::mmdeviceapi::eCommunications, [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `IAudioMeterInformation` [INFO] [stderr] --> src/windows.rs:39:40 [INFO] [stderr] | [INFO] [stderr] 39 | let cls_iaudio_meter_information = IAudioMeterInformation::uuidof(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type or module `IAudioMeterInformation` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `wtypesbase` [INFO] [stderr] --> src/windows.rs:46:13 [INFO] [stderr] | [INFO] [stderr] 46 | wtypesbase::CLSCTX_INPROC_SERVER, [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `wtypesbase` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/windows.rs:48:52 [INFO] [stderr] | [INFO] [stderr] 48 | &mut input_device as *mut *mut winapi::um::endpointvolume::IAudioMeterInformation [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stderr] --> src/windows.rs:49:54 [INFO] [stderr] | [INFO] [stderr] 49 | ... as *mut *mut winapi::ctypes::c_void); [INFO] [stderr] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/main.rs:21:78 [INFO] [stderr] | [INFO] [stderr] 21 | fn connected(port : &mut serialport::SerialPort, input_device : *mut winapi::um::endpointvolume::IAudioMeterInformation) { [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IMMDeviceEnumerator` in this scope [INFO] [stderr] --> src/windows.rs:9:36 [INFO] [stderr] | [INFO] [stderr] 9 | fn get_device_enumerator() -> *mut IMMDeviceEnumerator { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `CLSID_MMDeviceEnumerator` in this scope [INFO] [stderr] --> src/windows.rs:10:46 [INFO] [stderr] | [INFO] [stderr] 10 | let cls_mm_device_enum : guiddef::GUID = CLSID_MMDeviceEnumerator; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IMMDeviceEnumerator` in this scope [INFO] [stderr] --> src/windows.rs:13:38 [INFO] [stderr] | [INFO] [stderr] 13 | let mut device_enumerator : *mut IMMDeviceEnumerator = unsafe { std::mem::zeroed() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IMMDeviceEnumerator` in this scope [INFO] [stderr] --> src/windows.rs:20:49 [INFO] [stderr] | [INFO] [stderr] 20 | &mut device_enumerator as *mut *mut IMMDeviceEnumerator [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IMMDeviceEnumerator` in this scope [INFO] [stderr] --> src/windows.rs:26:44 [INFO] [stderr] | [INFO] [stderr] 26 | fn get_imm_device(device_enumerator : *mut IMMDeviceEnumerator) -> *mut IMMDevice { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IMMDevice` in this scope [INFO] [stderr] --> src/windows.rs:26:73 [INFO] [stderr] | [INFO] [stderr] 26 | fn get_imm_device(device_enumerator : *mut IMMDeviceEnumerator) -> *mut IMMDevice { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IMMDevice` in this scope [INFO] [stderr] --> src/windows.rs:38:50 [INFO] [stderr] | [INFO] [stderr] 38 | fn get_iaudio_meter_information(pp_device : *mut IMMDevice) -> *mut IAudioMeterInformation { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IAudioMeterInformation` in this scope [INFO] [stderr] --> src/windows.rs:38:69 [INFO] [stderr] | [INFO] [stderr] 38 | fn get_iaudio_meter_information(pp_device : *mut IMMDevice) -> *mut IAudioMeterInformation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IAudioMeterInformation` in this scope [INFO] [stderr] --> src/windows.rs:41:33 [INFO] [stderr] | [INFO] [stderr] 41 | let mut input_device : *mut IAudioMeterInformation = unsafe { std::mem::zeroed() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IAudioMeterInformation` in this scope [INFO] [stderr] --> src/windows.rs:54:46 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn get_audio_meter_information() -> *mut IAudioMeterInformation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CoInitialize` in this scope [INFO] [stderr] --> src/windows.rs:55:14 [INFO] [stderr] | [INFO] [stderr] 55 | unsafe { CoInitialize(std::ptr::null_mut()) }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IMMDeviceEnumerator` in this scope [INFO] [stderr] --> src/windows.rs:56:34 [INFO] [stderr] | [INFO] [stderr] 56 | let device_enumerator : *mut IMMDeviceEnumerator = get_device_enumerator(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IMMDevice` in this scope [INFO] [stderr] --> src/windows.rs:57:26 [INFO] [stderr] | [INFO] [stderr] 57 | let pp_device : *mut IMMDevice = get_imm_device(device_enumerator); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:21:26 [INFO] [stderr] | [INFO] [stderr] 21 | fn connected(port : &mut serialport::SerialPort, input_device : *mut winapi::um::endpointvolume::IAudioMeterInformation) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn serialport::SerialPort` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 31 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `vmu`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "970aa9c6293423d9eb2515ecce5b1daea45f355d4753c2455d4217df689df179"` [INFO] running `"docker" "rm" "-f" "970aa9c6293423d9eb2515ecce5b1daea45f355d4753c2455d4217df689df179"` [INFO] [stdout] 970aa9c6293423d9eb2515ecce5b1daea45f355d4753c2455d4217df689df179