[INFO] cloning repository https://github.com/ronjakoi/sideways
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ronjakoi/sideways" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fronjakoi%2Fsideways", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fronjakoi%2Fsideways'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d9795d3f8c3b1b7f76db06d0e23253037bffa8b0
[INFO] checking ronjakoi/sideways against master#6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd for pr-153721
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fronjakoi%2Fsideways" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ronjakoi/sideways
[INFO] finished tweaking git repo https://github.com/ronjakoi/sideways
[INFO] tweaked toml for git repo https://github.com/ronjakoi/sideways written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ronjakoi/sideways on toolchain 6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ronjakoi/sideways 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" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded spin v0.5.0
[INFO] [stderr]   Downloaded num-iter v0.1.39
[INFO] [stderr]   Downloaded num-integer v0.1.41
[INFO] [stderr]   Downloaded getrandom v0.1.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8d4ba25e02e06d0439cda587d1cebfd634e790ee25edc2b1e8a405d5859f5256
[INFO] running `Command { std: "docker" "start" "8d4ba25e02e06d0439cda587d1cebfd634e790ee25edc2b1e8a405d5859f5256", 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" "8d4ba25e02e06d0439cda587d1cebfd634e790ee25edc2b1e8a405d5859f5256" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8d4ba25e02e06d0439cda587d1cebfd634e790ee25edc2b1e8a405d5859f5256", 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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8d4ba25e02e06d0439cda587d1cebfd634e790ee25edc2b1e8a405d5859f5256" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.5
[INFO] [stderr]    Compiling libc v0.2.60
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]     Checking spin v0.5.0
[INFO] [stderr]    Compiling cfg-if v0.1.9
[INFO] [stderr]     Checking ppv-lite86 v0.2.5
[INFO] [stderr]    Compiling bitflags v1.1.0
[INFO] [stderr]    Compiling sdl2 v0.32.2
[INFO] [stderr]    Compiling sdl2-sys v0.32.6
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking c2-chacha v0.2.2
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking getrandom v0.1.6
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking rand_core v0.5.0
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]     Checking rand v0.7.0
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking sideways v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Point` and `Rect`
[INFO] [stdout]  --> src/main.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sdl2::rect::{Point, Rect};
[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 import: `player`
[INFO] [stdout]  --> src/collide.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::{enemy, player, projectile};
[INFO] [stdout]   |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Collider` and `Shape`
[INFO] [stdout]    --> src/collide.rs:197:17
[INFO] [stdout]     |
[INFO] [stdout] 197 |     use super::{Collider, Shape};
[INFO] [stdout]     |                 ^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::Projectile`
[INFO] [stdout]  --> src/enemy.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::Projectile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Axis`
[INFO] [stdout]  --> src/enemy.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{Axis, Velocity};
[INFO] [stdout]   |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/enemy.rs:9:17
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::player::Player`
[INFO] [stdout]  --> src/projectile.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::player::Player;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HEIGHT` and `WIDTH`
[INFO] [stdout]  --> src/projectile.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::{HEIGHT, WIDTH};
[INFO] [stdout]   |             ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Point` and `Rect`
[INFO] [stdout]  --> src/main.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sdl2::rect::{Point, Rect};
[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 import: `player`
[INFO] [stdout]  --> src/collide.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::{enemy, player, projectile};
[INFO] [stdout]   |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Collider` and `Shape`
[INFO] [stdout]    --> src/collide.rs:197:17
[INFO] [stdout]     |
[INFO] [stdout] 197 |     use super::{Collider, Shape};
[INFO] [stdout]     |                 ^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::Projectile`
[INFO] [stdout]  --> src/enemy.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::Projectile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Axis`
[INFO] [stdout]  --> src/enemy.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{Axis, Velocity};
[INFO] [stdout]   |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/enemy.rs:9:17
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::player::Player`
[INFO] [stdout]  --> src/projectile.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::player::Player;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HEIGHT` and `WIDTH`
[INFO] [stdout]  --> src/projectile.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::{HEIGHT, WIDTH};
[INFO] [stdout]   |             ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Point` and `Compound` are never constructed
[INFO] [stdout]   --> src/collide.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum Shape {
[INFO] [stdout]    |          ----- variants in this enum
[INFO] [stdout]  7 |     Point(Point),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 |     Compound(Vec<Shape>),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Shape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new_point`, `new_compound`, and `push` are never used
[INFO] [stdout]   --> src/collide.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl Shape {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 33 |     pub fn new_point(x: i32, y: i32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn new_compound() -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn push(&mut self, item: Shape) -> Result<(), String> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_in_screen` is never used
[INFO] [stdout]    --> src/collide.rs:125:8
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub trait Collider {
[INFO] [stdout]     |           -------- method in this trait
[INFO] [stdout] 124 |     fn collide(&self, target: &Shape) -> bool;
[INFO] [stdout] 125 |     fn is_in_screen(&self) -> bool;
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `damage` is never read
[INFO] [stdout]   --> src/projectile.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Projectile<'a, 'b> {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 11 |     v: Velocity,
[INFO] [stdout] 12 |     damage: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `lethal_to_player` is never used
[INFO] [stdout]    --> src/projectile.rs:140:12
[INFO] [stdout]     |
[INFO] [stdout]  48 | impl<'a, 'b> Projectile<'a, 'b> {
[INFO] [stdout]     | ------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn lethal_to_player(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Point` and `Compound` are never constructed
[INFO] [stdout]   --> src/collide.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum Shape {
[INFO] [stdout]    |          ----- variants in this enum
[INFO] [stdout]  7 |     Point(Point),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 |     Compound(Vec<Shape>),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Shape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new_point`, `new_compound`, and `push` are never used
[INFO] [stdout]   --> src/collide.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl Shape {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 33 |     pub fn new_point(x: i32, y: i32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn new_compound() -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn push(&mut self, item: Shape) -> Result<(), String> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_in_screen` is never used
[INFO] [stdout]    --> src/collide.rs:125:8
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub trait Collider {
[INFO] [stdout]     |           -------- method in this trait
[INFO] [stdout] 124 |     fn collide(&self, target: &Shape) -> bool;
[INFO] [stdout] 125 |     fn is_in_screen(&self) -> bool;
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `damage` is never read
[INFO] [stdout]   --> src/projectile.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Projectile<'a, 'b> {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 11 |     v: Velocity,
[INFO] [stdout] 12 |     damage: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `lethal_to_player` is never used
[INFO] [stdout]    --> src/projectile.rs:140:12
[INFO] [stdout]     |
[INFO] [stdout]  48 | impl<'a, 'b> Projectile<'a, 'b> {
[INFO] [stdout]     | ------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn lethal_to_player(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.57s
[INFO] running `Command { std: "docker" "inspect" "8d4ba25e02e06d0439cda587d1cebfd634e790ee25edc2b1e8a405d5859f5256", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d4ba25e02e06d0439cda587d1cebfd634e790ee25edc2b1e8a405d5859f5256", kill_on_drop: false }`
[INFO] [stdout] 8d4ba25e02e06d0439cda587d1cebfd634e790ee25edc2b1e8a405d5859f5256
