[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.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuseun%2Fkeypress" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/museun/keypress 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/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-18/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.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v0.4.9 [INFO] [stderr] Downloaded crossbeam-channel v0.2.4 [INFO] [stderr] Downloaded smallvec v0.6.4 [INFO] [stderr] Downloaded parking_lot v0.6.3 [INFO] [stderr] Downloaded tungstenite v0.6.0 [INFO] [stderr] Downloaded openssl v0.10.11 [INFO] [stderr] Downloaded quote v0.6.5 [INFO] [stderr] Downloaded syn v0.14.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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] 4aa7b0f8662fb850f058278256defaaa054eeae225fce0c508294a286443f71a [INFO] running `Command { std: "docker" "start" "-a" "4aa7b0f8662fb850f058278256defaaa054eeae225fce0c508294a286443f71a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4aa7b0f8662fb850f058278256defaaa054eeae225fce0c508294a286443f71a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4aa7b0f8662fb850f058278256defaaa054eeae225fce0c508294a286443f71a", kill_on_drop: false }` [INFO] [stdout] 4aa7b0f8662fb850f058278256defaaa054eeae225fce0c508294a286443f71a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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] 153ab85c2e1e58ce6d7cec232fb8b045f7088b1e96292326a9d9ab1deb663971 [INFO] running `Command { std: "docker" "start" "-a" "153ab85c2e1e58ce6d7cec232fb8b045f7088b1e96292326a9d9ab1deb663971", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling pkg-config v0.3.13 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling byteorder v1.2.4 [INFO] [stderr] Compiling matches v0.1.7 [INFO] [stderr] Compiling openssl v0.10.11 [INFO] [stderr] Compiling serde v1.0.71 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling rand_core v0.2.1 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling arrayref v0.3.4 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling httparse v1.3.2 [INFO] [stderr] Compiling native-tls v0.2.1 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling winapi v0.3.5 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling dtoa v0.4.3 [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 unreachable v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling smallvec v0.6.4 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling digest v0.7.5 [INFO] [stderr] Compiling quote v0.6.5 [INFO] [stderr] Compiling base64 v0.9.2 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling lock_api v0.1.3 [INFO] [stderr] Compiling bytes v0.4.9 [INFO] [stderr] Compiling sha-1 v0.7.0 [INFO] [stderr] Compiling aho-corasick v0.6.6 [INFO] [stderr] Compiling syn v0.14.7 [INFO] [stderr] Compiling openssl-sys v0.9.35 [INFO] [stderr] Compiling input_buffer v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling idna v0.1.5 [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 serde_derive v1.0.71 [INFO] [stderr] Compiling env_logger v0.5.12 [INFO] [stderr] Compiling tungstenite v0.6.0 [INFO] [stderr] Compiling toml v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.24 [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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/hook.rs:56:37 [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] 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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - cb: Box, [INFO] [stdout] 23 + cb: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `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 `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` due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "153ab85c2e1e58ce6d7cec232fb8b045f7088b1e96292326a9d9ab1deb663971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "153ab85c2e1e58ce6d7cec232fb8b045f7088b1e96292326a9d9ab1deb663971", kill_on_drop: false }` [INFO] [stdout] 153ab85c2e1e58ce6d7cec232fb8b045f7088b1e96292326a9d9ab1deb663971