[INFO] cloning repository https://github.com/mvanotti/hwp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mvanotti/hwp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmvanotti%2Fhwp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmvanotti%2Fhwp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d07109c8eb6a5b0dfda357d691007fef4391943 [INFO] building mvanotti/hwp against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmvanotti%2Fhwp" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mvanotti/hwp on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mvanotti/hwp [INFO] finished tweaking git repo https://github.com/mvanotti/hwp [INFO] tweaked toml for git repo https://github.com/mvanotti/hwp written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mvanotti/hwp 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nix v0.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d977a80cd779e9df8c327f85c1a211f7cfcfa08957b5325161079adb6ba1a726 [INFO] running `Command { std: "docker" "start" "-a" "d977a80cd779e9df8c327f85c1a211f7cfcfa08957b5325161079adb6ba1a726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d977a80cd779e9df8c327f85c1a211f7cfcfa08957b5325161079adb6ba1a726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d977a80cd779e9df8c327f85c1a211f7cfcfa08957b5325161079adb6ba1a726", kill_on_drop: false }` [INFO] [stdout] d977a80cd779e9df8c327f85c1a211f7cfcfa08957b5325161079adb6ba1a726 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71b7342cc25001ac3fe74d6612a347377a949ff66b562040924a8cf9a9c0d652 [INFO] running `Command { std: "docker" "start" "-a" "71b7342cc25001ac3fe74d6612a347377a949ff66b562040924a8cf9a9c0d652", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling nix v0.21.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling hwp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `hwp_req` [INFO] [stdout] --> src/main.rs:640:13 [INFO] [stdout] | [INFO] [stdout] 640 | let hwp_req = msrs::IA32HWPRequest { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hwp_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_msr` is never used [INFO] [stdout] --> src/main.rs:401:4 [INFO] [stdout] | [INFO] [stdout] 401 | fn write_msr(cpu: usize, msr: i64, val: u64) -> Result<(), nix::Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct MSRCorePerfLimitReasons { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 46 | pub pochot_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 47 | pub thermal_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 48 | pub residency_state_regulatorion_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | pub running_average_thermal_limit_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | pub vr_therm_alert_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | pub vr_thermal_design_current_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | pub other_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 53 | pub pkg_pltfrm_level_power_limiting_pl1_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | pub pkg_pltfrm_level_power_limiting_pl2_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | pub max_turbo_limit_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | pub turbo_transition_attenuation_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub pochot_log: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 58 | pub thermal_log: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 59 | pub residency_state_regulatorion_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | pub running_average_thermal_limit_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | pub vr_therm_alert_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | pub vr_thermal_design_current_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | pub other_log: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 64 | pub pkg_pltfrm_level_power_limiting_pl1_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 65 | pub pkg_pltfrm_level_power_limiting_pl2_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | pub max_turbo_limit_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | pub turbo_transition_attenuation_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MSRCorePerfLimitReasons` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct IA32ThermStatus { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 99 | pub thermal_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 100 | pub thermal_status_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 101 | pub prochot_forcepr_event: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 102 | pub prochot_forcepr_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 103 | pub critical_temperature_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 104 | pub critical_temperature_status_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 105 | pub thermal_threshold_1_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 106 | pub thermal_threshold_1_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 107 | pub thermal_threshold_2_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 108 | pub thermal_threshold_2_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 109 | pub power_limitation_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | pub power_limitation_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 111 | pub current_limit_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 112 | pub current_limit_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 113 | pub cross_domain_limit_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 114 | pub cross_domain_limit_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 115 | pub digital_readout: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 116 | pub resolution_in_degrees_celsius: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 117 | pub reading_valid: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IA32ThermStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `en_guaranteed_performance_change` and `en_excursion_minimum` are never read [INFO] [stdout] --> src/main.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct IA32HWPInterrupt { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 146 | pub en_guaranteed_performance_change: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | pub en_excursion_minimum: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IA32HWPInterrupt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `guaranteed_performance_change`, `excursion_to_minimum`, `highest_change`, `peci_override_entry`, and `peci_override_exit` are never read [INFO] [stdout] --> src/main.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct IA32HWPStatus { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 158 | pub guaranteed_performance_change: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 159 | pub excursion_to_minimum: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 160 | pub highest_change: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 161 | pub peci_override_entry: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 162 | pub peci_override_exit: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IA32HWPStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `guaranteed_performance` and `lowest_performance` are never read [INFO] [stdout] --> src/main.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct IA32HWPCapabilities { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 207 | pub highest_performance: u8, [INFO] [stdout] 208 | pub guaranteed_performance: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 209 | pub most_efficient_performance: u8, [INFO] [stdout] 210 | pub lowest_performance: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IA32HWPCapabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hwp_enable` is never read [INFO] [stdout] --> src/main.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 223 | pub struct IA32PMEnable { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 224 | pub hwp_enable: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IA32PMEnable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `power_policy_preference` is never read [INFO] [stdout] --> src/main.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct IA32EnergyPerfBias { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 233 | pub power_policy_preference: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IA32EnergyPerfBias` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub struct IA32MiscEnable { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 243 | pub fast_strings_enable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 244 | pub automated_thermal_control_circuit_enable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 245 | pub performance_monitoring_available: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 246 | pub branch_storage_unavailable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 247 | pub processor_event_based_sampling_unavailable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 248 | pub enhanced_intel_speedstep_technology_enable: bool, [INFO] [stdout] 249 | pub enable_monitor_fsm: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 250 | pub limit_cpuid_maxval: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 251 | pub xtpr_message_disable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 252 | pub xd_bit_disable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 253 | pub dcu_prefetcher_disable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 254 | pub ida_disable: bool, [INFO] [stdout] 255 | pub ip_prefetcher_disable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IA32MiscEnable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `target_performance_state_value` and `ida_engage` are never read [INFO] [stdout] --> src/main.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 277 | pub struct IA32PerfCtl { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 278 | pub target_performance_state_value: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 279 | pub ida_engage: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IA32PerfCtl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_performance_state_value` is never read [INFO] [stdout] --> src/main.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 289 | pub struct IA32PerfStatus { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 290 | pub current_performance_state_value: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IA32PerfStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.07s [INFO] running `Command { std: "docker" "inspect" "71b7342cc25001ac3fe74d6612a347377a949ff66b562040924a8cf9a9c0d652", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71b7342cc25001ac3fe74d6612a347377a949ff66b562040924a8cf9a9c0d652", kill_on_drop: false }` [INFO] [stdout] 71b7342cc25001ac3fe74d6612a347377a949ff66b562040924a8cf9a9c0d652 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0f6132feed12881a7e653bcdd6c1017f16ba485ac059c7176b93241bf0de1d2 [INFO] running `Command { std: "docker" "start" "-a" "d0f6132feed12881a7e653bcdd6c1017f16ba485ac059c7176b93241bf0de1d2", kill_on_drop: false }` [INFO] [stderr] Compiling hwp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `hwp_req` [INFO] [stdout] --> src/main.rs:640:13 [INFO] [stdout] | [INFO] [stdout] 640 | let hwp_req = msrs::IA32HWPRequest { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hwp_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_msr` is never used [INFO] [stdout] --> src/main.rs:401:4 [INFO] [stdout] | [INFO] [stdout] 401 | fn write_msr(cpu: usize, msr: i64, val: u64) -> Result<(), nix::Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct MSRCorePerfLimitReasons { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 46 | pub pochot_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 47 | pub thermal_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 48 | pub residency_state_regulatorion_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | pub running_average_thermal_limit_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | pub vr_therm_alert_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | pub vr_thermal_design_current_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | pub other_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 53 | pub pkg_pltfrm_level_power_limiting_pl1_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | pub pkg_pltfrm_level_power_limiting_pl2_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | pub max_turbo_limit_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | pub turbo_transition_attenuation_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub pochot_log: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 58 | pub thermal_log: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 59 | pub residency_state_regulatorion_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | pub running_average_thermal_limit_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | pub vr_therm_alert_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | pub vr_thermal_design_current_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | pub other_log: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 64 | pub pkg_pltfrm_level_power_limiting_pl1_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 65 | pub pkg_pltfrm_level_power_limiting_pl2_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | pub max_turbo_limit_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | pub turbo_transition_attenuation_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MSRCorePerfLimitReasons` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct IA32ThermStatus { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 99 | pub thermal_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 100 | pub thermal_status_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 101 | pub prochot_forcepr_event: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 102 | pub prochot_forcepr_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 103 | pub critical_temperature_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 104 | pub critical_temperature_status_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 105 | pub thermal_threshold_1_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 106 | pub thermal_threshold_1_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 107 | pub thermal_threshold_2_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 108 | pub thermal_threshold_2_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 109 | pub power_limitation_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | pub power_limitation_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 111 | pub current_limit_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 112 | pub current_limit_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 113 | pub cross_domain_limit_status: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 114 | pub cross_domain_limit_log: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 115 | pub digital_readout: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 116 | pub resolution_in_degrees_celsius: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 117 | pub reading_valid: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IA32ThermStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `en_guaranteed_performance_change` and `en_excursion_minimum` are never read [INFO] [stdout] --> src/main.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct IA32HWPInterrupt { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 146 | pub en_guaranteed_performance_change: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | pub en_excursion_minimum: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IA32HWPInterrupt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `guaranteed_performance_change`, `excursion_to_minimum`, `highest_change`, `peci_override_entry`, and `peci_override_exit` are never read [INFO] [stdout] --> src/main.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct IA32HWPStatus { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 158 | pub guaranteed_performance_change: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 159 | pub excursion_to_minimum: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 160 | pub highest_change: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 161 | pub peci_override_entry: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 162 | pub peci_override_exit: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IA32HWPStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `guaranteed_performance` and `lowest_performance` are never read [INFO] [stdout] --> src/main.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct IA32HWPCapabilities { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 207 | pub highest_performance: u8, [INFO] [stdout] 208 | pub guaranteed_performance: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 209 | pub most_efficient_performance: u8, [INFO] [stdout] 210 | pub lowest_performance: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IA32HWPCapabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `hwp_enable` is never read [INFO] [stdout] --> src/main.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 223 | pub struct IA32PMEnable { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 224 | pub hwp_enable: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IA32PMEnable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `power_policy_preference` is never read [INFO] [stdout] --> src/main.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct IA32EnergyPerfBias { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 233 | pub power_policy_preference: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IA32EnergyPerfBias` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 242 | pub struct IA32MiscEnable { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 243 | pub fast_strings_enable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 244 | pub automated_thermal_control_circuit_enable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 245 | pub performance_monitoring_available: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 246 | pub branch_storage_unavailable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 247 | pub processor_event_based_sampling_unavailable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 248 | pub enhanced_intel_speedstep_technology_enable: bool, [INFO] [stdout] 249 | pub enable_monitor_fsm: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 250 | pub limit_cpuid_maxval: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 251 | pub xtpr_message_disable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 252 | pub xd_bit_disable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 253 | pub dcu_prefetcher_disable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 254 | pub ida_disable: bool, [INFO] [stdout] 255 | pub ip_prefetcher_disable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IA32MiscEnable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `target_performance_state_value` and `ida_engage` are never read [INFO] [stdout] --> src/main.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 277 | pub struct IA32PerfCtl { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 278 | pub target_performance_state_value: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 279 | pub ida_engage: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IA32PerfCtl` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_performance_state_value` is never read [INFO] [stdout] --> src/main.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 289 | pub struct IA32PerfStatus { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 290 | pub current_performance_state_value: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IA32PerfStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "d0f6132feed12881a7e653bcdd6c1017f16ba485ac059c7176b93241bf0de1d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0f6132feed12881a7e653bcdd6c1017f16ba485ac059c7176b93241bf0de1d2", kill_on_drop: false }` [INFO] [stdout] d0f6132feed12881a7e653bcdd6c1017f16ba485ac059c7176b93241bf0de1d2