[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] documenting luojia65/windows-bluetooth-example against 1.46.0 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Fwindows-bluetooth-example" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luojia65/windows-bluetooth-example on toolchain 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", 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-8/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: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+1.46.0" "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] de65d22f194c18e13aa26466c6a3e4216f6597659997bad260109b6ffd900cff [INFO] running `Command { std: "docker" "start" "-a" "de65d22f194c18e13aa26466c6a3e4216f6597659997bad260109b6ffd900cff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de65d22f194c18e13aa26466c6a3e4216f6597659997bad260109b6ffd900cff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de65d22f194c18e13aa26466c6a3e4216f6597659997bad260109b6ffd900cff", kill_on_drop: false }` [INFO] [stdout] de65d22f194c18e13aa26466c6a3e4216f6597659997bad260109b6ffd900cff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "RUSTDOCFLAGS=--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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--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] e2ff58e530cc1374f9ad78bf57cb720de1f2dc14ee67c433777e77b85f6ad8c9 [INFO] running `Command { std: "docker" "start" "-a" "e2ff58e530cc1374f9ad78bf57cb720de1f2dc14ee67c433777e77b85f6ad8c9", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.6 [INFO] [stderr] Compiling windows-bluetooth-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Documenting 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[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: cannot determine resolution for the macro `STRUCT` [INFO] [stdout] --> src/main.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | STRUCT!{struct BLUETOOTH_DEVICE_INFO{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `STRUCT` [INFO] [stdout] --> src/main.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | STRUCT!{struct BLUETOOTH_COD_PAIRS{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `STRUCT` [INFO] [stdout] --> src/main.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | STRUCT!{struct BLUETOOTH_SELECT_DEVICE_PARAMS { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `STRUCT` [INFO] [stdout] --> src/main.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | STRUCT!{struct BLUETOOTH_DEVICE_SEARCH_PARAMS { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `STRUCT` [INFO] [stdout] --> src/main.rs:144:1 [INFO] [stdout] | [INFO] [stdout] 144 | STRUCT!{struct BLUETOOTH_RADIO_INFO { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `STRUCT` [INFO] [stdout] --> src/main.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | STRUCT!{struct BLUETOOTH_FIND_RADIO_PARAMS { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/main.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 87 | pub type PFN_DEVICE_CALLBACK = Option` [INFO] [stdout] 88 | pvParam: LPVOID, [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:91:40 [INFO] [stdout] | [INFO] [stdout] 91 | pub type PBLUETOOTH_DEVICE_INFO = *mut BLUETOOTH_DEVICE_INFO; [INFO] [stdout] | ---------------------------------------^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | help: a type alias with a similar name exists: `PBLUETOOTH_DEVICE_INFO` [INFO] [stdout] | similarly named type alias `PBLUETOOTH_DEVICE_INFO` defined here [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] | --------------------------------------^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | help: a type alias with a similar name exists: `PBLUETOOTH_RADIO_INFO` [INFO] [stdout] | similarly named type alias `PBLUETOOTH_RADIO_INFO` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONGLONG` in this scope [INFO] [stdout] --> src/main.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | pub type BTH_ADDR = ULONGLONG; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/main.rs:94:35 [INFO] [stdout] | [INFO] [stdout] 94 | pub type HBLUETOOTH_DEVICE_FIND = LPVOID; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/main.rs:95:34 [INFO] [stdout] | [INFO] [stdout] 95 | pub type HBLUETOOTH_RADIO_FIND = LPVOID; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stdout] --> src/main.rs:99:27 [INFO] [stdout] | [INFO] [stdout] 99 | rgBytes rgBytes_mut: [BYTE; 6], [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 `BOOL` in this scope [INFO] [stdout] --> src/main.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | ) -> BOOL; [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 `BOOL` in this scope [INFO] [stdout] --> src/main.rs:163:10 [INFO] [stdout] | [INFO] [stdout] 163 | ) -> BOOL; [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 `BOOL` in this scope [INFO] [stdout] --> src/main.rs:171:10 [INFO] [stdout] | [INFO] [stdout] 171 | ) -> BOOL; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/main.rs:174:10 [INFO] [stdout] | [INFO] [stdout] 174 | ) -> BOOL; [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: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 `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:177:23 [INFO] [stdout] | [INFO] [stdout] 177 | phRadio: *mut HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:181:23 [INFO] [stdout] | [INFO] [stdout] 181 | phRadio: *mut HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/main.rs:182:10 [INFO] [stdout] | [INFO] [stdout] 182 | ) -> BOOL; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | hRadio: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/main.rs:186:10 [INFO] [stdout] | [INFO] [stdout] 186 | ) -> DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/main.rs:189:10 [INFO] [stdout] | [INFO] [stdout] 189 | ) -> BOOL; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/main.rs:250:23 [INFO] [stdout] | [INFO] [stdout] 250 | fn dw_size_of() -> DWORD { [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: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: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: Could not document `windows-bluetooth-example`. [INFO] [stdout] error: aborting due to 36 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stderr] Caused by: [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name windows_bluetooth_example src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-3590c01d5d2bc6e4.rmeta --cap-lints=warn` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "e2ff58e530cc1374f9ad78bf57cb720de1f2dc14ee67c433777e77b85f6ad8c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2ff58e530cc1374f9ad78bf57cb720de1f2dc14ee67c433777e77b85f6ad8c9", kill_on_drop: false }` [INFO] [stdout] e2ff58e530cc1374f9ad78bf57cb720de1f2dc14ee67c433777e77b85f6ad8c9