[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#3e826bb11228508fbe749e594038d6727208aa94 for pr-82322 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhkapp%2Fhakarl" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hkapp/hakarl on toolchain 3e826bb11228508fbe749e594038d6727208aa94 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e826bb11228508fbe749e594038d6727208aa94" "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-9/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" "+3e826bb11228508fbe749e594038d6727208aa94" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+3e826bb11228508fbe749e594038d6727208aa94" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1802fd20ecd162ceabc2bcafdaf80056799429b57a77f82eaaf2001ad29c426 [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" "f1802fd20ecd162ceabc2bcafdaf80056799429b57a77f82eaaf2001ad29c426", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1802fd20ecd162ceabc2bcafdaf80056799429b57a77f82eaaf2001ad29c426", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1802fd20ecd162ceabc2bcafdaf80056799429b57a77f82eaaf2001ad29c426", kill_on_drop: false }` [INFO] [stdout] f1802fd20ecd162ceabc2bcafdaf80056799429b57a77f82eaaf2001ad29c426 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+3e826bb11228508fbe749e594038d6727208aa94" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8eb126ea5d3a630487d8ba98b703e6217892836f79d3aeed54ff62b4117156cc [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" "8eb126ea5d3a630487d8ba98b703e6217892836f79d3aeed54ff62b4117156cc", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rustc-demangle v0.1.17 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking object v0.21.1 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling chess v3.1.1 [INFO] [stderr] Checking backtrace v0.3.53 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [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: 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: 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: 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` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8eb126ea5d3a630487d8ba98b703e6217892836f79d3aeed54ff62b4117156cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8eb126ea5d3a630487d8ba98b703e6217892836f79d3aeed54ff62b4117156cc", kill_on_drop: false }` [INFO] [stdout] 8eb126ea5d3a630487d8ba98b703e6217892836f79d3aeed54ff62b4117156cc