[INFO] cloning repository https://github.com/ottomated/macro-recorder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ottomated/macro-recorder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fottomated%2Fmacro-recorder", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fottomated%2Fmacro-recorder'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6c63e694c3431b0c2cd97b1c30cbaa8c3a2bbd37 [INFO] checking ottomated/macro-recorder against master#ba412a6e70ac84641be7764d088acabd0eb3fa39 for pr-145457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fottomated%2Fmacro-recorder" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ottomated/macro-recorder [INFO] finished tweaking git repo https://github.com/ottomated/macro-recorder [INFO] tweaked toml for git repo https://github.com/ottomated/macro-recorder written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ottomated/macro-recorder on toolchain ba412a6e70ac84641be7764d088acabd0eb3fa39 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ottomated/macro-recorder 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" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded evdev-rs v0.6.1 [INFO] [stderr] Downloaded speedy-derive v0.8.7 [INFO] [stderr] Downloaded uinput-sys v0.1.7 [INFO] [stderr] Downloaded uinput v0.1.3 [INFO] [stderr] Downloaded ioctl-sys v0.5.2 [INFO] [stderr] Downloaded speedy v0.8.7 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d111c1a51bc1cc526846c515108909495dbbc83a382d5b28b3a6f6d04990353 [INFO] running `Command { std: "docker" "start" "-a" "7d111c1a51bc1cc526846c515108909495dbbc83a382d5b28b3a6f6d04990353", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d111c1a51bc1cc526846c515108909495dbbc83a382d5b28b3a6f6d04990353", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d111c1a51bc1cc526846c515108909495dbbc83a382d5b28b3a6f6d04990353", kill_on_drop: false }` [INFO] [stdout] 7d111c1a51bc1cc526846c515108909495dbbc83a382d5b28b3a6f6d04990353 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 557fd176fa5a41f0448a7531dd752aafb1cac657bad532449cc6d3c16ee59574 [INFO] running `Command { std: "docker" "start" "-a" "557fd176fa5a41f0448a7531dd752aafb1cac657bad532449cc6d3c16ee59574", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking ioctl-sys v0.5.2 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking clap_builder v4.5.6 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking enum_derive v0.1.7 [INFO] [stderr] Checking newline-converter v0.3.0 [INFO] [stderr] Compiling evdev-sys v0.2.5 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking uinput-sys v0.1.7 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking evdev-rs v0.6.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking inquire v0.7.5 [INFO] [stderr] Checking ctrlc v3.4.4 [INFO] [stderr] Checking uinput v0.1.3 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Compiling speedy-derive v0.8.7 [INFO] [stderr] Checking speedy v0.8.7 [INFO] [stderr] Checking clap v4.5.6 [INFO] [stderr] Checking macro-recorder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::slice` [INFO] [stdout] --> src/play.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::slice; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CString`, `c_void`, `mem`, `ptr`, and `time::Duration` [INFO] [stdout] --> src/play.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | ffi::{c_void, CString}, [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] 4 | mem, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | path::Path, [INFO] [stdout] 6 | ptr, thread, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventType` and `int_to_event_type` [INFO] [stdout] --> src/play.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use evdev_rs::enums::{int_to_event_type, EventType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `errno::Errno`, `fcntl`, `gettimeofday`, `self`, `sys::stat`, `timeval`, and `uinput_user_dev` [INFO] [stdout] --> src/play.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 13 | errno::Errno, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | fcntl, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | libc::{self, gettimeofday, timeval, uinput_user_dev}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | sys::stat, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `input_event`, `ui_dev_create`, `ui_set_absbit`, `ui_set_evbit`, `ui_set_ffbit`, `ui_set_keybit`, `ui_set_ledbit`, `ui_set_mscbit`, `ui_set_relbit`, `ui_set_sndbit`, and `ui_set_swbit` [INFO] [stdout] --> src/play.rs:21:2 [INFO] [stdout] | [INFO] [stdout] 21 | input_event, ui_dev_create, ui_set_absbit, ui_set_evbit, ui_set_ffbit, ui_set_keybit, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 22 | ui_set_ledbit, ui_set_mscbit, ui_set_relbit, ui_set_sndbit, ui_set_swbit, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Capabilities` [INFO] [stdout] --> src/play.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::common::{Capabilities, EventList}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::slice` [INFO] [stdout] --> src/play.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::slice; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CString`, `c_void`, `mem`, `ptr`, and `time::Duration` [INFO] [stdout] --> src/play.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | ffi::{c_void, CString}, [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] 4 | mem, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | path::Path, [INFO] [stdout] 6 | ptr, thread, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventType` and `int_to_event_type` [INFO] [stdout] --> src/play.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use evdev_rs::enums::{int_to_event_type, EventType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `errno::Errno`, `fcntl`, `gettimeofday`, `self`, `sys::stat`, `timeval`, and `uinput_user_dev` [INFO] [stdout] --> src/play.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 13 | errno::Errno, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | fcntl, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | libc::{self, gettimeofday, timeval, uinput_user_dev}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | sys::stat, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `input_event`, `ui_dev_create`, `ui_set_absbit`, `ui_set_evbit`, `ui_set_ffbit`, `ui_set_keybit`, `ui_set_ledbit`, `ui_set_mscbit`, `ui_set_relbit`, `ui_set_sndbit`, and `ui_set_swbit` [INFO] [stdout] --> src/play.rs:21:2 [INFO] [stdout] | [INFO] [stdout] 21 | input_event, ui_dev_create, ui_set_absbit, ui_set_evbit, ui_set_ffbit, ui_set_keybit, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 22 | ui_set_ledbit, ui_set_mscbit, ui_set_relbit, ui_set_sndbit, ui_set_swbit, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Capabilities` [INFO] [stdout] --> src/play.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::common::{Capabilities, EventList}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_data` is never used [INFO] [stdout] --> src/record.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn get_data(fd: i32, type_: i32, size: i32) -> Result, nix::errno::Errno> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_data` is never used [INFO] [stdout] --> src/record.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn get_data(fd: i32, type_: i32, size: i32) -> Result, nix::errno::Errno> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.54s [INFO] running `Command { std: "docker" "inspect" "557fd176fa5a41f0448a7531dd752aafb1cac657bad532449cc6d3c16ee59574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "557fd176fa5a41f0448a7531dd752aafb1cac657bad532449cc6d3c16ee59574", kill_on_drop: false }` [INFO] [stdout] 557fd176fa5a41f0448a7531dd752aafb1cac657bad532449cc6d3c16ee59574