[INFO] fetching crate ley 0.0.5... [INFO] testing ley-0.0.5 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate ley 0.0.5 into /workspace/builds/worker-28/source [INFO] validating manifest of crates.io crate ley 0.0.5 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-28/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83e9f0fcf40868d97965b620543a2e6b4e10435307ca30817be4b54fff845721 [INFO] running `Command { std: "docker" "start" "-a" "83e9f0fcf40868d97965b620543a2e6b4e10435307ca30817be4b54fff845721", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83e9f0fcf40868d97965b620543a2e6b4e10435307ca30817be4b54fff845721", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83e9f0fcf40868d97965b620543a2e6b4e10435307ca30817be4b54fff845721", kill_on_drop: false }` [INFO] [stdout] 83e9f0fcf40868d97965b620543a2e6b4e10435307ca30817be4b54fff845721 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d85e62a0eacaae2a2d1344383cdf9f868e1a27d53d9f5aa024fff0cae224582 [INFO] running `Command { std: "docker" "start" "-a" "5d85e62a0eacaae2a2d1344383cdf9f868e1a27d53d9f5aa024fff0cae224582", 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[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_trait)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `try_trait` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_trait)] [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<'_>: ~const 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<'_>: ~const 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<'_>: ~const 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<'_>: ~const 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<'_>: ~const 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<'_>: ~const 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<'_>: ~const 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<'_>: ~const 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<'_>: ~const 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<'_>: ~const 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<'_>: ~const 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<'_>: ~const 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<'_>: ~const 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<'_>: ~const 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<'_>: ~const 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<'_>: ~const 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 25 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0283, E0412, E0554, E0635. [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 26 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5d85e62a0eacaae2a2d1344383cdf9f868e1a27d53d9f5aa024fff0cae224582", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d85e62a0eacaae2a2d1344383cdf9f868e1a27d53d9f5aa024fff0cae224582", kill_on_drop: false }` [INFO] [stdout] 5d85e62a0eacaae2a2d1344383cdf9f868e1a27d53d9f5aa024fff0cae224582