[INFO] cloning repository https://github.com/matthias-margush/rhess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matthias-margush/rhess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthias-margush%2Frhess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthias-margush%2Frhess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8814f9d7ba21c14c13ed57036e9d759d755b8659 [INFO] checking matthias-margush/rhess against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthias-margush%2Frhess" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matthias-margush/rhess on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/matthias-margush/rhess [INFO] finished tweaking git repo https://github.com/matthias-margush/rhess [INFO] tweaked toml for git repo https://github.com/matthias-margush/rhess written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/matthias-margush/rhess already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "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] 528f07f27a42aeb0551a029240720b2d772b2ce20256d25526312f9ca0499494 [INFO] running `Command { std: "docker" "start" "-a" "528f07f27a42aeb0551a029240720b2d772b2ce20256d25526312f9ca0499494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "528f07f27a42aeb0551a029240720b2d772b2ce20256d25526312f9ca0499494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "528f07f27a42aeb0551a029240720b2d772b2ce20256d25526312f9ca0499494", kill_on_drop: false }` [INFO] [stdout] 528f07f27a42aeb0551a029240720b2d772b2ce20256d25526312f9ca0499494 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4901002ca38d57bd7de6c2e222d0467152d2e8905475f806e85d216be024bd07 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4901002ca38d57bd7de6c2e222d0467152d2e8905475f806e85d216be024bd07", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking either v1.0.1 [INFO] [stderr] Checking itertools v0.5.4 [INFO] [stderr] Checking rhess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/game.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | try!(write!(f, "{:?}\n", self.board[row])) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/game.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | try!(write!(f, "{:?}\n", self.board[row])) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'array_map' [INFO] [stdout] --> src/moves.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | [-2, 2].map() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #75243 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/moves.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | [-2, 2].map() [INFO] [stdout] | ^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'array_map' [INFO] [stdout] --> src/moves.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | [-2, 2].map() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #75243 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/moves.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | [-2, 2].map() [INFO] [stdout] | ^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/moves.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn possible_knight_moves(Position(i, j): Position) -> Vec { [INFO] [stdout] | ------------- expected `Vec` because of return type [INFO] [stdout] 9 | [-2, 2].map() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Vec`, found array of 2 elements [INFO] [stdout] | help: try using a conversion method: `[-2, 2].map().to_vec()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found array `[_; 2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rhess` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/moves.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn possible_knight_moves(Position(i, j): Position) -> Vec { [INFO] [stdout] | ------------- expected `Vec` because of return type [INFO] [stdout] 9 | [-2, 2].map() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Vec`, found array of 2 elements [INFO] [stdout] | help: try using a conversion method: `[-2, 2].map().to_vec()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found array `[_; 2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4901002ca38d57bd7de6c2e222d0467152d2e8905475f806e85d216be024bd07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4901002ca38d57bd7de6c2e222d0467152d2e8905475f806e85d216be024bd07", kill_on_drop: false }` [INFO] [stdout] 4901002ca38d57bd7de6c2e222d0467152d2e8905475f806e85d216be024bd07