[INFO] cloning repository https://github.com/jilsahm/auto-jumpking
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jilsahm/auto-jumpking" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjilsahm%2Fauto-jumpking", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjilsahm%2Fauto-jumpking'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 42edfc95051319cd92ee8e3cfbfef6d3312854e8
[INFO] checking jilsahm/auto-jumpking against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjilsahm%2Fauto-jumpking" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jilsahm/auto-jumpking on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jilsahm/auto-jumpking
[INFO] finished tweaking git repo https://github.com/jilsahm/auto-jumpking
[INFO] tweaked toml for git repo https://github.com/jilsahm/auto-jumpking written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/jilsahm/auto-jumpking already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1bb388a5b6ebb4360876a161cef154f4229c946a8fbbd5afbcb43a4c6b98071e
[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" "1bb388a5b6ebb4360876a161cef154f4229c946a8fbbd5afbcb43a4c6b98071e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1bb388a5b6ebb4360876a161cef154f4229c946a8fbbd5afbcb43a4c6b98071e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1bb388a5b6ebb4360876a161cef154f4229c946a8fbbd5afbcb43a4c6b98071e", kill_on_drop: false }`
[INFO] [stdout] 1bb388a5b6ebb4360876a161cef154f4229c946a8fbbd5afbcb43a4c6b98071e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 618082ab95c16b91dcde36bcd2dc6f953ca7fa3d8f5007941f4beb5abb5a0bd5
[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" "618082ab95c16b91dcde36bcd2dc6f953ca7fa3d8f5007941f4beb5abb5a0bd5", kill_on_drop: false }`
[INFO] [stderr] Copying to /tmp/fixit
[INFO] [stderr] Running `cargo fix --edition`
[INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo.
[INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously.
[INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html
[INFO] [stderr] When building the following dependencies, the given features will no longer be used:
[INFO] [stderr]
[INFO] [stderr] winapi v0.3.8: consoleapi, errhandlingapi, fileapi, minwinbase, minwindef, processenv, std, winbase, wincon, winerror, winnt
[INFO] [stderr]
[INFO] [stderr] Compiling winapi v0.3.8
[INFO] [stderr] Compiling auto-jumpking v0.1.0 (/tmp/fixit)
[INFO] [stderr] Checking env_logger v0.5.13
[INFO] [stderr] Migrating build.rs from 2018 edition to 2021
[INFO] [stderr] Fixed build.rs (1 fix)
[INFO] [stdout] warning: constant is never used: `CONFIG_FOLDER`
[INFO] [stdout] --> build.rs:6:1
[INFO] [stdout] |
[INFO] [stdout] 6 | const CONFIG_FOLDER: (&'static str, &'static str) = ("config", ".cfg");
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant is never used: `LEVEL_FOLDER`
[INFO] [stdout] --> build.rs:7:1
[INFO] [stdout] |
[INFO] [stdout] 7 | const LEVEL_FOLDER: (&'static str, &'static str) = ("level", ".lvl");
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout] --> src/win.rs:9:5
[INFO] [stdout] |
[INFO] [stdout] 9 | shared::windef::HWND,
[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/win.rs:10:5
[INFO] [stdout] |
[INFO] [stdout] 10 | um::winuser::*,
[INFO] [stdout] | ^^ could not find `um` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stdout] --> src/win.rs:8:5
[INFO] [stdout] |
[INFO] [stdout] 8 | ctypes::c_int,
[INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `VK_SPACE` in this scope
[INFO] [stdout] --> src/win.rs:19:33
[INFO] [stdout] |
[INFO] [stdout] 19 | "space" => Some(VK_SPACE as u16),
[INFO] [stdout] | ^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `VK_UP` in this scope
[INFO] [stdout] --> src/win.rs:20:30
[INFO] [stdout] |
[INFO] [stdout] 20 | "up" => Some(VK_UP as u16),
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `VK_LEFT` in this scope
[INFO] [stdout] --> src/win.rs:21:32
[INFO] [stdout] |
[INFO] [stdout] 21 | "left" => Some(VK_LEFT as u16),
[INFO] [stdout] | ^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `VK_RIGHT` in this scope
[INFO] [stdout] --> src/win.rs:22:33
[INFO] [stdout] |
[INFO] [stdout] 22 | "right" => Some(VK_RIGHT as u16),
[INFO] [stdout] | ^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `KEYEVENTF_KEYUP` in this scope
[INFO] [stdout] --> src/win.rs:34:23
[INFO] [stdout] |
[INFO] [stdout] 34 | trigger_key_event(KEYEVENTF_KEYUP, vk);
[INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `INPUT` in this scope
[INFO] [stdout] --> src/win.rs:38:21
[INFO] [stdout] |
[INFO] [stdout] 38 | let mut input = INPUT {
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `INPUT_KEYBOARD` in this scope
[INFO] [stdout] --> src/win.rs:39:16
[INFO] [stdout] |
[INFO] [stdout] 39 | type_: INPUT_KEYBOARD,
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KEYBDINPUT` in this scope
[INFO] [stdout] --> src/win.rs:41:29
[INFO] [stdout] |
[INFO] [stdout] 41 | transmute_copy(&KEYBDINPUT {
[INFO] [stdout] | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope
[INFO] [stdout] --> src/win.rs:50:14
[INFO] [stdout] |
[INFO] [stdout] 50 | unsafe { SendInput(1, &mut input as LPINPUT, size_of::() as c_int) };
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `LPINPUT` in this scope
[INFO] [stdout] --> src/win.rs:50:41
[INFO] [stdout] |
[INFO] [stdout] 50 | unsafe { SendInput(1, &mut input as LPINPUT, size_of::() as c_int) };
[INFO] [stdout] | ^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope
[INFO] [stdout] --> src/win.rs:50:60
[INFO] [stdout] |
[INFO] [stdout] 37 | fn trigger_key_event(flags: u32, vk: u16) {
[INFO] [stdout] | - help: you might be missing a type parameter: ``
[INFO] [stdout] ...
[INFO] [stdout] 50 | unsafe { SendInput(1, &mut input as LPINPUT, size_of::() as c_int) };
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope
[INFO] [stdout] --> src/win.rs:58:18
[INFO] [stdout] |
[INFO] [stdout] 58 | unsafe { SetForegroundWindow(handle); }
[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/win.rs:65:30
[INFO] [stdout] |
[INFO] [stdout] 65 | fn find_handle(app: &str) -> HWND {
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowA` in this scope
[INFO] [stdout] --> src/win.rs:67:14
[INFO] [stdout] |
[INFO] [stdout] 67 | unsafe { FindWindowA(std::ptr::null(), cstr.as_ptr()) }
[INFO] [stdout] | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 17 previous errors
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout]
[INFO] [stderr] error: could not compile `auto-jumpking` due to 18 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout] --> src/win.rs:9:5
[INFO] [stdout] |
[INFO] [stdout] 9 | shared::windef::HWND,
[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/win.rs:10:5
[INFO] [stdout] |
[INFO] [stdout] 10 | um::winuser::*,
[INFO] [stdout] | ^^ could not find `um` in `winapi`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0432]: unresolved imports `winapi::ctypes`, `super::str_to_keycode`
[INFO] [stdout] --> src/win.rs:8:5
[INFO] [stdout] |
[INFO] [stdout] 8 | ctypes::c_int,
[INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] ...
[INFO] [stdout] 72 | use super::str_to_keycode;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `VK_SPACE` in this scope
[INFO] [stdout] --> src/win.rs:19:33
[INFO] [stdout] |
[INFO] [stdout] 19 | "space" => Some(VK_SPACE as u16),
[INFO] [stdout] | ^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `VK_UP` in this scope
[INFO] [stdout] --> src/win.rs:20:30
[INFO] [stdout] |
[INFO] [stdout] 20 | "up" => Some(VK_UP as u16),
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `VK_LEFT` in this scope
[INFO] [stdout] --> src/win.rs:21:32
[INFO] [stdout] |
[INFO] [stdout] 21 | "left" => Some(VK_LEFT as u16),
[INFO] [stdout] | ^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `VK_RIGHT` in this scope
[INFO] [stdout] --> src/win.rs:22:33
[INFO] [stdout] |
[INFO] [stdout] 22 | "right" => Some(VK_RIGHT as u16),
[INFO] [stdout] | ^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `KEYEVENTF_KEYUP` in this scope
[INFO] [stdout] --> src/win.rs:34:23
[INFO] [stdout] |
[INFO] [stdout] 34 | trigger_key_event(KEYEVENTF_KEYUP, vk);
[INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `INPUT` in this scope
[INFO] [stdout] --> src/win.rs:38:21
[INFO] [stdout] |
[INFO] [stdout] 38 | let mut input = INPUT {
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `INPUT_KEYBOARD` in this scope
[INFO] [stdout] --> src/win.rs:39:16
[INFO] [stdout] |
[INFO] [stdout] 39 | type_: INPUT_KEYBOARD,
[INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KEYBDINPUT` in this scope
[INFO] [stdout] --> src/win.rs:41:29
[INFO] [stdout] |
[INFO] [stdout] 41 | transmute_copy(&KEYBDINPUT {
[INFO] [stdout] | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope
[INFO] [stdout] --> src/win.rs:50:14
[INFO] [stdout] |
[INFO] [stdout] 50 | unsafe { SendInput(1, &mut input as LPINPUT, size_of::() as c_int) };
[INFO] [stdout] | ^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `LPINPUT` in this scope
[INFO] [stdout] --> src/win.rs:50:41
[INFO] [stdout] |
[INFO] [stdout] 50 | unsafe { SendInput(1, &mut input as LPINPUT, size_of::() as c_int) };
[INFO] [stdout] | ^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope
[INFO] [stdout] --> src/win.rs:50:60
[INFO] [stdout] |
[INFO] [stdout] 37 | fn trigger_key_event(flags: u32, vk: u16) {
[INFO] [stdout] | - help: you might be missing a type parameter: ``
[INFO] [stdout] ...
[INFO] [stdout] 50 | unsafe { SendInput(1, &mut input as LPINPUT, size_of::() as c_int) };
[INFO] [stdout] | ^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope
[INFO] [stdout] --> src/win.rs:58:18
[INFO] [stdout] |
[INFO] [stdout] 58 | unsafe { SetForegroundWindow(handle); }
[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/win.rs:65:30
[INFO] [stdout] |
[INFO] [stdout] 65 | fn find_handle(app: &str) -> HWND {
[INFO] [stdout] | ^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowA` in this scope
[INFO] [stdout] --> src/win.rs:67:14
[INFO] [stdout] |
[INFO] [stdout] 67 | unsafe { FindWindowA(std::ptr::null(), cstr.as_ptr()) }
[INFO] [stdout] | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 17 previous errors
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout]
[INFO] [stderr] error: build failed
[INFO] [stderr] error: failed to migrate to next edition
[INFO] [stderr]
[INFO] [stderr] Caused by:
[INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101)
[INFO] running `Command { std: "docker" "inspect" "618082ab95c16b91dcde36bcd2dc6f953ca7fa3d8f5007941f4beb5abb5a0bd5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "618082ab95c16b91dcde36bcd2dc6f953ca7fa3d8f5007941f4beb5abb5a0bd5", kill_on_drop: false }`
[INFO] [stdout] 618082ab95c16b91dcde36bcd2dc6f953ca7fa3d8f5007941f4beb5abb5a0bd5