[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] testing tanase-j-ww/keyboard-log-app against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [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 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-implement v0.58.0 [INFO] [stderr] Downloaded windows-interface v0.58.0 [INFO] [stderr] Downloaded windows-core v0.58.0 [INFO] [stderr] Downloaded cc v1.1.30 [INFO] [stderr] Downloaded proc-macro2 v1.0.87 [INFO] [stderr] Downloaded windows v0.58.0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 906661c9a9fd1348a7f3ef71af294d68d65a475e189ba02d13c73dcd8ce329e3 [INFO] running `Command { std: "docker" "start" "-a" "906661c9a9fd1348a7f3ef71af294d68d65a475e189ba02d13c73dcd8ce329e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "906661c9a9fd1348a7f3ef71af294d68d65a475e189ba02d13c73dcd8ce329e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "906661c9a9fd1348a7f3ef71af294d68d65a475e189ba02d13c73dcd8ce329e3", kill_on_drop: false }` [INFO] [stdout] 906661c9a9fd1348a7f3ef71af294d68d65a475e189ba02d13c73dcd8ce329e3 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d7b7729d88127c60e4122e5746037364451faaa97b09504674fabc90beef1a8d [INFO] running `Command { std: "docker" "start" "-a" "d7b7729d88127c60e4122e5746037364451faaa97b09504674fabc90beef1a8d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling windows-targets v0.52.6 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling windows-result v0.2.0 [INFO] [stderr] Compiling windows-strings v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Compiling windows-core v0.58.0 [INFO] [stderr] Compiling windows v0.58.0 [INFO] [stderr] Compiling keylogger v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not 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]: failed to resolve: could not 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[E0412]: 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[E0412]: 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[E0412]: 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[E0412]: 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[E0412]: 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 `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]: failed to resolve: use of undeclared type `MSG` [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: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `keylogger` (bin "keylogger") due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "d7b7729d88127c60e4122e5746037364451faaa97b09504674fabc90beef1a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7b7729d88127c60e4122e5746037364451faaa97b09504674fabc90beef1a8d", kill_on_drop: false }` [INFO] [stdout] d7b7729d88127c60e4122e5746037364451faaa97b09504674fabc90beef1a8d