[INFO] cloning repository https://github.com/nicey0/asteroids-clone [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nicey0/asteroids-clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicey0%2Fasteroids-clone", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicey0%2Fasteroids-clone'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9db507c52babcedb860d04ce576d5c96b3c3c319 [INFO] checking nicey0/asteroids-clone against master#4fa76a4a7742bb9c1febe33019f5a9e7e4839a65 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicey0%2Fasteroids-clone" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nicey0/asteroids-clone on toolchain 4fa76a4a7742bb9c1febe33019f5a9e7e4839a65 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nicey0/asteroids-clone [INFO] finished tweaking git repo https://github.com/nicey0/asteroids-clone [INFO] tweaked toml for git repo https://github.com/nicey0/asteroids-clone written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/nicey0/asteroids-clone already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd238d8c4c01a8e38d0b91260d540a71748443df6ea05edafb3c61a735c207b2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bd238d8c4c01a8e38d0b91260d540a71748443df6ea05edafb3c61a735c207b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd238d8c4c01a8e38d0b91260d540a71748443df6ea05edafb3c61a735c207b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd238d8c4c01a8e38d0b91260d540a71748443df6ea05edafb3c61a735c207b2", kill_on_drop: false }` [INFO] [stdout] bd238d8c4c01a8e38d0b91260d540a71748443df6ea05edafb3c61a735c207b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03c559b5b6de49e33dd9da218bd7559b649b6b6b54ce532dfe8bdaef0cee70ed [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "03c559b5b6de49e33dd9da218bd7559b649b6b6b54ce532dfe8bdaef0cee70ed", kill_on_drop: false }` [INFO] [stderr] Checking weezl v0.1.3 [INFO] [stderr] Checking tiff v0.6.0 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking image v0.23.11 [INFO] [stderr] Checking piston-gfx_texture v0.41.0 [INFO] [stderr] Checking piston2d-gfx_graphics v0.70.0 [INFO] [stderr] Checking piston_window v0.114.0 [INFO] [stderr] Checking asteroids-clone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/update.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut new: Vec = Vec::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_small` [INFO] [stdout] --> src/asteroid.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new_small(rr: &mut Ranges, x: f64, y: f64, r: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/asteroid.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_size` [INFO] [stdout] --> src/ship.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_size(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_speed` [INFO] [stdout] --> src/ship.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn get_speed(&self) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_rot` [INFO] [stdout] --> src/ship.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn get_rot(&self) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_r` [INFO] [stdout] --> src/ship.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn get_r(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Point` [INFO] [stdout] --> src/util.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub type Point = (f64, f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/update.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut new: Vec = Vec::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_small` [INFO] [stdout] --> src/asteroid.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new_small(rr: &mut Ranges, x: f64, y: f64, r: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/asteroid.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_size` [INFO] [stdout] --> src/ship.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_size(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_speed` [INFO] [stdout] --> src/ship.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn get_speed(&self) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_rot` [INFO] [stdout] --> src/ship.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn get_rot(&self) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_r` [INFO] [stdout] --> src/ship.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn get_r(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Point` [INFO] [stdout] --> src/util.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub type Point = (f64, f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.38s [INFO] running `Command { std: "docker" "inspect" "03c559b5b6de49e33dd9da218bd7559b649b6b6b54ce532dfe8bdaef0cee70ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03c559b5b6de49e33dd9da218bd7559b649b6b6b54ce532dfe8bdaef0cee70ed", kill_on_drop: false }` [INFO] [stdout] 03c559b5b6de49e33dd9da218bd7559b649b6b6b54ce532dfe8bdaef0cee70ed