[INFO] cloning repository https://github.com/briancollins/keylogger-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/briancollins/keylogger-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbriancollins%2Fkeylogger-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbriancollins%2Fkeylogger-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f063a93b3c0889f8e18d3a1c0ddaa71fb69ba8d [INFO] checking briancollins/keylogger-rs against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbriancollins%2Fkeylogger-rs" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/briancollins/keylogger-rs on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/briancollins/keylogger-rs [INFO] finished tweaking git repo https://github.com/briancollins/keylogger-rs [INFO] tweaked toml for git repo https://github.com/briancollins/keylogger-rs written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/briancollins/keylogger-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-9/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc898735a6bacfdbaea1374b2637be58c0ce9156b812028714b50bcc3cd11267 [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" "cc898735a6bacfdbaea1374b2637be58c0ce9156b812028714b50bcc3cd11267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc898735a6bacfdbaea1374b2637be58c0ce9156b812028714b50bcc3cd11267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc898735a6bacfdbaea1374b2637be58c0ce9156b812028714b50bcc3cd11267", kill_on_drop: false }` [INFO] [stdout] cc898735a6bacfdbaea1374b2637be58c0ce9156b812028714b50bcc3cd11267 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c20d8ff53eaab28009b54d096e3558ae2a1de3f1010e8bbdb6b9f90f7676896 [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" "6c20d8ff53eaab28009b54d096e3558ae2a1de3f1010e8bbdb6b9f90f7676896", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling cftest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/keystrokes/mod.rs:48:42 [INFO] [stdout] | [INFO] [stdout] 48 | pub mouse_moved_callback: Option<&'a Fn(i32)>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Fn(i32)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/keystrokes/mod.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | pub key_down_callback: Option<&'a Fn(i32)>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Fn(i32)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/keystrokes/mod.rs:48:42 [INFO] [stdout] | [INFO] [stdout] 48 | pub mouse_moved_callback: Option<&'a Fn(i32)>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Fn(i32)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/keystrokes/mod.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | pub key_down_callback: Option<&'a Fn(i32)>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Fn(i32)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `keystrokes::libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/keystrokes/mod.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | pub type CGEventMask = libc::uint64_t; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `keystrokes::libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/keystrokes/mod.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn CGEventTapCreate(tap: libc::uint32_t, place: libc::uint32_t, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `keystrokes::libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/keystrokes/mod.rs:33:57 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn CGEventTapCreate(tap: libc::uint32_t, place: libc::uint32_t, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `keystrokes::libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/keystrokes/mod.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | ... options: libc::uint32_t, events: CGEventMask, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `keystrokes::libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/keystrokes/mod.rs:39:49 [INFO] [stdout] | [INFO] [stdout] 39 | ... order: libc::uint64_t) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `keystrokes::libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/keystrokes/mod.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | pub type CGEventMask = libc::uint64_t; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `keystrokes::libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/keystrokes/mod.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn CGEventTapCreate(tap: libc::uint32_t, place: libc::uint32_t, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `keystrokes::libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/keystrokes/mod.rs:33:57 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn CGEventTapCreate(tap: libc::uint32_t, place: libc::uint32_t, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `keystrokes::libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/keystrokes/mod.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | ... options: libc::uint32_t, events: CGEventMask, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `keystrokes::libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/keystrokes/mod.rs:39:49 [INFO] [stdout] | [INFO] [stdout] 39 | ... order: libc::uint64_t) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: native frameworks are only available on macOS targets [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: native frameworks are only available on macOS targets [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cftest` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6c20d8ff53eaab28009b54d096e3558ae2a1de3f1010e8bbdb6b9f90f7676896", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c20d8ff53eaab28009b54d096e3558ae2a1de3f1010e8bbdb6b9f90f7676896", kill_on_drop: false }` [INFO] [stdout] 6c20d8ff53eaab28009b54d096e3558ae2a1de3f1010e8bbdb6b9f90f7676896