[INFO] cloning repository https://github.com/satoruGoj-0/Flappy_Dragon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/satoruGoj-0/Flappy_Dragon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsatoruGoj-0%2FFlappy_Dragon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsatoruGoj-0%2FFlappy_Dragon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2f75051595c0f9bc3619277aeca677a780206516 [INFO] testing satoruGoj-0/Flappy_Dragon against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsatoruGoj-0%2FFlappy_Dragon" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/satoruGoj-0/Flappy_Dragon [INFO] finished tweaking git repo https://github.com/satoruGoj-0/Flappy_Dragon [INFO] tweaked toml for git repo https://github.com/satoruGoj-0/Flappy_Dragon written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/satoruGoj-0/Flappy_Dragon on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/satoruGoj-0/Flappy_Dragon 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded core-text v20.1.0 [INFO] [stderr] Downloaded serde_derive v1.0.194 [INFO] [stderr] Downloaded crossfont v0.5.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.74 [INFO] [stderr] Downloaded ultraviolet v0.9.2 [INFO] [stderr] Downloaded serde v1.0.194 [INFO] [stderr] Downloaded wide v0.7.13 [INFO] [stderr] Downloaded winnow v0.5.31 [INFO] [stderr] Downloaded syn v2.0.46 [INFO] [stderr] Downloaded image v0.24.7 [INFO] [stderr] Downloaded web-sys v0.3.66 [INFO] [stderr] Downloaded libc v0.2.151 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52a671b598b0476bcb6e4fe31e440ad865a639f11650e93253bd3029bd237402 [INFO] running `Command { std: "docker" "start" "-a" "52a671b598b0476bcb6e4fe31e440ad865a639f11650e93253bd3029bd237402", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52a671b598b0476bcb6e4fe31e440ad865a639f11650e93253bd3029bd237402", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52a671b598b0476bcb6e4fe31e440ad865a639f11650e93253bd3029bd237402", kill_on_drop: false }` [INFO] [stdout] 52a671b598b0476bcb6e4fe31e440ad865a639f11650e93253bd3029bd237402 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb9db2ffb267b0ab2bf3dca7620d3c80c2792f491757fd6d86003cac53001df8 [INFO] running `Command { std: "docker" "start" "-a" "eb9db2ffb267b0ab2bf3dca7620d3c80c2792f491757fd6d86003cac53001df8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling proc-macro2 v1.0.74 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling fdeflate v0.3.3 [INFO] [stderr] Compiling safe_arch v0.7.1 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling tiny-skia-path v0.7.0 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling crossfont v0.5.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling wide v0.7.13 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling syn v2.0.46 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling png v0.17.10 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling tiny-skia v0.7.0 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling ultraviolet v0.9.2 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling bracket-geometry v0.8.7 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling bracket-embedding v0.8.7 [INFO] [stderr] Compiling bracket-color v0.8.7 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling image v0.24.7 [INFO] [stderr] Compiling bracket-algorithm-traits v0.8.7 [INFO] [stderr] Compiling object-pool v0.5.4 [INFO] [stderr] Compiling bracket-pathfinding v0.8.7 [INFO] [stderr] Compiling bracket-rex v0.8.7 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling wayland-egl v0.29.5 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling bracket-random v0.8.7 [INFO] [stderr] Compiling bracket-noise v0.8.7 [INFO] [stderr] Compiling sctk-adwaita v0.4.3 [INFO] [stderr] Compiling winit v0.27.5 [INFO] [stderr] Compiling glutin v0.29.1 [INFO] [stderr] Compiling bracket-terminal v0.8.7 [INFO] [stderr] Compiling bracket-lib v0.8.7 [INFO] [stderr] Compiling hello_world v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `random` [INFO] [stdout] --> src/main.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use bracket_lib::{prelude::*, random}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | fn new(x: i32, y: i32) -> Self { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 20 | fn new(_x: i32, y: i32) -> Self { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `SCREEN_HEIGHT` [INFO] [stdout] | [INFO] [stdout] 20 - fn new(x: i32, y: i32) -> Self { [INFO] [stdout] 20 + fn new(SCREEN_HEIGHT: i32, y: i32) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn new(x: i32, y: i32) -> Self { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 20 | fn new(x: i32, _y: i32) -> Self { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `SCREEN_HEIGHT` [INFO] [stdout] | [INFO] [stdout] 20 - fn new(x: i32, y: i32) -> Self { [INFO] [stdout] 20 + fn new(x: i32, SCREEN_HEIGHT: i32) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hit_obstacle` is never used [INFO] [stdout] --> src/main.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 149 | impl Obstacle { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | fn hit_obstacle(&self, player: &Player) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s [INFO] running `Command { std: "docker" "inspect" "eb9db2ffb267b0ab2bf3dca7620d3c80c2792f491757fd6d86003cac53001df8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb9db2ffb267b0ab2bf3dca7620d3c80c2792f491757fd6d86003cac53001df8", kill_on_drop: false }` [INFO] [stdout] eb9db2ffb267b0ab2bf3dca7620d3c80c2792f491757fd6d86003cac53001df8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bed05b0e3dc6503e1d280e5713485a242664cd3054a679c467b6aa15d2affd8a [INFO] running `Command { std: "docker" "start" "-a" "bed05b0e3dc6503e1d280e5713485a242664cd3054a679c467b6aa15d2affd8a", kill_on_drop: false }` [INFO] [stderr] Compiling hello_world v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `random` [INFO] [stdout] --> src/main.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use bracket_lib::{prelude::*, random}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | fn new(x: i32, y: i32) -> Self { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 20 | fn new(_x: i32, y: i32) -> Self { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `SCREEN_HEIGHT` [INFO] [stdout] | [INFO] [stdout] 20 - fn new(x: i32, y: i32) -> Self { [INFO] [stdout] 20 + fn new(SCREEN_HEIGHT: i32, y: i32) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | fn new(x: i32, y: i32) -> Self { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 20 | fn new(x: i32, _y: i32) -> Self { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `SCREEN_HEIGHT` [INFO] [stdout] | [INFO] [stdout] 20 - fn new(x: i32, y: i32) -> Self { [INFO] [stdout] 20 + fn new(x: i32, SCREEN_HEIGHT: i32) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hit_obstacle` is never used [INFO] [stdout] --> src/main.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 149 | impl Obstacle { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | fn hit_obstacle(&self, player: &Player) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "bed05b0e3dc6503e1d280e5713485a242664cd3054a679c467b6aa15d2affd8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bed05b0e3dc6503e1d280e5713485a242664cd3054a679c467b6aa15d2affd8a", kill_on_drop: false }` [INFO] [stdout] bed05b0e3dc6503e1d280e5713485a242664cd3054a679c467b6aa15d2affd8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f5bfa3cd82782a7ea07a48afd99fc0215ac2894ef63daac4eb3a167c39303ad5 [INFO] running `Command { std: "docker" "start" "-a" "f5bfa3cd82782a7ea07a48afd99fc0215ac2894ef63daac4eb3a167c39303ad5", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `random` [INFO] [stderr] --> src/main.rs:1:31 [INFO] [stderr] | [INFO] [stderr] 1 | use bracket_lib::{prelude::*, random}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/main.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | fn new(x: i32, y: i32) -> Self { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 20 | fn new(_x: i32, y: i32) -> Self { [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `SCREEN_HEIGHT` [INFO] [stderr] | [INFO] [stderr] 20 - fn new(x: i32, y: i32) -> Self { [INFO] [stderr] 20 + fn new(SCREEN_HEIGHT: i32, y: i32) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/main.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | fn new(x: i32, y: i32) -> Self { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 20 | fn new(x: i32, _y: i32) -> Self { [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `SCREEN_HEIGHT` [INFO] [stderr] | [INFO] [stderr] 20 - fn new(x: i32, y: i32) -> Self { [INFO] [stderr] 20 + fn new(x: i32, SCREEN_HEIGHT: i32) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: method `hit_obstacle` is never used [INFO] [stderr] --> src/main.rs:169:8 [INFO] [stderr] | [INFO] [stderr] 149 | impl Obstacle { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 169 | fn hit_obstacle(&self, player: &Player) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `hello_world` (bin "hello_world" test) generated 4 warnings (run `cargo fix --bin "hello_world" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hello_world-796bb601f35acb35) [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" "f5bfa3cd82782a7ea07a48afd99fc0215ac2894ef63daac4eb3a167c39303ad5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5bfa3cd82782a7ea07a48afd99fc0215ac2894ef63daac4eb3a167c39303ad5", kill_on_drop: false }` [INFO] [stdout] f5bfa3cd82782a7ea07a48afd99fc0215ac2894ef63daac4eb3a167c39303ad5