[INFO] cloning repository https://github.com/Asabs18/Virus
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Asabs18/Virus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAsabs18%2FVirus", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAsabs18%2FVirus'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 13010550ec6cdfd53f7e62a213ac8f74f77d3b0d
[INFO] checking Asabs18/Virus against master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAsabs18%2FVirus" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Asabs18/Virus
[INFO] finished tweaking git repo https://github.com/Asabs18/Virus
[INFO] tweaked toml for git repo https://github.com/Asabs18/Virus written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Asabs18/Virus on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Asabs18/Virus 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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 664b3ac9dd28eb600f9235d84397db0d9404d8f1acb01e96f0838d9d56c09697
[INFO] running `Command { std: "docker" "start" "-a" "664b3ac9dd28eb600f9235d84397db0d9404d8f1acb01e96f0838d9d56c09697", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "664b3ac9dd28eb600f9235d84397db0d9404d8f1acb01e96f0838d9d56c09697", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "664b3ac9dd28eb600f9235d84397db0d9404d8f1acb01e96f0838d9d56c09697", kill_on_drop: false }`
[INFO] [stdout] 664b3ac9dd28eb600f9235d84397db0d9404d8f1acb01e96f0838d9d56c09697
[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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1134dd71b707ae2ae5fe440210d79053f978a9ff537983618574d6b944c0e3a0
[INFO] running `Command { std: "docker" "start" "-a" "1134dd71b707ae2ae5fe440210d79053f978a9ff537983618574d6b944c0e3a0", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling libc v0.2.159
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.79
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking virus v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `command_line_args`
[INFO] [stdout]    --> src/main.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 218 |     let command_line_args = CLA {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command_line_args`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Model` is never used
[INFO] [stdout]  --> src/main.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | trait Model<T> {
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `View` is never used
[INFO] [stdout]   --> src/main.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait View<T> {
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Controller` is never used
[INFO] [stdout]   --> src/main.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | trait Controller<T> {
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Status` is never used
[INFO] [stdout]   --> src/main.rs:25:6
[INFO] [stdout]    |
[INFO] [stdout] 25 | enum Status {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/main.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct CLA {
[INFO] [stdout]    |        --- fields in this struct
[INFO] [stdout] 36 |     num_simulations: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 37 |     num_people: u32,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 38 |     num_days: u32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 39 |     infection_prob: f64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 40 |     vaccination_prob: f64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 41 |     transmission_prob: f64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 42 |     death_prob: f64,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 43 |     output_file: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CLA` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PersonModel` is never constructed
[INFO] [stdout]   --> src/main.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | struct PersonModel {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_status`, and `to_string` are never used
[INFO] [stdout]   --> src/main.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl PersonModel {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 54 |     // Create a new person with a unique ID and initial status
[INFO] [stdout] 55 |     fn new(id: u32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     fn get_status(&self) -> Status {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     fn to_string(&self) -> String {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PopulationModel` is never constructed
[INFO] [stdout]   --> src/main.rs:92:8
[INFO] [stdout]    |
[INFO] [stdout] 92 | struct PopulationModel {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `populate` are never used
[INFO] [stdout]    --> src/main.rs:98:8
[INFO] [stdout]     |
[INFO] [stdout] 97  | impl PopulationModel {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout] 98  |     fn new(command_line_args: CLA) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     fn populate(&mut self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PopulationController` is never constructed
[INFO] [stdout]    --> src/main.rs:125:8
[INFO] [stdout]     |
[INFO] [stdout] 125 | struct PopulationController {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:130:8
[INFO] [stdout]     |
[INFO] [stdout] 129 | impl PopulationController {
[INFO] [stdout]     | ------------------------- associated function in this implementation
[INFO] [stdout] 130 |     fn new(population: PopulationModel) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimulationController` is never constructed
[INFO] [stdout]    --> src/main.rs:147:8
[INFO] [stdout]     |
[INFO] [stdout] 147 | struct SimulationController {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `update` are never used
[INFO] [stdout]    --> src/main.rs:154:8
[INFO] [stdout]     |
[INFO] [stdout] 153 | impl SimulationController {
[INFO] [stdout]     | ------------------------- associated items in this implementation
[INFO] [stdout] 154 |     fn new(simulations: Vec<PopulationController>, output_view: OutputView) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     fn update(&mut self) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OutputView` is never constructed
[INFO] [stdout]    --> src/main.rs:186:8
[INFO] [stdout]     |
[INFO] [stdout] 186 | struct OutputView {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:192:8
[INFO] [stdout]     |
[INFO] [stdout] 191 | impl OutputView {
[INFO] [stdout]     | --------------- associated function in this implementation
[INFO] [stdout] 192 |     fn new(population: PopulationModel, output_file_name: &str) -> io::Result<Self> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `command_line_args`
[INFO] [stdout]    --> src/main.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 218 |     let command_line_args = CLA {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command_line_args`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Model` is never used
[INFO] [stdout]  --> src/main.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | trait Model<T> {
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `View` is never used
[INFO] [stdout]   --> src/main.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait View<T> {
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Controller` is never used
[INFO] [stdout]   --> src/main.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | trait Controller<T> {
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Status` is never used
[INFO] [stdout]   --> src/main.rs:25:6
[INFO] [stdout]    |
[INFO] [stdout] 25 | enum Status {
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/main.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct CLA {
[INFO] [stdout]    |        --- fields in this struct
[INFO] [stdout] 36 |     num_simulations: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 37 |     num_people: u32,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 38 |     num_days: u32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 39 |     infection_prob: f64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 40 |     vaccination_prob: f64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 41 |     transmission_prob: f64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 42 |     death_prob: f64,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 43 |     output_file: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CLA` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PersonModel` is never constructed
[INFO] [stdout]   --> src/main.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | struct PersonModel {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_status`, and `to_string` are never used
[INFO] [stdout]   --> src/main.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl PersonModel {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 54 |     // Create a new person with a unique ID and initial status
[INFO] [stdout] 55 |     fn new(id: u32) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     fn get_status(&self) -> Status {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     fn to_string(&self) -> String {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PopulationModel` is never constructed
[INFO] [stdout]   --> src/main.rs:92:8
[INFO] [stdout]    |
[INFO] [stdout] 92 | struct PopulationModel {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `populate` are never used
[INFO] [stdout]    --> src/main.rs:98:8
[INFO] [stdout]     |
[INFO] [stdout] 97  | impl PopulationModel {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout] 98  |     fn new(command_line_args: CLA) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     fn populate(&mut self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PopulationController` is never constructed
[INFO] [stdout]    --> src/main.rs:125:8
[INFO] [stdout]     |
[INFO] [stdout] 125 | struct PopulationController {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:130:8
[INFO] [stdout]     |
[INFO] [stdout] 129 | impl PopulationController {
[INFO] [stdout]     | ------------------------- associated function in this implementation
[INFO] [stdout] 130 |     fn new(population: PopulationModel) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimulationController` is never constructed
[INFO] [stdout]    --> src/main.rs:147:8
[INFO] [stdout]     |
[INFO] [stdout] 147 | struct SimulationController {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `update` are never used
[INFO] [stdout]    --> src/main.rs:154:8
[INFO] [stdout]     |
[INFO] [stdout] 153 | impl SimulationController {
[INFO] [stdout]     | ------------------------- associated items in this implementation
[INFO] [stdout] 154 |     fn new(simulations: Vec<PopulationController>, output_view: OutputView) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     fn update(&mut self) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OutputView` is never constructed
[INFO] [stdout]    --> src/main.rs:186:8
[INFO] [stdout]     |
[INFO] [stdout] 186 | struct OutputView {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/main.rs:192:8
[INFO] [stdout]     |
[INFO] [stdout] 191 | impl OutputView {
[INFO] [stdout]     | --------------- associated function in this implementation
[INFO] [stdout] 192 |     fn new(population: PopulationModel, output_file_name: &str) -> io::Result<Self> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.54s
[INFO] running `Command { std: "docker" "inspect" "1134dd71b707ae2ae5fe440210d79053f978a9ff537983618574d6b944c0e3a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1134dd71b707ae2ae5fe440210d79053f978a9ff537983618574d6b944c0e3a0", kill_on_drop: false }`
[INFO] [stdout] 1134dd71b707ae2ae5fe440210d79053f978a9ff537983618574d6b944c0e3a0
