[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/4f063a93b3c0889f8e18d3a1c0ddaa71fb69ba8d against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbriancollins%2Fkeylogger-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/briancollins/keylogger-rs on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-0-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69381a1ff1ba24bb3e5aa10a203fab30c672d73ae76244f2509d9b4cd42efafb [INFO] running `Command { std: "docker" "start" "-a" "69381a1ff1ba24bb3e5aa10a203fab30c672d73ae76244f2509d9b4cd42efafb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69381a1ff1ba24bb3e5aa10a203fab30c672d73ae76244f2509d9b4cd42efafb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69381a1ff1ba24bb3e5aa10a203fab30c672d73ae76244f2509d9b4cd42efafb", kill_on_drop: false }` [INFO] [stdout] 69381a1ff1ba24bb3e5aa10a203fab30c672d73ae76244f2509d9b4cd42efafb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7e00428dbc4c81faaa92f4eeb259f56e49e0d0e0e12cfdfc061e5d0a6b2412a [INFO] running `Command { std: "docker" "start" "-a" "b7e00428dbc4c81faaa92f4eeb259f56e49e0d0e0e12cfdfc061e5d0a6b2412a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling cftest v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking libc v0.2.12 [INFO] [stdout] warning: attribute should be applied to an `extern` block with non-Rust ABI [INFO] [stdout] --> src/keystrokes/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[link(name = "CoreFoundation", kind = "framework")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | pub type CFRunLoopRef = *const libc::c_void; [INFO] [stdout] | -------------------------------------------- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block with non-Rust ABI [INFO] [stdout] --> src/keystrokes/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[link(name = "CoreGraphics", kind = "framework")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | [INFO] [stdout] 7 | pub type CFRunLoopRef = *const libc::c_void; [INFO] [stdout] | -------------------------------------------- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block with non-Rust ABI [INFO] [stdout] --> src/keystrokes/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[link(name = "CoreFoundation", kind = "framework")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | pub type CFRunLoopRef = *const libc::c_void; [INFO] [stdout] | -------------------------------------------- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block with non-Rust ABI [INFO] [stdout] --> src/keystrokes/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[link(name = "CoreGraphics", kind = "framework")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | [INFO] [stdout] 7 | pub type CFRunLoopRef = *const libc::c_void; [INFO] [stdout] | -------------------------------------------- not an `extern` block [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [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] | ^^^^^^^ [INFO] [stdout] | [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | pub mouse_moved_callback: Option<&'a dyn Fn(i32)>, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 | pub mouse_moved_callback: Option<&'a dyn Fn(i32)>, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | pub key_down_callback: Option<&'a dyn Fn(i32)>, [INFO] [stdout] | +++ [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] | ^^^^^^^ [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | pub key_down_callback: Option<&'a dyn Fn(i32)>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/keystrokes/mod.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct __CFBoolean(libc::c_void); [INFO] [stdout] | ----------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/keystrokes/mod.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct __CFBoolean(libc::c_void); [INFO] [stdout] | ----------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: library kind `framework` is only supported on Apple targets [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: library kind `framework` is only supported on Apple targets [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cftest` (bin "cftest") due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cftest` (bin "cftest" test) due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b7e00428dbc4c81faaa92f4eeb259f56e49e0d0e0e12cfdfc061e5d0a6b2412a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7e00428dbc4c81faaa92f4eeb259f56e49e0d0e0e12cfdfc061e5d0a6b2412a", kill_on_drop: false }` [INFO] [stdout] b7e00428dbc4c81faaa92f4eeb259f56e49e0d0e0e12cfdfc061e5d0a6b2412a