[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/629e7dd5e37262144512c5959d1bf5ffdfff0859 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMorrisonWill%2FRotMG-Autonexus" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MorrisonWill/RotMG-Autonexus on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-3-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ba2ebc133b40f5c41a037d459fe75aaaca654e2a457beaf7f75203506edcfb3 [INFO] running `Command { std: "docker" "start" "-a" "7ba2ebc133b40f5c41a037d459fe75aaaca654e2a457beaf7f75203506edcfb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ba2ebc133b40f5c41a037d459fe75aaaca654e2a457beaf7f75203506edcfb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ba2ebc133b40f5c41a037d459fe75aaaca654e2a457beaf7f75203506edcfb3", kill_on_drop: false }` [INFO] [stdout] 7ba2ebc133b40f5c41a037d459fe75aaaca654e2a457beaf7f75203506edcfb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbefbfb431d978e39c7f3b6cadb75eaf71bfb307feb52a109c63e1b528d42a0b [INFO] running `Command { std: "docker" "start" "-a" "dbefbfb431d978e39c7f3b6cadb75eaf71bfb307feb52a109c63e1b528d42a0b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [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] Compiling quote v1.0.14 [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 `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] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [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 `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] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [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[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[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[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[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[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" test) 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") due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "dbefbfb431d978e39c7f3b6cadb75eaf71bfb307feb52a109c63e1b528d42a0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbefbfb431d978e39c7f3b6cadb75eaf71bfb307feb52a109c63e1b528d42a0b", kill_on_drop: false }` [INFO] [stdout] dbefbfb431d978e39c7f3b6cadb75eaf71bfb307feb52a109c63e1b528d42a0b