[INFO] cloning repository https://github.com/dymk/knockoff-tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dymk/knockoff-tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdymk%2Fknockoff-tetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdymk%2Fknockoff-tetris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3362f6bea0e91e169d70eb22f2ab0df5511749fd [INFO] testing dymk/knockoff-tetris against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdymk%2Fknockoff-tetris" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dymk/knockoff-tetris [INFO] finished tweaking git repo https://github.com/dymk/knockoff-tetris [INFO] tweaked toml for git repo https://github.com/dymk/knockoff-tetris written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dymk/knockoff-tetris on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dymk/knockoff-tetris 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.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 6e7af621bba02ff068879a8001bd6ca2d8d80d0585c231daf9fd030b322e8f34 [INFO] running `Command { std: "docker" "start" "6e7af621bba02ff068879a8001bd6ca2d8d80d0585c231daf9fd030b322e8f34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e7af621bba02ff068879a8001bd6ca2d8d80d0585c231daf9fd030b322e8f34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6e7af621bba02ff068879a8001bd6ca2d8d80d0585c231daf9fd030b322e8f34" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e7af621bba02ff068879a8001bd6ca2d8d80d0585c231daf9fd030b322e8f34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6e7af621bba02ff068879a8001bd6ca2d8d80d0585c231daf9fd030b322e8f34" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling mint v0.5.9 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling erased-serde v0.3.20 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling async-task v4.2.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling bevy_tasks v0.7.0 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling filetime v0.2.16 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling ash v0.34.0+1.2.203 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling pp-rs v0.2.1 [INFO] [stderr] Compiling notify v5.0.0-pre.11 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling wgpu-core v0.12.2 [INFO] [stderr] Compiling gpu-alloc v0.5.3 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling wgpu-types v0.12.0 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling profiling v1.0.6 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling ttf-parser v0.15.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling bytemuck_derive v1.1.0 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling owned_ttf_parser v0.15.0 [INFO] [stderr] Compiling euclid v0.22.7 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling svg_fmt v0.4.1 [INFO] [stderr] Compiling cpal v0.13.5 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling cargo-manifest v0.2.6 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling gltf-derive v1.0.0 [INFO] [stderr] Compiling guillotiere v0.6.2 [INFO] [stderr] Compiling bevy_macro_utils v0.7.0 [INFO] [stderr] Compiling ab_glyph v0.2.15 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling alsa v0.6.0 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling rectangle-pack v0.4.2 [INFO] [stderr] Compiling bevy_derive v0.7.0 [INFO] [stderr] Compiling bevy_reflect_derive v0.7.0 [INFO] [stderr] Compiling bevy_ecs_macros v0.7.0 [INFO] [stderr] Compiling bevy-crevice-derive v0.7.0 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling glyph_brush_layout v0.2.3 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling glam v0.20.5 [INFO] [stderr] Compiling bevy_utils v0.7.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.11 [INFO] [stderr] Compiling gpu-descriptor v0.2.2 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling gilrs-core v0.3.2 [INFO] [stderr] Compiling gltf-json v1.0.0 [INFO] [stderr] Compiling ron v0.7.0 [INFO] [stderr] Compiling bevy_reflect v0.7.0 [INFO] [stderr] Compiling naga v0.8.5 [INFO] [stderr] Compiling hexasphere v7.0.0 [INFO] [stderr] Compiling bevy_crevice v0.7.0 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling gilrs v0.8.2 [INFO] [stderr] Compiling bevy_ecs v0.7.0 [INFO] [stderr] Compiling bevy_math v0.7.0 [INFO] [stderr] Compiling gltf v1.0.0 [INFO] [stderr] Compiling rodio v0.15.0 [INFO] [stderr] Compiling stretch v0.3.2 [INFO] [stderr] Compiling wgpu-hal v0.12.5 [INFO] [stderr] Compiling bevy_app v0.7.0 [INFO] [stderr] Compiling bevy_log v0.7.0 [INFO] [stderr] Compiling bevy_core v0.7.0 [INFO] [stderr] Compiling bevy_diagnostic v0.7.0 [INFO] [stderr] Compiling bevy_hierarchy v0.7.0 [INFO] [stderr] Compiling bevy_asset v0.7.0 [INFO] [stderr] Compiling bevy_transform v0.7.0 [INFO] [stderr] Compiling bevy_window v0.7.0 [INFO] [stderr] Compiling bevy_input v0.7.0 [INFO] [stderr] Compiling bevy_animation v0.7.0 [INFO] [stderr] Compiling bevy_scene v0.7.0 [INFO] [stderr] Compiling wgpu v0.12.0 [INFO] [stderr] Compiling bevy_gilrs v0.7.0 [INFO] [stderr] Compiling bevy_winit v0.7.0 [INFO] [stderr] Compiling bevy_audio v0.7.0 [INFO] [stderr] Compiling bevy_render v0.7.0 [INFO] [stderr] Compiling bevy_core_pipeline v0.7.0 [INFO] [stderr] Compiling bevy_sprite v0.7.0 [INFO] [stderr] Compiling bevy_pbr v0.7.0 [INFO] [stderr] Compiling bevy_text v0.7.0 [INFO] [stderr] Compiling bevy_ui v0.7.0 [INFO] [stderr] Compiling bevy_gltf v0.7.0 [INFO] [stderr] Compiling bevy_internal v0.7.0 [INFO] [stderr] Compiling bevy_dylib v0.7.0 [INFO] [stderr] Compiling bevy v0.7.0 [INFO] [stderr] Compiling tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f32::consts::TAU` [INFO] [stdout] --> src/tetris_block/movable_block.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f32::consts::TAU; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CELL_SIDE_LEN` and `GRID_CELLS` [INFO] [stdout] --> src/tetris_block/movable_block.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | CELL_SIDE_LEN, GRID_CELLS, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Quat`, `Transform`, `Vec3`, and `default` [INFO] [stdout] --> src/tetris_block/movable_block.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | math::{IVec2, Quat, Vec3}, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] 11 | prelude::{default, Component, Transform}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Active` is never constructed [INFO] [stdout] --> src/tetris_block/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct Active; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_ivec` and `iter_ents` are never used [INFO] [stdout] --> src/tetris_block/board.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | fn to_ivec(&self, idx: usize) -> IVec2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn iter_ents(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `def` is never read [INFO] [stdout] --> src/tetris_block/cell_positioning.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct RelativePositionedCell { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 20 | pub pos: IVec2, [INFO] [stdout] 21 | pub def: &'static BlockDefinition, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/tetris_block/movable_block.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum BlockName { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 17 | L, [INFO] [stdout] | ^ [INFO] [stdout] 18 | J, [INFO] [stdout] | ^ [INFO] [stdout] 19 | O, [INFO] [stdout] | ^ [INFO] [stdout] 20 | I, [INFO] [stdout] 21 | T, [INFO] [stdout] | ^ [INFO] [stdout] 22 | S, [INFO] [stdout] | ^ [INFO] [stdout] 23 | Z, [INFO] [stdout] | ^ [INFO] [stdout] 24 | Test, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockName` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rotation` and `around_corner` are never used [INFO] [stdout] --> src/tetris_block/movable_block.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl MovableBlock { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn rotation(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn around_corner(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 8m 44s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wgpu-core v0.12.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "6e7af621bba02ff068879a8001bd6ca2d8d80d0585c231daf9fd030b322e8f34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6e7af621bba02ff068879a8001bd6ca2d8d80d0585c231daf9fd030b322e8f34" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f32::consts::TAU` [INFO] [stdout] --> src/tetris_block/movable_block.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f32::consts::TAU; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CELL_SIDE_LEN` and `GRID_CELLS` [INFO] [stdout] --> src/tetris_block/movable_block.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | CELL_SIDE_LEN, GRID_CELLS, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Quat`, `Transform`, `Vec3`, and `default` [INFO] [stdout] --> src/tetris_block/movable_block.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | math::{IVec2, Quat, Vec3}, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] 11 | prelude::{default, Component, Transform}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Active` is never constructed [INFO] [stdout] --> src/tetris_block/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct Active; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_ivec` and `iter_ents` are never used [INFO] [stdout] --> src/tetris_block/board.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Board { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | fn to_ivec(&self, idx: usize) -> IVec2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn iter_ents(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `def` is never read [INFO] [stdout] --> src/tetris_block/cell_positioning.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct RelativePositionedCell { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 20 | pub pos: IVec2, [INFO] [stdout] 21 | pub def: &'static BlockDefinition, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `L`, `J`, `O`, `T`, `S`, and `Z` are never constructed [INFO] [stdout] --> src/tetris_block/movable_block.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum BlockName { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 17 | L, [INFO] [stdout] | ^ [INFO] [stdout] 18 | J, [INFO] [stdout] | ^ [INFO] [stdout] 19 | O, [INFO] [stdout] | ^ [INFO] [stdout] 20 | I, [INFO] [stdout] 21 | T, [INFO] [stdout] | ^ [INFO] [stdout] 22 | S, [INFO] [stdout] | ^ [INFO] [stdout] 23 | Z, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockName` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rotation` and `around_corner` are never used [INFO] [stdout] --> src/tetris_block/movable_block.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl MovableBlock { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn rotation(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn around_corner(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1.64s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wgpu-core v0.12.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "6e7af621bba02ff068879a8001bd6ca2d8d80d0585c231daf9fd030b322e8f34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6e7af621bba02ff068879a8001bd6ca2d8d80d0585c231daf9fd030b322e8f34" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::f32::consts::TAU` [INFO] [stderr] --> src/tetris_block/movable_block.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::f32::consts::TAU; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CELL_SIDE_LEN` and `GRID_CELLS` [INFO] [stderr] --> src/tetris_block/movable_block.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | CELL_SIDE_LEN, GRID_CELLS, [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Quat`, `Transform`, `Vec3`, and `default` [INFO] [stderr] --> src/tetris_block/movable_block.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | math::{IVec2, Quat, Vec3}, [INFO] [stderr] | ^^^^ ^^^^ [INFO] [stderr] 11 | prelude::{default, Component, Transform}, [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Active` is never constructed [INFO] [stderr] --> src/tetris_block/mod.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | struct Active; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `to_ivec` and `iter_ents` are never used [INFO] [stderr] --> src/tetris_block/board.rs:45:8 [INFO] [stderr] | [INFO] [stderr] 22 | impl Board { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 45 | fn to_ivec(&self, idx: usize) -> IVec2 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 57 | pub fn iter_ents(&self) -> impl Iterator + '_ { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `def` is never read [INFO] [stderr] --> src/tetris_block/cell_positioning.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct RelativePositionedCell { [INFO] [stderr] | ---------------------- field in this struct [INFO] [stderr] 20 | pub pos: IVec2, [INFO] [stderr] 21 | pub def: &'static BlockDefinition, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `L`, `J`, `O`, `T`, `S`, and `Z` are never constructed [INFO] [stderr] --> src/tetris_block/movable_block.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub enum BlockName { [INFO] [stderr] | --------- variants in this enum [INFO] [stderr] 17 | L, [INFO] [stderr] | ^ [INFO] [stderr] 18 | J, [INFO] [stderr] | ^ [INFO] [stderr] 19 | O, [INFO] [stderr] | ^ [INFO] [stderr] 20 | I, [INFO] [stderr] 21 | T, [INFO] [stderr] | ^ [INFO] [stderr] 22 | S, [INFO] [stderr] | ^ [INFO] [stderr] 23 | Z, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `BlockName` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `rotation` and `around_corner` are never used [INFO] [stderr] --> src/tetris_block/movable_block.rs:71:12 [INFO] [stderr] | [INFO] [stderr] 57 | impl MovableBlock { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 71 | pub fn rotation(&self) -> f32 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 139 | pub fn around_corner(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `tetris` (bin "tetris" test) generated 8 warnings (run `cargo fix --bin "tetris" -p tetris --tests` to apply 3 suggestions) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wgpu-core v0.12.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/build/tetris/5a22b8b756d6ed21/out/tetris-5a22b8b756d6ed21) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tetris_block::movable_block::test::test_build_rotations ... ok [INFO] [stdout] test tetris_block::board::test::test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6e7af621bba02ff068879a8001bd6ca2d8d80d0585c231daf9fd030b322e8f34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e7af621bba02ff068879a8001bd6ca2d8d80d0585c231daf9fd030b322e8f34", kill_on_drop: false }` [INFO] [stdout] 6e7af621bba02ff068879a8001bd6ca2d8d80d0585c231daf9fd030b322e8f34