[INFO] cloning repository https://github.com/dwino/rooted [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dwino/rooted" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwino%2Frooted", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwino%2Frooted'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] acc0467bf5ef550a58a50d817efa25040e88f48e [INFO] testing dwino/rooted against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwino%2Frooted" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dwino/rooted on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dwino/rooted [INFO] finished tweaking git repo https://github.com/dwino/rooted [INFO] tweaked toml for git repo https://github.com/dwino/rooted written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dwino/rooted 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c97e813491a966e23ffc9dfae6b0b93984d99c8f731e1b655e38ca8163f9e729 [INFO] running `Command { std: "docker" "start" "-a" "c97e813491a966e23ffc9dfae6b0b93984d99c8f731e1b655e38ca8163f9e729", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c97e813491a966e23ffc9dfae6b0b93984d99c8f731e1b655e38ca8163f9e729", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c97e813491a966e23ffc9dfae6b0b93984d99c8f731e1b655e38ca8163f9e729", kill_on_drop: false }` [INFO] [stdout] c97e813491a966e23ffc9dfae6b0b93984d99c8f731e1b655e38ca8163f9e729 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6dc13818e8e73d50e40c93614f18489fd67049b453316d4c704f87e8ea438981 [INFO] running `Command { std: "docker" "start" "-a" "6dc13818e8e73d50e40c93614f18489fd67049b453316d4c704f87e8ea438981", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wide v0.5.5 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling ultraviolet v0.7.5 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling glow v0.4.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling bracket-geometry v0.8.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling bracket-algorithm-traits v0.8.2 [INFO] [stderr] Compiling object-pool v0.5.3 [INFO] [stderr] Compiling bracket-color v0.8.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling bracket-pathfinding v0.8.4 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling wayland-commons v0.28.5 [INFO] [stderr] Compiling ctrlc v3.1.8 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling bracket-random v0.8.2 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling bracket-noise v0.8.2 [INFO] [stderr] Compiling legion_codegen v0.3.0 [INFO] [stderr] Compiling wayland-cursor v0.28.5 [INFO] [stderr] Compiling wayland-egl v0.28.5 [INFO] [stderr] Compiling erased-serde v0.3.13 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling ron v0.6.1 [INFO] [stderr] Compiling legion v0.3.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling bracket-terminal v0.8.2 [INFO] [stderr] Compiling bracket-lib v0.8.1 [INFO] [stderr] Compiling rooted v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> src/components/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> src/components/entities.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(not(feature = "threaded"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(not(feature = "threaded"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:156:11 [INFO] [stdout] | [INFO] [stdout] 156 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:216:11 [INFO] [stdout] | [INFO] [stdout] 216 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:237:15 [INFO] [stdout] | [INFO] [stdout] 237 | #[cfg(not(feature = "threaded"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:262:11 [INFO] [stdout] | [INFO] [stdout] 262 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:283:15 [INFO] [stdout] | [INFO] [stdout] 283 | #[cfg(not(feature = "threaded"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::spawner::FruitType` [INFO] [stdout] --> src/main.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | pub use crate::spawner::FruitType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/combat.rs:53:53 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some((entity, ranged_damage, mut projectile)) = [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/combat.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | if let Ok(mut health) = ecs [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/combat.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | if let Ok(mut health) = ecs [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/fov.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | .for_each(|(pos, mut fov)| { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/fov.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | ranges.iter_mut(ecs).for_each(|(pos, mut target_range)| { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `targets` is never read [INFO] [stdout] --> src/components/attributes.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Targeting { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 15 | pub targets: Vec<(Entity, f32)>, // (entity / distance) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `amount` is never read [INFO] [stdout] --> src/components/item_attributes.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ProvidesSensing { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 26 | pub amount: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/map.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Map { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub width: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | pub height: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rooms` is never read [INFO] [stdout] --> src/map_builder/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct MapBuilder { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 22 | pub map: Map, [INFO] [stdout] 23 | pub rooms: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/map_builder/themes.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl TiledTheme { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 71 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.44s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6dc13818e8e73d50e40c93614f18489fd67049b453316d4c704f87e8ea438981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dc13818e8e73d50e40c93614f18489fd67049b453316d4c704f87e8ea438981", kill_on_drop: false }` [INFO] [stdout] 6dc13818e8e73d50e40c93614f18489fd67049b453316d4c704f87e8ea438981 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7884f6e4ac188431adf94231ad9fd6bc0999d1c03a78c10ca3644eeae4d400e [INFO] running `Command { std: "docker" "start" "-a" "b7884f6e4ac188431adf94231ad9fd6bc0999d1c03a78c10ca3644eeae4d400e", kill_on_drop: false }` [INFO] [stderr] Compiling rooted v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> src/components/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> src/components/entities.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(not(feature = "threaded"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(not(feature = "threaded"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:156:11 [INFO] [stdout] | [INFO] [stdout] 156 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:216:11 [INFO] [stdout] | [INFO] [stdout] 216 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:237:15 [INFO] [stdout] | [INFO] [stdout] 237 | #[cfg(not(feature = "threaded"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:262:11 [INFO] [stdout] | [INFO] [stdout] 262 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:283:15 [INFO] [stdout] | [INFO] [stdout] 283 | #[cfg(not(feature = "threaded"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::spawner::FruitType` [INFO] [stdout] --> src/main.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | pub use crate::spawner::FruitType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/combat.rs:53:53 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some((entity, ranged_damage, mut projectile)) = [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/combat.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | if let Ok(mut health) = ecs [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/combat.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | if let Ok(mut health) = ecs [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/fov.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | .for_each(|(pos, mut fov)| { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/fov.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | ranges.iter_mut(ecs).for_each(|(pos, mut target_range)| { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `targets` is never read [INFO] [stdout] --> src/components/attributes.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Targeting { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 15 | pub targets: Vec<(Entity, f32)>, // (entity / distance) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `amount` is never read [INFO] [stdout] --> src/components/item_attributes.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ProvidesSensing { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 26 | pub amount: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/map.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Map { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub width: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | pub height: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rooms` is never read [INFO] [stdout] --> src/map_builder/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct MapBuilder { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 22 | pub map: Map, [INFO] [stdout] 23 | pub rooms: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/map_builder/themes.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl TiledTheme { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 71 | pub fn new() -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.60s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b7884f6e4ac188431adf94231ad9fd6bc0999d1c03a78c10ca3644eeae4d400e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7884f6e4ac188431adf94231ad9fd6bc0999d1c03a78c10ca3644eeae4d400e", kill_on_drop: false }` [INFO] [stdout] b7884f6e4ac188431adf94231ad9fd6bc0999d1c03a78c10ca3644eeae4d400e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 00b43485cb460c1bd031434a50d6349eeea5e87a26fd4e60e76a938c7552bb9d [INFO] running `Command { std: "docker" "start" "-a" "00b43485cb460c1bd031434a50d6349eeea5e87a26fd4e60e76a938c7552bb9d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::prelude::*` [INFO] [stderr] --> src/components/mod.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | pub use crate::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::prelude::*` [INFO] [stderr] --> src/components/entities.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | pub use crate::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `threaded` [INFO] [stderr] --> src/dkm.rs:3:7 [INFO] [stderr] | [INFO] [stderr] 3 | #[cfg(feature = "threaded")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `threaded` [INFO] [stderr] --> src/dkm.rs:23:7 [INFO] [stderr] | [INFO] [stderr] 23 | #[cfg(feature = "threaded")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `threaded` [INFO] [stderr] --> src/dkm.rs:88:11 [INFO] [stderr] | [INFO] [stderr] 88 | #[cfg(feature = "threaded")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `threaded` [INFO] [stderr] --> src/dkm.rs:93:15 [INFO] [stderr] | [INFO] [stderr] 93 | #[cfg(not(feature = "threaded"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `threaded` [INFO] [stderr] --> src/dkm.rs:98:11 [INFO] [stderr] | [INFO] [stderr] 98 | #[cfg(feature = "threaded")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `threaded` [INFO] [stderr] --> src/dkm.rs:111:15 [INFO] [stderr] | [INFO] [stderr] 111 | #[cfg(not(feature = "threaded"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `threaded` [INFO] [stderr] --> src/dkm.rs:156:11 [INFO] [stderr] | [INFO] [stderr] 156 | #[cfg(feature = "threaded")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `threaded` [INFO] [stderr] --> src/dkm.rs:216:11 [INFO] [stderr] | [INFO] [stderr] 216 | #[cfg(feature = "threaded")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `threaded` [INFO] [stderr] --> src/dkm.rs:237:15 [INFO] [stderr] | [INFO] [stderr] 237 | #[cfg(not(feature = "threaded"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `threaded` [INFO] [stderr] --> src/dkm.rs:262:11 [INFO] [stderr] | [INFO] [stderr] 262 | #[cfg(feature = "threaded")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `threaded` [INFO] [stderr] --> src/dkm.rs:283:15 [INFO] [stderr] | [INFO] [stderr] 283 | #[cfg(not(feature = "threaded"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::spawner::FruitType` [INFO] [stderr] --> src/main.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | pub use crate::spawner::FruitType; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/systems/combat.rs:53:53 [INFO] [stderr] | [INFO] [stderr] 53 | if let Some((entity, ranged_damage, mut projectile)) = [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/systems/combat.rs:76:23 [INFO] [stderr] | [INFO] [stderr] 76 | if let Ok(mut health) = ecs [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/systems/combat.rs:138:23 [INFO] [stderr] | [INFO] [stderr] 138 | if let Ok(mut health) = ecs [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/systems/fov.rs:12:26 [INFO] [stderr] | [INFO] [stderr] 12 | .for_each(|(pos, mut fov)| { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/systems/fov.rs:17:42 [INFO] [stderr] | [INFO] [stderr] 17 | ranges.iter_mut(ecs).for_each(|(pos, mut target_range)| { [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: field `targets` is never read [INFO] [stderr] --> src/components/attributes.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct Targeting { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 15 | pub targets: Vec<(Entity, f32)>, // (entity / distance) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `amount` is never read [INFO] [stderr] --> src/components/item_attributes.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 25 | pub struct ProvidesSensing { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] 26 | pub amount: i32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `width` and `height` are never read [INFO] [stderr] --> src/map.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct Map { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 18 | pub width: i32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 19 | pub height: i32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `rooms` is never read [INFO] [stderr] --> src/map_builder/mod.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct MapBuilder { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 22 | pub map: Map, [INFO] [stderr] 23 | pub rooms: Vec, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/map_builder/themes.rs:71:12 [INFO] [stderr] | [INFO] [stderr] 70 | impl TiledTheme { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] 71 | pub fn new() -> Box { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `rooted` (bin "rooted" test) generated 24 warnings (run `cargo fix --bin "rooted" --tests` to apply 8 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rooted-648532391cfb5502) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "00b43485cb460c1bd031434a50d6349eeea5e87a26fd4e60e76a938c7552bb9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00b43485cb460c1bd031434a50d6349eeea5e87a26fd4e60e76a938c7552bb9d", kill_on_drop: false }` [INFO] [stdout] 00b43485cb460c1bd031434a50d6349eeea5e87a26fd4e60e76a938c7552bb9d