[INFO] cloning repository https://github.com/stew3254/rust-bar [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stew3254/rust-bar" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstew3254%2Frust-bar", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstew3254%2Frust-bar'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a7052a88cac4669f4d291c33b57aaf04b8034fe9 [INFO] checking stew3254/rust-bar against master#385fa9d845dd326c6bbfd58c22244215e431948a for never-type-fallback-to-never [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstew3254%2Frust-bar" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stew3254/rust-bar on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stew3254/rust-bar [INFO] finished tweaking git repo https://github.com/stew3254/rust-bar [INFO] tweaked toml for git repo https://github.com/stew3254/rust-bar written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/stew3254/rust-bar 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_yaml v0.8.15 [INFO] [stderr] Downloaded serde_with_macros v1.3.0 [INFO] [stderr] Downloaded serde_with v1.6.0 [INFO] [stderr] Downloaded quick-error v2.0.0 [INFO] [stderr] Downloaded sysinfo v0.15.7 [INFO] [stderr] Downloaded handlebars v3.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fd9aace8626420b12fdd5a69d1588c54ceb0239976fabcce7413c4cd620958e [INFO] running `Command { std: "docker" "start" "-a" "6fd9aace8626420b12fdd5a69d1588c54ceb0239976fabcce7413c4cd620958e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fd9aace8626420b12fdd5a69d1588c54ceb0239976fabcce7413c4cd620958e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fd9aace8626420b12fdd5a69d1588c54ceb0239976fabcce7413c4cd620958e", kill_on_drop: false }` [INFO] [stdout] 6fd9aace8626420b12fdd5a69d1588c54ceb0239976fabcce7413c4cd620958e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f692c1175215a87ae5bfd78a9295feb92bc9ba430b29b32f193a19b3fb0db16 [INFO] running `Command { std: "docker" "start" "-a" "0f692c1175215a87ae5bfd78a9295feb92bc9ba430b29b32f193a19b3fb0db16", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling sysinfo v0.15.7 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking quick-error v2.0.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling serde_with_macros v1.3.0 [INFO] [stderr] Checking serde v1.0.118 [INFO] [stderr] Checking serde_yaml v0.8.15 [INFO] [stderr] Checking serde_with v1.6.0 [INFO] [stderr] Checking handlebars v3.5.2 [INFO] [stderr] Checking i3status-bar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DiskExt`, `ProcessorExt` [INFO] [stdout] --> src/main.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use sysinfo::{SystemExt, DiskExt, ProcessorExt}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DiskExt`, `ProcessorExt` [INFO] [stdout] --> src/main.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use sysinfo::{SystemExt, DiskExt, ProcessorExt}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:129:3 [INFO] [stdout] | [INFO] [stdout] 96 | / loop { [INFO] [stdout] 97 | | let start = Instant::now(); [INFO] [stdout] 98 | | for block in &mut blocks { [INFO] [stdout] 99 | | if let Some(name) = &block.name { [INFO] [stdout] ... | [INFO] [stdout] 127 | | sleep(Duration::from_secs(1) - (Instant::now() - start)); [INFO] [stdout] 128 | | } [INFO] [stdout] | |___- any code following this expression is unreachable [INFO] [stdout] 129 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:129:3 [INFO] [stdout] | [INFO] [stdout] 96 | / loop { [INFO] [stdout] 97 | | let start = Instant::now(); [INFO] [stdout] 98 | | for block in &mut blocks { [INFO] [stdout] 99 | | if let Some(name) = &block.name { [INFO] [stdout] ... | [INFO] [stdout] 127 | | sleep(Duration::from_secs(1) - (Instant::now() - start)); [INFO] [stdout] 128 | | } [INFO] [stdout] | |___- any code following this expression is unreachable [INFO] [stdout] 129 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/main.rs:78:38 [INFO] [stdout] | [INFO] [stdout] 78 | fn do_cpu(sys: &mut sysinfo::System, block: &mut Field) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/main.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | let (module, mut blocks) = read_config(file_name)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_closures` is never used [INFO] [stdout] --> src/main.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn gen_closures() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_cpu` is never used [INFO] [stdout] --> src/main.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn do_cpu(sys: &mut sysinfo::System, block: &mut Field) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/main.rs:78:38 [INFO] [stdout] | [INFO] [stdout] 78 | fn do_cpu(sys: &mut sysinfo::System, block: &mut Field) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/main.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | let (module, mut blocks) = read_config(file_name)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_closures` is never used [INFO] [stdout] --> src/main.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn gen_closures() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_cpu` is never used [INFO] [stdout] --> src/main.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn do_cpu(sys: &mut sysinfo::System, block: &mut Field) { [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` profile [unoptimized + debuginfo] target(s) in 19.34s [INFO] running `Command { std: "docker" "inspect" "0f692c1175215a87ae5bfd78a9295feb92bc9ba430b29b32f193a19b3fb0db16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f692c1175215a87ae5bfd78a9295feb92bc9ba430b29b32f193a19b3fb0db16", kill_on_drop: false }` [INFO] [stdout] 0f692c1175215a87ae5bfd78a9295feb92bc9ba430b29b32f193a19b3fb0db16 [INFO] checking stew3254/rust-bar against try#2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 for never-type-fallback-to-never [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstew3254%2Frust-bar" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stew3254/rust-bar on toolchain 2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stew3254/rust-bar [INFO] finished tweaking git repo https://github.com/stew3254/rust-bar [INFO] tweaked toml for git repo https://github.com/stew3254/rust-bar written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/stew3254/rust-bar 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" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c4a7847d3330edafa4eddba7c1279dc0058ae8617d6323e0782c755083da051 [INFO] running `Command { std: "docker" "start" "-a" "3c4a7847d3330edafa4eddba7c1279dc0058ae8617d6323e0782c755083da051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c4a7847d3330edafa4eddba7c1279dc0058ae8617d6323e0782c755083da051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c4a7847d3330edafa4eddba7c1279dc0058ae8617d6323e0782c755083da051", kill_on_drop: false }` [INFO] [stdout] 3c4a7847d3330edafa4eddba7c1279dc0058ae8617d6323e0782c755083da051 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e09d26375bea572f08e1145b836a5783d2239f1a83a2d7613ff128df87cba798 [INFO] running `Command { std: "docker" "start" "-a" "e09d26375bea572f08e1145b836a5783d2239f1a83a2d7613ff128df87cba798", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling sysinfo v0.15.7 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking quick-error v2.0.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling serde_with_macros v1.3.0 [INFO] [stderr] Checking serde v1.0.118 [INFO] [stderr] Checking serde_with v1.6.0 [INFO] [stderr] Checking serde_yaml v0.8.15 [INFO] [stderr] Checking handlebars v3.5.2 [INFO] [stderr] Checking i3status-bar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DiskExt`, `ProcessorExt` [INFO] [stdout] --> src/main.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use sysinfo::{SystemExt, DiskExt, ProcessorExt}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DiskExt`, `ProcessorExt` [INFO] [stdout] --> src/main.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use sysinfo::{SystemExt, DiskExt, ProcessorExt}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:129:3 [INFO] [stdout] | [INFO] [stdout] 96 | / loop { [INFO] [stdout] 97 | | let start = Instant::now(); [INFO] [stdout] 98 | | for block in &mut blocks { [INFO] [stdout] 99 | | if let Some(name) = &block.name { [INFO] [stdout] ... | [INFO] [stdout] 127 | | sleep(Duration::from_secs(1) - (Instant::now() - start)); [INFO] [stdout] 128 | | } [INFO] [stdout] | |___- any code following this expression is unreachable [INFO] [stdout] 129 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/main.rs:78:38 [INFO] [stdout] | [INFO] [stdout] 78 | fn do_cpu(sys: &mut sysinfo::System, block: &mut Field) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/main.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | let (module, mut blocks) = read_config(file_name)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_closures` is never used [INFO] [stdout] --> src/main.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn gen_closures() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_cpu` is never used [INFO] [stdout] --> src/main.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn do_cpu(sys: &mut sysinfo::System, block: &mut Field) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:129:3 [INFO] [stdout] | [INFO] [stdout] 96 | / loop { [INFO] [stdout] 97 | | let start = Instant::now(); [INFO] [stdout] 98 | | for block in &mut blocks { [INFO] [stdout] 99 | | if let Some(name) = &block.name { [INFO] [stdout] ... | [INFO] [stdout] 127 | | sleep(Duration::from_secs(1) - (Instant::now() - start)); [INFO] [stdout] 128 | | } [INFO] [stdout] | |___- any code following this expression is unreachable [INFO] [stdout] 129 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/main.rs:78:38 [INFO] [stdout] | [INFO] [stdout] 78 | fn do_cpu(sys: &mut sysinfo::System, block: &mut Field) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/main.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | let (module, mut blocks) = read_config(file_name)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_closures` is never used [INFO] [stdout] --> src/main.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn gen_closures() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_cpu` is never used [INFO] [stdout] --> src/main.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn do_cpu(sys: &mut sysinfo::System, block: &mut Field) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.06s [INFO] running `Command { std: "docker" "inspect" "e09d26375bea572f08e1145b836a5783d2239f1a83a2d7613ff128df87cba798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e09d26375bea572f08e1145b836a5783d2239f1a83a2d7613ff128df87cba798", kill_on_drop: false }` [INFO] [stdout] e09d26375bea572f08e1145b836a5783d2239f1a83a2d7613ff128df87cba798