[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#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwino%2Frooted" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dwino/rooted on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.72 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.72 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.72 [INFO] [stderr] Downloaded ctrlc v3.1.8 [INFO] [stderr] Downloaded bracket-geometry v0.8.2 [INFO] [stderr] Downloaded wide v0.5.5 [INFO] [stderr] Downloaded glow v0.4.0 [INFO] [stderr] Downloaded ultraviolet v0.7.5 [INFO] [stderr] Downloaded js-sys v0.3.49 [INFO] [stderr] Downloaded wasm-bindgen v0.2.72 [INFO] [stderr] Downloaded crossbeam-channel v0.5.0 [INFO] [stderr] Downloaded slotmap v0.3.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.72 [INFO] [stderr] Downloaded erased-serde v0.3.13 [INFO] [stderr] Downloaded syn v1.0.64 [INFO] [stderr] Downloaded libc v0.2.90 [INFO] [stderr] Downloaded web-sys v0.3.49 [INFO] [stderr] Downloaded bracket-terminal v0.8.2 [INFO] [stderr] Downloaded object-pool v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f96be80858162680fa6133908eeed1c685abb45968ccbaf8264d796ede32f5c8 [INFO] running `Command { std: "docker" "start" "-a" "f96be80858162680fa6133908eeed1c685abb45968ccbaf8264d796ede32f5c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f96be80858162680fa6133908eeed1c685abb45968ccbaf8264d796ede32f5c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f96be80858162680fa6133908eeed1c685abb45968ccbaf8264d796ede32f5c8", kill_on_drop: false }` [INFO] [stdout] f96be80858162680fa6133908eeed1c685abb45968ccbaf8264d796ede32f5c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7b17e90f97e52c5928df16d89b5564c6a7554edf50e4c91626326a289b34f355 [INFO] running `Command { std: "docker" "start" "-a" "7b17e90f97e52c5928df16d89b5564c6a7554edf50e4c91626326a289b34f355", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling wide v0.5.5 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling glow v0.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling ultraviolet v0.7.5 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling object-pool v0.5.3 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling bracket-color v0.8.2 [INFO] [stderr] Compiling bracket-geometry v0.8.2 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling bracket-algorithm-traits v0.8.2 [INFO] [stderr] Compiling bracket-pathfinding v0.8.4 [INFO] [stderr] Compiling bracket-random v0.8.2 [INFO] [stderr] Compiling bracket-noise v0.8.2 [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 wayland-cursor v0.28.5 [INFO] [stderr] Compiling wayland-egl v0.28.5 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling legion_codegen v0.3.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling erased-serde v0.3.13 [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: struct `TiledTheme` is never constructed [INFO] [stdout] --> src/map_builder/themes.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct TiledTheme {} [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 1m 20s [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 2` [INFO] running `Command { std: "docker" "inspect" "7b17e90f97e52c5928df16d89b5564c6a7554edf50e4c91626326a289b34f355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b17e90f97e52c5928df16d89b5564c6a7554edf50e4c91626326a289b34f355", kill_on_drop: false }` [INFO] [stdout] 7b17e90f97e52c5928df16d89b5564c6a7554edf50e4c91626326a289b34f355 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4910e53170f181177396f5c02a3532d8d6f397162e70c62fdf85b2e9924f5d93 [INFO] running `Command { std: "docker" "start" "-a" "4910e53170f181177396f5c02a3532d8d6f397162e70c62fdf85b2e9924f5d93", 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: struct `TiledTheme` is never constructed [INFO] [stdout] --> src/map_builder/themes.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct TiledTheme {} [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.89s [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 2` [INFO] running `Command { std: "docker" "inspect" "4910e53170f181177396f5c02a3532d8d6f397162e70c62fdf85b2e9924f5d93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4910e53170f181177396f5c02a3532d8d6f397162e70c62fdf85b2e9924f5d93", kill_on_drop: false }` [INFO] [stdout] 4910e53170f181177396f5c02a3532d8d6f397162e70c62fdf85b2e9924f5d93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9dd500eed3632a6baab718690ce211f3ea69604643a07c9490607d96118c61bf [INFO] running `Command { std: "docker" "start" "-a" "9dd500eed3632a6baab718690ce211f3ea69604643a07c9490607d96118c61bf", 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: struct `TiledTheme` is never constructed [INFO] [stderr] --> src/map_builder/themes.rs:68:12 [INFO] [stderr] | [INFO] [stderr] 68 | pub struct TiledTheme {} [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 25 warnings (run `cargo fix --bin "rooted" --tests` to apply 8 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [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 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rooted-79d119de63ae90f6) [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" "9dd500eed3632a6baab718690ce211f3ea69604643a07c9490607d96118c61bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dd500eed3632a6baab718690ce211f3ea69604643a07c9490607d96118c61bf", kill_on_drop: false }` [INFO] [stdout] 9dd500eed3632a6baab718690ce211f3ea69604643a07c9490607d96118c61bf