[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#da2544bfbe84df7b24d83c029c74299ebf6112c6 for pr-149681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnu-Ra-g%2FRustlings_course" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Anu-Ra-g/Rustlings_course on toolchain da2544bfbe84df7b24d83c029c74299ebf6112c6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da2544bfbe84df7b24d83c029c74299ebf6112c6" "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" "+da2544bfbe84df7b24d83c029c74299ebf6112c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+da2544bfbe84df7b24d83c029c74299ebf6112c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 51228436ff8f1ac1ef8d4903ef69972a528b8a6363b8186e885f3fd6af07c772
[INFO] running `Command { std: "docker" "start" "-a" "51228436ff8f1ac1ef8d4903ef69972a528b8a6363b8186e885f3fd6af07c772", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "51228436ff8f1ac1ef8d4903ef69972a528b8a6363b8186e885f3fd6af07c772", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "51228436ff8f1ac1ef8d4903ef69972a528b8a6363b8186e885f3fd6af07c772", kill_on_drop: false }`
[INFO] [stdout] 51228436ff8f1ac1ef8d4903ef69972a528b8a6363b8186e885f3fd6af07c772
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+da2544bfbe84df7b24d83c029c74299ebf6112c6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eefe0d1110b0b6b77b6232ddcef524b7054d6e556b102986972de521acc1fb89
[INFO] running `Command { std: "docker" "start" "-a" "eefe0d1110b0b6b77b6232ddcef524b7054d6e556b102986972de521acc1fb89", kill_on_drop: false }`
[INFO] [stderr]     Checking exercises v0.0.0 (/opt/rustwide/workdir)
[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] [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] [stderr] error: could not compile `exercises` (bin "box1") due to 3 previous errors
[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] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about an error, try `rustc --explain E0072`.
[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[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<T> = Vec::new();
[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] [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] error[E0425]: cannot find value `fruit` in module `delicious_snacks`
[INFO] [stdout]   --> exercises/10_modules/modules2.rs:23:27
[INFO] [stdout]    |
[INFO] [stdout] 23 |         delicious_snacks::fruit,
[INFO] [stdout]    |                           ^^^^^ not found in `delicious_snacks`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `veggie` in module `delicious_snacks`
[INFO] [stdout]   --> exercises/10_modules/modules2.rs:24:27
[INFO] [stdout]    |
[INFO] [stdout] 24 |         delicious_snacks::veggie,
[INFO] [stdout]    |                           ^^^^^^ not found in `delicious_snacks`
[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 "modules2" test) due to 2 previous errors
[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] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "generics1") due to 1 previous error
[INFO] [stdout] error[E0382]: borrow of partially moved value: `optional_point`
[INFO] [stdout]   --> exercises/12_options/options3.rs:16:16
[INFO] [stdout]    |
[INFO] [stdout] 12 |         Some(p) => println!("Co-ordinates are {},{}", p.x, p.y),
[INFO] [stdout]    |              - value partially moved here
[INFO] [stdout] ...
[INFO] [stdout] 16 |     println!("{optional_point:?}"); // Don't change this line.
[INFO] [stdout]    |                ^^^^^^^^^^^^^^ value borrowed here after partial move
[INFO] [stdout]    |
[INFO] [stdout]    = note: partial move occurs because value has type `Point`, which does not implement the `Copy` trait
[INFO] [stdout]    = note: this error 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] help: borrow this binding in the pattern to avoid moving the value
[INFO] [stdout]    |
[INFO] [stdout] 12 |         Some(ref p) => println!("Co-ordinates are {},{}", p.x, p.y),
[INFO] [stdout]    |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "options3" test) due to 1 previous error
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> exercises/09_strings/strings3.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn trim_me(input: &str) -> &str {
[INFO] [stdout]   |    -------                 ^^^^ expected `&str`, found `()`
[INFO] [stdout]   |    |
[INFO] [stdout]   |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]   |
[INFO] [stdout] help: consider returning the local binding `input`
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn trim_me(input: &str) -> &str {
[INFO] [stdout] 2 ~     input
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> exercises/09_strings/strings3.rs:5:31
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn compose_me(input: &str) -> String {
[INFO] [stdout]   |    ----------                 ^^^^^^ expected `String`, 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/09_strings/strings3.rs:9:31
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn replace_me(input: &str) -> String {
[INFO] [stdout]   |    ----------                 ^^^^^^ expected `String`, 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 "strings3") due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "eefe0d1110b0b6b77b6232ddcef524b7054d6e556b102986972de521acc1fb89", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eefe0d1110b0b6b77b6232ddcef524b7054d6e556b102986972de521acc1fb89", kill_on_drop: false }`
[INFO] [stdout] eefe0d1110b0b6b77b6232ddcef524b7054d6e556b102986972de521acc1fb89
