[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#d336647335db03a0fc5b24fc5325cd3905c5b8e8 for pr-151146
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnu-Ra-g%2FRustlings_course" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Anu-Ra-g/Rustlings_course on toolchain d336647335db03a0fc5b24fc5325cd3905c5b8e8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "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" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 54ee9aafb8a5c5fe9bead2855f0470c058f55707cb5cf93f9ea02d0a9ac282a7
[INFO] running `Command { std: "docker" "start" "-a" "54ee9aafb8a5c5fe9bead2855f0470c058f55707cb5cf93f9ea02d0a9ac282a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "54ee9aafb8a5c5fe9bead2855f0470c058f55707cb5cf93f9ea02d0a9ac282a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "54ee9aafb8a5c5fe9bead2855f0470c058f55707cb5cf93f9ea02d0a9ac282a7", kill_on_drop: false }`
[INFO] [stdout] 54ee9aafb8a5c5fe9bead2855f0470c058f55707cb5cf93f9ea02d0a9ac282a7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2034ef43cffa9ced435908acefd1248a597c75d5025399be503dfab545479c73
[INFO] running `Command { std: "docker" "start" "-a" "2034ef43cffa9ced435908acefd1248a597c75d5025399be503dfab545479c73", kill_on_drop: false }`
[INFO] [stderr]     Checking exercises v0.0.0 (/opt/rustwide/workdir)
[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/d336647335db03a0fc5b24fc5325cd3905c5b8e8/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] [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/errors5.rs:53:44
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn main() {
[INFO] [stdout]    | --------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 52 |     let pretend_user_input = "42";
[INFO] [stdout] 53 |     let x: i64 = pretend_user_input.parse()?;
[INFO] [stdout]    |                                            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |           +++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[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/errors5.rs:54:59
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn main() {
[INFO] [stdout]    | --------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 54 |     println!("output={:?}", PositiveNonzeroInteger::new(x)?);
[INFO] [stdout]    |                                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |           +++++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "errors2" test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> exercises/13_error_handling/errors5.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn main() {
[INFO] [stdout]    |          - expected `()` because of default return type
[INFO] [stdout] ...
[INFO] [stdout] 55 |     Ok(())
[INFO] [stdout]    |     ^^^^^^ expected `()`, found `Result<(), _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Result<(), _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "errors5" test) due to 3 previous errors
[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] error[E0599]: no method named `append_bar` found for struct `Vec<String>` in the current scope
[INFO] [stdout]   --> exercises/15_traits/traits2.rs:18:49
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let mut foo = vec![String::from("Foo")].append_bar();
[INFO] [stdout]    |                                                 ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout] note: `AppendBar` defines an item `append_bar`, perhaps you need to implement it
[INFO] [stdout]   --> exercises/15_traits/traits2.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | trait AppendBar {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is a method `append` with a similar name, but with different arguments
[INFO] [stdout]   --> /rustc/d336647335db03a0fc5b24fc5325cd3905c5b8e8/library/alloc/src/vec/mod.rs:2807:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0532`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "traits2" test) due to 1 previous error
[INFO] [stderr] error: could not compile `exercises` (bin "cow1" test) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "2034ef43cffa9ced435908acefd1248a597c75d5025399be503dfab545479c73", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2034ef43cffa9ced435908acefd1248a597c75d5025399be503dfab545479c73", kill_on_drop: false }`
[INFO] [stdout] 2034ef43cffa9ced435908acefd1248a597c75d5025399be503dfab545479c73
