[INFO] fetching crate xinput 0.1.1... [INFO] checking xinput-0.1.1 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate xinput 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate xinput 0.1.1 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--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-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eac2fad5612b6d6f93bb23d96a305db70cbeb72a463252077210445149c5b371 [INFO] running `Command { std: "docker" "start" "-a" "eac2fad5612b6d6f93bb23d96a305db70cbeb72a463252077210445149c5b371", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eac2fad5612b6d6f93bb23d96a305db70cbeb72a463252077210445149c5b371", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eac2fad5612b6d6f93bb23d96a305db70cbeb72a463252077210445149c5b371", kill_on_drop: false }` [INFO] [stdout] eac2fad5612b6d6f93bb23d96a305db70cbeb72a463252077210445149c5b371 [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=forbid" "-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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92461f5a5212265e3404845b76fda8dbaaf5ec106b3ff3d7e477b351cf40998b [INFO] running `Command { std: "docker" "start" "-a" "92461f5a5212265e3404845b76fda8dbaaf5ec106b3ff3d7e477b351cf40998b", 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[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_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_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 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] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 31 | XInputEnable(if enabled { winapi::true } else { winapi::FALSE }); [INFO] [stdout] | ~~~~ [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 `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] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 31 | XInputEnable(if enabled { winapi::TRUE } else { winapi::false }); [INFO] [stdout] | ~~~~~ [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 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[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:59 [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[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 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] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 31 | XInputEnable(if enabled { winapi::true } else { winapi::FALSE }); [INFO] [stdout] | ~~~~ [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] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 31 | XInputEnable(if enabled { winapi::TRUE } else { winapi::false }); [INFO] [stdout] | ~~~~~ [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 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[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:59 [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[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 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 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 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 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[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: 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] [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` (lib test) due to 28 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `xinput` (lib) due to 28 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "92461f5a5212265e3404845b76fda8dbaaf5ec106b3ff3d7e477b351cf40998b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92461f5a5212265e3404845b76fda8dbaaf5ec106b3ff3d7e477b351cf40998b", kill_on_drop: false }` [INFO] [stdout] 92461f5a5212265e3404845b76fda8dbaaf5ec106b3ff3d7e477b351cf40998b [INFO] checking xinput-0.1.1 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate xinput 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate xinput 0.1.1 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f25dac366ac94c8e608004fdb294ab1107327b6a00ff3d799fcb586847dfb30 [INFO] running `Command { std: "docker" "start" "-a" "9f25dac366ac94c8e608004fdb294ab1107327b6a00ff3d799fcb586847dfb30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f25dac366ac94c8e608004fdb294ab1107327b6a00ff3d799fcb586847dfb30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f25dac366ac94c8e608004fdb294ab1107327b6a00ff3d799fcb586847dfb30", kill_on_drop: false }` [INFO] [stdout] 9f25dac366ac94c8e608004fdb294ab1107327b6a00ff3d799fcb586847dfb30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6a3f0a3a0fc8e5a328c64d183735b42b4e78d64f7023b25497eefdfbfe1345e [INFO] running `Command { std: "docker" "start" "-a" "d6a3f0a3a0fc8e5a328c64d183735b42b4e78d64f7023b25497eefdfbfe1345e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "d6a3f0a3a0fc8e5a328c64d183735b42b4e78d64f7023b25497eefdfbfe1345e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6a3f0a3a0fc8e5a328c64d183735b42b4e78d64f7023b25497eefdfbfe1345e", kill_on_drop: false }` [INFO] [stdout] d6a3f0a3a0fc8e5a328c64d183735b42b4e78d64f7023b25497eefdfbfe1345e