[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 beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshuaRadin37%2FInfection" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JoshuaRadin37/Infection on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JoshuaRadin37/Infection [INFO] removed workspace from git repo https://github.com/JoshuaRadin37/Infection [INFO] removed path dependency structure from 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-9/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" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-9/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1754e977f6c341e424449d1736fcc8dc698c7b0cf79925b6d721af157cfe6663 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1754e977f6c341e424449d1736fcc8dc698c7b0cf79925b6d721af157cfe6663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1754e977f6c341e424449d1736fcc8dc698c7b0cf79925b6d721af157cfe6663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1754e977f6c341e424449d1736fcc8dc698c7b0cf79925b6d721af157cfe6663", kill_on_drop: false }` [INFO] [stdout] 1754e977f6c341e424449d1736fcc8dc698c7b0cf79925b6d721af157cfe6663 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 368aad083a7159e238b33a0b0a12a1ae70696db3fc0fafa24ed9debc52792481 [INFO] running `Command { std: "docker" "start" "-a" "368aad083a7159e238b33a0b0a12a1ae70696db3fc0fafa24ed9debc52792481", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.2 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking half v1.6.0 [INFO] [stderr] Checking oorandom v11.1.2 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling proc-macro-hack v0.4.2 [INFO] [stderr] Compiling structure-macro-impl v0.1.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Checking structure v0.1.2 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking infection v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `time` in `structure` [INFO] [stdout] --> src/game/mod.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | use structure::time::TimeUnit::{Days, Months, Years}; [INFO] [stdout] | ^^^^ could not find `time` in `structure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structure::time` [INFO] [stdout] --> src/game/mod.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use structure::time::{FineGrainTimeType, Time, TimeUnit, YearsType}; [INFO] [stdout] | ^^^^ could not find `time` in `structure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structure::graph` [INFO] [stdout] --> src/game/board.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use structure::graph::Graph; [INFO] [stdout] | ^^^^^ could not find `graph` in `structure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structure::graph` [INFO] [stdout] --> src/game/pathogen/mod.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use structure::graph::Graph; [INFO] [stdout] | ^^^^^ could not find `graph` in `structure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `time` in `structure` [INFO] [stdout] --> src/game/pathogen/mod.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | use structure::time::TimeUnit::{Days, Hours}; [INFO] [stdout] | ^^^^ could not find `time` in `structure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structure::time` [INFO] [stdout] --> src/game/pathogen/mod.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use structure::time::{Time, TimeUnit}; [INFO] [stdout] | ^^^^ could not find `time` in `structure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `time` in `structure` [INFO] [stdout] --> src/game/pathogen/infection.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use structure::time::TimeUnit::Minutes; [INFO] [stdout] | ^^^^ could not find `time` in `structure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structure::time` [INFO] [stdout] --> src/game/pathogen/infection.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use structure::time::TimeUnit; [INFO] [stdout] | ^^^^ could not find `time` in `structure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structure::graph` [INFO] [stdout] --> src/game/pathogen/symptoms.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use structure::graph::{Graph, GraphResult}; [INFO] [stdout] | ^^^^^ could not find `graph` in `structure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structure::graph` [INFO] [stdout] --> src/game/pathogen/types.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use structure::graph::Graph; [INFO] [stdout] | ^^^^^ could not find `graph` in `structure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `time` in `structure` [INFO] [stdout] --> src/game/pathogen/types.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use structure::time::TimeUnit::Days; [INFO] [stdout] | ^^^^ could not find `time` in `structure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structure::time` [INFO] [stdout] --> src/game/pathogen/types.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use structure::time::{Time, TimeUnit}; [INFO] [stdout] | ^^^^ could not find `time` in `structure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structure::time` [INFO] [stdout] --> src/game/population/mod.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | use structure::time::Time; [INFO] [stdout] | ^^^^ could not find `time` in `structure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Minutes` in this scope [INFO] [stdout] --> src/game/pathogen/infection.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | Minutes(min_duration) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Minutes` in this scope [INFO] [stdout] --> src/game/pathogen/infection.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | Minutes(rand::thread_rng().gen_range(min_duration, max_duration)) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Days` in this scope [INFO] [stdout] --> src/game/pathogen/types.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | Days(8) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Days` in this scope [INFO] [stdout] --> src/game/pathogen/types.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | Days(3) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Days` in this scope [INFO] [stdout] --> src/game/pathogen/mod.rs:258:26 [INFO] [stdout] | [INFO] [stdout] 258 | usize::from((Days(4) + Hours(12)).into_minutes()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Hours` in this scope [INFO] [stdout] --> src/game/pathogen/mod.rs:258:36 [INFO] [stdout] | [INFO] [stdout] 258 | usize::from((Days(4) + Hours(12)).into_minutes()), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Days` in this scope [INFO] [stdout] --> src/game/pathogen/mod.rs:259:26 [INFO] [stdout] | [INFO] [stdout] 259 | usize::from((Days(1) + Hours(12)).into_minutes()), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Hours` in this scope [INFO] [stdout] --> src/game/pathogen/mod.rs:259:36 [INFO] [stdout] | [INFO] [stdout] 259 | usize::from((Days(1) + Hours(12)).into_minutes()), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Years` in this scope [INFO] [stdout] --> src/game/mod.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | let years = Years(years).into_minutes(); [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists (notice the capitalization): `years` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Months` in this scope [INFO] [stdout] --> src/game/mod.rs:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | let months = Months(months).into_minutes(); [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `months` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Days` in this scope [INFO] [stdout] --> src/game/mod.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | let days = Days(days).into_minutes(); [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `days` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/game/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deref` [INFO] [stdout] --> src/game/mod.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{AddAssign, Deref}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Borrow` [INFO] [stdout] --> src/game/pathogen/mod.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/game/pathogen/mod.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Debug, Error, Formatter, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/game/pathogen/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/game/pathogen/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/game/pathogen/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/game/pathogen/infection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::distributions::Distribution` [INFO] [stdout] --> src/game/pathogen/infection.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::distributions::Distribution; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/game/pathogen/symptoms.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Debug, Error, Formatter, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/game/pathogen/symptoms.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/game/pathogen/symptoms.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/game/pathogen/symptoms.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/game/pathogen/symptoms.rs:316:26 [INFO] [stdout] | [INFO] [stdout] 316 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::RandomState` [INFO] [stdout] --> src/game/pathogen/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::hash_map::RandomState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/game/pathogen/types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow` [INFO] [stdout] --> src/game/population/mod.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RefCell`, `Ref` [INFO] [stdout] --> src/game/population/mod.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cell::{Ref, RefCell}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ordering`, `min` [INFO] [stdout] --> src/game/population/mod.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::{min, Ordering}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/game/population/mod.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Debug, Display, Error, Formatter, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/game/population/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/game/population/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/game/population/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MutexGuard`, `PoisonError`, `RwLockReadGuard` [INFO] [stdout] --> src/game/population/mod.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::{Arc, Mutex, MutexGuard, PoisonError, RwLock, RwLockReadGuard}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicBool` [INFO] [stdout] --> src/game/population/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::atomic::AtomicBool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::Ordering::Relaxed` [INFO] [stdout] --> src/game/population/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::atomic::Ordering::Relaxed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game::pathogen::symptoms::Symp` [INFO] [stdout] --> src/game/population/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::game::pathogen::symptoms::Symp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/game/population/person_behavior/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write`, `stdout` [INFO] [stdout] --> src/game/population/person_behavior/interaction.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{stdout, Write}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RwLockReadGuard`, `RwLockWriteGuard`, `TryLockError` [INFO] [stdout] --> src/game/population/person_behavior/interaction.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{Arc, Mutex, RwLockReadGuard, RwLockWriteGuard, TryLockError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::IteratorRandom` [INFO] [stdout] --> src/game/population/person_behavior/interaction.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::seq::IteratorRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game::pathogen::infection::Infection` [INFO] [stdout] --> src/game/population/person_behavior/interaction.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::game::pathogen::infection::Infection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Person` [INFO] [stdout] --> src/game/population/person_behavior/interaction.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::game::population::{Person, Population}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> src/game/pathogen/mod.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors; 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `infection` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "368aad083a7159e238b33a0b0a12a1ae70696db3fc0fafa24ed9debc52792481", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "368aad083a7159e238b33a0b0a12a1ae70696db3fc0fafa24ed9debc52792481", kill_on_drop: false }` [INFO] [stdout] 368aad083a7159e238b33a0b0a12a1ae70696db3fc0fafa24ed9debc52792481