[INFO] cloning repository https://github.com/HyflerSD/battery_monitor
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HyflerSD/battery_monitor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHyflerSD%2Fbattery_monitor", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHyflerSD%2Fbattery_monitor'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e9492ceb0abfd80ba4880925092246b39880e0c8
[INFO] building HyflerSD/battery_monitor against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHyflerSD%2Fbattery_monitor" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/HyflerSD/battery_monitor
[INFO] finished tweaking git repo https://github.com/HyflerSD/battery_monitor
[INFO] tweaked toml for git repo https://github.com/HyflerSD/battery_monitor written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/HyflerSD/battery_monitor on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/HyflerSD/battery_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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dc78d85cd5a58442efb76c99cb782fc19efced82de44be3a3ee9d6efcf320cd5
[INFO] running `Command { std: "docker" "start" "-a" "dc78d85cd5a58442efb76c99cb782fc19efced82de44be3a3ee9d6efcf320cd5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dc78d85cd5a58442efb76c99cb782fc19efced82de44be3a3ee9d6efcf320cd5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc78d85cd5a58442efb76c99cb782fc19efced82de44be3a3ee9d6efcf320cd5", kill_on_drop: false }`
[INFO] [stdout] dc78d85cd5a58442efb76c99cb782fc19efced82de44be3a3ee9d6efcf320cd5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2fe3b19bd786b29aaf96c69b8e0e1300ed0c1fef740c1fa4daf6eeae6b2f1db5
[INFO] running `Command { std: "docker" "start" "-a" "2fe3b19bd786b29aaf96c69b8e0e1300ed0c1fef740c1fa4daf6eeae6b2f1db5", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.15.1
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling fastrand v2.2.0
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling event-listener v5.3.1
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling event-listener-strategy v0.5.2
[INFO] [stderr]    Compiling futures-lite v2.5.0
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling async-task v4.7.1
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling waker-fn v1.2.0
[INFO] [stderr]    Compiling rustix v0.37.27
[INFO] [stderr]    Compiling piper v0.2.4
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling futures-lite v1.13.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling async-channel v2.3.1
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling async-lock v2.8.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling async-fs v1.6.0
[INFO] [stderr]    Compiling async-io v1.13.0
[INFO] [stderr]    Compiling linux-raw-sys v0.3.8
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling blocking v1.6.1
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling cpufeatures v0.2.15
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling zvariant_utils v1.0.1
[INFO] [stderr]    Compiling nix v0.26.4
[INFO] [stderr]    Compiling xdg-home v1.3.0
[INFO] [stderr]    Compiling async-executor v1.13.1
[INFO] [stderr]    Compiling async-broadcast v0.5.1
[INFO] [stderr]    Compiling ordered-stream v0.2.0
[INFO] [stderr]    Compiling battery v0.7.8
[INFO] [stderr]    Compiling zvariant_derive v3.15.2
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling serde_derive v1.0.215
[INFO] [stderr]    Compiling enumflags2_derive v0.7.10
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling async-recursion v1.1.1
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling serde_repr v0.1.19
[INFO] [stderr]    Compiling zbus_macros v3.15.2
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling uom v0.30.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling enumflags2 v0.7.10
[INFO] [stderr]    Compiling zvariant v3.15.2
[INFO] [stderr]    Compiling zbus_names v2.6.1
[INFO] [stderr]    Compiling zbus v3.15.2
[INFO] [stderr]    Compiling system_shutdown v4.0.1
[INFO] [stderr]    Compiling battery_monitor v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: constant `BAT_MIN` is never used
[INFO] [stdout]  --> src/main.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const BAT_MIN: f32 = 5.0;
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BAT_MAX` is never used
[INFO] [stdout]  --> src/main.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const BAT_MAX: f32 = 50.0;
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BATTERY_MIN_THRESHOLD` is never used
[INFO] [stdout]   --> src/main.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 | const BATTERY_MIN_THRESHOLD: &str = "BATTERY_MIN_THRESHOLD";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_threshold` is never used
[INFO] [stdout]   --> src/main.rs:47:4
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn init_threshold() -> f32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_environment_var` is never used
[INFO] [stdout]   --> src/main.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn set_environment_var() -> Result<f32, String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_battery_threshold` is never used
[INFO] [stdout]   --> src/main.rs:96:4
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn get_battery_threshold() -> Result<f32, String>{
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 40s
[INFO] running `Command { std: "docker" "inspect" "2fe3b19bd786b29aaf96c69b8e0e1300ed0c1fef740c1fa4daf6eeae6b2f1db5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2fe3b19bd786b29aaf96c69b8e0e1300ed0c1fef740c1fa4daf6eeae6b2f1db5", kill_on_drop: false }`
[INFO] [stdout] 2fe3b19bd786b29aaf96c69b8e0e1300ed0c1fef740c1fa4daf6eeae6b2f1db5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b334f948593b9158899cd4d932a963f0fe6a20a23bfeb80a280d36761d90e141
[INFO] running `Command { std: "docker" "start" "-a" "b334f948593b9158899cd4d932a963f0fe6a20a23bfeb80a280d36761d90e141", kill_on_drop: false }`
[INFO] [stderr]    Compiling battery_monitor v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: constant `BAT_MIN` is never used
[INFO] [stdout]  --> src/main.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const BAT_MIN: f32 = 5.0;
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BAT_MAX` is never used
[INFO] [stdout]  --> src/main.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const BAT_MAX: f32 = 50.0;
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BATTERY_MIN_THRESHOLD` is never used
[INFO] [stdout]   --> src/main.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 | const BATTERY_MIN_THRESHOLD: &str = "BATTERY_MIN_THRESHOLD";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_threshold` is never used
[INFO] [stdout]   --> src/main.rs:47:4
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn init_threshold() -> f32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_environment_var` is never used
[INFO] [stdout]   --> src/main.rs:66:4
[INFO] [stdout]    |
[INFO] [stdout] 66 | fn set_environment_var() -> Result<f32, String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_battery_threshold` is never used
[INFO] [stdout]   --> src/main.rs:96:4
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn get_battery_threshold() -> Result<f32, String>{
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s
[INFO] running `Command { std: "docker" "inspect" "b334f948593b9158899cd4d932a963f0fe6a20a23bfeb80a280d36761d90e141", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b334f948593b9158899cd4d932a963f0fe6a20a23bfeb80a280d36761d90e141", kill_on_drop: false }`
[INFO] [stdout] b334f948593b9158899cd4d932a963f0fe6a20a23bfeb80a280d36761d90e141
