[INFO] cloning repository https://github.com/davidstyrbjorn/drone [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davidstyrbjorn/drone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidstyrbjorn%2Fdrone", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidstyrbjorn%2Fdrone'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 96f57e0c28100e0f62db6c8d3168a6f1599773d6 [INFO] testing davidstyrbjorn/drone against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidstyrbjorn%2Fdrone" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/davidstyrbjorn/drone [INFO] finished tweaking git repo https://github.com/davidstyrbjorn/drone [INFO] tweaked toml for git repo https://github.com/davidstyrbjorn/drone written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/davidstyrbjorn/drone on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/davidstyrbjorn/drone 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc6f92a61dbdfd96167fc437ecdb7eed9044bae00b75f0738acc867bfa543c10 [INFO] running `Command { std: "docker" "start" "-a" "fc6f92a61dbdfd96167fc437ecdb7eed9044bae00b75f0738acc867bfa543c10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc6f92a61dbdfd96167fc437ecdb7eed9044bae00b75f0738acc867bfa543c10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc6f92a61dbdfd96167fc437ecdb7eed9044bae00b75f0738acc867bfa543c10", kill_on_drop: false }` [INFO] [stdout] fc6f92a61dbdfd96167fc437ecdb7eed9044bae00b75f0738acc867bfa543c10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bd877e3d15690115084199b864f2a0441d22656efdb23c650ee20709336f0fb [INFO] running `Command { std: "docker" "start" "-a" "3bd877e3d15690115084199b864f2a0441d22656efdb23c650ee20709336f0fb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling once_cell v1.11.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling wide v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling erased-serde v0.3.20 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling xdg v2.4.1 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling ultraviolet v0.8.1 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling bracket-color v0.8.2 [INFO] [stderr] Compiling object-pool v0.5.4 [INFO] [stderr] Compiling flate2 v1.0.23 [INFO] [stderr] Compiling bracket-geometry v0.8.3 [INFO] [stderr] Compiling glow v0.10.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling bracket-algorithm-traits v0.8.2 [INFO] [stderr] Compiling bracket-random v0.8.2 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling bracket-pathfinding v0.8.4 [INFO] [stderr] Compiling bracket-noise v0.8.2 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling legion_codegen v0.3.0 [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.5 [INFO] [stderr] Compiling bracket-lib v0.8.1 [INFO] [stderr] Compiling drone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread::spawn` [INFO] [stdout] --> src/map_builder/automata.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::spawn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/map_builder/drunkard.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | .filter(|t| (**t == TileType::Wall && rng.range(0, 10) > 5)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - .filter(|t| (**t == TileType::Wall && rng.range(0, 10) > 5)) [INFO] [stdout] 41 + .filter(|t| **t == TileType::Wall && rng.range(0, 10) > 5) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/map_builder/rooms.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | .filter(|t| (**t == TileType::Floor && rng.range(0, 11) > 5)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 15 - .filter(|t| (**t == TileType::Floor && rng.range(0, 11) > 5)) [INFO] [stdout] 15 + .filter(|t| **t == TileType::Floor && rng.range(0, 11) > 5) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/map_builder/rooms.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | .filter(|t| (**t == TileType::Wall && rng.range(0, 11) > 6)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - .filter(|t| (**t == TileType::Wall && rng.range(0, 11) > 6)) [INFO] [stdout] 21 + .filter(|t| **t == TileType::Wall && rng.range(0, 11) > 6) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/systems/player_input.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | (item_pos == player_pos && number_of_carried_components <= 9) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - (item_pos == player_pos && number_of_carried_components <= 9) [INFO] [stdout] 50 + item_pos == player_pos && number_of_carried_components <= 9 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/combat.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | if let Ok(mut health) = ecs [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/fov.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | .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/movement.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | if let Ok(mut entry) = ecs.entry_mut(want_move.entity) { [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/player_input.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | let mut player = <&mut Player>::query().iter_mut(ecs).nth(0).unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/systems/use_effect.rs:5:80 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn use_items(ecs: &mut SubWorld, commands: &mut CommandBuffer, #[resource] map: &mut Map) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmptyArchitect` is never constructed [INFO] [stdout] --> src/map_builder/empty.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct EmptyArchitect {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.59s [INFO] running `Command { std: "docker" "inspect" "3bd877e3d15690115084199b864f2a0441d22656efdb23c650ee20709336f0fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bd877e3d15690115084199b864f2a0441d22656efdb23c650ee20709336f0fb", kill_on_drop: false }` [INFO] [stdout] 3bd877e3d15690115084199b864f2a0441d22656efdb23c650ee20709336f0fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a516d28ecabc05845f1d73842200651509b692e9a134528f3318159bbec4e197 [INFO] running `Command { std: "docker" "start" "-a" "a516d28ecabc05845f1d73842200651509b692e9a134528f3318159bbec4e197", kill_on_drop: false }` [INFO] [stderr] Compiling drone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread::spawn` [INFO] [stdout] --> src/map_builder/automata.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::spawn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/map_builder/drunkard.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | .filter(|t| (**t == TileType::Wall && rng.range(0, 10) > 5)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - .filter(|t| (**t == TileType::Wall && rng.range(0, 10) > 5)) [INFO] [stdout] 41 + .filter(|t| **t == TileType::Wall && rng.range(0, 10) > 5) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/map_builder/rooms.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | .filter(|t| (**t == TileType::Floor && rng.range(0, 11) > 5)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 15 - .filter(|t| (**t == TileType::Floor && rng.range(0, 11) > 5)) [INFO] [stdout] 15 + .filter(|t| **t == TileType::Floor && rng.range(0, 11) > 5) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/map_builder/rooms.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | .filter(|t| (**t == TileType::Wall && rng.range(0, 11) > 6)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - .filter(|t| (**t == TileType::Wall && rng.range(0, 11) > 6)) [INFO] [stdout] 21 + .filter(|t| **t == TileType::Wall && rng.range(0, 11) > 6) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/systems/player_input.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | (item_pos == player_pos && number_of_carried_components <= 9) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - (item_pos == player_pos && number_of_carried_components <= 9) [INFO] [stdout] 50 + item_pos == player_pos && number_of_carried_components <= 9 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/combat.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | if let Ok(mut health) = ecs [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/fov.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | .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/movement.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | if let Ok(mut entry) = ecs.entry_mut(want_move.entity) { [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/player_input.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | let mut player = <&mut Player>::query().iter_mut(ecs).nth(0).unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/systems/use_effect.rs:5:80 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn use_items(ecs: &mut SubWorld, commands: &mut CommandBuffer, #[resource] map: &mut Map) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmptyArchitect` is never constructed [INFO] [stdout] --> src/map_builder/empty.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct EmptyArchitect {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.37s [INFO] running `Command { std: "docker" "inspect" "a516d28ecabc05845f1d73842200651509b692e9a134528f3318159bbec4e197", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a516d28ecabc05845f1d73842200651509b692e9a134528f3318159bbec4e197", kill_on_drop: false }` [INFO] [stdout] a516d28ecabc05845f1d73842200651509b692e9a134528f3318159bbec4e197 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 87b6930ff772a95d317356058848cd4d96dff7c9d987c82839949738765b9d94 [INFO] running `Command { std: "docker" "start" "-a" "87b6930ff772a95d317356058848cd4d96dff7c9d987c82839949738765b9d94", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::thread::spawn` [INFO] [stderr] --> src/map_builder/automata.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::thread::spawn; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/map_builder/drunkard.rs:41:25 [INFO] [stderr] | [INFO] [stderr] 41 | .filter(|t| (**t == TileType::Wall && rng.range(0, 10) > 5)) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 41 - .filter(|t| (**t == TileType::Wall && rng.range(0, 10) > 5)) [INFO] [stderr] 41 + .filter(|t| **t == TileType::Wall && rng.range(0, 10) > 5) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/map_builder/rooms.rs:15:25 [INFO] [stderr] | [INFO] [stderr] 15 | .filter(|t| (**t == TileType::Floor && rng.range(0, 11) > 5)) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 15 - .filter(|t| (**t == TileType::Floor && rng.range(0, 11) > 5)) [INFO] [stderr] 15 + .filter(|t| **t == TileType::Floor && rng.range(0, 11) > 5) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/map_builder/rooms.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | .filter(|t| (**t == TileType::Wall && rng.range(0, 11) > 6)) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 21 - .filter(|t| (**t == TileType::Wall && rng.range(0, 11) > 6)) [INFO] [stderr] 21 + .filter(|t| **t == TileType::Wall && rng.range(0, 11) > 6) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/systems/player_input.rs:50:25 [INFO] [stderr] | [INFO] [stderr] 50 | (item_pos == player_pos && number_of_carried_components <= 9) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 50 - (item_pos == player_pos && number_of_carried_components <= 9) [INFO] [stderr] 50 + item_pos == player_pos && number_of_carried_components <= 9 [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/systems/combat.rs:77:23 [INFO] [stderr] | [INFO] [stderr] 77 | if let Ok(mut health) = ecs [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/systems/fov.rs:13:26 [INFO] [stderr] | [INFO] [stderr] 13 | .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/movement.rs:16:19 [INFO] [stderr] | [INFO] [stderr] 16 | if let Ok(mut entry) = ecs.entry_mut(want_move.entity) { [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/player_input.rs:134:17 [INFO] [stderr] | [INFO] [stderr] 134 | let mut player = <&mut Player>::query().iter_mut(ecs).nth(0).unwrap(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `map` [INFO] [stderr] --> src/systems/use_effect.rs:5:80 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn use_items(ecs: &mut SubWorld, commands: &mut CommandBuffer, #[resource] map: &mut Map) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `EmptyArchitect` is never constructed [INFO] [stderr] --> src/map_builder/empty.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct EmptyArchitect {} [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `drone` (bin "drone" test) generated 11 warnings (run `cargo fix --bin "drone" --tests` to apply 9 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/drone-99ea0bebde0c115d) [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" "87b6930ff772a95d317356058848cd4d96dff7c9d987c82839949738765b9d94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87b6930ff772a95d317356058848cd4d96dff7c9d987c82839949738765b9d94", kill_on_drop: false }` [INFO] [stdout] 87b6930ff772a95d317356058848cd4d96dff7c9d987c82839949738765b9d94