[INFO] cloning repository https://github.com/connormcn37/rust-breakout [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/connormcn37/rust-breakout" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconnormcn37%2Frust-breakout", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconnormcn37%2Frust-breakout'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04c49ebaa7209899deb8e87feee17a6dcda419c4 [INFO] testing connormcn37/rust-breakout against try#613d1972a772987ed4ee06faccbab0e2fc839871+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconnormcn37%2Frust-breakout" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/connormcn37/rust-breakout on toolchain 613d1972a772987ed4ee06faccbab0e2fc839871 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/connormcn37/rust-breakout [INFO] finished tweaking git repo https://github.com/connormcn37/rust-breakout [INFO] tweaked toml for git repo https://github.com/connormcn37/rust-breakout written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/connormcn37/rust-breakout 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" "+613d1972a772987ed4ee06faccbab0e2fc839871" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e2e4a32f1733b6bd796809ef9449e18153c8a9ffda1b14097b4dc6db22c4099 [INFO] running `Command { std: "docker" "start" "-a" "2e2e4a32f1733b6bd796809ef9449e18153c8a9ffda1b14097b4dc6db22c4099", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e2e4a32f1733b6bd796809ef9449e18153c8a9ffda1b14097b4dc6db22c4099", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e2e4a32f1733b6bd796809ef9449e18153c8a9ffda1b14097b4dc6db22c4099", kill_on_drop: false }` [INFO] [stdout] 2e2e4a32f1733b6bd796809ef9449e18153c8a9ffda1b14097b4dc6db22c4099 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf4554ff23a4ff10d8f914d97a2a0d2997093ad5ee60444378eebb37478eea86 [INFO] running `Command { std: "docker" "start" "-a" "cf4554ff23a4ff10d8f914d97a2a0d2997093ad5ee60444378eebb37478eea86", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling libc v0.2.59 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling stb_truetype v0.2.6 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling downcast-rs v1.0.4 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling walkdir v2.2.8 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling rusttype v0.7.7 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling rayon v1.1.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling png v0.14.1 [INFO] [stderr] Compiling gif v0.10.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling piston-texture v0.6.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling shader_version v0.6.0 [INFO] [stderr] Compiling gfx_gl v0.5.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling piston2d-graphics v0.32.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.94 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.19.1 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling image v0.21.2 [INFO] [stderr] Compiling gfx_core v0.8.3 [INFO] [stderr] Compiling glutin v0.21.0 [INFO] [stderr] Compiling gfx v0.17.1 [INFO] [stderr] Compiling gfx_device_gl v0.15.5 [INFO] [stderr] Compiling piston-gfx_texture v0.36.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.61.0 [INFO] [stderr] Compiling pistoncore-input v0.28.0 [INFO] [stderr] Compiling pistoncore-window v0.43.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.48.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.62.1 [INFO] [stderr] Compiling piston v0.48.0 [INFO] [stderr] Compiling piston_window v0.99.0 [INFO] [stderr] Compiling breakout v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/paddle.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | Direction::Left => ( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 45 | | self.v -= 1.5 [INFO] [stdout] | | ________________^_____________^ [INFO] [stdout] | ||________________| [INFO] [stdout] | | [INFO] [stdout] 46 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - Direction::Left => ( [INFO] [stdout] 44 + Direction::Left => self.v -= 1.5, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/paddle.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | Direction::Right => ( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 48 | | self.v += 1.5 [INFO] [stdout] | | ________________^_____________^ [INFO] [stdout] | ||________________| [INFO] [stdout] | | [INFO] [stdout] 49 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 47 - Direction::Right => ( [INFO] [stdout] 47 + Direction::Right => self.v += 1.5, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/paddle.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | _ => ( self.a = 0. ) [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - _ => ( self.a = 0. ) [INFO] [stdout] 50 + _ => self.a = 0. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::game::Game` [INFO] [stdout] --> src/ball.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::game::Game; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/game.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn update(&mut self, delta_time: f64){ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPEED` is never used [INFO] [stdout] --> src/paddle.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const SPEED: f64 = 10.0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `reverse_dir` is never used [INFO] [stdout] --> src/ball.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn reverse_dir(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_pos` is never used [INFO] [stdout] --> src/ball.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_pos(&self) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `contains` is never used [INFO] [stdout] --> src/rectangle.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn contains(&self, p: Point) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 13s [INFO] running `Command { std: "docker" "inspect" "cf4554ff23a4ff10d8f914d97a2a0d2997093ad5ee60444378eebb37478eea86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf4554ff23a4ff10d8f914d97a2a0d2997093ad5ee60444378eebb37478eea86", kill_on_drop: false }` [INFO] [stdout] cf4554ff23a4ff10d8f914d97a2a0d2997093ad5ee60444378eebb37478eea86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94574861eec1daa5e5368b2f3e2fee3596b94919a2c07459c72bc942ea8aec6a [INFO] running `Command { std: "docker" "start" "-a" "94574861eec1daa5e5368b2f3e2fee3596b94919a2c07459c72bc942ea8aec6a", kill_on_drop: false }` [INFO] [stderr] Compiling breakout v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/paddle.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | Direction::Left => ( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 45 | | self.v -= 1.5 [INFO] [stdout] | | ________________^_____________^ [INFO] [stdout] | ||________________| [INFO] [stdout] | | [INFO] [stdout] 46 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - Direction::Left => ( [INFO] [stdout] 44 + Direction::Left => self.v -= 1.5, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/paddle.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | Direction::Right => ( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 48 | | self.v += 1.5 [INFO] [stdout] | | ________________^_____________^ [INFO] [stdout] | ||________________| [INFO] [stdout] | | [INFO] [stdout] 49 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 47 - Direction::Right => ( [INFO] [stdout] 47 + Direction::Right => self.v += 1.5, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/paddle.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | _ => ( self.a = 0. ) [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - _ => ( self.a = 0. ) [INFO] [stdout] 50 + _ => self.a = 0. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::game::Game` [INFO] [stdout] --> src/ball.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::game::Game; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/game.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn update(&mut self, delta_time: f64){ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SPEED` is never used [INFO] [stdout] --> src/paddle.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const SPEED: f64 = 10.0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `reverse_dir` is never used [INFO] [stdout] --> src/ball.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn reverse_dir(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_pos` is never used [INFO] [stdout] --> src/ball.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_pos(&self) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `contains` is never used [INFO] [stdout] --> src/rectangle.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn contains(&self, p: Point) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "94574861eec1daa5e5368b2f3e2fee3596b94919a2c07459c72bc942ea8aec6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94574861eec1daa5e5368b2f3e2fee3596b94919a2c07459c72bc942ea8aec6a", kill_on_drop: false }` [INFO] [stdout] 94574861eec1daa5e5368b2f3e2fee3596b94919a2c07459c72bc942ea8aec6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+613d1972a772987ed4ee06faccbab0e2fc839871" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ab2966cebfeb54b6e70b84d242c6e0f963d4953d71b7286e94330258da73fee0 [INFO] running `Command { std: "docker" "start" "-a" "ab2966cebfeb54b6e70b84d242c6e0f963d4953d71b7286e94330258da73fee0", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/paddle.rs:44:32 [INFO] [stderr] | [INFO] [stderr] 44 | Direction::Left => ( [INFO] [stderr] | _________________________________^ [INFO] [stderr] 45 | | self.v -= 1.5 [INFO] [stderr] | | ________________^_____________^ [INFO] [stderr] | ||________________| [INFO] [stderr] | | [INFO] [stderr] 46 | | ), [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 44 - Direction::Left => ( [INFO] [stderr] 44 + Direction::Left => self.v -= 1.5, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/paddle.rs:47:33 [INFO] [stderr] | [INFO] [stderr] 47 | Direction::Right => ( [INFO] [stderr] | __________________________________^ [INFO] [stderr] 48 | | self.v += 1.5 [INFO] [stderr] | | ________________^_____________^ [INFO] [stderr] | ||________________| [INFO] [stderr] | | [INFO] [stderr] 49 | | ), [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 47 - Direction::Right => ( [INFO] [stderr] 47 + Direction::Right => self.v += 1.5, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/paddle.rs:50:18 [INFO] [stderr] | [INFO] [stderr] 50 | _ => ( self.a = 0. ) [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 50 - _ => ( self.a = 0. ) [INFO] [stderr] 50 + _ => self.a = 0. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::game::Game` [INFO] [stderr] --> src/ball.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use super::game::Game; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `delta_time` [INFO] [stderr] --> src/game.rs:67:30 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn update(&mut self, delta_time: f64){ [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `SPEED` is never used [INFO] [stderr] --> src/paddle.rs:8:7 [INFO] [stderr] | [INFO] [stderr] 8 | const SPEED: f64 = 10.0; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `reverse_dir` is never used [INFO] [stderr] --> src/ball.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn reverse_dir(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `get_pos` is never used [INFO] [stderr] --> src/ball.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn get_pos(&self) -> (f64, f64) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `contains` is never used [INFO] [stderr] --> src/rectangle.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn contains(&self, p: Point) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `breakout` (bin "breakout" test) generated 9 warnings (run `cargo fix --bin "breakout" --tests` to apply 5 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/breakout-95c258d29b382dfb) [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" "ab2966cebfeb54b6e70b84d242c6e0f963d4953d71b7286e94330258da73fee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab2966cebfeb54b6e70b84d242c6e0f963d4953d71b7286e94330258da73fee0", kill_on_drop: false }` [INFO] [stdout] ab2966cebfeb54b6e70b84d242c6e0f963d4953d71b7286e94330258da73fee0