[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] checking elliotforbes/rust-pong against master#fe55364329579d361b1ab565728bc033a7dba07e for pr-146013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felliotforbes%2Frust-pong" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/elliotforbes/rust-pong on toolchain fe55364329579d361b1ab565728bc033a7dba07e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/elliotforbes/rust-pong already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "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] * 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 `src/main.rs` was erroneously implicitly accepted for binary `spinning-square`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.71.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef03072511d2d2fc1078513e3c6e8ca371ee3b939c09f108d9a39376baefb6c5 [INFO] running `Command { std: "docker" "start" "-a" "ef03072511d2d2fc1078513e3c6e8ca371ee3b939c09f108d9a39376baefb6c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef03072511d2d2fc1078513e3c6e8ca371ee3b939c09f108d9a39376baefb6c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef03072511d2d2fc1078513e3c6e8ca371ee3b939c09f108d9a39376baefb6c5", kill_on_drop: false }` [INFO] [stdout] ef03072511d2d2fc1078513e3c6e8ca371ee3b939c09f108d9a39376baefb6c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a44a89434fac652f751ad57b59ceead8ac6625066a6f2ecff3f27aec08bf1e1 [INFO] running `Command { std: "docker" "start" "-a" "9a44a89434fac652f751ad57b59ceead8ac6625066a6f2ecff3f27aec08bf1e1", 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] * 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 `src/main.rs` was erroneously implicitly accepted for binary `spinning-square`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Checking piston-float v1.0.0 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking stb_truetype v0.2.6 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking piston-viewport v1.0.0 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Checking vecmath v1.0.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking rusttype v0.7.7 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Checking shader_version v0.6.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking interpolation v0.2.0 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking piston-texture v0.8.0 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking piston2d-graphics v0.36.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Checking piston2d-opengl_graphics v0.71.0 [INFO] [stderr] Checking pistoncore-input v0.28.0 [INFO] [stderr] Checking pistoncore-window v0.44.0 [INFO] [stderr] Checking pistoncore-event_loop v0.49.0 [INFO] [stderr] Checking piston v0.49.0 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking glutin v0.21.2 [INFO] [stderr] Checking pistoncore-glutin_window v0.63.0 [INFO] [stderr] Checking 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)]` (part of `#[warn(unused)]`) 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: `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)]` (part of `#[warn(unused)]`) 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: 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: fields `x` and `y` are never read [INFO] [stdout] --> src/game.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | pub gl: GlGraphics, [INFO] [stdout] 9 | pub x: f64, [INFO] [stdout] | ^ [INFO] [stdout] 10 | pub y: f64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_collisions` is never used [INFO] [stdout] --> src/game.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Game { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn handle_collisions(self, x: f64, y: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `score` is never read [INFO] [stdout] --> src/player.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub score: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update` and `score` are never used [INFO] [stdout] --> src/player.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Player { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 12 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn score(self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/game.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | pub gl: GlGraphics, [INFO] [stdout] 9 | pub x: f64, [INFO] [stdout] | ^ [INFO] [stdout] 10 | pub y: f64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_collisions` is never used [INFO] [stdout] --> src/game.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Game { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn handle_collisions(self, x: f64, y: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `score` is never read [INFO] [stdout] --> src/player.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub score: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update` and `score` are never used [INFO] [stdout] --> src/player.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Player { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 12 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [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)]` (part of `#[warn(nonstandard_style)]`) 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: 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)]` (part of `#[warn(nonstandard_style)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "9a44a89434fac652f751ad57b59ceead8ac6625066a6f2ecff3f27aec08bf1e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a44a89434fac652f751ad57b59ceead8ac6625066a6f2ecff3f27aec08bf1e1", kill_on_drop: false }` [INFO] [stdout] 9a44a89434fac652f751ad57b59ceead8ac6625066a6f2ecff3f27aec08bf1e1