[INFO] cloning repository https://github.com/SCOTPAUL/SwitchConnector [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SCOTPAUL/SwitchConnector" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSCOTPAUL%2FSwitchConnector", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSCOTPAUL%2FSwitchConnector'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f40626104b461d237f2b79c12890ef432466b91c [INFO] checking SCOTPAUL/SwitchConnector against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSCOTPAUL%2FSwitchConnector" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SCOTPAUL/SwitchConnector on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SCOTPAUL/SwitchConnector [INFO] finished tweaking git repo https://github.com/SCOTPAUL/SwitchConnector [INFO] tweaked toml for git repo https://github.com/SCOTPAUL/SwitchConnector written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/SCOTPAUL/SwitchConnector already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded widestring v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8714e2b0358d0afb2a73463d748a042622d665d640e40b6d0f9336147424657 [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" "e8714e2b0358d0afb2a73463d748a042622d665d640e40b6d0f9336147424657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8714e2b0358d0afb2a73463d748a042622d665d640e40b6d0f9336147424657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8714e2b0358d0afb2a73463d748a042622d665d640e40b6d0f9336147424657", kill_on_drop: false }` [INFO] [stdout] e8714e2b0358d0afb2a73463d748a042622d665d640e40b6d0f9336147424657 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59d0355e6877d00ee4414a7cd30d7df85fc89b4a83334d397ea76cef375441d3 [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" "59d0355e6877d00ee4414a7cd30d7df85fc89b4a83334d397ea76cef375441d3", kill_on_drop: false }` [INFO] [stderr] Checking anyhow v1.0.32 [INFO] [stderr] Checking switch_connector v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::bluetoothapis::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::bthdef::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::um::bluetoothapis::*`, `winapi::ctypes::c_void`, `winapi::shared::bthdef::*` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::bluetoothapis::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use winapi::shared::bthdef::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::bluetoothapis::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::bthdef::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::um::bluetoothapis::*`, `winapi::ctypes::c_void`, `winapi::shared::bthdef::*` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::bluetoothapis::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use winapi::shared::bthdef::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_DEVICE_INFO` in this scope [INFO] [stdout] --> src/main.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | device_info: BLUETOOTH_DEVICE_INFO [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BLUETOOTH_DEVICE_SEARCH_PARAMS` in this scope [INFO] [stdout] --> src/main.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | let search_params = 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] --> src/main.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 22 | fn get_pro_controller(show_known: bool) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 23 | let search_params = BLUETOOTH_DEVICE_SEARCH_PARAMS { [INFO] [stdout] 24 | dwSize: size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BLUETOOTH_DEVICE_INFO` in this scope [INFO] [stdout] --> src/main.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | let mut device_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] --> src/main.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 22 | fn get_pro_controller(show_known: bool) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 36 | dwSize: size_of::() as u32, [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] --> src/main.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | let found_device = BluetoothFindFirstDevice(&search_params, &mut device_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] --> src/main.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | while BluetoothFindNextDevice(found_device, &mut device_info) == 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/main.rs:72:67 [INFO] [stdout] | [INFO] [stdout] 72 | unsafe extern "system" fn bluetooth_registration_callback(_: *mut c_void, callback_params: *mut BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS)... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::io::sys::io::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS` in this scope [INFO] [stdout] --> src/main.rs:72:97 [INFO] [stdout] | [INFO] [stdout] 72 | ...*mut c_void, callback_params: *mut BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_AUTHENTICATE_RESPONSE` in this scope [INFO] [stdout] --> src/main.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | let mut auth_res: BLUETOOTH_AUTHENTICATE_RESPONSE = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BLUETOOTH_NUMERIC_COMPARISON_INFO` in this scope [INFO] [stdout] --> src/main.rs:78:41 [INFO] [stdout] | [INFO] [stdout] 78 | *auth_res.u.numericCompInfo_mut() = BLUETOOTH_NUMERIC_COMPARISON_INFO { NumericValue: *((&*callback_params).u.Numeric_Value()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BluetoothSendAuthenticationResponseEx` in this scope [INFO] [stdout] --> src/main.rs:82:42 [INFO] [stdout] | [INFO] [stdout] 82 | println!("Sending auth response {}", BluetoothSendAuthenticationResponseEx(null_mut(), &mut auth_res)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BluetoothRemoveDevice` in this scope [INFO] [stdout] --> src/main.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | BluetoothRemoveDevice(&device.device_info.Address); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBLUETOOTH_AUTHENTICATION_REGISTRATION` in this scope [INFO] [stdout] --> src/main.rs:111:34 [INFO] [stdout] | [INFO] [stdout] 111 | let mut callback_handle: HBLUETOOTH_AUTHENTICATION_REGISTRATION = 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 `BluetoothRegisterForAuthenticationEx` in this scope [INFO] [stdout] --> src/main.rs:114:45 [INFO] [stdout] | [INFO] [stdout] 114 | ... println!("Registering callback {}", BluetoothRegisterForAuthenticationEx(&mut device.device_info, &mut callback_handle as *mut HBLU... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBLUETOOTH_AUTHENTICATION_REGISTRATION` in this scope [INFO] [stdout] --> src/main.rs:114:136 [INFO] [stdout] | [INFO] [stdout] 114 | ..._info, &mut callback_handle as *mut HBLUETOOTH_AUTHENTICATION_REGISTRATION, Some(bluetooth_registration_callback), 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 `BluetoothAuthenticateDevice` in this scope [INFO] [stdout] --> src/main.rs:116:32 [INFO] [stdout] | [INFO] [stdout] 116 | ... println!("Authing {}", BluetoothAuthenticateDevice(null_mut(), null_mut(), &mut device.device_info, U16CString::from_str("0000").un... [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] --> src/main.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | BluetoothSetServiceState(null_mut(), &mut device.device_info, &mut HumanInterfaceDeviceServiceClass_UUID, BLUETOOTH_SERVICE_ENABLE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HumanInterfaceDeviceServiceClass_UUID` in this scope [INFO] [stdout] --> src/main.rs:120:76 [INFO] [stdout] | [INFO] [stdout] 120 | BluetoothSetServiceState(null_mut(), &mut device.device_info, &mut HumanInterfaceDeviceServiceClass_UUID, 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] --> src/main.rs:120:115 [INFO] [stdout] | [INFO] [stdout] 120 | BluetoothSetServiceState(null_mut(), &mut device.device_info, &mut HumanInterfaceDeviceServiceClass_UUID, BLUETOOTH_SERVICE_ENABLE); [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] --> src/main.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | device_info: BLUETOOTH_DEVICE_INFO [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BLUETOOTH_DEVICE_SEARCH_PARAMS` in this scope [INFO] [stdout] --> src/main.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | let search_params = 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] --> src/main.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 22 | fn get_pro_controller(show_known: bool) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 23 | let search_params = BLUETOOTH_DEVICE_SEARCH_PARAMS { [INFO] [stdout] 24 | dwSize: size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BLUETOOTH_DEVICE_INFO` in this scope [INFO] [stdout] --> src/main.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | let mut device_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] --> src/main.rs:36:31 [INFO] [stdout] | [INFO] [stdout] 22 | fn get_pro_controller(show_known: bool) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 36 | dwSize: size_of::() as u32, [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] --> src/main.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | let found_device = BluetoothFindFirstDevice(&search_params, &mut device_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] --> src/main.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 61 | while BluetoothFindNextDevice(found_device, &mut device_info) == 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/main.rs:72:67 [INFO] [stdout] | [INFO] [stdout] 72 | unsafe extern "system" fn bluetooth_registration_callback(_: *mut c_void, callback_params: *mut BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS)... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::io::sys::io::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS` in this scope [INFO] [stdout] --> src/main.rs:72:97 [INFO] [stdout] | [INFO] [stdout] 72 | ...*mut c_void, callback_params: *mut BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_AUTHENTICATE_RESPONSE` in this scope [INFO] [stdout] --> src/main.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | let mut auth_res: BLUETOOTH_AUTHENTICATE_RESPONSE = std::mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BLUETOOTH_NUMERIC_COMPARISON_INFO` in this scope [INFO] [stdout] --> src/main.rs:78:41 [INFO] [stdout] | [INFO] [stdout] 78 | *auth_res.u.numericCompInfo_mut() = BLUETOOTH_NUMERIC_COMPARISON_INFO { NumericValue: *((&*callback_params).u.Numeric_Value()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BluetoothSendAuthenticationResponseEx` in this scope [INFO] [stdout] --> src/main.rs:82:42 [INFO] [stdout] | [INFO] [stdout] 82 | println!("Sending auth response {}", BluetoothSendAuthenticationResponseEx(null_mut(), &mut auth_res)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BluetoothRemoveDevice` in this scope [INFO] [stdout] --> src/main.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | BluetoothRemoveDevice(&device.device_info.Address); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBLUETOOTH_AUTHENTICATION_REGISTRATION` in this scope [INFO] [stdout] --> src/main.rs:111:34 [INFO] [stdout] | [INFO] [stdout] 111 | let mut callback_handle: HBLUETOOTH_AUTHENTICATION_REGISTRATION = 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 `BluetoothRegisterForAuthenticationEx` in this scope [INFO] [stdout] --> src/main.rs:114:45 [INFO] [stdout] | [INFO] [stdout] 114 | ... println!("Registering callback {}", BluetoothRegisterForAuthenticationEx(&mut device.device_info, &mut callback_handle as *mut HBLU... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HBLUETOOTH_AUTHENTICATION_REGISTRATION` in this scope [INFO] [stdout] --> src/main.rs:114:136 [INFO] [stdout] | [INFO] [stdout] 114 | ..._info, &mut callback_handle as *mut HBLUETOOTH_AUTHENTICATION_REGISTRATION, Some(bluetooth_registration_callback), 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 `BluetoothAuthenticateDevice` in this scope [INFO] [stdout] --> src/main.rs:116:32 [INFO] [stdout] | [INFO] [stdout] 116 | ... println!("Authing {}", BluetoothAuthenticateDevice(null_mut(), null_mut(), &mut device.device_info, U16CString::from_str("0000").un... [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] --> src/main.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | BluetoothSetServiceState(null_mut(), &mut device.device_info, &mut HumanInterfaceDeviceServiceClass_UUID, BLUETOOTH_SERVICE_ENABLE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HumanInterfaceDeviceServiceClass_UUID` in this scope [INFO] [stdout] --> src/main.rs:120:76 [INFO] [stdout] | [INFO] [stdout] 120 | BluetoothSetServiceState(null_mut(), &mut device.device_info, &mut HumanInterfaceDeviceServiceClass_UUID, 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] --> src/main.rs:120:115 [INFO] [stdout] | [INFO] [stdout] 120 | BluetoothSetServiceState(null_mut(), &mut device.device_info, &mut HumanInterfaceDeviceServiceClass_UUID, BLUETOOTH_SERVICE_ENABLE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [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: aborting due to 24 previous errors [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: could not compile `switch_connector` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "59d0355e6877d00ee4414a7cd30d7df85fc89b4a83334d397ea76cef375441d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59d0355e6877d00ee4414a7cd30d7df85fc89b4a83334d397ea76cef375441d3", kill_on_drop: false }` [INFO] [stdout] 59d0355e6877d00ee4414a7cd30d7df85fc89b4a83334d397ea76cef375441d3