[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#c8a31b780d5415358566a20b94912620a3f27067 for pr-139493-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnu-Ra-g%2FRustlings_course" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Anu-Ra-g/Rustlings_course on toolchain c8a31b780d5415358566a20b94912620a3f27067
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8a31b780d5415358566a20b94912620a3f27067" "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" "+c8a31b780d5415358566a20b94912620a3f27067" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c8a31b780d5415358566a20b94912620a3f27067" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 080324ea3a72da06e23e7ab09d2272225128d12a703b5fa495968c52ea4eea5d
[INFO] running `Command { std: "docker" "start" "-a" "080324ea3a72da06e23e7ab09d2272225128d12a703b5fa495968c52ea4eea5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "080324ea3a72da06e23e7ab09d2272225128d12a703b5fa495968c52ea4eea5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "080324ea3a72da06e23e7ab09d2272225128d12a703b5fa495968c52ea4eea5d", kill_on_drop: false }`
[INFO] [stdout] 080324ea3a72da06e23e7ab09d2272225128d12a703b5fa495968c52ea4eea5d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c8a31b780d5415358566a20b94912620a3f27067" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 276bf03ee205392ef743e2b6b1c9e6a35fb68b5497f5612adc83589f126598c8
[INFO] running `Command { std: "docker" "start" "-a" "276bf03ee205392ef743e2b6b1c9e6a35fb68b5497f5612adc83589f126598c8", kill_on_drop: false }`
[INFO] [stderr]     Checking exercises v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `;`, found `(`
[INFO] [stdout]  --> exercises/21_macros/macros4.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     }
[INFO] [stdout]   |      - expected `;`
[INFO] [stdout] 7 |     ($val:expr) => {
[INFO] [stdout]   |     ^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0532]: expected a pattern, found a function call
[INFO] [stdout]   --> exercises/19_smart_pointers/cow1.rs:42:33
[INFO] [stdout]    |
[INFO] [stdout] 42 |         assert!(matches!(input, todo!()));
[INFO] [stdout]    |                                 ^^^^^^^ not a tuple struct or tuple variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: function calls are not allowed in patterns: <https://doc.rust-lang.org/book/ch19-00-patterns.html>
[INFO] [stdout]    = note: this error originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0532]: expected a pattern, found a function call
[INFO] [stdout]   --> exercises/19_smart_pointers/cow1.rs:55:33
[INFO] [stdout]    |
[INFO] [stdout] 55 |         assert!(matches!(input, todo!()));
[INFO] [stdout]    |                                 ^^^^^^^ not a tuple struct or tuple variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: function calls are not allowed in patterns: <https://doc.rust-lang.org/book/ch19-00-patterns.html>
[INFO] [stdout]    = note: this error originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0532]: expected a pattern, found a function call
[INFO] [stdout]   --> exercises/19_smart_pointers/cow1.rs:67:33
[INFO] [stdout]    |
[INFO] [stdout] 67 |         assert!(matches!(input, todo!()));
[INFO] [stdout]    |                                 ^^^^^^^ not a tuple struct or tuple variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: function calls are not allowed in patterns: <https://doc.rust-lang.org/book/ch19-00-patterns.html>
[INFO] [stdout]    = note: this error originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "macros4" test) due to 1 previous error
[INFO] [stdout] For more information about this error, try `rustc --explain E0532`.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `exercises` (bin "cow1" test) due to 3 previous errors
[INFO] [stdout] error: expected identifier, found `)`
[INFO] [stdout]   --> exercises/15_traits/traits5.rs:22:23
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn some_func(item: ???) -> bool {
[INFO] [stdout]    |                       ^ expected identifier
[INFO] [stdout] 
[INFO] [stdout] 
[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 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] [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/c8a31b780d5415358566a20b94912620a3f27067/library/core/src/option.rs:1218:5
[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] [stdout] error[E0425]: cannot find value `item` in this scope
[INFO] [stdout]   --> exercises/15_traits/traits5.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     item.some_function() && item.other_function()
[INFO] [stdout]    |     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `item` in this scope
[INFO] [stdout]   --> exercises/15_traits/traits5.rs:23:29
[INFO] [stdout]    |
[INFO] [stdout] 23 |     item.some_function() && item.other_function()
[INFO] [stdout]    |                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "enums1" test) due to 5 previous errors
[INFO] [stderr] error: could not compile `exercises` (bin "errors1" test) due to 3 previous errors
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `tx`
[INFO] [stdout]   --> exercises/20_threads/threads3.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn send_tx(q: Queue, tx: mpsc::Sender<u32>) {
[INFO] [stdout]    |                      -- move occurs because `tx` has type `std::sync::mpsc::Sender<u32>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 20 |     thread::spawn(move || {
[INFO] [stdout]    |                   ------- value moved into closure here
[INFO] [stdout] 21 |         for val in q.first_half {
[INFO] [stdout]    |         ----------------------- inside of this loop
[INFO] [stdout] 22 |             println!("Sending {val:?}");
[INFO] [stdout] 23 |             tx.send(val).unwrap();
[INFO] [stdout]    |             -- variable moved due to use in closure
[INFO] [stdout] ...
[INFO] [stdout] 28 |     thread::spawn(move || {
[INFO] [stdout]    |                   ^^^^^^^ value used here after move
[INFO] [stdout] ...
[INFO] [stdout] 31 |             tx.send(val).unwrap();
[INFO] [stdout]    |             -- use occurs due to use in closure
[INFO] [stdout]    |
[INFO] [stdout] help: consider moving the expression out of the loop so it is only moved once
[INFO] [stdout]    |
[INFO] [stdout] 21 ~         let mut value = tx.send(val);
[INFO] [stdout] 22 ~         for val in q.first_half {
[INFO] [stdout] 23 |             println!("Sending {val:?}");
[INFO] [stdout] 24 ~             value.unwrap();
[INFO] [stdout]    |
[INFO] [stdout] help: consider cloning the value before moving it into the closure
[INFO] [stdout]    |
[INFO] [stdout] 20 ~     let value = tx.clone();
[INFO] [stdout] 21 ~     thread::spawn(move || {
[INFO] [stdout] 22 |         for val in q.first_half {
[INFO] [stdout] 23 |             println!("Sending {val:?}");
[INFO] [stdout] 24 ~             value.send(val).unwrap();
[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 "traits5") due to 3 previous errors
[INFO] [stderr] error: could not compile `exercises` (bin "threads3") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "276bf03ee205392ef743e2b6b1c9e6a35fb68b5497f5612adc83589f126598c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "276bf03ee205392ef743e2b6b1c9e6a35fb68b5497f5612adc83589f126598c8", kill_on_drop: false }`
[INFO] [stdout] 276bf03ee205392ef743e2b6b1c9e6a35fb68b5497f5612adc83589f126598c8
