[INFO] cloning repository https://github.com/atopsy/atopsy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/atopsy/atopsy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatopsy%2Fatopsy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatopsy%2Fatopsy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5adbe78ea3e7c4e3b24357c30d1c93fca7c1292d [INFO] checking atopsy/atopsy against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatopsy%2Fatopsy" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/atopsy/atopsy [INFO] finished tweaking git repo https://github.com/atopsy/atopsy [INFO] tweaked toml for git repo https://github.com/atopsy/atopsy written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/atopsy/atopsy on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/atopsy/atopsy 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47e806ce057fb9b311e295c7df21f0c52b8d9eb1c18b29fa741e24f291f9c647 [INFO] running `Command { std: "docker" "start" "-a" "47e806ce057fb9b311e295c7df21f0c52b8d9eb1c18b29fa741e24f291f9c647", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47e806ce057fb9b311e295c7df21f0c52b8d9eb1c18b29fa741e24f291f9c647", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47e806ce057fb9b311e295c7df21f0c52b8d9eb1c18b29fa741e24f291f9c647", kill_on_drop: false }` [INFO] [stdout] 47e806ce057fb9b311e295c7df21f0c52b8d9eb1c18b29fa741e24f291f9c647 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9df730eb2ba41fa5ec1aaace7dc817f7797553d1812e71ceff9a748c93aca932 [INFO] running `Command { std: "docker" "start" "-a" "9df730eb2ba41fa5ec1aaace7dc817f7797553d1812e71ceff9a748c93aca932", kill_on_drop: false }` [INFO] [stderr] Checking atopsy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `io::Read` [INFO] [stdout] --> src/atop_raw_file/sys_stats/mod.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | use std::{io::Read, mem::size_of}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::constants::SYS_STATS_SIZE` [INFO] [stdout] --> src/atop_raw_file/sys_stats/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::constants::SYS_STATS_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read::ZlibDecoder` [INFO] [stdout] --> src/atop_raw_file/sys_stats/mod.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | use flate2::{read::ZlibDecoder, Decompress}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet` and `thread::current` [INFO] [stdout] --> src/rules/engine.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | thread::current, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Read` [INFO] [stdout] --> src/atop_raw_file/sys_stats/mod.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | use std::{io::Read, mem::size_of}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::constants::SYS_STATS_SIZE` [INFO] [stdout] --> src/atop_raw_file/sys_stats/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::constants::SYS_STATS_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read::ZlibDecoder` [INFO] [stdout] --> src/atop_raw_file/sys_stats/mod.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | use flate2::{read::ZlibDecoder, Decompress}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet` and `thread::current` [INFO] [stdout] --> src/rules/engine.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | thread::current, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/rules/engine.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 104 | todo!("MAKE SHIT RUN"); [INFO] [stdout] | ---------------------- any code following this expression is unreachable [INFO] [stdout] 105 | todo!("TIMESTAMPS WHERE???"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::panic` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/rules/engine.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 104 | todo!("MAKE SHIT RUN"); [INFO] [stdout] | ---------------------- any code following this expression is unreachable [INFO] [stdout] 105 | todo!("TIMESTAMPS WHERE???"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::panic` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_stamp_data` [INFO] [stdout] --> src/rules/engine.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | for (index, time_stamp_data) in self.timestamped_stats.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_stamp_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tag` is never read [INFO] [stdout] --> src/rules/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct RuleGroup { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | tag: Tag, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_window_size` are never used [INFO] [stdout] --> src/rules/mod.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl RuleGroup { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 72 | fn new(threshold: f64, tag: Tag) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn get_window_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `threshold` and `tag` are never read [INFO] [stdout] --> src/rules/cpu_rule.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CpuInstantRule { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 9 | threshold: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | tag: Tag, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tag` is never read [INFO] [stdout] --> src/rules/cpu_rule.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CpuWindowRule { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 14 | threshold: f64, [INFO] [stdout] 15 | tag: Tag, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tags` is never read [INFO] [stdout] --> src/rules/engine.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct RuleEngineItem { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | tags: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `offsets` is never read [INFO] [stdout] --> src/rules/engine.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct RuleEngine { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | offsets: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_stamp_data` [INFO] [stdout] --> src/rules/engine.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | for (index, time_stamp_data) in self.timestamped_stats.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_stamp_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tag` is never read [INFO] [stdout] --> src/rules/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct RuleGroup { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | tag: Tag, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_window_size` are never used [INFO] [stdout] --> src/rules/mod.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl RuleGroup { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 72 | fn new(threshold: f64, tag: Tag) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn get_window_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `threshold` and `tag` are never read [INFO] [stdout] --> src/rules/cpu_rule.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CpuInstantRule { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 9 | threshold: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | tag: Tag, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tag` is never read [INFO] [stdout] --> src/rules/cpu_rule.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CpuWindowRule { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 14 | threshold: f64, [INFO] [stdout] 15 | tag: Tag, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tags` is never read [INFO] [stdout] --> src/rules/engine.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct RuleEngineItem { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | tags: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `offsets` is never read [INFO] [stdout] --> src/rules/engine.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct RuleEngine { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | offsets: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "9df730eb2ba41fa5ec1aaace7dc817f7797553d1812e71ceff9a748c93aca932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9df730eb2ba41fa5ec1aaace7dc817f7797553d1812e71ceff9a748c93aca932", kill_on_drop: false }` [INFO] [stdout] 9df730eb2ba41fa5ec1aaace7dc817f7797553d1812e71ceff9a748c93aca932