[INFO] cloning repository https://github.com/fineconstant/rust_sokoban [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fineconstant/rust_sokoban" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffineconstant%2Frust_sokoban", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffineconstant%2Frust_sokoban'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1bcaea3ac5693739d6aeca42bc6547a3b08678b0 [INFO] building fineconstant/rust_sokoban against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffineconstant%2Frust_sokoban" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fineconstant/rust_sokoban [INFO] finished tweaking git repo https://github.com/fineconstant/rust_sokoban [INFO] tweaked toml for git repo https://github.com/fineconstant/rust_sokoban written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fineconstant/rust_sokoban on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fineconstant/rust_sokoban 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror v1.0.23 [INFO] [stderr] Downloaded bzip2 v0.3.3 [INFO] [stderr] Downloaded smart-default v0.5.2 [INFO] [stderr] Downloaded thiserror-impl v1.0.23 [INFO] [stderr] Downloaded quick-error v2.0.0 [INFO] [stderr] Downloaded core-foundation-sys v0.5.1 [INFO] [stderr] Downloaded hound v3.4.0 [INFO] [stderr] Downloaded zip v0.5.9 [INFO] [stderr] Downloaded libm v0.2.1 [INFO] [stderr] Downloaded syn v1.0.56 [INFO] [stderr] Downloaded cargo_metadata v0.10.0 [INFO] [stderr] Downloaded sid v0.5.2 [INFO] [stderr] Downloaded directories v2.0.2 [INFO] [stderr] Downloaded humantime v2.0.1 [INFO] [stderr] Downloaded env_logger v0.8.2 [INFO] [stderr] Downloaded glyph_brush v0.6.3 [INFO] [stderr] Downloaded lewton v0.9.4 [INFO] [stderr] Downloaded regex-syntax v0.6.21 [INFO] [stderr] Downloaded cocoa v0.18.5 [INFO] [stderr] Downloaded lyon_tessellation v0.13.5 [INFO] [stderr] Downloaded bindgen v0.56.0 [INFO] [stderr] Downloaded image v0.22.5 [INFO] [stderr] Downloaded pulldown-cmark v0.2.0 [INFO] [stderr] Downloaded wayland-protocols v0.21.13 [INFO] [stderr] Downloaded smithay-client-toolkit v0.4.6 [INFO] [stderr] Downloaded nalgebra v0.18.1 [INFO] [stderr] Downloaded backtrace v0.3.55 [INFO] [stderr] Downloaded gfx v0.18.2 [INFO] [stderr] Downloaded winit v0.19.5 [INFO] [stderr] Downloaded object v0.22.0 [INFO] [stderr] Downloaded regex v1.4.2 [INFO] [stderr] Downloaded gfx_window_glutin v0.30.0 [INFO] [stderr] Downloaded io-kit-sys v0.1.0 [INFO] [stderr] Downloaded gilrs-core v0.2.6 [INFO] [stderr] Downloaded glutin v0.20.1 [INFO] [stderr] Downloaded glyph_brush v0.5.4 [INFO] [stderr] Downloaded xi-unicode v0.2.1 [INFO] [stderr] Downloaded gif v0.10.3 [INFO] [stderr] Downloaded inflate v0.4.5 [INFO] [stderr] Downloaded tiff v0.3.1 [INFO] [stderr] Downloaded clang-sys v1.0.3 [INFO] [stderr] Downloaded thread_local v1.0.1 [INFO] [stderr] Downloaded nix v0.15.0 [INFO] [stderr] Downloaded cpal v0.8.2 [INFO] [stderr] Downloaded alga v0.9.3 [INFO] [stderr] Downloaded gilrs v0.7.4 [INFO] [stderr] Downloaded matrixmultiply v0.2.4 [INFO] [stderr] Downloaded addr2line v0.14.0 [INFO] [stderr] Downloaded dirs-sys v0.3.5 [INFO] [stderr] Downloaded mach v0.2.3 [INFO] [stderr] Downloaded rusty-xinput v1.2.0 [INFO] [stderr] Downloaded gleam v0.6.19 [INFO] [stderr] Downloaded cgl v0.2.3 [INFO] [stderr] Downloaded glyph_brush_layout v0.1.9 [INFO] [stderr] Downloaded num-derive v0.2.5 [INFO] [stderr] Downloaded euclid_macros v0.1.0 [INFO] [stderr] Downloaded lyon_path v0.13.2 [INFO] [stderr] Downloaded ogg v0.7.1 [INFO] [stderr] Downloaded mint v0.5.6 [INFO] [stderr] Downloaded bytecount v0.6.2 [INFO] [stderr] Downloaded skeptic v0.13.5 [INFO] [stderr] Downloaded core-foundation v0.6.4 [INFO] [stderr] Downloaded core-graphics v0.17.3 [INFO] [stderr] Downloaded wayland-scanner v0.21.13 [INFO] [stderr] Downloaded twox-hash v1.6.0 [INFO] [stderr] Downloaded png v0.15.3 [INFO] [stderr] Downloaded lyon_algorithms v0.13.4 [INFO] [stderr] Downloaded arrayvec v0.4.12 [INFO] [stderr] Downloaded euclid v0.19.9 [INFO] [stderr] Downloaded lyon_geom v0.12.7 [INFO] [stderr] Downloaded lyon v0.13.5 [INFO] [stderr] Downloaded coreaudio-sys v0.2.8 [INFO] [stderr] Downloaded generic-array v0.12.3 [INFO] [stderr] Downloaded smallvec v0.6.13 [INFO] [stderr] Downloaded parking_lot_core v0.6.2 [INFO] [stderr] Downloaded wayland-sys v0.21.13 [INFO] [stderr] Downloaded wayland-client v0.21.13 [INFO] [stderr] Downloaded bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Downloaded ggez v0.5.1 [INFO] [stderr] Downloaded itertools v0.10.0 [INFO] [stderr] Downloaded wayland-commons v0.21.13 [INFO] [stderr] Downloaded rodio v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57064d2794c1fc1466d046623b075dcb4f1b69f84c75df5e5fc4073dc855f189 [INFO] running `Command { std: "docker" "start" "-a" "57064d2794c1fc1466d046623b075dcb4f1b69f84c75df5e5fc4073dc855f189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57064d2794c1fc1466d046623b075dcb4f1b69f84c75df5e5fc4073dc855f189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57064d2794c1fc1466d046623b075dcb4f1b69f84c75df5e5fc4073dc855f189", kill_on_drop: false }` [INFO] [stdout] 57064d2794c1fc1466d046623b075dcb4f1b69f84c75df5e5fc4073dc855f189 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f1223e2003357a7b0bb265ded3efd3f950e75da337f8db03c1b5afcbc059318 [INFO] running `Command { std: "docker" "start" "-a" "3f1223e2003357a7b0bb265ded3efd3f950e75da337f8db03c1b5afcbc059318", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling libloading v0.6.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling sid v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling xi-unicode v0.2.1 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling twox-hash v1.6.0 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling glyph_brush_layout v0.1.9 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling ogg v0.7.1 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling mint v0.5.6 [INFO] [stderr] Compiling lewton v0.9.4 [INFO] [stderr] Compiling minimp3 v0.3.5 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling nalgebra v0.18.1 [INFO] [stderr] Compiling cpal v0.8.2 [INFO] [stderr] Compiling glyph_brush v0.6.3 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling euclid v0.19.9 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling atom v0.3.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling tynm v0.1.6 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling lyon_geom v0.12.7 [INFO] [stderr] Compiling smallvec v1.5.1 [INFO] [stderr] Compiling hibitset v0.6.3 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling glyph_brush v0.5.4 [INFO] [stderr] Compiling shred v0.10.2 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling image v0.22.5 [INFO] [stderr] Compiling zip v0.5.9 [INFO] [stderr] Compiling smart-default v0.5.2 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling lyon_path v0.13.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling humantime v2.0.1 [INFO] [stderr] Compiling tuple_utils v0.3.0 [INFO] [stderr] Compiling shrev v1.1.1 [INFO] [stderr] Compiling lyon_algorithms v0.13.4 [INFO] [stderr] Compiling lyon_tessellation v0.13.5 [INFO] [stderr] Compiling specs v0.16.1 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling quick-error v2.0.0 [INFO] [stderr] Compiling gilrs-core v0.2.6 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling cargo_metadata v0.10.0 [INFO] [stderr] Compiling lyon v0.13.5 [INFO] [stderr] Compiling gilrs v0.7.4 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling skeptic v0.13.5 [INFO] [stderr] Compiling ggez v0.5.1 [INFO] [stderr] Compiling rodio v0.9.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling glutin v0.20.1 [INFO] [stderr] Compiling gfx_window_glutin v0.30.0 [INFO] [stderr] Compiling rust_sokoban v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [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: `core::fmt` [INFO] [stdout] --> src/component/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display` and `Formatter` [INFO] [stdout] --> src/component/mod.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/component/position.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> src/component/position.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Point3` [INFO] [stdout] --> src/component/position.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::nalgebra::{Point2, Point3}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::*` [INFO] [stdout] --> src/component/position.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NullStorage`, `WorldExt`, and `World` [INFO] [stdout] --> src/component/position.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use specs::{Component, NullStorage, VecStorage, World, WorldExt}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sokoban_game::SokobanGame` [INFO] [stdout] --> src/component/position.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::sokoban_game::SokobanGame; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/configuration.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::component::*` [INFO] [stdout] --> src/configuration.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::component::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `crate_obj`, `crate_spot`, `floor`, `player`, and `wall` [INFO] [stdout] --> src/configuration.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::entity::{crate_obj, crate_spot, floor, player, wall}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/entity.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DrainBitIter` and `DrainableBitSet` [INFO] [stdout] --> src/resource.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use specs::hibitset::{DrainBitIter, DrainableBitSet}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::vec_deque::Drain` [INFO] [stdout] --> src/resource.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::vec_deque::Drain; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> src/resource.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::mint::IntraXYZ` [INFO] [stdout] --> src/system/rendering_system.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ggez::mint::IntraXYZ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::input::gamepad::gilrs::ev::Button::LeftThumb` [INFO] [stdout] --> src/system/input_system.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::input::gamepad::gilrs::ev::Button::LeftThumb; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::input::mouse::position` [INFO] [stdout] --> src/system/input_system.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ggez::input::mouse::position; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vector` and `inf` [INFO] [stdout] --> src/system/input_system.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use ggez::nalgebra::{inf, Vector}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/system/input_system.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use specs::{Entities, Join, Read, ReadStorage, System, Write, WriteStorage}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/system/input_system.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::resource::{EventQueue, GameState, KeyDownQueue, MovesCount}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Player` [INFO] [stdout] --> src/system/event_system.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::component::{CrateObj, CrateSpot, Player}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/system/input_system.rs:204:25 [INFO] [stdout] | [INFO] [stdout] 202 | break; [INFO] [stdout] | ----- any code following this expression is unreachable [INFO] [stdout] 203 | [INFO] [stdout] 204 | info!("Entities to move: {:?}", entities_to_move); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `log` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/sokoban_game.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/system/sokoban_game_state_system.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | if let Some(x) = crates_by_position.get(&position) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_frame` is never used [INFO] [stdout] --> src/system/rendering_system.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 82 | impl RenderingSystem<'_> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | fn get_frame(&mut self, renderable: &Renderable, delta_acc: Duration) -> Image { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/system/rendering_system.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(context: &mut Context) -> RenderingSystem { [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(context: &mut Context) -> RenderingSystem<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/rendering_system.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | graphics::draw(self.context, &batch, DrawParam::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 70 | let _ = graphics::draw(self.context, &batch, DrawParam::new()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/input_system.rs:212:37 [INFO] [stdout] | [INFO] [stdout] 212 | ... position.move_north(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 212 | let _ = position.move_north(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/input_system.rs:215:37 [INFO] [stdout] | [INFO] [stdout] 215 | ... position.move_south(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 215 | let _ = position.move_south(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/input_system.rs:218:37 [INFO] [stdout] | [INFO] [stdout] 218 | ... position.move_west(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 218 | let _ = position.move_west(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/input_system.rs:221:37 [INFO] [stdout] | [INFO] [stdout] 221 | ... position.move_east(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 221 | let _ = position.move_east(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 00s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "3f1223e2003357a7b0bb265ded3efd3f950e75da337f8db03c1b5afcbc059318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f1223e2003357a7b0bb265ded3efd3f950e75da337f8db03c1b5afcbc059318", kill_on_drop: false }` [INFO] [stdout] 3f1223e2003357a7b0bb265ded3efd3f950e75da337f8db03c1b5afcbc059318 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e430cb9e9e01e3ee66bf96aea834236d0dac7b6f60563c062ba226215998411c [INFO] running `Command { std: "docker" "start" "-a" "e430cb9e9e01e3ee66bf96aea834236d0dac7b6f60563c062ba226215998411c", kill_on_drop: false }` [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [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: `core::fmt` [INFO] [stdout] --> src/component/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display` and `Formatter` [INFO] [stdout] --> src/component/mod.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/component/position.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> src/component/position.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Point3` [INFO] [stdout] --> src/component/position.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::nalgebra::{Point2, Point3}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::*` [INFO] [stdout] --> src/component/position.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NullStorage`, `WorldExt`, and `World` [INFO] [stdout] --> src/component/position.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use specs::{Component, NullStorage, VecStorage, World, WorldExt}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sokoban_game::SokobanGame` [INFO] [stdout] --> src/component/position.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::sokoban_game::SokobanGame; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/configuration.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::component::*` [INFO] [stdout] --> src/configuration.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::component::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `crate_obj`, `crate_spot`, `floor`, `player`, and `wall` [INFO] [stdout] --> src/configuration.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::entity::{crate_obj, crate_spot, floor, player, wall}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/entity.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DrainBitIter` and `DrainableBitSet` [INFO] [stdout] --> src/resource.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use specs::hibitset::{DrainBitIter, DrainableBitSet}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::vec_deque::Drain` [INFO] [stdout] --> src/resource.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::vec_deque::Drain; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> src/resource.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::mint::IntraXYZ` [INFO] [stdout] --> src/system/rendering_system.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ggez::mint::IntraXYZ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::input::gamepad::gilrs::ev::Button::LeftThumb` [INFO] [stdout] --> src/system/input_system.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::input::gamepad::gilrs::ev::Button::LeftThumb; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust_sokoban v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ggez::input::mouse::position` [INFO] [stdout] --> src/system/input_system.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ggez::input::mouse::position; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vector` and `inf` [INFO] [stdout] --> src/system/input_system.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use ggez::nalgebra::{inf, Vector}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/system/input_system.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use specs::{Entities, Join, Read, ReadStorage, System, Write, WriteStorage}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/system/input_system.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::resource::{EventQueue, GameState, KeyDownQueue, MovesCount}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Player` [INFO] [stdout] --> src/system/event_system.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::component::{CrateObj, CrateSpot, Player}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/system/input_system.rs:204:25 [INFO] [stdout] | [INFO] [stdout] 202 | break; [INFO] [stdout] | ----- any code following this expression is unreachable [INFO] [stdout] 203 | [INFO] [stdout] 204 | info!("Entities to move: {:?}", entities_to_move); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `log` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/sokoban_game.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/system/sokoban_game_state_system.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | if let Some(x) = crates_by_position.get(&position) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_frame` is never used [INFO] [stdout] --> src/system/rendering_system.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 82 | impl RenderingSystem<'_> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | fn get_frame(&mut self, renderable: &Renderable, delta_acc: Duration) -> Image { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/system/rendering_system.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(context: &mut Context) -> RenderingSystem { [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(context: &mut Context) -> RenderingSystem<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/rendering_system.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | graphics::draw(self.context, &batch, DrawParam::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 70 | let _ = graphics::draw(self.context, &batch, DrawParam::new()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/input_system.rs:212:37 [INFO] [stdout] | [INFO] [stdout] 212 | ... position.move_north(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 212 | let _ = position.move_north(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/input_system.rs:215:37 [INFO] [stdout] | [INFO] [stdout] 215 | ... position.move_south(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 215 | let _ = position.move_south(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/input_system.rs:218:37 [INFO] [stdout] | [INFO] [stdout] 218 | ... position.move_west(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 218 | let _ = position.move_west(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/input_system.rs:221:37 [INFO] [stdout] | [INFO] [stdout] 221 | ... position.move_east(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 221 | let _ = position.move_east(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::*; [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 `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [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: `core::fmt` [INFO] [stdout] --> src/component/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display` and `Formatter` [INFO] [stdout] --> src/component/mod.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/component/position.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> src/component/position.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Point3` [INFO] [stdout] --> src/component/position.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::nalgebra::{Point2, Point3}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::*` [INFO] [stdout] --> src/component/position.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NullStorage`, `WorldExt`, and `World` [INFO] [stdout] --> src/component/position.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use specs::{Component, NullStorage, VecStorage, World, WorldExt}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sokoban_game::SokobanGame` [INFO] [stdout] --> src/component/position.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::sokoban_game::SokobanGame; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/configuration.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::component::*` [INFO] [stdout] --> src/configuration.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::component::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `crate_obj`, `crate_spot`, `floor`, `player`, and `wall` [INFO] [stdout] --> src/configuration.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::entity::{crate_obj, crate_spot, floor, player, wall}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/entity.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DrainBitIter` and `DrainableBitSet` [INFO] [stdout] --> src/resource.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use specs::hibitset::{DrainBitIter, DrainableBitSet}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::vec_deque::Drain` [INFO] [stdout] --> src/resource.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::vec_deque::Drain; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> src/resource.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::mint::IntraXYZ` [INFO] [stdout] --> src/system/rendering_system.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ggez::mint::IntraXYZ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::input::gamepad::gilrs::ev::Button::LeftThumb` [INFO] [stdout] --> src/system/input_system.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::input::gamepad::gilrs::ev::Button::LeftThumb; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::input::mouse::position` [INFO] [stdout] --> src/system/input_system.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ggez::input::mouse::position; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vector` and `inf` [INFO] [stdout] --> src/system/input_system.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use ggez::nalgebra::{inf, Vector}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/system/input_system.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use specs::{Entities, Join, Read, ReadStorage, System, Write, WriteStorage}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GameState` [INFO] [stdout] --> src/system/input_system.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::resource::{EventQueue, GameState, KeyDownQueue, MovesCount}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Player` [INFO] [stdout] --> src/system/event_system.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::component::{CrateObj, CrateSpot, Player}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/system/input_system.rs:204:25 [INFO] [stdout] | [INFO] [stdout] 202 | break; [INFO] [stdout] | ----- any code following this expression is unreachable [INFO] [stdout] 203 | [INFO] [stdout] 204 | info!("Entities to move: {:?}", entities_to_move); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `log` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/sokoban_game.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/system/sokoban_game_state_system.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | if let Some(x) = crates_by_position.get(&position) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_frame` is never used [INFO] [stdout] --> src/system/rendering_system.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 82 | impl RenderingSystem<'_> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | fn get_frame(&mut self, renderable: &Renderable, delta_acc: Duration) -> Image { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/system/rendering_system.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(context: &mut Context) -> RenderingSystem { [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(context: &mut Context) -> RenderingSystem<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/rendering_system.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | graphics::draw(self.context, &batch, DrawParam::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 70 | let _ = graphics::draw(self.context, &batch, DrawParam::new()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/input_system.rs:212:37 [INFO] [stdout] | [INFO] [stdout] 212 | ... position.move_north(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 212 | let _ = position.move_north(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/input_system.rs:215:37 [INFO] [stdout] | [INFO] [stdout] 215 | ... position.move_south(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 215 | let _ = position.move_south(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/input_system.rs:218:37 [INFO] [stdout] | [INFO] [stdout] 218 | ... position.move_west(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 218 | let _ = position.move_west(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/system/input_system.rs:221:37 [INFO] [stdout] | [INFO] [stdout] 221 | ... position.move_east(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 221 | let _ = position.move_east(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.90s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "e430cb9e9e01e3ee66bf96aea834236d0dac7b6f60563c062ba226215998411c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e430cb9e9e01e3ee66bf96aea834236d0dac7b6f60563c062ba226215998411c", kill_on_drop: false }` [INFO] [stdout] e430cb9e9e01e3ee66bf96aea834236d0dac7b6f60563c062ba226215998411c