[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] building atopsy/atopsy 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%2Fatopsy%2Fatopsy" "/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/atopsy/atopsy 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/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-4-tc1/source/Cargo.toml [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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3edbee29ff9842b6dbe96fa241673b833d8a2ca5952a2afde78ac49c8d83b640 [INFO] running `Command { std: "docker" "start" "-a" "3edbee29ff9842b6dbe96fa241673b833d8a2ca5952a2afde78ac49c8d83b640", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3edbee29ff9842b6dbe96fa241673b833d8a2ca5952a2afde78ac49c8d83b640", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3edbee29ff9842b6dbe96fa241673b833d8a2ca5952a2afde78ac49c8d83b640", kill_on_drop: false }` [INFO] [stdout] 3edbee29ff9842b6dbe96fa241673b833d8a2ca5952a2afde78ac49c8d83b640 [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 -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] 574344c1c0720f3c8763ff9dadbabe0d393e79db285c13921aad60a516594e2f [INFO] running `Command { std: "docker" "start" "-a" "574344c1c0720f3c8763ff9dadbabe0d393e79db285c13921aad60a516594e2f", kill_on_drop: false }` [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling 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)]` 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)]` 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)]` 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)]` 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 1.20s [INFO] running `Command { std: "docker" "inspect" "574344c1c0720f3c8763ff9dadbabe0d393e79db285c13921aad60a516594e2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "574344c1c0720f3c8763ff9dadbabe0d393e79db285c13921aad60a516594e2f", kill_on_drop: false }` [INFO] [stdout] 574344c1c0720f3c8763ff9dadbabe0d393e79db285c13921aad60a516594e2f [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 -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] 3fbda3d36310854b63d8d8469d2ed1b11e06b0a83ee444c49664186ddc4db3c0 [INFO] running `Command { std: "docker" "start" "-a" "3fbda3d36310854b63d8d8469d2ed1b11e06b0a83ee444c49664186ddc4db3c0", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` 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)]` 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)]` 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)]` 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 `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "3fbda3d36310854b63d8d8469d2ed1b11e06b0a83ee444c49664186ddc4db3c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fbda3d36310854b63d8d8469d2ed1b11e06b0a83ee444c49664186ddc4db3c0", kill_on_drop: false }` [INFO] [stdout] 3fbda3d36310854b63d8d8469d2ed1b11e06b0a83ee444c49664186ddc4db3c0