[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 try#3a4cb0edb4040379c037e06efeb5409e44be7b77 for pr-146377
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnu-Ra-g%2FRustlings_course" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Anu-Ra-g/Rustlings_course on toolchain 3a4cb0edb4040379c037e06efeb5409e44be7b77
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "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" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d065594e7f4550dc169f0c413adbe81695944b9df5c3cca05c530bb64b025e29
[INFO] running `Command { std: "docker" "start" "-a" "d065594e7f4550dc169f0c413adbe81695944b9df5c3cca05c530bb64b025e29", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d065594e7f4550dc169f0c413adbe81695944b9df5c3cca05c530bb64b025e29", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d065594e7f4550dc169f0c413adbe81695944b9df5c3cca05c530bb64b025e29", kill_on_drop: false }`
[INFO] [stdout] d065594e7f4550dc169f0c413adbe81695944b9df5c3cca05c530bb64b025e29
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1e0ebdc2b92f1436315e593cd177a2e7653e004ae56e567b577f99ed92850d23
[INFO] running `Command { std: "docker" "start" "-a" "1e0ebdc2b92f1436315e593cd177a2e7653e004ae56e567b577f99ed92850d23", kill_on_drop: false }`
[INFO] [stderr]     Checking exercises v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `,`, `:`, or `}`, found `!`
[INFO] [stdout]   --> exercises/12_options/options2.rs:14:22
[INFO] [stdout]    |
[INFO] [stdout] 13 |         word = optional_target {
[INFO] [stdout]    |                --------------- while parsing this struct
[INFO] [stdout] 14 |             assert_eq!(word, target);
[INFO] [stdout]    |             ---------^ expected one of `,`, `:`, or `}`
[INFO] [stdout]    |             |
[INFO] [stdout]    |             while parsing this struct field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `,`, `:`, or `}`, found `)`
[INFO] [stdout]   --> exercises/12_options/options2.rs:14:36
[INFO] [stdout]    |
[INFO] [stdout] 13 |         word = optional_target {
[INFO] [stdout]    |                --------------- while parsing this struct
[INFO] [stdout] 14 |             assert_eq!(word, target);
[INFO] [stdout]    |                                    ^ expected one of `,`, `:`, or `}`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `{`
[INFO] [stdout]   --> exercises/12_options/options2.rs:32:43
[INFO] [stdout]    |
[INFO] [stdout] 32 |         integer = optional_integers.pop() {
[INFO] [stdout]    |                                           ^ expected one of `.`, `;`, `?`, `}`, or an operator
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "options2") due to 3 previous errors
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> exercises/13_error_handling/errors3.rs:23:46
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn main() {
[INFO] [stdout]    | --------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 23 |     let cost = total_cost(pretend_user_input)?;
[INFO] [stdout]    |                                              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |           +++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SystemTime`
[INFO] [stdout]  --> exercises/10_modules/modules3.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 |     match SystemTime::now().duration_since(UNIX_EPOCH) {
[INFO] [stdout]   |           ^^^^^^^^^^ use of undeclared type `SystemTime`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 8 + use std::time::SystemTime;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `UNIX_EPOCH` in this scope
[INFO] [stdout]  --> exercises/10_modules/modules3.rs:9:44
[INFO] [stdout]   |
[INFO] [stdout] 9 |     match SystemTime::now().duration_since(UNIX_EPOCH) {
[INFO] [stdout]   |                                            ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]   |
[INFO] [stdout] 8 + use std::time::UNIX_EPOCH;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "errors3") due to 1 previous error
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> exercises/10_modules/modules3.rs:10:74
[INFO] [stdout]    |
[INFO] [stdout] 10 |         Ok(n) => println!("1970-01-01 00:00:00 UTC was {} seconds ago!", n.as_secs()),
[INFO] [stdout]    |                                                                          ^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "modules3" test) due to 3 previous errors
[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] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> exercises/13_error_handling/errors3.rs:23:46
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn main() {
[INFO] [stdout]    | --------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 23 |     let cost = total_cost(pretend_user_input)?;
[INFO] [stdout]    |                                              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |           +++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "errors3" test) due to 1 previous error
[INFO] [stderr] error: could not compile `exercises` (bin "iterators1" test) due to 1 previous error; 4 warnings emitted
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/13_error_handling/errors1.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |             Ok("Hi! My name is Beyoncé"),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<&str>`, found `Result<&str, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Option<&str>`
[INFO] [stdout]               found enum `Result<&str, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `map_err` found for enum `Option<T>` in the current scope
[INFO] [stdout]   --> exercises/13_error_handling/errors1.rs:37:18
[INFO] [stdout]    |
[INFO] [stdout] 35 | /             generate_nametag_text(String::new())
[INFO] [stdout] 36 | |                 .as_ref()
[INFO] [stdout] 37 | |                 .map_err(|e| e.as_str()),
[INFO] [stdout]    | |_________________-^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `map_or` with a similar name, but with different arguments
[INFO] [stdout]   --> /rustc/3a4cb0edb4040379c037e06efeb5409e44be7b77/library/core/src/option.rs:1224:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> exercises/13_error_handling/errors1.rs:37:27
[INFO] [stdout]    |
[INFO] [stdout] 37 |                 .map_err(|e| e.as_str()),
[INFO] [stdout]    |                           ^  - type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 37 |                 .map_err(|e: /* Type */| e.as_str()),
[INFO] [stdout]    |                            ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "errors1" test) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "1e0ebdc2b92f1436315e593cd177a2e7653e004ae56e567b577f99ed92850d23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e0ebdc2b92f1436315e593cd177a2e7653e004ae56e567b577f99ed92850d23", kill_on_drop: false }`
[INFO] [stdout] 1e0ebdc2b92f1436315e593cd177a2e7653e004ae56e567b577f99ed92850d23
