[INFO] cloning repository https://github.com/jojolepro/wotfg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jojolepro/wotfg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjojolepro%2Fwotfg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjojolepro%2Fwotfg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 70b0a1c264dc3c1af3c613b8efe1e13613e18e97 [INFO] testing jojolepro/wotfg against 1.55.0 for beta-1.56-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjojolepro%2Fwotfg" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jojolepro/wotfg on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jojolepro/wotfg [INFO] finished tweaking git repo https://github.com/jojolepro/wotfg [INFO] tweaked toml for git repo https://github.com/jojolepro/wotfg written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/jojolepro/wotfg already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ef7ec2719c7cb46ce233963b7fee01d07d51392668f1d3435f5f16db1f88487 [INFO] running `Command { std: "docker" "start" "-a" "7ef7ec2719c7cb46ce233963b7fee01d07d51392668f1d3435f5f16db1f88487", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ef7ec2719c7cb46ce233963b7fee01d07d51392668f1d3435f5f16db1f88487", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ef7ec2719c7cb46ce233963b7fee01d07d51392668f1d3435f5f16db1f88487", kill_on_drop: false }` [INFO] [stdout] 7ef7ec2719c7cb46ce233963b7fee01d07d51392668f1d3435f5f16db1f88487 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f9c5bee4f9b77440943ce67fb87881eea9494a074d4f91519f63e05cbe9e25b [INFO] running `Command { std: "docker" "start" "-a" "5f9c5bee4f9b77440943ce67fb87881eea9494a074d4f91519f63e05cbe9e25b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling atomic_refcell_try v0.2.0 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling bitset-core v0.1.1 [INFO] [stderr] Compiling atom v0.3.6 [INFO] [stderr] Compiling game_clock v1.1.1 [INFO] [stderr] Compiling spin_sleep v1.0.0 [INFO] [stderr] Compiling partial_function v0.4.0 [INFO] [stderr] Compiling game_state_machine v1.0.0 [INFO] [stderr] Compiling pushdown-automaton-macro v0.1.0 [INFO] [stderr] Compiling fixedbitset v0.4.0 [INFO] [stderr] Compiling roman v0.1.6 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling ncurses v5.101.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling game_engine_core v1.1.0 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling pathfinding v2.1.4 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling entity_component v1.1.2 [INFO] [stderr] Compiling wide v0.5.5 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling stopwatch v0.1.0 (https://github.com/jojolepro/rust-stopwatch?rev=5ed6926a5aa5b21d58d2e67d179da1ec4cbc8a2e#5ed6926a) [INFO] [stderr] Compiling ultraviolet v0.7.5 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling signal-hook v0.1.17 [INFO] [stderr] Compiling pancurses v0.16.1 [INFO] [stderr] Compiling object-pool v0.5.4 [INFO] [stderr] Compiling crossterm v0.19.0 [INFO] [stderr] Compiling crossterm v0.18.2 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling easycurses v0.12.2 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Compiling world_dispatcher v1.2.0 [INFO] [stderr] Compiling hibitset v0.6.3 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling wayland-commons v0.28.5 [INFO] [stderr] Compiling ctrlc v3.1.9 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling wayland-cursor v0.28.5 [INFO] [stderr] Compiling modular-bitfield v0.11.2 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling derive_builder_core v0.5.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling bracket-geometry v0.8.2 (https://github.com/thebracket/bracket-lib?branch=master#d8c8af87) [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling bracket-color v0.8.2 (https://github.com/thebracket/bracket-lib?branch=master#d8c8af87) [INFO] [stderr] Compiling game_features v0.7.1 (https://github.com/jojolepro/game_features#6c1f79c6) [INFO] [stderr] Compiling ron v0.6.4 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling bracket-random v0.8.3 (https://github.com/thebracket/bracket-lib?branch=master#d8c8af87) [INFO] [stderr] Compiling bracket-algorithm-traits v0.8.2 (https://github.com/thebracket/bracket-lib?branch=master#d8c8af87) [INFO] [stderr] Compiling bracket-noise v0.8.2 (https://github.com/thebracket/bracket-lib?branch=master#d8c8af87) [INFO] [stderr] Compiling bracket-pathfinding v0.8.4 (https://github.com/thebracket/bracket-lib?branch=master#d8c8af87) [INFO] [stderr] Compiling planck_ecs v1.2.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling bracket-terminal v0.8.3 (https://github.com/thebracket/bracket-lib?branch=master#d8c8af87) [INFO] [stderr] Compiling bracket-lib v0.8.2 (https://github.com/thebracket/bracket-lib?branch=master#d8c8af87) [INFO] [stderr] Compiling minigene v0.4.0 (https://github.com/jojolepro/minigene#cb5e71a8) [INFO] [stderr] Compiling wotfg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `easycurses::constants::acs` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use easycurses::constants::acs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> src/resources.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/states/curses_main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let entity = data.world.get_mut::().unwrap().create(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/states/load.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | fn update(&mut self, data: &mut GameData) -> StateTransition { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/systems/crafting.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | for (player, mut inventory, statset) in [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inventories` [INFO] [stdout] --> src/systems/curses/close_items.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | inventories: &Components>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inventories` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `controlled` [INFO] [stdout] --> src/systems/curses/render_crafting.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | controlled: &Components, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_controlled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inventories` [INFO] [stdout] --> src/systems/curses/render_crafting.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | inventories: &Components>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inventories` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth` [INFO] [stdout] --> src/systems/curses/render_crafting.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | auth: &Auth, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_auth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/systems/curses/render_inventory.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let start = MAIN_AREA_MARGIN_LEFT as i32; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `third2` [INFO] [stdout] --> src/systems/curses/render_inventory.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let third2 = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_third2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/systems/curses/render_inventory.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let end = render.screen_width as i32 - MAIN_AREA_MARGIN_RIGHT as i32; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inventories` [INFO] [stdout] --> src/systems/curses/render_sidebar.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | inventories: &Components>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inventories` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new` [INFO] [stdout] --> src/systems/cursor_move.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let new = match ev { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/systems/mine.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | for (player, position) in join!(&players && &positions) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/systems/mine.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | for condition in tile_def.harvest_types.iter() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/systems/quick_select.rs:44:44 [INFO] [stdout] | [INFO] [stdout] 44 | ... if let Err(e) = inventory.as_mut().unwrap().insert(item, item_defs) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/crafting.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | let mut inv = inventory.as_mut().unwrap(); [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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 28s [INFO] running `Command { std: "docker" "inspect" "5f9c5bee4f9b77440943ce67fb87881eea9494a074d4f91519f63e05cbe9e25b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f9c5bee4f9b77440943ce67fb87881eea9494a074d4f91519f63e05cbe9e25b", kill_on_drop: false }` [INFO] [stdout] 5f9c5bee4f9b77440943ce67fb87881eea9494a074d4f91519f63e05cbe9e25b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5065565a7ac38c5fc31a6391f3c2ff358865628e553a6fd97d105607e5a86f11 [INFO] running `Command { std: "docker" "start" "-a" "5065565a7ac38c5fc31a6391f3c2ff358865628e553a6fd97d105607e5a86f11", kill_on_drop: false }` [INFO] [stderr] Compiling wotfg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `easycurses::constants::acs` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use easycurses::constants::acs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::*` [INFO] [stdout] --> src/resources.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/states/curses_main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let entity = data.world.get_mut::().unwrap().create(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/states/load.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | fn update(&mut self, data: &mut GameData) -> StateTransition { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/systems/crafting.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | for (player, mut inventory, statset) in [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inventories` [INFO] [stdout] --> src/systems/curses/close_items.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | inventories: &Components>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inventories` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `controlled` [INFO] [stdout] --> src/systems/curses/render_crafting.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | controlled: &Components, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_controlled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inventories` [INFO] [stdout] --> src/systems/curses/render_crafting.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | inventories: &Components>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inventories` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `auth` [INFO] [stdout] --> src/systems/curses/render_crafting.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | auth: &Auth, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_auth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/systems/curses/render_inventory.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let start = MAIN_AREA_MARGIN_LEFT as i32; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `third2` [INFO] [stdout] --> src/systems/curses/render_inventory.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let third2 = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_third2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/systems/curses/render_inventory.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let end = render.screen_width as i32 - MAIN_AREA_MARGIN_RIGHT as i32; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inventories` [INFO] [stdout] --> src/systems/curses/render_sidebar.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | inventories: &Components>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inventories` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new` [INFO] [stdout] --> src/systems/cursor_move.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let new = match ev { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/systems/mine.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | for (player, position) in join!(&players && &positions) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/systems/mine.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | for condition in tile_def.harvest_types.iter() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/systems/quick_select.rs:44:44 [INFO] [stdout] | [INFO] [stdout] 44 | ... if let Err(e) = inventory.as_mut().unwrap().insert(item, item_defs) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/crafting.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | let mut inv = inventory.as_mut().unwrap(); [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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.47s [INFO] running `Command { std: "docker" "inspect" "5065565a7ac38c5fc31a6391f3c2ff358865628e553a6fd97d105607e5a86f11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5065565a7ac38c5fc31a6391f3c2ff358865628e553a6fd97d105607e5a86f11", kill_on_drop: false }` [INFO] [stdout] 5065565a7ac38c5fc31a6391f3c2ff358865628e553a6fd97d105607e5a86f11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b147ce88821c60fc04713c57b6a511ff6e5991ca02203edcfb05ce87744c63c1 [INFO] running `Command { std: "docker" "start" "-a" "b147ce88821c60fc04713c57b6a511ff6e5991ca02203edcfb05ce87744c63c1", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `easycurses::constants::acs` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use easycurses::constants::acs; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::*` [INFO] [stderr] --> src/resources.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `entity` [INFO] [stderr] --> src/states/curses_main.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | let entity = data.world.get_mut::().unwrap().create(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/states/load.rs:57:26 [INFO] [stderr] | [INFO] [stderr] 57 | fn update(&mut self, data: &mut GameData) -> StateTransition { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `player` [INFO] [stderr] --> src/systems/crafting.rs:16:22 [INFO] [stderr] | [INFO] [stderr] 16 | for (player, mut inventory, statset) in [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `inventories` [INFO] [stderr] --> src/systems/curses/close_items.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | inventories: &Components>, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inventories` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `controlled` [INFO] [stderr] --> src/systems/curses/render_crafting.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | controlled: &Components, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_controlled` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `inventories` [INFO] [stderr] --> src/systems/curses/render_crafting.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | inventories: &Components>, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inventories` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `auth` [INFO] [stderr] --> src/systems/curses/render_crafting.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | auth: &Auth, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_auth` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `start` [INFO] [stderr] --> src/systems/curses/render_inventory.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | let start = MAIN_AREA_MARGIN_LEFT as i32; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `third2` [INFO] [stderr] --> src/systems/curses/render_inventory.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | let third2 = [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_third2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `end` [INFO] [stderr] --> src/systems/curses/render_inventory.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | let end = render.screen_width as i32 - MAIN_AREA_MARGIN_RIGHT as i32; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `inventories` [INFO] [stderr] --> src/systems/curses/render_sidebar.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | inventories: &Components>, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inventories` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `new` [INFO] [stderr] --> src/systems/cursor_move.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | let new = match ev { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_new` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `player` [INFO] [stderr] --> src/systems/mine.rs:16:14 [INFO] [stderr] | [INFO] [stderr] 16 | for (player, position) in join!(&players && &positions) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `condition` [INFO] [stderr] --> src/systems/mine.rs:36:25 [INFO] [stderr] | [INFO] [stderr] 36 | for condition in tile_def.harvest_types.iter() { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_condition` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/systems/quick_select.rs:44:44 [INFO] [stderr] | [INFO] [stderr] 44 | ... if let Err(e) = inventory.as_mut().unwrap().insert(item, item_defs) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/systems/crafting.rs:19:25 [INFO] [stderr] | [INFO] [stderr] 19 | let mut inv = inventory.as_mut().unwrap(); [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: `wotfg` (bin "wotfg" test) generated 18 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/wotfg-cd590cbac62758c6) [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" "b147ce88821c60fc04713c57b6a511ff6e5991ca02203edcfb05ce87744c63c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b147ce88821c60fc04713c57b6a511ff6e5991ca02203edcfb05ce87744c63c1", kill_on_drop: false }` [INFO] [stdout] b147ce88821c60fc04713c57b6a511ff6e5991ca02203edcfb05ce87744c63c1