[INFO] cloning repository https://github.com/luojia65/windows-bluetooth-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luojia65/windows-bluetooth-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Fwindows-bluetooth-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Fwindows-bluetooth-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f942a7cd26eda4f15e8b0cad185738635233e64 [INFO] checking luojia65/windows-bluetooth-example against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Fwindows-bluetooth-example" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luojia65/windows-bluetooth-example on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/luojia65/windows-bluetooth-example [INFO] finished tweaking git repo https://github.com/luojia65/windows-bluetooth-example [INFO] tweaked toml for git repo https://github.com/luojia65/windows-bluetooth-example written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/luojia65/windows-bluetooth-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f2cb92c427164f3f46715ffa7e88518a5bdf6ae96fdd19c260ac464b063bda5 [INFO] running `Command { std: "docker" "start" "-a" "8f2cb92c427164f3f46715ffa7e88518a5bdf6ae96fdd19c260ac464b063bda5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f2cb92c427164f3f46715ffa7e88518a5bdf6ae96fdd19c260ac464b063bda5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f2cb92c427164f3f46715ffa7e88518a5bdf6ae96fdd19c260ac464b063bda5", kill_on_drop: false }` [INFO] [stdout] 8f2cb92c427164f3f46715ffa7e88518a5bdf6ae96fdd19c260ac464b063bda5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b079c4ee7544a85adaca40401324ee056e684ab09c520e5d33acf7b8e134fada [INFO] running `Command { std: "docker" "start" "-a" "b079c4ee7544a85adaca40401324ee056e684ab09c520e5d33acf7b8e134fada", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.6 [INFO] [stderr] Compiling windows-bluetooth-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::STRUCT` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | STRUCT [INFO] [stdout] | ^^^^^^ no `STRUCT` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::STRUCT` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | STRUCT [INFO] [stdout] | ^^^^^^ no `STRUCT` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_DEVICE_INFO` in this scope [INFO] [stdout] --> src/main.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | pDevice: *const BLUETOOTH_DEVICE_INFO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | )>; [INFO] [stdout] 91 | pub type PBLUETOOTH_DEVICE_INFO = *mut BLUETOOTH_DEVICE_INFO; [INFO] [stdout] | ------------------------------------------------------------- similarly named type alias `PBLUETOOTH_DEVICE_INFO` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 89 | pDevice: *const PBLUETOOTH_DEVICE_INFO, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 87 | pub type PFN_DEVICE_CALLBACK = Option src/main.rs:91:40 [INFO] [stdout] | [INFO] [stdout] 91 | pub type PBLUETOOTH_DEVICE_INFO = *mut BLUETOOTH_DEVICE_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] --> src/main.rs:92:39 [INFO] [stdout] | [INFO] [stdout] 92 | pub type PBLUETOOTH_RADIO_INFO = *mut BLUETOOTH_RADIO_INFO; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_SELECT_DEVICE_PARAMS` in this scope [INFO] [stdout] --> src/main.rs:159:22 [INFO] [stdout] | [INFO] [stdout] 159 | pbtsdp: *mut BLUETOOTH_SELECT_DEVICE_PARAMS [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_SELECT_DEVICE_PARAMS` in this scope [INFO] [stdout] --> src/main.rs:162:22 [INFO] [stdout] | [INFO] [stdout] 162 | pbtsdp: *mut BLUETOOTH_SELECT_DEVICE_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:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | pbtsp: *const BLUETOOTH_DEVICE_SEARCH_PARAMS, [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:166:21 [INFO] [stdout] | [INFO] [stdout] 91 | pub type PBLUETOOTH_DEVICE_INFO = *mut BLUETOOTH_DEVICE_INFO; [INFO] [stdout] | ------------------------------------------------------------- similarly named type alias `PBLUETOOTH_DEVICE_INFO` defined here [INFO] [stdout] ... [INFO] [stdout] 166 | pbtdi: *mut BLUETOOTH_DEVICE_INFO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `PBLUETOOTH_DEVICE_INFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_DEVICE_INFO` in this scope [INFO] [stdout] --> src/main.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 91 | pub type PBLUETOOTH_DEVICE_INFO = *mut BLUETOOTH_DEVICE_INFO; [INFO] [stdout] | ------------------------------------------------------------- similarly named type alias `PBLUETOOTH_DEVICE_INFO` defined here [INFO] [stdout] ... [INFO] [stdout] 170 | pbtdi: *mut BLUETOOTH_DEVICE_INFO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `PBLUETOOTH_DEVICE_INFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_FIND_RADIO_PARAMS` in this scope [INFO] [stdout] --> src/main.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | pbtfrp: *const BLUETOOTH_FIND_RADIO_PARAMS, [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:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | pDevice: *const BLUETOOTH_DEVICE_INFO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | )>; [INFO] [stdout] 91 | pub type PBLUETOOTH_DEVICE_INFO = *mut BLUETOOTH_DEVICE_INFO; [INFO] [stdout] | ------------------------------------------------------------- similarly named type alias `PBLUETOOTH_DEVICE_INFO` defined here [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 89 | pDevice: *const PBLUETOOTH_DEVICE_INFO, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 87 | pub type PFN_DEVICE_CALLBACK = Option src/main.rs:214:39 [INFO] [stdout] | [INFO] [stdout] 214 | create_struct!(btfrp, pbtfrp, BLUETOOTH_FIND_RADIO_PARAMS); [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:91:40 [INFO] [stdout] | [INFO] [stdout] 91 | pub type PBLUETOOTH_DEVICE_INFO = *mut BLUETOOTH_DEVICE_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] --> src/main.rs:215:47 [INFO] [stdout] | [INFO] [stdout] 92 | pub type PBLUETOOTH_RADIO_INFO = *mut BLUETOOTH_RADIO_INFO; [INFO] [stdout] | ----------------------------------------------------------- similarly named type alias `PBLUETOOTH_RADIO_INFO` defined here [INFO] [stdout] ... [INFO] [stdout] 215 | create_struct!(radioInfo, pRadioInfo, BLUETOOTH_RADIO_INFO); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `PBLUETOOTH_RADIO_INFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_RADIO_INFO` in this scope [INFO] [stdout] --> src/main.rs:92:39 [INFO] [stdout] | [INFO] [stdout] 92 | pub type PBLUETOOTH_RADIO_INFO = *mut BLUETOOTH_RADIO_INFO; [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:216:37 [INFO] [stdout] | [INFO] [stdout] 216 | create_struct!(btsp, pbtsp, BLUETOOTH_DEVICE_SEARCH_PARAMS); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_SELECT_DEVICE_PARAMS` in this scope [INFO] [stdout] --> src/main.rs:159:22 [INFO] [stdout] | [INFO] [stdout] 159 | pbtsdp: *mut BLUETOOTH_SELECT_DEVICE_PARAMS [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:217:37 [INFO] [stdout] | [INFO] [stdout] 91 | pub type PBLUETOOTH_DEVICE_INFO = *mut BLUETOOTH_DEVICE_INFO; [INFO] [stdout] | ------------------------------------------------------------- similarly named type alias `PBLUETOOTH_DEVICE_INFO` defined here [INFO] [stdout] ... [INFO] [stdout] 217 | create_struct!(btdi, pbtdi, BLUETOOTH_DEVICE_INFO); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `PBLUETOOTH_DEVICE_INFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_SELECT_DEVICE_PARAMS` in this scope [INFO] [stdout] --> src/main.rs:162:22 [INFO] [stdout] | [INFO] [stdout] 162 | pbtsdp: *mut BLUETOOTH_SELECT_DEVICE_PARAMS [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:255:25 [INFO] [stdout] | [INFO] [stdout] 255 | let bdsp = Box::new(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:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | pbtsp: *const 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:256:38 [INFO] [stdout] | [INFO] [stdout] 256 | dwSize: core::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 254 | unsafe fn find_device_example() { [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_DEVICE_INFO` in this scope [INFO] [stdout] --> src/main.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 91 | pub type PBLUETOOTH_DEVICE_INFO = *mut BLUETOOTH_DEVICE_INFO; [INFO] [stdout] | ------------------------------------------------------------- similarly named type alias `PBLUETOOTH_DEVICE_INFO` defined here [INFO] [stdout] ... [INFO] [stdout] 166 | pbtdi: *mut BLUETOOTH_DEVICE_INFO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `PBLUETOOTH_DEVICE_INFO` [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:266:25 [INFO] [stdout] | [INFO] [stdout] 91 | pub type PBLUETOOTH_DEVICE_INFO = *mut BLUETOOTH_DEVICE_INFO; [INFO] [stdout] | ------------------------------------------------------------- similarly named type alias `PBLUETOOTH_DEVICE_INFO` defined here [INFO] [stdout] ... [INFO] [stdout] 266 | let btdi = Box::new(BLUETOOTH_DEVICE_INFO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `PBLUETOOTH_DEVICE_INFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_DEVICE_INFO` in this scope [INFO] [stdout] --> src/main.rs:267:38 [INFO] [stdout] | [INFO] [stdout] 91 | pub type PBLUETOOTH_DEVICE_INFO = *mut BLUETOOTH_DEVICE_INFO; [INFO] [stdout] | ------------------------------------------------------------- similarly named type alias `PBLUETOOTH_DEVICE_INFO` defined here [INFO] [stdout] ... [INFO] [stdout] 267 | dwSize: core::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 267 | dwSize: core::mem::size_of::() as u32, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 254 | unsafe fn find_device_example() { [INFO] [stdout] | +++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_DEVICE_INFO` in this scope [INFO] [stdout] --> src/main.rs:285:39 [INFO] [stdout] | [INFO] [stdout] 91 | pub type PBLUETOOTH_DEVICE_INFO = *mut BLUETOOTH_DEVICE_INFO; [INFO] [stdout] | ------------------------------------------------------------- similarly named type alias `PBLUETOOTH_DEVICE_INFO` defined here [INFO] [stdout] ... [INFO] [stdout] 285 | unsafe fn print_pbtdi(pbtdi: *mut BLUETOOTH_DEVICE_INFO) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `PBLUETOOTH_DEVICE_INFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BLUETOOTH_SELECT_DEVICE_PARAMS` in this scope [INFO] [stdout] --> src/main.rs:297:27 [INFO] [stdout] | [INFO] [stdout] 297 | let pbtsdp = Box::new(BLUETOOTH_SELECT_DEVICE_PARAMS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_SELECT_DEVICE_PARAMS` in this scope [INFO] [stdout] --> src/main.rs:298:38 [INFO] [stdout] | [INFO] [stdout] 298 | dwSize: core::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 296 | unsafe fn select_device_example() { [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_DEVICE_INFO` in this scope [INFO] [stdout] --> src/main.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 91 | pub type PBLUETOOTH_DEVICE_INFO = *mut BLUETOOTH_DEVICE_INFO; [INFO] [stdout] | ------------------------------------------------------------- similarly named type alias `PBLUETOOTH_DEVICE_INFO` defined here [INFO] [stdout] ... [INFO] [stdout] 170 | pbtdi: *mut BLUETOOTH_DEVICE_INFO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `PBLUETOOTH_DEVICE_INFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_FIND_RADIO_PARAMS` in this scope [INFO] [stdout] --> src/main.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | pbtfrp: *const 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] --> src/main.rs:214:39 [INFO] [stdout] | [INFO] [stdout] 214 | create_struct!(btfrp, pbtfrp, BLUETOOTH_FIND_RADIO_PARAMS); [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] --> src/main.rs:215:47 [INFO] [stdout] | [INFO] [stdout] 92 | pub type PBLUETOOTH_RADIO_INFO = *mut BLUETOOTH_RADIO_INFO; [INFO] [stdout] | ----------------------------------------------------------- similarly named type alias `PBLUETOOTH_RADIO_INFO` defined here [INFO] [stdout] ... [INFO] [stdout] 215 | create_struct!(radioInfo, pRadioInfo, BLUETOOTH_RADIO_INFO); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `PBLUETOOTH_RADIO_INFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_DEVICE_SEARCH_PARAMS` in this scope [INFO] [stdout] --> src/main.rs:216:37 [INFO] [stdout] | [INFO] [stdout] 216 | create_struct!(btsp, pbtsp, BLUETOOTH_DEVICE_SEARCH_PARAMS); [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:217:37 [INFO] [stdout] | [INFO] [stdout] 91 | pub type PBLUETOOTH_DEVICE_INFO = *mut BLUETOOTH_DEVICE_INFO; [INFO] [stdout] | ------------------------------------------------------------- similarly named type alias `PBLUETOOTH_DEVICE_INFO` defined here [INFO] [stdout] ... [INFO] [stdout] 217 | create_struct!(btdi, pbtdi, BLUETOOTH_DEVICE_INFO); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `PBLUETOOTH_DEVICE_INFO` [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:255:25 [INFO] [stdout] | [INFO] [stdout] 255 | let bdsp = Box::new(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:256:38 [INFO] [stdout] | [INFO] [stdout] 256 | dwSize: core::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 254 | unsafe fn find_device_example() { [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [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:266:25 [INFO] [stdout] | [INFO] [stdout] 91 | pub type PBLUETOOTH_DEVICE_INFO = *mut BLUETOOTH_DEVICE_INFO; [INFO] [stdout] | ------------------------------------------------------------- similarly named type alias `PBLUETOOTH_DEVICE_INFO` defined here [INFO] [stdout] ... [INFO] [stdout] 266 | let btdi = Box::new(BLUETOOTH_DEVICE_INFO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `PBLUETOOTH_DEVICE_INFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_DEVICE_INFO` in this scope [INFO] [stdout] --> src/main.rs:267:38 [INFO] [stdout] | [INFO] [stdout] 91 | pub type PBLUETOOTH_DEVICE_INFO = *mut BLUETOOTH_DEVICE_INFO; [INFO] [stdout] | ------------------------------------------------------------- similarly named type alias `PBLUETOOTH_DEVICE_INFO` defined here [INFO] [stdout] ... [INFO] [stdout] 267 | dwSize: core::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a type alias with a similar name exists [INFO] [stdout] | [INFO] [stdout] 267 | dwSize: core::mem::size_of::() as u32, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 254 | unsafe fn find_device_example() { [INFO] [stdout] | +++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_DEVICE_INFO` in this scope [INFO] [stdout] --> src/main.rs:285:39 [INFO] [stdout] | [INFO] [stdout] 91 | pub type PBLUETOOTH_DEVICE_INFO = *mut BLUETOOTH_DEVICE_INFO; [INFO] [stdout] | ------------------------------------------------------------- similarly named type alias `PBLUETOOTH_DEVICE_INFO` defined here [INFO] [stdout] ... [INFO] [stdout] 285 | unsafe fn print_pbtdi(pbtdi: *mut BLUETOOTH_DEVICE_INFO) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `PBLUETOOTH_DEVICE_INFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BLUETOOTH_SELECT_DEVICE_PARAMS` in this scope [INFO] [stdout] --> src/main.rs:297:27 [INFO] [stdout] | [INFO] [stdout] 297 | let pbtsdp = Box::new(BLUETOOTH_SELECT_DEVICE_PARAMS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BLUETOOTH_SELECT_DEVICE_PARAMS` in this scope [INFO] [stdout] --> src/main.rs:298:38 [INFO] [stdout] | [INFO] [stdout] 298 | dwSize: core::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 296 | unsafe fn select_device_example() { [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `dwSize` on type `Box<_>` [INFO] [stdout] --> src/main.rs:287:32 [INFO] [stdout] | [INFO] [stdout] 287 | println!("{:X} ", btdi.dwSize); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `dwSize` on type `Box<_>` [INFO] [stdout] --> src/main.rs:287:32 [INFO] [stdout] | [INFO] [stdout] 287 | println!("{:X} ", btdi.dwSize); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `wVersion` on type `Box<_>` [INFO] [stdout] --> src/main.rs:359:25 [INFO] [stdout] | [INFO] [stdout] 359 | LOBYTE(wsa_data.wVersion), HIBYTE(wsa_data.wVersion), [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `wVersion` on type `Box<_>` [INFO] [stdout] --> src/main.rs:359:25 [INFO] [stdout] | [INFO] [stdout] 359 | LOBYTE(wsa_data.wVersion), HIBYTE(wsa_data.wVersion), [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `windows-bluetooth-example` (bin "windows-bluetooth-example" test) due to 26 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `windows-bluetooth-example` (bin "windows-bluetooth-example") due to 26 previous errors [INFO] running `Command { std: "docker" "inspect" "b079c4ee7544a85adaca40401324ee056e684ab09c520e5d33acf7b8e134fada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b079c4ee7544a85adaca40401324ee056e684ab09c520e5d33acf7b8e134fada", kill_on_drop: false }` [INFO] [stdout] b079c4ee7544a85adaca40401324ee056e684ab09c520e5d33acf7b8e134fada