[INFO] cloning repository https://github.com/lochyj/rust-chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lochyj/rust-chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flochyj%2Frust-chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flochyj%2Frust-chess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e546cb9eab38727d22b7c864165d7e89258c7f6 [INFO] testing lochyj/rust-chess against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flochyj%2Frust-chess" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lochyj/rust-chess [INFO] finished tweaking git repo https://github.com/lochyj/rust-chess [INFO] tweaked toml for git repo https://github.com/lochyj/rust-chess written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lochyj/rust-chess on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lochyj/rust-chess 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8fdf2fd3631fb48cdbaf54974f82c76a21d47f8aa9db0f14e20abaf43319ef0 [INFO] running `Command { std: "docker" "start" "-a" "c8fdf2fd3631fb48cdbaf54974f82c76a21d47f8aa9db0f14e20abaf43319ef0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8fdf2fd3631fb48cdbaf54974f82c76a21d47f8aa9db0f14e20abaf43319ef0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8fdf2fd3631fb48cdbaf54974f82c76a21d47f8aa9db0f14e20abaf43319ef0", kill_on_drop: false }` [INFO] [stdout] c8fdf2fd3631fb48cdbaf54974f82c76a21d47f8aa9db0f14e20abaf43319ef0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34340c21eb03e9932f7938f988d2c393fb4296d89f14a2131c813e43f9f6f71b [INFO] running `Command { std: "docker" "start" "-a" "34340c21eb03e9932f7938f988d2c393fb4296d89f14a2131c813e43f9f6f71b", kill_on_drop: false }` [INFO] [stderr] Compiling rust-chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | Pawn = "p", [INFO] [stdout] | ^^^ expected `isize`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | Knight = "n", [INFO] [stdout] | ^^^ expected `isize`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | Bishop = "b", [INFO] [stdout] | ^^^ expected `isize`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | Rook = "r", [INFO] [stdout] | ^^^ expected `isize`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | Queen = "q", [INFO] [stdout] | ^^^ expected `isize`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | King = "k", [INFO] [stdout] | ^^^ expected `isize`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | Blank = "", [INFO] [stdout] | ^^ expected `isize`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 20 | fn fen_to_board(locations: &str) -> Vec<((i32, i32), &str)> { [INFO] [stdout] | ----------------------- expected `Vec<((i32, i32), &str)>` because of return type [INFO] [stdout] ... [INFO] [stdout] 29 | return &result; [INFO] [stdout] | ^^^^^^^ expected `Vec<((i32, i32), &str)>`, found `&Vec<((usize, usize), &String)>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec<((i32, i32), &str)>` [INFO] [stdout] found reference `&Vec<((usize, usize), &String)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-chess` (bin "rust-chess") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "34340c21eb03e9932f7938f988d2c393fb4296d89f14a2131c813e43f9f6f71b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34340c21eb03e9932f7938f988d2c393fb4296d89f14a2131c813e43f9f6f71b", kill_on_drop: false }` [INFO] [stdout] 34340c21eb03e9932f7938f988d2c393fb4296d89f14a2131c813e43f9f6f71b