[INFO] cloning repository https://github.com/381479613/Tetris_Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/381479613/Tetris_Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F381479613%2FTetris_Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F381479613%2FTetris_Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 47f6827f1373a8e73461af846fdc295bd414230c [INFO] testing 381479613/Tetris_Rust against beta-2025-02-18 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F381479613%2FTetris_Rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/381479613/Tetris_Rust on toolchain beta-2025-02-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/381479613/Tetris_Rust [INFO] finished tweaking git repo https://github.com/381479613/Tetris_Rust [INFO] tweaked toml for git repo https://github.com/381479613/Tetris_Rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/381479613/Tetris_Rust 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" "+beta-2025-02-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55b71d845177970b5d4fad7d79b691d032de3735a9ec0b026dedefc1315304a4 [INFO] running `Command { std: "docker" "start" "-a" "55b71d845177970b5d4fad7d79b691d032de3735a9ec0b026dedefc1315304a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55b71d845177970b5d4fad7d79b691d032de3735a9ec0b026dedefc1315304a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55b71d845177970b5d4fad7d79b691d032de3735a9ec0b026dedefc1315304a4", kill_on_drop: false }` [INFO] [stdout] 55b71d845177970b5d4fad7d79b691d032de3735a9ec0b026dedefc1315304a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3d08d73d6f21eaaef56e6929cb96f1d64dd249d7f549f4b8717f8c3b16099bc [INFO] running `Command { std: "docker" "start" "-a" "e3d08d73d6f21eaaef56e6929cb96f1d64dd249d7f549f4b8717f8c3b16099bc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling fdeflate v0.3.3 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling pulldown-cmark v0.9.3 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling png v0.17.11 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling euclid v0.22.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling lyon_geom v1.0.5 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling ab_glyph v0.2.23 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling gpu-alloc v0.5.4 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling lyon_path v1.0.4 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling wgpu-types v0.16.1 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling profiling v1.0.13 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling cpal v0.15.2 [INFO] [stderr] Compiling renderdoc-sys v1.0.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling bytecount v0.6.7 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling alsa v0.7.1 [INFO] [stderr] Compiling inotify v0.10.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.11 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling mint v0.5.9 [INFO] [stderr] Compiling uuid v1.6.1 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling float_next_after v1.0.0 [INFO] [stderr] Compiling gilrs v0.10.4 [INFO] [stderr] Compiling lyon_tessellation v1.0.13 [INFO] [stderr] Compiling gilrs-core v0.5.10 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling symphonia-core v0.5.3 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling glyph_brush_layout v0.2.3 [INFO] [stderr] Compiling glyph_brush_draw_cache v0.1.5 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling naga v0.12.3 [INFO] [stderr] Compiling symphonia-metadata v0.5.3 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling lyon_algorithms v1.0.4 [INFO] [stderr] Compiling ordered-float v4.2.0 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.3 [INFO] [stderr] Compiling crevice-derive v0.10.0 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling glyph_brush v0.7.8 [INFO] [stderr] Compiling lyon v1.0.1 [INFO] [stderr] Compiling image v0.24.8 [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 crevice v0.13.0 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling symphonia v0.5.3 [INFO] [stderr] Compiling rodio v0.17.3 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling cargo-platform v0.1.6 [INFO] [stderr] Compiling toml v0.5.11 [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 tetris_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ggez::context::Has` [INFO] [stdout] --> src/block.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::context::Has; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/block.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/render.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `static_block` [INFO] [stdout] --> src/block.rs:467:37 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn change_status(&mut self, static_block: &StaticBlockGroup) -> Result<(),GameError>{ [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_static_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `flag` is never read [INFO] [stdout] --> src/block.rs:550:17 [INFO] [stdout] | [INFO] [stdout] 550 | let mut flag = true; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_to_top` is never used [INFO] [stdout] --> src/util.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl GridPosition { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn move_to_top(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `boundary_check`, `move_to_top`, and `can_move_to_top` are never used [INFO] [stdout] --> src/block.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Block { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn boundary_check(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn move_to_top(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn can_move_to_top(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `can_move_to_top` and `move_to_top` are never used [INFO] [stdout] --> src/block.rs:391:12 [INFO] [stdout] | [INFO] [stdout] 209 | impl BlockGroup { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 391 | pub fn can_move_to_top(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | pub fn move_to_top(&mut self) -> Result<(), GameError>{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_from_static` and `clear_score` are never used [INFO] [stdout] --> src/block.rs:542:12 [INFO] [stdout] | [INFO] [stdout] 518 | impl StaticBlockGroup { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 542 | pub fn remove_from_static(&mut self, position: (i32, i32)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 602 | pub fn clear_score(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 51s [INFO] running `Command { std: "docker" "inspect" "e3d08d73d6f21eaaef56e6929cb96f1d64dd249d7f549f4b8717f8c3b16099bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3d08d73d6f21eaaef56e6929cb96f1d64dd249d7f549f4b8717f8c3b16099bc", kill_on_drop: false }` [INFO] [stdout] e3d08d73d6f21eaaef56e6929cb96f1d64dd249d7f549f4b8717f8c3b16099bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f13abdc88cf43d77efc1197fdc03693b078fc73ab47f78a859d1ca4fd359f0f3 [INFO] running `Command { std: "docker" "start" "-a" "f13abdc88cf43d77efc1197fdc03693b078fc73ab47f78a859d1ca4fd359f0f3", kill_on_drop: false }` [INFO] [stderr] Compiling tetris_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ggez::context::Has` [INFO] [stdout] --> src/block.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::context::Has; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/block.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/render.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `static_block` [INFO] [stdout] --> src/block.rs:467:37 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn change_status(&mut self, static_block: &StaticBlockGroup) -> Result<(),GameError>{ [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_static_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `flag` is never read [INFO] [stdout] --> src/block.rs:550:17 [INFO] [stdout] | [INFO] [stdout] 550 | let mut flag = true; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_to_top` is never used [INFO] [stdout] --> src/util.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl GridPosition { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn move_to_top(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `boundary_check`, `move_to_top`, and `can_move_to_top` are never used [INFO] [stdout] --> src/block.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Block { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn boundary_check(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn move_to_top(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn can_move_to_top(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `can_move_to_top` and `move_to_top` are never used [INFO] [stdout] --> src/block.rs:391:12 [INFO] [stdout] | [INFO] [stdout] 209 | impl BlockGroup { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 391 | pub fn can_move_to_top(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | pub fn move_to_top(&mut self) -> Result<(), GameError>{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_from_static` and `clear_score` are never used [INFO] [stdout] --> src/block.rs:542:12 [INFO] [stdout] | [INFO] [stdout] 518 | impl StaticBlockGroup { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 542 | pub fn remove_from_static(&mut self, position: (i32, i32)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 602 | pub fn clear_score(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.57s [INFO] running `Command { std: "docker" "inspect" "f13abdc88cf43d77efc1197fdc03693b078fc73ab47f78a859d1ca4fd359f0f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f13abdc88cf43d77efc1197fdc03693b078fc73ab47f78a859d1ca4fd359f0f3", kill_on_drop: false }` [INFO] [stdout] f13abdc88cf43d77efc1197fdc03693b078fc73ab47f78a859d1ca4fd359f0f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c4695e43168e0b00792a7a876c58502ae3b72f5b6d62fe38d217e6ac65659bf1 [INFO] running `Command { std: "docker" "start" "-a" "c4695e43168e0b00792a7a876c58502ae3b72f5b6d62fe38d217e6ac65659bf1", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ggez::context::Has` [INFO] [stderr] --> src/block.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use ggez::context::Has; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::seq::SliceRandom` [INFO] [stderr] --> src/block.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use rand::seq::SliceRandom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/render.rs:101:17 [INFO] [stderr] | [INFO] [stderr] 101 | ctx: &mut Context, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `static_block` [INFO] [stderr] --> src/block.rs:467:37 [INFO] [stderr] | [INFO] [stderr] 467 | pub fn change_status(&mut self, static_block: &StaticBlockGroup) -> Result<(),GameError>{ [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_static_block` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `flag` is never read [INFO] [stderr] --> src/block.rs:550:17 [INFO] [stderr] | [INFO] [stderr] 550 | let mut flag = true; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `move_to_top` is never used [INFO] [stderr] --> src/util.rs:67:12 [INFO] [stderr] | [INFO] [stderr] 32 | impl GridPosition { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 67 | pub fn move_to_top(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `boundary_check`, `move_to_top`, and `can_move_to_top` are never used [INFO] [stderr] --> src/block.rs:72:12 [INFO] [stderr] | [INFO] [stderr] 19 | impl Block { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 72 | pub fn boundary_check(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 114 | pub fn move_to_top(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 121 | pub fn can_move_to_top(&self) -> bool{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `can_move_to_top` and `move_to_top` are never used [INFO] [stderr] --> src/block.rs:391:12 [INFO] [stderr] | [INFO] [stderr] 209 | impl BlockGroup { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 391 | pub fn can_move_to_top(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 407 | pub fn move_to_top(&mut self) -> Result<(), GameError>{ [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `remove_from_static` and `clear_score` are never used [INFO] [stderr] --> src/block.rs:542:12 [INFO] [stderr] | [INFO] [stderr] 518 | impl StaticBlockGroup { [INFO] [stderr] | --------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 542 | pub fn remove_from_static(&mut self, position: (i32, i32)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 602 | pub fn clear_score(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `tetris_rust` (bin "tetris_rust" test) generated 9 warnings (run `cargo fix --bin "tetris_rust" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tetris_rust-1b353c2b9e1cb261) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c4695e43168e0b00792a7a876c58502ae3b72f5b6d62fe38d217e6ac65659bf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4695e43168e0b00792a7a876c58502ae3b72f5b6d62fe38d217e6ac65659bf1", kill_on_drop: false }` [INFO] [stdout] c4695e43168e0b00792a7a876c58502ae3b72f5b6d62fe38d217e6ac65659bf1