[INFO] fetching crate pear 0.2.7... [INFO] checking pear-0.2.7 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate pear 0.2.7 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate pear 0.2.7 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pear 0.2.7 [INFO] finished tweaking crates.io crate pear 0.2.7 [INFO] tweaked toml for crates.io crate pear 0.2.7 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b1813552411fb90e7fb53a8929c21c3b48d12401dfc35494d4a9f7d9d5241d7 [INFO] running `Command { std: "docker" "start" "-a" "8b1813552411fb90e7fb53a8929c21c3b48d12401dfc35494d4a9f7d9d5241d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b1813552411fb90e7fb53a8929c21c3b48d12401dfc35494d4a9f7d9d5241d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b1813552411fb90e7fb53a8929c21c3b48d12401dfc35494d4a9f7d9d5241d7", kill_on_drop: false }` [INFO] [stdout] 8b1813552411fb90e7fb53a8929c21c3b48d12401dfc35494d4a9f7d9d5241d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5de57de768e29f343a2074029c29bd86b89cb574b7d252342b41d3353efb63a7 [INFO] running `Command { std: "docker" "start" "-a" "5de57de768e29f343a2074029c29bd86b89cb574b7d252342b41d3353efb63a7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Checking pear v0.2.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Slice`, `Token` [INFO] [stdout] --> src/input/string.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::input::{Input, Token, Slice, ParserInfo}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Slice`, `Token` [INFO] [stdout] --> src/input/text.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::input::{Input, Rewind, Token, Slice, Show, ParserInfo}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Slice`, `Token` [INFO] [stdout] --> src/input/string.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::input::{Input, Token, Slice, ParserInfo}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/combinators.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Slice`, `Token` [INFO] [stdout] --> src/input/text.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::input::{Input, Rewind, Token, Slice, Show, ParserInfo}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `is_parse_debug` is imported redundantly [INFO] [stdout] --> src/debug.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::macros::is_parse_debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 170 | / macro_rules! is_parse_debug { [INFO] [stdout] 171 | | () => ({ [INFO] [stdout] 172 | | #[cfg(not(debug_assertions))] { false } [INFO] [stdout] 173 | | #[cfg(debug_assertions)] { ::std::env::var("PARSE_DEBUG").is_ok() } [INFO] [stdout] ... | [INFO] [stdout] 181 | | }) [INFO] [stdout] 182 | | } [INFO] [stdout] | |_- the item `is_parse_debug` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/combinators.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `is_parse_debug` is imported redundantly [INFO] [stdout] --> src/debug.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::macros::is_parse_debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/macros.rs:170:1 [INFO] [stdout] | [INFO] [stdout] 170 | / macro_rules! is_parse_debug { [INFO] [stdout] 171 | | () => ({ [INFO] [stdout] 172 | | #[cfg(not(debug_assertions))] { false } [INFO] [stdout] 173 | | #[cfg(debug_assertions)] { ::std::env::var("PARSE_DEBUG").is_ok() } [INFO] [stdout] ... | [INFO] [stdout] 181 | | }) [INFO] [stdout] 182 | | } [INFO] [stdout] | |_- the item `is_parse_debug` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pear` [INFO] [stdout] --> tests/contextualize.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[parser] [INFO] [stdout] | ^^^^^^^^^ no `IntoResult` in `result` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pear` [INFO] [stdout] --> tests/custom_expected.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | #[parser] [INFO] [stdout] | ^^^^^^^^^ no `IntoResult` in `result` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pear` [INFO] [stdout] --> tests/peek.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[parser(rewind, peek)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `IntoResult` in `result` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pear` [INFO] [stdout] --> tests/peek.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[parser(rewind, peek)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `IntoResult` in `result` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pear` [INFO] [stdout] --> tests/peek.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[parser(rewind, peek)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `IntoResult` in `result` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pear` [INFO] [stdout] --> tests/peek.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | #[parser] [INFO] [stdout] | ^^^^^^^^^ no `IntoResult` in `result` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/contextualize.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / fn combo<'a>(input: &mut Pear>) -> Result<'a, &'a str> { [INFO] [stdout] 14 | | parse_me!(eat_slice("b")?) [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pear` [INFO] [stdout] --> tests/rewind.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[parser(rewind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `IntoResult` in `result` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pear` [INFO] [stdout] --> tests/rewind.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[parser(rewind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `IntoResult` in `result` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pear` [INFO] [stdout] --> tests/parsers.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[parser] [INFO] [stdout] | ^^^^^^^^^ no `IntoResult` in `result` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pear` [INFO] [stdout] --> tests/rewind.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[parser(rewind)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `IntoResult` in `result` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pear` [INFO] [stdout] --> tests/rewind.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | #[parser] [INFO] [stdout] | ^^^^^^^^^ no `IntoResult` in `result` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pear` [INFO] [stdout] --> tests/parsers.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[parser] [INFO] [stdout] | ^^^^^^^^^ no `IntoResult` in `result` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pear` [INFO] [stdout] --> tests/parsers.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[parser] [INFO] [stdout] | ^^^^^^^^^ no `IntoResult` in `result` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pear` [INFO] [stdout] --> tests/parsers.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[parser] [INFO] [stdout] | ^^^^^^^^^ no `IntoResult` in `result` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pear` [INFO] [stdout] --> tests/marker.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[parser] [INFO] [stdout] | ^^^^^^^^^ no `IntoResult` in `result` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pear` [INFO] [stdout] --> tests/parsers.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | #[parser] [INFO] [stdout] | ^^^^^^^^^ no `IntoResult` in `result` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pear` [INFO] [stdout] --> tests/marker.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[parser] [INFO] [stdout] | ^^^^^^^^^ no `IntoResult` in `result` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pear` [INFO] [stdout] --> tests/parsers.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | #[parser] [INFO] [stdout] | ^^^^^^^^^ no `IntoResult` in `result` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pear` [INFO] [stdout] --> tests/marker.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | #[parser] [INFO] [stdout] | ^^^^^^^^^ no `IntoResult` in `result` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pear` [INFO] [stdout] --> tests/marker.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | #[parser] [INFO] [stdout] | ^^^^^^^^^ no `IntoResult` in `result` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pear` [INFO] [stdout] --> tests/marker.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | #[parser] [INFO] [stdout] | ^^^^^^^^^ no `IntoResult` in `result` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/peek.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / fn ab<'a>(input: &mut Input<'a>) -> Result<'a, ()> { [INFO] [stdout] 8 | | eat('a')?; [INFO] [stdout] 9 | | eat('b')?; [INFO] [stdout] 10 | | eof()?; [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/custom_expected.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / fn combo<'a>(input: &mut Pear>) -> Result<'a, ()> { [INFO] [stdout] 39 | | let start = switch! { [INFO] [stdout] 40 | | peek('a') => eat_slice("abc")?, [INFO] [stdout] 41 | | peek('b') => eat_slice("bat")?, [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | } [INFO] [stdout] | |_^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rewind.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / fn ab<'a>(input: &mut Pear>) -> Result<'a, ()> { [INFO] [stdout] 8 | | eat('a')?; [INFO] [stdout] 9 | | eat('b')?; [INFO] [stdout] 10 | | eof()?; [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/parsers.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / fn take_until_str<'a>(input: &mut Input<'a>, s: &str) -> Result<'a, &'a str> { [INFO] [stdout] 9 | | take_while_slice(|&slice| !slice.ends_with(s))? [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/marker.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / fn simple<'a>(input: &mut Input<'a>) -> Result<'a, FourMarkers> { [INFO] [stdout] 10 | | let first = parse_last_marker!(); [INFO] [stdout] 11 | | eat('.')?; [INFO] [stdout] 12 | | let second = parse_last_marker!(); [INFO] [stdout] ... | [INFO] [stdout] 17 | | (first, second, third, fourth) [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/peek.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / fn abc<'a>(input: &mut Input<'a>) -> Result<'a, ()> { [INFO] [stdout] 15 | | eat('a')?; [INFO] [stdout] 16 | | eat('b')?; [INFO] [stdout] 17 | | eat('c')?; [INFO] [stdout] 18 | | eof()?; [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pear` (test "contextualize") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/parsers.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / fn test_until<'a>(input: &mut Input<'a>, s: &str, r: &str) -> Result<'a, &'a str> { [INFO] [stdout] 14 | | (take_until_str(s)?, eat_slice(r)?).0 [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rewind.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / fn abc<'a>(input: &mut Pear>) -> Result<'a, ()> { [INFO] [stdout] 15 | | eat('a')?; [INFO] [stdout] 16 | | eat('b')?; [INFO] [stdout] 17 | | eat('c')?; [INFO] [stdout] 18 | | eof()?; [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/marker.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / fn simple_updating<'a>(input: &mut Input<'a>) -> Result<'a, FourMarkers> { [INFO] [stdout] 22 | | let first = parse_current_marker!(); [INFO] [stdout] 23 | | eat('.')?; [INFO] [stdout] 24 | | let second = parse_current_marker!(); [INFO] [stdout] ... | [INFO] [stdout] 29 | | (first, second, third, fourth) [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/peek.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / fn abcd<'a>(input: &mut Input<'a>) -> Result<'a, ()> { [INFO] [stdout] 23 | | eat('a')?; [INFO] [stdout] 24 | | eat('b')?; [INFO] [stdout] 25 | | eat('c')?; [INFO] [stdout] 26 | | eat('d')?; [INFO] [stdout] 27 | | eof()?; [INFO] [stdout] 28 | | } [INFO] [stdout] | |_^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pear` (test "custom_expected") due to 3 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/parsers.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / fn take_until_and_str<'a>(input: &mut Input<'a>, s: &str) -> Result<'a, &'a str> { [INFO] [stdout] 31 | | if s.is_empty() { [INFO] [stdout] 32 | | parse_error!("what would that mean?")?; [INFO] [stdout] 33 | | } [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/marker.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / fn resetting<'a>(input: &mut Input<'a>) -> Result<'a, FourMarkers> { [INFO] [stdout] 34 | | let first = parse_last_marker!(); [INFO] [stdout] 35 | | eat('.')?; [INFO] [stdout] 36 | | parse_mark!(); [INFO] [stdout] ... | [INFO] [stdout] 43 | | (first, second, third, fourth) [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rewind.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / fn abcd<'a>(input: &mut Pear>) -> Result<'a, ()> { [INFO] [stdout] 23 | | eat('a')?; [INFO] [stdout] 24 | | eat('b')?; [INFO] [stdout] 25 | | eat('c')?; [INFO] [stdout] 26 | | eat('d')?; [INFO] [stdout] 27 | | eof()?; [INFO] [stdout] 28 | | } [INFO] [stdout] | |_^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/peek.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / fn combo<'a>(input: &mut Input<'a>) -> Result<'a, &'a str> { [INFO] [stdout] 32 | | switch! { [INFO] [stdout] 33 | | ab() => eat_slice("ab")?, [INFO] [stdout] 34 | | abc() => eat_slice("abc")?, [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/parsers.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / fn test_until_and<'a, 'b>(input: &mut Input<'a>, s: &str, r: &str) -> Result<'a, &'a str> { [INFO] [stdout] 46 | | (take_until_and_str(s)?, eat_slice(r)?).0 [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/rewind.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / fn combo<'a>(input: &mut Pear>) -> Result<'a, &'a str> { [INFO] [stdout] 32 | | switch! { [INFO] [stdout] 33 | | ab() => "ab", [INFO] [stdout] 34 | | abc() => "abc", [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/marker.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | / fn context<'a>(input: &mut Input<'a>) -> Result<'a, TwoSpans<'a>> { [INFO] [stdout] 68 | | eat_slice("...")?; [INFO] [stdout] 69 | | let first = parse_context!(); [INFO] [stdout] 70 | | eat('\n')?; [INFO] [stdout] ... | [INFO] [stdout] 73 | | (first, second) [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/parsers.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / fn test_until_window<'a>(input: &mut Input<'a>, s: &str, r: &str) -> Result<'a, &'a str> { [INFO] [stdout] 72 | | (take_until_slice(s)?, eat_slice(r)?).0 [INFO] [stdout] 73 | | } [INFO] [stdout] | |_^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pear` (test "peek") due to 9 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/marker.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / fn resetting_context<'a>(input: &mut Input<'a>) -> Result<'a, TwoSpans<'a>> { [INFO] [stdout] 78 | | eat_slice("...")?; [INFO] [stdout] 79 | | let first = parse_context!(); [INFO] [stdout] 80 | | eat('\n')?; [INFO] [stdout] ... | [INFO] [stdout] 84 | | (first, second) [INFO] [stdout] 85 | | } [INFO] [stdout] | |_^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/parsers.rs:126:1 [INFO] [stdout] | [INFO] [stdout] 126 | / fn take_until_cursor_str<'a>( [INFO] [stdout] 127 | | input: &mut Pear>, [INFO] [stdout] 128 | | s: &str [INFO] [stdout] 129 | | ) -> CResult<'a, &'a str> { [INFO] [stdout] 130 | | take_while_slice(|&slice| !slice.ends_with(s))? [INFO] [stdout] 131 | | } [INFO] [stdout] | |_^ cannot infer type for type parameter `E` declared on the enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pear` (test "rewind") due to 9 previous errors [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pear` (test "marker") due to 11 previous errors [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pear` (test "parsers") due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "5de57de768e29f343a2074029c29bd86b89cb574b7d252342b41d3353efb63a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5de57de768e29f343a2074029c29bd86b89cb574b7d252342b41d3353efb63a7", kill_on_drop: false }` [INFO] [stdout] 5de57de768e29f343a2074029c29bd86b89cb574b7d252342b41d3353efb63a7