[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] testing davidakpele/device_monitor against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidakpele%2Fdevice_monitor" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/davidakpele/device_monitor on toolchain 1.99.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "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" "+1.99.0-beta.1" "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 unicode-ident v1.0.23
[INFO] [stderr]   Downloaded mach2 v0.5.0
[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-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 06ee674b282e8ef15e4fab61a3cb577ca3ac8f1f873ce609e4b0a8b540758724
[INFO] running `Command { std: "docker" "start" "06ee674b282e8ef15e4fab61a3cb577ca3ac8f1f873ce609e4b0a8b540758724", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "06ee674b282e8ef15e4fab61a3cb577ca3ac8f1f873ce609e4b0a8b540758724", 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" "06ee674b282e8ef15e4fab61a3cb577ca3ac8f1f873ce609e4b0a8b540758724" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "06ee674b282e8ef15e4fab61a3cb577ca3ac8f1f873ce609e4b0a8b540758724", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "06ee674b282e8ef15e4fab61a3cb577ca3ac8f1f873ce609e4b0a8b540758724" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[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 smallvec v1.15.1
[INFO] [stderr]    Compiling regex-syntax v0.8.9
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling syn v2.0.115
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling socket2 v0.6.2
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling udev v0.9.3
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling 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]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]    Compiling 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[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] 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] running `Command { std: "docker" "inspect" "06ee674b282e8ef15e4fab61a3cb577ca3ac8f1f873ce609e4b0a8b540758724", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "06ee674b282e8ef15e4fab61a3cb577ca3ac8f1f873ce609e4b0a8b540758724", kill_on_drop: false }`
[INFO] [stdout] 06ee674b282e8ef15e4fab61a3cb577ca3ac8f1f873ce609e4b0a8b540758724
