[INFO] cloning repository https://github.com/luojia65/usb-z [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luojia65/usb-z" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Fusb-z", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Fusb-z'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a5949b2b1b1dd8e958bbb95b7564ae20f78edc6 [INFO] documenting luojia65/usb-z against beta-2020-08-29 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Fusb-z" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luojia65/usb-z on toolchain beta-2020-08-29 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/luojia65/usb-z [INFO] finished tweaking git repo https://github.com/luojia65/usb-z [INFO] tweaked toml for git repo https://github.com/luojia65/usb-z written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/luojia65/usb-z already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+beta-2020-08-29" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be07a9f9dc6fd44f872ed76909cb062bcc8a598b169c82889b4264a1b42e9a2d [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" "be07a9f9dc6fd44f872ed76909cb062bcc8a598b169c82889b4264a1b42e9a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be07a9f9dc6fd44f872ed76909cb062bcc8a598b169c82889b4264a1b42e9a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be07a9f9dc6fd44f872ed76909cb062bcc8a598b169c82889b4264a1b42e9a2d", kill_on_drop: false }` [INFO] [stdout] be07a9f9dc6fd44f872ed76909cb062bcc8a598b169c82889b4264a1b42e9a2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+beta-2020-08-29" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43f0c12b9dbc16b5c6a374634c70708d9c1efe2d0cc040ae91c382aabaea2967 [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" "43f0c12b9dbc16b5c6a374634c70708d9c1efe2d0cc040ae91c382aabaea2967", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Documenting usb-z 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::{guiddef::GUID, usbiodef::*, minwindef::*, winerror::*}, [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:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::{shared::minwindef::*, um::winnt::*}; [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:16:40 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::{shared::minwindef::*, um::winnt::*}; [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] --> src/main.rs:245:22 [INFO] [stdout] | [INFO] [stdout] 245 | use std::os::windows::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:431:22 [INFO] [stdout] | [INFO] [stdout] 431 | use std::os::windows::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:470:18 [INFO] [stdout] | [INFO] [stdout] 470 | use std::os::windows::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:568:18 [INFO] [stdout] | [INFO] [stdout] 568 | use std::os::windows::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:631:18 [INFO] [stdout] | [INFO] [stdout] 631 | use std::os::windows::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:710:18 [INFO] [stdout] | [INFO] [stdout] 710 | use std::os::windows::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::STRUCT`, `winapi::ENUM` [INFO] [stdout] --> src/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::{STRUCT, ENUM}; [INFO] [stdout] | ^^^^^^ ^^^^ no `ENUM` in the root [INFO] [stdout] | | [INFO] [stdout] | no `STRUCT` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `STRUCT` in `winapi` [INFO] [stdout] --> src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | winapi::STRUCT!{struct USB_HCD_DRIVERKEY_NAME { [INFO] [stdout] | ^^^^^^ could not find `STRUCT` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `STRUCT` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | STRUCT!{struct USBUSER_POWER_INFO_REQUEST { [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:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | STRUCT!{struct USBUSER_REQUEST_HEADER { [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 `ENUM` [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | ENUM!{enum USB_USER_ERROR_CODE { [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:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | STRUCT!{struct USB_POWER_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 `ENUM` [INFO] [stdout] --> src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | ENUM!{enum WDMUSB_POWER_STATE { [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:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | STRUCT!{struct USB_ROOT_HUB_NAME { [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 `DWORD` in this scope [INFO] [stdout] --> src/main.rs:18:44 [INFO] [stdout] | [INFO] [stdout] 18 | pub const IOCTL_USB_GET_ROOT_HUB_NAME: DWORD = 0x220408; [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:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | pub const IOCTL_GET_HCD_DRIVERKEY_NAME: DWORD = 0x220424; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `USB_HCD_DRIVERKEY_NAME` in this scope [INFO] [stdout] --> src/main.rs:24:45 [INFO] [stdout] | [INFO] [stdout] 24 | pub type PUSB_HCD_DRIVERKEY_NAME = *mut USB_HCD_DRIVERKEY_NAME; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `USBUSER_POWER_INFO_REQUEST` in this scope [INFO] [stdout] --> src/main.rs:29:49 [INFO] [stdout] | [INFO] [stdout] 29 | pub type PUSBUSER_POWER_INFO_REQUEST = *mut USBUSER_POWER_INFO_REQUEST; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `USBUSER_REQUEST_HEADER` in this scope [INFO] [stdout] --> src/main.rs:36:45 [INFO] [stdout] | [INFO] [stdout] 36 | pub type PUSBUSER_REQUEST_HEADER = *mut USBUSER_REQUEST_HEADER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `USB_POWER_INFO` in this scope [INFO] [stdout] --> src/main.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | pub type PUSB_POWER_INFO = *mut USB_POWER_INFO; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `USB_ROOT_HUB_NAME` in this scope [INFO] [stdout] --> src/main.rs:82:40 [INFO] [stdout] | [INFO] [stdout] 82 | pub type PUSB_ROOT_HUB_NAME = *mut USB_ROOT_HUB_NAME; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SP_DEVINFO_DATA` in this scope [INFO] [stdout] --> src/main.rs:195:27 [INFO] [stdout] | [INFO] [stdout] 191 | struct DeviceNode { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 195 | device_info_data: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUID` in this scope [INFO] [stdout] --> src/main.rs:217:49 [INFO] [stdout] | [INFO] [stdout] 217 | fn enumerate_all_devices_with_guid(guid: *const GUID) -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDEVINFO` in this scope [INFO] [stdout] --> src/main.rs:346:22 [INFO] [stdout] | [INFO] [stdout] 346 | device_info_set: HDEVINFO, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PSP_DEVINFO_DATA` in this scope [INFO] [stdout] --> src/main.rs:347:23 [INFO] [stdout] | [INFO] [stdout] 347 | device_info_data: PSP_DEVINFO_DATA, [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:348:15 [INFO] [stdout] | [INFO] [stdout] 348 | property: 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] --> src/main.rs:349:23 [INFO] [stdout] | [INFO] [stdout] 345 | fn get_device_property( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 349 | ) -> Option<(*mut u8, DWORD)> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDEVINFO` in this scope [INFO] [stdout] --> src/main.rs:396:14 [INFO] [stdout] | [INFO] [stdout] 394 | fn driver_name_to_device_inst( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 395 | driver_name: &std::ffi::OsStr, [INFO] [stdout] 396 | ) -> Option<(HDEVINFO, Box)> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SP_DEVINFO_DATA` in this scope [INFO] [stdout] --> src/main.rs:396:28 [INFO] [stdout] | [INFO] [stdout] 394 | fn driver_name_to_device_inst( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 395 | driver_name: &std::ffi::OsStr, [INFO] [stdout] 396 | ) -> Option<(HDEVINFO, Box)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HDEVINFO` in this scope [INFO] [stdout] --> src/main.rs:467:18 [INFO] [stdout] | [INFO] [stdout] 467 | device_info: HDEVINFO, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PSP_DEVINFO_DATA` in this scope [INFO] [stdout] --> src/main.rs:468:23 [INFO] [stdout] | [INFO] [stdout] 468 | device_info_data: PSP_DEVINFO_DATA [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:583:40 [INFO] [stdout] | [INFO] [stdout] 583 | fn enumerate_host_controller(h_hc_dev: 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:661:32 [INFO] [stdout] | [INFO] [stdout] 661 | fn get_root_hub_name(h_hc_dev: HANDLE) -> std::ffi::OsString { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(maybe_uninit_ref, new_uninit)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 39 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: Could not document `usb-z`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name usb_z 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-a2aeb3fbf0c490c5.rmeta --cap-lints=warn --crate-version 0.1.0` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "43f0c12b9dbc16b5c6a374634c70708d9c1efe2d0cc040ae91c382aabaea2967", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43f0c12b9dbc16b5c6a374634c70708d9c1efe2d0cc040ae91c382aabaea2967", kill_on_drop: false }` [INFO] [stdout] 43f0c12b9dbc16b5c6a374634c70708d9c1efe2d0cc040ae91c382aabaea2967