[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] 8ae71f8847f6791df64fa61965bf35f108b02f5f [INFO] building yzhs/sokoban against master#c2804e6ec2c29a5c7368600ea173b890e2655c3d for pr-97334-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyzhs%2Fsokoban" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yzhs/sokoban on toolchain c2804e6ec2c29a5c7368600ea173b890e2655c3d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "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-2/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: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-ident v1.0.2 [INFO] [stderr] Downloaded js-sys v0.3.58 [INFO] [stderr] Downloaded quick-xml v0.23.0 [INFO] [stderr] Downloaded crossbeam-utils v0.8.10 [INFO] [stderr] Downloaded image v0.24.3 [INFO] [stderr] Downloaded pin-project v1.0.11 [INFO] [stderr] Downloaded pin-project-internal v1.0.11 [INFO] [stderr] Downloaded either v1.7.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.9 [INFO] [stderr] Downloaded mio v0.8.4 [INFO] [stderr] Downloaded clap_lex v0.2.4 [INFO] [stderr] Downloaded directories v4.0.1 [INFO] [stderr] Downloaded takeable-option v0.5.0 [INFO] [stderr] Downloaded bytemuck v1.10.0 [INFO] [stderr] Downloaded wayland-protocols v0.29.4 [INFO] [stderr] Downloaded wayland-sys v0.29.4 [INFO] [stderr] Downloaded glutin v0.28.0 [INFO] [stderr] Downloaded wayland-commons v0.29.4 [INFO] [stderr] Downloaded wayland-scanner v0.29.4 [INFO] [stderr] Downloaded wayland-client v0.29.4 [INFO] [stderr] Downloaded ndk-context v0.1.1 [INFO] [stderr] Downloaded clap v3.2.12 [INFO] [stderr] Downloaded find_folder v0.3.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.40 [INFO] [stderr] Downloaded quote v1.0.20 [INFO] [stderr] Downloaded serde_json v1.0.82 [INFO] [stderr] Downloaded serde v1.0.139 [INFO] [stderr] Downloaded syn v1.0.98 [INFO] [stderr] Downloaded colog v1.1.0 [INFO] [stderr] Downloaded ndk-glue v0.5.2 [INFO] [stderr] Downloaded os_str_bytes v6.2.0 [INFO] [stderr] Downloaded calloop v0.9.3 [INFO] [stderr] Downloaded crossbeam-channel v0.5.5 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.81 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.81 [INFO] [stderr] Downloaded memmap2 v0.3.1 [INFO] [stderr] Downloaded num-rational v0.4.1 [INFO] [stderr] Downloaded wasm-bindgen v0.2.81 [INFO] [stderr] Downloaded wayland-egl v0.29.4 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.81 [INFO] [stderr] Downloaded quickcheck_macros v1.0.0 [INFO] [stderr] Downloaded bumpalo v3.10.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.81 [INFO] [stderr] Downloaded serde_derive v1.0.139 [INFO] [stderr] Downloaded wayland-cursor v0.29.4 [INFO] [stderr] Downloaded smithay-client-toolkit v0.15.4 [INFO] [stderr] Downloaded web-sys v0.3.58 [INFO] [stderr] Downloaded glium v0.31.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7d9004f852e3b058dec4ad95caccf12e6514be8348c5590a41b80bfd25c997f [INFO] running `Command { std: "docker" "start" "-a" "a7d9004f852e3b058dec4ad95caccf12e6514be8348c5590a41b80bfd25c997f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7d9004f852e3b058dec4ad95caccf12e6514be8348c5590a41b80bfd25c997f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7d9004f852e3b058dec4ad95caccf12e6514be8348c5590a41b80bfd25c997f", kill_on_drop: false }` [INFO] [stdout] a7d9004f852e3b058dec4ad95caccf12e6514be8348c5590a41b80bfd25c997f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdbf2c1c486be625e523cf43b8c2612effbd3665a0c9761ecf0b92165042c0f7 [INFO] running `Command { std: "docker" "start" "-a" "bdbf2c1c486be625e523cf43b8c2612effbd3665a0c9761ecf0b92165042c0f7", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling os_str_bytes v6.2.0 [INFO] [stderr] Compiling lebe v0.5.1 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling bytemuck v1.10.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling natord v1.0.9 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.9 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.4 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling png v0.17.5 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling quick-xml v0.23.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.5 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glium v0.31.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling clap v3.2.12 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling directories v4.0.1 [INFO] [stderr] Compiling colog v1.1.0 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Compiling wayland-commons v0.29.4 [INFO] [stderr] Compiling calloop v0.9.3 [INFO] [stderr] Compiling jpeg-decoder v0.2.6 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling wayland-egl v0.29.4 [INFO] [stderr] Compiling tiff v0.7.2 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling pin-project v1.0.11 [INFO] [stderr] Compiling flume v0.10.13 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling exr v1.4.2 [INFO] [stderr] Compiling image v0.24.3 [INFO] [stderr] Compiling glutin v0.28.0 [INFO] [stderr] Compiling sokoban v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `move_worker` is never used [INFO] [stdout] --> src/current_level.rs:228:8 [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: associated function `push_towards_position` is never used [INFO] [stdout] --> src/current_level.rs:386:8 [INFO] [stdout] | [INFO] [stdout] 386 | fn push_towards_position( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `visualise_graph` is never used [INFO] [stdout] --> src/current_level/pathfinding.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | fn visualise_graph(&self, graph: &Graph) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [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:145:33 [INFO] [stdout] | [INFO] [stdout] 145 | ... 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:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | 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:115:35 [INFO] [stdout] | [INFO] [stdout] 115 | .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:115:43 [INFO] [stdout] | [INFO] [stdout] 115 | .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: associated function `end_of_level_text` is never used [INFO] [stdout] --> src/gui/mod.rs:456:8 [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] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "bdbf2c1c486be625e523cf43b8c2612effbd3665a0c9761ecf0b92165042c0f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdbf2c1c486be625e523cf43b8c2612effbd3665a0c9761ecf0b92165042c0f7", kill_on_drop: false }` [INFO] [stdout] bdbf2c1c486be625e523cf43b8c2612effbd3665a0c9761ecf0b92165042c0f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f56f617765dd997260ee89e12fd5f50c7fb00dc5aeb17444d8b0c8dbff6be7d8 [INFO] running `Command { std: "docker" "start" "-a" "f56f617765dd997260ee89e12fd5f50c7fb00dc5aeb17444d8b0c8dbff6be7d8", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling quickcheck_macros v1.0.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `move_worker` is never used [INFO] [stdout] --> src/current_level.rs:228:8 [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: associated function `push_towards_position` is never used [INFO] [stdout] --> src/current_level.rs:386:8 [INFO] [stdout] | [INFO] [stdout] 386 | fn push_towards_position( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `visualise_graph` is never used [INFO] [stdout] --> src/current_level/pathfinding.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | fn visualise_graph(&self, graph: &Graph) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [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:145:33 [INFO] [stdout] | [INFO] [stdout] 145 | ... 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:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | 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:115:35 [INFO] [stdout] | [INFO] [stdout] 115 | .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:115:43 [INFO] [stdout] | [INFO] [stdout] 115 | .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: associated function `end_of_level_text` is never used [INFO] [stdout] --> src/gui/mod.rs:456:8 [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] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stderr] Compiling sokoban v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `move_worker` is never used [INFO] [stdout] --> src/current_level.rs:228:8 [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: associated function `push_towards_position` is never used [INFO] [stdout] --> src/current_level.rs:386:8 [INFO] [stdout] | [INFO] [stdout] 386 | fn push_towards_position( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `visualise_graph` is never used [INFO] [stdout] --> src/current_level/pathfinding.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | fn visualise_graph(&self, graph: &Graph) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.19s [INFO] running `Command { std: "docker" "inspect" "f56f617765dd997260ee89e12fd5f50c7fb00dc5aeb17444d8b0c8dbff6be7d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f56f617765dd997260ee89e12fd5f50c7fb00dc5aeb17444d8b0c8dbff6be7d8", kill_on_drop: false }` [INFO] [stdout] f56f617765dd997260ee89e12fd5f50c7fb00dc5aeb17444d8b0c8dbff6be7d8