[INFO] cloning repository https://github.com/Josered30/keylogger-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Josered30/keylogger-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosered30%2Fkeylogger-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosered30%2Fkeylogger-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bd18ac492f58b7a030023e65d6f6051fd5919408 [INFO] checking Josered30/keylogger-rs against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosered30%2Fkeylogger-rs" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Josered30/keylogger-rs on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-12/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Josered30/keylogger-rs [INFO] finished tweaking git repo https://github.com/Josered30/keylogger-rs [INFO] tweaked toml for git repo https://github.com/Josered30/keylogger-rs written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/Josered30/keylogger-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 164b5e46dc1fa90ba4cac903148c2b3b18f7193ce373d5d21278185ea77dca8d [INFO] running `Command { std: "docker" "start" "-a" "164b5e46dc1fa90ba4cac903148c2b3b18f7193ce373d5d21278185ea77dca8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "164b5e46dc1fa90ba4cac903148c2b3b18f7193ce373d5d21278185ea77dca8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "164b5e46dc1fa90ba4cac903148c2b3b18f7193ce373d5d21278185ea77dca8d", kill_on_drop: false }` [INFO] [stdout] 164b5e46dc1fa90ba4cac903148c2b3b18f7193ce373d5d21278185ea77dca8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 197f9b04c8cd959c31a6d29511d7dd89747239b152197534122dcbf0a5e815ab [INFO] running `Command { std: "docker" "start" "-a" "197f9b04c8cd959c31a6d29511d7dd89747239b152197534122dcbf0a5e815ab", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Compiling signal-hook v0.3.8 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking async-lock v2.3.0 [INFO] [stderr] Checking indexmap v1.6.2 [INFO] [stderr] Checking unicase v2.6.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking directories v3.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Checking nb-connect v1.1.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking async-executor v1.4.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking polling v2.0.3 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking async-io v1.3.1 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking async-process v1.0.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking pin-project v1.0.6 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking serde v1.0.125 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking online v2.0.0 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking os_info v3.0.2 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking keylogger-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/info.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | use winapi::um::winnls::GetUserDefaultLocaleName; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | use winapi::um::winuser::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | use winapi::shared::windef::POINT; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared::windef::POINT` [INFO] [stdout] --> src/main.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | use winapi::shared::windef::POINT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/info.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | use winapi::um::winnls::GetUserDefaultLocaleName; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | use winapi::um::winuser::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | use winapi::shared::windef::POINT; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared::windef::POINT` [INFO] [stdout] --> src/main.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | use winapi::shared::windef::POINT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetUserDefaultLocaleName` in this scope [INFO] [stdout] --> src/info.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | GetUserDefaultLocaleName(buf.as_mut_ptr(), LEN); [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:274:21 [INFO] [stdout] | [INFO] [stdout] 274 | let mut p = POINT { x: -1, y: -1 }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stdout] --> src/main.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | GetCursorPos(&mut p); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `File` in this scope [INFO] [stdout] --> src/main.rs:283:19 [INFO] [stdout] | [INFO] [stdout] 283 | fn run(file: &mut File) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::info::File; [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `send_info_data` [INFO] [stdout] --> src/main.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use info::{log, log_header, send_info_data, LogFile}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `online::*` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use online::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `task` [INFO] [stdout] --> src/main.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::{fs::OpenOptions, sync::Mutex, task}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetUserDefaultLocaleName` in this scope [INFO] [stdout] --> src/info.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | GetUserDefaultLocaleName(buf.as_mut_ptr(), LEN); [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:274:21 [INFO] [stdout] | [INFO] [stdout] 274 | let mut p = POINT { x: -1, y: -1 }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCursorPos` in this scope [INFO] [stdout] --> src/main.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | GetCursorPos(&mut p); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `File` in this scope [INFO] [stdout] --> src/main.rs:283:19 [INFO] [stdout] | [INFO] [stdout] 283 | fn run(file: &mut File) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use crate::info::File; [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs::File; [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `send_info_data` [INFO] [stdout] --> src/main.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use info::{log, log_header, send_info_data, LogFile}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `online::*` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use online::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `task` [INFO] [stdout] --> src/main.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | use tokio::{fs::OpenOptions, sync::Mutex, task}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> src/main.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | run(log_file).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `()` [INFO] [stdout] note: required by `poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `()` is not a future [INFO] [stdout] --> src/main.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | run(log_file).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `()` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `()` [INFO] [stdout] note: required by `poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `keylogger-rs` due to 10 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 9 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "197f9b04c8cd959c31a6d29511d7dd89747239b152197534122dcbf0a5e815ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "197f9b04c8cd959c31a6d29511d7dd89747239b152197534122dcbf0a5e815ab", kill_on_drop: false }` [INFO] [stdout] 197f9b04c8cd959c31a6d29511d7dd89747239b152197534122dcbf0a5e815ab