[INFO] cloning repository https://github.com/MorrisonWill/RotMG-Autonexus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MorrisonWill/RotMG-Autonexus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMorrisonWill%2FRotMG-Autonexus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMorrisonWill%2FRotMG-Autonexus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 629e7dd5e37262144512c5959d1bf5ffdfff0859 [INFO] checking MorrisonWill/RotMG-Autonexus against master#6f40082313d8374bdf962aba943a712d5322fae6 for pr-117967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMorrisonWill%2FRotMG-Autonexus" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MorrisonWill/RotMG-Autonexus on toolchain 6f40082313d8374bdf962aba943a712d5322fae6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6f40082313d8374bdf962aba943a712d5322fae6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MorrisonWill/RotMG-Autonexus [INFO] finished tweaking git repo https://github.com/MorrisonWill/RotMG-Autonexus [INFO] tweaked toml for git repo https://github.com/MorrisonWill/RotMG-Autonexus written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MorrisonWill/RotMG-Autonexus already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6f40082313d8374bdf962aba943a712d5322fae6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking MorrisonWill/RotMG-Autonexus against try#57fd74335bb14b59b719dc3cc5bc4257e73f33ce for pr-117967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMorrisonWill%2FRotMG-Autonexus" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MorrisonWill/RotMG-Autonexus on toolchain 57fd74335bb14b59b719dc3cc5bc4257e73f33ce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MorrisonWill/RotMG-Autonexus [INFO] finished tweaking git repo https://github.com/MorrisonWill/RotMG-Autonexus [INFO] tweaked toml for git repo https://github.com/MorrisonWill/RotMG-Autonexus written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MorrisonWill/RotMG-Autonexus already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbd4cf0f70790070d43b80422941931b7221e079748b409d3531658673bdda87 [INFO] running `Command { std: "docker" "start" "-a" "dbd4cf0f70790070d43b80422941931b7221e079748b409d3531658673bdda87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbd4cf0f70790070d43b80422941931b7221e079748b409d3531658673bdda87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbd4cf0f70790070d43b80422941931b7221e079748b409d3531658673bdda87", kill_on_drop: false }` [INFO] [stdout] dbd4cf0f70790070d43b80422941931b7221e079748b409d3531658673bdda87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fabccd6b4446f40735f4662caf707ed131a60c924cd0e83724c5defde2c3e677 [INFO] running `Command { std: "docker" "start" "-a" "fabccd6b4446f40735f4662caf707ed131a60c924cd0e83724c5defde2c3e677", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking Autonexus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use self::winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::winapi::ctypes` [INFO] [stdout] --> src/main.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use self::winapi::ctypes::c_int; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use self::winapi::um::winuser::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::winapi::ctypes` [INFO] [stdout] --> src/main.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use self::winapi::ctypes::c_int; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:52:38 [INFO] [stdout] | [INFO] [stdout] 52 | let pixel = unsafe { winapi::um::wingdi::GetPixel(hdc_source, x, y) }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:52:38 [INFO] [stdout] | [INFO] [stdout] 52 | let pixel = unsafe { winapi::um::wingdi::GetPixel(hdc_source, x, y) }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:72:42 [INFO] [stdout] | [INFO] [stdout] 72 | let pixel = unsafe { winapi::um::wingdi::GetPixel(hdc_source, x, y) }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:72:42 [INFO] [stdout] | [INFO] [stdout] 72 | let pixel = unsafe { winapi::um::wingdi::GetPixel(hdc_source, x, y) }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `INPUT` in this scope [INFO] [stdout] --> src/main.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | let mut input = INPUT { [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/main.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | 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/main.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | 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/main.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | transmute_copy(&KEYBDINPUT { [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/main.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | type_: INPUT_KEYBOARD, [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/main.rs:46:41 [INFO] [stdout] | [INFO] [stdout] 46 | 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[E0422]: cannot find struct, variant or union type `KEYBDINPUT` in this scope [INFO] [stdout] --> src/main.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | transmute_copy(&KEYBDINPUT { [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/main.rs:46:41 [INFO] [stdout] | [INFO] [stdout] 46 | 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/main.rs:46:60 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe { SendInput(1, &mut input as LPINPUT, size_of::() as c_int) }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 33 | fn nexus() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope [INFO] [stdout] --> src/main.rs:46:60 [INFO] [stdout] | [INFO] [stdout] 46 | unsafe { SendInput(1, &mut input as LPINPUT, size_of::() as c_int) }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 33 | fn nexus() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope [INFO] [stdout] --> src/main.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | 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 `SendInput` in this scope [INFO] [stdout] --> src/main.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | 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 `GetDC` in this scope [INFO] [stdout] --> src/main.rs:50:31 [INFO] [stdout] | [INFO] [stdout] 50 | let hdc_source = unsafe { GetDC(ptr::null_mut()) }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stdout] --> src/main.rs:50:31 [INFO] [stdout] | [INFO] [stdout] 50 | let hdc_source = unsafe { GetDC(ptr::null_mut()) }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/main.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 59 | let window: Vec = OsStr::new("RotMGExalt") [INFO] [stdout] | ____________________________- [INFO] [stdout] 60 | | .encode_wide() [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/main.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 59 | let window: Vec = OsStr::new("RotMGExalt") [INFO] [stdout] | ____________________________- [INFO] [stdout] 60 | | .encode_wide() [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowW` in this scope [INFO] [stdout] --> src/main.rs:64:34 [INFO] [stdout] | [INFO] [stdout] 64 | let window_handle = unsafe { FindWindowW(ptr::null_mut(), window.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowW` in this scope [INFO] [stdout] --> src/main.rs:64:34 [INFO] [stdout] | [INFO] [stdout] 64 | let window_handle = unsafe { FindWindowW(ptr::null_mut(), window.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stdout] --> src/main.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | let hdc_source = unsafe { GetDC(ptr::null_mut()) }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope [INFO] [stdout] --> src/main.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | let hdc_source = unsafe { GetDC(ptr::null_mut()) }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope [INFO] [stdout] --> src/main.rs:70:35 [INFO] [stdout] | [INFO] [stdout] 70 | let foreground = unsafe { GetForegroundWindow() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetForegroundWindow` in this scope [INFO] [stdout] --> src/main.rs:70:35 [INFO] [stdout] | [INFO] [stdout] 70 | let foreground = unsafe { GetForegroundWindow() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Autonexus` (bin "Autonexus") due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `Autonexus` (bin "Autonexus" test) due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "fabccd6b4446f40735f4662caf707ed131a60c924cd0e83724c5defde2c3e677", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fabccd6b4446f40735f4662caf707ed131a60c924cd0e83724c5defde2c3e677", kill_on_drop: false }` [INFO] [stdout] fabccd6b4446f40735f4662caf707ed131a60c924cd0e83724c5defde2c3e677