[INFO] cloning repository https://github.com/pedro-stanaka/rustlings [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pedro-stanaka/rustlings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedro-stanaka%2Frustlings", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedro-stanaka%2Frustlings'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b3c6b469718014402765175cbf33b6400bc12e8 [INFO] checking pedro-stanaka/rustlings/3b3c6b469718014402765175cbf33b6400bc12e8 against master#9748d87dc70a9a6725c5dbd76ce29d04752b4f90 for pr-144156 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedro-stanaka%2Frustlings" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pedro-stanaka/rustlings [INFO] finished tweaking git repo https://github.com/pedro-stanaka/rustlings [INFO] tweaked toml for git repo https://github.com/pedro-stanaka/rustlings written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pedro-stanaka/rustlings on toolchain 9748d87dc70a9a6725c5dbd76ce29d04752b4f90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a73bc1548ad5a4e58b3112f845ffb3f7be33a0fd41c1f5c339594f27116fc4a [INFO] running `Command { std: "docker" "start" "-a" "0a73bc1548ad5a4e58b3112f845ffb3f7be33a0fd41c1f5c339594f27116fc4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a73bc1548ad5a4e58b3112f845ffb3f7be33a0fd41c1f5c339594f27116fc4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a73bc1548ad5a4e58b3112f845ffb3f7be33a0fd41c1f5c339594f27116fc4a", kill_on_drop: false }` [INFO] [stdout] 0a73bc1548ad5a4e58b3112f845ffb3f7be33a0fd41c1f5c339594f27116fc4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a5e3ccc91c43344c567cac701dd9908e6724fd5186e2711f9affbefd60d42cc [INFO] running `Command { std: "docker" "start" "-a" "2a5e3ccc91c43344c567cac701dd9908e6724fd5186e2711f9affbefd60d42cc", kill_on_drop: false }` [INFO] [stderr] Checking exercises v0.0.0 (/opt/rustwide/workdir) [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[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 = Vec::new(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_price_of_apples` is never used [INFO] [stdout] --> solutions/quizzes/quiz1.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn calculate_price_of_apples(n_apples: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "hashmaps1" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/18_iterators/iterators5.rs:28:72 [INFO] [stdout] | [INFO] [stdout] 28 | fn count_iterator(map: &HashMap, value: Progress) -> usize { [INFO] [stdout] | -------------- ^^^^^ expected `usize`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/18_iterators/iterators5.rs:47:92 [INFO] [stdout] | [INFO] [stdout] 47 | fn count_collection_iterator(collection: &[HashMap], value: Progress) -> usize { [INFO] [stdout] | ------------------------- ^^^^^ expected `usize`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [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 "iterators5" test) due to 2 previous errors [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" "2a5e3ccc91c43344c567cac701dd9908e6724fd5186e2711f9affbefd60d42cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a5e3ccc91c43344c567cac701dd9908e6724fd5186e2711f9affbefd60d42cc", kill_on_drop: false }` [INFO] [stdout] 2a5e3ccc91c43344c567cac701dd9908e6724fd5186e2711f9affbefd60d42cc