[INFO] cloning repository https://github.com/Afizullah/rustlings
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Afizullah/rustlings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAfizullah%2Frustlings", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAfizullah%2Frustlings'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 30d2d7bb7639965c03528ada24a86af0d53c7e68
[INFO] checking Afizullah/rustlings against master#021fc25b7a48f6051bee1e1f06c7a277e4de1cc9 for pr-151510
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAfizullah%2Frustlings" "/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/Afizullah/rustlings
[INFO] finished tweaking git repo https://github.com/Afizullah/rustlings
[INFO] tweaked toml for git repo https://github.com/Afizullah/rustlings written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Afizullah/rustlings on toolchain 021fc25b7a48f6051bee1e1f06c7a277e4de1cc9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+021fc25b7a48f6051bee1e1f06c7a277e4de1cc9" "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" "+021fc25b7a48f6051bee1e1f06c7a277e4de1cc9" "generate-lockfile" "--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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+021fc25b7a48f6051bee1e1f06c7a277e4de1cc9" "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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+021fc25b7a48f6051bee1e1f06c7a277e4de1cc9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2f8bbdf8a3ade16c07fb262a96a806652d81908e28c67d3f6704d95ccc9932ca
[INFO] running `Command { std: "docker" "start" "-a" "2f8bbdf8a3ade16c07fb262a96a806652d81908e28c67d3f6704d95ccc9932ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2f8bbdf8a3ade16c07fb262a96a806652d81908e28c67d3f6704d95ccc9932ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f8bbdf8a3ade16c07fb262a96a806652d81908e28c67d3f6704d95ccc9932ca", kill_on_drop: false }`
[INFO] [stdout] 2f8bbdf8a3ade16c07fb262a96a806652d81908e28c67d3f6704d95ccc9932ca
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+021fc25b7a48f6051bee1e1f06c7a277e4de1cc9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2cda1f601f6a93b1f02bba22000124a8f28dbe130e81b425e7484f98cb84e1cc
[INFO] running `Command { std: "docker" "start" "-a" "2cda1f601f6a93b1f02bba22000124a8f28dbe130e81b425e7484f98cb84e1cc", kill_on_drop: false }`
[INFO] [stderr]     Checking exercises v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> exercises/18_iterators/iterators1.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let mut fav_fruits_iterator = todo!();
[INFO] [stdout]    |                                       ------- any code following this expression is unreachable
[INFO] [stdout] 17 |
[INFO] [stdout] 18 |         assert_eq!(fav_fruits_iterator.next(), Some(&"banana"));
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]    = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "iterators1" test) due to 1 previous error; 4 warnings emitted
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> exercises/18_iterators/iterators1.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let mut fav_fruits_iterator = todo!();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 17 |
[INFO] [stdout] 18 |         assert_eq!(fav_fruits_iterator.next(), Some(&"banana"));
[INFO] [stdout]    |                    ------------------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `fav_fruits_iterator` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let mut fav_fruits_iterator: /* Type */ = todo!();
[INFO] [stdout]    |                                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> exercises/18_iterators/iterators1.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |         assert_eq!(fav_fruits_iterator.next(), todo!()); // TODO: Replace `todo!()`
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^
[INFO] [stdout]    |         |                                      |
[INFO] [stdout]    |         |                                      any code following this expression is unreachable
[INFO] [stdout]    |         unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> exercises/18_iterators/iterators1.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         assert_eq!(fav_fruits_iterator.next(), todo!()); // TODO: Replace `todo!()`
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^
[INFO] [stdout]    |         |                                      |
[INFO] [stdout]    |         |                                      any code following this expression is unreachable
[INFO] [stdout]    |         unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> exercises/18_iterators/iterators1.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         assert_eq!(fav_fruits_iterator.next(), todo!()); // TODO: Replace `todo!()`
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^
[INFO] [stdout]    |         |                                      |
[INFO] [stdout]    |         |                                      any code following this expression is unreachable
[INFO] [stdout]    |         unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]  --> exercises/22_clippy/clippy2.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 |     for x in option {
[INFO] [stdout]   |              ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]   |
[INFO] [stdout] 5 -     for x in option {
[INFO] [stdout] 5 +     while let Some(x) = option {
[INFO] [stdout]   |
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]   |
[INFO] [stdout] 5 -     for x in option {
[INFO] [stdout] 5 +     if let Some(x) = option {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0072]: recursive type `List` has infinite size
[INFO] [stdout]   --> exercises/19_smart_pointers/box1.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | enum List {
[INFO] [stdout]    | ^^^^^^^^^
[INFO] [stdout] 15 |     Cons(i32, List),
[INFO] [stdout]    |               ---- recursive without indirection
[INFO] [stdout]    |
[INFO] [stdout] help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to break the cycle
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Cons(i32, Box<List>),
[INFO] [stdout]    |               ++++    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "box1" test) due to 3 previous errors
[INFO] [stdout] error[E0391]: cycle detected when computing drop-check constraints for `List`
[INFO] [stdout]   --> exercises/19_smart_pointers/box1.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | enum List {
[INFO] [stdout]    | ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: ...which immediately requires computing drop-check constraints for `List` again
[INFO] [stdout]    = note: cycle used when computing dropck types for `List`
[INFO] [stdout]    = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0391]: cycle detected when computing when `List` needs drop
[INFO] [stdout]   --> exercises/19_smart_pointers/box1.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | enum List {
[INFO] [stdout]    | ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: ...which immediately requires computing when `List` needs drop again
[INFO] [stdout]    = note: cycle used when computing whether `List` needs drop
[INFO] [stdout]    = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0072, E0391.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0072`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "2cda1f601f6a93b1f02bba22000124a8f28dbe130e81b425e7484f98cb84e1cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2cda1f601f6a93b1f02bba22000124a8f28dbe130e81b425e7484f98cb84e1cc", kill_on_drop: false }`
[INFO] [stdout] 2cda1f601f6a93b1f02bba22000124a8f28dbe130e81b425e7484f98cb84e1cc
