[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] cdb7ed69474c4fec40143f98c893195e327b23b4 [INFO] checking MrMisc/Outbreak_CIC-Model against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrMisc%2FOutbreak_CIC-Model" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/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 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "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-7-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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded statrs v0.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b1554307fc255397e7d07d92102954d9e6e53f3066d5cc54aba145b2f5f87f3 [INFO] running `Command { std: "docker" "start" "-a" "4b1554307fc255397e7d07d92102954d9e6e53f3066d5cc54aba145b2f5f87f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b1554307fc255397e7d07d92102954d9e6e53f3066d5cc54aba145b2f5f87f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b1554307fc255397e7d07d92102954d9e6e53f3066d5cc54aba145b2f5f87f3", kill_on_drop: false }` [INFO] [stdout] 4b1554307fc255397e7d07d92102954d9e6e53f3066d5cc54aba145b2f5f87f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ace62c310ff99cdce0b6029cc4e5a6274c305cfff50c1a95e3ab72817616471f [INFO] running `Command { std: "docker" "start" "-a" "ace62c310ff99cdce0b6029cc4e5a6274c305cfff50c1a95e3ab72817616471f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-integer v0.1.45 [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] Compiling syn v2.0.38 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking wide v0.7.13 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking rand_chacha v0.3.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] Compiling serde_json v1.0.107 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking simba v0.6.0 [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:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | 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`, and `Weibull` [INFO] [stdout] --> src/main.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | use statrs::distribution::{Normal, Poisson, StudentsT, Triangular, Weibull,Gamma}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `io` and `process` [INFO] [stdout] --> src/main.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | use std::{fs, io, process}; [INFO] [stdout] | ^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Standard` [INFO] [stdout] --> src/main.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | 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: type `Zone_3D` should have an upper camel case name [INFO] [stdout] --> src/main.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | 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:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct Segment_3D{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Segment3d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StudentsT`, `Triangular`, and `Weibull` [INFO] [stdout] --> src/main.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | use statrs::distribution::{Normal, Poisson, StudentsT, Triangular, Weibull,Gamma}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:406:56 [INFO] [stdout] | [INFO] [stdout] 406 | ... 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] 406 - 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] 406 + 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: unused imports: `io` and `process` [INFO] [stdout] --> src/main.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | 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:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | 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: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:410:62 [INFO] [stdout] | [INFO] [stdout] 410 | ... 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] 410 - 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] 410 + 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 `Segment_3D` should have an upper camel case name [INFO] [stdout] --> src/main.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct Segment_3D{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Segment3d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `host` should have an upper camel case name [INFO] [stdout] --> src/main.rs:515:12 [INFO] [stdout] | [INFO] [stdout] 515 | 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:1239:20 [INFO] [stdout] | [INFO] [stdout] 1239 | if (x.contaminated){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1239 - if (x.contaminated){ [INFO] [stdout] 1239 + if x.contaminated { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:1260:57 [INFO] [stdout] | [INFO] [stdout] 1260 | ...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] 1260 - let hosttohost_contact_rules:bool = (HOSTTOHOST_CONTACT_SPREAD || !HOSTTOHOST_CONTACT_SPREAD && !(inf.motile == 0 && x.motile ==0)); [INFO] [stdout] 1260 + 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:1261:56 [INFO] [stdout] | [INFO] [stdout] 1261 | ...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] 1261 - let hosttoegg_contact_rules:bool = (HOSTTOEGG_CONTACT_SPREAD || (!HOSTTOEGG_CONTACT_SPREAD && !(inf.motile == 0 && x.motile == 1))); [INFO] [stdout] 1261 + 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:1262:59 [INFO] [stdout] | [INFO] [stdout] 1262 | ...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] 1262 - let hosttofaeces_contact_rules:bool = (HOSTTOFAECES_CONTACT_SPREAD || !HOSTTOFAECES_CONTACT_SPREAD &&!(inf.motile == 0 && x.motile == 2)); [INFO] [stdout] 1262 + 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:1263:56 [INFO] [stdout] | [INFO] [stdout] 1263 | ...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] 1263 - let eggtohost_contact_rules:bool = (EGGTOHOST_CONTACT_SPREAD || !EGGTOHOST_CONTACT_SPREAD && !(inf.motile == 1 && x.motile == 0)); [INFO] [stdout] 1263 + 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:1264:59 [INFO] [stdout] | [INFO] [stdout] 1264 | ...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] 1264 - let faecestohost_contact_rules:bool = (FAECESTOHOST_CONTACT_SPREAD || !FAECESTOHOST_CONTACT_SPREAD &&!(inf.motile == 2 && x.motile == 0)); [INFO] [stdout] 1264 + 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 function argument [INFO] [stdout] --> src/main.rs:406:56 [INFO] [stdout] | [INFO] [stdout] 406 | ... 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] 406 - 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] 406 + 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 assigned value [INFO] [stdout] --> src/main.rs:1265:58 [INFO] [stdout] | [INFO] [stdout] 1265 | ...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] 1265 - let eggtofaeces_contact_rules:bool = (EGGTOFAECES_CONTACT_SPREAD || !EGGTOFAECES_CONTACT_SPREAD && !(inf.motile == 1 && x.motile == 2)); [INFO] [stdout] 1265 + 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:1266:58 [INFO] [stdout] | [INFO] [stdout] 1266 | ...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] 1266 - let faecestoegg_contact_rules:bool = (FAECESTOEGG_CONTACT_SPREAD || !FAECESTOEGG_CONTACT_SPREAD && !(inf.motile == 2 && x.motile == 1)); [INFO] [stdout] 1266 + 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: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:410:62 [INFO] [stdout] | [INFO] [stdout] 410 | ... 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] 410 - 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] 410 + 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:515:12 [INFO] [stdout] | [INFO] [stdout] 515 | 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:1239:20 [INFO] [stdout] | [INFO] [stdout] 1239 | if (x.contaminated){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1239 - if (x.contaminated){ [INFO] [stdout] 1239 + if x.contaminated { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:1260:57 [INFO] [stdout] | [INFO] [stdout] 1260 | ...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] 1260 - let hosttohost_contact_rules:bool = (HOSTTOHOST_CONTACT_SPREAD || !HOSTTOHOST_CONTACT_SPREAD && !(inf.motile == 0 && x.motile ==0)); [INFO] [stdout] 1260 + 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:1261:56 [INFO] [stdout] | [INFO] [stdout] 1261 | ...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] 1261 - let hosttoegg_contact_rules:bool = (HOSTTOEGG_CONTACT_SPREAD || (!HOSTTOEGG_CONTACT_SPREAD && !(inf.motile == 0 && x.motile == 1))); [INFO] [stdout] 1261 + 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:1262:59 [INFO] [stdout] | [INFO] [stdout] 1262 | ...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] 1262 - let hosttofaeces_contact_rules:bool = (HOSTTOFAECES_CONTACT_SPREAD || !HOSTTOFAECES_CONTACT_SPREAD &&!(inf.motile == 0 && x.motile == 2)); [INFO] [stdout] 1262 + 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:1263:56 [INFO] [stdout] | [INFO] [stdout] 1263 | ...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] 1263 - let eggtohost_contact_rules:bool = (EGGTOHOST_CONTACT_SPREAD || !EGGTOHOST_CONTACT_SPREAD && !(inf.motile == 1 && x.motile == 0)); [INFO] [stdout] 1263 + 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:1264:59 [INFO] [stdout] | [INFO] [stdout] 1264 | ...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] 1264 - let faecestohost_contact_rules:bool = (FAECESTOHOST_CONTACT_SPREAD || !FAECESTOHOST_CONTACT_SPREAD &&!(inf.motile == 2 && x.motile == 0)); [INFO] [stdout] 1264 + 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:1265:58 [INFO] [stdout] | [INFO] [stdout] 1265 | ...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] 1265 - let eggtofaeces_contact_rules:bool = (EGGTOFAECES_CONTACT_SPREAD || !EGGTOFAECES_CONTACT_SPREAD && !(inf.motile == 1 && x.motile == 2)); [INFO] [stdout] 1265 + 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:1266:58 [INFO] [stdout] | [INFO] [stdout] 1266 | ...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] 1266 - let faecestoegg_contact_rules:bool = (FAECESTOEGG_CONTACT_SPREAD || !FAECESTOEGG_CONTACT_SPREAD && !(inf.motile == 2 && x.motile == 1)); [INFO] [stdout] 1266 + 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: unused import: `rand::prelude::SliceRandom` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::prelude::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::SliceRandom` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::prelude::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `thing` is never read [INFO] [stdout] --> src/main.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | 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:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | 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: value assigned to `thing` is never read [INFO] [stdout] --> src/main.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | 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:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | 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:140:56 [INFO] [stdout] | [INFO] [stdout] 140 | 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:140:66 [INFO] [stdout] | [INFO] [stdout] 140 | 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:140:56 [INFO] [stdout] | [INFO] [stdout] 140 | 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:140:66 [INFO] [stdout] | [INFO] [stdout] 140 | 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:194:44 [INFO] [stdout] | [INFO] [stdout] 194 | 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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:194:44 [INFO] [stdout] | [INFO] [stdout] 194 | 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: `counter` [INFO] [stdout] --> src/main.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | counter:usize, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_counter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `counter` [INFO] [stdout] --> src/main.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | counter:usize, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_counter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vector_length` [INFO] [stdout] --> src/main.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | let vector_length:usize = vector.len(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `no_infected` [INFO] [stdout] --> src/main.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | 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:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | 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:345:17 [INFO] [stdout] | [INFO] [stdout] 345 | 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:359:21 [INFO] [stdout] | [INFO] [stdout] 359 | 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:392:25 [INFO] [stdout] | [INFO] [stdout] 392 | 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:395:40 [INFO] [stdout] | [INFO] [stdout] 395 | 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:432:17 [INFO] [stdout] | [INFO] [stdout] 432 | 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:443:21 [INFO] [stdout] | [INFO] [stdout] 443 | 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: unused variable: `set` [INFO] [stdout] --> src/main.rs:297:95 [INFO] [stdout] | [INFO] [stdout] 297 | fn eviscerate(&mut self,evs:&mut Vec, vector:&mut Vec<&mut host>,time:usize, set:usize)->Vec{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vector_length` [INFO] [stdout] --> src/main.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | let vector_length:usize = vector.len(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vector_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `no_infected` [INFO] [stdout] --> src/main.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | 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:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | 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:345:17 [INFO] [stdout] | [INFO] [stdout] 345 | 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:359:21 [INFO] [stdout] | [INFO] [stdout] 359 | 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:392:25 [INFO] [stdout] | [INFO] [stdout] 392 | 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:395:40 [INFO] [stdout] | [INFO] [stdout] 395 | 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:432:17 [INFO] [stdout] | [INFO] [stdout] 432 | 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:443:21 [INFO] [stdout] | [INFO] [stdout] 443 | 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: unused variable: `set` [INFO] [stdout] --> src/main.rs:297:95 [INFO] [stdout] | [INFO] [stdout] 297 | fn eviscerate(&mut self,evs:&mut Vec, vector:&mut Vec<&mut host>,time:usize, set:usize)->Vec{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:376:58 [INFO] [stdout] | [INFO] [stdout] 376 | 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:376:58 [INFO] [stdout] | [INFO] [stdout] 376 | 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:392:21 [INFO] [stdout] | [INFO] [stdout] 392 | 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:428:13 [INFO] [stdout] | [INFO] [stdout] 428 | 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:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | 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:480:21 [INFO] [stdout] | [INFO] [stdout] 480 | let mut eviscerator:&mut Eviscerator = &mut 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:392:21 [INFO] [stdout] | [INFO] [stdout] 392 | 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:428:13 [INFO] [stdout] | [INFO] [stdout] 428 | 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:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | 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:480:21 [INFO] [stdout] | [INFO] [stdout] 480 | let mut eviscerator:&mut Eviscerator = &mut 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:685:37 [INFO] [stdout] | [INFO] [stdout] 685 | 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:684:16 [INFO] [stdout] | [INFO] [stdout] 684 | 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:685:37 [INFO] [stdout] | [INFO] [stdout] 685 | 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:684:16 [INFO] [stdout] | [INFO] [stdout] 684 | 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:703:41 [INFO] [stdout] | [INFO] [stdout] 703 | 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:716:41 [INFO] [stdout] | [INFO] [stdout] 716 | 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:703:41 [INFO] [stdout] | [INFO] [stdout] 703 | 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:716:41 [INFO] [stdout] | [INFO] [stdout] 716 | 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:700:13 [INFO] [stdout] | [INFO] [stdout] 700 | 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:700:13 [INFO] [stdout] | [INFO] [stdout] 700 | 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:798:17 [INFO] [stdout] | [INFO] [stdout] 798 | 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:849:33 [INFO] [stdout] | [INFO] [stdout] 849 | ... 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:798:17 [INFO] [stdout] | [INFO] [stdout] 798 | 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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:808:45 [INFO] [stdout] | [INFO] [stdout] 808 | vector.iter_mut().for_each(|mut x| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `std_y` [INFO] [stdout] --> src/main.rs:849:33 [INFO] [stdout] | [INFO] [stdout] 849 | ... 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:797:18 [INFO] [stdout] | [INFO] [stdout] 797 | 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:798:13 [INFO] [stdout] | [INFO] [stdout] 798 | 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:927:13 [INFO] [stdout] | [INFO] [stdout] 927 | 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:808:45 [INFO] [stdout] | [INFO] [stdout] 808 | 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:797:18 [INFO] [stdout] | [INFO] [stdout] 797 | 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:798:13 [INFO] [stdout] | [INFO] [stdout] 798 | 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:927:13 [INFO] [stdout] | [INFO] [stdout] 927 | 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:954:13 [INFO] [stdout] | [INFO] [stdout] 954 | ... 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:954:13 [INFO] [stdout] | [INFO] [stdout] 954 | ... 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:1026:21 [INFO] [stdout] | [INFO] [stdout] 1026 | 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:1028:21 [INFO] [stdout] | [INFO] [stdout] 1028 | 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:1047:21 [INFO] [stdout] | [INFO] [stdout] 1047 | ... 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:1049:21 [INFO] [stdout] | [INFO] [stdout] 1049 | 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:1052:21 [INFO] [stdout] | [INFO] [stdout] 1052 | 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:1070:21 [INFO] [stdout] | [INFO] [stdout] 1070 | ... 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:1072:21 [INFO] [stdout] | [INFO] [stdout] 1072 | 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:1075:21 [INFO] [stdout] | [INFO] [stdout] 1075 | 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:1026:21 [INFO] [stdout] | [INFO] [stdout] 1026 | 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:1028:21 [INFO] [stdout] | [INFO] [stdout] 1028 | 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:1047:21 [INFO] [stdout] | [INFO] [stdout] 1047 | ... 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:1049:21 [INFO] [stdout] | [INFO] [stdout] 1049 | 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:1052:21 [INFO] [stdout] | [INFO] [stdout] 1052 | 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:1070:21 [INFO] [stdout] | [INFO] [stdout] 1070 | ... 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:1072:21 [INFO] [stdout] | [INFO] [stdout] 1072 | 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:1075:21 [INFO] [stdout] | [INFO] [stdout] 1075 | 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:1167:26 [INFO] [stdout] | [INFO] [stdout] 1167 | .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:1167:26 [INFO] [stdout] | [INFO] [stdout] 1167 | .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:1238:26 [INFO] [stdout] | [INFO] [stdout] 1238 | .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:1238:26 [INFO] [stdout] | [INFO] [stdout] 1238 | .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:1321:64 [INFO] [stdout] | [INFO] [stdout] 1321 | 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:1321:64 [INFO] [stdout] | [INFO] [stdout] 1321 | 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:1339:64 [INFO] [stdout] | [INFO] [stdout] 1339 | 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:1339:64 [INFO] [stdout] | [INFO] [stdout] 1339 | 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:1362:64 [INFO] [stdout] | [INFO] [stdout] 1362 | 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:1362:64 [INFO] [stdout] | [INFO] [stdout] 1362 | 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:1408:13 [INFO] [stdout] | [INFO] [stdout] 1408 | 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:1408:13 [INFO] [stdout] | [INFO] [stdout] 1408 | 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:1447:44 [INFO] [stdout] | [INFO] [stdout] 1447 | 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:1447:44 [INFO] [stdout] | [INFO] [stdout] 1447 | 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:1565:17 [INFO] [stdout] | [INFO] [stdout] 1565 | 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: value assigned to `collect` is never read [INFO] [stdout] --> src/main.rs:1565:17 [INFO] [stdout] | [INFO] [stdout] 1565 | 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:1660:13 [INFO] [stdout] | [INFO] [stdout] 1660 | 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: unused variable: `collection_zone_no` [INFO] [stdout] --> src/main.rs:1660:13 [INFO] [stdout] | [INFO] [stdout] 1660 | 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:1582:43 [INFO] [stdout] | [INFO] [stdout] 1582 | eviscerators.iter_mut().for_each(|mut ev|{ [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:1582:43 [INFO] [stdout] | [INFO] [stdout] 1582 | eviscerators.iter_mut().for_each(|mut ev|{ [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:1556:9 [INFO] [stdout] | [INFO] [stdout] 1556 | 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:1663:51 [INFO] [stdout] | [INFO] [stdout] 1663 | ... 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:1663:67 [INFO] [stdout] | [INFO] [stdout] 1663 | ... 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:1663:104 [INFO] [stdout] | [INFO] [stdout] 1663 | ... 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:1556:9 [INFO] [stdout] | [INFO] [stdout] 1556 | 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:1663:51 [INFO] [stdout] | [INFO] [stdout] 1663 | ... 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:1663:67 [INFO] [stdout] | [INFO] [stdout] 1663 | ... 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:1663:104 [INFO] [stdout] | [INFO] [stdout] 1663 | ... 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:122:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct Zone_3D{ [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 122 | 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:135:5 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct Segment_3D{ [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 135 | 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:140:8 [INFO] [stdout] | [INFO] [stdout] 139 | impl Segment_3D{ [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 140 | 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:217:8 [INFO] [stdout] | [INFO] [stdout] 164 | impl Zone_3D{ [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 217 | fn generate_full(zone:usize,grid:[u64;3],step:[usize;3])->Zone_3D{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | 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:559:7 [INFO] [stdout] | [INFO] [stdout] 559 | 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:560:7 [INFO] [stdout] | [INFO] [stdout] 560 | const COLONIZE_TIME_MAX_OVERRIDE:f64 = 26.0*24.0; [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:754:8 [INFO] [stdout] | [INFO] [stdout] 683 | impl host{ [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 754 | fn infect(mut vector:Vec,loc_x:u64,loc_y:u64,loc_z:u64,zone:usize)->Vec{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 781 | 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] 1319 | fn collect(inventory:Vec)->[Vec;2]{ //hosts and deposits potentially get collected [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1360 | 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] 1389 | 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: field `eviscerate` is never read [INFO] [stdout] --> src/main.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct Zone_3D{ [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 122 | 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:135:5 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct Segment_3D{ [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 135 | 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:140:8 [INFO] [stdout] | [INFO] [stdout] 139 | impl Segment_3D{ [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 140 | fn generate(&mut self,infected:bool,colonized:bool,mut n:u32,mut hosts:&mut Vec){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ages` should have an upper case name [INFO] [stdout] --> src/main.rs:658:7 [INFO] [stdout] | [INFO] [stdout] 658 | const ages:[f64;2] = [0.01,1.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: associated items `generate_full` and `modify` are never used [INFO] [stdout] --> src/main.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 164 | impl Zone_3D{ [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 217 | fn generate_full(zone:usize,grid:[u64;3],step:[usize;3])->Zone_3D{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | 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:559:7 [INFO] [stdout] | [INFO] [stdout] 559 | 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:560:7 [INFO] [stdout] | [INFO] [stdout] 560 | const COLONIZE_TIME_MAX_OVERRIDE:f64 = 26.0*24.0; [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:754:8 [INFO] [stdout] | [INFO] [stdout] 683 | impl host{ [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 754 | fn infect(mut vector:Vec,loc_x:u64,loc_y:u64,loc_z:u64,zone:usize)->Vec{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 781 | 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] 1319 | fn collect(inventory:Vec)->[Vec;2]{ //hosts and deposits potentially get collected [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1360 | 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] 1389 | 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: constant `ages` should have an upper case name [INFO] [stdout] --> src/main.rs:658:7 [INFO] [stdout] | [INFO] [stdout] 658 | const ages:[f64;2] = [0.01,1.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:1610:17 [INFO] [stdout] | [INFO] [stdout] 1610 | 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] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FinalZone` should have a snake case name [INFO] [stdout] --> src/main.rs:1610:17 [INFO] [stdout] | [INFO] [stdout] 1610 | 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] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:1674:13 [INFO] [stdout] | [INFO] [stdout] 1674 | / wtr.write_record(&[ [INFO] [stdout] 1675 | | perc_cont.to_string(), [INFO] [stdout] 1676 | | total_hosts.to_string(), [INFO] [stdout] 1677 | | no_cont.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 1689 | | format!("Zone {}", iter), [INFO] [stdout] 1690 | | ]); [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] 1674 | let _ = wtr.write_record(&[ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:1674:13 [INFO] [stdout] | [INFO] [stdout] 1674 | / wtr.write_record(&[ [INFO] [stdout] 1675 | | perc_cont.to_string(), [INFO] [stdout] 1676 | | total_hosts.to_string(), [INFO] [stdout] 1677 | | no_cont.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 1689 | | format!("Zone {}", iter), [INFO] [stdout] 1690 | | ]); [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] 1674 | let _ = wtr.write_record(&[ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 82 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 82 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.90s [INFO] running `Command { std: "docker" "inspect" "ace62c310ff99cdce0b6029cc4e5a6274c305cfff50c1a95e3ab72817616471f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ace62c310ff99cdce0b6029cc4e5a6274c305cfff50c1a95e3ab72817616471f", kill_on_drop: false }` [INFO] [stdout] ace62c310ff99cdce0b6029cc4e5a6274c305cfff50c1a95e3ab72817616471f [INFO] checking MrMisc/Outbreak_CIC-Model against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrMisc%2FOutbreak_CIC-Model" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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 d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "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-7-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" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75bae8eb983f48e5a3510c231a965d0696de2eea9f12993546edb1bebe17f836 [INFO] running `Command { std: "docker" "start" "-a" "75bae8eb983f48e5a3510c231a965d0696de2eea9f12993546edb1bebe17f836", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75bae8eb983f48e5a3510c231a965d0696de2eea9f12993546edb1bebe17f836", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75bae8eb983f48e5a3510c231a965d0696de2eea9f12993546edb1bebe17f836", kill_on_drop: false }` [INFO] [stdout] 75bae8eb983f48e5a3510c231a965d0696de2eea9f12993546edb1bebe17f836 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dba1895ba0cf8f84424b50b43cf89a3e7a17c1ccdc3ad7b79d2e04b8b9d74f0f [INFO] running `Command { std: "docker" "start" "-a" "dba1895ba0cf8f84424b50b43cf89a3e7a17c1ccdc3ad7b79d2e04b8b9d74f0f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [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 libc v0.2.149 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking wide v0.7.13 [INFO] [stderr] Checking rand_core v0.6.4 [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 itoa v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 825 | impl_integer_for_isize!(i8, test_integer_i8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 826 | impl_integer_for_isize!(i16, test_integer_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 827 | impl_integer_for_isize!(i32, test_integer_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 828 | impl_integer_for_isize!(i64, test_integer_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 829 | impl_integer_for_isize!(isize, test_integer_isize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 831 | impl_integer_for_isize!(i128, test_integer_i128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-integer` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "dba1895ba0cf8f84424b50b43cf89a3e7a17c1ccdc3ad7b79d2e04b8b9d74f0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dba1895ba0cf8f84424b50b43cf89a3e7a17c1ccdc3ad7b79d2e04b8b9d74f0f", kill_on_drop: false }` [INFO] [stdout] dba1895ba0cf8f84424b50b43cf89a3e7a17c1ccdc3ad7b79d2e04b8b9d74f0f