[INFO] cloning repository https://github.com/davidakpele/device_monitor
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davidakpele/device_monitor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidakpele%2Fdevice_monitor", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidakpele%2Fdevice_monitor'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2183d5e100e0a35657def7232a54ccb5e67478a5
[INFO] checking davidakpele/device_monitor against try#4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7 for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidakpele%2Fdevice_monitor" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/davidakpele/device_monitor
[INFO] finished tweaking git repo https://github.com/davidakpele/device_monitor
[INFO] tweaked toml for git repo https://github.com/davidakpele/device_monitor written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/davidakpele/device_monitor on toolchain 4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/davidakpele/device_monitor 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" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking davidakpele/device_monitor against try#4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7 for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidakpele%2Fdevice_monitor" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/davidakpele/device_monitor
[INFO] finished tweaking git repo https://github.com/davidakpele/device_monitor
[INFO] tweaked toml for git repo https://github.com/davidakpele/device_monitor written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/davidakpele/device_monitor on toolchain 4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/davidakpele/device_monitor 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" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded udev v0.9.3
[INFO] [stderr]   Downloaded mach2 v0.5.0
[INFO] [stderr]   Downloaded unicode-ident v1.0.23
[INFO] [stderr]   Downloaded syn v2.0.115
[INFO] [stderr]   Downloaded libc v0.2.181
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f131081300e2630064021e2eba4de6a2e6366b33166061c214b1b3afcf6059bf
[INFO] running `Command { std: "docker" "start" "f131081300e2630064021e2eba4de6a2e6366b33166061c214b1b3afcf6059bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f131081300e2630064021e2eba4de6a2e6366b33166061c214b1b3afcf6059bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f131081300e2630064021e2eba4de6a2e6366b33166061c214b1b3afcf6059bf" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f131081300e2630064021e2eba4de6a2e6366b33166061c214b1b3afcf6059bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f131081300e2630064021e2eba4de6a2e6366b33166061c214b1b3afcf6059bf" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling unicode-ident v1.0.23
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling libc v0.2.181
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]     Checking regex-syntax v0.8.9
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking bytes v1.11.1
[INFO] [stderr]     Checking nu-ansi-term v0.50.3
[INFO] [stderr]     Checking iana-time-zone v0.1.65
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling syn v2.0.115
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking socket2 v0.6.2
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking udev v0.9.3
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]     Checking tokio v1.49.0
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking chrono v0.4.43
[INFO] [stderr]     Checking device_monitor v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `InitializationError` found for enum `MonitorError` in the current scope
[INFO] [stdout]   --> src/monitor/linux.rs:27:36
[INFO] [stdout]    |
[INFO] [stdout] 27 |         .map_err(|e| MonitorError::InitializationError(e.to_string()))?
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^ variant, associated function, or constant not found in `MonitorError`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/error.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub enum MonitorError {
[INFO] [stdout]    | --------------------- variant, associated function, or constant `InitializationError` not found for this enum
[INFO] [stdout]    |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 27 -         .map_err(|e| MonitorError::InitializationError(e.to_string()))?
[INFO] [stdout] 27 +         .map_err(|e| MonitorError::SerializationError(e.to_string()))?
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant, associated function, or constant named `InitializationError` found for enum `MonitorError` in the current scope
[INFO] [stdout]   --> src/monitor/linux.rs:27:36
[INFO] [stdout]    |
[INFO] [stdout] 27 |         .map_err(|e| MonitorError::InitializationError(e.to_string()))?
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^ variant, associated function, or constant not found in `MonitorError`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/error.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub enum MonitorError {
[INFO] [stdout]    | --------------------- variant, associated function, or constant `InitializationError` not found for this enum
[INFO] [stdout]    |
[INFO] [stdout] help: there is a variant with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 27 -         .map_err(|e| MonitorError::InitializationError(e.to_string()))?
[INFO] [stdout] 27 +         .map_err(|e| MonitorError::SerializationError(e.to_string()))?
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/monitor/linux.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let device_event = match event.action() {
[INFO] [stdout]    |                                  -------------- this expression has type `std::option::Option<&OsStr>`
[INFO] [stdout] 64 |             udev::EventType::Add => DeviceEvent::Connected,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^ expected `Option<&OsStr>`, found `EventType`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `std::option::Option<&OsStr>`
[INFO] [stdout]               found enum `EventType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/monitor/linux.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let device_event = match event.action() {
[INFO] [stdout]    |                                  -------------- this expression has type `std::option::Option<&OsStr>`
[INFO] [stdout] 64 |             udev::EventType::Add => DeviceEvent::Connected,
[INFO] [stdout] 65 |             udev::EventType::Remove => DeviceEvent::Disconnected,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<&OsStr>`, found `EventType`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `std::option::Option<&OsStr>`
[INFO] [stdout]               found enum `EventType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/monitor/linux.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let device_event = match event.action() {
[INFO] [stdout]    |                                  -------------- this expression has type `std::option::Option<&OsStr>`
[INFO] [stdout] 64 |             udev::EventType::Add => DeviceEvent::Connected,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^ expected `Option<&OsStr>`, found `EventType`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `std::option::Option<&OsStr>`
[INFO] [stdout]               found enum `EventType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/monitor/linux.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let device_event = match event.action() {
[INFO] [stdout]    |                                  -------------- this expression has type `std::option::Option<&OsStr>`
[INFO] [stdout] 64 |             udev::EventType::Add => DeviceEvent::Connected,
[INFO] [stdout] 65 |             udev::EventType::Remove => DeviceEvent::Disconnected,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<&OsStr>`, found `EventType`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `std::option::Option<&OsStr>`
[INFO] [stdout]               found enum `EventType`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/monitor/linux.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let mut socket = udev::MonitorBuilder::new()
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/monitor/linux.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let mut socket = udev::MonitorBuilder::new()
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `device_monitor` (bin "device_monitor") due to 3 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `device_monitor` (bin "device_monitor" test) due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "f131081300e2630064021e2eba4de6a2e6366b33166061c214b1b3afcf6059bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f131081300e2630064021e2eba4de6a2e6366b33166061c214b1b3afcf6059bf", kill_on_drop: false }`
[INFO] [stdout] f131081300e2630064021e2eba4de6a2e6366b33166061c214b1b3afcf6059bf
