[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 1.83.0 for beta-1.84.0-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobertL31%2FTetrust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RobertL31/Tetrust on toolchain 1.83.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "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-tc1/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" "+1.83.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wide v0.7.5 [INFO] [stderr] Downloaded ncollide3d v0.33.0 [INFO] [stderr] Downloaded kiss3d v0.35.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90a0a8f217ddaa6cb6a3a1623f8190d7c67c82700e65a3f7de4599d0982b398d [INFO] running `Command { std: "docker" "start" "-a" "90a0a8f217ddaa6cb6a3a1623f8190d7c67c82700e65a3f7de4599d0982b398d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90a0a8f217ddaa6cb6a3a1623f8190d7c67c82700e65a3f7de4599d0982b398d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90a0a8f217ddaa6cb6a3a1623f8190d7c67c82700e65a3f7de4599d0982b398d", kill_on_drop: false }` [INFO] [stdout] 90a0a8f217ddaa6cb6a3a1623f8190d7c67c82700e65a3f7de4599d0982b398d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24f54d4099d4b9670d2956143742099105bfa34abc6e522fcad54f4d6c9df9d6 [INFO] running `Command { std: "docker" "start" "-a" "24f54d4099d4b9670d2956143742099105bfa34abc6e522fcad54f4d6c9df9d6", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [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 lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling bytemuck v1.12.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling paste v1.0.11 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling net2 v0.2.38 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling xdg v2.4.1 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling wide v0.7.5 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling rayon v1.6.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-complex v0.4.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [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 deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.152 [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 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 wayland-commons v0.28.6 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling console v0.15.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling strum_macros v0.24.3 [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` and `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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 53s [INFO] running `Command { std: "docker" "inspect" "24f54d4099d4b9670d2956143742099105bfa34abc6e522fcad54f4d6c9df9d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24f54d4099d4b9670d2956143742099105bfa34abc6e522fcad54f4d6c9df9d6", kill_on_drop: false }` [INFO] [stdout] 24f54d4099d4b9670d2956143742099105bfa34abc6e522fcad54f4d6c9df9d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7657a1a29b835460f21b69da43423500a380c200a1940de0afde33bd181b3c01 [INFO] running `Command { std: "docker" "start" "-a" "7657a1a29b835460f21b69da43423500a380c200a1940de0afde33bd181b3c01", 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.31s [INFO] running `Command { std: "docker" "inspect" "7657a1a29b835460f21b69da43423500a380c200a1940de0afde33bd181b3c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7657a1a29b835460f21b69da43423500a380c200a1940de0afde33bd181b3c01", kill_on_drop: false }` [INFO] [stdout] 7657a1a29b835460f21b69da43423500a380c200a1940de0afde33bd181b3c01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] de3eeffe6113d086c66491ee0f58bbb0eee3b880f1b0ce22657b93253e8289b3 [INFO] running `Command { std: "docker" "start" "-a" "de3eeffe6113d086c66491ee0f58bbb0eee3b880f1b0ce22657b93253e8289b3", 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: `Tetrust` (bin "Tetrust" test) generated 6 warnings (run `cargo fix --bin "Tetrust" --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/Tetrust-64246b76a7e90435) [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_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_square_is_correct ... 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: 0x635b08fe539a - std::backtrace_rs::backtrace::libunwind::trace::h5a5b8284f2d0c266 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x635b08fe539a - std::backtrace_rs::backtrace::trace_unsynchronized::h76d4f1c9b0b875e3 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x635b08fe539a - std::sys::backtrace::_print_fmt::hc4546b8364a537c6 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x635b08fe539a - ::fmt::h5b6bd5631a6d1f6b [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x635b0900a673 - core::fmt::rt::Argument::fmt::h270f6602a2b96f62 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x635b0900a673 - core::fmt::write::h7550c97b06c86515 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/fmt/mod.rs:1186:21 [INFO] [stdout] 6: 0x635b08fe2563 - std::io::Write::write_fmt::h509ff860e5956e5e [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/io/mod.rs:1839:15 [INFO] [stdout] 7: 0x635b08fe51e2 - std::sys::backtrace::BacktraceLock::print::h2395ccd2c84ba3aa [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x635b08fe67fa - std::panicking::default_hook::{{closure}}::he19d4c7230e07961 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:268:22 [INFO] [stdout] 9: 0x635b08fe6604 - std::panicking::default_hook::hf614597d3c67bbdb [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:292:9 [INFO] [stdout] 10: 0x635b08f77f79 - as core::ops::function::Fn>::call::h39b51ce4599c23d1 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/alloc/src/boxed.rs:2468:9 [INFO] [stdout] 11: 0x635b08f77f79 - test::test_main::{{closure}}::he977ae839a582784 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:133:21 [INFO] [stdout] 12: 0x635b08fe6e98 - as core::ops::function::Fn>::call::h9455091b6b06f9fb [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/alloc/src/boxed.rs:2468:9 [INFO] [stdout] 13: 0x635b08fe6e98 - std::panicking::rust_panic_with_hook::h8942133a8b252070 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:809:13 [INFO] [stdout] 14: 0x635b08fe6c5a - std::panicking::begin_panic_handler::{{closure}}::hb5f5963570096b29 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:674:13 [INFO] [stdout] 15: 0x635b08fe5879 - std::sys::backtrace::__rust_end_short_backtrace::h6208cedc1922feda [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x635b08fe68ec - rust_begin_unwind [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:665:5 [INFO] [stdout] 17: 0x635b08f2cfd0 - core::panicking::panic_fmt::h0c3082644d1bf418 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/panicking.rs:74:14 [INFO] [stdout] 18: 0x635b08f2d2fb - core::panicking::assert_failed_inner::h2ddf1fcc067fa858 [INFO] [stdout] 19: 0x635b08f36241 - core::panicking::assert_failed::h87002197d1797b6f [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/panicking.rs:367:5 [INFO] [stdout] 20: 0x635b08f32ee9 - Tetrust::piece::test::rotation_of_square_90_around_point_is_correct::h96bd060af9de6347 [INFO] [stdout] at /opt/rustwide/workdir/src/piece.rs:255:9 [INFO] [stdout] 21: 0x635b08f32d87 - Tetrust::piece::test::rotation_of_square_90_around_point_is_correct::{{closure}}::h962e8741e8c7973b [INFO] [stdout] at /opt/rustwide/workdir/src/piece.rs:245:55 [INFO] [stdout] 22: 0x635b08f2f166 - core::ops::function::FnOnce::call_once::h963c563ff5bb88e5 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x635b08f7c93b - core::ops::function::FnOnce::call_once::h109cf8051a59b34e [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x635b08f7c93b - test::__rust_begin_short_backtrace::hf4fff89d377446ba [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:621:18 [INFO] [stdout] 25: 0x635b08f7c177 - test::run_test_in_process::{{closure}}::h0e39181dd7ee5a43 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:644:60 [INFO] [stdout] 26: 0x635b08f7c177 - as core::ops::function::FnOnce<()>>::call_once::hc5a66a30f0bdfd1f [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x635b08f7c177 - std::panicking::try::do_call::h873b7cf639554a5e [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:557:40 [INFO] [stdout] 28: 0x635b08f7c177 - std::panicking::try::hdb19862fad9c8bd1 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:520:19 [INFO] [stdout] 29: 0x635b08f7c177 - std::panic::catch_unwind::h281fe732d236d260 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panic.rs:358:14 [INFO] [stdout] 30: 0x635b08f7c177 - test::run_test_in_process::h949b6df8457ed338 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:644:27 [INFO] [stdout] 31: 0x635b08f7c177 - test::run_test::{{closure}}::h52c556a6d4740e10 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:565:43 [INFO] [stdout] 32: 0x635b08f41454 - test::run_test::{{closure}}::h4237f6381c45ccb9 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/test/src/lib.rs:595:41 [INFO] [stdout] 33: 0x635b08f41454 - std::sys::backtrace::__rust_begin_short_backtrace::h505c97a579eca628 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 34: 0x635b08f44b1e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9e86b2e2bc107ea3 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/thread/mod.rs:538:17 [INFO] [stdout] 35: 0x635b08f44b1e - as core::ops::function::FnOnce<()>>::call_once::h8b06ddb275ff4a25 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x635b08f44b1e - std::panicking::try::do_call::hb26ecd7cd9a9355d [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:557:40 [INFO] [stdout] 37: 0x635b08f44b1e - std::panicking::try::h8ddeca9d705f9069 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panicking.rs:520:19 [INFO] [stdout] 38: 0x635b08f44b1e - std::panic::catch_unwind::h49e1c33078844c46 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/panic.rs:358:14 [INFO] [stdout] 39: 0x635b08f44b1e - std::thread::Builder::spawn_unchecked_::{{closure}}::h6073db6ff56ad35d [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/thread/mod.rs:537:30 [INFO] [stdout] 40: 0x635b08f44b1e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2c5a5f3779c774f1 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x635b08feabeb - as core::ops::function::FnOnce>::call_once::hf75717d9f28faebf [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/alloc/src/boxed.rs:2454:9 [INFO] [stdout] 42: 0x635b08feabeb - as core::ops::function::FnOnce>::call_once::h7bd883a5f3c5f3c1 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/alloc/src/boxed.rs:2454:9 [INFO] [stdout] 43: 0x635b08feabeb - std::sys::pal::unix::thread::Thread::new::thread_start::hcc78f3943333fa94 [INFO] [stdout] at /rustc/90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 44: 0x74ed43e4cac3 - [INFO] [stdout] 45: 0x74ed43edda04 - clone [INFO] [stdout] 46: 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.16s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin Tetrust` [INFO] running `Command { std: "docker" "inspect" "de3eeffe6113d086c66491ee0f58bbb0eee3b880f1b0ce22657b93253e8289b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de3eeffe6113d086c66491ee0f58bbb0eee3b880f1b0ce22657b93253e8289b3", kill_on_drop: false }` [INFO] [stdout] de3eeffe6113d086c66491ee0f58bbb0eee3b880f1b0ce22657b93253e8289b3