[INFO] cloning repository https://github.com/btwotwo/procon-reconnect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/btwotwo/procon-reconnect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbtwotwo%2Fprocon-reconnect", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbtwotwo%2Fprocon-reconnect'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f90d660653da6b2d4d4613fcb9d4c2d2605d6f99 [INFO] testing btwotwo/procon-reconnect against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbtwotwo%2Fprocon-reconnect" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/btwotwo/procon-reconnect on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/btwotwo/procon-reconnect [INFO] finished tweaking git repo https://github.com/btwotwo/procon-reconnect [INFO] tweaked toml for git repo https://github.com/btwotwo/procon-reconnect written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/btwotwo/procon-reconnect already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0617a46b063792d34111e5163a17ca845cb9cb9d611963c2321c936ec78a36bc [INFO] running `Command { std: "docker" "start" "-a" "0617a46b063792d34111e5163a17ca845cb9cb9d611963c2321c936ec78a36bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0617a46b063792d34111e5163a17ca845cb9cb9d611963c2321c936ec78a36bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0617a46b063792d34111e5163a17ca845cb9cb9d611963c2321c936ec78a36bc", kill_on_drop: false }` [INFO] [stdout] 0617a46b063792d34111e5163a17ca845cb9cb9d611963c2321c936ec78a36bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 07f96f4113fe17dfebe501f8e99a25d6824f1e5bcfae462fe71503431a8ec8c6 [INFO] running `Command { std: "docker" "start" "-a" "07f96f4113fe17dfebe501f8e99a25d6824f1e5bcfae462fe71503431a8ec8c6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling encode_unicode v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.63 [INFO] [stderr] Compiling widestring v0.4.3 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling winapi_bluetooth v0.1.0 (/opt/rustwide/workdir/winapi_bluetooth) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> winapi_bluetooth/src/winapi_imports.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | pub use winapi::shared::minwindef::{DWORD, FALSE, TRUE}; [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] --> winapi_bluetooth/src/winapi_imports.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | pub 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 `shared` in `winapi` [INFO] [stdout] --> winapi_bluetooth/src/winapi_imports.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | pub 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] --> winapi_bluetooth/src/winapi_imports.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | pub use winapi::shared::winerror::{ [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] --> winapi_bluetooth/src/radio.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::ntdef::NULL; [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] --> winapi_bluetooth/src/radio.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::bluetoothapis::{HBLUETOOTH_RADIO_FIND, BLUETOOTH_RADIO_INFO}; [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] --> winapi_bluetooth/src/radio.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | 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 `um` in `winapi` [INFO] [stdout] --> winapi_bluetooth/src/radio.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | use winapi::um::bluetoothapis::BluetoothGetRadioInfo; [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] --> winapi_bluetooth/src/radio.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | 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] --> winapi_bluetooth/src/radio.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | use winapi::um::bluetoothapis::{BluetoothFindFirstRadio, BLUETOOTH_FIND_RADIO_PARAMS}; [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] --> winapi_bluetooth/src/radio.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | use winapi::um::bluetoothapis::BluetoothFindNextRadio; [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] --> winapi_bluetooth/src/radio.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | use winapi::um::bluetoothapis::BluetoothFindRadioClose; [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] --> winapi_bluetooth/src/device.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::bluetoothapis::{BLUETOOTH_DEVICE_INFO, BLUETOOTH_DEVICE_SEARCH_PARAMS, HBLUETOOTH_DEVICE_FIND}; [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] --> winapi_bluetooth/src/device.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 `um` in `winapi` [INFO] [stdout] --> winapi_bluetooth/src/device.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | use winapi::um::bluetoothapis::BluetoothFindFirstDevice; [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] --> winapi_bluetooth/src/device.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 218 | use winapi::um::bluetoothapis::{BluetoothFindNextDevice}; [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] --> winapi_bluetooth/src/device.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 253 | use winapi::um::bluetoothapis::BluetoothFindDeviceClose; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::um`, `bluetoothapis::BLUETOOTH_SERVICE_ENABLE`, `bluetoothapis::BluetoothSetServiceState` [INFO] [stdout] --> winapi_bluetooth/src/winapi_imports.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub use winapi::um::bluetoothapis; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: winapi_bluetooth/src/device.rs:157:29 [INFO] [stdout] | [INFO] [stdout] 157 | use bluetoothapis::{BLUETOOTH_SERVICE_ENABLE, BluetoothSetServiceState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> winapi_bluetooth/src/winapi_imports.rs:11:46 [INFO] [stdout] | [INFO] [stdout] 11 | pub const ERROR_NO_MORE_ITEMS: i32 = winapi::shared::winerror::ERROR_NO_MORE_ITEMS as i32; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> winapi_bluetooth/src/radio.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BluetoothRadioHandle(pub HANDLE); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_RADIO_INFO` in this scope [INFO] [stdout] --> winapi_bluetooth/src/radio.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BluetoothRadioInfo(BLUETOOTH_RADIO_INFO); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_RADIO_INFO` in this scope [INFO] [stdout] --> winapi_bluetooth/src/radio.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | let mut val: BLUETOOTH_RADIO_INFO = unsafe {std::mem::zeroed()}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_RADIO_INFO` in this scope [INFO] [stdout] --> winapi_bluetooth/src/radio.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 20 | impl Default for BluetoothRadioInfo { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 23 | val.dwSize = std::mem::size_of::() as DWORD; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> winapi_bluetooth/src/radio.rs:23:69 [INFO] [stdout] | [INFO] [stdout] 23 | val.dwSize = std::mem::size_of::() as DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BluetoothGetRadioInfo` in this scope [INFO] [stdout] --> winapi_bluetooth/src/radio.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BluetoothRadioInfo(BLUETOOTH_RADIO_INFO); [INFO] [stdout] | ---------------------------------------------------- similarly named tuple struct `BluetoothRadioInfo` defined here [INFO] [stdout] ... [INFO] [stdout] 36 | BluetoothGetRadioInfo(self.0, &mut info.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `BluetoothRadioInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> winapi_bluetooth/src/radio.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | let res = unsafe { CloseHandle(self.0) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBLUETOOTH_RADIO_FIND` in this scope [INFO] [stdout] --> winapi_bluetooth/src/radio.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | search: HBLUETOOTH_RADIO_FIND, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> winapi_bluetooth/src/radio.rs:98:31 [INFO] [stdout] | [INFO] [stdout] 98 | let mut radio_handle: HANDLE = 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 `BluetoothFindFirstRadio` in this scope [INFO] [stdout] --> winapi_bluetooth/src/radio.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | BluetoothFindFirstRadio( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BLUETOOTH_FIND_RADIO_PARAMS` in this scope [INFO] [stdout] --> winapi_bluetooth/src/radio.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | &BLUETOOTH_FIND_RADIO_PARAMS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_FIND_RADIO_PARAMS` in this scope [INFO] [stdout] --> winapi_bluetooth/src/radio.rs:103:49 [INFO] [stdout] | [INFO] [stdout] 88 | impl BluetoothRadioSearch { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 103 | dwSize: std::mem::size_of::() as DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> winapi_bluetooth/src/radio.rs:103:83 [INFO] [stdout] | [INFO] [stdout] 103 | dwSize: std::mem::size_of::() as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> winapi_bluetooth/src/radio.rs:122:31 [INFO] [stdout] | [INFO] [stdout] 122 | let mut radio_handle: HANDLE = std::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 `BluetoothFindNextRadio` in this scope [INFO] [stdout] --> winapi_bluetooth/src/radio.rs:127:35 [INFO] [stdout] | [INFO] [stdout] 127 | let result = unsafe { BluetoothFindNextRadio(self.search, &mut radio_handle) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> winapi_bluetooth/src/radio.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | if result != FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> winapi_bluetooth/src/radio.rs:156:27 [INFO] [stdout] | [INFO] [stdout] 156 | if self.search == NULL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BluetoothFindRadioClose` in this scope [INFO] [stdout] --> winapi_bluetooth/src/radio.rs:160:31 [INFO] [stdout] | [INFO] [stdout] 160 | let result = unsafe { BluetoothFindRadioClose(self.search) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> winapi_bluetooth/src/radio.rs:162:22 [INFO] [stdout] | [INFO] [stdout] 162 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_DEVICE_SEARCH_PARAMS` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BluetoothDeviceSearchParams(BLUETOOTH_DEVICE_SEARCH_PARAMS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_DEVICE_SEARCH_PARAMS` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | let mut inner: BLUETOOTH_DEVICE_SEARCH_PARAMS = unsafe {mem::zeroed()}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_DEVICE_SEARCH_PARAMS` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 13 | impl BluetoothDeviceSearchParams { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 19 | inner.dwSize = mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:30:39 [INFO] [stdout] | [INFO] [stdout] 30 | self.0.fReturnAuthenticated = TRUE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | self.0.fReturnRemembered = TRUE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | self.0.fReturnUnknown = TRUE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | self.0.fReturnConnected = TRUE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:44:39 [INFO] [stdout] | [INFO] [stdout] 44 | self.0.fReturnAuthenticated = TRUE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | self.0.fReturnRemembered = TRUE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:54:33 [INFO] [stdout] | [INFO] [stdout] 54 | self.0.fReturnUnknown = TRUE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | self.0.fReturnConnected = TRUE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:64:32 [INFO] [stdout] | [INFO] [stdout] 64 | self.0.fIssueInquiry = TRUE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_DEVICE_INFO` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:72:32 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct BluetoothDeviceInfo(BLUETOOTH_DEVICE_INFO); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 76 | self.0.fConnected != FALSE [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:80:31 [INFO] [stdout] | [INFO] [stdout] 80 | self.0.fRemembered != FALSE [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | self.0.fAuthenticated != FALSE [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | self.0.fConnected = FALSE; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:101:42 [INFO] [stdout] | [INFO] [stdout] 101 | self.0.fRemembered = FALSE; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:102:45 [INFO] [stdout] | [INFO] [stdout] 102 | self.0.fAuthenticated = FALSE; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:149:22 [INFO] [stdout] | [INFO] [stdout] 149 | if result == ERROR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 159 | ... const HID_GUID: GUID = GUID {Data1: 0x0000_1124, Data2: 0x0000, Data3: 0x1000, Data4: [0x80, 0x00, 0x00, 0x80, 0x5F, 0x9B, 0x34, 0x... [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GUID` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:159:32 [INFO] [stdout] | [INFO] [stdout] 159 | ... const HID_GUID: GUID = GUID {Data1: 0x0000_1124, Data2: 0x0000, Data3: 0x1000, Data4: [0x80, 0x00, 0x00, 0x80, 0x5F, 0x9B, 0x34, 0x... [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BluetoothSetServiceState` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:161:31 [INFO] [stdout] | [INFO] [stdout] 161 | let result = unsafe { BluetoothSetServiceState(handle.0, &self.0, &HID_GUID, BLUETOOTH_SERVICE_ENABLE)}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLUETOOTH_SERVICE_ENABLE` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:161:86 [INFO] [stdout] | [INFO] [stdout] 161 | let result = unsafe { BluetoothSetServiceState(handle.0, &self.0, &HID_GUID, BLUETOOTH_SERVICE_ENABLE)}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 163 | if result != ERROR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBLUETOOTH_DEVICE_FIND` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | search: HBLUETOOTH_DEVICE_FIND, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BluetoothFindFirstDevice` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | BluetoothFindFirstDevice(&self.params.0, &mut bluetooth_info) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BluetoothFindNextDevice` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:225:34 [INFO] [stdout] | [INFO] [stdout] 225 | let result = unsafe {BluetoothFindNextDevice(self.search, &mut info)}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:226:26 [INFO] [stdout] | [INFO] [stdout] 226 | if result != FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BluetoothFindDeviceClose` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:255:31 [INFO] [stdout] | [INFO] [stdout] 255 | let result = unsafe { BluetoothFindDeviceClose(self.search) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:257:22 [INFO] [stdout] | [INFO] [stdout] 257 | if result == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_DEVICE_INFO` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:264:24 [INFO] [stdout] | [INFO] [stdout] 264 | fn get_blank_info() -> BLUETOOTH_DEVICE_INFO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_DEVICE_INFO` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:265:19 [INFO] [stdout] | [INFO] [stdout] 265 | let mut info: BLUETOOTH_DEVICE_INFO = unsafe {std::mem::zeroed()}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_DEVICE_INFO` in this scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:266:39 [INFO] [stdout] | [INFO] [stdout] 264 | fn get_blank_info() -> BLUETOOTH_DEVICE_INFO { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 265 | let mut info: BLUETOOTH_DEVICE_INFO = unsafe {std::mem::zeroed()}; [INFO] [stdout] 266 | info.dwSize = std::mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> winapi_bluetooth/src/radio.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | OsString::from_wide(&self.0.szName) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> winapi_bluetooth/src/device.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | OsString::from_wide(&self.0.szName) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> winapi_bluetooth/src/device.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 74 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winapi_bluetooth` due to 75 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "07f96f4113fe17dfebe501f8e99a25d6824f1e5bcfae462fe71503431a8ec8c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07f96f4113fe17dfebe501f8e99a25d6824f1e5bcfae462fe71503431a8ec8c6", kill_on_drop: false }` [INFO] [stdout] 07f96f4113fe17dfebe501f8e99a25d6824f1e5bcfae462fe71503431a8ec8c6