[INFO] cloning repository https://github.com/kajmaj87/sb5s [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kajmaj87/sb5s" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkajmaj87%2Fsb5s", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkajmaj87%2Fsb5s'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22e3eb1ebdc5be2b7702f90c253408283bedd0e1 [INFO] checking kajmaj87/sb5s against master#c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 for pr-142712 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkajmaj87%2Fsb5s" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kajmaj87/sb5s [INFO] finished tweaking git repo https://github.com/kajmaj87/sb5s [INFO] tweaked toml for git repo https://github.com/kajmaj87/sb5s written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kajmaj87/sb5s on toolchain c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kajmaj87/sb5s 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" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71e6c285cc4e5009bea666704be50eb22f6d738d3696af3674ab64a08261f7b4 [INFO] running `Command { std: "docker" "start" "-a" "71e6c285cc4e5009bea666704be50eb22f6d738d3696af3674ab64a08261f7b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71e6c285cc4e5009bea666704be50eb22f6d738d3696af3674ab64a08261f7b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71e6c285cc4e5009bea666704be50eb22f6d738d3696af3674ab64a08261f7b4", kill_on_drop: false }` [INFO] [stdout] 71e6c285cc4e5009bea666704be50eb22f6d738d3696af3674ab64a08261f7b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce1c23434aaa977b41ace392afb0199f1aabe38cfa08fe9b31ed3b34c59b1515 [INFO] running `Command { std: "docker" "start" "-a" "ce1c23434aaa977b41ace392afb0199f1aabe38cfa08fe9b31ed3b34c59b1515", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking either v1.14.0 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking flate2 v1.1.0 [INFO] [stderr] Checking bstr v1.11.3 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Checking quad-rand v0.2.3 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking syn v2.0.100 [INFO] [stderr] Compiling luau0-src v0.12.3+luau663 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking image v0.25.5 [INFO] [stderr] Compiling mlua-sys v0.6.7 [INFO] [stderr] Checking fontdue v0.9.3 [INFO] [stderr] Checking utils_derive v0.1.0 (/opt/rustwide/workdir/utils/derive) [INFO] [stderr] Checking utils v0.1.0 (/opt/rustwide/workdir/utils) [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> utils/src/repo/key_value_repository.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | fn add(&mut self, entity: T) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity_factory` [INFO] [stdout] --> utils/src/repo/key_value_repository.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | fn create(&mut self, entity_factory: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_factory` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking logic v0.1.0 (/opt/rustwide/workdir/logic) [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> utils/src/repo/key_value_repository.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | fn add(&mut self, entity: T) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity_factory` [INFO] [stdout] --> utils/src/repo/key_value_repository.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | fn create(&mut self, entity_factory: F) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_factory` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking erased-serde v0.4.6 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking macroquad v0.4.14 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking arboard v3.4.1 [INFO] [stderr] Checking mlua v0.10.3 [INFO] [stderr] Checking lua_engine v0.1.0 (/opt/rustwide/workdir/lua_engine) [INFO] [stdout] warning: unused variable: `lua_ctx` [INFO] [stdout] --> lua_engine/src/lua_engine.rs:351:36 [INFO] [stdout] | [INFO] [stdout] 351 | .create_function(move |lua_ctx, movement_cost: f32| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lua_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking sb5s-pixel v0.1.0 (/opt/rustwide/workdir/pixel_ui) [INFO] [stdout] warning: unused variable: `lua_ctx` [INFO] [stdout] --> lua_engine/src/lua_engine.rs:351:36 [INFO] [stdout] | [INFO] [stdout] 351 | .create_function(move |lua_ctx, movement_cost: f32| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lua_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `terrain` [INFO] [stdout] --> pixel_ui/src/lua_ui_integration.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let terrain = lua.create_table().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_terrain` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera` [INFO] [stdout] --> pixel_ui/src/lua_ui_integration.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let camera = camera.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TileId` is never constructed [INFO] [stdout] --> pixel_ui/src/main.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | struct TileId(u32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_initial_center` is never used [INFO] [stdout] --> pixel_ui/src/main.rs:251:8 [INFO] [stdout] | [INFO] [stdout] 175 | impl TileMap { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 251 | fn get_initial_center(&self) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `should_place_tile` is never used [INFO] [stdout] --> pixel_ui/src/input.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl InputManager { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn should_place_tile(&self, selected_pos: Option<&TilePosition>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Window` is never constructed [INFO] [stdout] --> pixel_ui/src/lua_ui_integration.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 13 | enum UIComponent { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SOURCE_TILE_SIZE` is never used [INFO] [stdout] --> pixel_ui/src/main.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub const SOURCE_TILE_SIZE: f32 = 16.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SELECTED_TILE_ZOOM` is never used [INFO] [stdout] --> pixel_ui/src/main.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub const SELECTED_TILE_ZOOM: f32 = 8.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> pixel_ui/src/main.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | / self.texture_atlas_manager [INFO] [stdout] 237 | | .lock() [INFO] [stdout] 238 | | .draw_texture(tile, screen_pos.x, screen_pos.y, color); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 236 | let _ = self.texture_atlas_manager [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `terrain` [INFO] [stdout] --> pixel_ui/src/lua_ui_integration.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let terrain = lua.create_table().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_terrain` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera` [INFO] [stdout] --> pixel_ui/src/lua_ui_integration.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let camera = camera.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TileId` is never constructed [INFO] [stdout] --> pixel_ui/src/main.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | struct TileId(u32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_initial_center` is never used [INFO] [stdout] --> pixel_ui/src/main.rs:251:8 [INFO] [stdout] | [INFO] [stdout] 175 | impl TileMap { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 251 | fn get_initial_center(&self) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `should_place_tile` is never used [INFO] [stdout] --> pixel_ui/src/input.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl InputManager { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn should_place_tile(&self, selected_pos: Option<&TilePosition>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Window` is never constructed [INFO] [stdout] --> pixel_ui/src/lua_ui_integration.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 13 | enum UIComponent { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SOURCE_TILE_SIZE` is never used [INFO] [stdout] --> pixel_ui/src/main.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub const SOURCE_TILE_SIZE: f32 = 16.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SELECTED_TILE_ZOOM` is never used [INFO] [stdout] --> pixel_ui/src/main.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub const SELECTED_TILE_ZOOM: f32 = 8.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> pixel_ui/src/main.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | / self.texture_atlas_manager [INFO] [stdout] 237 | | .lock() [INFO] [stdout] 238 | | .draw_texture(tile, screen_pos.x, screen_pos.y, color); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 236 | let _ = self.texture_atlas_manager [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.51s [INFO] running `Command { std: "docker" "inspect" "ce1c23434aaa977b41ace392afb0199f1aabe38cfa08fe9b31ed3b34c59b1515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce1c23434aaa977b41ace392afb0199f1aabe38cfa08fe9b31ed3b34c59b1515", kill_on_drop: false }` [INFO] [stdout] ce1c23434aaa977b41ace392afb0199f1aabe38cfa08fe9b31ed3b34c59b1515