[INFO] cloning repository https://github.com/tanase-j-ww/keyboard-log-app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tanase-j-ww/keyboard-log-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanase-j-ww%2Fkeyboard-log-app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanase-j-ww%2Fkeyboard-log-app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2107c1973a9323458c53b92465e5cce6970d210f [INFO] checking tanase-j-ww/keyboard-log-app against master#12f35ad39ed3e39df4d953c46d4f6cc6c82adc96 for pr-155299-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanase-j-ww%2Fkeyboard-log-app" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tanase-j-ww/keyboard-log-app [INFO] finished tweaking git repo https://github.com/tanase-j-ww/keyboard-log-app [INFO] tweaked toml for git repo https://github.com/tanase-j-ww/keyboard-log-app written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tanase-j-ww/keyboard-log-app on toolchain 12f35ad39ed3e39df4d953c46d4f6cc6c82adc96 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tanase-j-ww/keyboard-log-app 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" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.95 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.95 [INFO] [stderr] Downloaded wasm-bindgen v0.2.95 [INFO] [stderr] Downloaded proc-macro2 v1.0.87 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.95 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.95 [INFO] [stderr] Downloaded js-sys v0.3.72 [INFO] [stderr] Downloaded cc v1.1.30 [INFO] [stderr] Downloaded syn v2.0.79 [INFO] [stderr] Downloaded libc v0.2.159 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08f2a51cb2217e0b628c1a69fe8dbf1cb9686d8724a7a868ee1a463c05ded5bc [INFO] running `Command { std: "docker" "start" "-a" "08f2a51cb2217e0b628c1a69fe8dbf1cb9686d8724a7a868ee1a463c05ded5bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08f2a51cb2217e0b628c1a69fe8dbf1cb9686d8724a7a868ee1a463c05ded5bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08f2a51cb2217e0b628c1a69fe8dbf1cb9686d8724a7a868ee1a463c05ded5bc", kill_on_drop: false }` [INFO] [stdout] 08f2a51cb2217e0b628c1a69fe8dbf1cb9686d8724a7a868ee1a463c05ded5bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27b5781a891759ea595911b736da30653c612ff4c29d04d0b0250a62cd8c8e9b [INFO] running `Command { std: "docker" "start" "-a" "27b5781a891759ea595911b736da30653c612ff4c29d04d0b0250a62cd8c8e9b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking windows-targets v0.52.6 [INFO] [stderr] Checking windows-result v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking windows-strings v0.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Checking windows-core v0.58.0 [INFO] [stderr] Checking windows v0.58.0 [INFO] [stderr] Checking keylogger v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::Foundation::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::UI::WindowsAndMessaging::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::Foundation::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::UI::WindowsAndMessaging::*; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/main.rs:7:61 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe extern "system" fn keyboard_proc(code: i32, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:7:78 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe extern "system" fn keyboard_proc(code: i32, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/main.rs:7:89 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe extern "system" fn keyboard_proc(code: i32, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_KEYDOWN` in this scope [INFO] [stdout] --> src/main.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | if w_param.0 == WM_KEYDOWN as usize { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `KBDLLHOOKSTRUCT` in this scope [INFO] [stdout] --> src/main.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | let kb_struct: &KBDLLHOOKSTRUCT = &*(l_param.0 as *const KBDLLHOOKSTRUCT); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `KBDLLHOOKSTRUCT` in this scope [INFO] [stdout] --> src/main.rs:11:70 [INFO] [stdout] | [INFO] [stdout] 11 | let kb_struct: &KBDLLHOOKSTRUCT = &*(l_param.0 as *const KBDLLHOOKSTRUCT); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WH_KEYBOARD_LL` in this scope [INFO] [stdout] --> src/main.rs:40:38 [INFO] [stdout] | [INFO] [stdout] 40 | let hook = SetWindowsHookExW(WH_KEYBOARD_LL, Some(keyboard_proc), None, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/main.rs:7:61 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe extern "system" fn keyboard_proc(code: i32, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:7:78 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe extern "system" fn keyboard_proc(code: i32, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/main.rs:7:89 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe extern "system" fn keyboard_proc(code: i32, w_param: WPARAM, l_param: LPARAM) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_KEYDOWN` in this scope [INFO] [stdout] --> src/main.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | if w_param.0 == WM_KEYDOWN as usize { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `KBDLLHOOKSTRUCT` in this scope [INFO] [stdout] --> src/main.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | let kb_struct: &KBDLLHOOKSTRUCT = &*(l_param.0 as *const KBDLLHOOKSTRUCT); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `KBDLLHOOKSTRUCT` in this scope [INFO] [stdout] --> src/main.rs:11:70 [INFO] [stdout] | [INFO] [stdout] 11 | let kb_struct: &KBDLLHOOKSTRUCT = &*(l_param.0 as *const KBDLLHOOKSTRUCT); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WH_KEYBOARD_LL` in this scope [INFO] [stdout] --> src/main.rs:40:38 [INFO] [stdout] | [INFO] [stdout] 40 | let hook = SetWindowsHookExW(WH_KEYBOARD_LL, Some(keyboard_proc), None, 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/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | CallNextHookEx(None, code, w_param, l_param) [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/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | CallNextHookEx(None, code, w_param, l_param) [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/main.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | let hook = SetWindowsHookExW(WH_KEYBOARD_LL, Some(keyboard_proc), None, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/main.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | let mut msg = MSG::default(); [INFO] [stdout] | ^^^ use of undeclared type `MSG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/main.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | while GetMessageW(&mut msg, None, 0, 0).into() { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/main.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | let _ = TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/main.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnhookWindowsHookEx` in this scope [INFO] [stdout] --> src/main.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let _ = UnhookWindowsHookEx(hhook); [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/main.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | let hook = SetWindowsHookExW(WH_KEYBOARD_LL, Some(keyboard_proc), None, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/main.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | let mut msg = MSG::default(); [INFO] [stdout] | ^^^ use of undeclared type `MSG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/main.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | while GetMessageW(&mut msg, None, 0, 0).into() { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/main.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | let _ = TranslateMessage(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/main.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | DispatchMessageW(&msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnhookWindowsHookEx` in this scope [INFO] [stdout] --> src/main.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let _ = UnhookWindowsHookEx(hhook); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `keylogger` (bin "keylogger") due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `keylogger` (bin "keylogger" test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "27b5781a891759ea595911b736da30653c612ff4c29d04d0b0250a62cd8c8e9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27b5781a891759ea595911b736da30653c612ff4c29d04d0b0250a62cd8c8e9b", kill_on_drop: false }` [INFO] [stdout] 27b5781a891759ea595911b736da30653c612ff4c29d04d0b0250a62cd8c8e9b