[INFO] cloning repository https://github.com/MattiaSalve/KBOpt
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MattiaSalve/KBOpt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMattiaSalve%2FKBOpt", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMattiaSalve%2FKBOpt'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a1b30635eb55c623ab8f30f38c0c7a9d48c2c13e
[INFO] checking MattiaSalve/KBOpt against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6+rustflags=-Znext-solver=coherence for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMattiaSalve%2FKBOpt" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/MattiaSalve/KBOpt
[INFO] finished tweaking git repo https://github.com/MattiaSalve/KBOpt
[INFO] tweaked toml for git repo https://github.com/MattiaSalve/KBOpt written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MattiaSalve/KBOpt on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/MattiaSalve/KBOpt 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "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-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8b305a08ea3c766d2ad93cdceed958939b24122dc00d1eabf5c959db951ecc3f
[INFO] running `Command { std: "docker" "start" "8b305a08ea3c766d2ad93cdceed958939b24122dc00d1eabf5c959db951ecc3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8b305a08ea3c766d2ad93cdceed958939b24122dc00d1eabf5c959db951ecc3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8b305a08ea3c766d2ad93cdceed958939b24122dc00d1eabf5c959db951ecc3f" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8b305a08ea3c766d2ad93cdceed958939b24122dc00d1eabf5c959db951ecc3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Znext-solver=coherence" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8b305a08ea3c766d2ad93cdceed958939b24122dc00d1eabf5c959db951ecc3f" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking kbopt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: this `if` expression is missing a block after the condition
[INFO] [stdout]    --> src/models.rs:120:22
[INFO] [stdout]     |
[INFO] [stdout] 120 |                 else if k1.finger !=  {
[INFO] [stdout]     |                      ^^
[INFO] [stdout]     |
[INFO] [stdout] help: this binary operation is possibly unfinished
[INFO] [stdout]    --> src/models.rs:120:25
[INFO] [stdout]     |
[INFO] [stdout] 120 |                 else if k1.finger !=  {
[INFO] [stdout]     |                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this `if` expression is missing a block after the condition
[INFO] [stdout]    --> src/models.rs:120:22
[INFO] [stdout]     |
[INFO] [stdout] 120 |                 else if k1.finger !=  {
[INFO] [stdout]     |                      ^^
[INFO] [stdout]     |
[INFO] [stdout] help: this binary operation is possibly unfinished
[INFO] [stdout]    --> src/models.rs:120:25
[INFO] [stdout]     |
[INFO] [stdout] 120 |                 else if k1.finger !=  {
[INFO] [stdout]     |                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/costs.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/models.rs:71:20
[INFO] [stdout]    |
[INFO] [stdout] 70 |             let hand = match col { 
[INFO] [stdout]    |                              --- this expression has type `usize`
[INFO] [stdout] 71 |                 0..half => false,
[INFO] [stdout]    |                 -  ^^^^ expected `usize`, found `i32`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this is of type `{integer}`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/costs.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]  --> src/costs.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use super::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot add-assign `{integer}` to `f64`
[INFO] [stdout]    --> src/models.rs:118:32
[INFO] [stdout]     |
[INFO] [stdout] 118 |                     total_cost += 0;
[INFO] [stdout]     |                                ^^ no implementation for `f64 += {integer}`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `AddAssign<{integer}>` is not implemented for `f64`
[INFO] [stdout] help: `f64` implements trait `AddAssign<Rhs>`
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/internal_macros.rs:61:8
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AddAssign<&f64>`
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/ops/arith.rs:786:8
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AddAssign`
[INFO] [stdout]    ::: /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/ops/arith.rs:799:0
[INFO] [stdout]     |
[INFO] [stdout]     = note: in this macro invocation
[INFO] [stdout]     = note: this error originates in the macro `forward_ref_op_assign` which comes from the expansion of the macro `add_assign_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider using a floating-point literal by writing it with `.0`
[INFO] [stdout]     |
[INFO] [stdout] 118 |                     total_cost += 0.0;
[INFO] [stdout]     |                                    ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kbopt` (bin "kbopt") due to 3 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/models.rs:71:20
[INFO] [stdout]    |
[INFO] [stdout] 70 |             let hand = match col { 
[INFO] [stdout]    |                              --- this expression has type `usize`
[INFO] [stdout] 71 |                 0..half => false,
[INFO] [stdout]    |                 -  ^^^^ expected `usize`, found `i32`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this is of type `{integer}`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot add-assign `{integer}` to `f64`
[INFO] [stdout]    --> src/models.rs:118:32
[INFO] [stdout]     |
[INFO] [stdout] 118 |                     total_cost += 0;
[INFO] [stdout]     |                                ^^ no implementation for `f64 += {integer}`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `AddAssign<{integer}>` is not implemented for `f64`
[INFO] [stdout] help: `f64` implements trait `AddAssign<Rhs>`
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/internal_macros.rs:61:8
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AddAssign<&f64>`
[INFO] [stdout]    --> /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/ops/arith.rs:786:8
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AddAssign`
[INFO] [stdout]    ::: /rustc/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/library/core/src/ops/arith.rs:799:0
[INFO] [stdout]     |
[INFO] [stdout]     = note: in this macro invocation
[INFO] [stdout]     = note: this error originates in the macro `forward_ref_op_assign` which comes from the expansion of the macro `add_assign_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider using a floating-point literal by writing it with `.0`
[INFO] [stdout]     |
[INFO] [stdout] 118 |                     total_cost += 0.0;
[INFO] [stdout]     |                                    ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/models.rs:151:13
[INFO] [stdout]     |
[INFO] [stdout] 151 |         let mut corpus = Corpus::from_string("The quick brown fox jumps over the lazy dog");
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kbopt` (bin "kbopt" test) due to 3 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8b305a08ea3c766d2ad93cdceed958939b24122dc00d1eabf5c959db951ecc3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8b305a08ea3c766d2ad93cdceed958939b24122dc00d1eabf5c959db951ecc3f", kill_on_drop: false }`
[INFO] [stdout] 8b305a08ea3c766d2ad93cdceed958939b24122dc00d1eabf5c959db951ecc3f
