[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] testing Josered30/keylogger-rs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJosered30%2Fkeylogger-rs" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Josered30/keylogger-rs 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] removed /workspace/builds/worker-10/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-10/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-lock v2.3.0 [INFO] [stderr] Downloaded nb-connect v1.1.0 [INFO] [stderr] Downloaded async-process v1.0.2 [INFO] [stderr] Downloaded os_info v3.0.2 [INFO] [stderr] Downloaded online v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b2c84786ec9e62b876f987671b63a12aef301cd1cc07eb5591c38d967f0d978 [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" "0b2c84786ec9e62b876f987671b63a12aef301cd1cc07eb5591c38d967f0d978", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b2c84786ec9e62b876f987671b63a12aef301cd1cc07eb5591c38d967f0d978", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b2c84786ec9e62b876f987671b63a12aef301cd1cc07eb5591c38d967f0d978", kill_on_drop: false }` [INFO] [stdout] 0b2c84786ec9e62b876f987671b63a12aef301cd1cc07eb5591c38d967f0d978 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] 6991b673355111b52132514a18e2e8575a75018e6088395fe752e989295cd65b [INFO] running `Command { std: "docker" "start" "-a" "6991b673355111b52132514a18e2e8575a75018e6088395fe752e989295cd65b", kill_on_drop: false }` [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] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling vec-arena v1.1.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling signal-hook v0.3.8 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling async-lock v2.3.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling directories v3.0.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling nb-connect v1.1.0 [INFO] [stderr] Compiling 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] Compiling mio v0.6.23 [INFO] [stderr] Compiling polling v2.0.3 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling pin-project v1.0.6 [INFO] [stderr] Compiling async-io v1.3.1 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-process v1.0.2 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling os_info v3.0.2 [INFO] [stderr] Compiling online v2.0.0 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling 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[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 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:18 [INFO] [stdout] | [INFO] [stdout] 322 | run(log_file).await; [INFO] [stdout] | -------------^^^^^^ `()` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::future::Future` is not implemented for `()` [INFO] [stdout] = note: () must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required because of the requirements on the impl of `IntoFuture` for `()` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 322 - run(log_file).await; [INFO] [stdout] 322 + run(log_file); [INFO] [stdout] | [INFO] [stdout] help: alternatively, consider making `fn run` asynchronous [INFO] [stdout] | [INFO] [stdout] 283 | async fn run(file: &mut File) { [INFO] [stdout] | +++++ [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] running `Command { std: "docker" "inspect" "6991b673355111b52132514a18e2e8575a75018e6088395fe752e989295cd65b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6991b673355111b52132514a18e2e8575a75018e6088395fe752e989295cd65b", kill_on_drop: false }` [INFO] [stdout] 6991b673355111b52132514a18e2e8575a75018e6088395fe752e989295cd65b