[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] building elliotforbes/rust-pong/3455cf005a2aeacbc9b00b9593fc40bdab80882d against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felliotforbes%2Frust-pong" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/elliotforbes/rust-pong on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "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-2-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.104 [INFO] [stderr] Downloaded piston-viewport v1.0.0 [INFO] [stderr] Downloaded pistoncore-input v0.28.0 [INFO] [stderr] Downloaded shader_version v0.6.0 [INFO] [stderr] Downloaded piston-graphics_api_version v0.2.0 [INFO] [stderr] Downloaded pistoncore-event_loop v0.49.0 [INFO] [stderr] Downloaded piston-float v1.0.0 [INFO] [stderr] Downloaded memoffset v0.5.3 [INFO] [stderr] Downloaded piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Downloaded num-rational v0.2.3 [INFO] [stderr] Downloaded piston v0.49.0 [INFO] [stderr] Downloaded crossbeam-deque v0.7.2 [INFO] [stderr] Downloaded gif v0.10.3 [INFO] [stderr] Downloaded crossbeam-utils v0.7.0 [INFO] [stderr] Downloaded cocoa v0.18.5 [INFO] [stderr] Downloaded rayon-core v1.7.0 [INFO] [stderr] Downloaded backtrace v0.3.43 [INFO] [stderr] Downloaded x11-dl v2.18.5 [INFO] [stderr] Downloaded jpeg-decoder v0.1.18 [INFO] [stderr] Downloaded rayon v1.3.0 [INFO] [stderr] Downloaded image v0.22.5 [INFO] [stderr] Downloaded glutin v0.21.2 [INFO] [stderr] Downloaded pistoncore-glutin_window v0.63.0 [INFO] [stderr] Downloaded png v0.15.3 [INFO] [stderr] Downloaded winapi-util v0.1.3 [INFO] [stderr] Downloaded winit v0.19.5 [INFO] [stderr] Downloaded crossbeam-epoch v0.8.0 [INFO] [stderr] Downloaded rusttype v0.8.2 [INFO] [stderr] Downloaded piston2d-graphics v0.36.0 [INFO] [stderr] Downloaded gleam v0.6.19 [INFO] [stderr] Downloaded glutin_gles2_sys v0.1.4 [INFO] [stderr] Downloaded khronos_api v2.2.0 [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.71.0 [INFO] [stderr] Downloaded arrayvec v0.4.12 [INFO] [stderr] Downloaded serde v1.0.104 [INFO] [stderr] Downloaded crossbeam-queue v0.2.1 [INFO] [stderr] Downloaded tiff v0.3.1 [INFO] [stderr] Downloaded gl_generator v0.10.0 [INFO] [stderr] Downloaded lock_api v0.3.3 [INFO] [stderr] Downloaded downcast-rs v1.1.1 [INFO] [stderr] Downloaded num_cpus v1.12.0 [INFO] [stderr] Downloaded smallvec v0.6.13 [INFO] [stderr] Downloaded backtrace-sys v0.1.32 [INFO] [stderr] Downloaded gl v0.11.0 [INFO] [stderr] Downloaded raw-window-handle v0.3.3 [INFO] [stderr] Downloaded hermit-abi v0.1.6 [INFO] [stderr] Downloaded piston-texture v0.8.0 [INFO] [stderr] Downloaded glutin_egl_sys v0.1.4 [INFO] [stderr] Downloaded glutin_glx_sys v0.1.6 [INFO] [stderr] Downloaded glutin_wgl_sys v0.1.4 [INFO] [stderr] Downloaded pistoncore-window v0.44.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eef24909c76ec78c40bfafe14d2cfb9310fe3a222dfb7a70547947ebddf85cbe [INFO] running `Command { std: "docker" "start" "-a" "eef24909c76ec78c40bfafe14d2cfb9310fe3a222dfb7a70547947ebddf85cbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eef24909c76ec78c40bfafe14d2cfb9310fe3a222dfb7a70547947ebddf85cbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eef24909c76ec78c40bfafe14d2cfb9310fe3a222dfb7a70547947ebddf85cbe", kill_on_drop: false }` [INFO] [stdout] eef24909c76ec78c40bfafe14d2cfb9310fe3a222dfb7a70547947ebddf85cbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5eb20833665f7f88557b2b70da49768535b9ab35235172461100076f106919c5 [INFO] running `Command { std: "docker" "start" "-a" "5eb20833665f7f88557b2b70da49768535b9ab35235172461100076f106919c5", 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 cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling stb_truetype v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling rusttype v0.7.7 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling rusttype v0.8.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling shader_version v0.6.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling piston2d-graphics v0.36.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [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 pistoncore-window v0.44.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.49.0 [INFO] [stderr] Compiling piston v0.49.0 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.71.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: 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)]` 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 `Debug` and `Clone`, 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)]` 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 32.91s [INFO] running `Command { std: "docker" "inspect" "5eb20833665f7f88557b2b70da49768535b9ab35235172461100076f106919c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eb20833665f7f88557b2b70da49768535b9ab35235172461100076f106919c5", kill_on_drop: false }` [INFO] [stdout] 5eb20833665f7f88557b2b70da49768535b9ab35235172461100076f106919c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c0fca9710ed2feef2a0113fc398a28bd729850861e0e383116259cde560365f [INFO] running `Command { std: "docker" "start" "-a" "4c0fca9710ed2feef2a0113fc398a28bd729850861e0e383116259cde560365f", 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 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: 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)]` 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 `Debug` and `Clone`, 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)]` 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 `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "4c0fca9710ed2feef2a0113fc398a28bd729850861e0e383116259cde560365f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c0fca9710ed2feef2a0113fc398a28bd729850861e0e383116259cde560365f", kill_on_drop: false }` [INFO] [stdout] 4c0fca9710ed2feef2a0113fc398a28bd729850861e0e383116259cde560365f