[INFO] cloning repository https://github.com/andrew-d/lenovo-throttling-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andrew-d/lenovo-throttling-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrew-d%2Flenovo-throttling-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrew-d%2Flenovo-throttling-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6106cf90af1033ca700b3d58ff7963b8ba83f1c5
[INFO] checking andrew-d/lenovo-throttling-rust against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrew-d%2Flenovo-throttling-rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/andrew-d/lenovo-throttling-rust on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/andrew-d/lenovo-throttling-rust
[INFO] finished tweaking git repo https://github.com/andrew-d/lenovo-throttling-rust
[INFO] tweaked toml for git repo https://github.com/andrew-d/lenovo-throttling-rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/andrew-d/lenovo-throttling-rust 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_derive v1.0.75
[INFO] [stderr]   Downloaded serde v1.0.75
[INFO] [stderr]   Downloaded cc v1.0.22
[INFO] [stderr]   Downloaded libdbus-sys v0.1.3
[INFO] [stderr]   Downloaded dbus v0.6.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 391c290dbdef1f638a45e5108145ec826443ac3e38674d856fa61c4596c65a1e
[INFO] running `Command { std: "docker" "start" "-a" "391c290dbdef1f638a45e5108145ec826443ac3e38674d856fa61c4596c65a1e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "391c290dbdef1f638a45e5108145ec826443ac3e38674d856fa61c4596c65a1e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "391c290dbdef1f638a45e5108145ec826443ac3e38674d856fa61c4596c65a1e", kill_on_drop: false }`
[INFO] [stdout] 391c290dbdef1f638a45e5108145ec826443ac3e38674d856fa61c4596c65a1e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e0b673a5fc2852cbbd344b9d0d5916676ff993477b2215333b198aad83d39235
[INFO] running `Command { std: "docker" "start" "-a" "e0b673a5fc2852cbbd344b9d0d5916676ff993477b2215333b198aad83d39235", kill_on_drop: false }`
[INFO] [stderr]     Checking libc v0.2.43
[INFO] [stderr]    Compiling proc-macro2 v0.4.13
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling cc v1.0.22
[INFO] [stderr]     Checking cfg-if v0.1.5
[INFO] [stderr]    Compiling version_check v0.1.4
[INFO] [stderr]    Compiling pkg-config v0.3.13
[INFO] [stderr]     Checking nodrop v0.1.12
[INFO] [stderr]    Compiling failure_derive v0.1.2
[INFO] [stderr]     Checking stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling serde v1.0.75
[INFO] [stderr]     Checking memoffset v0.2.1
[INFO] [stderr]     Checking rustc-demangle v0.1.9
[INFO] [stderr]     Checking scopeguard v0.3.3
[INFO] [stderr]     Checking byteorder v1.2.6
[INFO] [stderr]     Checking crossbeam-utils v0.3.2
[INFO] [stderr]     Checking unreachable v1.0.0
[INFO] [stderr]     Checking arrayvec v0.4.7
[INFO] [stderr]     Checking owning_ref v0.3.3
[INFO] [stderr]     Checking smallvec v0.6.5
[INFO] [stderr]    Compiling lazy_static v1.1.0
[INFO] [stderr]    Compiling libdbus-sys v0.1.3
[INFO] [stderr]     Checking rand v0.4.3
[INFO] [stderr]     Checking num_cpus v1.8.0
[INFO] [stderr]     Checking crossbeam-epoch v0.4.3
[INFO] [stderr]    Compiling quote v0.6.8
[INFO] [stderr]    Compiling backtrace-sys v0.1.24
[INFO] [stderr]     Checking dbus v0.6.2
[INFO] [stderr]    Compiling syn v0.14.9
[INFO] [stderr]     Checking parking_lot_core v0.2.14
[INFO] [stderr]     Checking parking_lot v0.5.5
[INFO] [stderr]     Checking crossbeam-channel v0.1.3
[INFO] [stderr]     Checking backtrace v0.3.9
[INFO] [stderr]    Compiling synstructure v0.9.0
[INFO] [stderr]    Compiling serde_derive v1.0.75
[INFO] [stderr]     Checking toml v0.4.6
[INFO] [stderr]     Checking failure v0.1.2
[INFO] [stderr]     Checking lenovo-throttling-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused label
[INFO] [stdout]   --> src/power.rs:75:5
[INFO] [stdout]    |
[INFO] [stdout] 75 |     'outer: loop {
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_labels)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused label
[INFO] [stdout]   --> src/power.rs:75:5
[INFO] [stdout]    |
[INFO] [stdout] 75 |     'outer: loop {
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_labels)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/power.rs:80:43
[INFO] [stdout]    |
[INFO] [stdout] 80 |                 HashMap<&str, Variant<Box<RefArg>>> // Changed properties
[INFO] [stdout]    |                                           ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 80 |                 HashMap<&str, Variant<Box<dyn RefArg>>> // Changed properties
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/power.rs:80:43
[INFO] [stdout]    |
[INFO] [stdout] 80 |                 HashMap<&str, Variant<Box<RefArg>>> // Changed properties
[INFO] [stdout]    |                                           ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 80 |                 HashMap<&str, Variant<Box<dyn RefArg>>> // Changed properties
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `update_rate_sec` and `hwp_mode` are never read
[INFO] [stdout]   --> src/main.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct ModeConfig {
[INFO] [stdout]    |        ---------- fields in this struct
[INFO] [stdout] 36 |     /// How often to reset configuration, in seconds.
[INFO] [stdout] 37 |     update_rate_sec: Option<usize>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     hwp_mode: Option<bool>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ModeConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `update_rate_sec` and `hwp_mode` are never read
[INFO] [stdout]   --> src/main.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct ModeConfig {
[INFO] [stdout]    |        ---------- fields in this struct
[INFO] [stdout] 36 |     /// How often to reset configuration, in seconds.
[INFO] [stdout] 37 |     update_rate_sec: Option<usize>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     hwp_mode: Option<bool>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ModeConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `mask` and `read` are never used
[INFO] [stdout]   --> src/msr.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl ReadMsrBuilder {
[INFO] [stdout]    | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn mask(&mut self, mask: (u32, u32)) -> &mut ReadMsrBuilder {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn read(&self) -> io::Result<Vec<u64>> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `mask` and `read` are never used
[INFO] [stdout]   --> src/msr.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl ReadMsrBuilder {
[INFO] [stdout]    | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn mask(&mut self, mask: (u32, u32)) -> &mut ReadMsrBuilder {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn read(&self) -> io::Result<Vec<u64>> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/power.rs:50:25
[INFO] [stdout]    |
[INFO] [stdout] 50 |                         send.send(new_state);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 50 |                         let _ = send.send(new_state);
[INFO] [stdout]    |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/power.rs:50:25
[INFO] [stdout]    |
[INFO] [stdout] 50 |                         send.send(new_state);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 50 |                         let _ = send.send(new_state);
[INFO] [stdout]    |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/power.rs:93:29
[INFO] [stdout]    |
[INFO] [stdout] 93 | ...                   sender.send(new_state);
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 93 |                             let _ = sender.send(new_state);
[INFO] [stdout]    |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/power.rs:93:29
[INFO] [stdout]    |
[INFO] [stdout] 93 | ...                   sender.send(new_state);
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 93 |                             let _ = sender.send(new_state);
[INFO] [stdout]    |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 4.03s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "e0b673a5fc2852cbbd344b9d0d5916676ff993477b2215333b198aad83d39235", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e0b673a5fc2852cbbd344b9d0d5916676ff993477b2215333b198aad83d39235", kill_on_drop: false }`
[INFO] [stdout] e0b673a5fc2852cbbd344b9d0d5916676ff993477b2215333b198aad83d39235
