[INFO] cloning repository https://github.com/AGhafoor94/rust-input-control
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AGhafoor94/rust-input-control" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAGhafoor94%2Frust-input-control", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAGhafoor94%2Frust-input-control'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5978e6741e8d6eaaf1329a2f0bc1243adffb4417
[INFO] testing AGhafoor94/rust-input-control against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAGhafoor94%2Frust-input-control" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AGhafoor94/rust-input-control
[INFO] finished tweaking git repo https://github.com/AGhafoor94/rust-input-control
[INFO] tweaked toml for git repo https://github.com/AGhafoor94/rust-input-control written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AGhafoor94/rust-input-control on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AGhafoor94/rust-input-control 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 41803fe9306eb2db96d3b74bbbfe929fa49861d64f39bb813c502fb8fdb9b756
[INFO] running `Command { std: "docker" "start" "-a" "41803fe9306eb2db96d3b74bbbfe929fa49861d64f39bb813c502fb8fdb9b756", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "41803fe9306eb2db96d3b74bbbfe929fa49861d64f39bb813c502fb8fdb9b756", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "41803fe9306eb2db96d3b74bbbfe929fa49861d64f39bb813c502fb8fdb9b756", kill_on_drop: false }`
[INFO] [stdout] 41803fe9306eb2db96d3b74bbbfe929fa49861d64f39bb813c502fb8fdb9b756
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 93282f97d9622a7dbcd558e4527cb401d87b800d4bfa3042e59a70ea03d560ff
[INFO] running `Command { std: "docker" "start" "-a" "93282f97d9622a7dbcd558e4527cb401d87b800d4bfa3042e59a70ea03d560ff", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.81
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling proc-macro-hack v0.5.20+deprecated
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.52.5
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling const_fn v0.4.10
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling windows-targets v0.52.5
[INFO] [stderr]    Compiling windows-result v0.1.1
[INFO] [stderr]    Compiling standback v0.2.17
[INFO] [stderr]    Compiling time v0.2.27
[INFO] [stderr]    Compiling x11 v2.21.0
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]    Compiling time-macros-impl v0.1.2
[INFO] [stderr]    Compiling time-macros v0.1.1
[INFO] [stderr]    Compiling mouse-rs v0.4.2
[INFO] [stderr]    Compiling windows-implement v0.56.0
[INFO] [stderr]    Compiling windows-interface v0.56.0
[INFO] [stderr]    Compiling windows-core v0.56.0
[INFO] [stderr]    Compiling windows v0.56.0
[INFO] [stderr]    Compiling input-events v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Read` and `time::Duration`
[INFO] [stdout]  --> src/main.rs:1:61
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{ fs::{self, DirEntry, File, FileType}, io::{self, Read, Write}, path::Path, process::{ Command, Output }, str, time::Duration };
[INFO] [stdout]   |                                                             ^^^^                                                         ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BeginPaint`, `CreatePen`, `CreateSolidBrush`, `DC_PEN`, `DeleteObject`, `Direct2D::*`, `DrawTextExA`, `Ellipse`, `EndPaint`, `FillRect`, `GetStockObject`, `HDC`, `HGDIOBJ`, `HPEN`, `MapWindowPoints`, `PAINTSTRUCT`, `PS_SOLID`, `Rectangle`, `SelectObject`, `TextOutW`, `VK_LBUTTON`, `VK_RBUTTON`, and `ValidateRect`
[INFO] [stdout]  --> src/main.rs:3:48
[INFO] [stdout]   |
[INFO] [stdout] 3 | ...::{Direct2D::*, Gdi::{BeginPaint, CreatePen, CreateSolidBrush, DeleteObject, DrawTextExA, Ellipse, EndPaint, FillRect, GetStockObject, MapWindowPoints, Rectangle, SelectObject, TextOutW, ValidateRect, DC_PEN, HDC, HGDIOBJ, HPEN, PAINTSTRUCT, PS_SOLID}}, System::LibraryLoader::*, UI::{Input::KeyboardAndMouse::{VK_LBUTTON, VK_RBUTTON}, ...
[INFO] [stdout]   |       ^^^^^^^^^^^        ^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^  ^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^  ^^^  ^^^^^^^  ^^^^  ^^^^^^^^^^^  ^^^^^^^^                                                             ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PWSTR`
[INFO] [stdout]  --> src/main.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows::core::{ s, PWSTR };
[INFO] [stdout]   |                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:118:61
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn move_mouse(mouse:&Mouse, x:i32, y:i32) -> Result<(), Box<(dyn std::error::Error + 'static)>>
[INFO] [stdout]     |                                                             ^                               ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 118 - fn move_mouse(mouse:&Mouse, x:i32, y:i32) -> Result<(), Box<(dyn std::error::Error + 'static)>>
[INFO] [stdout] 118 + fn move_mouse(mouse:&Mouse, x:i32, y:i32) -> Result<(), Box<dyn std::error::Error + 'static >>
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mouse`
[INFO] [stdout]   --> src/main.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mouse:Mouse = Mouse::new();
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:206:29
[INFO] [stdout]     |
[INFO] [stdout] 206 |                         let mut text:Vec<u8>= vec![];
[INFO] [stdout]     |                             ----^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text`
[INFO] [stdout]    --> src/main.rs:206:29
[INFO] [stdout]     |
[INFO] [stdout] 206 |                         let mut text:Vec<u8>= vec![];
[INFO] [stdout]     |                             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `val`
[INFO] [stdout]    --> src/main.rs:207:29
[INFO] [stdout]     |
[INFO] [stdout] 207 |                         let val:i32 = GetWindowTextW(window, &mut buffer);
[INFO] [stdout]     |                             ^^^ help: if this is intentional, prefix it with an underscore: `_val`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `press_hold_mouse` is never used
[INFO] [stdout]   --> src/main.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn press_hold_mouse(mouse:&Mouse) -> Result<(), Box<dyn std::error::Error>>
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `move_mouse_to_location` is never used
[INFO] [stdout]    --> src/main.rs:101:4
[INFO] [stdout]     |
[INFO] [stdout] 101 | fn move_mouse_to_location(mouse:&Mouse, x:i32, y:i32) -> Result<(), Box<dyn std::error::Error>>
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `release_mouse` is never used
[INFO] [stdout]    --> src/main.rs:105:4
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn release_mouse(mouse:&Mouse) -> Result<(), Box<dyn std::error::Error>>
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mouse_control` is never used
[INFO] [stdout]    --> src/main.rs:109:4
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn mouse_control(mouse:&Mouse)
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `move_mouse` is never used
[INFO] [stdout]    --> src/main.rs:118:4
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn move_mouse(mouse:&Mouse, x:i32, y:i32) -> Result<(), Box<(dyn std::error::Error + 'static)>>
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_mouse_position` is never used
[INFO] [stdout]    --> src/main.rs:122:4
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn get_mouse_position(mouse:&Mouse) -> (i32, i32)       
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustcv79bjA/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libwindows-27bb2ac4a3a78e54,libwindows_core-735c31ce6af62be0,libwindows_result-7eac3b260e1c6d08,libwindows_targets-ee011e7ae1c0ba6e,libmouse_rs-327f513f89695b6b,liblibc-21d71f812ea07b39}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lxdo" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcv79bjA/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows_x86_64_gnu-0.52.5/lib" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/input_events-7a063ed6934c9d0e" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: unable to find library -lxdo
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `input-events` (bin "input-events") due to 1 previous error; 14 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "93282f97d9622a7dbcd558e4527cb401d87b800d4bfa3042e59a70ea03d560ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "93282f97d9622a7dbcd558e4527cb401d87b800d4bfa3042e59a70ea03d560ff", kill_on_drop: false }`
[INFO] [stdout] 93282f97d9622a7dbcd558e4527cb401d87b800d4bfa3042e59a70ea03d560ff
