[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#0c70cfbec949d241375e31c5a42066be70c720fc 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-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Anu-Ra-g/Rustlings_course on toolchain 0c70cfbec949d241375e31c5a42066be70c720fc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "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" "+0c70cfbec949d241375e31c5a42066be70c720fc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] abcb1da6b1edc5530f924bfd5df61b8a5f3dd8a7fa17f4d0a4b456d2f084f305
[INFO] running `Command { std: "docker" "start" "-a" "abcb1da6b1edc5530f924bfd5df61b8a5f3dd8a7fa17f4d0a4b456d2f084f305", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "abcb1da6b1edc5530f924bfd5df61b8a5f3dd8a7fa17f4d0a4b456d2f084f305", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "abcb1da6b1edc5530f924bfd5df61b8a5f3dd8a7fa17f4d0a4b456d2f084f305", kill_on_drop: false }`
[INFO] [stdout] abcb1da6b1edc5530f924bfd5df61b8a5f3dd8a7fa17f4d0a4b456d2f084f305
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bd2e5d4f8efd3cdf73696afed26567331d44f6a4f936a840e6d0039d77265af7
[INFO] running `Command { std: "docker" "start" "-a" "bd2e5d4f8efd3cdf73696afed26567331d44f6a4f936a840e6d0039d77265af7", kill_on_drop: false }`
[INFO] [stderr]     Checking exercises v0.0.0 (/opt/rustwide/workdir)
[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] [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: 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] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/14_generics/generics2.rs:29:33
[INFO] [stdout]    |
[INFO] [stdout] 29 |         assert_eq!(Wrapper::new("Foo").value, "Foo");
[INFO] [stdout]    |                    ------------ ^^^^^ expected `u32`, found `&str`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> exercises/14_generics/generics2.rs:9:8
[INFO] [stdout]    |
[INFO] [stdout]  9 |     fn new(value: u32) -> Self {
[INFO] [stdout]    |        ^^^ ----------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "as_ref_mut") due to 2 previous errors; 1 warning emitted
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/14_generics/generics2.rs:29:47
[INFO] [stdout]    |
[INFO] [stdout] 29 |         assert_eq!(Wrapper::new("Foo").value, "Foo");
[INFO] [stdout]    |                                               ^^^^^ expected `u32`, found `&str`
[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 E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/23_conversions/from_str.rs:44:29
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn from_str(s: &str) -> Result<Self, Self::Err> {}
[INFO] [stdout]    |        --------             ^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Person, ParsePersonError>`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<Person, ParsePersonError>`
[INFO] [stdout]            found unit type `()`
[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 "generics2" test) due to 2 previous errors
[INFO] [stderr] error: could not compile `exercises` (bin "from_str") due to 1 previous error
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]  --> exercises/16_lifetimes/lifetimes3.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 |     author: &str,
[INFO] [stdout]   |             ^ expected named lifetime parameter
[INFO] [stdout]   |
[INFO] [stdout] help: consider introducing a named lifetime parameter
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ struct Book<'a> {
[INFO] [stdout] 5 ~     author: &'a str,
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]  --> exercises/16_lifetimes/lifetimes3.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 |     title: &str,
[INFO] [stdout]   |            ^ expected named lifetime parameter
[INFO] [stdout]   |
[INFO] [stdout] help: consider introducing a named lifetime parameter
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ struct Book<'a> {
[INFO] [stdout] 5 |     author: &str,
[INFO] [stdout] 6 ~     title: &'a str,
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "lifetimes3") due to 2 previous errors
[INFO] [stdout] error[E0599]: no variant or associated item named `Resize` found for enum `Message` in the current scope
[INFO] [stdout]  --> exercises/08_enums/enums1.rs:7:31
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum Message {
[INFO] [stdout]   | ------------ variant or associated item `Resize` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 7 |     println!("{:?}", Message::Resize);
[INFO] [stdout]   |                               ^^^^^^ variant or associated item not found in `Message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `Move` found for enum `Message` in the current scope
[INFO] [stdout]  --> exercises/08_enums/enums1.rs:8:31
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum Message {
[INFO] [stdout]   | ------------ variant or associated item `Move` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 8 |     println!("{:?}", Message::Move);
[INFO] [stdout]   |                               ^^^^ variant or associated item not found in `Message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `Echo` found for enum `Message` in the current scope
[INFO] [stdout]  --> exercises/08_enums/enums1.rs:9:31
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum Message {
[INFO] [stdout]   | ------------ variant or associated item `Echo` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 9 |     println!("{:?}", Message::Echo);
[INFO] [stdout]   |                               ^^^^ variant or associated item not found in `Message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `ChangeColor` found for enum `Message` in the current scope
[INFO] [stdout]   --> exercises/08_enums/enums1.rs:10:31
[INFO] [stdout]    |
[INFO] [stdout]  2 | enum Message {
[INFO] [stdout]    | ------------ variant or associated item `ChangeColor` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 10 |     println!("{:?}", Message::ChangeColor);
[INFO] [stdout]    |                               ^^^^^^^^^^^ variant or associated item not found in `Message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `Quit` found for enum `Message` in the current scope
[INFO] [stdout]   --> exercises/08_enums/enums1.rs:11:31
[INFO] [stdout]    |
[INFO] [stdout]  2 | enum Message {
[INFO] [stdout]    | ------------ variant or associated item `Quit` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 11 |     println!("{:?}", Message::Quit);
[INFO] [stdout]    |                               ^^^^ variant or associated item not found in `Message`
[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 "enums1") due to 5 previous errors
[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[E0369]: cannot multiply `Result<i32, ParseIntError>` by `{integer}`
[INFO] [stdout]   --> exercises/13_error_handling/errors2.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Ok(qty * cost_per_item + processing_fee)
[INFO] [stdout]    |        --- ^ ------------- {integer}
[INFO] [stdout]    |        |
[INFO] [stdout]    |        Result<i32, ParseIntError>
[INFO] [stdout]    |
[INFO] [stdout] note: `Result<i32, ParseIntError>` does not implement `Mul<{integer}>`
[INFO] [stdout]   --> /rustc/0c70cfbec949d241375e31c5a42066be70c720fc/library/core/src/result.rs:557:0
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Result<i32, ParseIntError>` is defined in another crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0369`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "errors2") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "bd2e5d4f8efd3cdf73696afed26567331d44f6a4f936a840e6d0039d77265af7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd2e5d4f8efd3cdf73696afed26567331d44f6a4f936a840e6d0039d77265af7", kill_on_drop: false }`
[INFO] [stdout] bd2e5d4f8efd3cdf73696afed26567331d44f6a4f936a840e6d0039d77265af7
