[INFO] cloning repository https://github.com/ArkV1/rust_kvm_experiment
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ArkV1/rust_kvm_experiment" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArkV1%2Frust_kvm_experiment", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArkV1%2Frust_kvm_experiment'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2b09388eb0d8f20ab42940f31b7ce05d78355348
[INFO] testing ArkV1/rust_kvm_experiment against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArkV1%2Frust_kvm_experiment" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ArkV1/rust_kvm_experiment
[INFO] finished tweaking git repo https://github.com/ArkV1/rust_kvm_experiment
[INFO] tweaked toml for git repo https://github.com/ArkV1/rust_kvm_experiment written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ArkV1/rust_kvm_experiment on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ArkV1/rust_kvm_experiment 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3852ecc634813140409b8453ed792abc5afa562672e0af54a9b2b0bb43e1ed0b
[INFO] running `Command { std: "docker" "start" "-a" "3852ecc634813140409b8453ed792abc5afa562672e0af54a9b2b0bb43e1ed0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3852ecc634813140409b8453ed792abc5afa562672e0af54a9b2b0bb43e1ed0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3852ecc634813140409b8453ed792abc5afa562672e0af54a9b2b0bb43e1ed0b", kill_on_drop: false }`
[INFO] [stdout] 3852ecc634813140409b8453ed792abc5afa562672e0af54a9b2b0bb43e1ed0b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5de66ca7944e669f95a452f9d8768d8990a06210c1725f7335ac20b580266b32
[INFO] running `Command { std: "docker" "start" "-a" "5de66ca7944e669f95a452f9d8768d8990a06210c1725f7335ac20b580266b32", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling cc v1.2.22
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling quick-xml v0.37.5
[INFO] [stderr]    Compiling wayland-client v0.31.10
[INFO] [stderr]    Compiling hashbrown v0.15.3
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling toml_datetime v0.6.9
[INFO] [stderr]    Compiling event-listener v5.4.0
[INFO] [stderr]    Compiling futures-lite v2.6.0
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling waker-fn v1.2.0
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling rustix v0.37.28
[INFO] [stderr]    Compiling event-listener-strategy v0.5.4
[INFO] [stderr]    Compiling futures-lite v1.13.0
[INFO] [stderr]    Compiling async-lock v2.8.0
[INFO] [stderr]    Compiling async-io v1.13.0
[INFO] [stderr]    Compiling async-fs v1.6.0
[INFO] [stderr]    Compiling async-channel v2.3.1
[INFO] [stderr]    Compiling linux-raw-sys v0.3.8
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling icu_properties_data v2.0.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.18.1
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling blocking v1.6.1
[INFO] [stderr]    Compiling async-executor v1.13.2
[INFO] [stderr]    Compiling wayland-scanner v0.31.6
[INFO] [stderr]    Compiling accesskit v0.12.3
[INFO] [stderr]    Compiling winit v0.29.15
[INFO] [stderr]    Compiling raw-window-handle v0.5.2
[INFO] [stderr]    Compiling accesskit_consumer v0.16.1
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling nix v0.26.4
[INFO] [stderr]    Compiling memmap2 v0.9.5
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling wayland-backend v0.3.10
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling xdg-home v1.3.0
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling x11rb v0.13.1
[INFO] [stderr]    Compiling glutin_egl_sys v0.6.0
[INFO] [stderr]    Compiling glutin_glx_sys v0.5.0
[INFO] [stderr]    Compiling evdev-sys v0.2.5
[INFO] [stderr]    Compiling glutin v0.31.3
[INFO] [stderr]    Compiling async-once-cell v0.5.4
[INFO] [stderr]    Compiling glutin-winit v0.4.2
[INFO] [stderr]    Compiling x11 v2.21.0
[INFO] [stderr]    Compiling wayland-csd-frame v0.3.0
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling inotify-sys v0.1.5
[INFO] [stderr]    Compiling glow v0.13.1
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling web-time v0.2.4
[INFO] [stderr]    Compiling inotify v0.8.3
[INFO] [stderr]    Compiling evdev-rs v0.4.0
[INFO] [stderr]    Compiling epoll v4.3.3
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling wayland-cursor v0.31.10
[INFO] [stderr]    Compiling wayland-protocols v0.31.2
[INFO] [stderr]    Compiling wayland-protocols v0.32.8
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling bytemuck_derive v1.9.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling zvariant_utils v1.0.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling enumflags2_derive v0.7.11
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling serde_repr v0.1.20
[INFO] [stderr]    Compiling async-recursion v1.1.1
[INFO] [stderr]    Compiling bytemuck v1.23.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling arboard v3.5.0
[INFO] [stderr]    Compiling tiny-skia-path v0.11.4
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling emath v0.27.2
[INFO] [stderr]    Compiling ecolor v0.27.2
[INFO] [stderr]    Compiling polling v3.7.4
[INFO] [stderr]    Compiling image v0.24.9
[INFO] [stderr]    Compiling zvariant_derive v3.15.2
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling epaint v0.27.2
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling calloop v0.12.4
[INFO] [stderr]    Compiling tiny-skia v0.11.4
[INFO] [stderr]    Compiling zbus_macros v3.15.2
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling calloop v0.13.0
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling calloop-wayland-source v0.2.0
[INFO] [stderr]    Compiling calloop-wayland-source v0.3.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling egui v0.27.2
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.0
[INFO] [stderr]    Compiling wayland-protocols-wlr v0.2.0
[INFO] [stderr]    Compiling wayland-protocols-plasma v0.2.0
[INFO] [stderr]    Compiling enumflags2 v0.7.11
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling rdev v0.5.3
[INFO] [stderr]    Compiling neli-proc-macros v0.1.4
[INFO] [stderr]    Compiling zvariant v3.15.2
[INFO] [stderr]    Compiling wayland-protocols-wlr v0.3.8
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling neli v0.6.5
[INFO] [stderr]    Compiling egui_glow v0.27.2
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling zbus_names v2.6.1
[INFO] [stderr]    Compiling smithay-client-toolkit v0.19.2
[INFO] [stderr]    Compiling webbrowser v0.8.15
[INFO] [stderr]    Compiling zbus v3.15.2
[INFO] [stderr]    Compiling sctk-adwaita v0.8.3
[INFO] [stderr]    Compiling local-ip-address v0.6.5
[INFO] [stderr]    Compiling smithay-clipboard v0.7.2
[INFO] [stderr]    Compiling atspi-common v0.3.0
[INFO] [stderr]    Compiling atspi-proxies v0.3.0
[INFO] [stderr]    Compiling atspi-connection v0.3.0
[INFO] [stderr]    Compiling atspi v0.19.0
[INFO] [stderr]    Compiling accesskit_unix v0.6.2
[INFO] [stderr]    Compiling accesskit_winit v0.16.1
[INFO] [stderr]    Compiling egui-winit v0.27.2
[INFO] [stderr]    Compiling eframe v0.27.2
[INFO] [stderr]    Compiling rust_kvm_experiment v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `channel`
[INFO] [stdout]  --> src/main.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::sync::mpsc::{channel, Sender, Receiver};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/main.rs:10:19
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::thread::{self, JoinHandle};
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::env; // Added for Wayland detection
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Shutdown`, `SocketAddr`, and `TcpListener`
[INFO] [stdout]   --> src/main.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::net::{TcpStream, TcpListener, SocketAddr, Shutdown}; // Added TcpListener, SocketAddr, and Shutdown
[INFO] [stdout]    |                           ^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Button as RdevButton`, `Event as RdevEvent`, and `Key as RdevKey`
[INFO] [stdout]   --> src/main.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | use rdev::{Event as RdevEvent, EventType as RdevEventType, Key as RdevKey, Button as RdevButton};
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^                              ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]   --> src/main.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use serde::{Serialize, Deserialize};
[INFO] [stdout]    |             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NetworkKvmMessage`, `SerializableRdevEventType`, `is_running_on_wayland`, and `spawn_rdev_listener_thread`
[INFO] [stdout]   --> src/main.rs:21:29
[INFO] [stdout]    |
[INFO] [stdout] 21 | ...::{NetworkKvmMessage, SerializableRdevEvent, SerializableRdevEventType, RdevThreadMessage, is_running_on_wayland, spawn_rdev_listener_thread};
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^                         ^^^^^^^^^^^^^^^^^^^^^^^^^                     ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `spawn_connect_thread`
[INFO] [stdout]   --> src/main.rs:22:54
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::network_client::{ConnectionThreadMessage, spawn_connect_thread};
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `spawn_listener_thread`
[INFO] [stdout]   --> src/main.rs:23:50
[INFO] [stdout]    |
[INFO] [stdout] 23 | use crate::network_server::{ServerThreadMessage, spawn_listener_thread};
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::constants::DEFAULT_PORT`
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::constants::DEFAULT_PORT; // Assuming DEFAULT_PORT is used from constants
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/event_handling.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 other => {
[INFO] [stdout]    |                 ^^^^^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/event_handling.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 RdevEventType::KeyPress(k) => SerializableRdevEventType::KeyPress(k),
[INFO] [stdout]    |                 -------------------------- matches some of the same values
[INFO] [stdout] 46 |                 RdevEventType::KeyRelease(k) => SerializableRdevEventType::KeyRelease(k),
[INFO] [stdout]    |                 ---------------------------- matches some of the same values
[INFO] [stdout] 47 |                 RdevEventType::ButtonPress(b) => SerializableRdevEventType::ButtonPress(b),
[INFO] [stdout]    |                 ----------------------------- matches some of the same values
[INFO] [stdout] 48 |                 RdevEventType::ButtonRelease(b) => SerializableRdevEventType::ButtonRelease(b),
[INFO] [stdout]    |                 ------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 51 |                 other => {
[INFO] [stdout]    |                 ^^^^^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `NetworkKvmMessage` is never used
[INFO] [stdout]   --> src/event_handling.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum NetworkKvmMessage {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Disconnected` is never constructed
[INFO] [stdout]   --> src/network_client.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum ConnectionThreadMessage { // Made public
[INFO] [stdout]    |          ----------------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 11 |     Disconnected, // This might be signalled by the read loop later, or if connect itself can tell.
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConnectionThreadMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 00s
[INFO] running `Command { std: "docker" "inspect" "5de66ca7944e669f95a452f9d8768d8990a06210c1725f7335ac20b580266b32", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5de66ca7944e669f95a452f9d8768d8990a06210c1725f7335ac20b580266b32", kill_on_drop: false }`
[INFO] [stdout] 5de66ca7944e669f95a452f9d8768d8990a06210c1725f7335ac20b580266b32
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2f792ee22aa9ab0b0f634c46c6f9aa00d751c5b22df2a48ab132bb176b961509
[INFO] running `Command { std: "docker" "start" "-a" "2f792ee22aa9ab0b0f634c46c6f9aa00d751c5b22df2a48ab132bb176b961509", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust_kvm_experiment v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `channel`
[INFO] [stdout]  --> src/main.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::sync::mpsc::{channel, Sender, Receiver};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/main.rs:10:19
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::thread::{self, JoinHandle};
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::env; // Added for Wayland detection
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Shutdown`, `SocketAddr`, and `TcpListener`
[INFO] [stdout]   --> src/main.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::net::{TcpStream, TcpListener, SocketAddr, Shutdown}; // Added TcpListener, SocketAddr, and Shutdown
[INFO] [stdout]    |                           ^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Button as RdevButton`, `Event as RdevEvent`, and `Key as RdevKey`
[INFO] [stdout]   --> src/main.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | use rdev::{Event as RdevEvent, EventType as RdevEventType, Key as RdevKey, Button as RdevButton};
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^                              ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]   --> src/main.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use serde::{Serialize, Deserialize};
[INFO] [stdout]    |             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NetworkKvmMessage`, `SerializableRdevEventType`, `is_running_on_wayland`, and `spawn_rdev_listener_thread`
[INFO] [stdout]   --> src/main.rs:21:29
[INFO] [stdout]    |
[INFO] [stdout] 21 | ...::{NetworkKvmMessage, SerializableRdevEvent, SerializableRdevEventType, RdevThreadMessage, is_running_on_wayland, spawn_rdev_listener_thread};
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^                         ^^^^^^^^^^^^^^^^^^^^^^^^^                     ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `spawn_connect_thread`
[INFO] [stdout]   --> src/main.rs:22:54
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::network_client::{ConnectionThreadMessage, spawn_connect_thread};
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `spawn_listener_thread`
[INFO] [stdout]   --> src/main.rs:23:50
[INFO] [stdout]    |
[INFO] [stdout] 23 | use crate::network_server::{ServerThreadMessage, spawn_listener_thread};
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::constants::DEFAULT_PORT`
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::constants::DEFAULT_PORT; // Assuming DEFAULT_PORT is used from constants
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/event_handling.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 other => {
[INFO] [stdout]    |                 ^^^^^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/event_handling.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 RdevEventType::KeyPress(k) => SerializableRdevEventType::KeyPress(k),
[INFO] [stdout]    |                 -------------------------- matches some of the same values
[INFO] [stdout] 46 |                 RdevEventType::KeyRelease(k) => SerializableRdevEventType::KeyRelease(k),
[INFO] [stdout]    |                 ---------------------------- matches some of the same values
[INFO] [stdout] 47 |                 RdevEventType::ButtonPress(b) => SerializableRdevEventType::ButtonPress(b),
[INFO] [stdout]    |                 ----------------------------- matches some of the same values
[INFO] [stdout] 48 |                 RdevEventType::ButtonRelease(b) => SerializableRdevEventType::ButtonRelease(b),
[INFO] [stdout]    |                 ------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 51 |                 other => {
[INFO] [stdout]    |                 ^^^^^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `NetworkKvmMessage` is never used
[INFO] [stdout]   --> src/event_handling.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum NetworkKvmMessage {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Disconnected` is never constructed
[INFO] [stdout]   --> src/network_client.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum ConnectionThreadMessage { // Made public
[INFO] [stdout]    |          ----------------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 11 |     Disconnected, // This might be signalled by the read loop later, or if connect itself can tell.
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ConnectionThreadMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.05s
[INFO] running `Command { std: "docker" "inspect" "2f792ee22aa9ab0b0f634c46c6f9aa00d751c5b22df2a48ab132bb176b961509", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f792ee22aa9ab0b0f634c46c6f9aa00d751c5b22df2a48ab132bb176b961509", kill_on_drop: false }`
[INFO] [stdout] 2f792ee22aa9ab0b0f634c46c6f9aa00d751c5b22df2a48ab132bb176b961509
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5c0946e53713ce09e72681819b5604064aa46869720d529d903bbba5d368d1f1
[INFO] running `Command { std: "docker" "start" "-a" "5c0946e53713ce09e72681819b5604064aa46869720d529d903bbba5d368d1f1", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `channel`
[INFO] [stderr]  --> src/main.rs:9:23
[INFO] [stderr]   |
[INFO] [stderr] 9 | use std::sync::mpsc::{channel, Sender, Receiver};
[INFO] [stderr]   |                       ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `self`
[INFO] [stderr]   --> src/main.rs:10:19
[INFO] [stderr]    |
[INFO] [stderr] 10 | use std::thread::{self, JoinHandle};
[INFO] [stderr]    |                   ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::env`
[INFO] [stderr]   --> src/main.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use std::env; // Added for Wayland detection
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Shutdown`, `SocketAddr`, and `TcpListener`
[INFO] [stderr]   --> src/main.rs:12:27
[INFO] [stderr]    |
[INFO] [stderr] 12 | use std::net::{TcpStream, TcpListener, SocketAddr, Shutdown}; // Added TcpListener, SocketAddr, and Shutdown
[INFO] [stderr]    |                           ^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Button as RdevButton`, `Event as RdevEvent`, and `Key as RdevKey`
[INFO] [stderr]   --> src/main.rs:17:12
[INFO] [stderr]    |
[INFO] [stderr] 17 | use rdev::{Event as RdevEvent, EventType as RdevEventType, Key as RdevKey, Button as RdevButton};
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^                              ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stderr]   --> src/main.rs:18:13
[INFO] [stderr]    |
[INFO] [stderr] 18 | use serde::{Serialize, Deserialize};
[INFO] [stderr]    |             ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `NetworkKvmMessage`, `SerializableRdevEventType`, `is_running_on_wayland`, and `spawn_rdev_listener_thread`
[INFO] [stderr]   --> src/main.rs:21:29
[INFO] [stderr]    |
[INFO] [stderr] 21 | ...::{NetworkKvmMessage, SerializableRdevEvent, SerializableRdevEventType, RdevThreadMessage, is_running_on_wayland, spawn_rdev_listener_thread};
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^                         ^^^^^^^^^^^^^^^^^^^^^^^^^                     ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `spawn_connect_thread`
[INFO] [stderr]   --> src/main.rs:22:54
[INFO] [stderr]    |
[INFO] [stderr] 22 | use crate::network_client::{ConnectionThreadMessage, spawn_connect_thread};
[INFO] [stderr]    |                                                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `spawn_listener_thread`
[INFO] [stderr]   --> src/main.rs:23:50
[INFO] [stderr]    |
[INFO] [stderr] 23 | use crate::network_server::{ServerThreadMessage, spawn_listener_thread};
[INFO] [stderr]    |                                                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::constants::DEFAULT_PORT`
[INFO] [stderr]   --> src/main.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | use crate::constants::DEFAULT_PORT; // Assuming DEFAULT_PORT is used from constants
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]   --> src/event_handling.rs:51:17
[INFO] [stderr]    |
[INFO] [stderr] 51 |                 other => {
[INFO] [stderr]    |                 ^^^^^ no value can reach this
[INFO] [stderr]    |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]   --> src/event_handling.rs:51:17
[INFO] [stderr]    |
[INFO] [stderr] 45 |                 RdevEventType::KeyPress(k) => SerializableRdevEventType::KeyPress(k),
[INFO] [stderr]    |                 -------------------------- matches some of the same values
[INFO] [stderr] 46 |                 RdevEventType::KeyRelease(k) => SerializableRdevEventType::KeyRelease(k),
[INFO] [stderr]    |                 ---------------------------- matches some of the same values
[INFO] [stderr] 47 |                 RdevEventType::ButtonPress(b) => SerializableRdevEventType::ButtonPress(b),
[INFO] [stderr]    |                 ----------------------------- matches some of the same values
[INFO] [stderr] 48 |                 RdevEventType::ButtonRelease(b) => SerializableRdevEventType::ButtonRelease(b),
[INFO] [stderr]    |                 ------------------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 51 |                 other => {
[INFO] [stderr]    |                 ^^^^^ ...and 2 other patterns collectively make this unreachable
[INFO] [stderr]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: enum `NetworkKvmMessage` is never used
[INFO] [stderr]   --> src/event_handling.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub enum NetworkKvmMessage {
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Disconnected` is never constructed
[INFO] [stderr]   --> src/network_client.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub enum ConnectionThreadMessage { // Made public
[INFO] [stderr]    |          ----------------------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 11 |     Disconnected, // This might be signalled by the read loop later, or if connect itself can tell.
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ConnectionThreadMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_kvm_experiment` (bin "rust_kvm_experiment" test) generated 13 warnings (run `cargo fix --bin "rust_kvm_experiment" -p rust_kvm_experiment --tests` to apply 10 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_kvm_experiment-5a121a03ab020f46)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5c0946e53713ce09e72681819b5604064aa46869720d529d903bbba5d368d1f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c0946e53713ce09e72681819b5604064aa46869720d529d903bbba5d368d1f1", kill_on_drop: false }`
[INFO] [stdout] 5c0946e53713ce09e72681819b5604064aa46869720d529d903bbba5d368d1f1
