[INFO] cloning repository https://github.com/danieljharvey/frame [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danieljharvey/frame" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanieljharvey%2Fframe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanieljharvey%2Fframe'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 68142a0ca05af14e92f3919c54bab8c559980a40 [INFO] checking danieljharvey/frame against try#3652eaba14e5de752eaa5a8ffcac7132f9244f07 for pr-139272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanieljharvey%2Fframe" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danieljharvey/frame on toolchain 3652eaba14e5de752eaa5a8ffcac7132f9244f07 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/danieljharvey/frame [INFO] finished tweaking git repo https://github.com/danieljharvey/frame [INFO] tweaked toml for git repo https://github.com/danieljharvey/frame written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/danieljharvey/frame 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" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 ariadne v0.4.1 [INFO] [stderr] Downloaded nom_locate v4.2.0 [INFO] [stderr] Downloaded insta v1.40.0 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0be3acb69df86cf3b3f4f148d0868842235c47152b84f87f0225edf5aa980134 [INFO] running `Command { std: "docker" "start" "-a" "0be3acb69df86cf3b3f4f148d0868842235c47152b84f87f0225edf5aa980134", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0be3acb69df86cf3b3f4f148d0868842235c47152b84f87f0225edf5aa980134", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0be3acb69df86cf3b3f4f148d0868842235c47152b84f87f0225edf5aa980134", kill_on_drop: false }` [INFO] [stdout] 0be3acb69df86cf3b3f4f148d0868842235c47152b84f87f0225edf5aa980134 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e0bccef199ea8eb2c0068838f111c075ad9667afba1cd72fc43f72b2e6d38c0 [INFO] running `Command { std: "docker" "start" "-a" "2e0bccef199ea8eb2c0068838f111c075ad9667afba1cd72fc43f72b2e6d38c0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking clap_builder v4.5.19 [INFO] [stderr] Checking ariadne v0.4.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking insta v1.40.0 [INFO] [stderr] Checking nom_locate v4.2.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling auto_impl v1.2.0 [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking clap v4.5.19 [INFO] [stderr] Checking frame v0.1.0 (/opt/rustwide/workdir/crates/compiler) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/compiler/src/parser/combinators.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn with_annotation<'a, F, T>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 9 | F: FnMut(LocatedSpan<'a>) -> IResult, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/compiler/src/parser/combinators.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn with_annotation<'a, F, T>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 6 | mut inner: F, [INFO] [stdout] 7 | ) -> impl FnMut(LocatedSpan<'a>) -> IResult<(Annotation, T)> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/compiler/src/parser/combinators.rs:37:41 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn expect<'a, F, E, T>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 37 | F: FnMut(LocatedSpan<'a>) -> IResult, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/compiler/src/parser/combinators.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn with_annotation<'a, F, T>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 9 | F: FnMut(LocatedSpan<'a>) -> IResult, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/compiler/src/parser/combinators.rs:35:44 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn expect<'a, F, E, T>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 35 | ) -> impl FnMut(LocatedSpan<'a>) -> IResult> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/compiler/src/parser/combinators.rs:59:41 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn ws<'a, F, T>(inner: F) -> impl FnMut(LocatedSpan<'a>) -> IResult [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 58 | where [INFO] [stdout] 59 | F: FnMut(LocatedSpan<'a>) -> IResult, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/compiler/src/parser/combinators.rs:57:72 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn ws<'a, F, T>(inner: F) -> impl FnMut(LocatedSpan<'a>) -> IResult [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/compiler/src/parser/combinators.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn with_annotation<'a, F, T>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 6 | mut inner: F, [INFO] [stdout] 7 | ) -> impl FnMut(LocatedSpan<'a>) -> IResult<(Annotation, T)> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/compiler/src/parser/combinators.rs:37:41 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn expect<'a, F, E, T>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 37 | F: FnMut(LocatedSpan<'a>) -> IResult, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/compiler/src/parser/combinators.rs:35:44 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn expect<'a, F, E, T>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 35 | ) -> impl FnMut(LocatedSpan<'a>) -> IResult> [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/compiler/src/parser/combinators.rs:59:41 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn ws<'a, F, T>(inner: F) -> impl FnMut(LocatedSpan<'a>) -> IResult [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 58 | where [INFO] [stdout] 59 | F: FnMut(LocatedSpan<'a>) -> IResult, [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/compiler/src/parser/combinators.rs:57:72 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn ws<'a, F, T>(inner: F) -> impl FnMut(LocatedSpan<'a>) -> IResult [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/compiler/src/parser/convert.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | .map(|(name, ty)| { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `Option<(String, ParseType)>`, found `(_, _)` [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<(String, ParseType)>` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] help: try wrapping the pattern in `Some` [INFO] [stdout] | [INFO] [stdout] 20 | .map(|Some((name, ty))| { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> crates/compiler/src/parser/convert.rs:24:49 [INFO] [stdout] | [INFO] [stdout] 24 | .map(|ty| to_real_ty(ty)?), [INFO] [stdout] | ---- ^ cannot use the `?` operator in a closure that returns `Type` [INFO] [stdout] | | [INFO] [stdout] | this function should return `Result` or `Option` to accept `?` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/compiler/src/parser/convert.rs:28:74 [INFO] [stdout] | [INFO] [stdout] 28 | return_type: parse_function.return_type.map(|ty| Some(to_real_ty(ty)?)), [INFO] [stdout] | ---------- ^^ expected `Option`, found `ParseType` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `ParseType` [INFO] [stdout] note: function defined here [INFO] [stdout] --> crates/compiler/src/parser/convert.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn to_real_ty(parse_ty: Option) -> Result, ParseConvertError> { [INFO] [stdout] | ^^^^^^^^^^ --------------------------- [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 28 | return_type: parse_function.return_type.map(|ty| Some(to_real_ty(Some(ty))?)), [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/compiler/src/parser/convert.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | .map(|(name, ty)| { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `Option<(String, ParseType)>`, found `(_, _)` [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<(String, ParseType)>` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] help: try wrapping the pattern in `Some` [INFO] [stdout] | [INFO] [stdout] 20 | .map(|Some((name, ty))| { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Option`s, not `Result`s, in a closure that returns `Option` [INFO] [stdout] --> crates/compiler/src/parser/convert.rs:28:77 [INFO] [stdout] | [INFO] [stdout] 28 | return_type: parse_function.return_type.map(|ty| Some(to_real_ty(ty)?)), [INFO] [stdout] | ---- ^ use `.ok()?` if you want to discard the `Result` error information [INFO] [stdout] | | [INFO] [stdout] | this function returns an `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/compiler/src/parser/convert.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | return_type: parse_function.return_type.map(|ty| Some(to_real_ty(ty)?)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option>`, found `Option>>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found enum `Option>>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 28 | return_type: parse_function.return_type.map(|ty| Some(to_real_ty(ty)?)).expect("REASON"), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> crates/compiler/src/parser/convert.rs:24:49 [INFO] [stdout] | [INFO] [stdout] 24 | .map(|ty| to_real_ty(ty)?), [INFO] [stdout] | ---- ^ cannot use the `?` operator in a closure that returns `Type` [INFO] [stdout] | | [INFO] [stdout] | this function should return `Result` or `Option` to accept `?` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/compiler/src/parser/convert.rs:28:74 [INFO] [stdout] | [INFO] [stdout] 28 | return_type: parse_function.return_type.map(|ty| Some(to_real_ty(ty)?)), [INFO] [stdout] | ---------- ^^ expected `Option`, found `ParseType` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `ParseType` [INFO] [stdout] note: function defined here [INFO] [stdout] --> crates/compiler/src/parser/convert.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn to_real_ty(parse_ty: Option) -> Result, ParseConvertError> { [INFO] [stdout] | ^^^^^^^^^^ --------------------------- [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 28 | return_type: parse_function.return_type.map(|ty| Some(to_real_ty(Some(ty))?)), [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Option`s, not `Result`s, in a closure that returns `Option` [INFO] [stdout] --> crates/compiler/src/parser/convert.rs:28:77 [INFO] [stdout] | [INFO] [stdout] 28 | return_type: parse_function.return_type.map(|ty| Some(to_real_ty(ty)?)), [INFO] [stdout] | ---- ^ use `.ok()?` if you want to discard the `Result` error information [INFO] [stdout] | | [INFO] [stdout] | this function returns an `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/compiler/src/parser/convert.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | return_type: parse_function.return_type.map(|ty| Some(to_real_ty(ty)?)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option>`, found `Option>>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option>` [INFO] [stdout] found enum `Option>>` [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option>>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 28 | return_type: parse_function.return_type.map(|ty| Some(to_real_ty(ty)?)).expect("REASON"), [INFO] [stdout] | +++++++++++++++++ [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 `frame` (lib) due to 5 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `frame` (lib test) due to 5 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2e0bccef199ea8eb2c0068838f111c075ad9667afba1cd72fc43f72b2e6d38c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e0bccef199ea8eb2c0068838f111c075ad9667afba1cd72fc43f72b2e6d38c0", kill_on_drop: false }` [INFO] [stdout] 2e0bccef199ea8eb2c0068838f111c075ad9667afba1cd72fc43f72b2e6d38c0