[INFO] cloning repository https://github.com/behenate/Volleyball_Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/behenate/Volleyball_Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbehenate%2FVolleyball_Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbehenate%2FVolleyball_Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c46ca97bb1fa83079ad3953e745f94a803bffcad [INFO] testing behenate/Volleyball_Rust against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbehenate%2FVolleyball_Rust" "/workspace/builds/worker-27/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-27/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/behenate/Volleyball_Rust on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/behenate/Volleyball_Rust [INFO] finished tweaking git repo https://github.com/behenate/Volleyball_Rust [INFO] tweaked toml for git repo https://github.com/behenate/Volleyball_Rust written to /workspace/builds/worker-27/source/Cargo.toml [INFO] crate git repo https://github.com/behenate/Volleyball_Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded float_next_after v0.1.5 [INFO] [stderr] Downloaded lyon_path v0.17.7 [INFO] [stderr] Downloaded libloading v0.7.1 [INFO] [stderr] Downloaded lyon_geom v0.17.5 [INFO] [stderr] Downloaded minimp3 v0.3.5 [INFO] [stderr] Downloaded libc v0.2.107 [INFO] [stderr] Downloaded version-compare v0.1.0 [INFO] [stderr] Downloaded cpal v0.11.0 [INFO] [stderr] Downloaded ttf-parser v0.13.2 [INFO] [stderr] Downloaded vek v0.13.1 [INFO] [stderr] Downloaded sdl2 v0.35.1 [INFO] [stderr] Downloaded lyon_tessellation v0.17.10 [INFO] [stderr] Downloaded tetra v0.6.7 [INFO] [stderr] Downloaded sdl2-sys v0.35.1 [INFO] [stderr] Downloaded rodio v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81c9974daa82b5979fc061fe6635add3d73b260b8c0327933c193516957cab6f [INFO] running `Command { std: "docker" "start" "-a" "81c9974daa82b5979fc061fe6635add3d73b260b8c0327933c193516957cab6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81c9974daa82b5979fc061fe6635add3d73b260b8c0327933c193516957cab6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81c9974daa82b5979fc061fe6635add3d73b260b8c0327933c193516957cab6f", kill_on_drop: false }` [INFO] [stdout] 81c9974daa82b5979fc061fe6635add3d73b260b8c0327933c193516957cab6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8e4cfa71cc4b63da2a81cc4bb31d8260678626a606c7f583b78a9521fa1560d [INFO] running `Command { std: "docker" "start" "-a" "d8e4cfa71cc4b63da2a81cc4bb31d8260678626a606c7f583b78a9521fa1560d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling cpal v0.11.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling sdl2 v0.35.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling ttf-parser v0.13.2 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling glow v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling vek v0.13.1 [INFO] [stderr] Compiling sdl2-sys v0.35.1 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling euclid v0.22.6 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling float_next_after v0.1.5 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling owned_ttf_parser v0.13.2 [INFO] [stderr] Compiling ab_glyph v0.2.12 [INFO] [stderr] Compiling minimp3 v0.3.5 [INFO] [stderr] Compiling lyon_geom v0.17.5 [INFO] [stderr] Compiling lyon_path v0.17.7 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling lyon_tessellation v0.17.10 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling rodio v0.11.0 [INFO] [stderr] Compiling tetra v0.6.7 [INFO] [stderr] Compiling volleyball_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | if (self.col.l && self.velocity.x < 0f32 || self.col.r && self.velocity.x > 0f32){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 193 - if (self.col.l && self.velocity.x < 0f32 || self.col.r && self.velocity.x > 0f32){ [INFO] [stdout] 193 + if self.col.l && self.velocity.x < 0f32 || self.col.r && self.velocity.x > 0f32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ball_ref` [INFO] [stdout] --> src/main.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | let mut ball_ref: &Ball = &ball; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ball_ref` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut ball: Ball = Ball::new(ball_texture, ball_position, 0f32, 620f32); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut ball_ref: &Ball = &ball; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | let mut self_cy:f32 = self.position.y + self.texture.height()as f32/2 as f32; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let mut ball_cx:f32 = ball.position.x + ball.texture.width()as f32/2 as f32; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | let mut ball_cy:f32 = ball.position.y + ball.texture.height()as f32/2 as f32; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PLAYER_MASS` [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const PLAYER_MASS: f32 = 100f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BALL_MASS` [INFO] [stdout] --> src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const BALL_MASS:f32 = 50f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculateScore` should have a snake case name [INFO] [stdout] --> src/main.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | fn calculateScore(&mut self, ball: &mut Ball,court: &mut Staticobject){ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `calculate_score` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `checkInput` should have a snake case name [INFO] [stdout] --> src/main.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | fn checkInput(&mut self, ctx: &mut Context, left:Key, right:Key, jump:Key){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `check_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `updateVel` should have a snake case name [INFO] [stdout] --> src/main.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | fn updateVel(&mut self){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `update_vel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `updatePos` should have a snake case name [INFO] [stdout] --> src/main.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | fn updatePos(&mut self){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `update_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `checkBallCol` should have a snake case name [INFO] [stdout] --> src/main.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | fn checkBallCol(&mut self, ball: &mut Ball){ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `check_ball_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `updateVel` should have a snake case name [INFO] [stdout] --> src/main.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 261 | fn updateVel(&mut self){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `update_vel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `updatePos` should have a snake case name [INFO] [stdout] --> src/main.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | fn updatePos(&mut self){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `update_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `checkNetCol` should have a snake case name [INFO] [stdout] --> src/main.rs:283:8 [INFO] [stdout] | [INFO] [stdout] 283 | fn checkNetCol(&mut self, net: &mut Staticobject){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `check_net_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.97s [INFO] running `Command { std: "docker" "inspect" "d8e4cfa71cc4b63da2a81cc4bb31d8260678626a606c7f583b78a9521fa1560d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8e4cfa71cc4b63da2a81cc4bb31d8260678626a606c7f583b78a9521fa1560d", kill_on_drop: false }` [INFO] [stdout] d8e4cfa71cc4b63da2a81cc4bb31d8260678626a606c7f583b78a9521fa1560d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e59a4d483ed859892f5859b1897eed94fe98b1706546569b9c1b7a3ec304a8b4 [INFO] running `Command { std: "docker" "start" "-a" "e59a4d483ed859892f5859b1897eed94fe98b1706546569b9c1b7a3ec304a8b4", kill_on_drop: false }` [INFO] [stderr] Compiling volleyball_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | if (self.col.l && self.velocity.x < 0f32 || self.col.r && self.velocity.x > 0f32){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 193 - if (self.col.l && self.velocity.x < 0f32 || self.col.r && self.velocity.x > 0f32){ [INFO] [stdout] 193 + if self.col.l && self.velocity.x < 0f32 || self.col.r && self.velocity.x > 0f32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ball_ref` [INFO] [stdout] --> src/main.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | let mut ball_ref: &Ball = &ball; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ball_ref` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut ball: Ball = Ball::new(ball_texture, ball_position, 0f32, 620f32); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut ball_ref: &Ball = &ball; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | let mut self_cy:f32 = self.position.y + self.texture.height()as f32/2 as f32; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let mut ball_cx:f32 = ball.position.x + ball.texture.width()as f32/2 as f32; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | let mut ball_cy:f32 = ball.position.y + ball.texture.height()as f32/2 as f32; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PLAYER_MASS` [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const PLAYER_MASS: f32 = 100f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BALL_MASS` [INFO] [stdout] --> src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const BALL_MASS:f32 = 50f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculateScore` should have a snake case name [INFO] [stdout] --> src/main.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | fn calculateScore(&mut self, ball: &mut Ball,court: &mut Staticobject){ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `calculate_score` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `checkInput` should have a snake case name [INFO] [stdout] --> src/main.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | fn checkInput(&mut self, ctx: &mut Context, left:Key, right:Key, jump:Key){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `check_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `updateVel` should have a snake case name [INFO] [stdout] --> src/main.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | fn updateVel(&mut self){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `update_vel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `updatePos` should have a snake case name [INFO] [stdout] --> src/main.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | fn updatePos(&mut self){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `update_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `checkBallCol` should have a snake case name [INFO] [stdout] --> src/main.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | fn checkBallCol(&mut self, ball: &mut Ball){ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `check_ball_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `updateVel` should have a snake case name [INFO] [stdout] --> src/main.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 261 | fn updateVel(&mut self){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `update_vel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `updatePos` should have a snake case name [INFO] [stdout] --> src/main.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | fn updatePos(&mut self){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `update_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `checkNetCol` should have a snake case name [INFO] [stdout] --> src/main.rs:283:8 [INFO] [stdout] | [INFO] [stdout] 283 | fn checkNetCol(&mut self, net: &mut Staticobject){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `check_net_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "e59a4d483ed859892f5859b1897eed94fe98b1706546569b9c1b7a3ec304a8b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e59a4d483ed859892f5859b1897eed94fe98b1706546569b9c1b7a3ec304a8b4", kill_on_drop: false }` [INFO] [stdout] e59a4d483ed859892f5859b1897eed94fe98b1706546569b9c1b7a3ec304a8b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 44354e068b4cbc5be2b8838b1976564d07063dcb39d6dd155e65a7500922397f [INFO] running `Command { std: "docker" "start" "-a" "44354e068b4cbc5be2b8838b1976564d07063dcb39d6dd155e65a7500922397f", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:193:12 [INFO] [stderr] | [INFO] [stderr] 193 | if (self.col.l && self.velocity.x < 0f32 || self.col.r && self.velocity.x > 0f32){ [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 193 - if (self.col.l && self.velocity.x < 0f32 || self.col.r && self.velocity.x > 0f32){ [INFO] [stderr] 193 + if self.col.l && self.velocity.x < 0f32 || self.col.r && self.velocity.x > 0f32 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ball_ref` [INFO] [stderr] --> src/main.rs:58:17 [INFO] [stderr] | [INFO] [stderr] 58 | let mut ball_ref: &Ball = &ball; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ball_ref` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:57:13 [INFO] [stderr] | [INFO] [stderr] 57 | let mut ball: Ball = Ball::new(ball_texture, ball_position, 0f32, 620f32); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:58:13 [INFO] [stderr] | [INFO] [stderr] 58 | let mut ball_ref: &Ball = &ball; [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:222:13 [INFO] [stderr] | [INFO] [stderr] 222 | let mut self_cy:f32 = self.position.y + self.texture.height()as f32/2 as f32; [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:223:13 [INFO] [stderr] | [INFO] [stderr] 223 | let mut ball_cx:f32 = ball.position.x + ball.texture.width()as f32/2 as f32; [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:224:13 [INFO] [stderr] | [INFO] [stderr] 224 | let mut ball_cy:f32 = ball.position.y + ball.texture.height()as f32/2 as f32; [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PLAYER_MASS` [INFO] [stderr] --> src/main.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | const PLAYER_MASS: f32 = 100f32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `BALL_MASS` [INFO] [stderr] --> src/main.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | const BALL_MASS:f32 = 50f32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `calculateScore` should have a snake case name [INFO] [stderr] --> src/main.rs:134:8 [INFO] [stderr] | [INFO] [stderr] 134 | fn calculateScore(&mut self, ball: &mut Ball,court: &mut Staticobject){ [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `calculate_score` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `checkInput` should have a snake case name [INFO] [stderr] --> src/main.rs:179:8 [INFO] [stderr] | [INFO] [stderr] 179 | fn checkInput(&mut self, ctx: &mut Context, left:Key, right:Key, jump:Key){ [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `check_input` [INFO] [stderr] [INFO] [stderr] warning: method `updateVel` should have a snake case name [INFO] [stderr] --> src/main.rs:191:8 [INFO] [stderr] | [INFO] [stderr] 191 | fn updateVel(&mut self){ [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `update_vel` [INFO] [stderr] [INFO] [stderr] warning: method `updatePos` should have a snake case name [INFO] [stderr] --> src/main.rs:209:8 [INFO] [stderr] | [INFO] [stderr] 209 | fn updatePos(&mut self){ [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `update_pos` [INFO] [stderr] [INFO] [stderr] warning: method `checkBallCol` should have a snake case name [INFO] [stderr] --> src/main.rs:220:8 [INFO] [stderr] | [INFO] [stderr] 220 | fn checkBallCol(&mut self, ball: &mut Ball){ [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `check_ball_col` [INFO] [stderr] [INFO] [stderr] warning: method `updateVel` should have a snake case name [INFO] [stderr] --> src/main.rs:261:8 [INFO] [stderr] | [INFO] [stderr] 261 | fn updateVel(&mut self){ [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `update_vel` [INFO] [stderr] [INFO] [stderr] warning: method `updatePos` should have a snake case name [INFO] [stderr] --> src/main.rs:267:8 [INFO] [stderr] | [INFO] [stderr] 267 | fn updatePos(&mut self){ [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `update_pos` [INFO] [stderr] [INFO] [stderr] warning: method `checkNetCol` should have a snake case name [INFO] [stderr] --> src/main.rs:283:8 [INFO] [stderr] | [INFO] [stderr] 283 | fn checkNetCol(&mut self, net: &mut Staticobject){ [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `check_net_col` [INFO] [stderr] [INFO] [stderr] warning: `volleyball_rust` (bin "volleyball_rust" test) generated 17 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/volleyball_rust-0c6e4ca957e907d4) [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" "44354e068b4cbc5be2b8838b1976564d07063dcb39d6dd155e65a7500922397f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44354e068b4cbc5be2b8838b1976564d07063dcb39d6dd155e65a7500922397f", kill_on_drop: false }` [INFO] [stdout] 44354e068b4cbc5be2b8838b1976564d07063dcb39d6dd155e65a7500922397f