[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 try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqua3k%2Fkloak-rs" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qua3k/kloak-rs on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitvec v0.21.2 [INFO] [stderr] Downloaded evdev v0.11.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9fd47bc766986f5bae32088d8984074148cfa6a3f42804ea4670f0950cff2e8 [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" "f9fd47bc766986f5bae32088d8984074148cfa6a3f42804ea4670f0950cff2e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9fd47bc766986f5bae32088d8984074148cfa6a3f42804ea4670f0950cff2e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9fd47bc766986f5bae32088d8984074148cfa6a3f42804ea4670f0950cff2e8", kill_on_drop: false }` [INFO] [stdout] f9fd47bc766986f5bae32088d8984074148cfa6a3f42804ea4670f0950cff2e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 794b236fb03d4d16df2f76ba054e6d1db0577ad425488b5e478bb42b9ca5eafc [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" "794b236fb03d4d16df2f76ba054e6d1db0577ad425488b5e478bb42b9ca5eafc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling funty v1.2.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling bitvec v0.21.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling nix v0.23.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling evdev v0.11.1 [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.1/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] running `Command { std: "docker" "inspect" "794b236fb03d4d16df2f76ba054e6d1db0577ad425488b5e478bb42b9ca5eafc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "794b236fb03d4d16df2f76ba054e6d1db0577ad425488b5e478bb42b9ca5eafc", kill_on_drop: false }` [INFO] [stdout] 794b236fb03d4d16df2f76ba054e6d1db0577ad425488b5e478bb42b9ca5eafc