[INFO] cloning repository https://github.com/rohittbuilds/rustlings-learning-journal
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rohittbuilds/rustlings-learning-journal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohittbuilds%2Frustlings-learning-journal"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohittbuilds%2Frustlings-learning-journal'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 8886faf8c79bb28d3b86bf5ef48f107a21e2a05a
[INFO] testing rohittbuilds/rustlings-learning-journal against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohittbuilds%2Frustlings-learning-journal" "/workspace/builds/worker-5-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/rohittbuilds/rustlings-learning-journal
[INFO] finished tweaking git repo https://github.com/rohittbuilds/rustlings-learning-journal
[INFO] tweaked toml for git repo https://github.com/rohittbuilds/rustlings-learning-journal written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rohittbuilds/rustlings-learning-journal on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/rohittbuilds/rustlings-learning-journal already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 2ba82d22096719b0b800615cac10923827418a3d64a2873e4eba0a863d667525
[INFO] running `"docker" "start" "2ba82d22096719b0b800615cac10923827418a3d64a2873e4eba0a863d667525"`
[INFO] running `"docker" "inspect" "2ba82d22096719b0b800615cac10923827418a3d64a2873e4eba0a863d667525"`
[INFO] running `"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" "2ba82d22096719b0b800615cac10923827418a3d64a2873e4eba0a863d667525" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "2ba82d22096719b0b800615cac10923827418a3d64a2873e4eba0a863d667525"`
[INFO] running `"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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2ba82d22096719b0b800615cac10923827418a3d64a2873e4eba0a863d667525" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling exercises v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> exercises/18_iterators/iterators3.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn divide(a: i64, b: i64) -> Result<i64, DivisionError> {
[INFO] [stdout]    |           ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> exercises/18_iterators/iterators3.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn divide(a: i64, b: i64) -> Result<i64, DivisionError> {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `division_results`
[INFO] [stdout]   --> exercises/18_iterators/iterators3.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let division_results = numbers.into_iter().map(|n| divide(n, 27));
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_division_results`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `division_results`
[INFO] [stdout]   --> exercises/18_iterators/iterators3.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let division_results = numbers.into_iter().map(|n| divide(n, 27));
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_division_results`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0381]: used binding `x` isn't initialized
[INFO] [stdout]  --> exercises/01_variables/variables3.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let x: i32;
[INFO] [stdout]   |         - binding declared here but left uninitialized
[INFO] [stdout] 4 |
[INFO] [stdout] 5 |     println!("Number {x}");
[INFO] [stdout]   |                       ^ `x` used here but it isn't initialized
[INFO] [stdout]   |
[INFO] [stdout] help: consider assigning a value
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let x: i32 = 42;
[INFO] [stdout]   |                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0381`.
[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[E0308]: mismatched types
[INFO] [stdout]   --> exercises/18_iterators/iterators5.rs:28:72
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn count_iterator(map: &HashMap<String, Progress>, 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<String, Progress>], 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") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `exercises` (bin "variables3") due to 1 previous error
[INFO] running `"docker" "inspect" "2ba82d22096719b0b800615cac10923827418a3d64a2873e4eba0a863d667525"`
[INFO] running `"docker" "rm" "-f" "2ba82d22096719b0b800615cac10923827418a3d64a2873e4eba0a863d667525"`
[INFO] [stdout] 2ba82d22096719b0b800615cac10923827418a3d64a2873e4eba0a863d667525
