[INFO] updating cached repository https://github.com/uma0317/ere [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 11cf04262bf88fa14283491990a06c88c697541a [INFO] checking uma0317/ere against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuma0317%2Fere" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/uma0317/ere on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/uma0317/ere [INFO] removed path dependency midir from git repo https://github.com/uma0317/ere [INFO] finished tweaking git repo https://github.com/uma0317/ere [INFO] tweaked toml for git repo https://github.com/uma0317/ere written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/uma0317/ere already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (midir) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-10/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (midir) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=forbid" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] eeb1619965978e7f470eb367608855008580861ac7c1400ea201c01956dff515 [INFO] running `"docker" "start" "-a" "eeb1619965978e7f470eb367608855008580861ac7c1400ea201c01956dff515"` [INFO] [stderr] warning: dependency (midir) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Checking window v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::{ [INFO] [stderr] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `midir` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use midir::{Ignore, MidiInput}; [INFO] [stderr] | ^^^^^ use of undeclared type or module `midir` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::{ [INFO] [stderr] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope [INFO] [stderr] --> src/main.rs:27:3 [INFO] [stderr] | [INFO] [stderr] 27 | EnumWindows(Some(enum_proc), 0); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `midir` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use midir::{Ignore, MidiInput}; [INFO] [stderr] | ^^^^^ use of undeclared type or module `midir` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:32:43 [INFO] [stderr] | [INFO] [stderr] 32 | unsafe extern "system" fn enum_proc(hwnd: HWND, _l_param: LPARAM) -> BOOL { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:32:59 [INFO] [stderr] | [INFO] [stderr] 32 | unsafe extern "system" fn enum_proc(hwnd: HWND, _l_param: LPARAM) -> BOOL { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/main.rs:32:70 [INFO] [stderr] | [INFO] [stderr] 32 | unsafe extern "system" fn enum_proc(hwnd: HWND, _l_param: LPARAM) -> BOOL { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope [INFO] [stderr] --> src/main.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | if GetWindowTextW(hwnd, &mut buf[0], 1024) > 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope [INFO] [stderr] --> src/main.rs:38:4 [INFO] [stderr] | [INFO] [stderr] 38 | SetForegroundWindow(hwnd); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stderr] --> src/main.rs:39:4 [INFO] [stderr] | [INFO] [stderr] 39 | SetWindowPos(hwnd, HWND_TOP, 0, 0, 700, 700, SWP_SHOWWINDOW); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HWND_TOP` in this scope [INFO] [stderr] --> src/main.rs:39:23 [INFO] [stderr] | [INFO] [stderr] 39 | SetWindowPos(hwnd, HWND_TOP, 0, 0, 700, 700, SWP_SHOWWINDOW); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SWP_SHOWWINDOW` in this scope [INFO] [stderr] --> src/main.rs:39:49 [INFO] [stderr] | [INFO] [stderr] 39 | SetWindowPos(hwnd, HWND_TOP, 0, 0, 700, 700, SWP_SHOWWINDOW); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/main.rs:42:2 [INFO] [stderr] | [INFO] [stderr] 42 | TRUE [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `INPUT` in this scope [INFO] [stderr] --> src/main.rs:55:33 [INFO] [stderr] | [INFO] [stderr] 53 | fn click_with_pos(pos: (i32, i32)) { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 54 | unsafe { [INFO] [stderr] 55 | let mut input = mem::zeroed::(); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `INPUT_MOUSE` in this scope [INFO] [stderr] --> src/main.rs:56:17 [INFO] [stderr] | [INFO] [stderr] 56 | input.type_ = INPUT_MOUSE; [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope [INFO] [stderr] --> src/main.rs:57:30 [INFO] [stderr] | [INFO] [stderr] 57 | let scaleX: i32 = 0xffff / GetSystemMetrics(SM_CXSCREEN); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SM_CXSCREEN` in this scope [INFO] [stderr] --> src/main.rs:57:47 [INFO] [stderr] | [INFO] [stderr] 57 | let scaleX: i32 = 0xffff / GetSystemMetrics(SM_CXSCREEN); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope [INFO] [stderr] --> src/main.rs:58:30 [INFO] [stderr] | [INFO] [stderr] 58 | let scaleY: i32 = 0xffff / GetSystemMetrics(SM_CYSCREEN); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SM_CYSCREEN` in this scope [INFO] [stderr] --> src/main.rs:58:47 [INFO] [stderr] | [INFO] [stderr] 58 | let scaleY: i32 = 0xffff / GetSystemMetrics(SM_CYSCREEN); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MOUSEEVENTF_ABSOLUTE` in this scope [INFO] [stderr] --> src/main.rs:62:4 [INFO] [stderr] | [INFO] [stderr] 62 | MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE | MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MOUSEEVENTF_MOVE` in this scope [INFO] [stderr] --> src/main.rs:62:27 [INFO] [stderr] | [INFO] [stderr] 62 | MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE | MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MOUSEEVENTF_LEFTDOWN` in this scope [INFO] [stderr] --> src/main.rs:62:46 [INFO] [stderr] | [INFO] [stderr] 62 | MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE | MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MOUSEEVENTF_LEFTUP` in this scope [INFO] [stderr] --> src/main.rs:62:69 [INFO] [stderr] | [INFO] [stderr] 62 | MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE | MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope [INFO] [stderr] --> src/main.rs:63:3 [INFO] [stderr] | [INFO] [stderr] 63 | SendInput(1, &mut input, mem::size_of::() as i32); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `INPUT` in this scope [INFO] [stderr] --> src/main.rs:63:43 [INFO] [stderr] | [INFO] [stderr] 53 | fn click_with_pos(pos: (i32, i32)) { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 63 | SendInput(1, &mut input, mem::size_of::() as i32); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `INPUT` in this scope [INFO] [stderr] --> src/main.rs:69:33 [INFO] [stderr] | [INFO] [stderr] 67 | fn click() { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 68 | unsafe { [INFO] [stderr] 69 | let mut input = mem::zeroed::(); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `INPUT_MOUSE` in this scope [INFO] [stderr] --> src/main.rs:70:17 [INFO] [stderr] | [INFO] [stderr] 70 | input.type_ = INPUT_MOUSE; [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MOUSEEVENTF_LEFTDOWN` in this scope [INFO] [stderr] --> src/main.rs:71:30 [INFO] [stderr] | [INFO] [stderr] 71 | input.u.mi_mut().dwFlags = MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MOUSEEVENTF_LEFTUP` in this scope [INFO] [stderr] --> src/main.rs:71:53 [INFO] [stderr] | [INFO] [stderr] 71 | input.u.mi_mut().dwFlags = MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope [INFO] [stderr] --> src/main.rs:72:3 [INFO] [stderr] | [INFO] [stderr] 72 | SendInput(1, &mut input, mem::size_of::() as i32); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `INPUT` in this scope [INFO] [stderr] --> src/main.rs:72:43 [INFO] [stderr] | [INFO] [stderr] 67 | fn click() { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 72 | SendInput(1, &mut input, mem::size_of::() as i32); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `POINT` in this scope [INFO] [stderr] --> src/main.rs:73:33 [INFO] [stderr] | [INFO] [stderr] 67 | fn click() { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 73 | let mut point = mem::zeroed::(); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stderr] --> src/main.rs:74:11 [INFO] [stderr] | [INFO] [stderr] 74 | let b = GetCursorPos(&mut point); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Write`, `stdout` [INFO] [stderr] --> src/main.rs:5:22 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{stdin, stdout, Write}; [INFO] [stderr] | ^^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:89:28 [INFO] [stderr] | [INFO] [stderr] 89 | fn run() -> Result<(), Box> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope [INFO] [stderr] --> src/main.rs:27:3 [INFO] [stderr] | [INFO] [stderr] 27 | EnumWindows(Some(enum_proc), 0); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:32:43 [INFO] [stderr] | [INFO] [stderr] 32 | unsafe extern "system" fn enum_proc(hwnd: HWND, _l_param: LPARAM) -> BOOL { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stderr] --> src/main.rs:32:59 [INFO] [stderr] | [INFO] [stderr] 32 | unsafe extern "system" fn enum_proc(hwnd: HWND, _l_param: LPARAM) -> BOOL { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stderr] --> src/main.rs:32:70 [INFO] [stderr] | [INFO] [stderr] 32 | unsafe extern "system" fn enum_proc(hwnd: HWND, _l_param: LPARAM) -> BOOL { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope [INFO] [stderr] --> src/main.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | if GetWindowTextW(hwnd, &mut buf[0], 1024) > 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetForegroundWindow` in this scope [INFO] [stderr] --> src/main.rs:38:4 [INFO] [stderr] | [INFO] [stderr] 38 | SetForegroundWindow(hwnd); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowPos` in this scope [INFO] [stderr] --> src/main.rs:39:4 [INFO] [stderr] | [INFO] [stderr] 39 | SetWindowPos(hwnd, HWND_TOP, 0, 0, 700, 700, SWP_SHOWWINDOW); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `HWND_TOP` in this scope [INFO] [stderr] --> src/main.rs:39:23 [INFO] [stderr] | [INFO] [stderr] 39 | SetWindowPos(hwnd, HWND_TOP, 0, 0, 700, 700, SWP_SHOWWINDOW); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SWP_SHOWWINDOW` in this scope [INFO] [stderr] --> src/main.rs:39:49 [INFO] [stderr] | [INFO] [stderr] 39 | SetWindowPos(hwnd, HWND_TOP, 0, 0, 700, 700, SWP_SHOWWINDOW); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stderr] --> src/main.rs:42:2 [INFO] [stderr] | [INFO] [stderr] 42 | TRUE [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `INPUT` in this scope [INFO] [stderr] --> src/main.rs:55:33 [INFO] [stderr] | [INFO] [stderr] 53 | fn click_with_pos(pos: (i32, i32)) { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 54 | unsafe { [INFO] [stderr] 55 | let mut input = mem::zeroed::(); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `INPUT_MOUSE` in this scope [INFO] [stderr] --> src/main.rs:56:17 [INFO] [stderr] | [INFO] [stderr] 56 | input.type_ = INPUT_MOUSE; [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope [INFO] [stderr] --> src/main.rs:57:30 [INFO] [stderr] | [INFO] [stderr] 57 | let scaleX: i32 = 0xffff / GetSystemMetrics(SM_CXSCREEN); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SM_CXSCREEN` in this scope [INFO] [stderr] --> src/main.rs:57:47 [INFO] [stderr] | [INFO] [stderr] 57 | let scaleX: i32 = 0xffff / GetSystemMetrics(SM_CXSCREEN); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in this scope [INFO] [stderr] --> src/main.rs:58:30 [INFO] [stderr] | [INFO] [stderr] 58 | let scaleY: i32 = 0xffff / GetSystemMetrics(SM_CYSCREEN); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SM_CYSCREEN` in this scope [INFO] [stderr] --> src/main.rs:58:47 [INFO] [stderr] | [INFO] [stderr] 58 | let scaleY: i32 = 0xffff / GetSystemMetrics(SM_CYSCREEN); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MOUSEEVENTF_ABSOLUTE` in this scope [INFO] [stderr] --> src/main.rs:62:4 [INFO] [stderr] | [INFO] [stderr] 62 | MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE | MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MOUSEEVENTF_MOVE` in this scope [INFO] [stderr] --> src/main.rs:62:27 [INFO] [stderr] | [INFO] [stderr] 62 | MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE | MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MOUSEEVENTF_LEFTDOWN` in this scope [INFO] [stderr] --> src/main.rs:62:46 [INFO] [stderr] | [INFO] [stderr] 62 | MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE | MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MOUSEEVENTF_LEFTUP` in this scope [INFO] [stderr] --> src/main.rs:62:69 [INFO] [stderr] | [INFO] [stderr] 62 | MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE | MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope [INFO] [stderr] --> src/main.rs:63:3 [INFO] [stderr] | [INFO] [stderr] 63 | SendInput(1, &mut input, mem::size_of::() as i32); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `INPUT` in this scope [INFO] [stderr] --> src/main.rs:63:43 [INFO] [stderr] | [INFO] [stderr] 53 | fn click_with_pos(pos: (i32, i32)) { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 63 | SendInput(1, &mut input, mem::size_of::() as i32); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `INPUT` in this scope [INFO] [stderr] --> src/main.rs:69:33 [INFO] [stderr] | [INFO] [stderr] 67 | fn click() { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] 68 | unsafe { [INFO] [stderr] 69 | let mut input = mem::zeroed::(); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `INPUT_MOUSE` in this scope [INFO] [stderr] --> src/main.rs:70:17 [INFO] [stderr] | [INFO] [stderr] 70 | input.type_ = INPUT_MOUSE; [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MOUSEEVENTF_LEFTDOWN` in this scope [INFO] [stderr] --> src/main.rs:71:30 [INFO] [stderr] | [INFO] [stderr] 71 | input.u.mi_mut().dwFlags = MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `MOUSEEVENTF_LEFTUP` in this scope [INFO] [stderr] --> src/main.rs:71:53 [INFO] [stderr] | [INFO] [stderr] 71 | input.u.mi_mut().dwFlags = MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope [INFO] [stderr] --> src/main.rs:72:3 [INFO] [stderr] | [INFO] [stderr] 72 | SendInput(1, &mut input, mem::size_of::() as i32); [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `INPUT` in this scope [INFO] [stderr] --> src/main.rs:72:43 [INFO] [stderr] | [INFO] [stderr] 67 | fn click() { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 72 | SendInput(1, &mut input, mem::size_of::() as i32); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `POINT` in this scope [INFO] [stderr] --> src/main.rs:73:33 [INFO] [stderr] | [INFO] [stderr] 67 | fn click() { [INFO] [stderr] | - help: you might be missing a type parameter: `` [INFO] [stderr] ... [INFO] [stderr] 73 | let mut point = mem::zeroed::(); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stderr] --> src/main.rs:74:11 [INFO] [stderr] | [INFO] [stderr] 74 | let b = GetCursorPos(&mut point); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Write`, `stdout` [INFO] [stderr] --> src/main.rs:5:22 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{stdin, stdout, Write}; [INFO] [stderr] | ^^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:89:28 [INFO] [stderr] | [INFO] [stderr] 89 | fn run() -> Result<(), Box> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 32 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `window`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 32 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `window`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "eeb1619965978e7f470eb367608855008580861ac7c1400ea201c01956dff515"` [INFO] running `"docker" "rm" "-f" "eeb1619965978e7f470eb367608855008580861ac7c1400ea201c01956dff515"` [INFO] [stdout] eeb1619965978e7f470eb367608855008580861ac7c1400ea201c01956dff515