[INFO] cloning repository https://github.com/b1tg/b1-keylogger
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/b1tg/b1-keylogger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb1tg%2Fb1-keylogger", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb1tg%2Fb1-keylogger'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] aa83680708155805238f2c7de43b22e0a038df2b
[INFO] testing b1tg/b1-keylogger against beta-2021-08-01 for beta-1.55-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb1tg%2Fb1-keylogger" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/b1tg/b1-keylogger on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/b1tg/b1-keylogger
[INFO] finished tweaking git repo https://github.com/b1tg/b1-keylogger
[INFO] tweaked toml for git repo https://github.com/b1tg/b1-keylogger written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/b1tg/b1-keylogger already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded synstructure v0.12.5
[INFO] [stderr]   Downloaded single-instance v0.1.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 232a840a536fb4f9950014d0b4a93d08e89b823aaa713f46a95bd247912e918e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "232a840a536fb4f9950014d0b4a93d08e89b823aaa713f46a95bd247912e918e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "232a840a536fb4f9950014d0b4a93d08e89b823aaa713f46a95bd247912e918e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "232a840a536fb4f9950014d0b4a93d08e89b823aaa713f46a95bd247912e918e", kill_on_drop: false }`
[INFO] [stdout] 232a840a536fb4f9950014d0b4a93d08e89b823aaa713f46a95bd247912e918e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] a392dedf66cc108a60622c8b9df221e2287ff5f4035db5c02c390638174de9f0
[INFO] running `Command { std: "docker" "start" "-a" "a392dedf66cc108a60622c8b9df221e2287ff5f4035db5c02c390638174de9f0", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling widestring v0.2.2
[INFO] [stderr]    Compiling single-instance v0.1.2
[INFO] [stderr]    Compiling b1-keylogger v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winapi::shared::minwindef::{BOOL, FALSE, TRUE};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::shared::windef::{HHOOK, HHOOK__};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::um::winuser::GetMessageW;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 | use winapi::um::winuser::SetWindowsHookExA;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 | use winapi::um::winuser::{CallNextHookEx, KBDLLHOOKSTRUCT};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 | use winapi::um::winuser::{LPMSG, MSG};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:48:21
[INFO] [stdout]    |
[INFO] [stdout] 48 |         use winapi::shared::minwindef::{DWORD, LPARAM, UINT, WPARAM};
[INFO] [stdout]    |                     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:49:21
[INFO] [stdout]    |
[INFO] [stdout] 49 |         use winapi::shared::windef::{HWND, POINT};
[INFO] [stdout]    |                     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HHOOK` in this scope
[INFO] [stdout]   --> src/main.rs:25:28
[INFO] [stdout]    |
[INFO] [stdout] 25 | static mut hook_id: Option<HHOOK> = None;
[INFO] [stdout]    |                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowsHookExA` in this scope
[INFO] [stdout]   --> src/main.rs:37:24
[INFO] [stdout]    |
[INFO] [stdout] 37 |         hook_id = Some(SetWindowsHookExA(
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MSG` in this scope
[INFO] [stdout]   --> src/main.rs:50:23
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let mut msg = MSG {
[INFO] [stdout]    |                       ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:51:24
[INFO] [stdout]    |
[INFO] [stdout] 51 |             hwnd: 0 as HWND,
[INFO] [stdout]    |                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stdout]   --> src/main.rs:52:27
[INFO] [stdout]    |
[INFO] [stdout] 52 |             message: 0 as UINT,
[INFO] [stdout]    |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stdout]   --> src/main.rs:53:26
[INFO] [stdout]    |
[INFO] [stdout] 53 |             wParam: 0 as WPARAM,
[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:54:26
[INFO] [stdout]    |
[INFO] [stdout] 54 |             lParam: 0 as LPARAM,
[INFO] [stdout]    |                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/main.rs:55:24
[INFO] [stdout]    |
[INFO] [stdout] 55 |             time: 0 as DWORD,
[INFO] [stdout]    |                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `POINT` in this scope
[INFO] [stdout]   --> src/main.rs:56:17
[INFO] [stdout]    |
[INFO] [stdout] 56 |             pt: POINT { x: 0, y: 0 },
[INFO] [stdout]    |                 ^^^^^ not found in this scope
[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:58:15
[INFO] [stdout]    |
[INFO] [stdout] 58 |         while GetMessageW(&mut msg as LPMSG, std::ptr::null_mut(), 0, 0) != FALSE {}
[INFO] [stdout]    |               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPMSG` in this scope
[INFO] [stdout]   --> src/main.rs:58:39
[INFO] [stdout]    |
[INFO] [stdout] 58 |         while GetMessageW(&mut msg as LPMSG, std::ptr::null_mut(), 0, 0) != FALSE {}
[INFO] [stdout]    |                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]   --> src/main.rs:58:77
[INFO] [stdout]    |
[INFO] [stdout] 58 |         while GetMessageW(&mut msg as LPMSG, std::ptr::null_mut(), 0, 0) != FALSE {}
[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:65:56
[INFO] [stdout]    |
[INFO] [stdout] 65 |             let kbdStruct = unsafe { (*(lParam as *mut KBDLLHOOKSTRUCT)) as 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:65:77
[INFO] [stdout]    |
[INFO] [stdout] 65 |             let kbdStruct = unsafe { (*(lParam as *mut KBDLLHOOKSTRUCT)) as KBDLLHOOKSTRUCT };
[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:71:25
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let _res = unsafe { CallNextHookEx(hook_id.unwrap(), code, wParam as usize, lParam as isize) };
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::fs::File;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Error`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::io::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 24 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `b1-keylogger` due to 25 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a392dedf66cc108a60622c8b9df221e2287ff5f4035db5c02c390638174de9f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a392dedf66cc108a60622c8b9df221e2287ff5f4035db5c02c390638174de9f0", kill_on_drop: false }`
[INFO] [stdout] a392dedf66cc108a60622c8b9df221e2287ff5f4035db5c02c390638174de9f0
