[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] checking hkapp/hakarl against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhkapp%2Fhakarl" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hkapp/hakarl on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-4/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eacfa968e91048cb18a264457effad22f13f440343da414e53c64e4fde3eff9b [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" "eacfa968e91048cb18a264457effad22f13f440343da414e53c64e4fde3eff9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eacfa968e91048cb18a264457effad22f13f440343da414e53c64e4fde3eff9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eacfa968e91048cb18a264457effad22f13f440343da414e53c64e4fde3eff9b", kill_on_drop: false }` [INFO] [stdout] eacfa968e91048cb18a264457effad22f13f440343da414e53c64e4fde3eff9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0360dcead90ab89f0b74ddb35b0c7c7bdede76400465d4c977d2c2a001bcffb [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" "b0360dcead90ab89f0b74ddb35b0c7c7bdede76400465d4c977d2c2a001bcffb", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking atomic-option v0.1.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking arrayvec v0.4.12 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling chess v3.1.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking backtrace v0.3.53 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking 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] 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[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[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[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[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[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[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] [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b0360dcead90ab89f0b74ddb35b0c7c7bdede76400465d4c977d2c2a001bcffb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0360dcead90ab89f0b74ddb35b0c7c7bdede76400465d4c977d2c2a001bcffb", kill_on_drop: false }` [INFO] [stdout] b0360dcead90ab89f0b74ddb35b0c7c7bdede76400465d4c977d2c2a001bcffb