[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 try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felliotforbes%2Frust-pong" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/elliotforbes/rust-pong on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "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-3-tc2/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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bd6e0836ade3bc9f8614f9e3a391a14bb7722ab5bac62267e62559e38c58f48 [INFO] running `Command { std: "docker" "start" "-a" "9bd6e0836ade3bc9f8614f9e3a391a14bb7722ab5bac62267e62559e38c58f48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bd6e0836ade3bc9f8614f9e3a391a14bb7722ab5bac62267e62559e38c58f48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bd6e0836ade3bc9f8614f9e3a391a14bb7722ab5bac62267e62559e38c58f48", kill_on_drop: false }` [INFO] [stdout] 9bd6e0836ade3bc9f8614f9e3a391a14bb7722ab5bac62267e62559e38c58f48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96f4c895563e0336ac642ced7d9c3dc95e9795b9f9cb2b9c034db5fab29c21a4 [INFO] running `Command { std: "docker" "start" "-a" "96f4c895563e0336ac642ced7d9c3dc95e9795b9f9cb2b9c034db5fab29c21a4", 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 libc v0.2.66 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [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 cc v1.0.50 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling stb_truetype v0.2.6 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.21.13 [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 glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling rusttype v0.7.7 [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 shared_library v0.1.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling rusttype v0.8.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling shader_version v0.6.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling piston2d-graphics v0.36.0 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [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 `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)]` 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 49.76s [INFO] running `Command { std: "docker" "inspect" "96f4c895563e0336ac642ced7d9c3dc95e9795b9f9cb2b9c034db5fab29c21a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96f4c895563e0336ac642ced7d9c3dc95e9795b9f9cb2b9c034db5fab29c21a4", kill_on_drop: false }` [INFO] [stdout] 96f4c895563e0336ac642ced7d9c3dc95e9795b9f9cb2b9c034db5fab29c21a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56bf5c03eafb46e1f9b87608bee535b3cb36af0a7e4966df71594940989ab899 [INFO] running `Command { std: "docker" "start" "-a" "56bf5c03eafb46e1f9b87608bee535b3cb36af0a7e4966df71594940989ab899", 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 `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)]` 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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcVzcdpg/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libpiston-2f7a9cf58030f4c7.rlib,libevent_loop-f425017146cbe66e.rlib,libopengl_graphics-29f02e19513420c7.rlib,libimage-f73ba17e1b19895e.rlib,libtiff-d2f790b03b683d17.rlib,libpng-54b38b06a8da73d7.rlib,libdeflate-013b285c41fbb12a.rlib,libinflate-e47a9b0c536301b3.rlib,libadler32-c0d0af83c448d032.rlib,libcrc32fast-e48064a5dc2db77e.rlib,libjpeg_decoder-5fa21c2679f7fb2b.rlib,librayon-1d79dc6eab8f6b25.rlib,librayon_core-0587842b69fd399e.rlib,libnum_cpus-27db2da38979704d.rlib,libcrossbeam_queue-e0d4247bcee660fa.rlib,libcrossbeam_deque-35bcab7c5e66773a.rlib,libcrossbeam_epoch-61bf9e0dd0bab435.rlib,libmemoffset-ab290852ba49c214.rlib,libcrossbeam_utils-301e8c2ef4a955ff.rlib,libeither-d5be8a455e3dc4f2.rlib,libgif-3fc4342b2e9dd1b5.rlib,libcolor_quant-3fc8e4e00ed37f7a.rlib,liblzw-71f94f506b0c97e3.rlib,libscoped_threadpool-ea80625569c7ab31.rlib,libnum_rational-5313399727ce1179.rlib,libnum_iter-700ace9012cad533.rlib,libnum_integer-1e9864c9247fc03e.rlib,libshaders_graphics2d-bb80b283dc24a141.rlib,libgraphics-819f02a37da005e6.rlib,libfnv-12606c81bfa8a024.rlib,librusttype-5ee2b3824d1f6563.rlib,libstb_truetype-e092a75544e51bd8.rlib,libarrayvec-989778101fa76b98.rlib,libinterpolation-9558973eaa016240.rlib,libread_color-ed5971ccc838dfc7.rlib,libtexture-423906fe9244791f.rlib,libvecmath-dcc88aa13e6634d9.rlib,libglutin_window-46bad9ea60fc810f.rlib,libshader_version-fe5966c693dc3c06.rlib,libwindow-9f4f7012eb51e956.rlib,libgraphics_api_version-e227de1b8cb4e677.rlib,libinput-750219313e1c04c9.rlib,libviewport-eb5ea356cd5cff26.rlib,libfloat-a37db5b4d0facefc.rlib,libserde-a234b393956041c2.rlib,libgl-596925faf93679a5.rlib,libglutin-42a0886f559d9ecf.rlib,libosmesa_sys-2c097019e20b5333.rlib,libshared_library-8fb5ba4dfed57d84.rlib,libwinit-f90d24047c179e65.rlib,libraw_window_handle-ac73d277f8b6f4ff.rlib,libsmithay_client_toolkit-a46c77858f7a4b21.rlib,libwayland_protocols-8acae2bd41993c32.rlib,libwayland_client-bb459e8fadec31ad.rlib,libwayland_commons-f3a23ba5d3a6f281.rlib,libwayland_sys-fa4c1c5434566e85.rlib,libnix-01b86e53e80e7fc7.rlib,libvoid-c8c62e9ffd6f4978.rlib,libmemmap-ca9c41dae6b37b56.rlib,libandrew-85f132ab10fb9307.rlib,libxml-f701673eb9932e7f.rlib,libxdg-f7386ae616cafec8.rlib,libwalkdir-9d17ebaf1f88d685.rlib,libsame_file-1ceb7b6153588b15.rlib,librusttype-87f609d057fbac28.rlib,libstb_truetype-e7be4c845a8b1e26.rlib,libbyteorder-73c970a5a969dc8f.rlib,libarrayvec-558b42b9da4c3270.rlib,libnodrop-8dcf87880503f033.rlib,libordered_float-a6bdd37265534027.rlib,libapprox-6ecdb8c8bf1d6160.rlib,libline_drawing-d6ea1ac1e6b4efdc.rlib,libnum_traits-cdea57fbff52baf6.rlib,libdlib-a4fbf0bcd91ab435.rlib,liblibloading-cb2a096a00fd0d82.rlib,libbitflags-ee4b6a8effb9c17a.rlib,libpercent_encoding-d8e5e041794fd24f.rlib,libparking_lot-101a1dd648fefaf9.rlib,libparking_lot_core-eb21fd482209e833.rlib,libsmallvec-62bddc95346ad3e5.rlib,liblock_api-5ac3217ea8d0d8e1.rlib,libscopeguard-f56127f537038ddd.rlib,liblog-44675ca6db48a312.rlib,libcfg_if-7e9efee4241be1ca.rlib,libglutin_glx_sys-3e9507a31e532f94.rlib,libx11_dl-b2b2e9aed374bfb9.rlib,libmaybe_uninit-dd2e9a8bbd6c23a5.rlib,liblibc-4a6ed3d087fb1d22.rlib,libglutin_egl_sys-6b86b0aeebfc8b6c.rlib,liblazy_static-2bb390fee0230a38.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-ldl" "-ldl" "-ldl" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcVzcdpg/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/libloading-fc7fc615ad7f88e0/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/spinning_square-de2b6f5d512b9199" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 7 [Bus error], core dumped [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `game` (bin "spinning-square" test) due to 1 previous error; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "56bf5c03eafb46e1f9b87608bee535b3cb36af0a7e4966df71594940989ab899", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56bf5c03eafb46e1f9b87608bee535b3cb36af0a7e4966df71594940989ab899", kill_on_drop: false }` [INFO] [stdout] 56bf5c03eafb46e1f9b87608bee535b3cb36af0a7e4966df71594940989ab899