[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 try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhkapp%2Fhakarl" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hkapp/hakarl on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hkapp/hakarl already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6700c74b1e8a300b7f12694dfa2fa5c82543adacf990135d2ebcabea11cd11fd [INFO] running `Command { std: "docker" "start" "-a" "6700c74b1e8a300b7f12694dfa2fa5c82543adacf990135d2ebcabea11cd11fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6700c74b1e8a300b7f12694dfa2fa5c82543adacf990135d2ebcabea11cd11fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6700c74b1e8a300b7f12694dfa2fa5c82543adacf990135d2ebcabea11cd11fd", kill_on_drop: false }` [INFO] [stdout] 6700c74b1e8a300b7f12694dfa2fa5c82543adacf990135d2ebcabea11cd11fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b0019bbf722f068f653c710edc570c9d9dd94514784da92206a46319a39b83d1 [INFO] running `Command { std: "docker" "start" "-a" "b0019bbf722f068f653c710edc570c9d9dd94514784da92206a46319a39b83d1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling object v0.21.1 [INFO] [stderr] Compiling rustc-demangle v0.1.17 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling atomic-option v0.1.2 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand v0.4.6 [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: 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] = 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] 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] 57 | pub fn bifold(tree: N, init_value: V, process_node: FN, process_branch: FE) -> V [INFO] [stdout] | - method `clone` not found for this type parameter [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] 59 | N: SearchNode + Clone, [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] | ^^^^^^-------------- three arguments are missing [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] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 67 | result = bifold(tree.clone(), /* V */, /* process_node */, /* process_branch */) [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] | - expected 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] = note: the caller chooses a type for `V` which can be different from `()` [INFO] [stdout] = note: `for` loops evaluate to unit type `()` [INFO] [stdout] help: consider returning a value here [INFO] [stdout] | [INFO] [stdout] 68 ~ } [INFO] [stdout] 69 + /* `V` value */ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/pgn.rs:425:22 [INFO] [stdout] | [INFO] [stdout] 425 | fn parse_castle_move(s: &str) -> ParseRes { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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` (bin "hakarl") due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b0019bbf722f068f653c710edc570c9d9dd94514784da92206a46319a39b83d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0019bbf722f068f653c710edc570c9d9dd94514784da92206a46319a39b83d1", kill_on_drop: false }` [INFO] [stdout] b0019bbf722f068f653c710edc570c9d9dd94514784da92206a46319a39b83d1