[INFO] cloning repository https://github.com/hkapp/hakarl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hkapp/hakarl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhkapp%2Fhakarl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhkapp%2Fhakarl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e999bade9a7554b2b4d5d792c0fb0dedb998935 [INFO] testing hkapp/hakarl against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhkapp%2Fhakarl" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hkapp/hakarl 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/hkapp/hakarl [INFO] finished tweaking git repo https://github.com/hkapp/hakarl [INFO] tweaked toml for git repo https://github.com/hkapp/hakarl written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/hkapp/hakarl 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 chess v3.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 403931e62a8035405330f5310afbeb4fc2adce4619c6d6c3ba2960ee70a60cfc [INFO] running `Command { std: "docker" "start" "-a" "403931e62a8035405330f5310afbeb4fc2adce4619c6d6c3ba2960ee70a60cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "403931e62a8035405330f5310afbeb4fc2adce4619c6d6c3ba2960ee70a60cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "403931e62a8035405330f5310afbeb4fc2adce4619c6d6c3ba2960ee70a60cfc", kill_on_drop: false }` [INFO] [stdout] 403931e62a8035405330f5310afbeb4fc2adce4619c6d6c3ba2960ee70a60cfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 757472e3af13d639606e0837b074f3636ae34bfcfb9f463749a8d1f037e62f34 [INFO] running `Command { std: "docker" "start" "-a" "757472e3af13d639606e0837b074f3636ae34bfcfb9f463749a8d1f037e62f34", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling object v0.21.1 [INFO] [stderr] Compiling rustc-demangle v0.1.17 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling atomic-option v0.1.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling chess v3.1.1 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.53 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling hakarl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `File` is imported redundantly [INFO] [stdout] --> src/pgn.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 1 | use chess::{self, ChessMove, Piece, Board, Color, Square, File}; [INFO] [stdout] | ---- the item `File` is already imported here [INFO] [stdout] ... [INFO] [stdout] 302 | use chess::File; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::iter` [INFO] [stdout] --> src/play/searchtree.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::iter; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/play/searchtree.rs:215:6 [INFO] [stdout] | [INFO] [stdout] 215 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/play/searchtree.rs:250:6 [INFO] [stdout] | [INFO] [stdout] 250 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for type parameter `N` in the current scope [INFO] [stdout] --> src/play/searchtree.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | result = bifold(tree.clone()) [INFO] [stdout] | ^^^^^ method not found in `N` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the type parameter is bounded by the trait [INFO] [stdout] help: the following trait defines an item `clone`, perhaps you need to restrict type parameter `N` with it: [INFO] [stdout] | [INFO] [stdout] 57 | pub fn bifold(tree: N, init_value: V, process_node: FN, process_branch: FE) -> V [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 1 argument was supplied [INFO] [stdout] --> src/play/searchtree.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | result = bifold(tree.clone()) [INFO] [stdout] | ^^^^^^ ------------ supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 4 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/play/searchtree.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn bifold(tree: N, init_value: V, process_node: FN, process_branch: FE) -> V [INFO] [stdout] | ^^^^^^ ------- ------------- ---------------- ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/play/searchtree.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn bifold(tree: N, init_value: V, process_node: FN, process_branch: FE) -> V [INFO] [stdout] | - this type parameter - expected `V` because of return type [INFO] [stdout] ... [INFO] [stdout] 65 | / for branch in tree.branches() { [INFO] [stdout] 66 | | result = process_branch(result, &tree, &branch); [INFO] [stdout] 67 | | result = bifold(tree.clone()) [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____^ expected type parameter `V`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `V` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hakarl` due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "757472e3af13d639606e0837b074f3636ae34bfcfb9f463749a8d1f037e62f34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "757472e3af13d639606e0837b074f3636ae34bfcfb9f463749a8d1f037e62f34", kill_on_drop: false }` [INFO] [stdout] 757472e3af13d639606e0837b074f3636ae34bfcfb9f463749a8d1f037e62f34