[INFO] cloning repository https://github.com/qua3k/kloak-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qua3k/kloak-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqua3k%2Fkloak-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqua3k%2Fkloak-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6772f31d0fa5c78bc65d90043010a01c2d7aed8d [INFO] testing qua3k/kloak-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%2Fqua3k%2Fkloak-rs" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qua3k/kloak-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] started tweaking git repo https://github.com/qua3k/kloak-rs [INFO] finished tweaking git repo https://github.com/qua3k/kloak-rs [INFO] tweaked toml for git repo https://github.com/qua3k/kloak-rs written to /workspace/builds/worker-15/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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 evdev v0.11.4 [INFO] [stderr] Downloaded clap v2.33.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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] f0e09d78ff8f4aad750ef7b7497d23e65da8c9b511760d3082df319f7575f7e3 [INFO] running `Command { std: "docker" "start" "-a" "f0e09d78ff8f4aad750ef7b7497d23e65da8c9b511760d3082df319f7575f7e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0e09d78ff8f4aad750ef7b7497d23e65da8c9b511760d3082df319f7575f7e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0e09d78ff8f4aad750ef7b7497d23e65da8c9b511760d3082df319f7575f7e3", kill_on_drop: false }` [INFO] [stdout] f0e09d78ff8f4aad750ef7b7497d23e65da8c9b511760d3082df319f7575f7e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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] d52907f23107b0f2f5e26f5700b6a50e350741e2943cc645f474b58b5955224e [INFO] running `Command { std: "docker" "start" "-a" "d52907f23107b0f2f5e26f5700b6a50e350741e2943cc645f474b58b5955224e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling wyz v0.5.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling bitvec v1.0.0 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling clap v2.33.4 [INFO] [stderr] Compiling evdev v0.11.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling kloak v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc` [INFO] [stdout] --> src/ev.rs:7:66 [INFO] [stdout] | [INFO] [stdout] 7 | fn systime_delay_to_timeval(time: &SystemTime, delay_ms: u64) -> libc::timeval { [INFO] [stdout] | ^^^^ use of undeclared crate or module `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SystemTime` [INFO] [stdout] --> src/ev.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | let (sign, dur) = match time.duration_since(SystemTime::UNIX_EPOCH) { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SystemTime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc` [INFO] [stdout] --> src/ev.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | libc::timeval { [INFO] [stdout] | ^^^^ use of undeclared crate or module `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc` [INFO] [stdout] --> src/ev.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | tv_sec: dur.as_secs() as libc::time_t * sign, [INFO] [stdout] | ^^^^ use of undeclared crate or module `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc` [INFO] [stdout] --> src/ev.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | tv_usec: dur.subsec_micros() as libc::suseconds_t, [INFO] [stdout] | ^^^^ use of undeclared crate or module `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libc` [INFO] [stdout] --> src/ev.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | InputEvent(libc::input_event { [INFO] [stdout] | ^^^^ use of undeclared crate or module `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SystemTime` in this scope [INFO] [stdout] --> src/ev.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | fn systime_delay_to_timeval(time: &SystemTime, delay_ms: u64) -> libc::timeval { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::SystemTime; [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::SystemTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/ev.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | Ok(dur) => (1, dur + Duration::from_millis(delay_ms)), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::time::Duration; [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Duration; [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/ev.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | InputEvent(libc::input_event { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/evdev-0.11.4/src/lib.rs:130:23 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct InputEvent(libc::input_event); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SystemTime` [INFO] [stdout] --> src/ev.rs:28:41 [INFO] [stdout] | [INFO] [stdout] 28 | time: systime_delay_to_timeval(&SystemTime::now(), delay_ms), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::SystemTime; [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::SystemTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InputEvent` [INFO] [stdout] --> src/lib.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use evdev::{Device, EventType, InputEvent, uinput::{VirtualDevice, VirtualDeviceBuilder}}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Distribution` [INFO] [stdout] --> src/random.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::distributions::{Distribution, Uniform}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kloak` due to 11 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d52907f23107b0f2f5e26f5700b6a50e350741e2943cc645f474b58b5955224e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d52907f23107b0f2f5e26f5700b6a50e350741e2943cc645f474b58b5955224e", kill_on_drop: false }` [INFO] [stdout] d52907f23107b0f2f5e26f5700b6a50e350741e2943cc645f474b58b5955224e