[INFO] cloning repository https://github.com/matej-kotrba/chessio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matej-kotrba/chessio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatej-kotrba%2Fchessio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatej-kotrba%2Fchessio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa73e7fc256bc752cd36d4ea2ea4c5206635b815 [INFO] checking matej-kotrba/chessio against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatej-kotrba%2Fchessio" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/matej-kotrba/chessio [INFO] finished tweaking git repo https://github.com/matej-kotrba/chessio [INFO] tweaked toml for git repo https://github.com/matej-kotrba/chessio written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/matej-kotrba/chessio on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/matej-kotrba/chessio 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded raylib v3.7.0 [INFO] [stderr] Downloaded cc v1.1.5 [INFO] [stderr] Downloaded raylib-sys v3.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6f030e5bb25f395a597fca964497bc21a3384a53720045ba7bf9e46802dca24 [INFO] running `Command { std: "docker" "start" "-a" "f6f030e5bb25f395a597fca964497bc21a3384a53720045ba7bf9e46802dca24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6f030e5bb25f395a597fca964497bc21a3384a53720045ba7bf9e46802dca24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6f030e5bb25f395a597fca964497bc21a3384a53720045ba7bf9e46802dca24", kill_on_drop: false }` [INFO] [stdout] f6f030e5bb25f395a597fca964497bc21a3384a53720045ba7bf9e46802dca24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bec5be6b505fbd1f4440ae13b4b79c95103efb4be128e0fff878234c8197a09 [INFO] running `Command { std: "docker" "start" "-a" "4bec5be6b505fbd1f4440ae13b4b79c95103efb4be128e0fff878234c8197a09", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.1.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling raylib-sys v3.7.0 [INFO] [stderr] Checking raylib v3.7.0 [INFO] [stderr] Checking chessio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 140 | for (x, y, _) in game.tiles_iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | for (x, y, _) in game.tiles_iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:256:18 [INFO] [stdout] | [INFO] [stdout] 256 | Some(v) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 140 | for (x, y, _) in game.tiles_iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | for (x, y, _) in game.tiles_iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:256:18 [INFO] [stdout] | [INFO] [stdout] 256 | Some(v) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chess/mod.rs:714:23 [INFO] [stdout] | [INFO] [stdout] 714 | pub fn tiles_iter(&self) -> TilesIter { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 714 | pub fn tiles_iter(&self) -> TilesIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chess/mod.rs:723:27 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn tiles_iter_mut(&mut self) -> TilesIterMut { [INFO] [stdout] | ^^^^^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 723 | pub fn tiles_iter_mut(&mut self) -> TilesIterMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getDefaultPieceImages` should have a snake case name [INFO] [stdout] --> src/chess/constants.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn getDefaultPieceImages(rl: &mut RaylibHandle, thread: &RaylibThread) -> PiecesImagesType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_default_piece_images` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chess/mod.rs:714:23 [INFO] [stdout] | [INFO] [stdout] 714 | pub fn tiles_iter(&self) -> TilesIter { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 714 | pub fn tiles_iter(&self) -> TilesIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chess/mod.rs:723:27 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn tiles_iter_mut(&mut self) -> TilesIterMut { [INFO] [stdout] | ^^^^^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 723 | pub fn tiles_iter_mut(&mut self) -> TilesIterMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getDefaultPieceImages` should have a snake case name [INFO] [stdout] --> src/chess/constants.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn getDefaultPieceImages(rl: &mut RaylibHandle, thread: &RaylibThread) -> PiecesImagesType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_default_piece_images` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.64s [INFO] running `Command { std: "docker" "inspect" "4bec5be6b505fbd1f4440ae13b4b79c95103efb4be128e0fff878234c8197a09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bec5be6b505fbd1f4440ae13b4b79c95103efb4be128e0fff878234c8197a09", kill_on_drop: false }` [INFO] [stdout] 4bec5be6b505fbd1f4440ae13b4b79c95103efb4be128e0fff878234c8197a09