[INFO] cloning repository https://github.com/matharumanpreet00/rust-tetris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matharumanpreet00/rust-tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatharumanpreet00%2Frust-tetris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatharumanpreet00%2Frust-tetris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 37c3fd3450a27ca00a1c078932527da6d57b4274 [INFO] testing matharumanpreet00/rust-tetris/37c3fd3450a27ca00a1c078932527da6d57b4274 against master#ebf0cf75d368c035f4c7e7246d203bd469ee4a51 for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatharumanpreet00%2Frust-tetris" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matharumanpreet00/rust-tetris on toolchain ebf0cf75d368c035f4c7e7246d203bd469ee4a51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/matharumanpreet00/rust-tetris [INFO] finished tweaking git repo https://github.com/matharumanpreet00/rust-tetris [INFO] tweaked toml for git repo https://github.com/matharumanpreet00/rust-tetris written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/matharumanpreet00/rust-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" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/Rust-SDL2/rust-sdl2` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1951f1d3520f4951937de3c5d78d5741563de06cb3dc372f9083918cef84a199 [INFO] running `Command { std: "docker" "start" "-a" "1951f1d3520f4951937de3c5d78d5741563de06cb3dc372f9083918cef84a199", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1951f1d3520f4951937de3c5d78d5741563de06cb3dc372f9083918cef84a199", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1951f1d3520f4951937de3c5d78d5741563de06cb3dc372f9083918cef84a199", kill_on_drop: false }` [INFO] [stdout] 1951f1d3520f4951937de3c5d78d5741563de06cb3dc372f9083918cef84a199 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f283b07249d3fd7462309f8c452e808a97abdb89647d0c7ec663f492de0e7594 [INFO] running `Command { std: "docker" "start" "-a" "f283b07249d3fd7462309f8c452e808a97abdb89647d0c7ec663f492de0e7594", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling sdl2-sys v0.32.1 (https://github.com/Rust-SDL2/rust-sdl2#cfced74f) [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.32.0-beta.2 (https://github.com/Rust-SDL2/rust-sdl2#cfced74f) [INFO] [stderr] Compiling tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sdl2::pixels::Color` [INFO] [stdout] --> src/renderer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::pixels::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::rect::Point` [INFO] [stdout] --> src/renderer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl2::rect::Point; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlendMode` and `TextureAccess` [INFO] [stdout] --> src/renderer.rs:4:53 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::render::{Canvas, Texture, TextureCreator, TextureAccess, BlendMode}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Game` [INFO] [stdout] --> src/renderer.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::game::{Game,GameMap}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlendMode` [INFO] [stdout] --> src/main.rs:14:37 [INFO] [stdout] | [INFO] [stdout] 14 | use sdl2::render::{Canvas, Texture, BlendMode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::Sdl` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use sdl2::Sdl; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PieceType` and `Presence` [INFO] [stdout] --> src/main.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::others::{PieceType, Presence}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 42 | .expect("Failed to create texture"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 48 | texture!(GameColor::Red), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `texture` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 42 | .expect("Failed to create texture"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 49 | texture!(GameColor::Green), [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `texture` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 42 | .expect("Failed to create texture"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 50 | texture!(GameColor::Blue), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `texture` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 42 | .expect("Failed to create texture"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 51 | texture!(GameColor::Yellow), [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `texture` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 42 | .expect("Failed to create texture"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 52 | texture!(GameColor::Cyan), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `texture` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 42 | .expect("Failed to create texture"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 53 | texture!(GameColor::Orange), [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `texture` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 42 | .expect("Failed to create texture"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 54 | texture!(GameColor::Purple), [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `texture` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 42 | .expect("Failed to create texture"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 55 | texture!(GameColor::Gray), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `texture` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 42 | .expect("Failed to create texture"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 56 | texture!(GameColor::Pink) [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `texture` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `score` is never read [INFO] [stdout] --> src/game.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 9 | pub current_piece: Option, [INFO] [stdout] 10 | pub score: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0, tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "f283b07249d3fd7462309f8c452e808a97abdb89647d0c7ec663f492de0e7594", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f283b07249d3fd7462309f8c452e808a97abdb89647d0c7ec663f492de0e7594", kill_on_drop: false }` [INFO] [stdout] f283b07249d3fd7462309f8c452e808a97abdb89647d0c7ec663f492de0e7594 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62eadc269e279ef917d1dca7ed2c9569c70dce1a17050fa16c8510f4f2f95b60 [INFO] running `Command { std: "docker" "start" "-a" "62eadc269e279ef917d1dca7ed2c9569c70dce1a17050fa16c8510f4f2f95b60", kill_on_drop: false }` [INFO] [stderr] Compiling tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sdl2::pixels::Color` [INFO] [stdout] --> src/renderer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::pixels::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::rect::Point` [INFO] [stdout] --> src/renderer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl2::rect::Point; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlendMode` and `TextureAccess` [INFO] [stdout] --> src/renderer.rs:4:53 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::render::{Canvas, Texture, TextureCreator, TextureAccess, BlendMode}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Game` [INFO] [stdout] --> src/renderer.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::game::{Game,GameMap}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlendMode` [INFO] [stdout] --> src/main.rs:14:37 [INFO] [stdout] | [INFO] [stdout] 14 | use sdl2::render::{Canvas, Texture, BlendMode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::Sdl` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use sdl2::Sdl; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PieceType` and `Presence` [INFO] [stdout] --> src/main.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::others::{PieceType, Presence}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 42 | .expect("Failed to create texture"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 48 | texture!(GameColor::Red), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `texture` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 42 | .expect("Failed to create texture"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 49 | texture!(GameColor::Green), [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `texture` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 42 | .expect("Failed to create texture"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 50 | texture!(GameColor::Blue), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `texture` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 42 | .expect("Failed to create texture"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 51 | texture!(GameColor::Yellow), [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `texture` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 42 | .expect("Failed to create texture"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 52 | texture!(GameColor::Cyan), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `texture` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 42 | .expect("Failed to create texture"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 53 | texture!(GameColor::Orange), [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `texture` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 42 | .expect("Failed to create texture"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 54 | texture!(GameColor::Purple), [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `texture` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 42 | .expect("Failed to create texture"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 55 | texture!(GameColor::Gray), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `texture` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 42 | .expect("Failed to create texture"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 56 | texture!(GameColor::Pink) [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `texture` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `score` is never read [INFO] [stdout] --> src/game.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 9 | pub current_piece: Option, [INFO] [stdout] 10 | pub score: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0, tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "62eadc269e279ef917d1dca7ed2c9569c70dce1a17050fa16c8510f4f2f95b60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62eadc269e279ef917d1dca7ed2c9569c70dce1a17050fa16c8510f4f2f95b60", kill_on_drop: false }` [INFO] [stdout] 62eadc269e279ef917d1dca7ed2c9569c70dce1a17050fa16c8510f4f2f95b60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c24dcb407b870b14445d2b6765fdfcb737a42e8bed29bc31ba5d43134886e7df [INFO] running `Command { std: "docker" "start" "-a" "c24dcb407b870b14445d2b6765fdfcb737a42e8bed29bc31ba5d43134886e7df", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `sdl2::pixels::Color` [INFO] [stderr] --> src/renderer.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use sdl2::pixels::Color; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `sdl2::rect::Point` [INFO] [stderr] --> src/renderer.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use sdl2::rect::Point; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BlendMode` and `TextureAccess` [INFO] [stderr] --> src/renderer.rs:4:53 [INFO] [stderr] | [INFO] [stderr] 4 | use sdl2::render::{Canvas, Texture, TextureCreator, TextureAccess, BlendMode}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Game` [INFO] [stderr] --> src/renderer.rs:11:19 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::game::{Game,GameMap}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::prelude::*` [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use rand::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `BlendMode` [INFO] [stderr] --> src/main.rs:14:37 [INFO] [stderr] | [INFO] [stderr] 14 | use sdl2::render::{Canvas, Texture, BlendMode}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sdl2::Sdl` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use sdl2::Sdl; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `PieceType` and `Presence` [INFO] [stderr] --> src/main.rs:22:21 [INFO] [stderr] | [INFO] [stderr] 22 | use crate::others::{PieceType, Presence}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/main.rs:42:52 [INFO] [stderr] | [INFO] [stderr] 42 | .expect("Failed to create texture"); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 48 | texture!(GameColor::Red), [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stderr] = note: this warning originates in the macro `texture` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/main.rs:42:52 [INFO] [stderr] | [INFO] [stderr] 42 | .expect("Failed to create texture"); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 49 | texture!(GameColor::Green), [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `texture` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/main.rs:42:52 [INFO] [stderr] | [INFO] [stderr] 42 | .expect("Failed to create texture"); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 50 | texture!(GameColor::Blue), [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `texture` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/main.rs:42:52 [INFO] [stderr] | [INFO] [stderr] 42 | .expect("Failed to create texture"); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 51 | texture!(GameColor::Yellow), [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `texture` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/main.rs:42:52 [INFO] [stderr] | [INFO] [stderr] 42 | .expect("Failed to create texture"); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 52 | texture!(GameColor::Cyan), [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `texture` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/main.rs:42:52 [INFO] [stderr] | [INFO] [stderr] 42 | .expect("Failed to create texture"); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 53 | texture!(GameColor::Orange), [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `texture` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/main.rs:42:52 [INFO] [stderr] | [INFO] [stderr] 42 | .expect("Failed to create texture"); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 54 | texture!(GameColor::Purple), [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `texture` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/main.rs:42:52 [INFO] [stderr] | [INFO] [stderr] 42 | .expect("Failed to create texture"); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 55 | texture!(GameColor::Gray), [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `texture` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/main.rs:42:52 [INFO] [stderr] | [INFO] [stderr] 42 | .expect("Failed to create texture"); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 56 | texture!(GameColor::Pink) [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `texture` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `score` is never read [INFO] [stderr] --> src/game.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct Game { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] 9 | pub current_piece: Option, [INFO] [stderr] 10 | pub score: usize, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `tetris` (bin "tetris" test) generated 18 warnings (run `cargo fix --bin "tetris" --tests` to apply 8 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0, tetris v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tetris-48cc5da63ab7e687) [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" "c24dcb407b870b14445d2b6765fdfcb737a42e8bed29bc31ba5d43134886e7df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c24dcb407b870b14445d2b6765fdfcb737a42e8bed29bc31ba5d43134886e7df", kill_on_drop: false }` [INFO] [stdout] c24dcb407b870b14445d2b6765fdfcb737a42e8bed29bc31ba5d43134886e7df