[INFO] cloning repository https://github.com/MrMisc/Outbreak_CIC-Model [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MrMisc/Outbreak_CIC-Model" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrMisc%2FOutbreak_CIC-Model", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrMisc%2FOutbreak_CIC-Model'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72f7ec1b96d5d5d3ceb400475fac6f307e5ac0e1 [INFO] checking MrMisc/Outbreak_CIC-Model against master#bb89df6903539e7014b8db29bccd6a9ee9553122 for pr-121072 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrMisc%2FOutbreak_CIC-Model" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 88% (536/603) Updating files: 89% (537/603) Updating files: 90% (543/603) Updating files: 91% (549/603) Updating files: 92% (555/603) Updating files: 93% (561/603) Updating files: 94% (567/603) Updating files: 95% (573/603) Updating files: 96% (579/603) Updating files: 97% (585/603) Updating files: 98% (591/603) Updating files: 99% (597/603) Updating files: 100% (603/603) Updating files: 100% (603/603), done. [INFO] validating manifest of git repo https://github.com/MrMisc/Outbreak_CIC-Model on toolchain bb89df6903539e7014b8db29bccd6a9ee9553122 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bb89df6903539e7014b8db29bccd6a9ee9553122" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MrMisc/Outbreak_CIC-Model [INFO] finished tweaking git repo https://github.com/MrMisc/Outbreak_CIC-Model [INFO] tweaked toml for git repo https://github.com/MrMisc/Outbreak_CIC-Model written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MrMisc/Outbreak_CIC-Model 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" "+bb89df6903539e7014b8db29bccd6a9ee9553122" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+bb89df6903539e7014b8db29bccd6a9ee9553122" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 517aa6ac5c0fb231319fe4bcb0d84bc09353782080367b4fc78e07761fb6aaff [INFO] running `Command { std: "docker" "start" "-a" "517aa6ac5c0fb231319fe4bcb0d84bc09353782080367b4fc78e07761fb6aaff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "517aa6ac5c0fb231319fe4bcb0d84bc09353782080367b4fc78e07761fb6aaff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "517aa6ac5c0fb231319fe4bcb0d84bc09353782080367b4fc78e07761fb6aaff", kill_on_drop: false }` [INFO] [stdout] 517aa6ac5c0fb231319fe4bcb0d84bc09353782080367b4fc78e07761fb6aaff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+bb89df6903539e7014b8db29bccd6a9ee9553122" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3ec9345fc16c6ce87bc8e5d227977dfbb610b11fd5132001d367f3fa9e07d73 [INFO] running `Command { std: "docker" "start" "-a" "a3ec9345fc16c6ce87bc8e5d227977dfbb610b11fd5132001d367f3fa9e07d73", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking wide v0.7.13 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking simba v0.6.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking nalgebra v0.29.0 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking statrs v0.16.0 [INFO] [stderr] Checking Outbreak_CIC v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Standard` [INFO] [stdout] --> src/main.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::distributions::{Distribution, Standard}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StudentsT`, `Triangular`, `Weibull` [INFO] [stdout] --> src/main.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | use statrs::distribution::{Normal, Poisson, StudentsT, Triangular, Weibull,Gamma}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `io`, `process` [INFO] [stdout] --> src/main.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | use std::{fs, io, process}; [INFO] [stdout] | ^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Standard` [INFO] [stdout] --> src/main.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::distributions::{Distribution, Standard}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StudentsT`, `Triangular`, `Weibull` [INFO] [stdout] --> src/main.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | use statrs::distribution::{Normal, Poisson, StudentsT, Triangular, Weibull,Gamma}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `io`, `process` [INFO] [stdout] --> src/main.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | use std::{fs, io, process}; [INFO] [stdout] | ^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Zone_3D` should have an upper camel case name [INFO] [stdout] --> src/main.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct Zone_3D{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Zone3d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Segment_3D` should have an upper camel case name [INFO] [stdout] --> src/main.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct Segment_3D{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Segment3d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:339:56 [INFO] [stdout] | [INFO] [stdout] 339 | ... while start_index > 0 && radialise(((internal_index - start_index) as f64/(step_size as f64) * PI), (((internal_index - start_index... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 339 - while start_index > 0 && radialise(((internal_index - start_index) as f64/(step_size as f64) * PI), (((internal_index - start_index) as u64)*self.segments[0].range_x) as f64, MISHAP_RADIUS) { [INFO] [stdout] 339 + while start_index > 0 && radialise((internal_index - start_index) as f64/(step_size as f64) * PI, (((internal_index - start_index) as u64)*self.segments[0].range_x) as f64, MISHAP_RADIUS) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:343:62 [INFO] [stdout] | [INFO] [stdout] 343 | ... while end_index < step_size && radialise(((end_index -internal_index) as f64/(step_size as f64) * PI), (((end_index -internal_index... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 343 - while end_index < step_size && radialise(((end_index -internal_index) as f64/(step_size as f64) * PI), (((end_index -internal_index) as u64)*self.segments[0].range_x) as f64, MISHAP_RADIUS) { [INFO] [stdout] 343 + while end_index < step_size && radialise((end_index -internal_index) as f64/(step_size as f64) * PI, (((end_index -internal_index) as u64)*self.segments[0].range_x) as f64, MISHAP_RADIUS) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `host` should have an upper camel case name [INFO] [stdout] --> src/main.rs:448:12 [INFO] [stdout] | [INFO] [stdout] 448 | pub struct host{ [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1127:20 [INFO] [stdout] | [INFO] [stdout] 1127 | if (x.contaminated){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1127 - if (x.contaminated){ [INFO] [stdout] 1127 + if x.contaminated { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:1148:57 [INFO] [stdout] | [INFO] [stdout] 1148 | ...ntact_rules:bool = (HOSTTOHOST_CONTACT_SPREAD || !HOSTTOHOST_CONTACT_SPREAD && !(inf.motile == 0 && x.motile ==0)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1148 - let hosttohost_contact_rules:bool = (HOSTTOHOST_CONTACT_SPREAD || !HOSTTOHOST_CONTACT_SPREAD && !(inf.motile == 0 && x.motile ==0)); [INFO] [stdout] 1148 + let hosttohost_contact_rules:bool = HOSTTOHOST_CONTACT_SPREAD || !HOSTTOHOST_CONTACT_SPREAD && !(inf.motile == 0 && x.motile ==0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:1149:56 [INFO] [stdout] | [INFO] [stdout] 1149 | ...ntact_rules:bool = (HOSTTOEGG_CONTACT_SPREAD || (!HOSTTOEGG_CONTACT_SPREAD && !(inf.motile == 0 && x.motile == 1))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1149 - let hosttoegg_contact_rules:bool = (HOSTTOEGG_CONTACT_SPREAD || (!HOSTTOEGG_CONTACT_SPREAD && !(inf.motile == 0 && x.motile == 1))); [INFO] [stdout] 1149 + let hosttoegg_contact_rules:bool = HOSTTOEGG_CONTACT_SPREAD || (!HOSTTOEGG_CONTACT_SPREAD && !(inf.motile == 0 && x.motile == 1)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:1150:59 [INFO] [stdout] | [INFO] [stdout] 1150 | ...act_rules:bool = (HOSTTOFAECES_CONTACT_SPREAD || !HOSTTOFAECES_CONTACT_SPREAD &&!(inf.motile == 0 && x.motile == 2)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1150 - let hosttofaeces_contact_rules:bool = (HOSTTOFAECES_CONTACT_SPREAD || !HOSTTOFAECES_CONTACT_SPREAD &&!(inf.motile == 0 && x.motile == 2)); [INFO] [stdout] 1150 + let hosttofaeces_contact_rules:bool = HOSTTOFAECES_CONTACT_SPREAD || !HOSTTOFAECES_CONTACT_SPREAD &&!(inf.motile == 0 && x.motile == 2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:1151:56 [INFO] [stdout] | [INFO] [stdout] 1151 | ...ontact_rules:bool = (EGGTOHOST_CONTACT_SPREAD || !EGGTOHOST_CONTACT_SPREAD && !(inf.motile == 1 && x.motile == 0)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1151 - let eggtohost_contact_rules:bool = (EGGTOHOST_CONTACT_SPREAD || !EGGTOHOST_CONTACT_SPREAD && !(inf.motile == 1 && x.motile == 0)); [INFO] [stdout] 1151 + let eggtohost_contact_rules:bool = EGGTOHOST_CONTACT_SPREAD || !EGGTOHOST_CONTACT_SPREAD && !(inf.motile == 1 && x.motile == 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:1152:59 [INFO] [stdout] | [INFO] [stdout] 1152 | ...act_rules:bool = (FAECESTOHOST_CONTACT_SPREAD || !FAECESTOHOST_CONTACT_SPREAD &&!(inf.motile == 2 && x.motile == 0)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1152 - let faecestohost_contact_rules:bool = (FAECESTOHOST_CONTACT_SPREAD || !FAECESTOHOST_CONTACT_SPREAD &&!(inf.motile == 2 && x.motile == 0)); [INFO] [stdout] 1152 + let faecestohost_contact_rules:bool = FAECESTOHOST_CONTACT_SPREAD || !FAECESTOHOST_CONTACT_SPREAD &&!(inf.motile == 2 && x.motile == 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:1153:58 [INFO] [stdout] | [INFO] [stdout] 1153 | ...act_rules:bool = (EGGTOFAECES_CONTACT_SPREAD || !EGGTOFAECES_CONTACT_SPREAD && !(inf.motile == 1 && x.motile == 2)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1153 - let eggtofaeces_contact_rules:bool = (EGGTOFAECES_CONTACT_SPREAD || !EGGTOFAECES_CONTACT_SPREAD && !(inf.motile == 1 && x.motile == 2)); [INFO] [stdout] 1153 + let eggtofaeces_contact_rules:bool = EGGTOFAECES_CONTACT_SPREAD || !EGGTOFAECES_CONTACT_SPREAD && !(inf.motile == 1 && x.motile == 2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:1154:58 [INFO] [stdout] | [INFO] [stdout] 1154 | ...act_rules:bool = (FAECESTOEGG_CONTACT_SPREAD || !FAECESTOEGG_CONTACT_SPREAD && !(inf.motile == 2 && x.motile == 1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1154 - let faecestoegg_contact_rules:bool = (FAECESTOEGG_CONTACT_SPREAD || !FAECESTOEGG_CONTACT_SPREAD && !(inf.motile == 2 && x.motile == 1)); [INFO] [stdout] 1154 + let faecestoegg_contact_rules:bool = FAECESTOEGG_CONTACT_SPREAD || !FAECESTOEGG_CONTACT_SPREAD && !(inf.motile == 2 && x.motile == 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Zone_3D` should have an upper camel case name [INFO] [stdout] --> src/main.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct Zone_3D{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Zone3d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Segment_3D` should have an upper camel case name [INFO] [stdout] --> src/main.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct Segment_3D{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Segment3d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:339:56 [INFO] [stdout] | [INFO] [stdout] 339 | ... while start_index > 0 && radialise(((internal_index - start_index) as f64/(step_size as f64) * PI), (((internal_index - start_index... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 339 - while start_index > 0 && radialise(((internal_index - start_index) as f64/(step_size as f64) * PI), (((internal_index - start_index) as u64)*self.segments[0].range_x) as f64, MISHAP_RADIUS) { [INFO] [stdout] 339 + while start_index > 0 && radialise((internal_index - start_index) as f64/(step_size as f64) * PI, (((internal_index - start_index) as u64)*self.segments[0].range_x) as f64, MISHAP_RADIUS) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:343:62 [INFO] [stdout] | [INFO] [stdout] 343 | ... while end_index < step_size && radialise(((end_index -internal_index) as f64/(step_size as f64) * PI), (((end_index -internal_index... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 343 - while end_index < step_size && radialise(((end_index -internal_index) as f64/(step_size as f64) * PI), (((end_index -internal_index) as u64)*self.segments[0].range_x) as f64, MISHAP_RADIUS) { [INFO] [stdout] 343 + while end_index < step_size && radialise((end_index -internal_index) as f64/(step_size as f64) * PI, (((end_index -internal_index) as u64)*self.segments[0].range_x) as f64, MISHAP_RADIUS) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `host` should have an upper camel case name [INFO] [stdout] --> src/main.rs:448:12 [INFO] [stdout] | [INFO] [stdout] 448 | pub struct host{ [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1127:20 [INFO] [stdout] | [INFO] [stdout] 1127 | if (x.contaminated){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1127 - if (x.contaminated){ [INFO] [stdout] 1127 + if x.contaminated { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:1148:57 [INFO] [stdout] | [INFO] [stdout] 1148 | ...ntact_rules:bool = (HOSTTOHOST_CONTACT_SPREAD || !HOSTTOHOST_CONTACT_SPREAD && !(inf.motile == 0 && x.motile ==0)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1148 - let hosttohost_contact_rules:bool = (HOSTTOHOST_CONTACT_SPREAD || !HOSTTOHOST_CONTACT_SPREAD && !(inf.motile == 0 && x.motile ==0)); [INFO] [stdout] 1148 + let hosttohost_contact_rules:bool = HOSTTOHOST_CONTACT_SPREAD || !HOSTTOHOST_CONTACT_SPREAD && !(inf.motile == 0 && x.motile ==0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:1149:56 [INFO] [stdout] | [INFO] [stdout] 1149 | ...ntact_rules:bool = (HOSTTOEGG_CONTACT_SPREAD || (!HOSTTOEGG_CONTACT_SPREAD && !(inf.motile == 0 && x.motile == 1))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1149 - let hosttoegg_contact_rules:bool = (HOSTTOEGG_CONTACT_SPREAD || (!HOSTTOEGG_CONTACT_SPREAD && !(inf.motile == 0 && x.motile == 1))); [INFO] [stdout] 1149 + let hosttoegg_contact_rules:bool = HOSTTOEGG_CONTACT_SPREAD || (!HOSTTOEGG_CONTACT_SPREAD && !(inf.motile == 0 && x.motile == 1)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:1150:59 [INFO] [stdout] | [INFO] [stdout] 1150 | ...act_rules:bool = (HOSTTOFAECES_CONTACT_SPREAD || !HOSTTOFAECES_CONTACT_SPREAD &&!(inf.motile == 0 && x.motile == 2)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1150 - let hosttofaeces_contact_rules:bool = (HOSTTOFAECES_CONTACT_SPREAD || !HOSTTOFAECES_CONTACT_SPREAD &&!(inf.motile == 0 && x.motile == 2)); [INFO] [stdout] 1150 + let hosttofaeces_contact_rules:bool = HOSTTOFAECES_CONTACT_SPREAD || !HOSTTOFAECES_CONTACT_SPREAD &&!(inf.motile == 0 && x.motile == 2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:1151:56 [INFO] [stdout] | [INFO] [stdout] 1151 | ...ontact_rules:bool = (EGGTOHOST_CONTACT_SPREAD || !EGGTOHOST_CONTACT_SPREAD && !(inf.motile == 1 && x.motile == 0)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1151 - let eggtohost_contact_rules:bool = (EGGTOHOST_CONTACT_SPREAD || !EGGTOHOST_CONTACT_SPREAD && !(inf.motile == 1 && x.motile == 0)); [INFO] [stdout] 1151 + let eggtohost_contact_rules:bool = EGGTOHOST_CONTACT_SPREAD || !EGGTOHOST_CONTACT_SPREAD && !(inf.motile == 1 && x.motile == 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:1152:59 [INFO] [stdout] | [INFO] [stdout] 1152 | ...act_rules:bool = (FAECESTOHOST_CONTACT_SPREAD || !FAECESTOHOST_CONTACT_SPREAD &&!(inf.motile == 2 && x.motile == 0)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1152 - let faecestohost_contact_rules:bool = (FAECESTOHOST_CONTACT_SPREAD || !FAECESTOHOST_CONTACT_SPREAD &&!(inf.motile == 2 && x.motile == 0)); [INFO] [stdout] 1152 + let faecestohost_contact_rules:bool = FAECESTOHOST_CONTACT_SPREAD || !FAECESTOHOST_CONTACT_SPREAD &&!(inf.motile == 2 && x.motile == 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:1153:58 [INFO] [stdout] | [INFO] [stdout] 1153 | ...act_rules:bool = (EGGTOFAECES_CONTACT_SPREAD || !EGGTOFAECES_CONTACT_SPREAD && !(inf.motile == 1 && x.motile == 2)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1153 - let eggtofaeces_contact_rules:bool = (EGGTOFAECES_CONTACT_SPREAD || !EGGTOFAECES_CONTACT_SPREAD && !(inf.motile == 1 && x.motile == 2)); [INFO] [stdout] 1153 + let eggtofaeces_contact_rules:bool = EGGTOFAECES_CONTACT_SPREAD || !EGGTOFAECES_CONTACT_SPREAD && !(inf.motile == 1 && x.motile == 2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:1154:58 [INFO] [stdout] | [INFO] [stdout] 1154 | ...act_rules:bool = (FAECESTOEGG_CONTACT_SPREAD || !FAECESTOEGG_CONTACT_SPREAD && !(inf.motile == 2 && x.motile == 1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1154 - let faecestoegg_contact_rules:bool = (FAECESTOEGG_CONTACT_SPREAD || !FAECESTOEGG_CONTACT_SPREAD && !(inf.motile == 2 && x.motile == 1)); [INFO] [stdout] 1154 + let faecestoegg_contact_rules:bool = FAECESTOEGG_CONTACT_SPREAD || !FAECESTOEGG_CONTACT_SPREAD && !(inf.motile == 2 && x.motile == 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `thing` is never read [INFO] [stdout] --> src/main.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut thing: f64 = 0.0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `thing` is never read [INFO] [stdout] --> src/main.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut thing: f64 = 0.0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:139:56 [INFO] [stdout] | [INFO] [stdout] 139 | fn generate(&mut self,infected:bool,colonized:bool,mut n:u32,mut hosts:&mut Vec){ [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:139:66 [INFO] [stdout] | [INFO] [stdout] 139 | fn generate(&mut self,infected:bool,colonized:bool,mut n:u32,mut hosts:&mut Vec){ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:190:44 [INFO] [stdout] | [INFO] [stdout] 190 | self.segments.iter_mut().for_each(|mut seg| { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `thing` is never read [INFO] [stdout] --> src/main.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut thing: f64 = 0.0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `thing` is never read [INFO] [stdout] --> src/main.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut thing: f64 = 0.0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vector_length` [INFO] [stdout] --> src/main.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | let vector_length:usize = vector.len(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:139:56 [INFO] [stdout] | [INFO] [stdout] 139 | fn generate(&mut self,infected:bool,colonized:bool,mut n:u32,mut hosts:&mut Vec){ [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `no_infected` [INFO] [stdout] --> src/main.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | let no_infected : usize = vector.iter().filter(|&x| { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_no_infected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:139:66 [INFO] [stdout] | [INFO] [stdout] 139 | fn generate(&mut self,infected:bool,colonized:bool,mut n:u32,mut hosts:&mut Vec){ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `no_not_infected` [INFO] [stdout] --> src/main.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | let no_not_infected : usize = vector.iter().filter(|&x| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_no_not_infected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `index_spacing` is never read [INFO] [stdout] --> src/main.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | let mut index_spacing:usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `angle_spacing` is never read [INFO] [stdout] --> src/main.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | let mut angle_spacing:usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minima` [INFO] [stdout] --> src/main.rs:325:25 [INFO] [stdout] | [INFO] [stdout] 325 | let mut minima:usize = idx - idx%step_size; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_minima` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `maxima` is never read [INFO] [stdout] --> src/main.rs:328:40 [INFO] [stdout] | [INFO] [stdout] 328 | if maxima>vector.len(){maxima = vector.len();} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indices_to_infect` [INFO] [stdout] --> src/main.rs:364:17 [INFO] [stdout] | [INFO] [stdout] 364 | let mut indices_to_infect: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indices_to_infect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `fail` is never read [INFO] [stdout] --> src/main.rs:375:21 [INFO] [stdout] | [INFO] [stdout] 375 | let mut fail:bool = true; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:190:44 [INFO] [stdout] | [INFO] [stdout] 190 | self.segments.iter_mut().for_each(|mut seg| { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vector_length` [INFO] [stdout] --> src/main.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | let vector_length:usize = vector.len(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `no_infected` [INFO] [stdout] --> src/main.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | let no_infected : usize = vector.iter().filter(|&x| { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_no_infected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `no_not_infected` [INFO] [stdout] --> src/main.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | let no_not_infected : usize = vector.iter().filter(|&x| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_no_not_infected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `index_spacing` is never read [INFO] [stdout] --> src/main.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | let mut index_spacing:usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `angle_spacing` is never read [INFO] [stdout] --> src/main.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | let mut angle_spacing:usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minima` [INFO] [stdout] --> src/main.rs:325:25 [INFO] [stdout] | [INFO] [stdout] 325 | let mut minima:usize = idx - idx%step_size; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_minima` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `maxima` is never read [INFO] [stdout] --> src/main.rs:328:40 [INFO] [stdout] | [INFO] [stdout] 328 | if maxima>vector.len(){maxima = vector.len();} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indices_to_infect` [INFO] [stdout] --> src/main.rs:364:17 [INFO] [stdout] | [INFO] [stdout] 364 | let mut indices_to_infect: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indices_to_infect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `fail` is never read [INFO] [stdout] --> src/main.rs:375:21 [INFO] [stdout] | [INFO] [stdout] 375 | let mut fail:bool = true; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:309:58 [INFO] [stdout] | [INFO] [stdout] 309 | vector.iter_mut().enumerate().for_each(|(idx,mut host)| { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:325:21 [INFO] [stdout] | [INFO] [stdout] 325 | let mut minima:usize = idx - idx%step_size; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:360:13 [INFO] [stdout] | [INFO] [stdout] 360 | let mut chunk_iter = vector.chunks_exact_mut(step_size); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | let mut indices_to_infect: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:412:21 [INFO] [stdout] | [INFO] [stdout] 412 | let mut eviscerator:&mut Eviscerator = evs[j%step_size]; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:309:58 [INFO] [stdout] | [INFO] [stdout] 309 | vector.iter_mut().enumerate().for_each(|(idx,mut host)| { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:325:21 [INFO] [stdout] | [INFO] [stdout] 325 | let mut minima:usize = idx - idx%step_size; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:360:13 [INFO] [stdout] | [INFO] [stdout] 360 | let mut chunk_iter = vector.chunks_exact_mut(step_size); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | let mut indices_to_infect: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:611:37 [INFO] [stdout] | [INFO] [stdout] 611 | vector.iter_mut().for_each(|mut x| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:412:21 [INFO] [stdout] | [INFO] [stdout] 412 | let mut eviscerator:&mut Eviscerator = evs[j%step_size]; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:610:16 [INFO] [stdout] | [INFO] [stdout] 610 | fn recover(mut vector:&mut Vec){ [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:611:37 [INFO] [stdout] | [INFO] [stdout] 611 | vector.iter_mut().for_each(|mut x| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:610:16 [INFO] [stdout] | [INFO] [stdout] 610 | fn recover(mut vector:&mut Vec){ [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:629:41 [INFO] [stdout] | [INFO] [stdout] 629 | vector.iter_mut().for_each(|mut h|{ [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:642:41 [INFO] [stdout] | [INFO] [stdout] 642 | vector.iter_mut().for_each(|mut h|{ [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:629:41 [INFO] [stdout] | [INFO] [stdout] 629 | vector.iter_mut().for_each(|mut h|{ [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:642:41 [INFO] [stdout] | [INFO] [stdout] 642 | vector.iter_mut().for_each(|mut h|{ [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:626:13 [INFO] [stdout] | [INFO] [stdout] 626 | fn feed(mut vector:&mut Vec, origin_x:u64,origin_y:u64,origin_z:u64, zone:usize,time:usize){ [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:626:13 [INFO] [stdout] | [INFO] [stdout] 626 | fn feed(mut vector:&mut Vec, origin_x:u64,origin_y:u64,origin_z:u64, zone:usize,time:usize){ [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/main.rs:723:17 [INFO] [stdout] | [INFO] [stdout] 723 | let mut output:Vec = Vec::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `std_y` [INFO] [stdout] --> src/main.rs:764:33 [INFO] [stdout] | [INFO] [stdout] 764 | ... let std_y:f64 = ((x.range_y as f64)/SPORADICITY) as f64; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_std_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/main.rs:723:17 [INFO] [stdout] | [INFO] [stdout] 723 | let mut output:Vec = Vec::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `std_y` [INFO] [stdout] --> src/main.rs:764:33 [INFO] [stdout] | [INFO] [stdout] 764 | ... let std_y:f64 = ((x.range_y as f64)/SPORADICITY) as f64; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_std_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:730:45 [INFO] [stdout] | [INFO] [stdout] 730 | vector.iter_mut().for_each(|mut x| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:722:18 [INFO] [stdout] | [INFO] [stdout] 722 | fn transport(mut vector:&mut Vec,space:&mut Vec, influx: bool){ //Also to change ;size if you change number of zones [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:723:13 [INFO] [stdout] | [INFO] [stdout] 723 | let mut output:Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:730:45 [INFO] [stdout] | [INFO] [stdout] 730 | vector.iter_mut().for_each(|mut x| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:722:18 [INFO] [stdout] | [INFO] [stdout] 722 | fn transport(mut vector:&mut Vec,space:&mut Vec, influx: bool){ //Also to change ;size if you change number of zones [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:723:13 [INFO] [stdout] | [INFO] [stdout] 723 | let mut output:Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_z` [INFO] [stdout] --> src/main.rs:842:13 [INFO] [stdout] | [INFO] [stdout] 842 | let origin_z = self.origin_z.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_z` [INFO] [stdout] --> src/main.rs:842:13 [INFO] [stdout] | [INFO] [stdout] 842 | let origin_z = self.origin_z.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:869:13 [INFO] [stdout] | [INFO] [stdout] 869 | ... let mut vecc_into: Vec = vector.clone().into_par_iter().filter(|x| x.motile==0 && x.zone>()... [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:869:13 [INFO] [stdout] | [INFO] [stdout] 869 | ... let mut vecc_into: Vec = vector.clone().into_par_iter().filter(|x| x.motile==0 && x.zone>()... [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_x` is never read [INFO] [stdout] --> src/main.rs:941:21 [INFO] [stdout] | [INFO] [stdout] 941 | let mut new_x:f64 = self.x.clone() as f64; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `new_z` is assigned to, but never used [INFO] [stdout] --> src/main.rs:943:21 [INFO] [stdout] | [INFO] [stdout] 943 | let mut new_z:f64 = self.z.clone() as f64; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_new_z` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_z` is never read [INFO] [stdout] --> src/main.rs:962:21 [INFO] [stdout] | [INFO] [stdout] 962 | ... new_z = limits::min(limits::max(self.origin_z as f64,self.z+mult[2]*normal(MEAN_MOVE_Z,STD_MOVE_Z,MAX_MOVE_Z)),self.origin_z as f64... [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_z` is never read [INFO] [stdout] --> src/main.rs:964:21 [INFO] [stdout] | [INFO] [stdout] 964 | new_z = limits::min(self.z+PERCH_HEIGHT, self.origin_z as f64+self.range_z as f64); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_z` is never read [INFO] [stdout] --> src/main.rs:967:21 [INFO] [stdout] | [INFO] [stdout] 967 | new_z = self.origin_z as f64; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_z` is never read [INFO] [stdout] --> src/main.rs:985:21 [INFO] [stdout] | [INFO] [stdout] 985 | ... new_z = limits::min(limits::max(0.0,self.z+mult[2]*normal(MEAN_MOVE_Z,STD_MOVE_Z,MAX_MOVE_Z)),GRIDSIZE[self.zone as usize][2]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_z` is never read [INFO] [stdout] --> src/main.rs:987:21 [INFO] [stdout] | [INFO] [stdout] 987 | new_z = limits::min(self.z+PERCH_HEIGHT, self.origin_z as f64+self.range_z as f64); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_z` is never read [INFO] [stdout] --> src/main.rs:990:21 [INFO] [stdout] | [INFO] [stdout] 990 | new_z = self.origin_z as f64; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_x` is never read [INFO] [stdout] --> src/main.rs:941:21 [INFO] [stdout] | [INFO] [stdout] 941 | let mut new_x:f64 = self.x.clone() as f64; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `new_z` is assigned to, but never used [INFO] [stdout] --> src/main.rs:943:21 [INFO] [stdout] | [INFO] [stdout] 943 | let mut new_z:f64 = self.z.clone() as f64; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_new_z` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_z` is never read [INFO] [stdout] --> src/main.rs:962:21 [INFO] [stdout] | [INFO] [stdout] 962 | ... new_z = limits::min(limits::max(self.origin_z as f64,self.z+mult[2]*normal(MEAN_MOVE_Z,STD_MOVE_Z,MAX_MOVE_Z)),self.origin_z as f64... [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_z` is never read [INFO] [stdout] --> src/main.rs:964:21 [INFO] [stdout] | [INFO] [stdout] 964 | new_z = limits::min(self.z+PERCH_HEIGHT, self.origin_z as f64+self.range_z as f64); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_z` is never read [INFO] [stdout] --> src/main.rs:967:21 [INFO] [stdout] | [INFO] [stdout] 967 | new_z = self.origin_z as f64; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_z` is never read [INFO] [stdout] --> src/main.rs:985:21 [INFO] [stdout] | [INFO] [stdout] 985 | ... new_z = limits::min(limits::max(0.0,self.z+mult[2]*normal(MEAN_MOVE_Z,STD_MOVE_Z,MAX_MOVE_Z)),GRIDSIZE[self.zone as usize][2]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_z` is never read [INFO] [stdout] --> src/main.rs:987:21 [INFO] [stdout] | [INFO] [stdout] 987 | new_z = limits::min(self.z+PERCH_HEIGHT, self.origin_z as f64+self.range_z as f64); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new_z` is never read [INFO] [stdout] --> src/main.rs:990:21 [INFO] [stdout] | [INFO] [stdout] 990 | new_z = self.origin_z as f64; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1057:26 [INFO] [stdout] | [INFO] [stdout] 1057 | .filter_map(|mut x| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1057:26 [INFO] [stdout] | [INFO] [stdout] 1057 | .filter_map(|mut x| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1126:26 [INFO] [stdout] | [INFO] [stdout] 1126 | .filter_map(|mut x| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1126:26 [INFO] [stdout] | [INFO] [stdout] 1126 | .filter_map(|mut x| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1196:64 [INFO] [stdout] | [INFO] [stdout] 1196 | let vec1:Vec = inventory.into_iter().filter_map(|mut x| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1214:64 [INFO] [stdout] | [INFO] [stdout] 1214 | let vec1:Vec = inventory.into_iter().filter_map(|mut x| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1237:64 [INFO] [stdout] | [INFO] [stdout] 1237 | let vec1:Vec = inventory.into_iter().filter_map(|mut x| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1196:64 [INFO] [stdout] | [INFO] [stdout] 1196 | let vec1:Vec = inventory.into_iter().filter_map(|mut x| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1214:64 [INFO] [stdout] | [INFO] [stdout] 1214 | let vec1:Vec = inventory.into_iter().filter_map(|mut x| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1237:64 [INFO] [stdout] | [INFO] [stdout] 1237 | let vec1:Vec = inventory.into_iter().filter_map(|mut x| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1283:13 [INFO] [stdout] | [INFO] [stdout] 1283 | let mut inventory:Vec = inventory.clone().into_iter().filter(|x|{ [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1322:44 [INFO] [stdout] | [INFO] [stdout] 1322 | zone.segments.iter_mut().for_each(|mut x| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1283:13 [INFO] [stdout] | [INFO] [stdout] 1283 | let mut inventory:Vec = inventory.clone().into_iter().filter(|x|{ [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `collect` is never read [INFO] [stdout] --> src/main.rs:1435:17 [INFO] [stdout] | [INFO] [stdout] 1435 | let mut collect: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collection_zone_no` [INFO] [stdout] --> src/main.rs:1512:13 [INFO] [stdout] | [INFO] [stdout] 1512 | let collection_zone_no:u8 = no_of_zones as u8+1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collection_zone_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1322:44 [INFO] [stdout] | [INFO] [stdout] 1322 | zone.segments.iter_mut().for_each(|mut x| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `collect` is never read [INFO] [stdout] --> src/main.rs:1435:17 [INFO] [stdout] | [INFO] [stdout] 1435 | let mut collect: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collection_zone_no` [INFO] [stdout] --> src/main.rs:1512:13 [INFO] [stdout] | [INFO] [stdout] 1512 | let collection_zone_no:u8 = no_of_zones as u8+1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collection_zone_no` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1427:9 [INFO] [stdout] | [INFO] [stdout] 1427 | let mut file = OpenOptions::new() [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1515:51 [INFO] [stdout] | [INFO] [stdout] 1515 | ... let [mut perc_cont,mut perc,mut perc2,mut total_hosts,mut total_hosts2,mut perc3,mut perc4,mut total_hosts4] = host::zone_report(&h... [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1515:67 [INFO] [stdout] | [INFO] [stdout] 1515 | ... let [mut perc_cont,mut perc,mut perc2,mut total_hosts,mut total_hosts2,mut perc3,mut perc4,mut total_hosts4] = host::zone_report(&h... [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1515:104 [INFO] [stdout] | [INFO] [stdout] 1515 | ... let [mut perc_cont,mut perc,mut perc2,mut total_hosts,mut total_hosts2,mut perc3,mut perc4,mut total_hosts4] = host::zone_report(&h... [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1427:9 [INFO] [stdout] | [INFO] [stdout] 1427 | let mut file = OpenOptions::new() [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1515:51 [INFO] [stdout] | [INFO] [stdout] 1515 | ... let [mut perc_cont,mut perc,mut perc2,mut total_hosts,mut total_hosts2,mut perc3,mut perc4,mut total_hosts4] = host::zone_report(&h... [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1515:67 [INFO] [stdout] | [INFO] [stdout] 1515 | ... let [mut perc_cont,mut perc,mut perc2,mut total_hosts,mut total_hosts2,mut perc3,mut perc4,mut total_hosts4] = host::zone_report(&h... [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:1515:104 [INFO] [stdout] | [INFO] [stdout] 1515 | ... let [mut perc_cont,mut perc,mut perc2,mut total_hosts,mut total_hosts2,mut perc3,mut perc4,mut total_hosts4] = host::zone_report(&h... [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `eviscerate` is never read [INFO] [stdout] --> src/main.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct Zone_3D{ [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 121 | eviscerate:bool [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Zone_3D` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `eviscerated` is never read [INFO] [stdout] --> src/main.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct Segment_3D{ [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 134 | eviscerated:bool [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Segment_3D` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate` is never used [INFO] [stdout] --> src/main.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 138 | impl Segment_3D{ [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 139 | fn generate(&mut self,infected:bool,colonized:bool,mut n:u32,mut hosts:&mut Vec){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `generate_full` and `modify` are never used [INFO] [stdout] --> src/main.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 160 | impl Zone_3D{ [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 213 | fn generate_full(zone:usize,grid:[u64;3],step:[usize;3])->Zone_3D{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | fn modify(&mut self, start:[u64;3], end:[u64;3], range:[usize;3]){//range is synonymous with the stepsize in side STEP -> we are modi... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TIME_TO_COLONIZE` is never used [INFO] [stdout] --> src/main.rs:490:7 [INFO] [stdout] | [INFO] [stdout] 490 | const TIME_TO_COLONIZE:[f64;2] = [5.0*24.0, 11.6*24.0]; //95% CI for generation time [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLONIZE_TIME_MAX_OVERRIDE` is never used [INFO] [stdout] --> src/main.rs:491:7 [INFO] [stdout] | [INFO] [stdout] 491 | const COLONIZE_TIME_MAX_OVERRIDE:f64 = 26.0*24.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TIME_OF_COLLECTION` is never used [INFO] [stdout] --> src/main.rs:590:7 [INFO] [stdout] | [INFO] [stdout] 590 | const TIME_OF_COLLECTION :f64 = 200.0; //Time that the host has spent in the last zone from which you collect ONLY. NOT THE TOTAL TIME SP... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `eviscerate` is never read [INFO] [stdout] --> src/main.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct Zone_3D{ [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 121 | eviscerate:bool [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Zone_3D` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `eviscerated` is never read [INFO] [stdout] --> src/main.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct Segment_3D{ [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 134 | eviscerated:bool [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Segment_3D` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate` is never used [INFO] [stdout] --> src/main.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 138 | impl Segment_3D{ [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 139 | fn generate(&mut self,infected:bool,colonized:bool,mut n:u32,mut hosts:&mut Vec){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `infect`, `contaminate_multiple`, `collect`, `collect_and_replace`, and `report` are never used [INFO] [stdout] --> src/main.rs:680:8 [INFO] [stdout] | [INFO] [stdout] 609 | impl host{ [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 680 | fn infect(mut vector:Vec,loc_x:u64,loc_y:u64,loc_z:u64,zone:usize)->Vec{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 706 | fn contaminate_multiple(mut vector:Vec,loc_x:u64,loc_y:u64,loc_z:u64,n:usize,zone:usize)->Vec{ //homogeneous application ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1194 | fn collect(inventory:Vec)->[Vec;2]{ //hosts and deposits potentially get collected [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1235 | fn collect_and_replace(inventory:Vec,zone:&mut Zone_3D)->[Vec;2]{ //same as collect but HOSTS GET REPLACED (with a Pois... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1264 | fn report(inventory:&Vec)->[f64;4]{ //simple function to quickly return the percentage of infected hosts [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `generate_full` and `modify` are never used [INFO] [stdout] --> src/main.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 160 | impl Zone_3D{ [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 213 | fn generate_full(zone:usize,grid:[u64;3],step:[usize;3])->Zone_3D{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | fn modify(&mut self, start:[u64;3], end:[u64;3], range:[usize;3]){//range is synonymous with the stepsize in side STEP -> we are modi... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Outbreak_CIC` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `outbreak_cic` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TIME_TO_COLONIZE` is never used [INFO] [stdout] --> src/main.rs:490:7 [INFO] [stdout] | [INFO] [stdout] 490 | const TIME_TO_COLONIZE:[f64;2] = [5.0*24.0, 11.6*24.0]; //95% CI for generation time [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLONIZE_TIME_MAX_OVERRIDE` is never used [INFO] [stdout] --> src/main.rs:491:7 [INFO] [stdout] | [INFO] [stdout] 491 | const COLONIZE_TIME_MAX_OVERRIDE:f64 = 26.0*24.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TIME_OF_COLLECTION` is never used [INFO] [stdout] --> src/main.rs:590:7 [INFO] [stdout] | [INFO] [stdout] 590 | const TIME_OF_COLLECTION :f64 = 200.0; //Time that the host has spent in the last zone from which you collect ONLY. NOT THE TOTAL TIME SP... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `infect`, `contaminate_multiple`, `collect`, `collect_and_replace`, and `report` are never used [INFO] [stdout] --> src/main.rs:680:8 [INFO] [stdout] | [INFO] [stdout] 609 | impl host{ [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 680 | fn infect(mut vector:Vec,loc_x:u64,loc_y:u64,loc_z:u64,zone:usize)->Vec{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 706 | fn contaminate_multiple(mut vector:Vec,loc_x:u64,loc_y:u64,loc_z:u64,n:usize,zone:usize)->Vec{ //homogeneous application ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1194 | fn collect(inventory:Vec)->[Vec;2]{ //hosts and deposits potentially get collected [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1235 | fn collect_and_replace(inventory:Vec,zone:&mut Zone_3D)->[Vec;2]{ //same as collect but HOSTS GET REPLACED (with a Pois... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1264 | fn report(inventory:&Vec)->[f64;4]{ //simple function to quickly return the percentage of infected hosts [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Outbreak_CIC` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `outbreak_cic` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ages` should have an upper case name [INFO] [stdout] --> src/main.rs:583:7 [INFO] [stdout] | [INFO] [stdout] 583 | const ages:[f64;4] = [1.0,10.0,10.0,2.0]; //Time hosts are expected spend in each region minimally [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `AGES` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ages` should have an upper case name [INFO] [stdout] --> src/main.rs:583:7 [INFO] [stdout] | [INFO] [stdout] 583 | const ages:[f64;4] = [1.0,10.0,10.0,2.0]; //Time hosts are expected spend in each region minimally [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `AGES` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FinalZone` should have a snake case name [INFO] [stdout] --> src/main.rs:1462:17 [INFO] [stdout] | [INFO] [stdout] 1462 | let mut FinalZone:&mut Zone_3D = &mut zones[GRIDSIZE.len()-1]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `final_zone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FinalZone` should have a snake case name [INFO] [stdout] --> src/main.rs:1462:17 [INFO] [stdout] | [INFO] [stdout] 1462 | let mut FinalZone:&mut Zone_3D = &mut zones[GRIDSIZE.len()-1]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `final_zone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:1526:13 [INFO] [stdout] | [INFO] [stdout] 1526 | / wtr.write_record(&[ [INFO] [stdout] 1527 | | perc_cont.to_string(), [INFO] [stdout] 1528 | | total_hosts.to_string(), [INFO] [stdout] 1529 | | no_cont.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 1541 | | format!("Zone {}", iter), [INFO] [stdout] 1542 | | ]); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1526 | let _ = wtr.write_record(&[ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:1526:13 [INFO] [stdout] | [INFO] [stdout] 1526 | / wtr.write_record(&[ [INFO] [stdout] 1527 | | perc_cont.to_string(), [INFO] [stdout] 1528 | | total_hosts.to_string(), [INFO] [stdout] 1529 | | no_cont.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 1541 | | format!("Zone {}", iter), [INFO] [stdout] 1542 | | ]); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1526 | let _ = wtr.write_record(&[ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 80 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 80 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.10s [INFO] running `Command { std: "docker" "inspect" "a3ec9345fc16c6ce87bc8e5d227977dfbb610b11fd5132001d367f3fa9e07d73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3ec9345fc16c6ce87bc8e5d227977dfbb610b11fd5132001d367f3fa9e07d73", kill_on_drop: false }` [INFO] [stdout] a3ec9345fc16c6ce87bc8e5d227977dfbb610b11fd5132001d367f3fa9e07d73 [INFO] checking MrMisc/Outbreak_CIC-Model against try#e2d5da3bc6e298ce5f33ab9bd4e47f6a307ec8d0 for pr-121072 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrMisc%2FOutbreak_CIC-Model" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 91% (551/603) Updating files: 92% (555/603) Updating files: 93% (561/603) Updating files: 94% (567/603) Updating files: 95% (573/603) Updating files: 96% (579/603) Updating files: 97% (585/603) Updating files: 98% (591/603) Updating files: 99% (597/603) Updating files: 100% (603/603) Updating files: 100% (603/603), done. [INFO] validating manifest of git repo https://github.com/MrMisc/Outbreak_CIC-Model on toolchain e2d5da3bc6e298ce5f33ab9bd4e47f6a307ec8d0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e2d5da3bc6e298ce5f33ab9bd4e47f6a307ec8d0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MrMisc/Outbreak_CIC-Model [INFO] finished tweaking git repo https://github.com/MrMisc/Outbreak_CIC-Model [INFO] tweaked toml for git repo https://github.com/MrMisc/Outbreak_CIC-Model written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MrMisc/Outbreak_CIC-Model 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" "+e2d5da3bc6e298ce5f33ab9bd4e47f6a307ec8d0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+e2d5da3bc6e298ce5f33ab9bd4e47f6a307ec8d0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ee3d172665f88e2b24009edf4e2b93c5b28be8bbe54b4a61f21f17c63eefa86 [INFO] running `Command { std: "docker" "start" "-a" "2ee3d172665f88e2b24009edf4e2b93c5b28be8bbe54b4a61f21f17c63eefa86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ee3d172665f88e2b24009edf4e2b93c5b28be8bbe54b4a61f21f17c63eefa86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ee3d172665f88e2b24009edf4e2b93c5b28be8bbe54b4a61f21f17c63eefa86", kill_on_drop: false }` [INFO] [stdout] 2ee3d172665f88e2b24009edf4e2b93c5b28be8bbe54b4a61f21f17c63eefa86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+e2d5da3bc6e298ce5f33ab9bd4e47f6a307ec8d0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ec107957a3f3d4ff949dc0b0a756d77616a2eeb4f7a006047768069970dc9b8 [INFO] running `Command { std: "docker" "start" "-a" "7ec107957a3f3d4ff949dc0b0a756d77616a2eeb4f7a006047768069970dc9b8", kill_on_drop: false }` [INFO] [stderr] time="2024-02-19T06:45:39Z" level=error msg="error waiting for container: " [INFO] [stderr] Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: unable to apply cgroup configuration: unable to start unit "docker-7ec107957a3f3d4ff949dc0b0a756d77616a2eeb4f7a006047768069970dc9b8.scope" (properties [{Name:Description Value:"libcontainer container 7ec107957a3f3d4ff949dc0b0a756d77616a2eeb4f7a006047768069970dc9b8"} {Name:Slice Value:"system.slice"} {Name:Delegate Value:true} {Name:PIDs Value:@au [900432]} {Name:MemoryAccounting Value:true} {Name:CPUAccounting Value:true} {Name:IOAccounting Value:true} {Name:TasksAccounting Value:true} {Name:DefaultDependencies Value:false}]): Message recipient disconnected from message bus without replying: unknown [INFO] running `Command { std: "docker" "inspect" "7ec107957a3f3d4ff949dc0b0a756d77616a2eeb4f7a006047768069970dc9b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ec107957a3f3d4ff949dc0b0a756d77616a2eeb4f7a006047768069970dc9b8", kill_on_drop: false }` [INFO] [stdout] 7ec107957a3f3d4ff949dc0b0a756d77616a2eeb4f7a006047768069970dc9b8