[INFO] cloning repository https://github.com/Herschel/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/Herschel/rusty-pong" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHerschel%2Frusty-pong", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHerschel%2Frusty-pong'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80c9cffcf1dbfc59182a1d0ef70be3acc789910b [INFO] testing Herschel/rusty-pong against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHerschel%2Frusty-pong" "/workspace/builds/worker-106/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-106/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Herschel/rusty-pong on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Herschel/rusty-pong [INFO] finished tweaking git repo https://github.com/Herschel/rusty-pong [INFO] tweaked toml for git repo https://github.com/Herschel/rusty-pong written to /workspace/builds/worker-106/source/Cargo.toml [INFO] crate git repo https://github.com/Herschel/rusty-pong already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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-106/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0d9c9f56ffe0e0064965bd966e7f709d0d7abb1ef9672c459382a0a8ad01601 [INFO] running `Command { std: "docker" "start" "-a" "f0d9c9f56ffe0e0064965bd966e7f709d0d7abb1ef9672c459382a0a8ad01601", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0d9c9f56ffe0e0064965bd966e7f709d0d7abb1ef9672c459382a0a8ad01601", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0d9c9f56ffe0e0064965bd966e7f709d0d7abb1ef9672c459382a0a8ad01601", kill_on_drop: false }` [INFO] [stdout] f0d9c9f56ffe0e0064965bd966e7f709d0d7abb1ef9672c459382a0a8ad01601 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 248e823ce264a8b0f1706d261fc21c8c8b7ef7e504cf3c9b2806659bfa2f6409 [INFO] running `Command { std: "docker" "start" "-a" "248e823ce264a8b0f1706d261fc21c8c8b7ef7e504cf3c9b2806659bfa2f6409", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Compiling siphasher v0.2.1 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling serde v0.9.11 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Compiling itoa v0.3.1 [INFO] [stderr] Compiling dtoa v0.4.1 [INFO] [stderr] Compiling lazy_static v0.2.4 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling khronos_api v1.0.0 [INFO] [stderr] Compiling log v0.3.7 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling gcc v0.3.45 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling rustc-demangle v0.1.4 [INFO] [stderr] Compiling cfg-if v0.1.0 [INFO] [stderr] Compiling smallvec v0.1.8 [INFO] [stderr] Compiling fnv v1.0.5 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling shared_library v0.1.5 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling x11-dl v2.12.0 [INFO] [stderr] Compiling backtrace-sys v0.1.10 [INFO] [stderr] Compiling wayland-scanner v0.7.8 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling tempfile v2.1.5 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling serde_json v0.9.9 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling wayland-client v0.7.8 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling glutin v0.7.4 [INFO] [stderr] Compiling glium v0.16.0 [INFO] [stderr] Compiling target_build_utils v0.3.0 [INFO] [stderr] Compiling libloading v0.3.2 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.7.8 [INFO] [stderr] Compiling wayland-window v0.4.4 [INFO] [stderr] Compiling wayland-kbd v0.6.3 [INFO] [stderr] Compiling winit v0.5.11 [INFO] [stderr] Compiling rusty-pong v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/paddle.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | /// Move the paddle if a particular key is pressed. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | // TODO: Allow the left and right paddles to be controlled via different keys/mouse. [INFO] [stdout] 38 | let mut vy = 0.0; [INFO] [stdout] | ----------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:67:44 [INFO] [stdout] | [INFO] [stdout] 67 | Error::IoError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:68:55 [INFO] [stdout] | [INFO] [stdout] 68 | Error::ShaderProgramError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:69:53 [INFO] [stdout] | [INFO] [stdout] 69 | Error::SwapBuffersError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:70:56 [INFO] [stdout] | [INFO] [stdout] 70 | Error::BufferCreationError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:71:46 [INFO] [stdout] | [INFO] [stdout] 71 | Error::DrawError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `paddle` [INFO] [stdout] --> src/ball.rs:70:42 [INFO] [stdout] | [INFO] [stdout] 70 | fn check_paddle_collision(&mut self, paddle: &Paddle) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_paddle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/ball.rs:75:40 [INFO] [stdout] | [INFO] [stdout] 75 | fn check_wall_collision(&mut self, params: &UpdateParams) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/ball.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | fn check_goal(&mut self, params: &UpdateParams, left_paddle: &mut Paddle, right_paddle: &mut Paddle) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_paddle` [INFO] [stdout] --> src/ball.rs:80:53 [INFO] [stdout] | [INFO] [stdout] 80 | fn check_goal(&mut self, params: &UpdateParams, left_paddle: &mut Paddle, right_paddle: &mut Paddle) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_paddle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_paddle` [INFO] [stdout] --> src/ball.rs:80:79 [INFO] [stdout] | [INFO] [stdout] 80 | fn check_goal(&mut self, params: &UpdateParams, left_paddle: &mut Paddle, right_paddle: &mut Paddle) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_paddle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BALL_BOUNCE_SPEEDUP` [INFO] [stdout] --> src/ball.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const BALL_BOUNCE_SPEEDUP: f32 = 1.15; [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_STARTING_SPEED` [INFO] [stdout] --> src/ball.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const BALL_STARTING_SPEED: f32 = 500.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "248e823ce264a8b0f1706d261fc21c8c8b7ef7e504cf3c9b2806659bfa2f6409", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "248e823ce264a8b0f1706d261fc21c8c8b7ef7e504cf3c9b2806659bfa2f6409", kill_on_drop: false }` [INFO] [stdout] 248e823ce264a8b0f1706d261fc21c8c8b7ef7e504cf3c9b2806659bfa2f6409 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3524ebad2ab27e5ba99958572a98a854aaca336e25d94dbd4f4a03dfe88f8cd [INFO] running `Command { std: "docker" "start" "-a" "c3524ebad2ab27e5ba99958572a98a854aaca336e25d94dbd4f4a03dfe88f8cd", kill_on_drop: false }` [INFO] [stderr] Compiling rusty-pong v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/paddle.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | /// Move the paddle if a particular key is pressed. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | // TODO: Allow the left and right paddles to be controlled via different keys/mouse. [INFO] [stdout] 38 | let mut vy = 0.0; [INFO] [stdout] | ----------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:67:44 [INFO] [stdout] | [INFO] [stdout] 67 | Error::IoError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:68:55 [INFO] [stdout] | [INFO] [stdout] 68 | Error::ShaderProgramError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:69:53 [INFO] [stdout] | [INFO] [stdout] 69 | Error::SwapBuffersError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:70:56 [INFO] [stdout] | [INFO] [stdout] 70 | Error::BufferCreationError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:71:46 [INFO] [stdout] | [INFO] [stdout] 71 | Error::DrawError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `paddle` [INFO] [stdout] --> src/ball.rs:70:42 [INFO] [stdout] | [INFO] [stdout] 70 | fn check_paddle_collision(&mut self, paddle: &Paddle) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_paddle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/ball.rs:75:40 [INFO] [stdout] | [INFO] [stdout] 75 | fn check_wall_collision(&mut self, params: &UpdateParams) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/ball.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | fn check_goal(&mut self, params: &UpdateParams, left_paddle: &mut Paddle, right_paddle: &mut Paddle) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_paddle` [INFO] [stdout] --> src/ball.rs:80:53 [INFO] [stdout] | [INFO] [stdout] 80 | fn check_goal(&mut self, params: &UpdateParams, left_paddle: &mut Paddle, right_paddle: &mut Paddle) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_paddle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_paddle` [INFO] [stdout] --> src/ball.rs:80:79 [INFO] [stdout] | [INFO] [stdout] 80 | fn check_goal(&mut self, params: &UpdateParams, left_paddle: &mut Paddle, right_paddle: &mut Paddle) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_paddle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BALL_BOUNCE_SPEEDUP` [INFO] [stdout] --> src/ball.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const BALL_BOUNCE_SPEEDUP: f32 = 1.15; [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_STARTING_SPEED` [INFO] [stdout] --> src/ball.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const BALL_STARTING_SPEED: f32 = 500.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.74s [INFO] running `Command { std: "docker" "inspect" "c3524ebad2ab27e5ba99958572a98a854aaca336e25d94dbd4f4a03dfe88f8cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3524ebad2ab27e5ba99958572a98a854aaca336e25d94dbd4f4a03dfe88f8cd", kill_on_drop: false }` [INFO] [stdout] c3524ebad2ab27e5ba99958572a98a854aaca336e25d94dbd4f4a03dfe88f8cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 95be7ec87e82b4c8de0abe317665e7e41fc11d2e8a0b22795546aa78396a75c2 [INFO] running `Command { std: "docker" "start" "-a" "95be7ec87e82b4c8de0abe317665e7e41fc11d2e8a0b22795546aa78396a75c2", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:75:32 [INFO] [stderr] | [INFO] [stderr] 75 | fn cause(&self) -> Option<&StdError> { [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/paddle.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | /// Move the paddle if a particular key is pressed. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 37 | // TODO: Allow the left and right paddles to be controlled via different keys/mouse. [INFO] [stderr] 38 | let mut vy = 0.0; [INFO] [stderr] | ----------------- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:67:44 [INFO] [stderr] | [INFO] [stderr] 67 | Error::IoError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:68:55 [INFO] [stderr] | [INFO] [stderr] 68 | Error::ShaderProgramError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:69:53 [INFO] [stderr] | [INFO] [stderr] 69 | Error::SwapBuffersError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:70:56 [INFO] [stderr] | [INFO] [stderr] 70 | Error::BufferCreationError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:71:46 [INFO] [stderr] | [INFO] [stderr] 71 | Error::DrawError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `paddle` [INFO] [stderr] --> src/ball.rs:70:42 [INFO] [stderr] | [INFO] [stderr] 70 | fn check_paddle_collision(&mut self, paddle: &Paddle) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_paddle` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `params` [INFO] [stderr] --> src/ball.rs:75:40 [INFO] [stderr] | [INFO] [stderr] 75 | fn check_wall_collision(&mut self, params: &UpdateParams) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `params` [INFO] [stderr] --> src/ball.rs:80:30 [INFO] [stderr] | [INFO] [stderr] 80 | fn check_goal(&mut self, params: &UpdateParams, left_paddle: &mut Paddle, right_paddle: &mut Paddle) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `left_paddle` [INFO] [stderr] --> src/ball.rs:80:53 [INFO] [stderr] | [INFO] [stderr] 80 | fn check_goal(&mut self, params: &UpdateParams, left_paddle: &mut Paddle, right_paddle: &mut Paddle) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_paddle` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `right_paddle` [INFO] [stderr] --> src/ball.rs:80:79 [INFO] [stderr] | [INFO] [stderr] 80 | fn check_goal(&mut self, params: &UpdateParams, left_paddle: &mut Paddle, right_paddle: &mut Paddle) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_paddle` [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `BALL_BOUNCE_SPEEDUP` [INFO] [stderr] --> src/ball.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | const BALL_BOUNCE_SPEEDUP: f32 = 1.15; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `BALL_STARTING_SPEED` [INFO] [stderr] --> src/ball.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | const BALL_STARTING_SPEED: f32 = 500.0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rusty-pong` (bin "rusty-pong" test) generated 14 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rusty_pong-744f0f2101e10035) [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" "95be7ec87e82b4c8de0abe317665e7e41fc11d2e8a0b22795546aa78396a75c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95be7ec87e82b4c8de0abe317665e7e41fc11d2e8a0b22795546aa78396a75c2", kill_on_drop: false }` [INFO] [stdout] 95be7ec87e82b4c8de0abe317665e7e41fc11d2e8a0b22795546aa78396a75c2