[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 master#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [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 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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" "+90442458ac46b1d5eed752c316da25450f67285b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15a1d1da59d7c305780576a77928a99300f10180b74b6d590d772ddc3f146e0f [INFO] running `Command { std: "docker" "start" "-a" "15a1d1da59d7c305780576a77928a99300f10180b74b6d590d772ddc3f146e0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15a1d1da59d7c305780576a77928a99300f10180b74b6d590d772ddc3f146e0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15a1d1da59d7c305780576a77928a99300f10180b74b6d590d772ddc3f146e0f", kill_on_drop: false }` [INFO] [stdout] 15a1d1da59d7c305780576a77928a99300f10180b74b6d590d772ddc3f146e0f [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 742c581805e5c6869d16c3faa6b06c23fbb98e53c960afcffb128931af659648 [INFO] running `Command { std: "docker" "start" "-a" "742c581805e5c6869d16c3faa6b06c23fbb98e53c960afcffb128931af659648", 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] note: associated function defined here [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] note: associated function defined here [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" "742c581805e5c6869d16c3faa6b06c23fbb98e53c960afcffb128931af659648", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "742c581805e5c6869d16c3faa6b06c23fbb98e53c960afcffb128931af659648", kill_on_drop: false }` [INFO] [stdout] 742c581805e5c6869d16c3faa6b06c23fbb98e53c960afcffb128931af659648