[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#f2c70877a7dbc51cd98e2d5d25209b24d4a586d5 for pr-150097
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnu-Ra-g%2FRustlings_course" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Anu-Ra-g/Rustlings_course on toolchain f2c70877a7dbc51cd98e2d5d25209b24d4a586d5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f2c70877a7dbc51cd98e2d5d25209b24d4a586d5" "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" "+f2c70877a7dbc51cd98e2d5d25209b24d4a586d5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+f2c70877a7dbc51cd98e2d5d25209b24d4a586d5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8eb2b6f43d1604ccfd175504a78c537c36a62b01e5a663bbec727dd59578142a
[INFO] running `Command { std: "docker" "start" "-a" "8eb2b6f43d1604ccfd175504a78c537c36a62b01e5a663bbec727dd59578142a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8eb2b6f43d1604ccfd175504a78c537c36a62b01e5a663bbec727dd59578142a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8eb2b6f43d1604ccfd175504a78c537c36a62b01e5a663bbec727dd59578142a", kill_on_drop: false }`
[INFO] [stdout] 8eb2b6f43d1604ccfd175504a78c537c36a62b01e5a663bbec727dd59578142a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+f2c70877a7dbc51cd98e2d5d25209b24d4a586d5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 022713742acce8df2beaf5b3b46d032dc7f33d4485255d61474444045f96d570
[INFO] running `Command { std: "docker" "start" "-a" "022713742acce8df2beaf5b3b46d032dc7f33d4485255d61474444045f96d570", kill_on_drop: false }`
[INFO] [stderr]     Checking exercises v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]  --> exercises/22_clippy/clippy2.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 |     for x in option {
[INFO] [stdout]   |              ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]   |
[INFO] [stdout] 5 -     for x in option {
[INFO] [stdout] 5 +     while let Some(x) = option {
[INFO] [stdout]   |
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]   |
[INFO] [stdout] 5 -     for x in option {
[INFO] [stdout] 5 +     if let Some(x) = option {
[INFO] [stdout]   |
[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] [stdout] For more information about this error, try `rustc --explain E0532`.
[INFO] [stdout] 
[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] [stderr] error: could not compile `exercises` (bin "cow1" test) due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0106`.
[INFO] [stdout] 
[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] [stderr] error: could not compile `exercises` (bin "lifetimes3") due to 2 previous errors
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> exercises/09_strings/strings2.rs:9:24
[INFO] [stdout]   |
[INFO] [stdout] 9 |     if is_a_color_word(word) {
[INFO] [stdout]   |        --------------- ^^^^ expected `&str`, found `String`
[INFO] [stdout]   |        |
[INFO] [stdout]   |        arguments to this function are incorrect
[INFO] [stdout]   |
[INFO] [stdout] note: function defined here
[INFO] [stdout]  --> exercises/09_strings/strings2.rs:2:4
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn is_a_color_word(attempt: &str) -> bool {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^ -------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]   |
[INFO] [stdout] 9 |     if is_a_color_word(&word) {
[INFO] [stdout]   |                        +
[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 "strings2" test) due to 1 previous error
[INFO] [stderr] error: could not compile `exercises` (bin "macros4" test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "022713742acce8df2beaf5b3b46d032dc7f33d4485255d61474444045f96d570", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "022713742acce8df2beaf5b3b46d032dc7f33d4485255d61474444045f96d570", kill_on_drop: false }`
[INFO] [stdout] 022713742acce8df2beaf5b3b46d032dc7f33d4485255d61474444045f96d570
