[INFO] fetching crate view-hardware 0.1.2... [INFO] checking view-hardware-0.1.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate view-hardware 0.1.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate view-hardware 0.1.2 [INFO] finished tweaking crates.io crate view-hardware 0.1.2 [INFO] tweaked toml for crates.io crate view-hardware 0.1.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate view-hardware 0.1.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate view-hardware 0.1.2 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aac05e5a3119235066cc43899803dfdae1cce005685eda60ce1021315c5507df [INFO] running `Command { std: "docker" "start" "-a" "aac05e5a3119235066cc43899803dfdae1cce005685eda60ce1021315c5507df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aac05e5a3119235066cc43899803dfdae1cce005685eda60ce1021315c5507df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aac05e5a3119235066cc43899803dfdae1cce005685eda60ce1021315c5507df", kill_on_drop: false }` [INFO] [stdout] aac05e5a3119235066cc43899803dfdae1cce005685eda60ce1021315c5507df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70d2f7b2ef0ef54507181c46d1101248db17bcc149594687fa2b019ee3037c7f [INFO] running `Command { std: "docker" "start" "-a" "70d2f7b2ef0ef54507181c46d1101248db17bcc149594687fa2b019ee3037c7f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking xml-rs v0.8.19 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Checking serde-xml-rs v0.6.0 [INFO] [stderr] Checking view-hardware v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/hardware.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 201 | impl Win { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 202 | pub fn build() -> Win { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | fn powershell(cmd: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | fn get_cpu() -> OptCPU { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn convert_cpu(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | fn get_memory() -> OptMemory { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn convert_memory(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | fn get_disk() -> OptDisk { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn convert_disk(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | fn get_memory_type(memory_type_seq: u32) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | fn rounding(mut d: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | fn total() -> Hardware { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mac` is never constructed [INFO] [stdout] --> src/hardware.rs:344:12 [INFO] [stdout] | [INFO] [stdout] 344 | pub struct Mac { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `build`, `command`, `get_cpu`, `get_memory`, `get_disk`, and `rounding` are never used [INFO] [stdout] --> src/hardware.rs:351:8 [INFO] [stdout] | [INFO] [stdout] 350 | impl Mac { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 351 | fn build() -> Hardware { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | fn command(cmd: &str) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | fn get_cpu() -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | fn get_memory() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 423 | fn get_disk() -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 442 | fn rounding(mut d : u64) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `c`, `m`, and `d` are never read [INFO] [stdout] --> src/hardware.rs:459:5 [INFO] [stdout] | [INFO] [stdout] 458 | pub struct Linux { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 459 | c: Vec, [INFO] [stdout] | ^ [INFO] [stdout] 460 | m: Vec, [INFO] [stdout] | ^ [INFO] [stdout] 461 | d: Vec, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/hardware.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 201 | impl Win { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 202 | pub fn build() -> Win { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | fn powershell(cmd: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | fn get_cpu() -> OptCPU { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn convert_cpu(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | fn get_memory() -> OptMemory { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn convert_memory(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | fn get_disk() -> OptDisk { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn convert_disk(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | fn get_memory_type(memory_type_seq: u32) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | fn rounding(mut d: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | fn total() -> Hardware { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mac` is never constructed [INFO] [stdout] --> src/hardware.rs:344:12 [INFO] [stdout] | [INFO] [stdout] 344 | pub struct Mac { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `build`, `command`, `get_cpu`, `get_memory`, `get_disk`, and `rounding` are never used [INFO] [stdout] --> src/hardware.rs:351:8 [INFO] [stdout] | [INFO] [stdout] 350 | impl Mac { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] 351 | fn build() -> Hardware { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 357 | fn command(cmd: &str) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | fn get_cpu() -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | fn get_memory() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 423 | fn get_disk() -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 442 | fn rounding(mut d : u64) -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `c`, `m`, and `d` are never read [INFO] [stdout] --> src/hardware.rs:459:5 [INFO] [stdout] | [INFO] [stdout] 458 | pub struct Linux { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 459 | c: Vec, [INFO] [stdout] | ^ [INFO] [stdout] 460 | m: Vec, [INFO] [stdout] | ^ [INFO] [stdout] 461 | d: Vec, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.87s [INFO] running `Command { std: "docker" "inspect" "70d2f7b2ef0ef54507181c46d1101248db17bcc149594687fa2b019ee3037c7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70d2f7b2ef0ef54507181c46d1101248db17bcc149594687fa2b019ee3037c7f", kill_on_drop: false }` [INFO] [stdout] 70d2f7b2ef0ef54507181c46d1101248db17bcc149594687fa2b019ee3037c7f