[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] building dwino/rooted against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwino%2Frooted" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dwino/rooted on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.115 [INFO] [stderr] Downloaded crossbeam-utils v0.8.3 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.3 [INFO] [stderr] Downloaded redox_syscall v0.2.5 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.72 [INFO] [stderr] Downloaded bracket-lib v0.8.1 [INFO] [stderr] Downloaded erased-serde v0.3.13 [INFO] [stderr] Downloaded bracket-random v0.8.2 [INFO] [stderr] Downloaded bracket-color v0.8.2 [INFO] [stderr] Downloaded bracket-algorithm-traits v0.8.2 [INFO] [stderr] Downloaded ctrlc v3.1.8 [INFO] [stderr] Downloaded glow v0.4.0 [INFO] [stderr] Downloaded serde v1.0.115 [INFO] [stderr] Downloaded bracket-noise v0.8.2 [INFO] [stderr] Downloaded wide v0.5.5 [INFO] [stderr] Downloaded legion v0.3.1 [INFO] [stderr] Downloaded libc v0.2.90 [INFO] [stderr] Downloaded syn v1.0.64 [INFO] [stderr] Downloaded bracket-pathfinding v0.8.4 [INFO] [stderr] Downloaded js-sys v0.3.49 [INFO] [stderr] Downloaded regex v1.4.5 [INFO] [stderr] Downloaded aho-corasick v0.7.15 [INFO] [stderr] Downloaded regex-syntax v0.6.23 [INFO] [stderr] Downloaded wasm-bindgen v0.2.72 [INFO] [stderr] Downloaded web-sys v0.3.49 [INFO] [stderr] Downloaded bracket-geometry v0.8.2 [INFO] [stderr] Downloaded slotmap v0.3.0 [INFO] [stderr] Downloaded ultraviolet v0.7.5 [INFO] [stderr] Downloaded ron v0.6.1 [INFO] [stderr] Downloaded console_error_panic_hook v0.1.6 [INFO] [stderr] Downloaded legion_codegen v0.3.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.72 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.72 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.72 [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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 777add45ca01ac81f87c21c82732507130d882c4c6db65066d8de31d9e2d812f [INFO] running `Command { std: "docker" "start" "-a" "777add45ca01ac81f87c21c82732507130d882c4c6db65066d8de31d9e2d812f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "777add45ca01ac81f87c21c82732507130d882c4c6db65066d8de31d9e2d812f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "777add45ca01ac81f87c21c82732507130d882c4c6db65066d8de31d9e2d812f", kill_on_drop: false }` [INFO] [stdout] 777add45ca01ac81f87c21c82732507130d882c4c6db65066d8de31d9e2d812f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3cb4d1a489ed1869ad3438a918f81b3e3bc2902bc5fe2efc184fff5b2edae0fc [INFO] running `Command { std: "docker" "start" "-a" "3cb4d1a489ed1869ad3438a918f81b3e3bc2902bc5fe2efc184fff5b2edae0fc", kill_on_drop: false }` [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 log v0.4.14 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libloading v0.7.0 [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 version_check v0.9.3 [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 nix v0.18.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling safe_arch v0.5.2 [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 memoffset v0.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling wide v0.5.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [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 wayland-scanner v0.28.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glow v0.4.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling rand_core v0.6.2 [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 xcursor v0.3.3 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling ultraviolet v0.7.5 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [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 jpeg-decoder v0.1.22 [INFO] [stderr] Compiling object-pool v0.5.3 [INFO] [stderr] Compiling bracket-color v0.8.2 [INFO] [stderr] Compiling bracket-geometry v0.8.2 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling bracket-algorithm-traits v0.8.2 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling bracket-pathfinding v0.8.4 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling bracket-random v0.8.2 [INFO] [stderr] Compiling bracket-noise v0.8.2 [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 thiserror v1.0.24 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 48s [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 3` [INFO] running `Command { std: "docker" "inspect" "3cb4d1a489ed1869ad3438a918f81b3e3bc2902bc5fe2efc184fff5b2edae0fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cb4d1a489ed1869ad3438a918f81b3e3bc2902bc5fe2efc184fff5b2edae0fc", kill_on_drop: false }` [INFO] [stdout] 3cb4d1a489ed1869ad3438a918f81b3e3bc2902bc5fe2efc184fff5b2edae0fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 154500d577c1915b72071eebf058c42cbffd9629c4ca6c72cf80985e48ccfbd9 [INFO] running `Command { std: "docker" "start" "-a" "154500d577c1915b72071eebf058c42cbffd9629c4ca6c72cf80985e48ccfbd9", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 2.01s [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 3` [INFO] running `Command { std: "docker" "inspect" "154500d577c1915b72071eebf058c42cbffd9629c4ca6c72cf80985e48ccfbd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "154500d577c1915b72071eebf058c42cbffd9629c4ca6c72cf80985e48ccfbd9", kill_on_drop: false }` [INFO] [stdout] 154500d577c1915b72071eebf058c42cbffd9629c4ca6c72cf80985e48ccfbd9