[INFO] cloning repository https://github.com/sedim1/Flappy_Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sedim1/Flappy_Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsedim1%2FFlappy_Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsedim1%2FFlappy_Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6278a738caed3a6fd3b8cbe96fb86e21d055bafb [INFO] checking sedim1/Flappy_Rust against try#2c4e58eac5a232e49065e517c1cf50b2715ccf85 for pr-140283 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsedim1%2FFlappy_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] started tweaking git repo https://github.com/sedim1/Flappy_Rust [INFO] finished tweaking git repo https://github.com/sedim1/Flappy_Rust [INFO] tweaked toml for git repo https://github.com/sedim1/Flappy_Rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sedim1/Flappy_Rust on toolchain 2c4e58eac5a232e49065e517c1cf50b2715ccf85 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sedim1/Flappy_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" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.2.36 [INFO] [stderr] Downloaded wasi v0.14.4+wasi-0.2.4 [INFO] [stderr] Downloaded raylib v5.5.1 [INFO] [stderr] Downloaded raylib-sys v5.5.1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51e9825cb47b2af186bd8bd4bc6da86d7ecf34f6cb65a93a4bba17474390066d [INFO] running `Command { std: "docker" "start" "-a" "51e9825cb47b2af186bd8bd4bc6da86d7ecf34f6cb65a93a4bba17474390066d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51e9825cb47b2af186bd8bd4bc6da86d7ecf34f6cb65a93a4bba17474390066d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51e9825cb47b2af186bd8bd4bc6da86d7ecf34f6cb65a93a4bba17474390066d", kill_on_drop: false }` [INFO] [stdout] 51e9825cb47b2af186bd8bd4bc6da86d7ecf34f6cb65a93a4bba17474390066d [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2c4e58eac5a232e49065e517c1cf50b2715ccf85" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb7c72775706ba8ff6672afadd364a84fe723ba03c435650b9d17892f162558a [INFO] running `Command { std: "docker" "start" "-a" "bb7c72775706ba8ff6672afadd364a84fe723ba03c435650b9d17892f162558a", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling raylib-sys v5.5.1 [INFO] [stderr] Checking raylib v5.5.1 [INFO] [stderr] Checking flappy_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `raylib::consts::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use raylib::consts::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/main.rs:138:35 [INFO] [stdout] | [INFO] [stdout] 138 | let pivot : f64 = ( rand::thread_rng().gen_range(100..SH as i32 -150) ) as f64; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/main.rs:138:48 [INFO] [stdout] | [INFO] [stdout] 138 | let pivot : f64 = ( rand::thread_rng().gen_range(100..SH as i32 -150) ) as f64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/main.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Vector2 { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 26 | fn print(&self) { println!("( {}, {} )",self.x,self.y) } [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 `draw` is never used [INFO] [stdout] --> src/main.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rect { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | fn draw(&self,d : &mut RaylibDrawHandle){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/main.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | fn intersects_aabb(A : &Rect, B : &Rect) -> bool { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/main.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | fn intersects_aabb(A : &Rect, B : &Rect) -> bool { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `collisionX` should have a snake case name [INFO] [stdout] --> src/main.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let collisionX = A.position.x + A.width >= B.position.x && B.position.x + B.width >= A.position.x; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `collision_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `collisionY` should have a snake case name [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let collisionY = A.position.y + A.height >= B.position.y && B.position.y + B.height >= A.position.y; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `collision_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raylib::consts::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use raylib::consts::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/main.rs:138:35 [INFO] [stdout] | [INFO] [stdout] 138 | let pivot : f64 = ( rand::thread_rng().gen_range(100..SH as i32 -150) ) as f64; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/main.rs:138:48 [INFO] [stdout] | [INFO] [stdout] 138 | let pivot : f64 = ( rand::thread_rng().gen_range(100..SH as i32 -150) ) as f64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/main.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Vector2 { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 26 | fn print(&self) { println!("( {}, {} )",self.x,self.y) } [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 `draw` is never used [INFO] [stdout] --> src/main.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rect { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | fn draw(&self,d : &mut RaylibDrawHandle){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/main.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | fn intersects_aabb(A : &Rect, B : &Rect) -> bool { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/main.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | fn intersects_aabb(A : &Rect, B : &Rect) -> bool { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `collisionX` should have a snake case name [INFO] [stdout] --> src/main.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let collisionX = A.position.x + A.width >= B.position.x && B.position.x + B.width >= A.position.x; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `collision_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `collisionY` should have a snake case name [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let collisionY = A.position.y + A.height >= B.position.y && B.position.y + B.height >= A.position.y; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `collision_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.24s [INFO] running `Command { std: "docker" "inspect" "bb7c72775706ba8ff6672afadd364a84fe723ba03c435650b9d17892f162558a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb7c72775706ba8ff6672afadd364a84fe723ba03c435650b9d17892f162558a", kill_on_drop: false }` [INFO] [stdout] bb7c72775706ba8ff6672afadd364a84fe723ba03c435650b9d17892f162558a