[INFO] cloning repository https://github.com/seanashmore/rusty_pong [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/seanashmore/rusty_pong" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanashmore%2Frusty_pong", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanashmore%2Frusty_pong'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf450d82c493f98a3225a0499d44fd5871fdcd73 [INFO] testing seanashmore/rusty_pong against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanashmore%2Frusty_pong" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/seanashmore/rusty_pong on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/seanashmore/rusty_pong [INFO] finished tweaking git repo https://github.com/seanashmore/rusty_pong [INFO] tweaked toml for git repo https://github.com/seanashmore/rusty_pong written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/seanashmore/rusty_pong already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91c59ba0080fe2bf496531b7545fdda789adde6537f7785378c7a288280949c7 [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" "91c59ba0080fe2bf496531b7545fdda789adde6537f7785378c7a288280949c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91c59ba0080fe2bf496531b7545fdda789adde6537f7785378c7a288280949c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91c59ba0080fe2bf496531b7545fdda789adde6537f7785378c7a288280949c7", kill_on_drop: false }` [INFO] [stdout] 91c59ba0080fe2bf496531b7545fdda789adde6537f7785378c7a288280949c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d60105e1feef7bdf336a80ba74cb9dd98224c162189c8ca971490dd1c12f406 [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" "7d60105e1feef7bdf336a80ba74cb9dd98224c162189c8ca971490dd1c12f406", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling cc v1.0.35 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling gif v0.10.1 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling ordered-float v0.5.2 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling deflate v0.7.19 [INFO] [stderr] Compiling stb_truetype v0.2.6 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling rusttype v0.4.3 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling gfx_gl v0.5.0 [INFO] [stderr] Compiling glutin v0.18.0 [INFO] [stderr] Compiling piston2d-graphics v0.26.0 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.20.12 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling wayland-commons v0.20.12 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling smithay-client-toolkit v0.3.0 [INFO] [stderr] Compiling winit v0.17.2 [INFO] [stderr] Compiling serde_derive v1.0.90 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling gfx_core v0.8.3 [INFO] [stderr] Compiling image v0.20.1 [INFO] [stderr] Compiling gfx v0.17.1 [INFO] [stderr] Compiling gfx_device_gl v0.15.5 [INFO] [stderr] Compiling pistoncore-input v0.21.0 [INFO] [stderr] Compiling pistoncore-input v0.24.0 [INFO] [stderr] Compiling piston-gfx_texture v0.34.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.52.0 [INFO] [stderr] Compiling pistoncore-window v0.32.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.37.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.48.0 [INFO] [stderr] Compiling piston v0.37.0 [INFO] [stderr] Compiling piston_window v0.81.0 [INFO] [stderr] Compiling rusty_pong v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RenderEvent`, `UpdateEvent` [INFO] [stdout] --> src/main.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use input::{RenderEvent, UpdateEvent}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | static TEXT_P1_SCORE_X: f64 = (WINDOW_WIDTH / 4.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `p1Rect` should have a snake case name [INFO] [stdout] --> src/main.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | let mut p1Rect: Rectangle = Rectangle{x: GEN_PADDING, y: GEN_PADDING, width: PLAYER_WIDTH, height: PLAYER_HEIGHT}; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `p1_rect` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `p2Rect` should have a snake case name [INFO] [stdout] --> src/main.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | let mut p2Rect: Rectangle = Rectangle{x: WINDOW_WIDTH - PLAYER_WIDTH - GEN_PADDING, y: GEN_PADDING, width: PLAYER_WIDTH, height: PLAY... [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `p2_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ballRect` should have a snake case name [INFO] [stdout] --> src/main.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | let mut ballRect: Rectangle = Rectangle{x: BALL_START_X, y: BALL_START_Y, width: BALL_DIMEN, height: BALL_DIMEN}; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ball_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `p1Score` should have a snake case name [INFO] [stdout] --> src/main.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | let mut p1Score = 0; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `p1_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `p2Score` should have a snake case name [INFO] [stdout] --> src/main.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | let mut p2Score = 0; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `p2_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | / text::Text::new_color([1.0, 1.0, 1.0, 1.0], TEXT_SIZE).draw( [INFO] [stdout] 70 | | &p1Score.to_string(), [INFO] [stdout] 71 | | &mut glyphs, [INFO] [stdout] 72 | | &context.draw_state, [INFO] [stdout] 73 | | transform, graphics [INFO] [stdout] 74 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | / text::Text::new_color([1.0, 1.0, 1.0, 1.0], TEXT_SIZE).draw( [INFO] [stdout] 78 | | &p2Score.to_string(), [INFO] [stdout] 79 | | &mut glyphs, [INFO] [stdout] 80 | | &context.draw_state, [INFO] [stdout] 81 | | transform, graphics [INFO] [stdout] 82 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hasCollided` should have a snake case name [INFO] [stdout] --> src/main.rs:157:4 [INFO] [stdout] | [INFO] [stdout] 157 | fn hasCollided(rect1: &Rectangle, rect2: &Rectangle) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `has_collided` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 57.14s [INFO] running `Command { std: "docker" "inspect" "7d60105e1feef7bdf336a80ba74cb9dd98224c162189c8ca971490dd1c12f406", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d60105e1feef7bdf336a80ba74cb9dd98224c162189c8ca971490dd1c12f406", kill_on_drop: false }` [INFO] [stdout] 7d60105e1feef7bdf336a80ba74cb9dd98224c162189c8ca971490dd1c12f406 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e35b45fc8260c7135d91fb10c32166e2a82e6457be6bc1770576bfbce3db5a3f [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" "e35b45fc8260c7135d91fb10c32166e2a82e6457be6bc1770576bfbce3db5a3f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rusty_pong v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RenderEvent`, `UpdateEvent` [INFO] [stdout] --> src/main.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use input::{RenderEvent, UpdateEvent}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | static TEXT_P1_SCORE_X: f64 = (WINDOW_WIDTH / 4.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `p1Rect` should have a snake case name [INFO] [stdout] --> src/main.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | let mut p1Rect: Rectangle = Rectangle{x: GEN_PADDING, y: GEN_PADDING, width: PLAYER_WIDTH, height: PLAYER_HEIGHT}; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `p1_rect` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `p2Rect` should have a snake case name [INFO] [stdout] --> src/main.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | let mut p2Rect: Rectangle = Rectangle{x: WINDOW_WIDTH - PLAYER_WIDTH - GEN_PADDING, y: GEN_PADDING, width: PLAYER_WIDTH, height: PLAY... [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `p2_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ballRect` should have a snake case name [INFO] [stdout] --> src/main.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | let mut ballRect: Rectangle = Rectangle{x: BALL_START_X, y: BALL_START_Y, width: BALL_DIMEN, height: BALL_DIMEN}; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ball_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `p1Score` should have a snake case name [INFO] [stdout] --> src/main.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | let mut p1Score = 0; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `p1_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `p2Score` should have a snake case name [INFO] [stdout] --> src/main.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | let mut p2Score = 0; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `p2_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | / text::Text::new_color([1.0, 1.0, 1.0, 1.0], TEXT_SIZE).draw( [INFO] [stdout] 70 | | &p1Score.to_string(), [INFO] [stdout] 71 | | &mut glyphs, [INFO] [stdout] 72 | | &context.draw_state, [INFO] [stdout] 73 | | transform, graphics [INFO] [stdout] 74 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | / text::Text::new_color([1.0, 1.0, 1.0, 1.0], TEXT_SIZE).draw( [INFO] [stdout] 78 | | &p2Score.to_string(), [INFO] [stdout] 79 | | &mut glyphs, [INFO] [stdout] 80 | | &context.draw_state, [INFO] [stdout] 81 | | transform, graphics [INFO] [stdout] 82 | | ); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hasCollided` should have a snake case name [INFO] [stdout] --> src/main.rs:157:4 [INFO] [stdout] | [INFO] [stdout] 157 | fn hasCollided(rect1: &Rectangle, rect2: &Rectangle) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `has_collided` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "e35b45fc8260c7135d91fb10c32166e2a82e6457be6bc1770576bfbce3db5a3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e35b45fc8260c7135d91fb10c32166e2a82e6457be6bc1770576bfbce3db5a3f", kill_on_drop: false }` [INFO] [stdout] e35b45fc8260c7135d91fb10c32166e2a82e6457be6bc1770576bfbce3db5a3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", 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] 666addb7a1677a05947b3fc5bf58762b00b1d6ca06844c7d7b7f38c476e8876c [INFO] running `Command { std: "docker" "start" "-a" "666addb7a1677a05947b3fc5bf58762b00b1d6ca06844c7d7b7f38c476e8876c", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `RenderEvent`, `UpdateEvent` [INFO] [stderr] --> src/main.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use input::{RenderEvent, UpdateEvent}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/main.rs:21:31 [INFO] [stderr] | [INFO] [stderr] 21 | static TEXT_P1_SCORE_X: f64 = (WINDOW_WIDTH / 4.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `p1Rect` should have a snake case name [INFO] [stderr] --> src/main.rs:33:10 [INFO] [stderr] | [INFO] [stderr] 33 | let mut p1Rect: Rectangle = Rectangle{x: GEN_PADDING, y: GEN_PADDING, width: PLAYER_WIDTH, height: PLAYER_HEIGHT}; [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `p1_rect` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `p2Rect` should have a snake case name [INFO] [stderr] --> src/main.rs:34:10 [INFO] [stderr] | [INFO] [stderr] 34 | let mut p2Rect: Rectangle = Rectangle{x: WINDOW_WIDTH - PLAYER_WIDTH - GEN_PADDING, y: GEN_PADDING, width: PLAYER_WIDTH, height: PLAY... [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `p2_rect` [INFO] [stderr] [INFO] [stderr] warning: variable `ballRect` should have a snake case name [INFO] [stderr] --> src/main.rs:35:10 [INFO] [stderr] | [INFO] [stderr] 35 | let mut ballRect: Rectangle = Rectangle{x: BALL_START_X, y: BALL_START_Y, width: BALL_DIMEN, height: BALL_DIMEN}; [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `ball_rect` [INFO] [stderr] [INFO] [stderr] warning: variable `p1Score` should have a snake case name [INFO] [stderr] --> src/main.rs:37:10 [INFO] [stderr] | [INFO] [stderr] 37 | let mut p1Score = 0; [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `p1_score` [INFO] [stderr] [INFO] [stderr] warning: variable `p2Score` should have a snake case name [INFO] [stderr] --> src/main.rs:38:10 [INFO] [stderr] | [INFO] [stderr] 38 | let mut p2Score = 0; [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `p2_score` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:69:4 [INFO] [stderr] | [INFO] [stderr] 69 | / text::Text::new_color([1.0, 1.0, 1.0, 1.0], TEXT_SIZE).draw( [INFO] [stderr] 70 | | &p1Score.to_string(), [INFO] [stderr] 71 | | &mut glyphs, [INFO] [stderr] 72 | | &context.draw_state, [INFO] [stderr] 73 | | transform, graphics [INFO] [stderr] 74 | | ); [INFO] [stderr] | |______________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:77:4 [INFO] [stderr] | [INFO] [stderr] 77 | / text::Text::new_color([1.0, 1.0, 1.0, 1.0], TEXT_SIZE).draw( [INFO] [stderr] 78 | | &p2Score.to_string(), [INFO] [stderr] 79 | | &mut glyphs, [INFO] [stderr] 80 | | &context.draw_state, [INFO] [stderr] 81 | | transform, graphics [INFO] [stderr] 82 | | ); [INFO] [stderr] | |______________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: function `hasCollided` should have a snake case name [INFO] [stderr] --> src/main.rs:157:4 [INFO] [stderr] | [INFO] [stderr] 157 | fn hasCollided(rect1: &Rectangle, rect2: &Rectangle) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `has_collided` [INFO] [stderr] [INFO] [stderr] warning: 10 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rusty_pong-145b02224d7dd0f7) [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" "666addb7a1677a05947b3fc5bf58762b00b1d6ca06844c7d7b7f38c476e8876c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "666addb7a1677a05947b3fc5bf58762b00b1d6ca06844c7d7b7f38c476e8876c", kill_on_drop: false }` [INFO] [stdout] 666addb7a1677a05947b3fc5bf58762b00b1d6ca06844c7d7b7f38c476e8876c