[INFO] cloning repository https://github.com/gutrety76/geometry_dash_in_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gutrety76/geometry_dash_in_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgutrety76%2Fgeometry_dash_in_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgutrety76%2Fgeometry_dash_in_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4bfc4de7c0a5b55868f7e4fb1c6a8bd7141d2327 [INFO] checking gutrety76/geometry_dash_in_rust against try#fc545c6b951a304df08b327c158f92678582f435 for pr-140557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgutrety76%2Fgeometry_dash_in_rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gutrety76/geometry_dash_in_rust on toolchain fc545c6b951a304df08b327c158f92678582f435 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fc545c6b951a304df08b327c158f92678582f435" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gutrety76/geometry_dash_in_rust [INFO] finished tweaking git repo https://github.com/gutrety76/geometry_dash_in_rust [INFO] tweaked toml for git repo https://github.com/gutrety76/geometry_dash_in_rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gutrety76/geometry_dash_in_rust 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" "+fc545c6b951a304df08b327c158f92678582f435" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+fc545c6b951a304df08b327c158f92678582f435" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08a24358b176be72c46469b8011fea02781712c292b4a6034d6abb2aeaa67df5 [INFO] running `Command { std: "docker" "start" "-a" "08a24358b176be72c46469b8011fea02781712c292b4a6034d6abb2aeaa67df5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08a24358b176be72c46469b8011fea02781712c292b4a6034d6abb2aeaa67df5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08a24358b176be72c46469b8011fea02781712c292b4a6034d6abb2aeaa67df5", kill_on_drop: false }` [INFO] [stdout] 08a24358b176be72c46469b8011fea02781712c292b4a6034d6abb2aeaa67df5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+fc545c6b951a304df08b327c158f92678582f435" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e632efdfe3ed607cf64deef6baee76ac85b440d84034c550e02d9cac114248fa [INFO] running `Command { std: "docker" "start" "-a" "e632efdfe3ed607cf64deef6baee76ac85b440d84034c550e02d9cac114248fa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling raylib-sys v3.7.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking raylib v3.7.0 [INFO] [stderr] Checking raylibrust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | if (self.y < 360.0){self.moving_down = true;} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - if (self.y < 360.0){self.moving_down = true;} [INFO] [stdout] 103 + if self.y < 360.0 {self.moving_down = true;} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | if (self.y < 360.0){self.moving_down = true;} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - if (self.y < 360.0){self.moving_down = true;} [INFO] [stdout] 103 + if self.y < 360.0 {self.moving_down = true;} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:132:19 [INFO] [stdout] | [INFO] [stdout] 132 | if(!self.moving_down && !self.moving_up){self.start_moving_up()} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - if(!self.moving_down && !self.moving_up){self.start_moving_up()} [INFO] [stdout] 132 + if !self.moving_down && !self.moving_up {self.start_moving_up()} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:132:19 [INFO] [stdout] | [INFO] [stdout] 132 | if(!self.moving_down && !self.moving_up){self.start_moving_up()} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - if(!self.moving_down && !self.moving_up){self.start_moving_up()} [INFO] [stdout] 132 + if !self.moving_down && !self.moving_up {self.start_moving_up()} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 255 | if (player.dead){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 255 - if (player.dead){ [INFO] [stdout] 255 + if player.dead { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 255 | if (player.dead){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 255 - if (player.dead){ [INFO] [stdout] 255 + if player.dead { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fireBallTexture` [INFO] [stdout] --> src/main.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let fireBallTexture = rl.load_texture(&thread, "./pics/fireball.png").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fireBallTexture` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fireBallTexture` [INFO] [stdout] --> src/main.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let fireBallTexture = rl.load_texture(&thread, "./pics/fireball.png").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fireBallTexture` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | let mut text = format!("Score: {}", score); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | let mut text = format!("Score: {}", score); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct Enemy{ [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | width: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | height: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `playerTexture` should have a snake case name [INFO] [stdout] --> src/main.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | let playerTexture = rl.load_texture(&thread, "./pics/player.png").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `player_texture` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct Enemy{ [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | width: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | height: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fireBallTexture` should have a snake case name [INFO] [stdout] --> src/main.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let fireBallTexture = rl.load_texture(&thread, "./pics/fireball.png").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fire_ball_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `playerTexture` should have a snake case name [INFO] [stdout] --> src/main.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | let playerTexture = rl.load_texture(&thread, "./pics/player.png").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `player_texture` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fireBallTexture` should have a snake case name [INFO] [stdout] --> src/main.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | let fireBallTexture = rl.load_texture(&thread, "./pics/fireball.png").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fire_ball_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.15s [INFO] running `Command { std: "docker" "inspect" "e632efdfe3ed607cf64deef6baee76ac85b440d84034c550e02d9cac114248fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e632efdfe3ed607cf64deef6baee76ac85b440d84034c550e02d9cac114248fa", kill_on_drop: false }` [INFO] [stdout] e632efdfe3ed607cf64deef6baee76ac85b440d84034c550e02d9cac114248fa