[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] testing WhyNott/rune-game against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWhyNott%2Frune-game" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WhyNott/rune-game on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-14/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded console v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 64fa2484d35ea689c39d2e697a2b04ed64022bc6bf0e15dfa7c747ec4b302719 [INFO] running `Command { std: "docker" "start" "-a" "64fa2484d35ea689c39d2e697a2b04ed64022bc6bf0e15dfa7c747ec4b302719", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64fa2484d35ea689c39d2e697a2b04ed64022bc6bf0e15dfa7c747ec4b302719", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64fa2484d35ea689c39d2e697a2b04ed64022bc6bf0e15dfa7c747ec4b302719", kill_on_drop: false }` [INFO] [stdout] 64fa2484d35ea689c39d2e697a2b04ed64022bc6bf0e15dfa7c747ec4b302719 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1fd3fb9f616d52028ffab3dd7aa9454ceffc8e07d4daa5d0039f5d56e2b272b7 [INFO] running `Command { std: "docker" "start" "-a" "1fd3fb9f616d52028ffab3dd7aa9454ceffc8e07d4daa5d0039f5d56e2b272b7", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.6.13 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.3.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling console v0.9.1 [INFO] [stderr] Compiling dialoguer v0.5.0 [INFO] [stderr] Compiling 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[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: 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] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[char]` cannot be indexed by `&mut Select<'_>` [INFO] [stdout] --> src/main.rs:225:20 [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<'_>` [INFO] [stdout] = note: required because of the requirements on the impl of `Index<&mut Select<'_>>` for `[char]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[char]` cannot be indexed by `&mut Select<'_>` [INFO] [stdout] --> src/main.rs:226:29 [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<'_>` [INFO] [stdout] = note: required because of the requirements on the impl of `Index<&mut Select<'_>>` for `[char]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/main.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | let is_other = rand::thread_rng().gen_range(0, 4) == 3; [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: SampleUniform` found in the `rand` crate: [INFO] [stdout] - impl SampleUniform for i128; [INFO] [stdout] - impl SampleUniform for i16; [INFO] [stdout] - impl SampleUniform for i32; [INFO] [stdout] - impl SampleUniform for i64; [INFO] [stdout] and 8 more [INFO] [stdout] note: required by a bound in `gen_range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.7.3/src/lib.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | fn gen_range(&mut self, low: B1, high: B2) -> T [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `gen_range` [INFO] [stdout] help: consider specifying the type arguments in the method call [INFO] [stdout] | [INFO] [stdout] 111 | let is_other = rand::thread_rng().gen_range::(0, 4) == 3; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] help: consider specifying the type arguments in the function call [INFO] [stdout] | [INFO] [stdout] 111 | let is_other = rand::thread_rng().gen_range::(0, 4) == 3; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0283, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `negotiation` due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1fd3fb9f616d52028ffab3dd7aa9454ceffc8e07d4daa5d0039f5d56e2b272b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fd3fb9f616d52028ffab3dd7aa9454ceffc8e07d4daa5d0039f5d56e2b272b7", kill_on_drop: false }` [INFO] [stdout] 1fd3fb9f616d52028ffab3dd7aa9454ceffc8e07d4daa5d0039f5d56e2b272b7