[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanashmore%2Frusty_pong" "/workspace/builds/worker-19/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-19/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/seanashmore/rusty_pong on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-19/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88177590d4f21ff52fbc32d2385d3bb5fd4690d15ae9235fdaef5fc86c424869 [INFO] running `Command { std: "docker" "start" "-a" "88177590d4f21ff52fbc32d2385d3bb5fd4690d15ae9235fdaef5fc86c424869", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88177590d4f21ff52fbc32d2385d3bb5fd4690d15ae9235fdaef5fc86c424869", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88177590d4f21ff52fbc32d2385d3bb5fd4690d15ae9235fdaef5fc86c424869", kill_on_drop: false }` [INFO] [stdout] 88177590d4f21ff52fbc32d2385d3bb5fd4690d15ae9235fdaef5fc86c424869 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4690921b038ac2a343d23ec2c695e9c4572df9b8be958608663ae3b03d7ee83 [INFO] running `Command { std: "docker" "start" "-a" "a4690921b038ac2a343d23ec2c695e9c4572df9b8be958608663ae3b03d7ee83", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [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 num-traits v0.2.6 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling cc v1.0.35 [INFO] [stderr] Compiling piston-float v0.3.0 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling serde v1.0.90 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling downcast-rs v1.0.4 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling shader_version v0.3.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling piston-texture v0.6.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling interpolation v0.1.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling piston-viewport v0.3.0 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling vecmath v0.3.1 [INFO] [stderr] Compiling piston-viewport v0.5.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling gif v0.10.1 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling wayland-scanner v0.20.12 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling deflate v0.7.19 [INFO] [stderr] Compiling stb_truetype v0.2.6 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling glutin v0.18.0 [INFO] [stderr] Compiling gfx_gl v0.5.0 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling wayland-sys v0.20.12 [INFO] [stderr] Compiling ordered-float v0.5.2 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.90 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling rusttype v0.4.3 [INFO] [stderr] Compiling wayland-commons v0.20.12 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling piston2d-graphics v0.26.0 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling gfx_core v0.8.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling smithay-client-toolkit v0.3.0 [INFO] [stderr] Compiling pistoncore-input v0.21.0 [INFO] [stderr] Compiling pistoncore-input v0.24.0 [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 winit v0.17.2 [INFO] [stderr] Compiling pistoncore-window v0.32.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.37.0 [INFO] [stderr] Compiling piston v0.37.0 [INFO] [stderr] Compiling piston-gfx_texture v0.34.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.52.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.48.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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - static TEXT_P1_SCORE_X: f64 = (WINDOW_WIDTH / 4.0); [INFO] [stdout] 21 + static TEXT_P1_SCORE_X: f64 = WINDOW_WIDTH / 4.0; [INFO] [stdout] | [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 1m 24s [INFO] running `Command { std: "docker" "inspect" "a4690921b038ac2a343d23ec2c695e9c4572df9b8be958608663ae3b03d7ee83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4690921b038ac2a343d23ec2c695e9c4572df9b8be958608663ae3b03d7ee83", kill_on_drop: false }` [INFO] [stdout] a4690921b038ac2a343d23ec2c695e9c4572df9b8be958608663ae3b03d7ee83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db596cf4c53898b2384310d05620c9856b6c311733bb3cec2fd8a0270a14b117 [INFO] running `Command { std: "docker" "start" "-a" "db596cf4c53898b2384310d05620c9856b6c311733bb3cec2fd8a0270a14b117", kill_on_drop: false }` [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - static TEXT_P1_SCORE_X: f64 = (WINDOW_WIDTH / 4.0); [INFO] [stdout] 21 + static TEXT_P1_SCORE_X: f64 = WINDOW_WIDTH / 4.0; [INFO] [stdout] | [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.67s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rusty_pong-f04c7527bd5bab03) [INFO] running `Command { std: "docker" "inspect" "db596cf4c53898b2384310d05620c9856b6c311733bb3cec2fd8a0270a14b117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db596cf4c53898b2384310d05620c9856b6c311733bb3cec2fd8a0270a14b117", kill_on_drop: false }` [INFO] [stdout] db596cf4c53898b2384310d05620c9856b6c311733bb3cec2fd8a0270a14b117 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4f1f05d9f09fad9d21625d7b3dbc3f120cce8186de8f8c654eebdc4569b626b4 [INFO] running `Command { std: "docker" "start" "-a" "4f1f05d9f09fad9d21625d7b3dbc3f120cce8186de8f8c654eebdc4569b626b4", 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] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 21 - static TEXT_P1_SCORE_X: f64 = (WINDOW_WIDTH / 4.0); [INFO] [stderr] 21 + static TEXT_P1_SCORE_X: f64 = WINDOW_WIDTH / 4.0; [INFO] [stderr] | [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: `rusty_pong` (bin "rusty_pong" test) generated 10 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rusty_pong-f04c7527bd5bab03) [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" "4f1f05d9f09fad9d21625d7b3dbc3f120cce8186de8f8c654eebdc4569b626b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f1f05d9f09fad9d21625d7b3dbc3f120cce8186de8f8c654eebdc4569b626b4", kill_on_drop: false }` [INFO] [stdout] 4f1f05d9f09fad9d21625d7b3dbc3f120cce8186de8f8c654eebdc4569b626b4