[INFO] cloning repository https://github.com/WhyNott/rune-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WhyNott/rune-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWhyNott%2Frune-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWhyNott%2Frune-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 259e577e226b9a37b0aba0d4bf9102618ae96273 [INFO] checking WhyNott/rune-game against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWhyNott%2Frune-game" "/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/WhyNott/rune-game on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/WhyNott/rune-game [INFO] finished tweaking git repo https://github.com/WhyNott/rune-game [INFO] tweaked toml for git repo https://github.com/WhyNott/rune-game written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/WhyNott/rune-game 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dialoguer v0.5.0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cb57b28f7d951d8486c9931a7e2f3738ed1c6ee8ff0f6ba90860bd1277b181f [INFO] running `Command { std: "docker" "start" "-a" "3cb57b28f7d951d8486c9931a7e2f3738ed1c6ee8ff0f6ba90860bd1277b181f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cb57b28f7d951d8486c9931a7e2f3738ed1c6ee8ff0f6ba90860bd1277b181f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cb57b28f7d951d8486c9931a7e2f3738ed1c6ee8ff0f6ba90860bd1277b181f", kill_on_drop: false }` [INFO] [stdout] 3cb57b28f7d951d8486c9931a7e2f3738ed1c6ee8ff0f6ba90860bd1277b181f [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 364b0d64128fd6d3a0b09eacc098e9838578bf9aef8bee36c48f7727e5ea0c6f [INFO] running `Command { std: "docker" "start" "-a" "364b0d64128fd6d3a0b09eacc098e9838578bf9aef8bee36c48f7727e5ea0c6f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking regex-syntax v0.6.13 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking regex v1.3.3 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking console v0.9.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking dialoguer v0.5.0 [INFO] [stderr] Checking negotiation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found `x` [INFO] [stdout] --> src/main.rs:221:18 [INFO] [stdout] | [INFO] [stdout] 221 | .default(0) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 222 | x .items(&selection[..]) [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `x` [INFO] [stdout] --> src/main.rs:221:18 [INFO] [stdout] | [INFO] [stdout] 221 | .default(0) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 222 | x .items(&selection[..]) [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `x` in this scope [INFO] [stdout] --> src/main.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | x .items(&selection[..]) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `x` in this scope [INFO] [stdout] --> src/main.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | x .items(&selection[..]) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SliceRandom` is imported redundantly [INFO] [stdout] --> src/main.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 60 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `SliceRandom` is already imported here [INFO] [stdout] ... [INFO] [stdout] 75 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `console::style` [INFO] [stdout] --> src/main.rs:171:7 [INFO] [stdout] | [INFO] [stdout] 171 | use console::style; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SliceRandom` is imported redundantly [INFO] [stdout] --> src/main.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 60 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `SliceRandom` is already imported here [INFO] [stdout] ... [INFO] [stdout] 75 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `console::style` [INFO] [stdout] --> src/main.rs:171:7 [INFO] [stdout] | [INFO] [stdout] 171 | use console::style; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[char]` cannot be indexed by `&mut Select<'_>` [INFO] [stdout] --> src/main.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | match rules.get(&selection[selected]){ [INFO] [stdout] | ^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[char]>` is not implemented for `&mut Select<'_>`, which is required by `[char]: Index<_>` [INFO] [stdout] = note: required for `[char]` to implement `Index<&mut Select<'_>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[char]` cannot be indexed by `&mut Select<'_>` [INFO] [stdout] --> src/main.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | match rules.get(&selection[selected]){ [INFO] [stdout] | ^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[char]>` is not implemented for `&mut Select<'_>`, which is required by `[char]: Index<_>` [INFO] [stdout] = note: required for `[char]` to implement `Index<&mut Select<'_>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[char]` cannot be indexed by `&mut Select<'_>` [INFO] [stdout] --> src/main.rs:226:39 [INFO] [stdout] | [INFO] [stdout] 226 | None => {box1.insert(selection[selected]);}, [INFO] [stdout] | ^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[char]>` is not implemented for `&mut Select<'_>`, which is required by `[char]: Index<_>` [INFO] [stdout] = note: required for `[char]` to implement `Index<&mut Select<'_>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[char]` cannot be indexed by `&mut Select<'_>` [INFO] [stdout] --> src/main.rs:226:39 [INFO] [stdout] | [INFO] [stdout] 226 | None => {box1.insert(selection[selected]);}, [INFO] [stdout] | ^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[char]>` is not implemented for `&mut Select<'_>`, which is required by `[char]: Index<_>` [INFO] [stdout] = note: required for `[char]` to implement `Index<&mut Select<'_>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `negotiation` (bin "negotiation") due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `negotiation` (bin "negotiation" test) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "364b0d64128fd6d3a0b09eacc098e9838578bf9aef8bee36c48f7727e5ea0c6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "364b0d64128fd6d3a0b09eacc098e9838578bf9aef8bee36c48f7727e5ea0c6f", kill_on_drop: false }` [INFO] [stdout] 364b0d64128fd6d3a0b09eacc098e9838578bf9aef8bee36c48f7727e5ea0c6f [INFO] checking WhyNott/rune-game against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWhyNott%2Frune-game" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WhyNott/rune-game on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/WhyNott/rune-game [INFO] finished tweaking git repo https://github.com/WhyNott/rune-game [INFO] tweaked toml for git repo https://github.com/WhyNott/rune-game written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/WhyNott/rune-game 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c47b8ead2b6d0e6611dee8037a213476e0815f6f17fe49f1d394942f542362f3 [INFO] running `Command { std: "docker" "start" "-a" "c47b8ead2b6d0e6611dee8037a213476e0815f6f17fe49f1d394942f542362f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c47b8ead2b6d0e6611dee8037a213476e0815f6f17fe49f1d394942f542362f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c47b8ead2b6d0e6611dee8037a213476e0815f6f17fe49f1d394942f542362f3", kill_on_drop: false }` [INFO] [stdout] c47b8ead2b6d0e6611dee8037a213476e0815f6f17fe49f1d394942f542362f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea97adc74e26d5b5fa8d12f84b41ace3afcf0d8ef8d3fdabeb6dd1ed0dd2775c [INFO] running `Command { std: "docker" "start" "-a" "ea97adc74e26d5b5fa8d12f84b41ace3afcf0d8ef8d3fdabeb6dd1ed0dd2775c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "ea97adc74e26d5b5fa8d12f84b41ace3afcf0d8ef8d3fdabeb6dd1ed0dd2775c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea97adc74e26d5b5fa8d12f84b41ace3afcf0d8ef8d3fdabeb6dd1ed0dd2775c", kill_on_drop: false }` [INFO] [stdout] ea97adc74e26d5b5fa8d12f84b41ace3afcf0d8ef8d3fdabeb6dd1ed0dd2775c