[INFO] cloning repository https://github.com/inipew/charger-control
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/inipew/charger-control" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finipew%2Fcharger-control", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finipew%2Fcharger-control'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b5f811ba9683b27d4f08620f5482135fba5dda99
[INFO] checking inipew/charger-control against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6 for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finipew%2Fcharger-control" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/inipew/charger-control
[INFO] finished tweaking git repo https://github.com/inipew/charger-control
[INFO] tweaked toml for git repo https://github.com/inipew/charger-control written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/inipew/charger-control on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/inipew/charger-control 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ea723099ea037defb0a4f2dc9a3463e71d9c536b0c2495606139ced9868b84c4
[INFO] running `Command { std: "docker" "start" "ea723099ea037defb0a4f2dc9a3463e71d9c536b0c2495606139ced9868b84c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ea723099ea037defb0a4f2dc9a3463e71d9c536b0c2495606139ced9868b84c4", 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" "ea723099ea037defb0a4f2dc9a3463e71d9c536b0c2495606139ced9868b84c4" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ea723099ea037defb0a4f2dc9a3463e71d9c536b0c2495606139ced9868b84c4", 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" "ea723099ea037defb0a4f2dc9a3463e71d9c536b0c2495606139ced9868b84c4" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling thiserror v2.0.19
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]     Checking regex-syntax v0.8.11
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]     Checking num_threads v0.1.7
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]     Checking clap_builder v4.6.2
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking test_os v0.1.0 (/opt/rustwide/workdir/test_os)
[INFO] [stderr]    Compiling thiserror-impl v2.0.19
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking time v0.3.55
[INFO] [stderr]     Checking serde v1.0.229
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking regex-automata v0.4.16
[INFO] [stderr]     Checking clap v4.6.4
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking charger-core v0.1.0 (/opt/rustwide/workdir/crates/charger-core)
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stdout] error[E0560]: struct `SensorSnapshot` has no field named `online`
[INFO] [stdout]   --> crates/charger-core/src/hardware/controller_test.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |             online: Some(true),
[INFO] [stdout]    |             ^^^^^^ `SensorSnapshot` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `capacity_pct`, `temp_dc`, `battery_current_ma`, `input_current_ma`, `status`, `ts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `SensorSnapshot` has no field named `current_ma`
[INFO] [stdout]   --> crates/charger-core/src/hardware/controller_test.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |             current_ma: Some(10),
[INFO] [stdout]    |             ^^^^^^^^^^ `SensorSnapshot` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `capacity_pct`, `temp_dc`, `battery_current_ma`, `input_current_ma`, `status`, `ts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `SensorSnapshot` has no field named `online`
[INFO] [stdout]   --> crates/charger-core/src/hardware/controller_test.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 online: None,
[INFO] [stdout]    |                 ^^^^^^ `SensorSnapshot` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `battery_current_ma`, `input_current_ma`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `SensorSnapshot` has no field named `current_ma`
[INFO] [stdout]   --> crates/charger-core/src/hardware/controller_test.rs:89:17
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 current_ma: None,
[INFO] [stdout]    |                 ^^^^^^^^^^ `SensorSnapshot` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `battery_current_ma`, `input_current_ma`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking charger-ctl v0.1.0 (/opt/rustwide/workdir/crates/charger-ctl)
[INFO] [stdout] error[E0433]: cannot find module or crate `mem` in this scope
[INFO] [stdout]   --> crates/charger-ctl/src/bin/test_poll.rs:23:48
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut addr: libc::sockaddr_nl = unsafe { mem::zeroed() };
[INFO] [stdout]    |                                                ^^^ use of unresolved module or unlinked crate `mem`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mem`, use `cargo add mem` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::mem;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `mem` in this scope
[INFO] [stdout]   --> crates/charger-ctl/src/bin/test_poll.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |             mem::size_of::<libc::sockaddr_nl>() as u32,
[INFO] [stdout]    |             ^^^ use of unresolved module or unlinked crate `mem`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mem`, use `cargo add mem` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::mem;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `mem` in this scope
[INFO] [stdout]   --> crates/charger-ctl/src/bin/test_poll.rs:23:48
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut addr: libc::sockaddr_nl = unsafe { mem::zeroed() };
[INFO] [stdout]    |                                                ^^^ use of unresolved module or unlinked crate `mem`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mem`, use `cargo add mem` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::mem;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `charger-ctl` (bin "test_poll") due to 2 previous errors
[INFO] [stdout] error[E0433]: cannot find module or crate `mem` in this scope
[INFO] [stdout]   --> crates/charger-ctl/src/bin/test_poll.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |             mem::size_of::<libc::sockaddr_nl>() as u32,
[INFO] [stdout]    |             ^^^ use of unresolved module or unlinked crate `mem`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mem`, use `cargo add mem` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  2 + use std::mem;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0560`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `charger-ctl` (bin "test_poll" test) due to 2 previous errors
[INFO] [stderr] error: could not compile `charger-core` (lib test) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "ea723099ea037defb0a4f2dc9a3463e71d9c536b0c2495606139ced9868b84c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ea723099ea037defb0a4f2dc9a3463e71d9c536b0c2495606139ced9868b84c4", kill_on_drop: false }`
[INFO] [stdout] ea723099ea037defb0a4f2dc9a3463e71d9c536b0c2495606139ced9868b84c4
