[INFO] fetching crate rdev 0.5.3... [INFO] checking rdev-0.5.3 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate rdev 0.5.3 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate rdev 0.5.3 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rdev 0.5.3 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rdev 0.5.3 [INFO] tweaked toml for crates.io crate rdev 0.5.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate rdev 0.5.3 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" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v2.1.0 [INFO] [stderr] Downloaded serial_test_derive v0.4.0 [INFO] [stderr] Downloaded serial_test v0.4.0 [INFO] [stderr] Downloaded inotify-sys v0.1.5 [INFO] [stderr] Downloaded epoll v4.3.1 [INFO] [stderr] Downloaded inotify v0.8.3 [INFO] [stderr] Downloaded quote v1.0.28 [INFO] [stderr] Downloaded core-graphics v0.21.0 [INFO] [stderr] Downloaded log v0.4.19 [INFO] [stderr] Downloaded evdev-rs v0.4.0 [INFO] [stderr] Downloaded unicode-ident v1.0.9 [INFO] [stderr] Downloaded cocoa v0.22.0 [INFO] [stderr] Downloaded serde_derive v1.0.164 [INFO] [stderr] Downloaded x11 v2.21.0 [INFO] [stderr] Downloaded serde v1.0.164 [INFO] [stderr] Downloaded serde_json v1.0.99 [INFO] [stderr] Downloaded evdev-sys v0.2.5 [INFO] [stderr] Downloaded syn v2.0.22 [INFO] [stderr] Downloaded tokio v1.28.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e492bc912c33a4aeb9a4f2fd253151cae1a58a6fc62be706686f41759545500c [INFO] running `Command { std: "docker" "start" "-a" "e492bc912c33a4aeb9a4f2fd253151cae1a58a6fc62be706686f41759545500c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e492bc912c33a4aeb9a4f2fd253151cae1a58a6fc62be706686f41759545500c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e492bc912c33a4aeb9a4f2fd253151cae1a58a6fc62be706686f41759545500c", kill_on_drop: false }` [INFO] [stdout] e492bc912c33a4aeb9a4f2fd253151cae1a58a6fc62be706686f41759545500c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1a3d82a2d797b17df01d9b5c2bb3a3b3c04998b940461f1a5aa43ca6486e1d3 [INFO] running `Command { std: "docker" "start" "-a" "d1a3d82a2d797b17df01d9b5c2bb3a3b3c04998b940461f1a5aa43ca6486e1d3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Checking parking_lot_core v0.7.3 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking rdev v0.5.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/linux/listen.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | &mut RECORD_ALL_CLIENTS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 46 | addr_of_mut!(RECORD_ALL_CLIENTS), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/linux/listen.rs:108:34 [INFO] [stdout] | [INFO] [stdout] 108 | if let Some(event) = convert(&mut KEYBOARD, code, type_, x, y) { [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 108 | if let Some(event) = convert(addr_of_mut!(KEYBOARD), code, type_, x, y) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/linux/listen.rs:109:33 [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(callback) = &mut GLOBAL_CALLBACK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(callback) = addr_of_mut!(GLOBAL_CALLBACK) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serial_test_derive v0.4.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking serial_test v0.4.0 [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> tests/listen_and_simulate.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/linux/listen.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | &mut RECORD_ALL_CLIENTS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 46 | addr_of_mut!(RECORD_ALL_CLIENTS), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/linux/listen.rs:108:34 [INFO] [stdout] | [INFO] [stdout] 108 | if let Some(event) = convert(&mut KEYBOARD, code, type_, x, y) { [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 108 | if let Some(event) = convert(addr_of_mut!(KEYBOARD), code, type_, x, y) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/linux/listen.rs:109:33 [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(callback) = &mut GLOBAL_CALLBACK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(callback) = addr_of_mut!(GLOBAL_CALLBACK) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.08s [INFO] running `Command { std: "docker" "inspect" "d1a3d82a2d797b17df01d9b5c2bb3a3b3c04998b940461f1a5aa43ca6486e1d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1a3d82a2d797b17df01d9b5c2bb3a3b3c04998b940461f1a5aa43ca6486e1d3", kill_on_drop: false }` [INFO] [stdout] d1a3d82a2d797b17df01d9b5c2bb3a3b3c04998b940461f1a5aa43ca6486e1d3