[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 try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthias-margush%2Frhess" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matthias-margush/rhess on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-2/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded either v1.0.1 [INFO] [stderr] Downloaded itertools v0.5.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6bcfcb6b478998453a0ad7a43d434f35254787d82584c613cbd79a4ae9cc0e6 [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" "d6bcfcb6b478998453a0ad7a43d434f35254787d82584c613cbd79a4ae9cc0e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6bcfcb6b478998453a0ad7a43d434f35254787d82584c613cbd79a4ae9cc0e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6bcfcb6b478998453a0ad7a43d434f35254787d82584c613cbd79a4ae9cc0e6", kill_on_drop: false }` [INFO] [stdout] d6bcfcb6b478998453a0ad7a43d434f35254787d82584c613cbd79a4ae9cc0e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--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] 85bdee56eb9a1710af841e3cfaaa4c9be78a36594fa82dd44e8987e3296c4db3 [INFO] running `Command { std: "docker" "start" "-a" "85bdee56eb9a1710af841e3cfaaa4c9be78a36594fa82dd44e8987e3296c4db3", kill_on_drop: false }` [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] = help: add `#![feature(array_map)]` to the crate attributes to enable [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] = help: add `#![feature(array_map)]` to the crate attributes to enable [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" "85bdee56eb9a1710af841e3cfaaa4c9be78a36594fa82dd44e8987e3296c4db3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85bdee56eb9a1710af841e3cfaaa4c9be78a36594fa82dd44e8987e3296c4db3", kill_on_drop: false }` [INFO] [stdout] 85bdee56eb9a1710af841e3cfaaa4c9be78a36594fa82dd44e8987e3296c4db3