[INFO] cloning repository https://github.com/Anu-Ra-g/Rustlings_course
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Anu-Ra-g/Rustlings_course" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnu-Ra-g%2FRustlings_course", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnu-Ra-g%2FRustlings_course'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2cf814396d063ae41607a87034f5a14a9dd3ce35
[INFO] checking Anu-Ra-g/Rustlings_course against master#9050733395f7c10560d49f549e022f411fa28cea for pr-146972
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnu-Ra-g%2FRustlings_course" "/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/Anu-Ra-g/Rustlings_course
[INFO] finished tweaking git repo https://github.com/Anu-Ra-g/Rustlings_course
[INFO] tweaked toml for git repo https://github.com/Anu-Ra-g/Rustlings_course written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Anu-Ra-g/Rustlings_course on toolchain 9050733395f7c10560d49f549e022f411fa28cea
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9050733395f7c10560d49f549e022f411fa28cea" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Anu-Ra-g/Rustlings_course 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" "+9050733395f7c10560d49f549e022f411fa28cea" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+9050733395f7c10560d49f549e022f411fa28cea" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 549fa1a5597664bded33e7ed31e12eb9392cf33426fad9c9c528f7ea46f1fe05
[INFO] running `Command { std: "docker" "start" "-a" "549fa1a5597664bded33e7ed31e12eb9392cf33426fad9c9c528f7ea46f1fe05", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "549fa1a5597664bded33e7ed31e12eb9392cf33426fad9c9c528f7ea46f1fe05", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "549fa1a5597664bded33e7ed31e12eb9392cf33426fad9c9c528f7ea46f1fe05", kill_on_drop: false }`
[INFO] [stdout] 549fa1a5597664bded33e7ed31e12eb9392cf33426fad9c9c528f7ea46f1fe05
[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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+9050733395f7c10560d49f549e022f411fa28cea" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a38233fb026fe260b69911ee332ace6f6ec191961da0fa551af55bf79f73275d
[INFO] running `Command { std: "docker" "start" "-a" "a38233fb026fe260b69911ee332ace6f6ec191961da0fa551af55bf79f73275d", kill_on_drop: false }`
[INFO] [stderr]     Checking exercises v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> exercises/20_threads/threads2.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     println!("Jobs done: {}", todo!());
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^-------^
[INFO] [stdout]    |     |                         |
[INFO] [stdout]    |     |                         any code following this expression is unreachable
[INFO] [stdout]    |     unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]    = note: this warning originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0594]: cannot assign to data in an `Arc`
[INFO] [stdout]   --> exercises/20_threads/threads2.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |             status_shared.jobs_done += 1;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot assign
[INFO] [stdout]    |
[INFO] [stdout]    = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc<JobStatus>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0594`.
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `my_macro` in this scope
[INFO] [stdout]  --> exercises/21_macros/macros2.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     my_macro!();
[INFO] [stdout]   |     ^^^^^^^^ consider moving the definition of `my_macro` before this call
[INFO] [stdout]   |
[INFO] [stdout] note: a macro with the same name exists, but it appears later
[INFO] [stdout]  --> exercises/21_macros/macros2.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | macro_rules! my_macro {
[INFO] [stdout]   |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `my_macro`
[INFO] [stdout]  --> exercises/21_macros/macros2.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | macro_rules! my_macro {
[INFO] [stdout]   |              ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_ref` found for type parameter `T` in the current scope
[INFO] [stdout]  --> exercises/23_conversions/as_ref_mut.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn byte_counter<T>(arg: T) -> usize {
[INFO] [stdout]   |                 - method `as_ref` not found for this type parameter
[INFO] [stdout] 9 |     arg.as_ref().len()
[INFO] [stdout]   |         ^^^^^^ method not found in `T`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the type parameter is bounded by the trait
[INFO] [stdout] help: the following trait defines an item `as_ref`, perhaps you need to restrict type parameter `T` with it:
[INFO] [stdout]   |
[INFO] [stdout] 8 | fn byte_counter<T: AsRef</* T */>>(arg: T) -> usize {
[INFO] [stdout]   |                  ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "threads2") due to 1 previous error; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `exercises` (bin "macros2") due to 1 previous error; 1 warning emitted
[INFO] [stdout] error[E0599]: no method named `as_ref` found for type parameter `T` in the current scope
[INFO] [stdout]   --> exercises/23_conversions/as_ref_mut.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn char_counter<T>(arg: T) -> usize {
[INFO] [stdout]    |                 - method `as_ref` not found for this type parameter
[INFO] [stdout] 15 |     arg.as_ref().chars().count()
[INFO] [stdout]    |         ^^^^^^ method not found in `T`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the type parameter is bounded by the trait
[INFO] [stdout] help: the following trait defines an item `as_ref`, perhaps you need to restrict type parameter `T` with it:
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn char_counter<T: AsRef</* T */>>(arg: T) -> usize {
[INFO] [stdout]    |                  ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[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] [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] [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: unused variable: `arg`
[INFO] [stdout]   --> exercises/23_conversions/as_ref_mut.rs:20:14
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn num_sq<T>(arg: &mut T) {
[INFO] [stdout]    |              ^^^ help: if this is intentional, prefix it with an underscore: `_arg`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "iterators1" test) due to 1 previous error; 4 warnings emitted
[INFO] [stderr] error: could not compile `exercises` (bin "as_ref_mut" test) due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "a38233fb026fe260b69911ee332ace6f6ec191961da0fa551af55bf79f73275d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a38233fb026fe260b69911ee332ace6f6ec191961da0fa551af55bf79f73275d", kill_on_drop: false }`
[INFO] [stdout] a38233fb026fe260b69911ee332ace6f6ec191961da0fa551af55bf79f73275d
