[INFO] cloning repository https://github.com/RobertL31/Tetrust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RobertL31/Tetrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobertL31%2FTetrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobertL31%2FTetrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 260a143f5655204db299a66fa7dfab5603edc9d7 [INFO] testing RobertL31/Tetrust against beta-2023-10-04 for beta-1.74-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobertL31%2FTetrust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RobertL31/Tetrust on toolchain beta-2023-10-04 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-10-04" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RobertL31/Tetrust [INFO] finished tweaking git repo https://github.com/RobertL31/Tetrust [INFO] tweaked toml for git repo https://github.com/RobertL31/Tetrust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/RobertL31/Tetrust 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-2023-10-04" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3755eb087c009aa6d32113456c73d374f0a74e94540f253bfbb769636b454e56 [INFO] running `Command { std: "docker" "start" "-a" "3755eb087c009aa6d32113456c73d374f0a74e94540f253bfbb769636b454e56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3755eb087c009aa6d32113456c73d374f0a74e94540f253bfbb769636b454e56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3755eb087c009aa6d32113456c73d374f0a74e94540f253bfbb769636b454e56", kill_on_drop: false }` [INFO] [stdout] 3755eb087c009aa6d32113456c73d374f0a74e94540f253bfbb769636b454e56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9874fa6d844c60ff88c6ed7c33d35e99535f15fc277eb46697179cefe46fa8d [INFO] running `Command { std: "docker" "start" "-a" "b9874fa6d844c60ff88c6ed7c33d35e99535f15fc277eb46697179cefe46fa8d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling proc-macro2 v1.0.50 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling bytemuck v1.12.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling paste v1.0.11 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling wide v0.7.5 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-complex v0.4.2 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling xdg v2.4.1 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling net2 v0.2.38 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling rayon v1.6.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling simba v0.7.3 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling rustversion v1.0.11 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling console v0.15.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling nalgebra v0.30.1 [INFO] [stderr] Compiling ncollide3d v0.33.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling kiss3d v0.35.0 [INFO] [stderr] Compiling Tetrust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Square` [INFO] [stdout] --> src/graphics.rs:3:72 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{gameboard::{GameBoard, BOARD_HEIGHT, BOARD_WIDTH}, piece::{Square, Color, Piece}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::SeedableRng` [INFO] [stdout] --> src/piece_provider.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | use rand::SeedableRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_chacha::ChaCha8Rng` [INFO] [stdout] --> src/piece_provider.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | use rand_chacha::ChaCha8Rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::piece_factory::PieceType` [INFO] [stdout] --> src/piece_provider.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | use crate::piece_factory::PieceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PieceBag`, `PieceProvider` [INFO] [stdout] --> src/piece_provider.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | use super::{PieceProvider, PieceBag}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FPS` is never used [INFO] [stdout] --> src/game_manager.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const FPS: u32 = 120; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SLEEP_TIME` is never used [INFO] [stdout] --> src/game_manager.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const SLEEP_TIME: f32 = 1.0/FPS as f32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_position_mut` and `move_at` are never used [INFO] [stdout] --> src/piece.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Square { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_position_mut(&mut self) -> &mut Vector2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn move_at(&mut self, position: Vector2) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_squares_mut` and `has_same_type` are never used [INFO] [stdout] --> src/piece.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl Piece { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn get_squares_mut(&mut self) -> &mut[Square; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn has_same_type(&self, other: &Piece) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_unique_elements` is never used [INFO] [stdout] --> src/piece_provider.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn has_unique_elements(iter: T) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Tetrust` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `tetrust` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 48.95s [INFO] running `Command { std: "docker" "inspect" "b9874fa6d844c60ff88c6ed7c33d35e99535f15fc277eb46697179cefe46fa8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9874fa6d844c60ff88c6ed7c33d35e99535f15fc277eb46697179cefe46fa8d", kill_on_drop: false }` [INFO] [stdout] b9874fa6d844c60ff88c6ed7c33d35e99535f15fc277eb46697179cefe46fa8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06e0ca6bfe48fe6f0e022b71a715d2f388212c6de9105746f6b3e70fc7e4276a [INFO] running `Command { std: "docker" "start" "-a" "06e0ca6bfe48fe6f0e022b71a715d2f388212c6de9105746f6b3e70fc7e4276a", kill_on_drop: false }` [INFO] [stderr] Compiling Tetrust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Square` [INFO] [stdout] --> src/graphics.rs:3:72 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{gameboard::{GameBoard, BOARD_HEIGHT, BOARD_WIDTH}, piece::{Square, Color, Piece}}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::piece_factory::PieceType` [INFO] [stdout] --> src/piece_provider.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | use crate::piece_factory::PieceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FPS` is never used [INFO] [stdout] --> src/game_manager.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const FPS: u32 = 120; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SLEEP_TIME` is never used [INFO] [stdout] --> src/game_manager.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const SLEEP_TIME: f32 = 1.0/FPS as f32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_position_mut` and `move_at` are never used [INFO] [stdout] --> src/piece.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Square { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_position_mut(&mut self) -> &mut Vector2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn move_at(&mut self, position: Vector2) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_same_type` is never used [INFO] [stdout] --> src/piece.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl Piece { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn has_same_type(&self, other: &Piece) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Tetrust` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `tetrust` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.08s [INFO] running `Command { std: "docker" "inspect" "06e0ca6bfe48fe6f0e022b71a715d2f388212c6de9105746f6b3e70fc7e4276a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06e0ca6bfe48fe6f0e022b71a715d2f388212c6de9105746f6b3e70fc7e4276a", kill_on_drop: false }` [INFO] [stdout] 06e0ca6bfe48fe6f0e022b71a715d2f388212c6de9105746f6b3e70fc7e4276a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] abab734d631ac95311155bf2a32b3949284274ffaf8543cf0f302bf2da792db1 [INFO] running `Command { std: "docker" "start" "-a" "abab734d631ac95311155bf2a32b3949284274ffaf8543cf0f302bf2da792db1", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Square` [INFO] [stderr] --> src/graphics.rs:3:72 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::{gameboard::{GameBoard, BOARD_HEIGHT, BOARD_WIDTH}, piece::{Square, Color, Piece}}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::piece_factory::PieceType` [INFO] [stderr] --> src/piece_provider.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 58 | use crate::piece_factory::PieceType; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `FPS` is never used [INFO] [stderr] --> src/game_manager.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | pub const FPS: u32 = 120; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `SLEEP_TIME` is never used [INFO] [stderr] --> src/game_manager.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | pub const SLEEP_TIME: f32 = 1.0/FPS as f32; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_position_mut` and `move_at` are never used [INFO] [stderr] --> src/piece.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 36 | impl Square { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 51 | pub fn get_position_mut(&mut self) -> &mut Vector2 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 81 | pub fn move_at(&mut self, position: Vector2) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `has_same_type` is never used [INFO] [stderr] --> src/piece.rs:180:12 [INFO] [stderr] | [INFO] [stderr] 107 | impl Piece { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 180 | pub fn has_same_type(&self, other: &Piece) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: crate `Tetrust` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = help: convert the identifier to snake case: `tetrust` [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `Tetrust` (bin "Tetrust" test) generated 7 warnings (run `cargo fix --bin "Tetrust" --tests` to apply 2 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/Tetrust-62f1b5b2b52a3c4e) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test piece::test::rotating_a_piece_around_a_square_works ... ok [INFO] [stdout] test piece::test::rotation_of_360_around_square_is_identity ... ok [INFO] [stdout] test piece::test::rotation_of_square_360_around_point_is_identity ... ok [INFO] [stdout] test piece::test::rotating_around_square_still_correct_after_piece_falling_twice ... ok [INFO] [stdout] test piece::test::rotation_of_square_90_around_square_is_correct ... ok [INFO] [stdout] test piece::test::rotation_of_square_around_itself_is_identity ... ok [INFO] [stdout] test piece_provider::test::every_piece_in_a_bag_is_different ... ok [INFO] [stdout] test piece_provider::test::ten_first_pieces_are_the_same_for_same_seed ... ok [INFO] [stdout] test piece::test::rotation_of_square_90_around_point_is_correct ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- piece::test::rotation_of_square_90_around_point_is_correct stdout ---- [INFO] [stdout] thread 'piece::test::rotation_of_square_90_around_point_is_correct' panicked at src/piece.rs:255:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [[5, 0]] [INFO] [stdout] right: [[3, 0]] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5577f5b46d3c - std::backtrace_rs::backtrace::libunwind::trace::h4defc72db73cd441 [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5577f5b46d3c - std::backtrace_rs::backtrace::trace_unsynchronized::hb1d8a8b488fa82dc [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5577f5b46d3c - std::sys_common::backtrace::_print_fmt::h3adc87026f68ef7c [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5577f5b46d3c - ::fmt::hae0f2018b67c9dd2 [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x5577f5b704bc - core::fmt::rt::Argument::fmt::h0aeca3e83668e143 [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/fmt/rt.rs:138:9 [INFO] [stdout] 5: 0x5577f5b704bc - core::fmt::write::h96bf1b6ef709071f [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/fmt/mod.rs:1114:21 [INFO] [stdout] 6: 0x5577f5b4406e - std::io::Write::write_fmt::hcfdabc06f3bbacfb [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/io/mod.rs:1763:15 [INFO] [stdout] 7: 0x5577f5b46b24 - std::sys_common::backtrace::_print::hd4ef7cdeb67d2ffe [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x5577f5b46b24 - std::sys_common::backtrace::print::hf4a0f6d32c50b08e [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x5577f5b488e3 - std::panicking::default_hook::{{closure}}::hf64a6c095f9954ab [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:272:22 [INFO] [stdout] 10: 0x5577f5b48587 - std::panicking::default_hook::h81f354a056ffc649 [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x5577f5adcc0c - as core::ops::function::Fn>::call::h16c22045506fc2d3 [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2021:9 [INFO] [stdout] 12: 0x5577f5adcc0c - test::test_main::{{closure}}::hd8d5b5bb0900d116 [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:136:21 [INFO] [stdout] 13: 0x5577f5b48fe1 - as core::ops::function::Fn>::call::h2d4fa3dcc7099287 [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2021:9 [INFO] [stdout] 14: 0x5577f5b48fe1 - std::panicking::rust_panic_with_hook::h1387a687c5711a74 [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:735:13 [INFO] [stdout] 15: 0x5577f5b48d61 - std::panicking::begin_panic_handler::{{closure}}::hf2467c63b8ad7371 [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:609:13 [INFO] [stdout] 16: 0x5577f5b47266 - std::sys_common::backtrace::__rust_end_short_backtrace::h0b678d0f70fbf3ba [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:170:18 [INFO] [stdout] 17: 0x5577f5b48ab2 - rust_begin_unwind [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:597:5 [INFO] [stdout] 18: 0x5577f5a959a5 - core::panicking::panic_fmt::h8398f9bd40a2efcd [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x5577f5a95dbb - core::panicking::assert_failed_inner::h2764bbb56f9308bd [INFO] [stdout] 20: 0x5577f5aa26ae - core::panicking::assert_failed::h07df0ec31e4d5266 [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/panicking.rs:270:5 [INFO] [stdout] 21: 0x5577f5aa4001 - Tetrust::piece::test::rotation_of_square_90_around_point_is_correct::h393b43883518ed4f [INFO] [stdout] at /opt/rustwide/workdir/src/piece.rs:255:9 [INFO] [stdout] 22: 0x5577f5aa3e77 - Tetrust::piece::test::rotation_of_square_90_around_point_is_correct::{{closure}}::h242a5427333fb7dc [INFO] [stdout] at /opt/rustwide/workdir/src/piece.rs:245:55 [INFO] [stdout] 23: 0x5577f5aa1c76 - core::ops::function::FnOnce::call_once::ha8fe3c762d6349ae [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5577f5ae1c9f - core::ops::function::FnOnce::call_once::h643f2128867058a3 [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5577f5ae1c9f - test::__rust_begin_short_backtrace::h5ffb0cd5eda0704e [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:626:18 [INFO] [stdout] 26: 0x5577f5ae0d2e - test::run_test_in_process::{{closure}}::h5f3f2c50e89f10f6 [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:649:60 [INFO] [stdout] 27: 0x5577f5ae0d2e - as core::ops::function::FnOnce<()>>::call_once::hc7bb05d011c94549 [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 28: 0x5577f5ae0d2e - std::panicking::try::do_call::hc2952fe5005bc351 [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:504:40 [INFO] [stdout] 29: 0x5577f5ae0d2e - std::panicking::try::hac512ea76b947046 [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:468:19 [INFO] [stdout] 30: 0x5577f5ae0d2e - std::panic::catch_unwind::h11d3922f3ba31e4b [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panic.rs:142:14 [INFO] [stdout] 31: 0x5577f5ae0d2e - test::run_test_in_process::h25ad0551c6887d56 [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:649:27 [INFO] [stdout] 32: 0x5577f5ae0d2e - test::run_test::{{closure}}::h52dd364f39118330 [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:572:43 [INFO] [stdout] 33: 0x5577f5aa9c83 - test::run_test::{{closure}}::ha452ffb46088765b [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:600:41 [INFO] [stdout] 34: 0x5577f5aa9c83 - std::sys_common::backtrace::__rust_begin_short_backtrace::he611e39b84a68325 [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:154:18 [INFO] [stdout] 35: 0x5577f5aaeebb - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h1f6f90a021c1ddc7 [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/thread/mod.rs:529:17 [INFO] [stdout] 36: 0x5577f5aaeebb - as core::ops::function::FnOnce<()>>::call_once::hde337ea7211d438c [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 37: 0x5577f5aaeebb - std::panicking::try::do_call::hd7199cb78d8df0a5 [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:504:40 [INFO] [stdout] 38: 0x5577f5aaeebb - std::panicking::try::hed28d716c8fe6b32 [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:468:19 [INFO] [stdout] 39: 0x5577f5aaeebb - std::panic::catch_unwind::h8ab888e8615782f1 [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panic.rs:142:14 [INFO] [stdout] 40: 0x5577f5aaeebb - std::thread::Builder::spawn_unchecked_::{{closure}}::h3acf7202ecbb668e [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/thread/mod.rs:528:30 [INFO] [stdout] 41: 0x5577f5aaeebb - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc15bd9319945b48c [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5577f5b4d5f5 - as core::ops::function::FnOnce>::call_once::h9281b5fb2305c571 [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 43: 0x5577f5b4d5f5 - as core::ops::function::FnOnce>::call_once::hae9cb5d464ed2f06 [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 44: 0x5577f5b4d5f5 - std::sys::unix::thread::Thread::new::thread_start::he78e4489414f6551 [INFO] [stdout] at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 45: 0x7efc8b35fac3 - [INFO] [stdout] 46: 0x7efc8b3f0bf4 - __clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] piece::test::rotation_of_square_90_around_point_is_correct [INFO] [stdout] [INFO] [stdout] test result: FAILED. 8 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin Tetrust` [INFO] running `Command { std: "docker" "inspect" "abab734d631ac95311155bf2a32b3949284274ffaf8543cf0f302bf2da792db1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abab734d631ac95311155bf2a32b3949284274ffaf8543cf0f302bf2da792db1", kill_on_drop: false }` [INFO] [stdout] abab734d631ac95311155bf2a32b3949284274ffaf8543cf0f302bf2da792db1