[INFO] crate xinput 0.1.1 is already in cache [INFO] testing xinput-0.1.1 against beta-2020-07-24 for beta-1.46-1 [INFO] extracting crate xinput 0.1.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate xinput 0.1.1 on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", 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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a450c6b026ded083ff7f5c447508046581f8f4295a4d39102a76993a0c3a44f0 [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" "a450c6b026ded083ff7f5c447508046581f8f4295a4d39102a76993a0c3a44f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a450c6b026ded083ff7f5c447508046581f8f4295a4d39102a76993a0c3a44f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a450c6b026ded083ff7f5c447508046581f8f4295a4d39102a76993a0c3a44f0", kill_on_drop: false }` [INFO] [stdout] a450c6b026ded083ff7f5c447508046581f8f4295a4d39102a76993a0c3a44f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "RUSTFLAGS=--cap-lints=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14b3aeea75590cfb37c2c4f5d0ae92f5ba266d9450e9e8a0be3099a0a5359c41 [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" "14b3aeea75590cfb37c2c4f5d0ae92f5ba266d9450e9e8a0be3099a0a5359c41", kill_on_drop: false }` [INFO] [stderr] Compiling xinput-sys v0.2.0 [INFO] [stderr] Compiling 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 item '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] running `Command { std: "docker" "inspect" "14b3aeea75590cfb37c2c4f5d0ae92f5ba266d9450e9e8a0be3099a0a5359c41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14b3aeea75590cfb37c2c4f5d0ae92f5ba266d9450e9e8a0be3099a0a5359c41", kill_on_drop: false }` [INFO] [stdout] 14b3aeea75590cfb37c2c4f5d0ae92f5ba266d9450e9e8a0be3099a0a5359c41