[INFO] fetching crate xinput 0.1.1... [INFO] checking xinput-0.1.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate xinput 0.1.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate xinput 0.1.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate xinput 0.1.1 [INFO] finished tweaking crates.io crate xinput 0.1.1 [INFO] tweaked toml for crates.io crate xinput 0.1.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xinput-sys v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86d82472f27821cf9f988827744ae51038e7159f42df89d1c1bed4f4c4694371 [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" "86d82472f27821cf9f988827744ae51038e7159f42df89d1c1bed4f4c4694371", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86d82472f27821cf9f988827744ae51038e7159f42df89d1c1bed4f4c4694371", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86d82472f27821cf9f988827744ae51038e7159f42df89d1c1bed4f4c4694371", kill_on_drop: false }` [INFO] [stdout] 86d82472f27821cf9f988827744ae51038e7159f42df89d1c1bed4f4c4694371 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a42385cd2f29f6390f662373325300d7cd5d3c5afbdeb4b7afe39c864351f61 [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" "2a42385cd2f29f6390f662373325300d7cd5d3c5afbdeb4b7afe39c864351f61", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling xinput-sys v0.2.0 [INFO] [stderr] Checking xinput v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `DWORD` in crate `winapi` [INFO] [stdout] --> src/lib.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | user_index: winapi::DWORD [INFO] [stdout] | ^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_LEFT_THUMB_DEADZONE` in crate `winapi` [INFO] [stdout] --> src/lib.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | = winapi::XINPUT_GAMEPAD_LEFT_THUMB_DEADZONE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_RIGHT_THUMB_DEADZONE` in crate `winapi` [INFO] [stdout] --> src/lib.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | = winapi::XINPUT_GAMEPAD_RIGHT_THUMB_DEADZONE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_TRIGGER_THRESHOLD` in crate `winapi` [INFO] [stdout] --> src/lib.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | = winapi::XINPUT_GAMEPAD_TRIGGER_THRESHOLD; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XInputEnable` in this scope [INFO] [stdout] --> src/lib.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | XInputEnable(if enabled { winapi::TRUE } else { winapi::FALSE }); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in crate `winapi` [INFO] [stdout] --> src/lib.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | XInputEnable(if enabled { winapi::TRUE } else { winapi::FALSE }); [INFO] [stdout] | ^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in crate `winapi` [INFO] [stdout] --> src/lib.rs:31:59 [INFO] [stdout] | [INFO] [stdout] 31 | XInputEnable(if enabled { winapi::TRUE } else { winapi::FALSE }); [INFO] [stdout] | ^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XINPUT_STATE` in crate `winapi` [INFO] [stdout] --> src/lib.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | let mut state: winapi::XINPUT_STATE = unsafe { std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XInputGetState` in this scope [INFO] [stdout] --> src/lib.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | XInputGetState(gamepad.user_index, &mut state) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in crate `winapi` [INFO] [stdout] --> src/lib.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | } == winapi::ERROR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_DPAD_UP` in crate `winapi` [INFO] [stdout] --> src/lib.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | dpad_up: buttons & winapi::XINPUT_GAMEPAD_DPAD_UP != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_DPAD_DOWN` in crate `winapi` [INFO] [stdout] --> src/lib.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | dpad_down: buttons & winapi::XINPUT_GAMEPAD_DPAD_DOWN != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_DPAD_LEFT` in crate `winapi` [INFO] [stdout] --> src/lib.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | dpad_left: buttons & winapi::XINPUT_GAMEPAD_DPAD_LEFT != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_DPAD_RIGHT` in crate `winapi` [INFO] [stdout] --> src/lib.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | dpad_right: buttons & winapi::XINPUT_GAMEPAD_DPAD_RIGHT != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_A` in crate `winapi` [INFO] [stdout] --> src/lib.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | a: buttons & winapi::XINPUT_GAMEPAD_A != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_B` in crate `winapi` [INFO] [stdout] --> src/lib.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | b: buttons & winapi::XINPUT_GAMEPAD_B != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_X` in crate `winapi` [INFO] [stdout] --> src/lib.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | x: buttons & winapi::XINPUT_GAMEPAD_X != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_Y` in crate `winapi` [INFO] [stdout] --> src/lib.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | y: buttons & winapi::XINPUT_GAMEPAD_Y != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_START` in crate `winapi` [INFO] [stdout] --> src/lib.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | start: buttons & winapi::XINPUT_GAMEPAD_START!= 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_BACK` in crate `winapi` [INFO] [stdout] --> src/lib.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | back: buttons & winapi::XINPUT_GAMEPAD_BACK != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_LEFT_SHOULDER` in crate `winapi` [INFO] [stdout] --> src/lib.rs:56:37 [INFO] [stdout] | [INFO] [stdout] 56 | left_shoulder: buttons & winapi::XINPUT_GAMEPAD_LEFT_SHOULDER != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_RIGHT_SHOULDER` in crate `winapi` [INFO] [stdout] --> src/lib.rs:57:38 [INFO] [stdout] | [INFO] [stdout] 57 | right_shoulder: buttons & winapi::XINPUT_GAMEPAD_RIGHT_SHOULDER != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_LEFT_THUMB` in crate `winapi` [INFO] [stdout] --> src/lib.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | down: buttons & winapi::XINPUT_GAMEPAD_LEFT_THUMB != 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_RIGHT_THUMB` in crate `winapi` [INFO] [stdout] --> src/lib.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | down: buttons & winapi::XINPUT_GAMEPAD_RIGHT_THUMB != 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XInputSetState` in this scope [INFO] [stdout] --> src/lib.rs:110:3 [INFO] [stdout] | [INFO] [stdout] 110 | XInputSetState(gamepad.user_index, &mut winapi::XINPUT_VIBRATION { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `XINPUT_VIBRATION` in crate `winapi` [INFO] [stdout] --> src/lib.rs:110:51 [INFO] [stdout] | [INFO] [stdout] 110 | XInputSetState(gamepad.user_index, &mut winapi::XINPUT_VIBRATION { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in crate `winapi` [INFO] [stdout] --> src/lib.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | result == winapi::ERROR_SUCCESS [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `xinput::*` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use xinput::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:38:49 [INFO] [stdout] | [INFO] [stdout] 38 | let mut state: winapi::XINPUT_STATE = unsafe { std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in crate `winapi` [INFO] [stdout] --> src/lib.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | user_index: winapi::DWORD [INFO] [stdout] | ^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_LEFT_THUMB_DEADZONE` in crate `winapi` [INFO] [stdout] --> src/lib.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | = winapi::XINPUT_GAMEPAD_LEFT_THUMB_DEADZONE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_RIGHT_THUMB_DEADZONE` in crate `winapi` [INFO] [stdout] --> src/lib.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | = winapi::XINPUT_GAMEPAD_RIGHT_THUMB_DEADZONE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_TRIGGER_THRESHOLD` in crate `winapi` [INFO] [stdout] --> src/lib.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | = winapi::XINPUT_GAMEPAD_TRIGGER_THRESHOLD; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XInputEnable` in this scope [INFO] [stdout] --> src/lib.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | XInputEnable(if enabled { winapi::TRUE } else { winapi::FALSE }); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in crate `winapi` [INFO] [stdout] --> src/lib.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | XInputEnable(if enabled { winapi::TRUE } else { winapi::FALSE }); [INFO] [stdout] | ^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in crate `winapi` [INFO] [stdout] --> src/lib.rs:31:59 [INFO] [stdout] | [INFO] [stdout] 31 | XInputEnable(if enabled { winapi::TRUE } else { winapi::FALSE }); [INFO] [stdout] | ^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `XINPUT_STATE` in crate `winapi` [INFO] [stdout] --> src/lib.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | let mut state: winapi::XINPUT_STATE = unsafe { std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XInputGetState` in this scope [INFO] [stdout] --> src/lib.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | XInputGetState(gamepad.user_index, &mut state) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in crate `winapi` [INFO] [stdout] --> src/lib.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | } == winapi::ERROR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_DPAD_UP` in crate `winapi` [INFO] [stdout] --> src/lib.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | dpad_up: buttons & winapi::XINPUT_GAMEPAD_DPAD_UP != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_DPAD_DOWN` in crate `winapi` [INFO] [stdout] --> src/lib.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | dpad_down: buttons & winapi::XINPUT_GAMEPAD_DPAD_DOWN != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_DPAD_LEFT` in crate `winapi` [INFO] [stdout] --> src/lib.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | dpad_left: buttons & winapi::XINPUT_GAMEPAD_DPAD_LEFT != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_DPAD_RIGHT` in crate `winapi` [INFO] [stdout] --> src/lib.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | dpad_right: buttons & winapi::XINPUT_GAMEPAD_DPAD_RIGHT != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_A` in crate `winapi` [INFO] [stdout] --> src/lib.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | a: buttons & winapi::XINPUT_GAMEPAD_A != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_B` in crate `winapi` [INFO] [stdout] --> src/lib.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | b: buttons & winapi::XINPUT_GAMEPAD_B != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_X` in crate `winapi` [INFO] [stdout] --> src/lib.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | x: buttons & winapi::XINPUT_GAMEPAD_X != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_Y` in crate `winapi` [INFO] [stdout] --> src/lib.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | y: buttons & winapi::XINPUT_GAMEPAD_Y != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_START` in crate `winapi` [INFO] [stdout] --> src/lib.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | start: buttons & winapi::XINPUT_GAMEPAD_START!= 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_BACK` in crate `winapi` [INFO] [stdout] --> src/lib.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | back: buttons & winapi::XINPUT_GAMEPAD_BACK != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_LEFT_SHOULDER` in crate `winapi` [INFO] [stdout] --> src/lib.rs:56:37 [INFO] [stdout] | [INFO] [stdout] 56 | left_shoulder: buttons & winapi::XINPUT_GAMEPAD_LEFT_SHOULDER != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_RIGHT_SHOULDER` in crate `winapi` [INFO] [stdout] --> src/lib.rs:57:38 [INFO] [stdout] | [INFO] [stdout] 57 | right_shoulder: buttons & winapi::XINPUT_GAMEPAD_RIGHT_SHOULDER != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_LEFT_THUMB` in crate `winapi` [INFO] [stdout] --> src/lib.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | down: buttons & winapi::XINPUT_GAMEPAD_LEFT_THUMB != 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `XINPUT_GAMEPAD_RIGHT_THUMB` in crate `winapi` [INFO] [stdout] --> src/lib.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | down: buttons & winapi::XINPUT_GAMEPAD_RIGHT_THUMB != 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `XInputSetState` in this scope [INFO] [stdout] --> src/lib.rs:110:3 [INFO] [stdout] | [INFO] [stdout] 110 | XInputSetState(gamepad.user_index, &mut winapi::XINPUT_VIBRATION { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `XINPUT_VIBRATION` in crate `winapi` [INFO] [stdout] --> src/lib.rs:110:51 [INFO] [stdout] | [INFO] [stdout] 110 | XInputSetState(gamepad.user_index, &mut winapi::XINPUT_VIBRATION { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in crate `winapi` [INFO] [stdout] --> src/lib.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | result == winapi::ERROR_SUCCESS [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `xinput::*` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use xinput::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:38:49 [INFO] [stdout] | [INFO] [stdout] 38 | let mut state: winapi::XINPUT_STATE = unsafe { std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xinput` [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] [stdout] error: aborting due to 27 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2a42385cd2f29f6390f662373325300d7cd5d3c5afbdeb4b7afe39c864351f61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a42385cd2f29f6390f662373325300d7cd5d3c5afbdeb4b7afe39c864351f61", kill_on_drop: false }` [INFO] [stdout] 2a42385cd2f29f6390f662373325300d7cd5d3c5afbdeb4b7afe39c864351f61