[INFO] cloning repository https://github.com/Andebugulin/SpaceCake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Andebugulin/SpaceCake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndebugulin%2FSpaceCake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndebugulin%2FSpaceCake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a58f349a8e74f3f30851e2fd6342e22935f4f616 [INFO] building Andebugulin/SpaceCake against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndebugulin%2FSpaceCake" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Andebugulin/SpaceCake [INFO] finished tweaking git repo https://github.com/Andebugulin/SpaceCake [INFO] tweaked toml for git repo https://github.com/Andebugulin/SpaceCake written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Andebugulin/SpaceCake 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/Andebugulin/SpaceCake 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 ab_glyph v0.2.29 [INFO] [stderr] Downloaded miniz_oxide v0.8.4 [INFO] [stderr] Downloaded xcursor v0.3.8 [INFO] [stderr] Downloaded crevice v0.13.0 [INFO] [stderr] Downloaded com-rs v0.2.1 [INFO] [stderr] Downloaded skeptic v0.13.7 [INFO] [stderr] Downloaded bytecount v0.6.8 [INFO] [stderr] Downloaded gilrs-core v0.5.15 [INFO] [stderr] Downloaded glyph_brush_draw_cache v0.1.6 [INFO] [stderr] Downloaded zip v0.6.6 [INFO] [stderr] Downloaded io-kit-sys v0.4.1 [INFO] [stderr] Downloaded rodio v0.17.3 [INFO] [stderr] Downloaded lyon v1.0.1 [INFO] [stderr] Downloaded gpu-alloc-types v0.2.0 [INFO] [stderr] Downloaded gpu-descriptor v0.2.4 [INFO] [stderr] Downloaded lyon_path v1.0.6 [INFO] [stderr] Downloaded gpu-descriptor-types v0.1.2 [INFO] [stderr] Downloaded hexf-parse v0.2.1 [INFO] [stderr] Downloaded approx v0.5.1 [INFO] [stderr] Downloaded crevice-derive v0.10.0 [INFO] [stderr] Downloaded float_next_after v1.0.0 [INFO] [stderr] Downloaded directories v5.0.1 [INFO] [stderr] Downloaded memoffset v0.8.0 [INFO] [stderr] Downloaded renderdoc-sys v1.1.0 [INFO] [stderr] Downloaded twox-hash v2.1.0 [INFO] [stderr] Downloaded glyph_brush v0.7.11 [INFO] [stderr] Downloaded serde_json v1.0.138 [INFO] [stderr] Downloaded codespan-reporting v0.11.1 [INFO] [stderr] Downloaded pulldown-cmark v0.9.6 [INFO] [stderr] Downloaded crossterm v0.25.0 [INFO] [stderr] Downloaded lyon_tessellation v1.0.15 [INFO] [stderr] Downloaded gilrs v0.10.10 [INFO] [stderr] Downloaded wgpu-core v0.16.1 [INFO] [stderr] Downloaded glow v0.12.3 [INFO] [stderr] Downloaded winnow v0.7.2 [INFO] [stderr] Downloaded wgpu-hal v0.16.2 [INFO] [stderr] Downloaded xi-unicode v0.3.0 [INFO] [stderr] Downloaded wgpu v0.16.3 [INFO] [stderr] Downloaded wgpu-types v0.16.1 [INFO] [stderr] Downloaded lyon_geom v1.0.6 [INFO] [stderr] Downloaded ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Downloaded owned_ttf_parser v0.25.0 [INFO] [stderr] Downloaded uuid v1.13.1 [INFO] [stderr] Downloaded glyph_brush_layout v0.2.4 [INFO] [stderr] Downloaded ordered-float v3.9.2 [INFO] [stderr] Downloaded gpu-alloc v0.5.4 [INFO] [stderr] Downloaded smart-default v0.7.1 [INFO] [stderr] Downloaded khronos-egl v4.1.0 [INFO] [stderr] Downloaded hassle-rs v0.10.0 [INFO] [stderr] Downloaded naga v0.12.3 [INFO] [stderr] Downloaded typed-arena v2.0.2 [INFO] [stderr] Downloaded d3d12 v0.6.0 [INFO] [stderr] Downloaded spirv v0.2.0+1.5.4 [INFO] [stderr] Downloaded range-alloc v0.1.4 [INFO] [stderr] Downloaded bzip2-sys v0.1.12+1.0.8 [INFO] [stderr] Downloaded lyon_algorithms v1.0.5 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.45 [INFO] [stderr] Downloaded ash v0.37.3+1.3.251 [INFO] [stderr] Downloaded ggez v0.9.3 [INFO] [stderr] Downloaded glam v0.24.2 [INFO] [stderr] Downloaded bytes v1.10.0 [INFO] [stderr] Downloaded cc v1.2.14 [INFO] [stderr] Downloaded metal v0.24.0 [INFO] [stderr] Downloaded gpu-allocator v0.22.0 [INFO] [stderr] Downloaded mint v0.5.9 [INFO] [stderr] Downloaded image v0.24.9 [INFO] [stderr] Downloaded windows v0.44.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 2e100d94a40a360d9d6736d3cb8a69aa6f80484d1001050f0c83b7b68590aeb8 [INFO] running `Command { std: "docker" "start" "-a" "2e100d94a40a360d9d6736d3cb8a69aa6f80484d1001050f0c83b7b68590aeb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e100d94a40a360d9d6736d3cb8a69aa6f80484d1001050f0c83b7b68590aeb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e100d94a40a360d9d6736d3cb8a69aa6f80484d1001050f0c83b7b68590aeb8", kill_on_drop: false }` [INFO] [stdout] 2e100d94a40a360d9d6736d3cb8a69aa6f80484d1001050f0c83b7b68590aeb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1890b7b1fb38f656b6eb772e875e20aa95196328de65f5320b850e685b6858ed [INFO] running `Command { std: "docker" "start" "-a" "1890b7b1fb38f656b6eb772e875e20aa95196328de65f5320b850e685b6858ed", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling xml-rs v0.8.25 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling miniz_oxide v0.8.4 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling euclid v0.22.11 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling gpu-alloc v0.5.4 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling lyon_geom v1.0.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling wgpu-types v0.16.1 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling lyon_path v1.0.6 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling bzip2-sys v0.1.12+1.0.8 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling bytemuck v1.21.0 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling naga v0.12.3 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling inotify v0.10.2 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling mint v0.5.9 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling gilrs v0.10.10 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling uuid v1.13.1 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling float_next_after v1.0.0 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling glyph_brush_draw_cache v0.1.6 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling lyon_tessellation v1.0.15 [INFO] [stderr] Compiling gilrs-core v0.5.15 [INFO] [stderr] Compiling glyph_brush_layout v0.2.4 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling crevice-derive v0.10.0 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling lyon_algorithms v1.0.5 [INFO] [stderr] Compiling twox-hash v2.1.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling glyph_brush v0.7.11 [INFO] [stderr] Compiling lyon v1.0.1 [INFO] [stderr] Compiling crevice v0.13.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling rodio v0.17.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling glam v0.24.2 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling skeptic v0.13.7 [INFO] [stderr] Compiling ggez v0.9.3 [INFO] [stderr] Compiling wgpu-hal v0.16.2 [INFO] [stderr] Compiling wgpu-core v0.16.1 [INFO] [stderr] Compiling wgpu v0.16.3 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling space_cake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Canvas` [INFO] [stdout] --> src/graphics.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, graphics::{self, Canvas, DrawParam, Color, Mesh}}; [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 variable: `delta_seconds` [INFO] [stdout] --> src/game.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let delta_seconds = delta_time.as_secs_f64(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_seconds` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wall_mesh` [INFO] [stdout] --> src/graphics.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let wall_mesh = Mesh::new_rectangle( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wall_mesh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/game.rs:54:52 [INFO] [stdout] | [INFO] [stdout] 54 | let target_pos = self.player.position().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `position::Position` does not implement `Clone`, so calling `clone` on `&position::Position` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 54 - let target_pos = self.player.position().clone(); [INFO] [stdout] 54 + let target_pos = self.player.position(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `position::Position`, implement `Clone` for it [INFO] [stdout] --> src/unit/position.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 + #[derive(Clone)] [INFO] [stdout] 3 | pub struct Position { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration; [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 08s [INFO] running `Command { std: "docker" "inspect" "1890b7b1fb38f656b6eb772e875e20aa95196328de65f5320b850e685b6858ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1890b7b1fb38f656b6eb772e875e20aa95196328de65f5320b850e685b6858ed", kill_on_drop: false }` [INFO] [stdout] 1890b7b1fb38f656b6eb772e875e20aa95196328de65f5320b850e685b6858ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 4ca773d9c6d9e9d65e53096b92133ecfaba88c99e3cacfca992144c9e4da0d8e [INFO] running `Command { std: "docker" "start" "-a" "4ca773d9c6d9e9d65e53096b92133ecfaba88c99e3cacfca992144c9e4da0d8e", kill_on_drop: false }` [INFO] [stderr] Compiling space_cake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Canvas` [INFO] [stdout] --> src/graphics.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, graphics::{self, Canvas, DrawParam, Color, Mesh}}; [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 variable: `delta_seconds` [INFO] [stdout] --> src/game.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let delta_seconds = delta_time.as_secs_f64(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_seconds` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wall_mesh` [INFO] [stdout] --> src/graphics.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let wall_mesh = Mesh::new_rectangle( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wall_mesh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/game.rs:54:52 [INFO] [stdout] | [INFO] [stdout] 54 | let target_pos = self.player.position().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `position::Position` does not implement `Clone`, so calling `clone` on `&position::Position` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 54 - let target_pos = self.player.position().clone(); [INFO] [stdout] 54 + let target_pos = self.player.position(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `position::Position`, implement `Clone` for it [INFO] [stdout] --> src/unit/position.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 + #[derive(Clone)] [INFO] [stdout] 3 | pub struct Position { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Canvas` [INFO] [stdout] --> src/graphics.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::{Context, GameResult, graphics::{self, Canvas, DrawParam, Color, Mesh}}; [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 variable: `delta_seconds` [INFO] [stdout] --> src/game.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let delta_seconds = delta_time.as_secs_f64(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_seconds` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wall_mesh` [INFO] [stdout] --> src/graphics.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let wall_mesh = Mesh::new_rectangle( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wall_mesh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/game.rs:54:52 [INFO] [stdout] | [INFO] [stdout] 54 | let target_pos = self.player.position().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `position::Position` does not implement `Clone`, so calling `clone` on `&position::Position` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 54 - let target_pos = self.player.position().clone(); [INFO] [stdout] 54 + let target_pos = self.player.position(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `position::Position`, implement `Clone` for it [INFO] [stdout] --> src/unit/position.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 + #[derive(Clone)] [INFO] [stdout] 3 | pub struct Position { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.61s [INFO] running `Command { std: "docker" "inspect" "4ca773d9c6d9e9d65e53096b92133ecfaba88c99e3cacfca992144c9e4da0d8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ca773d9c6d9e9d65e53096b92133ecfaba88c99e3cacfca992144c9e4da0d8e", kill_on_drop: false }` [INFO] [stdout] 4ca773d9c6d9e9d65e53096b92133ecfaba88c99e3cacfca992144c9e4da0d8e