[INFO] cloning repository https://github.com/museun/keypress [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/museun/keypress" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuseun%2Fkeypress"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuseun%2Fkeypress'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] cb9f2b06f2945c0785a3e557c0deed5a74dffda2 [INFO] testing museun/keypress against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuseun%2Fkeypress" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/museun/keypress on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/museun/keypress [INFO] finished tweaking git repo https://github.com/museun/keypress [INFO] tweaked toml for git repo https://github.com/museun/keypress written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/museun/keypress already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 99b653bb9db98df5b7caa60a13d450603b7185dddad6078a5e2226bc34451a44 [INFO] running `"docker" "start" "-a" "99b653bb9db98df5b7caa60a13d450603b7185dddad6078a5e2226bc34451a44"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling pkg-config v0.3.13 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling byteorder v1.2.4 [INFO] [stderr] Compiling openssl v0.10.11 [INFO] [stderr] Compiling serde v1.0.71 [INFO] [stderr] Compiling matches v0.1.7 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling arrayref v0.3.4 [INFO] [stderr] Compiling native-tls v0.2.1 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Compiling httparse v1.3.2 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling winapi v0.3.5 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling itoa v0.4.2 [INFO] [stderr] Compiling termcolor v1.0.1 [INFO] [stderr] Compiling utf-8 v0.7.4 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling base64 v0.9.2 [INFO] [stderr] Compiling bytes v0.4.9 [INFO] [stderr] Compiling aho-corasick v0.6.6 [INFO] [stderr] Compiling lock_api v0.1.3 [INFO] [stderr] Compiling smallvec v0.6.4 [INFO] [stderr] Compiling quote v0.6.5 [INFO] [stderr] Compiling input_buffer v0.2.0 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling syn v0.14.7 [INFO] [stderr] Compiling parking_lot v0.6.3 [INFO] [stderr] Compiling openssl-sys v0.9.35 [INFO] [stderr] Compiling crossbeam-channel v0.2.4 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling digest v0.7.5 [INFO] [stderr] Compiling sha-1 v0.7.0 [INFO] [stderr] Compiling url v1.7.1 [INFO] [stderr] Compiling env_logger v0.5.12 [INFO] [stderr] Compiling serde_derive v1.0.71 [INFO] [stderr] Compiling tungstenite v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.24 [INFO] [stderr] Compiling toml v0.4.6 [INFO] [stderr] Compiling keypress v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `winapi::shared` [INFO] [stderr] --> src/hook.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use winapi::shared::{minwindef, ntdef, windef}; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/hook.rs:163:18 [INFO] [stderr] | [INFO] [stderr] 163 | use std::os::windows::ffi::OsStringExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::um` [INFO] [stderr] --> src/hook.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::um::{errhandlingapi, processthreadsapi, winbase, winuser}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::um` [INFO] [stderr] --> src/input.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use winapi::um::winuser; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/hook.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | cb: Box, [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Event)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/hook.rs:56:32 [INFO] [stderr] | [INFO] [stderr] 56 | let mut msg = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope [INFO] [stderr] --> src/hook.rs:170:15 [INFO] [stderr] | [INFO] [stderr] 170 | OsString::from_wide(&buf).to_string_lossy().to_string() [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `std::ffi::OsString` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `keypress`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "99b653bb9db98df5b7caa60a13d450603b7185dddad6078a5e2226bc34451a44"` [INFO] running `"docker" "rm" "-f" "99b653bb9db98df5b7caa60a13d450603b7185dddad6078a5e2226bc34451a44"` [INFO] [stdout] 99b653bb9db98df5b7caa60a13d450603b7185dddad6078a5e2226bc34451a44