[INFO] cloning repository https://github.com/JoshuaRadin37/Infection [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JoshuaRadin37/Infection" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshuaRadin37%2FInfection", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshuaRadin37%2FInfection'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] afe8199626de3f5da35e161c871aa3ec6b536777 [INFO] checking JoshuaRadin37/Infection against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshuaRadin37%2FInfection" "/workspace/builds/worker-100/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-100/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 49% (135/272) Updating files: 50% (136/272) Updating files: 51% (139/272) Updating files: 52% (142/272) Updating files: 53% (145/272) Updating files: 54% (147/272) Updating files: 55% (150/272) Updating files: 56% (153/272) Updating files: 57% (156/272) Updating files: 58% (158/272) Updating files: 59% (161/272) Updating files: 60% (164/272) Updating files: 61% (166/272) Updating files: 62% (169/272) Updating files: 63% (172/272) Updating files: 64% (175/272) Updating files: 65% (177/272) Updating files: 66% (180/272) Updating files: 67% (183/272) Updating files: 68% (185/272) Updating files: 69% (188/272) Updating files: 70% (191/272) Updating files: 71% (194/272) Updating files: 72% (196/272) Updating files: 73% (199/272) Updating files: 74% (202/272) Updating files: 75% (204/272) Updating files: 76% (207/272) Updating files: 77% (210/272) Updating files: 78% (213/272) Updating files: 79% (215/272) Updating files: 80% (218/272) Updating files: 81% (221/272) Updating files: 82% (224/272) Updating files: 83% (226/272) Updating files: 84% (229/272) Updating files: 85% (232/272) Updating files: 86% (234/272) Updating files: 87% (237/272) Updating files: 88% (240/272) Updating files: 89% (243/272) Updating files: 90% (245/272) Updating files: 91% (248/272) Updating files: 92% (251/272) Updating files: 93% (253/272) Updating files: 94% (256/272) Updating files: 95% (259/272) Updating files: 96% (262/272) Updating files: 97% (264/272) Updating files: 98% (267/272) Updating files: 99% (270/272) Updating files: 100% (272/272) Updating files: 100% (272/272), done. [INFO] validating manifest of git repo https://github.com/JoshuaRadin37/Infection on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JoshuaRadin37/Infection [INFO] finished tweaking git repo https://github.com/JoshuaRadin37/Infection [INFO] tweaked toml for git repo https://github.com/JoshuaRadin37/Infection written to /workspace/builds/worker-100/source/Cargo.toml [INFO] crate git repo https://github.com/JoshuaRadin37/Infection already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc642c2153ea84a7fb318eb4154c7cb440715ef9b60f8dea40ee34e4898538ed [INFO] running `Command { std: "docker" "start" "-a" "bc642c2153ea84a7fb318eb4154c7cb440715ef9b60f8dea40ee34e4898538ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc642c2153ea84a7fb318eb4154c7cb440715ef9b60f8dea40ee34e4898538ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc642c2153ea84a7fb318eb4154c7cb440715ef9b60f8dea40ee34e4898538ed", kill_on_drop: false }` [INFO] [stdout] bc642c2153ea84a7fb318eb4154c7cb440715ef9b60f8dea40ee34e4898538ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 055b7456270081354045c0ec23e638710c2225093be7ebee65e7955ced1f875e [INFO] running `Command { std: "docker" "start" "-a" "055b7456270081354045c0ec23e638710c2225093be7ebee65e7955ced1f875e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking oorandom v11.1.0 [INFO] [stderr] Checking interaction v0.1.0 (/tmp/fixit/interaction) [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Migrating interaction/src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex v1.3.6 [INFO] [stderr] Checking bstr v0.2.12 [INFO] [stderr] Checking serde_json v1.0.50 [INFO] [stderr] Checking structure v0.1.0 (/tmp/fixit/structure) [INFO] [stderr] Checking plotters v0.2.12 [INFO] [stderr] Migrating structure/src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Checking tinytemplate v1.0.3 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking criterion-plot v0.4.1 [INFO] [stderr] Fixed structure/src/time.rs (1 fix) [INFO] [stderr] Fixed structure/src/graph.rs (1 fix) [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stdout] warning: associated function is never used: `add_nodes` [INFO] [stdout] --> structure/src/graph.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | fn add_nodes(&mut self, id: I, value: T) -> GraphResult [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_edge_default` [INFO] [stdout] --> structure/src/graph.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 229 | fn add_edge_default(&mut self, u: ID, v: ID) -> GraphResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking infection v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/game/pathogen/symptoms.rs (5 fixes) [INFO] [stderr] Fixed src/game/pathogen/types.rs (2 fixes) [INFO] [stderr] Fixed src/game/population/person_behavior/mod.rs (1 fix) [INFO] [stderr] Fixed src/game/mod.rs (2 fixes) [INFO] [stderr] Fixed src/game/pathogen/mod.rs (6 fixes) [INFO] [stderr] Fixed src/game/pathogen/infection.rs (2 fixes) [INFO] [stderr] Fixed src/game/population/person_behavior/interaction.rs (8 fixes) [INFO] [stderr] Fixed src/game/population/mod.rs (14 fixes) [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/game/mod.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | while delta_time < &mut TICKS_TO_GAME_MIN { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/game/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | const TICKS_TO_GAME_MIN: usize = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `population` [INFO] [stdout] --> src/game/board.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | population: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/game/board.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | size: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chunk_graph` [INFO] [stdout] --> src/game/board.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | chunk_graph: Graph, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_recovery_symptom` [INFO] [stdout] --> src/game/pathogen/mod.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 208 | fn add_recovery_symptom(&mut self, function: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `modifiers` [INFO] [stdout] --> src/game/population/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | modifiers: Mutex>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `factory` [INFO] [stdout] --> src/game/population/mod.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | factory: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `growth_rate` [INFO] [stdout] --> src/game/population/mod.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | growth_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `USE_PARALLEL` [INFO] [stdout] --> src/game/mod.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | const USE_PARALLEL: bool = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game/pathogen/symptoms.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | / self.map_builder [INFO] [stdout] 307 | | .add_next_symptom(self.node, next, mutation_chance); [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Checking criterion v0.3.1 [INFO] [stderr] Migrating benches/community.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/single_infection.rs from 2018 edition to 2021 [INFO] [stderr] Migrating benches/interact.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/community_transfer.rs from 2018 edition to 2021 [INFO] [stderr] Fixed benches/community.rs (5 fixes) [INFO] [stdout] warning: unused import: `PathogenType` [INFO] [stdout] --> benches/community.rs:15:40 [INFO] [stdout] | [INFO] [stdout] 15 | use infection::game::pathogen::types::{PathogenType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed tests/single_infection.rs (5 fixes) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/game/pathogen/infection.rs (4 fixes) [INFO] [stderr] Fixed src/game/mod.rs (1 fix) [INFO] [stderr] Fixed src/game/population/mod.rs (6 fixes) [INFO] [stderr] Fixed src/game/pathogen/types.rs (3 fixes) [INFO] [stderr] Fixed src/game/pathogen/symptoms.rs (3 fixes) [INFO] [stderr] Fixed src/game/pathogen/mod.rs (3 fixes) [INFO] [stdout] warning: unused import: `SymptomMap` [INFO] [stdout] --> tests/single_infection.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 7 | use infection::game::pathogen::symptoms::{SymptomMap}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed benches/interact.rs (3 fixes) [INFO] [stdout] warning: unused import: `PathogenType` [INFO] [stdout] --> src/game/pathogen/mod.rs:273:40 [INFO] [stdout] | [INFO] [stdout] 273 | use crate::game::pathogen::types::{PathogenType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/game/mod.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | while delta_time < &mut TICKS_TO_GAME_MIN { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/game/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | const TICKS_TO_GAME_MIN: usize = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `population` [INFO] [stdout] --> src/game/board.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | population: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/game/board.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | size: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chunk_graph` [INFO] [stdout] --> src/game/board.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | chunk_graph: Graph, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_recovery_symptom` [INFO] [stdout] --> src/game/pathogen/mod.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 208 | fn add_recovery_symptom(&mut self, function: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `modifiers` [INFO] [stdout] --> src/game/population/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | modifiers: Mutex>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `factory` [INFO] [stdout] --> src/game/population/mod.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | factory: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `growth_rate` [INFO] [stdout] --> src/game/population/mod.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | growth_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `USE_PARALLEL` [INFO] [stdout] --> src/game/mod.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | const USE_PARALLEL: bool = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game/pathogen/symptoms.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | / self.map_builder [INFO] [stdout] 307 | | .add_next_symptom(self.node, next, mutation_chance); [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game/pathogen/symptoms.rs:595:9 [INFO] [stdout] | [INFO] [stdout] 595 | tx.send(()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed tests/community_transfer.rs (12 fixes) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 48.61s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking structure v0.1.0 (/tmp/fixit/structure) [INFO] [stdout] warning: associated function is never used: `add_nodes` [INFO] [stdout] --> structure/src/graph.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | fn add_nodes(&mut self, id: I, value: T) -> GraphResult [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_edge_default` [INFO] [stdout] --> structure/src/graph.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 229 | fn add_edge_default(&mut self, u: ID, v: ID) -> GraphResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking infection v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/game/mod.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | while delta_time < &mut TICKS_TO_GAME_MIN { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/game/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | const TICKS_TO_GAME_MIN: usize = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `population` [INFO] [stdout] --> src/game/board.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | population: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/game/board.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | size: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chunk_graph` [INFO] [stdout] --> src/game/board.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | chunk_graph: Graph, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_recovery_symptom` [INFO] [stdout] --> src/game/pathogen/mod.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 208 | fn add_recovery_symptom(&mut self, function: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `modifiers` [INFO] [stdout] --> src/game/population/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | modifiers: Mutex>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `factory` [INFO] [stdout] --> src/game/population/mod.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | factory: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `growth_rate` [INFO] [stdout] --> src/game/population/mod.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | growth_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `USE_PARALLEL` [INFO] [stdout] --> src/game/mod.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | const USE_PARALLEL: bool = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game/pathogen/symptoms.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | / self.map_builder [INFO] [stdout] 307 | | .add_next_symptom(self.node, next, mutation_chance); [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Checking criterion v0.3.1 [INFO] [stdout] warning: unused import: `SymptomMap` [INFO] [stdout] --> tests/single_infection.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 7 | use infection::game::pathogen::symptoms::{SymptomMap}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathogenType` [INFO] [stdout] --> benches/community.rs:15:40 [INFO] [stdout] | [INFO] [stdout] 15 | use infection::game::pathogen::types::{PathogenType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathogenType` [INFO] [stdout] --> src/game/pathogen/mod.rs:273:40 [INFO] [stdout] | [INFO] [stdout] 273 | use crate::game::pathogen::types::{PathogenType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/game/mod.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | while delta_time < &mut TICKS_TO_GAME_MIN { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/game/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | const TICKS_TO_GAME_MIN: usize = 20; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `population` [INFO] [stdout] --> src/game/board.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | population: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/game/board.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | size: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chunk_graph` [INFO] [stdout] --> src/game/board.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | chunk_graph: Graph, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_recovery_symptom` [INFO] [stdout] --> src/game/pathogen/mod.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 208 | fn add_recovery_symptom(&mut self, function: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `modifiers` [INFO] [stdout] --> src/game/population/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | modifiers: Mutex>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `factory` [INFO] [stdout] --> src/game/population/mod.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | factory: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `growth_rate` [INFO] [stdout] --> src/game/population/mod.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | growth_rate: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `USE_PARALLEL` [INFO] [stdout] --> src/game/mod.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | const USE_PARALLEL: bool = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game/pathogen/symptoms.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | / self.map_builder [INFO] [stdout] 307 | | .add_next_symptom(self.node, next, mutation_chance); [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game/pathogen/symptoms.rs:595:9 [INFO] [stdout] | [INFO] [stdout] 595 | tx.send(()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.26s [INFO] running `Command { std: "docker" "inspect" "055b7456270081354045c0ec23e638710c2225093be7ebee65e7955ced1f875e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "055b7456270081354045c0ec23e638710c2225093be7ebee65e7955ced1f875e", kill_on_drop: false }` [INFO] [stdout] 055b7456270081354045c0ec23e638710c2225093be7ebee65e7955ced1f875e