[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#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fronjakoi%2Fsideways" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ronjakoi/sideways on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc1/source/Cargo.toml [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spin v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 813417d9850386cca610905e51a477b2ea1df0622f487ddbb2c8c25bc7e936d2 [INFO] running `Command { std: "docker" "start" "-a" "813417d9850386cca610905e51a477b2ea1df0622f487ddbb2c8c25bc7e936d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "813417d9850386cca610905e51a477b2ea1df0622f487ddbb2c8c25bc7e936d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "813417d9850386cca610905e51a477b2ea1df0622f487ddbb2c8c25bc7e936d2", kill_on_drop: false }` [INFO] [stdout] 813417d9850386cca610905e51a477b2ea1df0622f487ddbb2c8c25bc7e936d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f1d739f429a7dbdfbc9c300d4fa79213902674c358922fa446bcf2332bdabd6 [INFO] running `Command { std: "docker" "start" "-a" "1f1d739f429a7dbdfbc9c300d4fa79213902674c358922fa446bcf2332bdabd6", 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 lazy_static v1.3.0 [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 rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking c2-chacha v0.2.2 [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`, `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)]` 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`, `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`, `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`, `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)]` 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`, `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`, `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), [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)]` 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), [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)]` 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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.37s [INFO] running `Command { std: "docker" "inspect" "1f1d739f429a7dbdfbc9c300d4fa79213902674c358922fa446bcf2332bdabd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f1d739f429a7dbdfbc9c300d4fa79213902674c358922fa446bcf2332bdabd6", kill_on_drop: false }` [INFO] [stdout] 1f1d739f429a7dbdfbc9c300d4fa79213902674c358922fa446bcf2332bdabd6