[INFO] cloning repository https://github.com/Hand-of-Cthulhu/rust-winapi-keylogger [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hand-of-Cthulhu/rust-winapi-keylogger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHand-of-Cthulhu%2Frust-winapi-keylogger", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHand-of-Cthulhu%2Frust-winapi-keylogger'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44c225219dec6a9b8b4e434c1eb8a207214023d9 [INFO] testing Hand-of-Cthulhu/rust-winapi-keylogger against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHand-of-Cthulhu%2Frust-winapi-keylogger" "/workspace/builds/worker-33/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-33/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Hand-of-Cthulhu/rust-winapi-keylogger on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Hand-of-Cthulhu/rust-winapi-keylogger [INFO] finished tweaking git repo https://github.com/Hand-of-Cthulhu/rust-winapi-keylogger [INFO] tweaked toml for git repo https://github.com/Hand-of-Cthulhu/rust-winapi-keylogger written to /workspace/builds/worker-33/source/Cargo.toml [INFO] crate git repo https://github.com/Hand-of-Cthulhu/rust-winapi-keylogger already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libsodium-sys v0.0.16 [INFO] [stderr] Downloaded sodiumoxide v0.0.16 [INFO] [stderr] Downloaded termsize v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d535b99355383b5a7892e09f14b148ef34f69596457db34ff05252007776ce42 [INFO] running `Command { std: "docker" "start" "-a" "d535b99355383b5a7892e09f14b148ef34f69596457db34ff05252007776ce42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d535b99355383b5a7892e09f14b148ef34f69596457db34ff05252007776ce42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d535b99355383b5a7892e09f14b148ef34f69596457db34ff05252007776ce42", kill_on_drop: false }` [INFO] [stdout] d535b99355383b5a7892e09f14b148ef34f69596457db34ff05252007776ce42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 307ef4c3717593c0f5aee7b834fce759b6f92928a2f5aee3ac60b35377be342c [INFO] running `Command { std: "docker" "start" "-a" "307ef4c3717593c0f5aee7b834fce759b6f92928a2f5aee3ac60b35377be342c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.34 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling serde v1.0.24 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling atty v0.2.3 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling libsodium-sys v0.0.16 [INFO] [stderr] Compiling clap v2.29.0 [INFO] [stderr] Compiling termsize v0.1.5 [INFO] [stderr] Compiling sodiumoxide v0.0.16 [INFO] [stderr] Compiling rust_keylogger v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in crate `user32` [INFO] [stdout] --> src/lib.rs:37:47 [INFO] [stdout] | [INFO] [stdout] 37 | is_current_key_down = user32::GetAsyncKeyState(i as i32) & (1 << 15) != 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetKeyState` in crate `user32` [INFO] [stdout] --> src/lib.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | capslock_on = user32::GetKeyState(VK_CAPITAL as i32) & 1 != 0 [INFO] [stdout] | ^^^^^^^^^^^ not found in `user32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | 0x30 ... 0x5A | VK_SPACE => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | 0xA0 ... 0xA5 | VK_SHIFT | VK_MENU | VK_CONTROL => "".to_string(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `box_` is imported redundantly [INFO] [stdout] --> src/lib.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 12 | use sodiumoxide::crypto::box_; [INFO] [stdout] | ------------------------- the item `box_` is already imported here [INFO] [stdout] ... [INFO] [stdout] 139 | use sodiumoxide::crypto::box_; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Read` is imported redundantly [INFO] [stdout] --> src/lib.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io::Read; [INFO] [stdout] | ------------- the item `Read` is already imported here [INFO] [stdout] ... [INFO] [stdout] 185 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Read` is imported redundantly [INFO] [stdout] --> src/lib.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io::Read; [INFO] [stdout] | ------------- the item `Read` is already imported here [INFO] [stdout] ... [INFO] [stdout] 229 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Read` is imported redundantly [INFO] [stdout] --> src/lib.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io::Read; [INFO] [stdout] | ------------- the item `Read` is already imported here [INFO] [stdout] ... [INFO] [stdout] 266 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:129:73 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn get_public_key(pub_key_loc: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 - pub fn get_public_key(pub_key_loc: &str) -> Result> { [INFO] [stdout] 129 + pub fn get_public_key(pub_key_loc: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:138:77 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn gen_key_pair(pub_key_loc: &str, sec_key_loc: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 - pub fn gen_key_pair(pub_key_loc: &str, sec_key_loc: &str) -> Result<(), Box> { [INFO] [stdout] 138 + pub fn gen_key_pair(pub_key_loc: &str, sec_key_loc: &str) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:162:96 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn generate_key_and_nonce(key_loc: &str) -> Result<(secretbox::Key, secretbox::Nonce), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 162 - pub fn generate_key_and_nonce(key_loc: &str) -> Result<(secretbox::Key, secretbox::Nonce), Box> { [INFO] [stdout] 162 + pub fn generate_key_and_nonce(key_loc: &str) -> Result<(secretbox::Key, secretbox::Nonce), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:184:124 [INFO] [stdout] | [INFO] [stdout] 184 | ...sec_key_path: &str, sym_key_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 184 - pub fn decrypt_asym_sym(log_file_path: &str, pub_key_path: &str, sec_key_path: &str, sym_key_path: &str) -> Result<(), Box> { [INFO] [stdout] 184 + pub fn decrypt_asym_sym(log_file_path: &str, pub_key_path: &str, sec_key_path: &str, sym_key_path: &str) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:228:100 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn decrypt_asym(log_file_path: &str, pub_key_path: &str, sec_key_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 228 - pub fn decrypt_asym(log_file_path: &str, pub_key_path: &str, sec_key_path: &str) -> Result<(), Box> { [INFO] [stdout] 228 + pub fn decrypt_asym(log_file_path: &str, pub_key_path: &str, sec_key_path: &str) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:265:80 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn decrypt_sym(log_file_path: &str, key_file_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 265 - pub fn decrypt_sym(log_file_path: &str, key_file_path: &str) -> Result<(), Box> { [INFO] [stdout] 265 + pub fn decrypt_sym(log_file_path: &str, key_file_path: &str) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:295:61 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn delete_all_logs(logs_folder: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 295 - pub fn delete_all_logs(logs_folder: &str) -> Result<(), Box> { [INFO] [stdout] 295 + pub fn delete_all_logs(logs_folder: &str) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:305:87 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn load_all_key_logs(log_folder_path: &str) -> Result)>, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 305 - pub fn load_all_key_logs(log_folder_path: &str) -> Result)>, Box> { [INFO] [stdout] 305 + pub fn load_all_key_logs(log_folder_path: &str) -> Result)>, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:318:66 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn load_key_logs(log_file_path: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 318 - pub fn load_key_logs(log_file_path: &str) -> Result, Box> { [INFO] [stdout] 318 + pub fn load_key_logs(log_file_path: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:363:71 [INFO] [stdout] | [INFO] [stdout] 363 | pub fn parse_bot_list(bot_list_path: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 363 - pub fn parse_bot_list(bot_list_path: &str) -> Result, Box> { [INFO] [stdout] 363 + pub fn parse_bot_list(bot_list_path: &str) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_keylogger` due to 3 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "307ef4c3717593c0f5aee7b834fce759b6f92928a2f5aee3ac60b35377be342c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "307ef4c3717593c0f5aee7b834fce759b6f92928a2f5aee3ac60b35377be342c", kill_on_drop: false }` [INFO] [stdout] 307ef4c3717593c0f5aee7b834fce759b6f92928a2f5aee3ac60b35377be342c