[INFO] cloning repository https://github.com/eugeneyche/breakout [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eugeneyche/breakout" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feugeneyche%2Fbreakout", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feugeneyche%2Fbreakout'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f751b68db1a77ea0a6dddb5d309e90b7190c0dcb [INFO] checking eugeneyche/breakout against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feugeneyche%2Fbreakout" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eugeneyche/breakout on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eugeneyche/breakout [INFO] finished tweaking git repo https://github.com/eugeneyche/breakout [INFO] tweaked toml for git repo https://github.com/eugeneyche/breakout written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/eugeneyche/breakout already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0079c3d7878134a2a24f4d93dc6b65b80e4d619a9952ba99d8d9b5d7865e59e1 [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" "0079c3d7878134a2a24f4d93dc6b65b80e4d619a9952ba99d8d9b5d7865e59e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0079c3d7878134a2a24f4d93dc6b65b80e4d619a9952ba99d8d9b5d7865e59e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0079c3d7878134a2a24f4d93dc6b65b80e4d619a9952ba99d8d9b5d7865e59e1", kill_on_drop: false }` [INFO] [stdout] 0079c3d7878134a2a24f4d93dc6b65b80e4d619a9952ba99d8d9b5d7865e59e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ec95f00d85d86877cd71f14716e4bdf8a33f4920dfb4720a92ac90c147fe280c [INFO] running `Command { std: "docker" "start" "-a" "ec95f00d85d86877cd71f14716e4bdf8a33f4920dfb4720a92ac90c147fe280c", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Checking token_store v0.1.2 [INFO] [stderr] Compiling x11-dl v2.17.5 [INFO] [stderr] Compiling freetype-sys v0.6.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling libz-sys v1.0.18 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking shared_library v0.1.8 [INFO] [stderr] Checking tempfile v3.0.2 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.12.5 [INFO] [stderr] Compiling wayland-scanner v0.12.5 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking freetype-rs v0.18.0 [INFO] [stderr] Compiling wayland-client v0.12.5 [INFO] [stderr] Compiling wayland-protocols v0.12.5 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling glutin v0.15.0 [INFO] [stderr] Checking wayland-kbd v0.13.1 [INFO] [stderr] Checking wayland-window v0.13.3 [INFO] [stderr] Checking winit v0.13.1 [INFO] [stderr] Checking breakout v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/breakout.rs:243:20 [INFO] [stdout] | [INFO] [stdout] 243 | if (key_state == ElementState::Pressed) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/breakout.rs:266:20 [INFO] [stdout] | [INFO] [stdout] 266 | if (key_state == ElementState::Pressed) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ElementState`, `MouseButton`, `VirtualKeyCode` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | ElementState, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | MouseButton, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | VirtualKeyCode, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/breakout.rs:243:20 [INFO] [stdout] | [INFO] [stdout] 243 | if (key_state == ElementState::Pressed) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/breakout.rs:266:20 [INFO] [stdout] | [INFO] [stdout] 266 | if (key_state == ElementState::Pressed) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ElementState`, `MouseButton`, `VirtualKeyCode` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | ElementState, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | MouseButton, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | VirtualKeyCode, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/breakout.rs:230:39 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn on_mouse_button(&mut self, button: MouseButton, state: ElementState) { } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/breakout.rs:230:60 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn on_mouse_button(&mut self, button: MouseButton, state: ElementState) { } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/breakout.rs:232:39 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn on_mouse_motion(&mut self, x: f32, y: f32) { } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/breakout.rs:232:47 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn on_mouse_motion(&mut self, x: f32, y: f32) { } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/breakout.rs:273:42 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn on_viewport_change(&mut self, w: u32, h: u32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/breakout.rs:273:50 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn on_viewport_change(&mut self, w: u32, h: u32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tr` [INFO] [stdout] --> src/collision.rs:120:28 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some((tl, side, tr)) = solve_line_rect(seg, Rectangle::new( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/breakout.rs:230:39 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn on_mouse_button(&mut self, button: MouseButton, state: ElementState) { } [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/breakout.rs:230:60 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn on_mouse_button(&mut self, button: MouseButton, state: ElementState) { } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/breakout.rs:232:39 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn on_mouse_motion(&mut self, x: f32, y: f32) { } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/breakout.rs:232:47 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn on_mouse_motion(&mut self, x: f32, y: f32) { } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/breakout.rs:273:42 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn on_viewport_change(&mut self, w: u32, h: u32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/breakout.rs:273:50 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn on_viewport_change(&mut self, w: u32, h: u32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tr` [INFO] [stdout] --> src/collision.rs:120:28 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some((tl, side, tr)) = solve_line_rect(seg, Rectangle::new( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_circle_contains` [INFO] [stdout] --> src/collision.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn check_circle_contains(circle: Circle, p: Vec2) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve_line_circle` [INFO] [stdout] --> src/collision.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn solve_line_circle(line: LineSegment, circle: Circle) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FontMeasure` [INFO] [stdout] --> src/fonts.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct FontMeasure { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `measure` [INFO] [stdout] --> src/fonts.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn measure(&self, text: &str) -> FontMeasure { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/renderer.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn new(p: Vec2, w: f32, h: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw` [INFO] [stdout] --> src/renderer.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn draw(&mut self, from_x: f32, from_y: f32, to_x: f32, to_y: f32, color: &[f32; 4]) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_line` [INFO] [stdout] --> src/renderer.rs:423:12 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn draw_line(&mut self, from: Vec2, to: Vec2, color: Color) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_circle_contains` [INFO] [stdout] --> src/collision.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn check_circle_contains(circle: Circle, p: Vec2) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve_line_circle` [INFO] [stdout] --> src/collision.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn solve_line_circle(line: LineSegment, circle: Circle) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FontMeasure` [INFO] [stdout] --> src/fonts.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct FontMeasure { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `measure` [INFO] [stdout] --> src/fonts.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn measure(&self, text: &str) -> FontMeasure { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/renderer.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn new(p: Vec2, w: f32, h: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw` [INFO] [stdout] --> src/renderer.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn draw(&mut self, from_x: f32, from_y: f32, to_x: f32, to_y: f32, color: &[f32; 4]) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_line` [INFO] [stdout] --> src/renderer.rs:423:12 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn draw_line(&mut self, from: Vec2, to: Vec2, color: Color) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 43.60s [INFO] running `Command { std: "docker" "inspect" "ec95f00d85d86877cd71f14716e4bdf8a33f4920dfb4720a92ac90c147fe280c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec95f00d85d86877cd71f14716e4bdf8a33f4920dfb4720a92ac90c147fe280c", kill_on_drop: false }` [INFO] [stdout] ec95f00d85d86877cd71f14716e4bdf8a33f4920dfb4720a92ac90c147fe280c