[INFO] cloning repository https://github.com/viktor-grunwaldt/rsthrottled [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/viktor-grunwaldt/rsthrottled" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviktor-grunwaldt%2Frsthrottled", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviktor-grunwaldt%2Frsthrottled'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 021d49b4f94c4bd042682155b56abfdda2c96463 [INFO] checking viktor-grunwaldt/rsthrottled against master#ddaf12390d3ffb7d5ba74491a48f3cd528e5d777 for pr-146504 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviktor-grunwaldt%2Frsthrottled" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/viktor-grunwaldt/rsthrottled [INFO] finished tweaking git repo https://github.com/viktor-grunwaldt/rsthrottled [INFO] tweaked toml for git repo https://github.com/viktor-grunwaldt/rsthrottled written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/viktor-grunwaldt/rsthrottled on toolchain ddaf12390d3ffb7d5ba74491a48f3cd528e5d777 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/viktor-grunwaldt/rsthrottled 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" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glib-macros v0.20.10 [INFO] [stderr] Downloaded glib v0.20.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3e22852f228559a3bd1a9b327559c8d69f1a84fcdb6b4c9ef91adee4e801641 [INFO] running `Command { std: "docker" "start" "-a" "f3e22852f228559a3bd1a9b327559c8d69f1a84fcdb6b4c9ef91adee4e801641", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3e22852f228559a3bd1a9b327559c8d69f1a84fcdb6b4c9ef91adee4e801641", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3e22852f228559a3bd1a9b327559c8d69f1a84fcdb6b4c9ef91adee4e801641", kill_on_drop: false }` [INFO] [stdout] f3e22852f228559a3bd1a9b327559c8d69f1a84fcdb6b4c9ef91adee4e801641 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2474562a51a6d8ae020ba33ee4613eea457607774e2ee5504b8ffb839a1635e1 [INFO] running `Command { std: "docker" "start" "-a" "2474562a51a6d8ae020ba33ee4613eea457607774e2ee5504b8ffb839a1635e1", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling libdbus-sys v0.2.5 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling syn v2.0.102 [INFO] [stderr] Checking dbus v0.9.7 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling cfg-expr v0.20.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling glib-macros v0.20.10 [INFO] [stderr] Compiling system-deps v7.0.5 [INFO] [stderr] Compiling glib-sys v0.20.10 [INFO] [stderr] Compiling gobject-sys v0.20.10 [INFO] [stderr] Compiling gio-sys v0.20.10 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking glib v0.20.10 [INFO] [stderr] Checking rsthrottled v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:511:5 [INFO] [stdout] | [INFO] [stdout] 510 | let power_source = get_power_source(); [INFO] [stdout] | ------------------ any code following this expression is unreachable [INFO] [stdout] 511 | let platform_info = get_platform_info(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/main.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | fn writemsr(arg: &str, plane: u64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plane` [INFO] [stdout] --> src/main.rs:346:24 [INFO] [stdout] | [INFO] [stdout] 346 | fn writemsr(arg: &str, plane: u64) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_plane` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power_source` [INFO] [stdout] --> src/main.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | let power_source = get_power_source(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_power_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `platform_info` [INFO] [stdout] --> src/main.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | let platform_info = get_platform_info(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_platform_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/main.rs:512:9 [INFO] [stdout] | [INFO] [stdout] 512 | let config = parse_config(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `regs` [INFO] [stdout] --> src/main.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | let regs = get_reg_values(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_regs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `log`, `debug`, `monitor_ms`, and `config` are never read [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 17 | log: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | monitor_ms: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | config: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CURRENT_PLANES` is never used [INFO] [stdout] --> src/main.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | static CURRENT_PLANES: LazyLock> = [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRIP_TEMP_RANGE` is never used [INFO] [stdout] --> src/main.rs:176:7 [INFO] [stdout] | [INFO] [stdout] 176 | const TRIP_TEMP_RANGE: (i32, i32) = (40, 97); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNDERVOLT_KEYS` is never used [INFO] [stdout] --> src/main.rs:177:7 [INFO] [stdout] | [INFO] [stdout] 177 | const UNDERVOLT_KEYS: (&str, &str, &str) = ("UNDERVOLT", "UNDERVOLT.AC", "UNDERVOLT.BATTERY"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ICCMAX_KEYS` is never used [INFO] [stdout] --> src/main.rs:178:7 [INFO] [stdout] | [INFO] [stdout] 178 | const ICCMAX_KEYS: (&str, &str, &str) = ("ICCMAX", "ICCMAX.AC", "ICCMAX.BATTERY"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HWP_PERFOLRMANCE_VALUE` is never used [INFO] [stdout] --> src/main.rs:179:7 [INFO] [stdout] | [INFO] [stdout] 179 | const HWP_PERFOLRMANCE_VALUE: i32 = 0x20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HWP_DEFAULT_VALUE` is never used [INFO] [stdout] --> src/main.rs:180:7 [INFO] [stdout] | [INFO] [stdout] 180 | const HWP_DEFAULT_VALUE: i32 = 0x80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HWP_INTERVAL` is never used [INFO] [stdout] --> src/main.rs:181:7 [INFO] [stdout] | [INFO] [stdout] 181 | const HWP_INTERVAL: i32 = 60; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:511:5 [INFO] [stdout] | [INFO] [stdout] 510 | let power_source = get_power_source(); [INFO] [stdout] | ------------------ any code following this expression is unreachable [INFO] [stdout] 511 | let platform_info = get_platform_info(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg` [INFO] [stdout] --> src/main.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | fn writemsr(arg: &str, plane: u64) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plane` [INFO] [stdout] --> src/main.rs:346:24 [INFO] [stdout] | [INFO] [stdout] 346 | fn writemsr(arg: &str, plane: u64) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_plane` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power_source` [INFO] [stdout] --> src/main.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | let power_source = get_power_source(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_power_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `platform_info` [INFO] [stdout] --> src/main.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | let platform_info = get_platform_info(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_platform_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/main.rs:512:9 [INFO] [stdout] | [INFO] [stdout] 512 | let config = parse_config(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `regs` [INFO] [stdout] --> src/main.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | let regs = get_reg_values(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_regs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `log`, `debug`, `monitor_ms`, and `config` are never read [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 17 | log: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | monitor_ms: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | config: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CURRENT_PLANES` is never used [INFO] [stdout] --> src/main.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | static CURRENT_PLANES: LazyLock> = [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRIP_TEMP_RANGE` is never used [INFO] [stdout] --> src/main.rs:176:7 [INFO] [stdout] | [INFO] [stdout] 176 | const TRIP_TEMP_RANGE: (i32, i32) = (40, 97); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNDERVOLT_KEYS` is never used [INFO] [stdout] --> src/main.rs:177:7 [INFO] [stdout] | [INFO] [stdout] 177 | const UNDERVOLT_KEYS: (&str, &str, &str) = ("UNDERVOLT", "UNDERVOLT.AC", "UNDERVOLT.BATTERY"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ICCMAX_KEYS` is never used [INFO] [stdout] --> src/main.rs:178:7 [INFO] [stdout] | [INFO] [stdout] 178 | const ICCMAX_KEYS: (&str, &str, &str) = ("ICCMAX", "ICCMAX.AC", "ICCMAX.BATTERY"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HWP_PERFOLRMANCE_VALUE` is never used [INFO] [stdout] --> src/main.rs:179:7 [INFO] [stdout] | [INFO] [stdout] 179 | const HWP_PERFOLRMANCE_VALUE: i32 = 0x20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HWP_DEFAULT_VALUE` is never used [INFO] [stdout] --> src/main.rs:180:7 [INFO] [stdout] | [INFO] [stdout] 180 | const HWP_DEFAULT_VALUE: i32 = 0x80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HWP_INTERVAL` is never used [INFO] [stdout] --> src/main.rs:181:7 [INFO] [stdout] | [INFO] [stdout] 181 | const HWP_INTERVAL: i32 = 60; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.49s [INFO] running `Command { std: "docker" "inspect" "2474562a51a6d8ae020ba33ee4613eea457607774e2ee5504b8ffb839a1635e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2474562a51a6d8ae020ba33ee4613eea457607774e2ee5504b8ffb839a1635e1", kill_on_drop: false }` [INFO] [stdout] 2474562a51a6d8ae020ba33ee4613eea457607774e2ee5504b8ffb839a1635e1