[INFO] cloning repository https://github.com/yzhs/sokoban [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yzhs/sokoban" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyzhs%2Fsokoban", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyzhs%2Fsokoban'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca2e1767072b5ebb624e6e9581da8214e3df73de [INFO] building yzhs/sokoban against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyzhs%2Fsokoban" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yzhs/sokoban on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yzhs/sokoban [INFO] finished tweaking git repo https://github.com/yzhs/sokoban [INFO] tweaked toml for git repo https://github.com/yzhs/sokoban written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/yzhs/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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded env_logger v0.8.4 [INFO] [stderr] Downloaded find_folder v0.3.0 [INFO] [stderr] Downloaded servo-fontconfig v0.5.1 [INFO] [stderr] Downloaded downcast-rs v1.2.1 [INFO] [stderr] Downloaded anstyle v1.0.6 [INFO] [stderr] Downloaded colog v1.3.0 [INFO] [stderr] Downloaded parking_lot v0.12.1 [INFO] [stderr] Downloaded slotmap v1.0.7 [INFO] [stderr] Downloaded safe_arch v0.5.2 [INFO] [stderr] Downloaded freetype-rs v0.26.0 [INFO] [stderr] Downloaded smithay-client-toolkit v0.16.1 [INFO] [stderr] Downloaded xml-rs v0.8.20 [INFO] [stderr] Downloaded glutin v0.29.1 [INFO] [stderr] Downloaded quick-xml v0.23.1 [INFO] [stderr] Downloaded tiny-skia v0.7.0 [INFO] [stderr] Downloaded serde_json v1.0.116 [INFO] [stderr] Downloaded crossfont v0.5.2 [INFO] [stderr] Downloaded tiny-skia-path v0.7.0 [INFO] [stderr] Downloaded half v2.4.1 [INFO] [stderr] Downloaded syn v2.0.59 [INFO] [stderr] Downloaded bytemuck v1.15.0 [INFO] [stderr] Downloaded parking_lot_core v0.9.9 [INFO] [stderr] Downloaded cocoa v0.25.0 [INFO] [stderr] Downloaded arrayvec v0.5.2 [INFO] [stderr] Downloaded winit v0.27.5 [INFO] [stderr] Downloaded sctk-adwaita v0.4.3 [INFO] [stderr] Downloaded either v1.11.0 [INFO] [stderr] Downloaded directories v5.0.1 [INFO] [stderr] Downloaded cty v0.2.2 [INFO] [stderr] Downloaded raw-window-handle v0.4.3 [INFO] [stderr] Downloaded cocoa-foundation v0.1.2 [INFO] [stderr] Downloaded expat-sys v2.1.6 [INFO] [stderr] Downloaded half v1.8.3 [INFO] [stderr] Downloaded serde_cbor v0.11.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.80 [INFO] [stderr] Downloaded glutin_egl_sys v0.1.6 [INFO] [stderr] Downloaded glutin_glx_sys v0.1.8 [INFO] [stderr] Downloaded wayland-egl v0.29.5 [INFO] [stderr] Downloaded ndk-macro v0.3.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.36.1 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.36.1 [INFO] [stderr] Downloaded ndk-glue v0.7.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.36.1 [INFO] [stderr] Downloaded natord v1.0.9 [INFO] [stderr] Downloaded quickcheck_macros v1.0.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.36.1 [INFO] [stderr] Downloaded windows_i686_gnu v0.36.1 [INFO] [stderr] Downloaded quickcheck v1.0.3 [INFO] [stderr] Downloaded glium v0.32.1 [INFO] [stderr] Downloaded servo-fontconfig-sys v5.1.0 [INFO] [stderr] Downloaded freetype-sys v0.13.1 [INFO] [stderr] Downloaded windows-sys v0.36.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a28a5fdc18386f8bfc4a46959518a536c7a6cf8a572a34e9c1546cd560d79b2 [INFO] running `Command { std: "docker" "start" "-a" "6a28a5fdc18386f8bfc4a46959518a536c7a6cf8a572a34e9c1546cd560d79b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a28a5fdc18386f8bfc4a46959518a536c7a6cf8a572a34e9c1546cd560d79b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a28a5fdc18386f8bfc4a46959518a536c7a6cf8a572a34e9c1546cd560d79b2", kill_on_drop: false }` [INFO] [stdout] 6a28a5fdc18386f8bfc4a46959518a536c7a6cf8a572a34e9c1546cd560d79b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 007e9e9284ac2d01fb5523bd3ce10af8c33984b4add8407978896df59120385a [INFO] running `Command { std: "docker" "start" "-a" "007e9e9284ac2d01fb5523bd3ce10af8c33984b4add8407978896df59120385a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.80 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling crossfont v0.5.2 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling syn v2.0.59 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling glium v0.32.1 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling wayland-egl v0.29.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling quick-xml v0.23.1 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling natord v1.0.9 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling colog v1.3.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling sctk-adwaita v0.4.3 [INFO] [stderr] Compiling winit v0.27.5 [INFO] [stderr] Compiling glutin v0.29.1 [INFO] [stderr] Compiling sokoban v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_worker` is never used [INFO] [stdout] --> src/current_level.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 208 | impl CurrentLevel { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 228 | fn move_worker(&mut self, direction: Direction) -> Event { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push_towards_position` is never used [INFO] [stdout] --> src/current_level.rs:386:8 [INFO] [stdout] | [INFO] [stdout] 310 | impl CurrentLevel { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 386 | fn push_towards_position( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `visualise_graph` is never used [INFO] [stdout] --> src/current_level/pathfinding.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl CurrentLevel { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | fn visualise_graph(&self, graph: &Graph) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `glium::glutin::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/main.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | ... modifiers, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `glium::glutin::event::WindowEvent::MouseInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/main.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | modifiers, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aspect_ratio` [INFO] [stdout] --> src/gui/mod.rs:414:13 [INFO] [stdout] | [INFO] [stdout] 414 | let aspect_ratio = self.window_aspect_ratio(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aspect_ratio` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/gui/mod.rs:507:13 [INFO] [stdout] | [INFO] [stdout] 507 | let text = self.statistics_text(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aspect_ratio` [INFO] [stdout] --> src/gui/mod.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | let aspect_ratio = self.window_aspect_ratio(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aspect_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/gui/mod.rs:512:62 [INFO] [stdout] | [INFO] [stdout] 512 | fn draw_statistics_overlay(&mut self, target: &mut S) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:121:41 [INFO] [stdout] | [INFO] [stdout] 121 | event_loop.run(move |ev: Event<()>, window, control_flow| match ev { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `control_flow` [INFO] [stdout] --> src/main.rs:121:49 [INFO] [stdout] | [INFO] [stdout] 121 | event_loop.run(move |ev: Event<()>, window, control_flow| match ev { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_control_flow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `end_of_level_text` is never used [INFO] [stdout] --> src/gui/mod.rs:456:8 [INFO] [stdout] | [INFO] [stdout] 324 | impl Gui { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 456 | fn end_of_level_text(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tile_kind` is never read [INFO] [stdout] --> src/gui/sprite.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Sprite { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | tile_kind: TileKind, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sprite` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "007e9e9284ac2d01fb5523bd3ce10af8c33984b4add8407978896df59120385a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "007e9e9284ac2d01fb5523bd3ce10af8c33984b4add8407978896df59120385a", kill_on_drop: false }` [INFO] [stdout] 007e9e9284ac2d01fb5523bd3ce10af8c33984b4add8407978896df59120385a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd5e3b5e7172b50966b383b0846785a0dc136ccde93c27d5786a3946176e0f08 [INFO] running `Command { std: "docker" "start" "-a" "cd5e3b5e7172b50966b383b0846785a0dc136ccde93c27d5786a3946176e0f08", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_worker` is never used [INFO] [stdout] --> src/current_level.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 208 | impl CurrentLevel { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 228 | fn move_worker(&mut self, direction: Direction) -> Event { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push_towards_position` is never used [INFO] [stdout] --> src/current_level.rs:386:8 [INFO] [stdout] | [INFO] [stdout] 310 | impl CurrentLevel { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 386 | fn push_towards_position( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `visualise_graph` is never used [INFO] [stdout] --> src/current_level/pathfinding.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl CurrentLevel { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | fn visualise_graph(&self, graph: &Graph) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `glium::glutin::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/main.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | ... modifiers, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `glium::glutin::event::WindowEvent::MouseInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged [INFO] [stdout] --> src/main.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | modifiers, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aspect_ratio` [INFO] [stdout] --> src/gui/mod.rs:414:13 [INFO] [stdout] | [INFO] [stdout] 414 | let aspect_ratio = self.window_aspect_ratio(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aspect_ratio` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/gui/mod.rs:507:13 [INFO] [stdout] | [INFO] [stdout] 507 | let text = self.statistics_text(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aspect_ratio` [INFO] [stdout] --> src/gui/mod.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | let aspect_ratio = self.window_aspect_ratio(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aspect_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/gui/mod.rs:512:62 [INFO] [stdout] | [INFO] [stdout] 512 | fn draw_statistics_overlay(&mut self, target: &mut S) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:121:41 [INFO] [stdout] | [INFO] [stdout] 121 | event_loop.run(move |ev: Event<()>, window, control_flow| match ev { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `control_flow` [INFO] [stdout] --> src/main.rs:121:49 [INFO] [stdout] | [INFO] [stdout] 121 | event_loop.run(move |ev: Event<()>, window, control_flow| match ev { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_control_flow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `end_of_level_text` is never used [INFO] [stdout] --> src/gui/mod.rs:456:8 [INFO] [stdout] | [INFO] [stdout] 324 | impl Gui { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 456 | fn end_of_level_text(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tile_kind` is never read [INFO] [stdout] --> src/gui/sprite.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Sprite { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | tile_kind: TileKind, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sprite` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stderr] Compiling quickcheck_macros v1.0.0 [INFO] [stderr] Compiling sokoban v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_worker` is never used [INFO] [stdout] --> src/current_level.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 208 | impl CurrentLevel { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 228 | fn move_worker(&mut self, direction: Direction) -> Event { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push_towards_position` is never used [INFO] [stdout] --> src/current_level.rs:386:8 [INFO] [stdout] | [INFO] [stdout] 310 | impl CurrentLevel { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 386 | fn push_towards_position( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `visualise_graph` is never used [INFO] [stdout] --> src/current_level/pathfinding.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl CurrentLevel { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | fn visualise_graph(&self, graph: &Graph) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.49s [INFO] running `Command { std: "docker" "inspect" "cd5e3b5e7172b50966b383b0846785a0dc136ccde93c27d5786a3946176e0f08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd5e3b5e7172b50966b383b0846785a0dc136ccde93c27d5786a3946176e0f08", kill_on_drop: false }` [INFO] [stdout] cd5e3b5e7172b50966b383b0846785a0dc136ccde93c27d5786a3946176e0f08