[INFO] cloning repository https://github.com/qultzen/biosim_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qultzen/biosim_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust/objects/info: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/qultzen/biosim_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qultzen/biosim_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/qultzen/biosim_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qultzen/biosim_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/qultzen/biosim_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qultzen/biosim_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/qultzen/biosim_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qultzen/biosim_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/qultzen/biosim_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qultzen/biosim_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/qultzen/biosim_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qultzen/biosim_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/qultzen/biosim_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qultzen/biosim_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/qultzen/biosim_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qultzen/biosim_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/qultzen/biosim_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qultzen/biosim_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/qultzen/biosim_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qultzen/biosim_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/qultzen/biosim_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qultzen/biosim_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/qultzen/biosim_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qultzen/biosim_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/qultzen/biosim_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qultzen/biosim_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/qultzen/biosim_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qultzen/biosim_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 354a867a12941e1e52a2a35f17708be2ed5cfee2 [INFO] checking qultzen/biosim_rust against master#2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqultzen%2Fbiosim_rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/qultzen/biosim_rust [INFO] finished tweaking git repo https://github.com/qultzen/biosim_rust [INFO] tweaked toml for git repo https://github.com/qultzen/biosim_rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/qultzen/biosim_rust on toolchain 2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/qultzen/biosim_rust 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" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7966d05bbdaba3f23d3763afa044116bc31b9bfa378cdd07b9560e4defae1308 [INFO] running `Command { std: "docker" "start" "-a" "7966d05bbdaba3f23d3763afa044116bc31b9bfa378cdd07b9560e4defae1308", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7966d05bbdaba3f23d3763afa044116bc31b9bfa378cdd07b9560e4defae1308", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7966d05bbdaba3f23d3763afa044116bc31b9bfa378cdd07b9560e4defae1308", kill_on_drop: false }` [INFO] [stdout] 7966d05bbdaba3f23d3763afa044116bc31b9bfa378cdd07b9560e4defae1308 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6a504bd79b0c6084dacd4e92501696936da3b22f202f1441b7d5c519ee2c60f [INFO] running `Command { std: "docker" "start" "-a" "b6a504bd79b0c6084dacd4e92501696936da3b22f202f1441b7d5c519ee2c60f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking biosim_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/animal.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 69 | pub move_to: Option<((u32, u32))>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 69 - pub move_to: Option<((u32, u32))>, [INFO] [stdout] 69 + pub move_to: Option<(u32, u32)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Species` [INFO] [stdout] --> src/cell.rs:1:62 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::animal::{self, AnimalTrait, Carnivore, Herbivore, Species}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Fauna` [INFO] [stdout] --> src/island.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cell::{Cell, CellType, Fauna}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MapWhile` and `Map` [INFO] [stdout] --> src/island.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | iter::{Map, MapWhile}, [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/island.rs:212:16 [INFO] [stdout] | [INFO] [stdout] 212 | if (cell.get_cell() == CellType::Water) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 212 - if (cell.get_cell() == CellType::Water) { [INFO] [stdout] 212 + if cell.get_cell() == CellType::Water { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/island.rs:239:16 [INFO] [stdout] | [INFO] [stdout] 239 | if (self.map.get(&move_to).unwrap().get_cell() == CellType::Water) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 239 - if (self.map.get(&move_to).unwrap().get_cell() == CellType::Water) { [INFO] [stdout] 239 + if self.map.get(&move_to).unwrap().get_cell() == CellType::Water { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cell::Fauna` [INFO] [stdout] --> src/island.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | use crate::cell::Fauna; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/animal.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 69 | pub move_to: Option<((u32, u32))>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 69 - pub move_to: Option<((u32, u32))>, [INFO] [stdout] 69 + pub move_to: Option<(u32, u32)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Species` [INFO] [stdout] --> src/cell.rs:1:62 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::animal::{self, AnimalTrait, Carnivore, Herbivore, Species}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Fauna` [INFO] [stdout] --> src/island.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cell::{Cell, CellType, Fauna}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MapWhile` and `Map` [INFO] [stdout] --> src/island.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | iter::{Map, MapWhile}, [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/island.rs:212:16 [INFO] [stdout] | [INFO] [stdout] 212 | if (cell.get_cell() == CellType::Water) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 212 - if (cell.get_cell() == CellType::Water) { [INFO] [stdout] 212 + if cell.get_cell() == CellType::Water { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/island.rs:239:16 [INFO] [stdout] | [INFO] [stdout] 239 | if (self.map.get(&move_to).unwrap().get_cell() == CellType::Water) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 239 - if (self.map.get(&move_to).unwrap().get_cell() == CellType::Water) { [INFO] [stdout] 239 + if self.map.get(&move_to).unwrap().get_cell() == CellType::Water { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> src/animal.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | let stats = Stats::new_default(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map_clone` [INFO] [stdout] --> src/island.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let map_clone = map.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinates` [INFO] [stdout] --> src/island.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let coordinates: Vec<_> = self.map.keys().map(|&x| x.clone()).collect(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinate` [INFO] [stdout] --> src/island.rs:211:14 [INFO] [stdout] | [INFO] [stdout] 211 | for (coordinate, cell) in self.map.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `raw_str`, `height`, `width`, `pop_in_cell`, and `pop` are never read [INFO] [stdout] --> src/island.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Island<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 23 | raw_str: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | map_vec: Vec<&'a str>, [INFO] [stdout] 25 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pop_in_cell: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 34 | pop: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Island` has a derived impl for the trait `Debug`, 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/island.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn build(raw_str: &str) -> Result> { [INFO] [stdout] | ^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn build(raw_str: &str) -> Result, Box> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> src/animal.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | let stats = Stats::new_default(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map_clone` [INFO] [stdout] --> src/island.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let map_clone = map.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinates` [INFO] [stdout] --> src/island.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let coordinates: Vec<_> = self.map.keys().map(|&x| x.clone()).collect(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinate` [INFO] [stdout] --> src/island.rs:211:14 [INFO] [stdout] | [INFO] [stdout] 211 | for (coordinate, cell) in self.map.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ini_pop` is never read [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 10 | island_map: String, [INFO] [stdout] 11 | ini_pop: Vec<((u32, u32), String, u32)>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `raw_str`, `height`, `width`, `pop_in_cell`, and `pop` are never read [INFO] [stdout] --> src/island.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Island<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 23 | raw_str: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | map_vec: Vec<&'a str>, [INFO] [stdout] 25 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pop_in_cell: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 34 | pop: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Island` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/island.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn build(raw_str: &str) -> Result> { [INFO] [stdout] | ^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn build(raw_str: &str) -> Result, Box> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `biosim_rust::Config` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use biosim_rust::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::process; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/animal.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 69 | pub move_to: Option<((u32, u32))>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 69 - pub move_to: Option<((u32, u32))>, [INFO] [stdout] 69 + pub move_to: Option<(u32, u32)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Species` [INFO] [stdout] --> src/cell.rs:1:62 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::animal::{self, AnimalTrait, Carnivore, Herbivore, Species}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Fauna` [INFO] [stdout] --> src/island.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cell::{Cell, CellType, Fauna}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MapWhile` and `Map` [INFO] [stdout] --> src/island.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | iter::{Map, MapWhile}, [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/island.rs:212:16 [INFO] [stdout] | [INFO] [stdout] 212 | if (cell.get_cell() == CellType::Water) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 212 - if (cell.get_cell() == CellType::Water) { [INFO] [stdout] 212 + if cell.get_cell() == CellType::Water { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/island.rs:239:16 [INFO] [stdout] | [INFO] [stdout] 239 | if (self.map.get(&move_to).unwrap().get_cell() == CellType::Water) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 239 - if (self.map.get(&move_to).unwrap().get_cell() == CellType::Water) { [INFO] [stdout] 239 + if self.map.get(&move_to).unwrap().get_cell() == CellType::Water { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `biosim_rust::Config` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use biosim_rust::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::process; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/animal.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 69 | pub move_to: Option<((u32, u32))>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 69 - pub move_to: Option<((u32, u32))>, [INFO] [stdout] 69 + pub move_to: Option<(u32, u32)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Species` [INFO] [stdout] --> src/cell.rs:1:62 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::animal::{self, AnimalTrait, Carnivore, Herbivore, Species}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Fauna` [INFO] [stdout] --> src/island.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cell::{Cell, CellType, Fauna}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MapWhile` and `Map` [INFO] [stdout] --> src/island.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | iter::{Map, MapWhile}, [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/island.rs:212:16 [INFO] [stdout] | [INFO] [stdout] 212 | if (cell.get_cell() == CellType::Water) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 212 - if (cell.get_cell() == CellType::Water) { [INFO] [stdout] 212 + if cell.get_cell() == CellType::Water { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/island.rs:239:16 [INFO] [stdout] | [INFO] [stdout] 239 | if (self.map.get(&move_to).unwrap().get_cell() == CellType::Water) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 239 - if (self.map.get(&move_to).unwrap().get_cell() == CellType::Water) { [INFO] [stdout] 239 + if self.map.get(&move_to).unwrap().get_cell() == CellType::Water { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cell::Fauna` [INFO] [stdout] --> src/island.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | use crate::cell::Fauna; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> src/animal.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | let stats = Stats::new_default(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map_clone` [INFO] [stdout] --> src/island.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let map_clone = map.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinates` [INFO] [stdout] --> src/island.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let coordinates: Vec<_> = self.map.keys().map(|&x| x.clone()).collect(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinate` [INFO] [stdout] --> src/island.rs:211:14 [INFO] [stdout] | [INFO] [stdout] 211 | for (coordinate, cell) in self.map.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `raw_str`, `height`, `width`, `pop_in_cell`, and `pop` are never read [INFO] [stdout] --> src/island.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Island<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 23 | raw_str: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | map_vec: Vec<&'a str>, [INFO] [stdout] 25 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pop_in_cell: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 34 | pop: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Island` has a derived impl for the trait `Debug`, 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/island.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn build(raw_str: &str) -> Result> { [INFO] [stdout] | ^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn build(raw_str: &str) -> Result, Box> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> src/animal.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | let stats = Stats::new_default(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map_clone` [INFO] [stdout] --> src/island.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let map_clone = map.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinates` [INFO] [stdout] --> src/island.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | let coordinates: Vec<_> = self.map.keys().map(|&x| x.clone()).collect(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinate` [INFO] [stdout] --> src/island.rs:211:14 [INFO] [stdout] | [INFO] [stdout] 211 | for (coordinate, cell) in self.map.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `raw_str`, `height`, `width`, `pop_in_cell`, and `pop` are never read [INFO] [stdout] --> src/island.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Island<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 23 | raw_str: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | map_vec: Vec<&'a str>, [INFO] [stdout] 25 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pop_in_cell: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 34 | pop: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Island` has a derived impl for the trait `Debug`, 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/island.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn build(raw_str: &str) -> Result> { [INFO] [stdout] | ^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn build(raw_str: &str) -> Result, Box> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.07s [INFO] running `Command { std: "docker" "inspect" "b6a504bd79b0c6084dacd4e92501696936da3b22f202f1441b7d5c519ee2c60f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6a504bd79b0c6084dacd4e92501696936da3b22f202f1441b7d5c519ee2c60f", kill_on_drop: false }` [INFO] [stdout] b6a504bd79b0c6084dacd4e92501696936da3b22f202f1441b7d5c519ee2c60f