[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#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseanashmore%2Frusty_pong" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/seanashmore/rusty_pong on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", 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-6/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c2d05461b295ae2abfdb688aede45cef57abe79d18033b9fc52fe0187b94d7d [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" "4c2d05461b295ae2abfdb688aede45cef57abe79d18033b9fc52fe0187b94d7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c2d05461b295ae2abfdb688aede45cef57abe79d18033b9fc52fe0187b94d7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c2d05461b295ae2abfdb688aede45cef57abe79d18033b9fc52fe0187b94d7d", kill_on_drop: false }` [INFO] [stdout] 4c2d05461b295ae2abfdb688aede45cef57abe79d18033b9fc52fe0187b94d7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 320fa01ffd5c42f101b108bda5a5a89c425d24dea2cb7856bc151ef446a7bea3 [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" "320fa01ffd5c42f101b108bda5a5a89c425d24dea2cb7856bc151ef446a7bea3", kill_on_drop: false }` [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 khronos_api v2.2.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling cc v1.0.35 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling piston-float v0.3.0 [INFO] [stderr] Compiling void v1.0.2 [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 downcast-rs v1.0.4 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling shader_version v0.3.0 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling either v1.5.2 [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 log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling piston-viewport v0.3.0 [INFO] [stderr] Compiling vecmath v0.3.1 [INFO] [stderr] Compiling piston-viewport v0.5.0 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling gif v0.10.1 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling wayland-scanner v0.20.12 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling deflate v0.7.19 [INFO] [stderr] Compiling stb_truetype v0.2.6 [INFO] [stderr] Compiling quote v0.6.12 [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 libloading v0.5.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling ordered-float v0.5.2 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling rusttype v0.4.3 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling wayland-sys v0.20.12 [INFO] [stderr] Compiling wayland-commons v0.20.12 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling piston2d-graphics v0.26.0 [INFO] [stderr] Compiling gfx_gl v0.5.0 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling glutin v0.18.0 [INFO] [stderr] Compiling parking_lot v0.6.4 [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: PLAYER_... [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 `std::result::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] | _____________^ [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 `std::result::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] | _____________^ [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 2m 20s [INFO] running `Command { std: "docker" "inspect" "320fa01ffd5c42f101b108bda5a5a89c425d24dea2cb7856bc151ef446a7bea3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "320fa01ffd5c42f101b108bda5a5a89c425d24dea2cb7856bc151ef446a7bea3", kill_on_drop: false }` [INFO] [stdout] 320fa01ffd5c42f101b108bda5a5a89c425d24dea2cb7856bc151ef446a7bea3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca7c3f1e9d5e292a43e26955f11bcaacb6c4f4f34956040164e12f526a37fff1 [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" "ca7c3f1e9d5e292a43e26955f11bcaacb6c4f4f34956040164e12f526a37fff1", 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] | ^^^^^^^^^^^^^^^^^^^^ 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: PLAYER_... [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 `std::result::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] | _____________^ [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 `std::result::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] | _____________^ [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.00s [INFO] running `Command { std: "docker" "inspect" "ca7c3f1e9d5e292a43e26955f11bcaacb6c4f4f34956040164e12f526a37fff1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca7c3f1e9d5e292a43e26955f11bcaacb6c4f4f34956040164e12f526a37fff1", kill_on_drop: false }` [INFO] [stdout] ca7c3f1e9d5e292a43e26955f11bcaacb6c4f4f34956040164e12f526a37fff1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a64988ef20a3ecd990e0e0a9a89c6383df8ee0bacfba3322f68a812b0835128a [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" "a64988ef20a3ecd990e0e0a9a89c6383df8ee0bacfba3322f68a812b0835128a", 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: PLAYER_... [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 `std::result::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] | _____________^ [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 `std::result::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] | _____________^ [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.31s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rusty_pong-2552fa78d5f6ae47 [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a64988ef20a3ecd990e0e0a9a89c6383df8ee0bacfba3322f68a812b0835128a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a64988ef20a3ecd990e0e0a9a89c6383df8ee0bacfba3322f68a812b0835128a", kill_on_drop: false }` [INFO] [stdout] a64988ef20a3ecd990e0e0a9a89c6383df8ee0bacfba3322f68a812b0835128a