[INFO] cloning repository https://github.com/goodmanjonathan/aoc2018
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/goodmanjonathan/aoc2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoodmanjonathan%2Faoc2018", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoodmanjonathan%2Faoc2018'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bce77712c52f9bf99edab33d62e41bff883e3dcf
[INFO] checking goodmanjonathan/aoc2018 against beta-2021-10-15 for beta-1.56-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoodmanjonathan%2Faoc2018" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/goodmanjonathan/aoc2018 on toolchain beta-2021-10-15
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/goodmanjonathan/aoc2018
[INFO] finished tweaking git repo https://github.com/goodmanjonathan/aoc2018
[INFO] tweaked toml for git repo https://github.com/goodmanjonathan/aoc2018 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/goodmanjonathan/aoc2018 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 2059a521c4fed3c77168b041da6c4816ade5e7f02dc3e49cb1d2937556369cf2
[INFO] running `Command { std: "docker" "start" "-a" "2059a521c4fed3c77168b041da6c4816ade5e7f02dc3e49cb1d2937556369cf2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2059a521c4fed3c77168b041da6c4816ade5e7f02dc3e49cb1d2937556369cf2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2059a521c4fed3c77168b041da6c4816ade5e7f02dc3e49cb1d2937556369cf2", kill_on_drop: false }`
[INFO] [stdout] 2059a521c4fed3c77168b041da6c4816ade5e7f02dc3e49cb1d2937556369cf2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ec06f8a589720be69c0e51c97a9d84f97f7f4bc9d8c629d60b4a8c60e1eff937
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ec06f8a589720be69c0e51c97a9d84f97f7f4bc9d8c629d60b4a8c60e1eff937", kill_on_drop: false }`
[INFO] [stderr]     Checking aoc2018 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option`
[INFO] [stdout]   --> src/bin/day3/main.rs:17:28
[INFO] [stdout]    |
[INFO] [stdout] 17 |     NoneError(std::option::NoneError),
[INFO] [stdout]    |                            ^^^^^^^^^ not found in `std::option`
[INFO] [stdout]    |
[INFO] [stdout] help: there is an enum variant `crate::ParseEntryError::NoneError`; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 17 |     NoneError(crate::ParseEntryError),
[INFO] [stdout]    |               ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option`
[INFO] [stdout]   --> src/bin/day3/main.rs:21:24
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl From<std::option::NoneError> for ParseEntryError {
[INFO] [stdout]    |                        ^^^^^^^^^ not found in `std::option`
[INFO] [stdout]    |
[INFO] [stdout] help: there is an enum variant `crate::ParseEntryError::NoneError`; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl From<crate::ParseEntryError> for ParseEntryError {
[INFO] [stdout]    |           ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option`
[INFO] [stdout]   --> src/bin/day3/main.rs:22:29
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn from(o: std::option::NoneError) -> Self {
[INFO] [stdout]    |                             ^^^^^^^^^ not found in `std::option`
[INFO] [stdout]    |
[INFO] [stdout] help: there is an enum variant `crate::ParseEntryError::NoneError`; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn from(o: crate::ParseEntryError) -> Self {
[INFO] [stdout]    |                ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel
[INFO] [stdout]  --> src/bin/day3/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(try_trait)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option`
[INFO] [stdout]   --> src/bin/day3/main.rs:17:28
[INFO] [stdout]    |
[INFO] [stdout] 17 |     NoneError(std::option::NoneError),
[INFO] [stdout]    |                            ^^^^^^^^^ not found in `std::option`
[INFO] [stdout]    |
[INFO] [stdout] help: there is an enum variant `crate::ParseEntryError::NoneError`; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 17 |     NoneError(crate::ParseEntryError),
[INFO] [stdout]    |               ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option`
[INFO] [stdout]   --> src/bin/day3/main.rs:21:24
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl From<std::option::NoneError> for ParseEntryError {
[INFO] [stdout]    |                        ^^^^^^^^^ not found in `std::option`
[INFO] [stdout]    |
[INFO] [stdout] help: there is an enum variant `crate::ParseEntryError::NoneError`; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl From<crate::ParseEntryError> for ParseEntryError {
[INFO] [stdout]    |           ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option`
[INFO] [stdout]   --> src/bin/day3/main.rs:22:29
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn from(o: std::option::NoneError) -> Self {
[INFO] [stdout]    |                             ^^^^^^^^^ not found in `std::option`
[INFO] [stdout]    |
[INFO] [stdout] help: there is an enum variant `crate::ParseEntryError::NoneError`; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn from(o: crate::ParseEntryError) -> Self {
[INFO] [stdout]    |                ~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel
[INFO] [stdout]  --> src/bin/day3/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(try_trait)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/bin/day3/main.rs:39:32
[INFO] [stdout]     |
[INFO] [stdout] 36  | /     fn from_str(s: &str) -> Result<Self, Self::Err> {
[INFO] [stdout] 37  | |         let mut iter = s.split_whitespace();
[INFO] [stdout] 38  | |         
[INFO] [stdout] 39  | |         let claim = iter.next()?.to_owned();
[INFO] [stdout]     | |                                ^ use `.ok_or(...)?` to provide an error compatible with `Result<Entry, ParseEntryError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 56  | |         })
[INFO] [stdout] 57  | |     }
[INFO] [stdout]     | |_____- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Entry, ParseEntryError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/bin/day3/main.rs:40:28
[INFO] [stdout]     |
[INFO] [stdout] 36  | /     fn from_str(s: &str) -> Result<Self, Self::Err> {
[INFO] [stdout] 37  | |         let mut iter = s.split_whitespace();
[INFO] [stdout] 38  | |         
[INFO] [stdout] 39  | |         let claim = iter.next()?.to_owned();
[INFO] [stdout] 40  | |         let _ = iter.next()?;
[INFO] [stdout]     | |                            ^ use `.ok_or(...)?` to provide an error compatible with `Result<Entry, ParseEntryError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 56  | |         })
[INFO] [stdout] 57  | |     }
[INFO] [stdout]     | |_____- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Entry, ParseEntryError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/bin/day3/main.rs:42:40
[INFO] [stdout]     |
[INFO] [stdout] 36  | /     fn from_str(s: &str) -> Result<Self, Self::Err> {
[INFO] [stdout] 37  | |         let mut iter = s.split_whitespace();
[INFO] [stdout] 38  | |         
[INFO] [stdout] 39  | |         let claim = iter.next()?.to_owned();
[INFO] [stdout] ...   |
[INFO] [stdout] 42  | |             let mut parts = iter.next()?.trim_matches(':').split(',');
[INFO] [stdout]     | |                                        ^ use `.ok_or(...)?` to provide an error compatible with `Result<Entry, ParseEntryError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 56  | |         })
[INFO] [stdout] 57  | |     }
[INFO] [stdout]     | |_____- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Entry, ParseEntryError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/bin/day3/main.rs:43:26
[INFO] [stdout]     |
[INFO] [stdout] 36  | /     fn from_str(s: &str) -> Result<Self, Self::Err> {
[INFO] [stdout] 37  | |         let mut iter = s.split_whitespace();
[INFO] [stdout] 38  | |         
[INFO] [stdout] 39  | |         let claim = iter.next()?.to_owned();
[INFO] [stdout] ...   |
[INFO] [stdout] 43  | |             (parts.next()?.parse()?, parts.next()?.parse()?)
[INFO] [stdout]     | |                          ^ use `.ok_or(...)?` to provide an error compatible with `Result<Entry, ParseEntryError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 56  | |         })
[INFO] [stdout] 57  | |     }
[INFO] [stdout]     | |_____- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Entry, ParseEntryError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/bin/day3/main.rs:43:50
[INFO] [stdout]     |
[INFO] [stdout] 36  | /     fn from_str(s: &str) -> Result<Self, Self::Err> {
[INFO] [stdout] 37  | |         let mut iter = s.split_whitespace();
[INFO] [stdout] 38  | |         
[INFO] [stdout] 39  | |         let claim = iter.next()?.to_owned();
[INFO] [stdout] ...   |
[INFO] [stdout] 43  | |             (parts.next()?.parse()?, parts.next()?.parse()?)
[INFO] [stdout]     | |                                                  ^ use `.ok_or(...)?` to provide an error compatible with `Result<Entry, ParseEntryError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 56  | |         })
[INFO] [stdout] 57  | |     }
[INFO] [stdout]     | |_____- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Entry, ParseEntryError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/bin/day3/main.rs:46:40
[INFO] [stdout]     |
[INFO] [stdout] 36  | /     fn from_str(s: &str) -> Result<Self, Self::Err> {
[INFO] [stdout] 37  | |         let mut iter = s.split_whitespace();
[INFO] [stdout] 38  | |         
[INFO] [stdout] 39  | |         let claim = iter.next()?.to_owned();
[INFO] [stdout] ...   |
[INFO] [stdout] 46  | |             let mut parts = iter.next()?.split('x');
[INFO] [stdout]     | |                                        ^ use `.ok_or(...)?` to provide an error compatible with `Result<Entry, ParseEntryError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 56  | |         })
[INFO] [stdout] 57  | |     }
[INFO] [stdout]     | |_____- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Entry, ParseEntryError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/bin/day3/main.rs:47:26
[INFO] [stdout]     |
[INFO] [stdout] 36  | /     fn from_str(s: &str) -> Result<Self, Self::Err> {
[INFO] [stdout] 37  | |         let mut iter = s.split_whitespace();
[INFO] [stdout] 38  | |         
[INFO] [stdout] 39  | |         let claim = iter.next()?.to_owned();
[INFO] [stdout] ...   |
[INFO] [stdout] 47  | |             (parts.next()?.parse()?, parts.next()?.parse()?)
[INFO] [stdout]     | |                          ^ use `.ok_or(...)?` to provide an error compatible with `Result<Entry, ParseEntryError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 56  | |         })
[INFO] [stdout] 57  | |     }
[INFO] [stdout]     | |_____- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Entry, ParseEntryError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/bin/day3/main.rs:47:50
[INFO] [stdout]     |
[INFO] [stdout] 36  | /     fn from_str(s: &str) -> Result<Self, Self::Err> {
[INFO] [stdout] 37  | |         let mut iter = s.split_whitespace();
[INFO] [stdout] 38  | |         
[INFO] [stdout] 39  | |         let claim = iter.next()?.to_owned();
[INFO] [stdout] ...   |
[INFO] [stdout] 47  | |             (parts.next()?.parse()?, parts.next()?.parse()?)
[INFO] [stdout]     | |                                                  ^ use `.ok_or(...)?` to provide an error compatible with `Result<Entry, ParseEntryError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 56  | |         })
[INFO] [stdout] 57  | |     }
[INFO] [stdout]     | |_____- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Entry, ParseEntryError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0554.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `aoc2018` due to 13 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/bin/day3/main.rs:39:32
[INFO] [stdout]     |
[INFO] [stdout] 36  | /     fn from_str(s: &str) -> Result<Self, Self::Err> {
[INFO] [stdout] 37  | |         let mut iter = s.split_whitespace();
[INFO] [stdout] 38  | |         
[INFO] [stdout] 39  | |         let claim = iter.next()?.to_owned();
[INFO] [stdout]     | |                                ^ use `.ok_or(...)?` to provide an error compatible with `Result<Entry, ParseEntryError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 56  | |         })
[INFO] [stdout] 57  | |     }
[INFO] [stdout]     | |_____- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Entry, ParseEntryError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/bin/day3/main.rs:40:28
[INFO] [stdout]     |
[INFO] [stdout] 36  | /     fn from_str(s: &str) -> Result<Self, Self::Err> {
[INFO] [stdout] 37  | |         let mut iter = s.split_whitespace();
[INFO] [stdout] 38  | |         
[INFO] [stdout] 39  | |         let claim = iter.next()?.to_owned();
[INFO] [stdout] 40  | |         let _ = iter.next()?;
[INFO] [stdout]     | |                            ^ use `.ok_or(...)?` to provide an error compatible with `Result<Entry, ParseEntryError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 56  | |         })
[INFO] [stdout] 57  | |     }
[INFO] [stdout]     | |_____- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Entry, ParseEntryError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/bin/day3/main.rs:42:40
[INFO] [stdout]     |
[INFO] [stdout] 36  | /     fn from_str(s: &str) -> Result<Self, Self::Err> {
[INFO] [stdout] 37  | |         let mut iter = s.split_whitespace();
[INFO] [stdout] 38  | |         
[INFO] [stdout] 39  | |         let claim = iter.next()?.to_owned();
[INFO] [stdout] ...   |
[INFO] [stdout] 42  | |             let mut parts = iter.next()?.trim_matches(':').split(',');
[INFO] [stdout]     | |                                        ^ use `.ok_or(...)?` to provide an error compatible with `Result<Entry, ParseEntryError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 56  | |         })
[INFO] [stdout] 57  | |     }
[INFO] [stdout]     | |_____- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Entry, ParseEntryError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/bin/day3/main.rs:43:26
[INFO] [stdout]     |
[INFO] [stdout] 36  | /     fn from_str(s: &str) -> Result<Self, Self::Err> {
[INFO] [stdout] 37  | |         let mut iter = s.split_whitespace();
[INFO] [stdout] 38  | |         
[INFO] [stdout] 39  | |         let claim = iter.next()?.to_owned();
[INFO] [stdout] ...   |
[INFO] [stdout] 43  | |             (parts.next()?.parse()?, parts.next()?.parse()?)
[INFO] [stdout]     | |                          ^ use `.ok_or(...)?` to provide an error compatible with `Result<Entry, ParseEntryError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 56  | |         })
[INFO] [stdout] 57  | |     }
[INFO] [stdout]     | |_____- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Entry, ParseEntryError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/bin/day3/main.rs:43:50
[INFO] [stdout]     |
[INFO] [stdout] 36  | /     fn from_str(s: &str) -> Result<Self, Self::Err> {
[INFO] [stdout] 37  | |         let mut iter = s.split_whitespace();
[INFO] [stdout] 38  | |         
[INFO] [stdout] 39  | |         let claim = iter.next()?.to_owned();
[INFO] [stdout] ...   |
[INFO] [stdout] 43  | |             (parts.next()?.parse()?, parts.next()?.parse()?)
[INFO] [stdout]     | |                                                  ^ use `.ok_or(...)?` to provide an error compatible with `Result<Entry, ParseEntryError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 56  | |         })
[INFO] [stdout] 57  | |     }
[INFO] [stdout]     | |_____- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Entry, ParseEntryError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/bin/day3/main.rs:46:40
[INFO] [stdout]     |
[INFO] [stdout] 36  | /     fn from_str(s: &str) -> Result<Self, Self::Err> {
[INFO] [stdout] 37  | |         let mut iter = s.split_whitespace();
[INFO] [stdout] 38  | |         
[INFO] [stdout] 39  | |         let claim = iter.next()?.to_owned();
[INFO] [stdout] ...   |
[INFO] [stdout] 46  | |             let mut parts = iter.next()?.split('x');
[INFO] [stdout]     | |                                        ^ use `.ok_or(...)?` to provide an error compatible with `Result<Entry, ParseEntryError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 56  | |         })
[INFO] [stdout] 57  | |     }
[INFO] [stdout]     | |_____- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Entry, ParseEntryError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/bin/day3/main.rs:47:26
[INFO] [stdout]     |
[INFO] [stdout] 36  | /     fn from_str(s: &str) -> Result<Self, Self::Err> {
[INFO] [stdout] 37  | |         let mut iter = s.split_whitespace();
[INFO] [stdout] 38  | |         
[INFO] [stdout] 39  | |         let claim = iter.next()?.to_owned();
[INFO] [stdout] ...   |
[INFO] [stdout] 47  | |             (parts.next()?.parse()?, parts.next()?.parse()?)
[INFO] [stdout]     | |                          ^ use `.ok_or(...)?` to provide an error compatible with `Result<Entry, ParseEntryError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 56  | |         })
[INFO] [stdout] 57  | |     }
[INFO] [stdout]     | |_____- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Entry, ParseEntryError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result`
[INFO] [stdout]    --> src/bin/day3/main.rs:47:50
[INFO] [stdout]     |
[INFO] [stdout] 36  | /     fn from_str(s: &str) -> Result<Self, Self::Err> {
[INFO] [stdout] 37  | |         let mut iter = s.split_whitespace();
[INFO] [stdout] 38  | |         
[INFO] [stdout] 39  | |         let claim = iter.next()?.to_owned();
[INFO] [stdout] ...   |
[INFO] [stdout] 47  | |             (parts.next()?.parse()?, parts.next()?.parse()?)
[INFO] [stdout]     | |                                                  ^ use `.ok_or(...)?` to provide an error compatible with `Result<Entry, ParseEntryError>`
[INFO] [stdout] ...   |
[INFO] [stdout] 56  | |         })
[INFO] [stdout] 57  | |     }
[INFO] [stdout]     | |_____- this function returns a `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<Entry, ParseEntryError>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0554.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "ec06f8a589720be69c0e51c97a9d84f97f7f4bc9d8c629d60b4a8c60e1eff937", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ec06f8a589720be69c0e51c97a9d84f97f7f4bc9d8c629d60b4a8c60e1eff937", kill_on_drop: false }`
[INFO] [stdout] ec06f8a589720be69c0e51c97a9d84f97f7f4bc9d8c629d60b4a8c60e1eff937
