[INFO] cloning repository https://github.com/liamom/mechanical_keyboard_sounds
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/liamom/mechanical_keyboard_sounds" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliamom%2Fmechanical_keyboard_sounds", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliamom%2Fmechanical_keyboard_sounds'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9ad09837c26e28951e2736b1a5cb9d9bbf4c7231
[INFO] testing liamom/mechanical_keyboard_sounds against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliamom%2Fmechanical_keyboard_sounds" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/liamom/mechanical_keyboard_sounds
[INFO] finished tweaking git repo https://github.com/liamom/mechanical_keyboard_sounds
[INFO] tweaked toml for git repo https://github.com/liamom/mechanical_keyboard_sounds written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/liamom/mechanical_keyboard_sounds on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/liamom/mechanical_keyboard_sounds 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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6885ee3aa7d4ae365c1774d02f82e3ae9b679e8c6b7c0e18ef5fcbc95527f191
[INFO] running `Command { std: "docker" "start" "-a" "6885ee3aa7d4ae365c1774d02f82e3ae9b679e8c6b7c0e18ef5fcbc95527f191", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6885ee3aa7d4ae365c1774d02f82e3ae9b679e8c6b7c0e18ef5fcbc95527f191", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6885ee3aa7d4ae365c1774d02f82e3ae9b679e8c6b7c0e18ef5fcbc95527f191", kill_on_drop: false }`
[INFO] [stdout] 6885ee3aa7d4ae365c1774d02f82e3ae9b679e8c6b7c0e18ef5fcbc95527f191
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dabeeecb96f1f9153bbb23af2ffc8912c73bd0834aeb6f0910ef535b2b48d52a
[INFO] running `Command { std: "docker" "start" "-a" "dabeeecb96f1f9153bbb23af2ffc8912c73bd0834aeb6f0910ef535b2b48d52a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.99
[INFO] [stderr]    Compiling proc-macro2 v1.0.28
[INFO] [stderr]    Compiling cc v1.0.69
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling syn v1.0.74
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]    Compiling cmake v0.1.45
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling soloud-sys v0.4.0 (https://github.com/moalyousef/soloud-rs#c94ff485)
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling nix v0.22.1
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling soloud-derive v0.4.0 (https://github.com/moalyousef/soloud-rs#c94ff485)
[INFO] [stderr]    Compiling ctrlc v3.2.0
[INFO] [stderr]    Compiling soloud v0.4.0 (https://github.com/moalyousef/soloud-rs#c94ff485)
[INFO] [stderr]    Compiling mechanical_keyboard_simulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[INFO] [stdout]  --> src/kb_listener.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winapi::um::winuser::{GetMessageW, MSG, WH_KEYBOARD_LL};
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[INFO] [stdout]  --> src/kb_listener.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::{
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `winapi` in this scope
[INFO] [stdout]  --> src/kb_listener.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::shared::minwindef::{WPARAM, LPARAM, LRESULT};
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `winapi`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `winapi::um::winuser::GetMessageW`, `winapi::um::winuser::MSG`, `winapi::um::winuser::WH_KEYBOARD_LL`, `winapi::ctypes::*`, `winapi::shared::minwindef::*`, `winapi::shared::windef::*`, `winapi::um::winuser::*`, `winapi::shared::minwindef::WPARAM`, `winapi::shared::minwindef::LPARAM`, `winapi::shared::minwindef::LRESULT`
[INFO] [stdout]  --> src/kb_listener.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winapi::um::winuser::{GetMessageW, MSG, WH_KEYBOARD_LL};
[INFO] [stdout]   |                           ^^^^^^^^^^^  ^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 4 |     ctypes::*,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 5 |     shared::{minwindef::*, windef::*},
[INFO] [stdout]   |              ^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 6 |     um::winuser::*,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 | use winapi::shared::minwindef::{WPARAM, LPARAM, LRESULT};
[INFO] [stdout]   |                                 ^^^^^^  ^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HHOOK__` in this scope
[INFO] [stdout]   --> src/kb_listener.rs:33:26
[INFO] [stdout]    |
[INFO] [stdout] 33 |     hook_ptr: &AtomicPtr<HHOOK__>,
[INFO] [stdout]    |                          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn set_hook<HHOOK__>(
[INFO] [stdout]    |            +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `c_int` in this scope
[INFO] [stdout]   --> src/kb_listener.rs:34:42
[INFO] [stdout]    |
[INFO] [stdout] 34 |     hook_proc: unsafe extern "system" fn(c_int, WPARAM, LPARAM) -> LRESULT,
[INFO] [stdout]    |                                          ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these type aliases
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::ffi::c_int;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::os::raw::c_int;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use core::ffi::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HINSTANCE` in this scope
[INFO] [stdout]   --> src/kb_listener.rs:37:67
[INFO] [stdout]    |
[INFO] [stdout] 37 |         unsafe { SetWindowsHookExW(hook_id, Some(hook_proc), 0 as HINSTANCE, 0) },
[INFO] [stdout]    |                                                                   ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HHOOK__` in this scope
[INFO] [stdout]   --> src/kb_listener.rs:61:36
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let keybd_hhook: AtomicPtr<HHOOK__> = AtomicPtr::default();
[INFO] [stdout]    |                                    ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub fn handle_input_events<HHOOK__>() -> Receiver<Event> {
[INFO] [stdout]    |                           +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/kb_listener.rs:66:49
[INFO] [stdout]    |
[INFO] [stdout] 66 |             unsafe { GetMessageW(&mut msg, 0 as HWND, 0, 0) };
[INFO] [stdout]    |                                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `c_int` in this scope
[INFO] [stdout]   --> src/kb_listener.rs:72:44
[INFO] [stdout]    |
[INFO] [stdout] 72 | unsafe extern "system" fn keybd_proc(code: c_int, w_param: WPARAM, l_param: LPARAM) -> LRESULT {
[INFO] [stdout]    |                                            ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these type aliases
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::ffi::c_int;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::os::raw::c_int;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use core::ffi::c_int;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `KBDLLHOOKSTRUCT` in this scope
[INFO] [stdout]   --> src/kb_listener.rs:83:30
[INFO] [stdout]    |
[INFO] [stdout] 83 |         (*(l_param as *const KBDLLHOOKSTRUCT)).vkCode);
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowsHookExW` in this scope
[INFO] [stdout]   --> src/kb_listener.rs:37:18
[INFO] [stdout]    |
[INFO] [stdout] 37 |         unsafe { SetWindowsHookExW(hook_id, Some(hook_proc), 0 as HINSTANCE, 0) },
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CallNextHookEx` in this scope
[INFO] [stdout]   --> src/kb_listener.rs:97:5
[INFO] [stdout]    |
[INFO] [stdout] 97 |     CallNextHookEx(null_mut(), code, w_param, l_param)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mechanical_keyboard_simulator` (bin "mechanical_keyboard_simulator") due to 13 previous errors
[INFO] running `Command { std: "docker" "inspect" "dabeeecb96f1f9153bbb23af2ffc8912c73bd0834aeb6f0910ef535b2b48d52a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dabeeecb96f1f9153bbb23af2ffc8912c73bd0834aeb6f0910ef535b2b48d52a", kill_on_drop: false }`
[INFO] [stdout] dabeeecb96f1f9153bbb23af2ffc8912c73bd0834aeb6f0910ef535b2b48d52a
