[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] testing JoshuaRadin37/Infection against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshuaRadin37%2FInfection" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JoshuaRadin37/Infection on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-6/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-2020-07-24" "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-6/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-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", 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] 8b79e43e752f1de805470fd8aacdfd365f4b05e87f99652a58125be5b412a867 [INFO] running `Command { std: "docker" "start" "-a" "8b79e43e752f1de805470fd8aacdfd365f4b05e87f99652a58125be5b412a867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b79e43e752f1de805470fd8aacdfd365f4b05e87f99652a58125be5b412a867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b79e43e752f1de805470fd8aacdfd365f4b05e87f99652a58125be5b412a867", kill_on_drop: false }` [INFO] [stdout] 8b79e43e752f1de805470fd8aacdfd365f4b05e87f99652a58125be5b412a867 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--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] 3e78a631341921cd7486c57c9505c91c9ed2f2c3346501fba411bbe44ba3d218 [INFO] running `Command { std: "docker" "start" "-a" "3e78a631341921cd7486c57c9505c91c9ed2f2c3346501fba411bbe44ba3d218", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling proc-macro-hack v0.4.2 [INFO] [stderr] Compiling structure-macro-impl v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling structure v0.1.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling 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] running `Command { std: "docker" "inspect" "3e78a631341921cd7486c57c9505c91c9ed2f2c3346501fba411bbe44ba3d218", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e78a631341921cd7486c57c9505c91c9ed2f2c3346501fba411bbe44ba3d218", kill_on_drop: false }` [INFO] [stdout] 3e78a631341921cd7486c57c9505c91c9ed2f2c3346501fba411bbe44ba3d218