[INFO] cloning repository https://github.com/kai-happyvirus/rustlings_training
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kai-happyvirus/rustlings_training" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkai-happyvirus%2Frustlings_training", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkai-happyvirus%2Frustlings_training'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f7c76a19c05767e4ab159d07c8f28e021ef75924
[INFO] checking kai-happyvirus/rustlings_training against 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6 for pr-160581
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkai-happyvirus%2Frustlings_training" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kai-happyvirus/rustlings_training
[INFO] finished tweaking git repo https://github.com/kai-happyvirus/rustlings_training
[INFO] tweaked toml for git repo https://github.com/kai-happyvirus/rustlings_training written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kai-happyvirus/rustlings_training on toolchain 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kai-happyvirus/rustlings_training 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" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9e402173124fb3807c40ddcb782261c7a8122a2fe1bd231eaf2b446280c70ea2
[INFO] running `Command { std: "docker" "start" "9e402173124fb3807c40ddcb782261c7a8122a2fe1bd231eaf2b446280c70ea2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9e402173124fb3807c40ddcb782261c7a8122a2fe1bd231eaf2b446280c70ea2", 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" "9e402173124fb3807c40ddcb782261c7a8122a2fe1bd231eaf2b446280c70ea2" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9e402173124fb3807c40ddcb782261c7a8122a2fe1bd231eaf2b446280c70ea2", 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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9e402173124fb3807c40ddcb782261c7a8122a2fe1bd231eaf2b446280c70ea2" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking exercises v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps3.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut scores = HashMap::<&str, TeamScores>::new();
[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] warning: unused variable: `team_1_name`
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps3.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let team_1_name = split_iterator.next().unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_team_1_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `team_2_name`
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps3.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let team_2_name = split_iterator.next().unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_team_2_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `team_1_score`
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps3.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let team_1_score: u8 = split_iterator.next().unwrap().parse().unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_team_1_score`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `team_2_score`
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps3.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let team_2_score: u8 = split_iterator.next().unwrap().parse().unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_team_2_score`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `basket`
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps2.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn fruit_basket(basket: &mut HashMap<Fruit, u32>) {
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_basket`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fruit`
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps2.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     for fruit in fruit_kinds {
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_fruit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `basket` in this scope
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps1.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     basket.insert(String::from("banana"), 2);
[INFO] [stdout]    |     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `basket` in this scope
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps1.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     basket
[INFO] [stdout]    |     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `child_numbers` in this scope
[INFO] [stdout]   --> exercises/19_smart_pointers/arc1.rs:35:28
[INFO] [stdout]    |
[INFO] [stdout] 35 |             let sum: u32 = child_numbers.iter().filter(|&&n| n % 8 == offset).sum();
[INFO] [stdout]    |                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> exercises/09_strings/strings1.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn current_favorite_color() -> String {
[INFO] [stdout]   |                                ------ expected `String` because of return type
[INFO] [stdout] 3 |     "blue"
[INFO] [stdout]   |     ^^^^^^ expected `String`, found `&str`
[INFO] [stdout]   |
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]   |
[INFO] [stdout] 3 |     "blue".to_string()
[INFO] [stdout]   |           ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused import: `sync::Arc`
[INFO] [stdout]   --> exercises/19_smart_pointers/arc1.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::{sync::Arc, thread};
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> exercises/19_smart_pointers/arc1.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | #![forbid(unused_imports)]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "strings1" test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `exercises` (bin "hashmaps1" test) due to 2 previous errors
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "arc1" test) due to 2 previous errors
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/14_generics/generics2.rs:29:33
[INFO] [stdout]    |
[INFO] [stdout] 29 |         assert_eq!(Wrapper::new("Foo").value, "Foo");
[INFO] [stdout]    |                    ------------ ^^^^^ expected `u32`, found `&str`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> exercises/14_generics/generics2.rs:9:8
[INFO] [stdout]    |
[INFO] [stdout]  9 |     fn new(value: u32) -> Self {
[INFO] [stdout]    |        ^^^ ----------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/14_generics/generics2.rs:29:47
[INFO] [stdout]    |
[INFO] [stdout] 29 |         assert_eq!(Wrapper::new("Foo").value, "Foo");
[INFO] [stdout]    |                                               ^^^^^ expected `u32`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "generics2" test) due to 2 previous errors
[INFO] [stdout] error[E0282]: type annotations needed for `Vec<_>`
[INFO] [stdout]  --> exercises/14_generics/generics1.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut numbers = Vec::new();
[INFO] [stdout]   |         ^^^^^^^^^^^   ---------- type must be known at this point
[INFO] [stdout]   |
[INFO] [stdout] help: consider giving `numbers` an explicit type, where the type for type parameter `T` is specified
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut numbers: Vec<T> = Vec::new();
[INFO] [stdout]   |                    ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "generics1" test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "9e402173124fb3807c40ddcb782261c7a8122a2fe1bd231eaf2b446280c70ea2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e402173124fb3807c40ddcb782261c7a8122a2fe1bd231eaf2b446280c70ea2", kill_on_drop: false }`
[INFO] [stdout] 9e402173124fb3807c40ddcb782261c7a8122a2fe1bd231eaf2b446280c70ea2
