[INFO] crate multi-input 0.0.1 is already in cache [INFO] documenting multi-input-0.0.1 against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] extracting crate multi-input 0.0.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate multi-input 0.0.1 on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate multi-input 0.0.1 [INFO] finished tweaking crates.io crate multi-input 0.0.1 [INFO] tweaked toml for crates.io crate multi-input 0.0.1 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52fa961ac9a00fd2027630a88079807919510732b2638b92dcf53462ff33a86c [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" "52fa961ac9a00fd2027630a88079807919510732b2638b92dcf53462ff33a86c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52fa961ac9a00fd2027630a88079807919510732b2638b92dcf53462ff33a86c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52fa961ac9a00fd2027630a88079807919510732b2638b92dcf53462ff33a86c", kill_on_drop: false }` [INFO] [stdout] 52fa961ac9a00fd2027630a88079807919510732b2638b92dcf53462ff33a86c [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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25bd995261065156954c449acc6965bca52920bc60007a3274b3f5314372d46f [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" "25bd995261065156954c449acc6965bca52920bc60007a3274b3f5314372d46f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling hid-sys v0.2.0 [INFO] [stderr] Compiling user32-sys v0.1.3 [INFO] [stderr] Documenting multi-input v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/rawinput.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | 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 `windows` in `os` [INFO] [stdout] --> src/rawinput.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use std::os::windows::ffi::OsStrExt; [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/manager.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWMOUSE` in this scope [INFO] [stdout] --> src/mouse.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn process_mouse_data(raw_data: &RAWMOUSE, id: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWHID` in this scope [INFO] [stdout] --> src/joystick.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn process_joystick_data(raw_data: &RAWHID, id: usize, hid_info: &mut JoystickInfo [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/rawinput.rs:179:49 [INFO] [stdout] | [INFO] [stdout] 179 | pub unsafe fn raw_handle_to_name(device_handle: HANDLE) -> String { [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/rawinput.rs:196:55 [INFO] [stdout] | [INFO] [stdout] 196 | pub unsafe fn raw_name_to_hid(name: String) -> Result { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/rawinput.rs:215:39 [INFO] [stdout] | [INFO] [stdout] 215 | pub unsafe fn get_device_info(handle: HANDLE, name: String, serial: Option [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/rawinput.rs:300:41 [INFO] [stdout] | [INFO] [stdout] 300 | pub unsafe fn get_serial_number(handle: HANDLE) -> Option { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RAWKEYBOARD` in this scope [INFO] [stdout] --> src/keyboard.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn process_keyboard_data(raw_data: &RAWKEYBOARD, id: usize) -> Vec { [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/devices.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MouseInfo { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 6 | pub names: Vec, [INFO] [stdout] 7 | pub handles: Vec, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope [INFO] [stdout] --> src/devices.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub info: RID_DEVICE_INFO, [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/devices.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct KeyboardInfo { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 14 | pub names: Vec, [INFO] [stdout] 15 | pub handles: Vec, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope [INFO] [stdout] --> src/devices.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub info: RID_DEVICE_INFO, [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/devices.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct JoystickInfo { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 22 | pub names: Vec, [INFO] [stdout] 23 | pub handles: Vec, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RID_DEVICE_INFO` in this scope [INFO] [stdout] --> src/devices.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | pub info: RID_DEVICE_INFO, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIDP_CAPS` in this scope [INFO] [stdout] --> src/devices.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | pub caps: HIDP_CAPS, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIDP_BUTTON_CAPS` in this scope [INFO] [stdout] --> src/devices.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct JoystickInfo { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 27 | pub button_caps: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIDP_VALUE_CAPS` in this scope [INFO] [stdout] --> src/devices.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct JoystickInfo { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 28 | pub value_caps: Vec, [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/devices.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Devices{ [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 46 | pub device_map: HashMap, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIDP_BUTTON_CAPS` in this scope [INFO] [stdout] --> src/devices.rs:136:36 [INFO] [stdout] | [INFO] [stdout] 135 | impl JoystickState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 136 | pub fn new (p_button_caps: Vec, p_value_caps: Vec) -> JoystickState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HIDP_VALUE_CAPS` in this scope [INFO] [stdout] --> src/devices.rs:136:73 [INFO] [stdout] | [INFO] [stdout] 135 | impl JoystickState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 136 | pub fn new (p_button_caps: Vec, p_value_caps: Vec) -> JoystickState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/manager.rs:133:30 [INFO] [stdout] | [INFO] [stdout] 133 | fn setup_message_window() -> HWND{ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/manager.rs:183:28 [INFO] [stdout] | [INFO] [stdout] 183 | fn register_devices( hwnd: HWND, reg_type: DeviceType, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [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, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: Could not document `multi-input`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type lib --crate-name multi_input src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern hid=/opt/rustwide/target/debug/deps/libhid-311721ef7915f145.rmeta --extern kernel32=/opt/rustwide/target/debug/deps/libkernel32-3c573cb042cbb379.rmeta --extern libc=/opt/rustwide/target/debug/deps/liblibc-d2b3585c96b24d02.rmeta --extern user32=/opt/rustwide/target/debug/deps/libuser32-8947ce336a34a6e7.rmeta --extern winapi=/opt/rustwide/target/debug/deps/libwinapi-d0be6e1af32e9eba.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "25bd995261065156954c449acc6965bca52920bc60007a3274b3f5314372d46f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25bd995261065156954c449acc6965bca52920bc60007a3274b3f5314372d46f", kill_on_drop: false }` [INFO] [stdout] 25bd995261065156954c449acc6965bca52920bc60007a3274b3f5314372d46f