[INFO] cloning repository https://github.com/SpicyRicecaker/raylib-experiment [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SpicyRicecaker/raylib-experiment" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpicyRicecaker%2Fraylib-experiment", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpicyRicecaker%2Fraylib-experiment'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90cf0f95d5ef60effcf6cab13e6ccf5c30086a45 [INFO] checking SpicyRicecaker/raylib-experiment/90cf0f95d5ef60effcf6cab13e6ccf5c30086a45 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpicyRicecaker%2Fraylib-experiment" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SpicyRicecaker/raylib-experiment on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SpicyRicecaker/raylib-experiment [INFO] finished tweaking git repo https://github.com/SpicyRicecaker/raylib-experiment [INFO] tweaked toml for git repo https://github.com/SpicyRicecaker/raylib-experiment written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SpicyRicecaker/raylib-experiment 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cmake v0.1.45 [INFO] [stderr] Downloaded fs_extra v1.2.0 [INFO] [stderr] Downloaded raylib v3.5.0 [INFO] [stderr] Downloaded raylib-sys v3.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 212af8cb8e207f615c36476d093f8989ce7d9c9a0f7341fe989e4cafe8c70743 [INFO] running `Command { std: "docker" "start" "-a" "212af8cb8e207f615c36476d093f8989ce7d9c9a0f7341fe989e4cafe8c70743", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "212af8cb8e207f615c36476d093f8989ce7d9c9a0f7341fe989e4cafe8c70743", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "212af8cb8e207f615c36476d093f8989ce7d9c9a0f7341fe989e4cafe8c70743", kill_on_drop: false }` [INFO] [stdout] 212af8cb8e207f615c36476d093f8989ce7d9c9a0f7341fe989e4cafe8c70743 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8061e56ce8562b7e945f1a343e12e0669329d02a185399b887ace73e407a830d [INFO] running `Command { std: "docker" "start" "-a" "8061e56ce8562b7e945f1a343e12e0669329d02a185399b887ace73e407a830d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling raylib-sys v3.5.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking raylib v3.5.0 [INFO] [stderr] Checking tetris-raylib-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this method takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/tests.rs:119:31 [INFO] [stdout] | [INFO] [stdout] 119 | assert!(tetromino.within_boundary(Tetromino::get_dxdy(Direction::Down), 10, 20)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ -- -- unexpected argument #3 of type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | expected `&Dimensions`, found integer [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tetromino/collisions/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn within_boundary(&self, dx_dy: [i32; 2], dim: &Dimensions) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------------- ---------------- [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 119 - assert!(tetromino.within_boundary(Tetromino::get_dxdy(Direction::Down), 10, 20)); [INFO] [stdout] 119 + assert!(tetromino.within_boundary(Tetromino::get_dxdy(Direction::Down), /* &universe::Dimensions */)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/tests.rs:134:31 [INFO] [stdout] | [INFO] [stdout] 134 | assert!(tetromino.within_boundary(Tetromino::get_dxdy(Direction::Down), 10, 20)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ -- -- unexpected argument #3 of type `{integer}` [INFO] [stdout] | | [INFO] [stdout] | expected `&Dimensions`, found integer [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/tetromino/collisions/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn within_boundary(&self, dx_dy: [i32; 2], dim: &Dimensions) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------------- ---------------- [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 134 - assert!(tetromino.within_boundary(Tetromino::get_dxdy(Direction::Down), 10, 20)); [INFO] [stdout] 134 + assert!(tetromino.within_boundary(Tetromino::get_dxdy(Direction::Down), /* &universe::Dimensions */)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `audio` [INFO] [stdout] --> src/main.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut audio = RaylibAudio::init_audio_device(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_audio` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `audio` [INFO] [stdout] --> src/main.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut audio = RaylibAudio::init_audio_device(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_audio` [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:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut audio = RaylibAudio::init_audio_device(); [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:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut audio = RaylibAudio::init_audio_device(); [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tetris-raylib-rs` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "8061e56ce8562b7e945f1a343e12e0669329d02a185399b887ace73e407a830d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8061e56ce8562b7e945f1a343e12e0669329d02a185399b887ace73e407a830d", kill_on_drop: false }` [INFO] [stdout] 8061e56ce8562b7e945f1a343e12e0669329d02a185399b887ace73e407a830d