[INFO] cloning repository https://github.com/museun/keypress [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuseun%2Fkeypress'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb9f2b06f2945c0785a3e557c0deed5a74dffda2 [INFO] testing museun/keypress against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuseun%2Fkeypress" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/museun/keypress on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-4/source/Cargo.toml [INFO] crate git repo https://github.com/museun/keypress already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c51afd41bc66b1f14cac0a28358beb50cc60244a86cd5fdbb65592a9a1b2833 [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" "2c51afd41bc66b1f14cac0a28358beb50cc60244a86cd5fdbb65592a9a1b2833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c51afd41bc66b1f14cac0a28358beb50cc60244a86cd5fdbb65592a9a1b2833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c51afd41bc66b1f14cac0a28358beb50cc60244a86cd5fdbb65592a9a1b2833", kill_on_drop: false }` [INFO] [stdout] 2c51afd41bc66b1f14cac0a28358beb50cc60244a86cd5fdbb65592a9a1b2833 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14f52efec9ac1c377bf5dc52378911a0ad9dd0e7a58df6ffbd5776df52a5c0bf [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" "14f52efec9ac1c377bf5dc52378911a0ad9dd0e7a58df6ffbd5776df52a5c0bf", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.13 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling openssl v0.10.11 [INFO] [stderr] Compiling matches v0.1.7 [INFO] [stderr] Compiling serde v1.0.71 [INFO] [stderr] Compiling arrayref v0.3.4 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling winapi v0.3.5 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Compiling bytes v0.4.9 [INFO] [stderr] Compiling smallvec v0.6.4 [INFO] [stderr] Compiling digest v0.7.5 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling base64 v0.9.2 [INFO] [stderr] Compiling sha-1 v0.7.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling quote v0.6.5 [INFO] [stderr] Compiling input_buffer v0.2.0 [INFO] [stderr] Compiling syn v0.14.7 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling openssl-sys v0.9.35 [INFO] [stderr] Compiling parking_lot v0.6.3 [INFO] [stderr] Compiling crossbeam-channel v0.2.4 [INFO] [stderr] Compiling url v1.7.1 [INFO] [stderr] Compiling native-tls v0.2.1 [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] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> src/hook.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::{minwindef, ntdef, windef}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/hook.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/hook.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::{errhandlingapi, processthreadsapi, winbase, winuser}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/input.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winuser; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hook.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | cb: Box, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Event)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stdout] --> src/hook.rs:56:32 [INFO] [stdout] | [INFO] [stdout] 56 | let mut msg = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `std::ffi::OsString` in the current scope [INFO] [stdout] --> src/hook.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | OsString::from_wide(&buf).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `std::ffi::OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `keypress`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "14f52efec9ac1c377bf5dc52378911a0ad9dd0e7a58df6ffbd5776df52a5c0bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14f52efec9ac1c377bf5dc52378911a0ad9dd0e7a58df6ffbd5776df52a5c0bf", kill_on_drop: false }` [INFO] [stdout] 14f52efec9ac1c377bf5dc52378911a0ad9dd0e7a58df6ffbd5776df52a5c0bf