[INFO] cloning repository https://github.com/tahmidsadik112/raylib-rs-examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tahmidsadik112/raylib-rs-examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftahmidsadik112%2Fraylib-rs-examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftahmidsadik112%2Fraylib-rs-examples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c4f2755970944d96b05940f98643e3a46d0bee1 [INFO] checking tahmidsadik112/raylib-rs-examples against master#75530e9f72a1990ed2305e16fd51d02f47048f12 for pr-138676 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftahmidsadik112%2Fraylib-rs-examples" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tahmidsadik112/raylib-rs-examples on toolchain 75530e9f72a1990ed2305e16fd51d02f47048f12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tahmidsadik112/raylib-rs-examples [INFO] finished tweaking git repo https://github.com/tahmidsadik112/raylib-rs-examples [INFO] tweaked toml for git repo https://github.com/tahmidsadik112/raylib-rs-examples written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tahmidsadik112/raylib-rs-examples 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" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded raylib v0.9.1 [INFO] [stderr] Downloaded raylib-sys v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ef6b293512f744a7ad9e471939ec95801f9c9e2e6b7032356cded45299d2f30 [INFO] running `Command { std: "docker" "start" "-a" "8ef6b293512f744a7ad9e471939ec95801f9c9e2e6b7032356cded45299d2f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ef6b293512f744a7ad9e471939ec95801f9c9e2e6b7032356cded45299d2f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ef6b293512f744a7ad9e471939ec95801f9c9e2e6b7032356cded45299d2f30", kill_on_drop: false }` [INFO] [stdout] 8ef6b293512f744a7ad9e471939ec95801f9c9e2e6b7032356cded45299d2f30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+75530e9f72a1990ed2305e16fd51d02f47048f12" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfff7a41763ea4e38f2a13ceed95348c8d66c24cc52729d82a829fa01404ca18 [INFO] running `Command { std: "docker" "start" "-a" "cfff7a41763ea4e38f2a13ceed95348c8d66c24cc52729d82a829fa01404ca18", kill_on_drop: false }` [INFO] [stderr] Compiling raylib-sys v0.9.2 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking raylib v0.9.1 [INFO] [stderr] Checking raylib-rs-examples v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `textSize` [INFO] [stdout] --> src/main.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let textSize = rl.measure_text("move the ball with arrow keys", 20); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_textSize` [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:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut ballPosition2 = Vector2::new((SCREEN_WIDTH / 3) as f32, (SCREEN_HEIGHT / 2) as f32); [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:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let mut ballPosition3 = Vector2::new((SCREEN_WIDTH / 4) as f32, (SCREEN_HEIGHT / 2) as f32); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut ballPosition4 = Vector2::new((SCREEN_WIDTH / 5) as f32, (SCREEN_HEIGHT / 2) as f32); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut ballPosition5 = Vector2::new((SCREEN_WIDTH / 6) as f32, (SCREEN_HEIGHT / 2) as f32); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut ballPosition6 = Vector2::new((SCREEN_WIDTH) as f32, (SCREEN_HEIGHT / 2) as f32); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/main.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Point { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 10 | // Constructor static method [INFO] [stdout] 11 | fn new(x: i32, y: i32) -> Point { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ballPosition` should have a snake case name [INFO] [stdout] --> src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut ballPosition = Vector2::new((SCREEN_WIDTH / 2) as f32, (SCREEN_HEIGHT / 2) as f32); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `ball_position` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ballPosition2` should have a snake case name [INFO] [stdout] --> src/main.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut ballPosition2 = Vector2::new((SCREEN_WIDTH / 3) as f32, (SCREEN_HEIGHT / 2) as f32); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `ball_position2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ballPosition3` should have a snake case name [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut ballPosition3 = Vector2::new((SCREEN_WIDTH / 4) as f32, (SCREEN_HEIGHT / 2) as f32); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `ball_position3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ballPosition4` should have a snake case name [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut ballPosition4 = Vector2::new((SCREEN_WIDTH / 5) as f32, (SCREEN_HEIGHT / 2) as f32); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `ball_position4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ballPosition5` should have a snake case name [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut ballPosition5 = Vector2::new((SCREEN_WIDTH / 6) as f32, (SCREEN_HEIGHT / 2) as f32); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `ball_position5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ballPosition6` should have a snake case name [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut ballPosition6 = Vector2::new((SCREEN_WIDTH) as f32, (SCREEN_HEIGHT / 2) as f32); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `ball_position6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `textSize` should have a snake case name [INFO] [stdout] --> src/main.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let textSize = rl.measure_text("move the ball with arrow keys", 20); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `text_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `textSize` [INFO] [stdout] --> src/main.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let textSize = rl.measure_text("move the ball with arrow keys", 20); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_textSize` [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:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut ballPosition2 = Vector2::new((SCREEN_WIDTH / 3) as f32, (SCREEN_HEIGHT / 2) as f32); [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:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let mut ballPosition3 = Vector2::new((SCREEN_WIDTH / 4) as f32, (SCREEN_HEIGHT / 2) as f32); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut ballPosition4 = Vector2::new((SCREEN_WIDTH / 5) as f32, (SCREEN_HEIGHT / 2) as f32); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut ballPosition5 = Vector2::new((SCREEN_WIDTH / 6) as f32, (SCREEN_HEIGHT / 2) as f32); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut ballPosition6 = Vector2::new((SCREEN_WIDTH) as f32, (SCREEN_HEIGHT / 2) as f32); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/main.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Point { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 10 | // Constructor static method [INFO] [stdout] 11 | fn new(x: i32, y: i32) -> Point { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ballPosition` should have a snake case name [INFO] [stdout] --> src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut ballPosition = Vector2::new((SCREEN_WIDTH / 2) as f32, (SCREEN_HEIGHT / 2) as f32); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `ball_position` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ballPosition2` should have a snake case name [INFO] [stdout] --> src/main.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut ballPosition2 = Vector2::new((SCREEN_WIDTH / 3) as f32, (SCREEN_HEIGHT / 2) as f32); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `ball_position2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `textSize` [INFO] [stdout] --> examples/example1.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let textSize = rl.measure_text("move the ball with arrow keys", 20); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_textSize` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ballPosition3` should have a snake case name [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut ballPosition3 = Vector2::new((SCREEN_WIDTH / 4) as f32, (SCREEN_HEIGHT / 2) as f32); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `ball_position3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ballPosition4` should have a snake case name [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut ballPosition4 = Vector2::new((SCREEN_WIDTH / 5) as f32, (SCREEN_HEIGHT / 2) as f32); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `ball_position4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ballPosition5` should have a snake case name [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut ballPosition5 = Vector2::new((SCREEN_WIDTH / 6) as f32, (SCREEN_HEIGHT / 2) as f32); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `ball_position5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ballPosition6` should have a snake case name [INFO] [stdout] --> src/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut ballPosition6 = Vector2::new((SCREEN_WIDTH) as f32, (SCREEN_HEIGHT / 2) as f32); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `ball_position6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `textSize` should have a snake case name [INFO] [stdout] --> src/main.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let textSize = rl.measure_text("move the ball with arrow keys", 20); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `text_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> examples/example1.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> examples/example1.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Point { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 10 | // Constructor static method [INFO] [stdout] 11 | fn new(x: i32, y: i32) -> Point { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ballPosition` should have a snake case name [INFO] [stdout] --> examples/example1.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut ballPosition = Vector2::new((SCREEN_WIDTH / 2) as f32, (SCREEN_HEIGHT / 2) as f32); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `ball_position` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `textSize` should have a snake case name [INFO] [stdout] --> examples/example1.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let textSize = rl.measure_text("move the ball with arrow keys", 20); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `text_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.97s [INFO] running `Command { std: "docker" "inspect" "cfff7a41763ea4e38f2a13ceed95348c8d66c24cc52729d82a829fa01404ca18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfff7a41763ea4e38f2a13ceed95348c8d66c24cc52729d82a829fa01404ca18", kill_on_drop: false }` [INFO] [stdout] cfff7a41763ea4e38f2a13ceed95348c8d66c24cc52729d82a829fa01404ca18