[INFO] cloning repository https://github.com/elliotforbes/rust-pong [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elliotforbes/rust-pong" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felliotforbes%2Frust-pong", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felliotforbes%2Frust-pong'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3455cf005a2aeacbc9b00b9593fc40bdab80882d [INFO] testing elliotforbes/rust-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%2Felliotforbes%2Frust-pong" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/elliotforbes/rust-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/elliotforbes/rust-pong [INFO] finished tweaking git repo https://github.com/elliotforbes/rust-pong [INFO] tweaked toml for git repo https://github.com/elliotforbes/rust-pong written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/elliotforbes/rust-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] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-14/source/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/workspace/builds/worker-14/source/src/main.rs` was erroneously implicitly accepted for binary `spinning-square`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 8cdd3691a05cd3787b86774cdc69c9eeb1f1cbc456294d3141fd1bc7283cdebe [INFO] running `Command { std: "docker" "start" "-a" "8cdd3691a05cd3787b86774cdc69c9eeb1f1cbc456294d3141fd1bc7283cdebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8cdd3691a05cd3787b86774cdc69c9eeb1f1cbc456294d3141fd1bc7283cdebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cdd3691a05cd3787b86774cdc69c9eeb1f1cbc456294d3141fd1bc7283cdebe", kill_on_drop: false }` [INFO] [stdout] 8cdd3691a05cd3787b86774cdc69c9eeb1f1cbc456294d3141fd1bc7283cdebe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] b10ad256b3dd697d8bc29f4ea75e1523c9b647b6f7cfac3124f4a288f1d525df [INFO] running `Command { std: "docker" "start" "-a" "b10ad256b3dd697d8bc29f4ea75e1523c9b647b6f7cfac3124f4a288f1d525df", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/main.rs` was erroneously implicitly accepted for binary `spinning-square`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling stb_truetype v0.2.6 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling shader_version v0.6.0 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling rusttype v0.7.7 [INFO] [stderr] Compiling rusttype v0.8.2 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling piston2d-graphics v0.36.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling image v0.22.5 [INFO] [stderr] Compiling pistoncore-input v0.28.0 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.71.0 [INFO] [stderr] Compiling pistoncore-window v0.44.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.49.0 [INFO] [stderr] Compiling piston v0.49.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling glutin v0.21.2 [INFO] [stderr] Compiling pistoncore-glutin_window v0.63.0 [INFO] [stderr] Compiling game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/game.rs:50:36 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn handle_collisions(self, x: f64, y: f64) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/game.rs:50:44 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn handle_collisions(self, x: f64, y: f64) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/game.rs:80:40 [INFO] [stdout] | [INFO] [stdout] 80 | self.gl.draw(args.viewport(), |c, gl| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_collisions` [INFO] [stdout] --> src/game.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn handle_collisions(self, x: f64, y: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/player.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `score` [INFO] [stdout] --> src/player.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn score(self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `velocityX` should have a snake case name [INFO] [stdout] --> src/ball.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub velocityX: f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `velocity_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `velocityY` should have a snake case name [INFO] [stdout] --> src/ball.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub velocityY: f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `velocity_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.14s [INFO] running `Command { std: "docker" "inspect" "b10ad256b3dd697d8bc29f4ea75e1523c9b647b6f7cfac3124f4a288f1d525df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b10ad256b3dd697d8bc29f4ea75e1523c9b647b6f7cfac3124f4a288f1d525df", kill_on_drop: false }` [INFO] [stdout] b10ad256b3dd697d8bc29f4ea75e1523c9b647b6f7cfac3124f4a288f1d525df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] 39fe0b802ff78c46a94b2aff03e700fdbcf7aa4952376b0c11068ee1773f4d31 [INFO] running `Command { std: "docker" "start" "-a" "39fe0b802ff78c46a94b2aff03e700fdbcf7aa4952376b0c11068ee1773f4d31", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/main.rs` was erroneously implicitly accepted for binary `spinning-square`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Compiling game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/game.rs:50:36 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn handle_collisions(self, x: f64, y: f64) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/game.rs:50:44 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn handle_collisions(self, x: f64, y: f64) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/game.rs:80:40 [INFO] [stdout] | [INFO] [stdout] 80 | self.gl.draw(args.viewport(), |c, gl| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_collisions` [INFO] [stdout] --> src/game.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn handle_collisions(self, x: f64, y: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/player.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `score` [INFO] [stdout] --> src/player.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn score(self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `velocityX` should have a snake case name [INFO] [stdout] --> src/ball.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub velocityX: f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `velocity_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `velocityY` should have a snake case name [INFO] [stdout] --> src/ball.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub velocityY: f64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `velocity_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.65s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/spinning_square-dce011401489f08c) [INFO] running `Command { std: "docker" "inspect" "39fe0b802ff78c46a94b2aff03e700fdbcf7aa4952376b0c11068ee1773f4d31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39fe0b802ff78c46a94b2aff03e700fdbcf7aa4952376b0c11068ee1773f4d31", kill_on_drop: false }` [INFO] [stdout] 39fe0b802ff78c46a94b2aff03e700fdbcf7aa4952376b0c11068ee1773f4d31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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] ffd4a8a26639597294afd269001c96abde3ba9bf50a1dadc49b9a0c4cc137565 [INFO] running `Command { std: "docker" "start" "-a" "ffd4a8a26639597294afd269001c96abde3ba9bf50a1dadc49b9a0c4cc137565", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/main.rs` was erroneously implicitly accepted for binary `spinning-square`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/game.rs:50:36 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn handle_collisions(self, x: f64, y: f64) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/game.rs:50:44 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn handle_collisions(self, x: f64, y: f64) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `c` [INFO] [stderr] --> src/game.rs:80:40 [INFO] [stderr] | [INFO] [stderr] 80 | self.gl.draw(args.viewport(), |c, gl| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `handle_collisions` [INFO] [stderr] --> src/game.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn handle_collisions(self, x: f64, y: f64) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `update` [INFO] [stderr] --> src/player.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn update(&mut self) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `score` [INFO] [stderr] --> src/player.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn score(self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: structure field `velocityX` should have a snake case name [INFO] [stderr] --> src/ball.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub velocityX: f64, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `velocity_x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `velocityY` should have a snake case name [INFO] [stderr] --> src/ball.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub velocityY: f64, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `velocity_y` [INFO] [stderr] [INFO] [stderr] warning: `game` (bin "spinning-square" test) generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/spinning_square-dce011401489f08c) [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" "ffd4a8a26639597294afd269001c96abde3ba9bf50a1dadc49b9a0c4cc137565", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffd4a8a26639597294afd269001c96abde3ba9bf50a1dadc49b9a0c4cc137565", kill_on_drop: false }` [INFO] [stdout] ffd4a8a26639597294afd269001c96abde3ba9bf50a1dadc49b9a0c4cc137565