[INFO] fetching crate ley 0.0.5... [INFO] testing ley-0.0.5 against 1.59.0 for beta-1.60-1 [INFO] extracting crate ley 0.0.5 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate ley 0.0.5 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ley 0.0.5 [INFO] finished tweaking crates.io crate ley 0.0.5 [INFO] tweaked toml for crates.io crate ley 0.0.5 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate ley 0.0.5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 457d8103afdab209c39916d6260185a9872939df1a85fe17ab17f7f42f553aa6 [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" "457d8103afdab209c39916d6260185a9872939df1a85fe17ab17f7f42f553aa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "457d8103afdab209c39916d6260185a9872939df1a85fe17ab17f7f42f553aa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "457d8103afdab209c39916d6260185a9872939df1a85fe17ab17f7f42f553aa6", kill_on_drop: false }` [INFO] [stdout] 457d8103afdab209c39916d6260185a9872939df1a85fe17ab17f7f42f553aa6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aee96414f75b3d01533294e5863c972d0291c91a463b6933e8e278237f794715 [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" "aee96414f75b3d01533294e5863c972d0291c91a463b6933e8e278237f794715", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling ley v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option` [INFO] [stdout] --> src/ley.rs:427:28 [INFO] [stdout] | [INFO] [stdout] 427 | impl<'a> From for ParseError<'a> { [INFO] [stdout] | ^^^^^^^^^ not found in `std::option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option` [INFO] [stdout] --> src/ley.rs:428:29 [INFO] [stdout] | [INFO] [stdout] 428 | fn from(_: std::option::NoneError) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in `std::option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::VecDeque` [INFO] [stdout] --> src/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::VecDeque, env, fs::{File, read_dir}, io::{Read, Write}, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/fmt.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Display, fs::File, io::{self, Write}, path::PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/fmt.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::catch` [INFO] [stdout] --> src/fmt.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::catch; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/ley.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | match LeyLine::parse(&mut token_stream)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for enum `ParseError<'_>` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `ParseError<'_>: From>` found [INFO] [stdout] --> src/ley.rs:427:1 [INFO] [stdout] | [INFO] [stdout] 427 | impl<'a> From for ParseError<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: and another `impl` found in the `core` crate: `impl From for T;` [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>>` for `Result, ParseError<'_>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/ley.rs:24:52 [INFO] [stdout] | [INFO] [stdout] 24 | match LeyLine::parse(&mut token_stream)? { [INFO] [stdout] | ^ cannot infer type for enum `ParseError<'_>` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `ParseError<'_>: From>` found [INFO] [stdout] --> src/ley.rs:427:1 [INFO] [stdout] | [INFO] [stdout] 427 | impl<'a> From for ParseError<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: and another `impl` found in the `core` crate: `impl From for T;` [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>>` for `Result, ParseError<'_>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/ley.rs:28:48 [INFO] [stdout] | [INFO] [stdout] 28 | ... "title" => title = Metadata::from_lines(contents)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for enum `ParseError<'_>` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `ParseError<'_>: From>` found [INFO] [stdout] --> src/ley.rs:427:1 [INFO] [stdout] | [INFO] [stdout] 427 | impl<'a> From for ParseError<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: and another `impl` found in the `core` crate: `impl From for T;` [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>>` for `Result>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/ley.rs:28:78 [INFO] [stdout] | [INFO] [stdout] 28 | ... "title" => title = Metadata::from_lines(contents)?, [INFO] [stdout] | ^ cannot infer type for enum `ParseError<'_>` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `ParseError<'_>: From>` found [INFO] [stdout] --> src/ley.rs:427:1 [INFO] [stdout] | [INFO] [stdout] 427 | impl<'a> From for ParseError<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: and another `impl` found in the `core` crate: `impl From for T;` [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>>` for `Result, ParseError<'_>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/ley.rs:29:50 [INFO] [stdout] | [INFO] [stdout] 29 | ... "author" => author = Metadata::from_lines(contents)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for enum `ParseError<'_>` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `ParseError<'_>: From>` found [INFO] [stdout] --> src/ley.rs:427:1 [INFO] [stdout] | [INFO] [stdout] 427 | impl<'a> From for ParseError<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: and another `impl` found in the `core` crate: `impl From for T;` [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>>` for `Result>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/ley.rs:29:80 [INFO] [stdout] | [INFO] [stdout] 29 | ... "author" => author = Metadata::from_lines(contents)?, [INFO] [stdout] | ^ cannot infer type for enum `ParseError<'_>` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `ParseError<'_>: From>` found [INFO] [stdout] --> src/ley.rs:427:1 [INFO] [stdout] | [INFO] [stdout] 427 | impl<'a> From for ParseError<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: and another `impl` found in the `core` crate: `impl From for T;` [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>>` for `Result, ParseError<'_>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/ley.rs:30:46 [INFO] [stdout] | [INFO] [stdout] 30 | ... "date" => date = Metadata::from_lines(contents)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for enum `ParseError<'_>` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `ParseError<'_>: From>` found [INFO] [stdout] --> src/ley.rs:427:1 [INFO] [stdout] | [INFO] [stdout] 427 | impl<'a> From for ParseError<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: and another `impl` found in the `core` crate: `impl From for T;` [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>>` for `Result>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/ley.rs:30:76 [INFO] [stdout] | [INFO] [stdout] 30 | ... "date" => date = Metadata::from_lines(contents)?, [INFO] [stdout] | ^ cannot infer type for enum `ParseError<'_>` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `ParseError<'_>: From>` found [INFO] [stdout] --> src/ley.rs:427:1 [INFO] [stdout] | [INFO] [stdout] 427 | impl<'a> From for ParseError<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: and another `impl` found in the `core` crate: `impl From for T;` [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>>` for `Result, ParseError<'_>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/ley.rs:31:48 [INFO] [stdout] | [INFO] [stdout] 31 | ... "style" => style = Metadata::from_lines(contents)?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for enum `ParseError<'_>` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `ParseError<'_>: From>` found [INFO] [stdout] --> src/ley.rs:427:1 [INFO] [stdout] | [INFO] [stdout] 427 | impl<'a> From for ParseError<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: and another `impl` found in the `core` crate: `impl From for T;` [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>>` for `Result>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/ley.rs:31:78 [INFO] [stdout] | [INFO] [stdout] 31 | ... "style" => style = Metadata::from_lines(contents)?, [INFO] [stdout] | ^ cannot infer type for enum `ParseError<'_>` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `ParseError<'_>: From>` found [INFO] [stdout] --> src/ley.rs:427:1 [INFO] [stdout] | [INFO] [stdout] 427 | impl<'a> From for ParseError<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: and another `impl` found in the `core` crate: `impl From for T;` [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>>` for `Result, ParseError<'_>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/ley.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | ley_lines.push(LeyLine::parse(&mut token_stream)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for enum `ParseError<'_>` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `ParseError<'_>: From>` found [INFO] [stdout] --> src/ley.rs:427:1 [INFO] [stdout] | [INFO] [stdout] 427 | impl<'a> From for ParseError<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: and another `impl` found in the `core` crate: `impl From for T;` [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>>` for `Result, ParseError<'_>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/ley.rs:103:61 [INFO] [stdout] | [INFO] [stdout] 103 | ley_lines.push(LeyLine::parse(&mut token_stream)?) [INFO] [stdout] | ^ cannot infer type for enum `ParseError<'_>` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `ParseError<'_>: From>` found [INFO] [stdout] --> src/ley.rs:427:1 [INFO] [stdout] | [INFO] [stdout] 427 | impl<'a> From for ParseError<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: and another `impl` found in the `core` crate: `impl From for T;` [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>>` for `Result, ParseError<'_>>` [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/ley.rs:137:34 [INFO] [stdout] | [INFO] [stdout] 135 | / pub fn parse(token_stream: &mut TokenIter<'a, '_, '_>) -> Result> { [INFO] [stdout] 136 | | use Token::*; [INFO] [stdout] 137 | | match token_stream.next()? { [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, ParseError<'_>>` [INFO] [stdout] 138 | | Exclamation => { [INFO] [stdout] ... | [INFO] [stdout] 182 | | } [INFO] [stdout] 183 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, ParseError<'_>>` [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/ley.rs:140:56 [INFO] [stdout] | [INFO] [stdout] 135 | / pub fn parse(token_stream: &mut TokenIter<'a, '_, '_>) -> Result> { [INFO] [stdout] 136 | | use Token::*; [INFO] [stdout] 137 | | match token_stream.next()? { [INFO] [stdout] 138 | | Exclamation => { [INFO] [stdout] 139 | | let name = String::<'a>::parse(token_stream); [INFO] [stdout] 140 | | let comment = match token_stream.next()? { [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, ParseError<'_>>` [INFO] [stdout] ... | [INFO] [stdout] 182 | | } [INFO] [stdout] 183 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, ParseError<'_>>` [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/ley.rs:145:53 [INFO] [stdout] | [INFO] [stdout] 135 | / pub fn parse(token_stream: &mut TokenIter<'a, '_, '_>) -> Result> { [INFO] [stdout] 136 | | use Token::*; [INFO] [stdout] 137 | | match token_stream.next()? { [INFO] [stdout] 138 | | Exclamation => { [INFO] [stdout] ... | [INFO] [stdout] 145 | | let kind = match token_stream.next()? { [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, ParseError<'_>>` [INFO] [stdout] ... | [INFO] [stdout] 182 | | } [INFO] [stdout] 183 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, ParseError<'_>>` [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/ley.rs:147:48 [INFO] [stdout] | [INFO] [stdout] 135 | / pub fn parse(token_stream: &mut TokenIter<'a, '_, '_>) -> Result> { [INFO] [stdout] 136 | | use Token::*; [INFO] [stdout] 137 | | match token_stream.next()? { [INFO] [stdout] 138 | | Exclamation => { [INFO] [stdout] ... | [INFO] [stdout] 147 | | if *token_stream.next()? != Token::OpenBrace { [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, ParseError<'_>>` [INFO] [stdout] ... | [INFO] [stdout] 182 | | } [INFO] [stdout] 183 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, ParseError<'_>>` [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/ley.rs:160:43 [INFO] [stdout] | [INFO] [stdout] 135 | / pub fn parse(token_stream: &mut TokenIter<'a, '_, '_>) -> Result> { [INFO] [stdout] 136 | | use Token::*; [INFO] [stdout] 137 | | match token_stream.next()? { [INFO] [stdout] 138 | | Exclamation => { [INFO] [stdout] ... | [INFO] [stdout] 160 | | while *token_stream.peek()? != CloseBrace { [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, ParseError<'_>>` [INFO] [stdout] ... | [INFO] [stdout] 182 | | } [INFO] [stdout] 183 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, ParseError<'_>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/ley.rs:153:29 [INFO] [stdout] | [INFO] [stdout] 153 | ... SectionKind::new(ident)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for enum `ParseError<'_>` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `ParseError<'_>: From>` found [INFO] [stdout] --> src/ley.rs:427:1 [INFO] [stdout] | [INFO] [stdout] 427 | impl<'a> From for ParseError<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: and another `impl` found in the `core` crate: `impl From for T;` [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>>` for `Result>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/ley.rs:153:52 [INFO] [stdout] | [INFO] [stdout] 153 | ... SectionKind::new(ident)? [INFO] [stdout] | ^ cannot infer type for enum `ParseError<'_>` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `ParseError<'_>: From>` found [INFO] [stdout] --> src/ley.rs:427:1 [INFO] [stdout] | [INFO] [stdout] 427 | impl<'a> From for ParseError<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: and another `impl` found in the `core` crate: `impl From for T;` [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>>` for `Result, ParseError<'_>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/ley.rs:161:35 [INFO] [stdout] | [INFO] [stdout] 161 | contents.push(Self::parse(token_stream)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for enum `ParseError<'_>` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `ParseError<'_>: From>` found [INFO] [stdout] --> src/ley.rs:427:1 [INFO] [stdout] | [INFO] [stdout] 427 | impl<'a> From for ParseError<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: and another `impl` found in the `core` crate: `impl From for T;` [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>>` for `Result, ParseError<'_>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/ley.rs:161:60 [INFO] [stdout] | [INFO] [stdout] 161 | contents.push(Self::parse(token_stream)?) [INFO] [stdout] | ^ cannot infer type for enum `ParseError<'_>` [INFO] [stdout] | [INFO] [stdout] note: multiple `impl`s satisfying `ParseError<'_>: From>` found [INFO] [stdout] --> src/ley.rs:427:1 [INFO] [stdout] | [INFO] [stdout] 427 | impl<'a> From for ParseError<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: and another `impl` found in the `core` crate: `impl From for T;` [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>>` for `Result, ParseError<'_>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0283, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ley` due to 24 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "aee96414f75b3d01533294e5863c972d0291c91a463b6933e8e278237f794715", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aee96414f75b3d01533294e5863c972d0291c91a463b6933e8e278237f794715", kill_on_drop: false }` [INFO] [stdout] aee96414f75b3d01533294e5863c972d0291c91a463b6933e8e278237f794715