[INFO] cloning repository https://github.com/prowe/rust_guessing_game
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prowe/rust_guessing_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprowe%2Frust_guessing_game", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprowe%2Frust_guessing_game'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1758a22df4bc58622ae526b8dc6b8d5102aabfa2
[INFO] checking prowe/rust_guessing_game against try#66388cc165a6c4ac98c074dc9f0281ff23528c55 for pr-150727
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprowe%2Frust_guessing_game" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/prowe/rust_guessing_game
[INFO] finished tweaking git repo https://github.com/prowe/rust_guessing_game
[INFO] tweaked toml for git repo https://github.com/prowe/rust_guessing_game written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/prowe/rust_guessing_game on toolchain 66388cc165a6c4ac98c074dc9f0281ff23528c55
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/prowe/rust_guessing_game 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" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libc v0.2.28
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2fbb39ff36ae715df941292ceb4d3627171a614ee88fe5dca7569f95d64b8411
[INFO] running `Command { std: "docker" "start" "-a" "2fbb39ff36ae715df941292ceb4d3627171a614ee88fe5dca7569f95d64b8411", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2fbb39ff36ae715df941292ceb4d3627171a614ee88fe5dca7569f95d64b8411", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2fbb39ff36ae715df941292ceb4d3627171a614ee88fe5dca7569f95d64b8411", kill_on_drop: false }`
[INFO] [stdout] 2fbb39ff36ae715df941292ceb4d3627171a614ee88fe5dca7569f95d64b8411
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a50c4085761bd65f968096ad2707ff56001c4269074923668d6632ec4d4d0c3b
[INFO] running `Command { std: "docker" "start" "-a" "a50c4085761bd65f968096ad2707ff56001c4269074923668d6632ec4d4d0c3b", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking libc v0.2.28
[INFO] [stderr]     Checking rand v0.3.16
[INFO] [stderr]     Checking guessing_game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::result`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::result;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:29:32
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn read_guess() -> Result<u32, Error> {
[INFO] [stdout]    |                                ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn read_guess() -> Result<u32, dyn Error> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time
[INFO] [stdout]   --> src/main.rs:29:20
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn read_guess() -> Result<u32, Error> {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)`
[INFO] [stdout] note: required by an implicit `Sized` bound in `Result`
[INFO] [stdout]   --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/core/src/result.rs:557:0
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::result`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::result;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:29:32
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn read_guess() -> Result<u32, Error> {
[INFO] [stdout]    |                                ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn read_guess() -> Result<u32, dyn Error> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `expect` exists for enum `Result<u32, (dyn std::error::Error + 'static)>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/main.rs:14:30
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let guess = read_guess().expect("bad guess");
[INFO] [stdout]    |                              ^^^^^^ method cannot be called on `Result<u32, (dyn std::error::Error + 'static)>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `dyn std::error::Error: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time
[INFO] [stdout]   --> src/main.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let guess = read_guess().expect("bad guess");
[INFO] [stdout]    |                 ^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)`
[INFO] [stdout] note: required by an implicit `Sized` bound in `Result`
[INFO] [stdout]   --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/core/src/result.rs:557:0
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `dyn std::error::Error`
[INFO] [stdout]   --> src/main.rs:33:38
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn read_guess() -> Result<u32, Error> {
[INFO] [stdout]    |                    ------------------ expected `dyn std::error::Error` because of this
[INFO] [stdout] ...
[INFO] [stdout] 33 |     io::stdin().read_line(&mut guess)?;
[INFO] [stdout]    |                 ---------------------^ the trait `From<std::io::Error>` is not implemented for `dyn std::error::Error`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this can't be annotated with `?` because it has type `Result<_, std::io::Error>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time
[INFO] [stdout]   --> src/main.rs:37:30
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Err(e) => return Err(e),
[INFO] [stdout]    |                          --- ^ doesn't have a size known at compile-time
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `dyn std::error::Error`
[INFO] [stdout] note: required by a bound in `Err`
[INFO] [stdout]   --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/core/src/result.rs:566:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time
[INFO] [stdout]   --> src/main.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Err(e) => return Err(e),
[INFO] [stdout]    |             ^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `dyn std::error::Error`
[INFO] [stdout]    = note: all local variables must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time
[INFO] [stdout]   --> src/main.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Err(e) => return Err(e),
[INFO] [stdout]    |         ^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `dyn std::error::Error`
[INFO] [stdout] note: required by a bound in `Err`
[INFO] [stdout]   --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/core/src/result.rs:566:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time
[INFO] [stdout]   --> src/main.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         Ok(g) => g
[INFO] [stdout]    |         ^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `dyn std::error::Error`
[INFO] [stdout] note: required by a bound in `Ok`
[INFO] [stdout]   --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/core/src/result.rs:561:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time
[INFO] [stdout]   --> src/main.rs:36:42
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let guess : u32 = match guess.trim().parse() {
[INFO] [stdout]    |                                          ^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `dyn std::error::Error`
[INFO] [stdout] note: required by an implicit `Sized` bound in `Result`
[INFO] [stdout]   --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/core/src/result.rs:557:0
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: type mismatch resolving `<u32 as FromStr>::Err == dyn Error`
[INFO] [stdout]   --> src/main.rs:36:42
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let guess : u32 = match guess.trim().parse() {
[INFO] [stdout]    |                                          ^^^^^ expected `dyn Error`, found `ParseIntError`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected trait object `dyn std::error::Error`
[INFO] [stdout]                     found struct `ParseIntError`
[INFO] [stdout]    = help: `ParseIntError` implements `Error` so you could box the found value and coerce it to the trait object `Box<dyn Error>`, you will have to change the expected type as well
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time
[INFO] [stdout]   --> src/main.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 |     return Ok(guess);
[INFO] [stdout]    |            ^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `dyn std::error::Error`
[INFO] [stdout] note: required by a bound in `Ok`
[INFO] [stdout]   --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/core/src/result.rs:561:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time
[INFO] [stdout]   --> src/main.rs:29:20
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn read_guess() -> Result<u32, Error> {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)`
[INFO] [stdout] note: required by an implicit `Sized` bound in `Result`
[INFO] [stdout]   --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/core/src/result.rs:557:0
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0271, E0277, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0271`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `expect` exists for enum `Result<u32, (dyn std::error::Error + 'static)>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/main.rs:14:30
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let guess = read_guess().expect("bad guess");
[INFO] [stdout]    |                              ^^^^^^ method cannot be called on `Result<u32, (dyn std::error::Error + 'static)>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `dyn std::error::Error: Sized`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time
[INFO] [stdout]   --> src/main.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let guess = read_guess().expect("bad guess");
[INFO] [stdout]    |                 ^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)`
[INFO] [stdout] note: required by an implicit `Sized` bound in `Result`
[INFO] [stdout]   --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/core/src/result.rs:557:0
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `guessing_game` (bin "guessing_game") due to 11 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `dyn std::error::Error`
[INFO] [stdout]   --> src/main.rs:33:38
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn read_guess() -> Result<u32, Error> {
[INFO] [stdout]    |                    ------------------ expected `dyn std::error::Error` because of this
[INFO] [stdout] ...
[INFO] [stdout] 33 |     io::stdin().read_line(&mut guess)?;
[INFO] [stdout]    |                 ---------------------^ the trait `From<std::io::Error>` is not implemented for `dyn std::error::Error`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this can't be annotated with `?` because it has type `Result<_, std::io::Error>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time
[INFO] [stdout]   --> src/main.rs:37:30
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Err(e) => return Err(e),
[INFO] [stdout]    |                          --- ^ doesn't have a size known at compile-time
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `dyn std::error::Error`
[INFO] [stdout] note: required by a bound in `Err`
[INFO] [stdout]   --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/core/src/result.rs:566:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time
[INFO] [stdout]   --> src/main.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Err(e) => return Err(e),
[INFO] [stdout]    |             ^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `dyn std::error::Error`
[INFO] [stdout]    = note: all local variables must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time
[INFO] [stdout]   --> src/main.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         Err(e) => return Err(e),
[INFO] [stdout]    |         ^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `dyn std::error::Error`
[INFO] [stdout] note: required by a bound in `Err`
[INFO] [stdout]   --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/core/src/result.rs:566:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time
[INFO] [stdout]   --> src/main.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         Ok(g) => g
[INFO] [stdout]    |         ^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `dyn std::error::Error`
[INFO] [stdout] note: required by a bound in `Ok`
[INFO] [stdout]   --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/core/src/result.rs:561:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time
[INFO] [stdout]   --> src/main.rs:36:42
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let guess : u32 = match guess.trim().parse() {
[INFO] [stdout]    |                                          ^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `dyn std::error::Error`
[INFO] [stdout] note: required by an implicit `Sized` bound in `Result`
[INFO] [stdout]   --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/core/src/result.rs:557:0
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: type mismatch resolving `<u32 as FromStr>::Err == dyn Error`
[INFO] [stdout]   --> src/main.rs:36:42
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let guess : u32 = match guess.trim().parse() {
[INFO] [stdout]    |                                          ^^^^^ expected `dyn Error`, found `ParseIntError`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected trait object `dyn std::error::Error`
[INFO] [stdout]                     found struct `ParseIntError`
[INFO] [stdout]    = help: `ParseIntError` implements `Error` so you could box the found value and coerce it to the trait object `Box<dyn Error>`, you will have to change the expected type as well
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time
[INFO] [stdout]   --> src/main.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 |     return Ok(guess);
[INFO] [stdout]    |            ^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `dyn std::error::Error`
[INFO] [stdout] note: required by a bound in `Ok`
[INFO] [stdout]   --> /rustc/66388cc165a6c4ac98c074dc9f0281ff23528c55/library/core/src/result.rs:561:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0271, E0277, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0271`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `guessing_game` (bin "guessing_game" test) due to 11 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a50c4085761bd65f968096ad2707ff56001c4269074923668d6632ec4d4d0c3b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a50c4085761bd65f968096ad2707ff56001c4269074923668d6632ec4d4d0c3b", kill_on_drop: false }`
[INFO] [stdout] a50c4085761bd65f968096ad2707ff56001c4269074923668d6632ec4d4d0c3b
