[INFO] cloning repository https://github.com/jonathanmcelroy/freeciv_save_analyzer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jonathanmcelroy/freeciv_save_analyzer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonathanmcelroy%2Ffreeciv_save_analyzer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonathanmcelroy%2Ffreeciv_save_analyzer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e686a8ada231fe33f83f32e55438527960bffbcf [INFO] checking jonathanmcelroy/freeciv_save_analyzer against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonathanmcelroy%2Ffreeciv_save_analyzer" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jonathanmcelroy/freeciv_save_analyzer on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jonathanmcelroy/freeciv_save_analyzer [INFO] finished tweaking git repo https://github.com/jonathanmcelroy/freeciv_save_analyzer [INFO] tweaked toml for git repo https://github.com/jonathanmcelroy/freeciv_save_analyzer written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jonathanmcelroy/freeciv_save_analyzer 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] [stderr] Adding bytes v1.6.0 [INFO] [stderr] Updating combine v1.0.0-beta.3 -> v4.6.7 [INFO] [stderr] Adding memchr v2.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0007bb1050fcc98614b9dce9dac05d2ff49bf56c935163add92c147ba16b214f [INFO] running `Command { std: "docker" "start" "-a" "0007bb1050fcc98614b9dce9dac05d2ff49bf56c935163add92c147ba16b214f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0007bb1050fcc98614b9dce9dac05d2ff49bf56c935163add92c147ba16b214f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0007bb1050fcc98614b9dce9dac05d2ff49bf56c935163add92c147ba16b214f", kill_on_drop: false }` [INFO] [stdout] 0007bb1050fcc98614b9dce9dac05d2ff49bf56c935163add92c147ba16b214f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ac518d88fe664275878eaa1d1845d65b3f8db4cebf9a1d630401481b13bab91 [INFO] running `Command { std: "docker" "start" "-a" "0ac518d88fe664275878eaa1d1845d65b3f8db4cebf9a1d630401481b13bab91", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking freeciv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `self::combine::combinator` [INFO] [stdout] --> src/parse/mod.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use self::combine::combinator::{Many, SepBy}; [INFO] [stdout] | ^^^^^^^^^^ could not find `combinator` in `combine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::combine::primitives` [INFO] [stdout] --> src/parse/mod.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use self::combine::primitives::{Consumed, Stream}; [INFO] [stdout] | ^^^^^^^^^^ could not find `primitives` in `combine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::combine::combinator` [INFO] [stdout] --> src/parse/mod.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use self::combine::combinator::{Many, SepBy}; [INFO] [stdout] | ^^^^^^^^^^ could not find `combinator` in `combine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::combine::primitives` [INFO] [stdout] --> src/parse/mod.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use self::combine::primitives::{Consumed, Stream}; [INFO] [stdout] | ^^^^^^^^^^ could not find `primitives` in `combine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | fn title_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `alpha_num` in this scope [INFO] [stdout] --> src/parse/mod.rs:21:43 [INFO] [stdout] | [INFO] [stdout] 21 | between(token('['), token(']'), many1(alpha_num())).parse_state(input) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::byte::alpha_num; [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::alpha_num; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | fn string_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | fn escaped_char_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `string` in this scope [INFO] [stdout] --> src/parse/mod.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | optional(string("_(")) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/parse/mod.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | .with(between(char('"'), [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/parse/mod.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | char('"'), [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/parse/mod.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | .skip(optional(char(')'))).parse_state(input) [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | fn boolean_parser(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `string` in this scope [INFO] [stdout] --> src/parse/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | string("TRUE").map(|_| Object::Boolean(true)).or(string("FALSE").map(|_| Object::Boolean(false))).parse_state(input) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `string` in this scope [INFO] [stdout] --> src/parse/mod.rs:55:54 [INFO] [stdout] | [INFO] [stdout] 55 | string("TRUE").map(|_| Object::Boolean(true)).or(string("FALSE").map(|_| Object::Boolean(false))).parse_state(input) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | fn wierd_exception(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `string` in this scope [INFO] [stdout] --> src/parse/mod.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | string("$$").with(many1(letter())).map(|string : String| Object::RandomText(string)).parse_state(input) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `letter` in this scope [INFO] [stdout] --> src/parse/mod.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | string("$$").with(many1(letter())).map(|string : String| Object::RandomText(string)).parse_state(input) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::byte::letter; [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::letter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | fn single_object_parser(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spaces` in this scope [INFO] [stdout] --> src/parse/mod.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | let integer_parser = spaces().with(many1(digit())).map(|string : String| Object::IntObject(string.parse::().unwrap())); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::spaces; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `digit` in this scope [INFO] [stdout] --> src/parse/mod.rs:63:46 [INFO] [stdout] | [INFO] [stdout] 63 | let integer_parser = spaces().with(many1(digit())).map(|string : String| Object::IntObject(string.parse::().unwrap())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::byte::digit; [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::digit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | fn struct_parser(input: State<&str>) -> ParseResult<(Vec, Vec>), &str> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spaces` in this scope [INFO] [stdout] --> src/parse/mod.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | let comma_parser = spaces().with(char(',')).skip(spaces()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::spaces; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/parse/mod.rs:69:38 [INFO] [stdout] | [INFO] [stdout] 69 | let comma_parser = spaces().with(char(',')).skip(spaces()); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spaces` in this scope [INFO] [stdout] --> src/parse/mod.rs:69:54 [INFO] [stdout] | [INFO] [stdout] 69 | let comma_parser = spaces().with(char(',')).skip(spaces()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::spaces; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/parse/mod.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | let title_parser = char('{').with(spaces()).with(sep_by(parser(string_parser), comma_parser.clone())); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spaces` in this scope [INFO] [stdout] --> src/parse/mod.rs:70:39 [INFO] [stdout] | [INFO] [stdout] 70 | let title_parser = char('{').with(spaces()).with(sep_by(parser(string_parser), comma_parser.clone())); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::spaces; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spaces` in this scope [INFO] [stdout] --> src/parse/mod.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | let row_parser = many(spaces().with(sep_by(parser(single_object_parser), comma_parser))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::spaces; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | fn object_parser(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | fn assignment_parser(input : State<&str>) -> ParseResult<(String, Object), &str> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | fn title_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | fn section_parser(input : State<&str>) -> ParseResult<(String, HashMap), &str> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `alpha_num` in this scope [INFO] [stdout] --> src/parse/mod.rs:21:43 [INFO] [stdout] | [INFO] [stdout] 21 | between(token('['), token(']'), many1(alpha_num())).parse_state(input) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::byte::alpha_num; [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::alpha_num; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:88:31 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn sections_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | fn string_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | fn escaped_char_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | fn test) -> ParseResult>(my_parser : F, input : &str, output : A) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `string` in this scope [INFO] [stdout] --> src/parse/mod.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | optional(string("_(")) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/parse/mod.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | .with(between(char('"'), [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/parse/mod.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | char('"'), [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/parse/mod.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | .skip(optional(char(')'))).parse_state(input) [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | fn boolean_parser(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `string` in this scope [INFO] [stdout] --> src/parse/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | string("TRUE").map(|_| Object::Boolean(true)).or(string("FALSE").map(|_| Object::Boolean(false))).parse_state(input) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `string` in this scope [INFO] [stdout] --> src/parse/mod.rs:55:54 [INFO] [stdout] | [INFO] [stdout] 55 | string("TRUE").map(|_| Object::Boolean(true)).or(string("FALSE").map(|_| Object::Boolean(false))).parse_state(input) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | fn wierd_exception(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `string` in this scope [INFO] [stdout] --> src/parse/mod.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | string("$$").with(many1(letter())).map(|string : String| Object::RandomText(string)).parse_state(input) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `letter` in this scope [INFO] [stdout] --> src/parse/mod.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | string("$$").with(many1(letter())).map(|string : String| Object::RandomText(string)).parse_state(input) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::byte::letter; [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::letter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | fn single_object_parser(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spaces` in this scope [INFO] [stdout] --> src/parse/mod.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | let integer_parser = spaces().with(many1(digit())).map(|string : String| Object::IntObject(string.parse::().unwrap())); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::spaces; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `digit` in this scope [INFO] [stdout] --> src/parse/mod.rs:63:46 [INFO] [stdout] | [INFO] [stdout] 63 | let integer_parser = spaces().with(many1(digit())).map(|string : String| Object::IntObject(string.parse::().unwrap())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::byte::digit; [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::digit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | fn struct_parser(input: State<&str>) -> ParseResult<(Vec, Vec>), &str> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spaces` in this scope [INFO] [stdout] --> src/parse/mod.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | let comma_parser = spaces().with(char(',')).skip(spaces()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::spaces; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/parse/mod.rs:69:38 [INFO] [stdout] | [INFO] [stdout] 69 | let comma_parser = spaces().with(char(',')).skip(spaces()); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spaces` in this scope [INFO] [stdout] --> src/parse/mod.rs:69:54 [INFO] [stdout] | [INFO] [stdout] 69 | let comma_parser = spaces().with(char(',')).skip(spaces()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::spaces; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/parse/mod.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | let title_parser = char('{').with(spaces()).with(sep_by(parser(string_parser), comma_parser.clone())); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spaces` in this scope [INFO] [stdout] --> src/parse/mod.rs:70:39 [INFO] [stdout] | [INFO] [stdout] 70 | let title_parser = char('{').with(spaces()).with(sep_by(parser(string_parser), comma_parser.clone())); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::spaces; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spaces` in this scope [INFO] [stdout] --> src/parse/mod.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | let row_parser = many(spaces().with(sep_by(parser(single_object_parser), comma_parser))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 + use parse::parser::char::spaces; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | fn object_parser(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | fn assignment_parser(input : State<&str>) -> ParseResult<(String, Object), &str> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | fn section_parser(input : State<&str>) -> ParseResult<(String, HashMap), &str> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:88:31 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn sections_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | fn title_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated or opaque type are not considered constrained [INFO] [stdout] = note: consider introducing a named lifetime parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | fn string_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated or opaque type are not considered constrained [INFO] [stdout] = note: consider introducing a named lifetime parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | fn title_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated or opaque type are not considered constrained [INFO] [stdout] = note: consider introducing a named lifetime parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | fn string_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated or opaque type are not considered constrained [INFO] [stdout] = note: consider introducing a named lifetime parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:25:51 [INFO] [stdout] | [INFO] [stdout] 25 | fn escaped_char_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated or opaque type are not considered constrained [INFO] [stdout] = note: consider introducing a named lifetime parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | fn boolean_parser(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated or opaque type are not considered constrained [INFO] [stdout] = note: consider introducing a named lifetime parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:25:51 [INFO] [stdout] | [INFO] [stdout] 25 | fn escaped_char_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated or opaque type are not considered constrained [INFO] [stdout] = note: consider introducing a named lifetime parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:58:44 [INFO] [stdout] | [INFO] [stdout] 58 | fn wierd_exception(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated or opaque type are not considered constrained [INFO] [stdout] = note: consider introducing a named lifetime parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:62:49 [INFO] [stdout] | [INFO] [stdout] 62 | fn single_object_parser(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated or opaque type are not considered constrained [INFO] [stdout] = note: consider introducing a named lifetime parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:68:41 [INFO] [stdout] | [INFO] [stdout] 68 | fn struct_parser(input: State<&str>) -> ParseResult<(Vec, Vec>), &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated or opaque type are not considered constrained [INFO] [stdout] = note: consider introducing a named lifetime parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | fn boolean_parser(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated or opaque type are not considered constrained [INFO] [stdout] = note: consider introducing a named lifetime parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:76:42 [INFO] [stdout] | [INFO] [stdout] 76 | fn object_parser(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated or opaque type are not considered constrained [INFO] [stdout] = note: consider introducing a named lifetime parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:80:46 [INFO] [stdout] | [INFO] [stdout] 80 | fn assignment_parser(input : State<&str>) -> ParseResult<(String, Object), &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated or opaque type are not considered constrained [INFO] [stdout] = note: consider introducing a named lifetime parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:58:44 [INFO] [stdout] | [INFO] [stdout] 58 | fn wierd_exception(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated or opaque type are not considered constrained [INFO] [stdout] = note: consider introducing a named lifetime parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:84:43 [INFO] [stdout] | [INFO] [stdout] 84 | fn section_parser(input : State<&str>) -> ParseResult<(String, HashMap), &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated or opaque type are not considered constrained [INFO] [stdout] = note: consider introducing a named lifetime parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:88:47 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn sections_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated or opaque type are not considered constrained [INFO] [stdout] = note: consider introducing a named lifetime parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:62:49 [INFO] [stdout] | [INFO] [stdout] 62 | fn single_object_parser(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated or opaque type are not considered constrained [INFO] [stdout] = note: consider introducing a named lifetime parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:68:41 [INFO] [stdout] | [INFO] [stdout] 68 | fn struct_parser(input: State<&str>) -> ParseResult<(Vec, Vec>), &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated or opaque type are not considered constrained [INFO] [stdout] = note: consider introducing a named lifetime parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:76:42 [INFO] [stdout] | [INFO] [stdout] 76 | fn object_parser(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated or opaque type are not considered constrained [INFO] [stdout] = note: consider introducing a named lifetime parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:80:46 [INFO] [stdout] | [INFO] [stdout] 80 | fn assignment_parser(input : State<&str>) -> ParseResult<(String, Object), &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated or opaque type are not considered constrained [INFO] [stdout] = note: consider introducing a named lifetime parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:84:43 [INFO] [stdout] | [INFO] [stdout] 84 | fn section_parser(input : State<&str>) -> ParseResult<(String, HashMap), &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated or opaque type are not considered constrained [INFO] [stdout] = note: consider introducing a named lifetime parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:88:47 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn sections_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated or opaque type are not considered constrained [INFO] [stdout] = note: consider introducing a named lifetime parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0582]: binding for associated type `Output` references an anonymous lifetime, which does not appear in the trait input types [INFO] [stdout] --> src/parse/mod.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | fn test) -> ParseResult>(my_parser : F, input : &str, output : A) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated or opaque type are not considered constrained [INFO] [stdout] = note: consider introducing a named lifetime parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `escaped_char_parser` to be a fn item that returns `Result<(_, Commit<()>), Commit>>`, but it returns `ParseResult` [INFO] [stdout] --> src/parse/mod.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | many(parser(escaped_char_parser)) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^ expected `Result<(_, Commit<()>), ...>`, found `ParseResult` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] found enum `combine::ParseResult` [INFO] [stdout] note: required by a bound in `combine::parser` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/parser/function.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn parser(f: F) -> FnParser [INFO] [stdout] | ------ required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 64 | F: FnMut(&mut Input) -> StdParseResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `escaped_char_parser` to be a fn item that returns `Result<(_, Commit<()>), Commit>>`, but it returns `ParseResult` [INFO] [stdout] --> src/parse/mod.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | many(parser(escaped_char_parser)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ParseResult`, found `Result<(_, Commit<()>), ...>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `combine::ParseResult` [INFO] [stdout] found enum `Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] = note: required for `FnParser<_, for<'a> fn({type error}) -> combine::ParseResult {escaped_char_parser}>` to implement `combine::Parser<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `escaped_char_parser` to be a fn item that returns `Result<(_, Commit<()>), Commit>>`, but it returns `ParseResult` [INFO] [stdout] --> src/parse/mod.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | many(parser(escaped_char_parser)) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(_, Commit<()>), ...>`, found `ParseResult` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] found enum `combine::ParseResult` [INFO] [stdout] = note: required for `FnParser<_, for<'a> fn({type error}) -> combine::ParseResult {escaped_char_parser}>` to implement `combine::Parser<_>` [INFO] [stdout] note: required by a bound in `combine::many` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/parser/repeat.rs:444:8 [INFO] [stdout] | [INFO] [stdout] 441 | pub fn many(p: P) -> Many [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 444 | P: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `many` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `escaped_char_parser` to be a fn item that returns `Result<(_, Commit<()>), Commit>>`, but it returns `ParseResult` [INFO] [stdout] --> src/parse/mod.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | many(parser(escaped_char_parser)) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^ expected `Result<(_, Commit<()>), ...>`, found `ParseResult` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] found enum `combine::ParseResult` [INFO] [stdout] note: required by a bound in `combine::parser` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/parser/function.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn parser(f: F) -> FnParser [INFO] [stdout] | ------ required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 64 | F: FnMut(&mut Input) -> StdParseResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `escaped_char_parser` to be a fn item that returns `Result<(_, Commit<()>), Commit>>`, but it returns `ParseResult` [INFO] [stdout] --> src/parse/mod.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | many(parser(escaped_char_parser)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ParseResult`, found `Result<(_, Commit<()>), ...>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `combine::ParseResult` [INFO] [stdout] found enum `Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] = note: required for `FnParser<_, for<'a> fn({type error}) -> combine::ParseResult {escaped_char_parser}>` to implement `combine::Parser<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `escaped_char_parser` to be a fn item that returns `Result<(_, Commit<()>), Commit>>`, but it returns `ParseResult` [INFO] [stdout] --> src/parse/mod.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | many(parser(escaped_char_parser)) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(_, Commit<()>), ...>`, found `ParseResult` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] found enum `combine::ParseResult` [INFO] [stdout] = note: required for `FnParser<_, for<'a> fn({type error}) -> combine::ParseResult {escaped_char_parser}>` to implement `combine::Parser<_>` [INFO] [stdout] note: required by a bound in `combine::many` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/parser/repeat.rs:444:8 [INFO] [stdout] | [INFO] [stdout] 441 | pub fn many(p: P) -> Many [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 444 | P: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `many` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `escaped_char_parser` to be a fn item that returns `Result<(_, Commit<()>), Commit>>`, but it returns `ParseResult` [INFO] [stdout] --> src/parse/mod.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | .with(between(char('"'), [INFO] [stdout] | _______________^ [INFO] [stdout] 48 | | char('"'), [INFO] [stdout] 49 | | many(parser(escaped_char_parser)) [INFO] [stdout] 50 | | )) [INFO] [stdout] | |_______________________^ expected `Result<(_, Commit<()>), ...>`, found `ParseResult` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] found enum `combine::ParseResult` [INFO] [stdout] = note: required for `FnParser<_, for<'a> fn({type error}) -> combine::ParseResult {escaped_char_parser}>` to implement `combine::Parser<_>` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Many<_, FnParser<_, for<'a> fn({type error}) -> combine::ParseResult {escaped_char_parser}>>` to implement `combine::Parser<_>` [INFO] [stdout] note: required by a bound in `Between` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/parser/sequence.rs:616:8 [INFO] [stdout] | [INFO] [stdout] 595 | pub struct Between; [INFO] [stdout] | ------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 616 | P: Parser< Input>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `Between` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `escaped_char_parser` to be a fn item that returns `Result<(_, Commit<()>), Commit>>`, but it returns `ParseResult` [INFO] [stdout] --> src/parse/mod.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | .with(between(char('"'), [INFO] [stdout] | _______________^ [INFO] [stdout] 48 | | char('"'), [INFO] [stdout] 49 | | many(parser(escaped_char_parser)) [INFO] [stdout] 50 | | )) [INFO] [stdout] | |_______________________^ expected `Result<(_, Commit<()>), ...>`, found `ParseResult` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] found enum `combine::ParseResult` [INFO] [stdout] = note: required for `FnParser<_, for<'a> fn({type error}) -> combine::ParseResult {escaped_char_parser}>` to implement `combine::Parser<_>` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Many<_, FnParser<_, for<'a> fn({type error}) -> combine::ParseResult {escaped_char_parser}>>` to implement `combine::Parser<_>` [INFO] [stdout] note: required by a bound in `Between` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/parser/sequence.rs:616:8 [INFO] [stdout] | [INFO] [stdout] 595 | pub struct Between; [INFO] [stdout] | ------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 616 | P: Parser< Input>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `Between` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parse/mod.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let (c, input) = try!(any().parse_lazy(input)); [INFO] [stdout] | ^^^^^-----------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | this expression has type `combine::ParseResult<_, _>` [INFO] [stdout] | expected `ParseResult<_, _>`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `combine::ParseResult<_, _>` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parse/mod.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let (c, input) = try!(any().parse_lazy(input)); [INFO] [stdout] | ^^^^^-----------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | this expression has type `combine::ParseResult<_, _>` [INFO] [stdout] | expected `ParseResult<_, _>`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `combine::ParseResult<_, _>` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parse/mod.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let (c, input) = try!(any().parse_lazy(input)); [INFO] [stdout] | ^^^^^-----------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | this expression has type `combine::ParseResult<_, _>` [INFO] [stdout] | expected `ParseResult<_, _>`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `combine::ParseResult<_, _>` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parse/mod.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let (c, input) = try!(any().parse_lazy(input)); [INFO] [stdout] | ^^^^^-----------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | this expression has type `combine::ParseResult<_, _>` [INFO] [stdout] | expected `ParseResult<_, _>`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `combine::ParseResult<_, _>` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parse/mod.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let (c, input) = try!(any().parse_lazy(input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ParseResult`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `combine::ParseResult` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: call `Into::into` on this expression to convert `Result<_, _>` into `combine::ParseResult` [INFO] [stdout] | [INFO] [stdout] 26 | let (c, input) = try!(any().parse_lazy(input)).into(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parse/mod.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let (c, input) = try!(any().parse_lazy(input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ParseResult`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `combine::ParseResult` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: call `Into::into` on this expression to convert `Result<_, _>` into `combine::ParseResult` [INFO] [stdout] | [INFO] [stdout] 26 | let (c, input) = try!(any().parse_lazy(input)).into(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse_state` found for struct `combine::parser::combinator::Map` in the current scope [INFO] [stdout] --> src/parse/mod.rs:41:59 [INFO] [stdout] | [INFO] [stdout] 41 | '\\' => input.combine(|input| back_slash_char.parse_state(input)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `parse_with_state` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/parser/mod.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / fn parse_with_state( [INFO] [stdout] 121 | | &mut self, [INFO] [stdout] 122 | | input: &mut Input, [INFO] [stdout] 123 | | state: &mut Self::PartialState, [INFO] [stdout] 124 | | ) -> Result::Error> { [INFO] [stdout] | |___________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse_state` found for struct `combine::parser::combinator::Map` in the current scope [INFO] [stdout] --> src/parse/mod.rs:41:59 [INFO] [stdout] | [INFO] [stdout] 41 | '\\' => input.combine(|input| back_slash_char.parse_state(input)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `parse_with_state` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/parser/mod.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / fn parse_with_state( [INFO] [stdout] 121 | | &mut self, [INFO] [stdout] 122 | | input: &mut Input, [INFO] [stdout] 123 | | state: &mut Self::PartialState, [INFO] [stdout] 124 | | ) -> Result::Error> { [INFO] [stdout] | |___________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `combine::ParseError` cannot be made into an object [INFO] [stdout] --> src/parse/mod.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | '"' => Err(Consumed::Empty(ParseError::from_errors(input.into_inner().position, Vec::new()))), [INFO] [stdout] | ^^^^^^^^^^ `combine::ParseError` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/error.rs:455:54 [INFO] [stdout] | [INFO] [stdout] 455 | pub trait ParseError: Sized + PartialEq { [INFO] [stdout] | ^^^^^^^^^ the trait cannot be made into an object because it uses `Self` as a type parameter [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `combine::ParseError` for this new enum and using it instead: [INFO] [stdout] parse::combine::easy::Error [INFO] [stdout] parse::combine::easy::Errors [INFO] [stdout] parse::combine::error::StringStreamError [INFO] [stdout] parse::combine::error::UnexpectedParse [INFO] [stdout] parse::combine::stream::read::Error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `combine::ParseError` cannot be made into an object [INFO] [stdout] --> src/parse/mod.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | '"' => Err(Consumed::Empty(ParseError::from_errors(input.into_inner().position, Vec::new()))), [INFO] [stdout] | ^^^^^^^^^^ `combine::ParseError` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/error.rs:455:54 [INFO] [stdout] | [INFO] [stdout] 455 | pub trait ParseError: Sized + PartialEq { [INFO] [stdout] | ^^^^^^^^^ the trait cannot be made into an object because it uses `Self` as a type parameter [INFO] [stdout] = help: the following types implement the trait, consider defining an enum where each variant holds one of these types, implementing `combine::ParseError` for this new enum and using it instead: [INFO] [stdout] parse::combine::easy::Error [INFO] [stdout] parse::combine::easy::Errors [INFO] [stdout] parse::combine::error::StringStreamError [INFO] [stdout] parse::combine::error::UnexpectedParse [INFO] [stdout] parse::combine::stream::read::Error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `string_parser` to be a fn item that returns `Result<(_, Commit<()>), Commit>>`, but it returns `ParseResult` [INFO] [stdout] --> src/parse/mod.rs:64:39 [INFO] [stdout] | [INFO] [stdout] 64 | let string_object_parser = parser(string_parser).map(|string| Object::String(string)); [INFO] [stdout] | ------ ^^^^^^^^^^^^^ expected `Result<(_, Commit<()>), ...>`, found `ParseResult` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] found enum `combine::ParseResult` [INFO] [stdout] note: required by a bound in `combine::parser` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/parser/function.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn parser(f: F) -> FnParser [INFO] [stdout] | ------ required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 64 | F: FnMut(&mut Input) -> StdParseResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `string_parser` to be a fn item that returns `Result<(_, Commit<()>), Commit>>`, but it returns `ParseResult` [INFO] [stdout] --> src/parse/mod.rs:64:39 [INFO] [stdout] | [INFO] [stdout] 64 | let string_object_parser = parser(string_parser).map(|string| Object::String(string)); [INFO] [stdout] | ------ ^^^^^^^^^^^^^ expected `Result<(_, Commit<()>), ...>`, found `ParseResult` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] found enum `combine::ParseResult` [INFO] [stdout] note: required by a bound in `combine::parser` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/parser/function.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn parser(f: F) -> FnParser [INFO] [stdout] | ------ required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 64 | F: FnMut(&mut Input) -> StdParseResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map` exists for struct `FnParser<_, fn({type error}) -> ParseResult {string_parser}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/parse/mod.rs:64:54 [INFO] [stdout] | [INFO] [stdout] 64 | let string_object_parser = parser(string_parser).map(|string| Object::String(string)); [INFO] [stdout] | ^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/parser/function.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct FnParser(F, PhantomData Input>); [INFO] [stdout] | ----------------------------- doesn't satisfy `_: Iterator` or `_: Parser<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` fn({type error}) -> combine::ParseResult {string_parser} as FnOnce<(&mut _,)>>::Output = Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] which is required by `FnParser<_, for<'a> fn({type error}) -> combine::ParseResult {string_parser}>: combine::Parser<_>` [INFO] [stdout] `FnParser<_, for<'a> fn({type error}) -> combine::ParseResult {string_parser}>: combine::Parser<_>` [INFO] [stdout] which is required by `&mut FnParser<_, for<'a> fn({type error}) -> combine::ParseResult {string_parser}>: combine::Parser<_>` [INFO] [stdout] `FnParser<_, for<'a> fn({type error}) -> combine::ParseResult {string_parser}>: Iterator` [INFO] [stdout] which is required by `&mut FnParser<_, for<'a> fn({type error}) -> combine::ParseResult {string_parser}>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map` exists for struct `FnParser<_, fn({type error}) -> ParseResult {string_parser}>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/parse/mod.rs:64:54 [INFO] [stdout] | [INFO] [stdout] 64 | let string_object_parser = parser(string_parser).map(|string| Object::String(string)); [INFO] [stdout] | ^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/parser/function.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct FnParser(F, PhantomData Input>); [INFO] [stdout] | ----------------------------- doesn't satisfy `_: Iterator` or `_: Parser<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] ` fn({type error}) -> combine::ParseResult {string_parser} as FnOnce<(&mut _,)>>::Output = Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] which is required by `FnParser<_, for<'a> fn({type error}) -> combine::ParseResult {string_parser}>: combine::Parser<_>` [INFO] [stdout] `FnParser<_, for<'a> fn({type error}) -> combine::ParseResult {string_parser}>: combine::Parser<_>` [INFO] [stdout] which is required by `&mut FnParser<_, for<'a> fn({type error}) -> combine::ParseResult {string_parser}>: combine::Parser<_>` [INFO] [stdout] `FnParser<_, for<'a> fn({type error}) -> combine::ParseResult {string_parser}>: Iterator` [INFO] [stdout] which is required by `&mut FnParser<_, for<'a> fn({type error}) -> combine::ParseResult {string_parser}>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `boolean_parser` to be a fn item that returns `Result<(_, Commit<()>), Commit>>`, but it returns `ParseResult` [INFO] [stdout] --> src/parse/mod.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | integer_parser.or(parser(boolean_parser)).or(string_object_parser).or(parser(wierd_exception)).parse_state(input) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ expected `Result<(_, Commit<()>), ...>`, found `ParseResult` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] found enum `combine::ParseResult` [INFO] [stdout] note: required by a bound in `combine::parser` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/parser/function.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn parser(f: F) -> FnParser [INFO] [stdout] | ------ required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 64 | F: FnMut(&mut Input) -> StdParseResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `boolean_parser` to be a fn item that returns `Result<(_, Commit<()>), Commit>>`, but it returns `ParseResult` [INFO] [stdout] --> src/parse/mod.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | integer_parser.or(parser(boolean_parser)).or(string_object_parser).or(parser(wierd_exception)).parse_state(input) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ expected `Result<(_, Commit<()>), ...>`, found `ParseResult` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] found enum `combine::ParseResult` [INFO] [stdout] note: required by a bound in `combine::parser` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/parser/function.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn parser(f: F) -> FnParser [INFO] [stdout] | ------ required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 64 | F: FnMut(&mut Input) -> StdParseResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `wierd_exception` to be a fn item that returns `Result<(_, Commit<()>), Commit>>`, but it returns `ParseResult` [INFO] [stdout] --> src/parse/mod.rs:65:82 [INFO] [stdout] | [INFO] [stdout] 65 | integer_parser.or(parser(boolean_parser)).or(string_object_parser).or(parser(wierd_exception)).parse_state(input) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^ expected `Result<(_, Commit<()>), ...>`, found `ParseResult` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] found enum `combine::ParseResult` [INFO] [stdout] note: required by a bound in `combine::parser` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/parser/function.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn parser(f: F) -> FnParser [INFO] [stdout] | ------ required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 64 | F: FnMut(&mut Input) -> StdParseResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `wierd_exception` to be a fn item that returns `Result<(_, Commit<()>), Commit>>`, but it returns `ParseResult` [INFO] [stdout] --> src/parse/mod.rs:65:82 [INFO] [stdout] | [INFO] [stdout] 65 | integer_parser.or(parser(boolean_parser)).or(string_object_parser).or(parser(wierd_exception)).parse_state(input) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^ expected `Result<(_, Commit<()>), ...>`, found `ParseResult` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] found enum `combine::ParseResult` [INFO] [stdout] note: required by a bound in `combine::parser` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/parser/function.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn parser(f: F) -> FnParser [INFO] [stdout] | ------ required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 64 | F: FnMut(&mut Input) -> StdParseResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `string_parser` to be a fn item that returns `Result<(_, Commit<()>), Commit>>`, but it returns `ParseResult` [INFO] [stdout] --> src/parse/mod.rs:70:68 [INFO] [stdout] | [INFO] [stdout] 70 | let title_parser = char('{').with(spaces()).with(sep_by(parser(string_parser), comma_parser.clone())); [INFO] [stdout] | ------ ^^^^^^^^^^^^^ expected `Result<(_, Commit<()>), ...>`, found `ParseResult` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] found enum `combine::ParseResult` [INFO] [stdout] note: required by a bound in `combine::parser` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/parser/function.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn parser(f: F) -> FnParser [INFO] [stdout] | ------ required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 64 | F: FnMut(&mut Input) -> StdParseResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `string_parser` to be a fn item that returns `Result<(_, Commit<()>), Commit>>`, but it returns `ParseResult` [INFO] [stdout] --> src/parse/mod.rs:70:54 [INFO] [stdout] | [INFO] [stdout] 70 | let title_parser = char('{').with(spaces()).with(sep_by(parser(string_parser), comma_parser.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ParseResult`, found `Result<(_, Commit<()>), ...>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `combine::ParseResult` [INFO] [stdout] found enum `Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] = note: required for `FnParser<_, for<'a> fn({type error}) -> combine::ParseResult {string_parser}>` to implement `combine::Parser<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `string_parser` to be a fn item that returns `Result<(_, Commit<()>), Commit>>`, but it returns `ParseResult` [INFO] [stdout] --> src/parse/mod.rs:70:68 [INFO] [stdout] | [INFO] [stdout] 70 | let title_parser = char('{').with(spaces()).with(sep_by(parser(string_parser), comma_parser.clone())); [INFO] [stdout] | ------ ^^^^^^^^^^^^^ expected `Result<(_, Commit<()>), ...>`, found `ParseResult` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] found enum `combine::ParseResult` [INFO] [stdout] note: required by a bound in `combine::parser` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/parser/function.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn parser(f: F) -> FnParser [INFO] [stdout] | ------ required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 64 | F: FnMut(&mut Input) -> StdParseResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `string_parser` to be a fn item that returns `Result<(_, Commit<()>), Commit>>`, but it returns `ParseResult` [INFO] [stdout] --> src/parse/mod.rs:70:54 [INFO] [stdout] | [INFO] [stdout] 70 | let title_parser = char('{').with(spaces()).with(sep_by(parser(string_parser), comma_parser.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ParseResult`, found `Result<(_, Commit<()>), ...>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `combine::ParseResult` [INFO] [stdout] found enum `Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] = note: required for `FnParser<_, for<'a> fn({type error}) -> combine::ParseResult {string_parser}>` to implement `combine::Parser<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `string_parser` to be a fn item that returns `Result<(_, Commit<()>), Commit>>`, but it returns `ParseResult` [INFO] [stdout] --> src/parse/mod.rs:70:61 [INFO] [stdout] | [INFO] [stdout] 70 | let title_parser = char('{').with(spaces()).with(sep_by(parser(string_parser), comma_parser.clone())); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^ expected `Result<(_, Commit<()>), ...>`, found `ParseResult` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] found enum `combine::ParseResult` [INFO] [stdout] = note: required for `FnParser<_, for<'a> fn({type error}) -> combine::ParseResult {string_parser}>` to implement `combine::Parser<_>` [INFO] [stdout] note: required by a bound in `combine::sep_by` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/parser/repeat.rs:677:8 [INFO] [stdout] | [INFO] [stdout] 673 | pub fn sep_by(parser: P, separator: S) -> SepBy [INFO] [stdout] | ------ required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 677 | P: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `sep_by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `string_parser` to be a fn item that returns `Result<(_, Commit<()>), Commit>>`, but it returns `ParseResult` [INFO] [stdout] --> src/parse/mod.rs:70:61 [INFO] [stdout] | [INFO] [stdout] 70 | let title_parser = char('{').with(spaces()).with(sep_by(parser(string_parser), comma_parser.clone())); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^ expected `Result<(_, Commit<()>), ...>`, found `ParseResult` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] found enum `combine::ParseResult` [INFO] [stdout] = note: required for `FnParser<_, for<'a> fn({type error}) -> combine::ParseResult {string_parser}>` to implement `combine::Parser<_>` [INFO] [stdout] note: required by a bound in `combine::sep_by` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/parser/repeat.rs:677:8 [INFO] [stdout] | [INFO] [stdout] 673 | pub fn sep_by(parser: P, separator: S) -> SepBy [INFO] [stdout] | ------ required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 677 | P: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `sep_by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `single_object_parser` to be a fn item that returns `Result<(_, Commit<()>), Commit>>`, but it returns `ParseResult` [INFO] [stdout] --> src/parse/mod.rs:71:55 [INFO] [stdout] | [INFO] [stdout] 71 | let row_parser = many(spaces().with(sep_by(parser(single_object_parser), comma_parser))); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^ expected `Result<(_, Commit<()>), ...>`, found `ParseResult` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] found enum `combine::ParseResult` [INFO] [stdout] note: required by a bound in `combine::parser` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/parser/function.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn parser(f: F) -> FnParser [INFO] [stdout] | ------ required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 64 | F: FnMut(&mut Input) -> StdParseResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `single_object_parser` to be a fn item that returns `Result<(_, Commit<()>), Commit>>`, but it returns `ParseResult` [INFO] [stdout] --> src/parse/mod.rs:71:55 [INFO] [stdout] | [INFO] [stdout] 71 | let row_parser = many(spaces().with(sep_by(parser(single_object_parser), comma_parser))); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^ expected `Result<(_, Commit<()>), ...>`, found `ParseResult` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] found enum `combine::ParseResult` [INFO] [stdout] note: required by a bound in `combine::parser` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/parser/function.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn parser(f: F) -> FnParser [INFO] [stdout] | ------ required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 64 | F: FnMut(&mut Input) -> StdParseResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `single_object_parser` to be a fn item that returns `Result<(_, Commit<()>), Commit>>`, but it returns `ParseResult` [INFO] [stdout] --> src/parse/mod.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | let row_parser = many(spaces().with(sep_by(parser(single_object_parser), comma_parser))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ParseResult`, found `Result<(_, Commit<()>), ...>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `combine::ParseResult` [INFO] [stdout] found enum `Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] = note: required for `FnParser<_, for<'a> fn({type error}) -> combine::ParseResult {single_object_parser}>` to implement `combine::Parser<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `single_object_parser` to be a fn item that returns `Result<(_, Commit<()>), Commit>>`, but it returns `ParseResult` [INFO] [stdout] --> src/parse/mod.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | let row_parser = many(spaces().with(sep_by(parser(single_object_parser), comma_parser))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ParseResult`, found `Result<(_, Commit<()>), ...>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `combine::ParseResult` [INFO] [stdout] found enum `Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] = note: required for `FnParser<_, for<'a> fn({type error}) -> combine::ParseResult {single_object_parser}>` to implement `combine::Parser<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `single_object_parser` to be a fn item that returns `Result<(_, Commit<()>), Commit>>`, but it returns `ParseResult` [INFO] [stdout] --> src/parse/mod.rs:71:48 [INFO] [stdout] | [INFO] [stdout] 71 | let row_parser = many(spaces().with(sep_by(parser(single_object_parser), comma_parser))); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(_, Commit<()>), ...>`, found `ParseResult` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] found enum `combine::ParseResult` [INFO] [stdout] = note: required for `FnParser<_, for<'a> fn({type error}) -> combine::ParseResult {single_object_parser}>` to implement `combine::Parser<_>` [INFO] [stdout] note: required by a bound in `combine::sep_by` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/parser/repeat.rs:677:8 [INFO] [stdout] | [INFO] [stdout] 673 | pub fn sep_by(parser: P, separator: S) -> SepBy [INFO] [stdout] | ------ required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 677 | P: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `sep_by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `single_object_parser` to be a fn item that returns `Result<(_, Commit<()>), Commit>>`, but it returns `ParseResult` [INFO] [stdout] --> src/parse/mod.rs:71:48 [INFO] [stdout] | [INFO] [stdout] 71 | let row_parser = many(spaces().with(sep_by(parser(single_object_parser), comma_parser))); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(_, Commit<()>), ...>`, found `ParseResult` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] found enum `combine::ParseResult` [INFO] [stdout] = note: required for `FnParser<_, for<'a> fn({type error}) -> combine::ParseResult {single_object_parser}>` to implement `combine::Parser<_>` [INFO] [stdout] note: required by a bound in `combine::sep_by` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/parser/repeat.rs:677:8 [INFO] [stdout] | [INFO] [stdout] 673 | pub fn sep_by(parser: P, separator: S) -> SepBy [INFO] [stdout] | ------ required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 677 | P: Parser, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `sep_by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnMut(&mut _)` closure, found `F` [INFO] [stdout] --> src/parse/mod.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | let result = parser(my_parser).parse(input); [INFO] [stdout] | ------ ^^^^^^^^^ expected an `FnMut(&mut _)` closure, found `F` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FnMut`: [INFO] [stdout] &F [INFO] [stdout] &mut F [INFO] [stdout] note: required by a bound in `combine::parser` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/parser/function.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn parser(f: F) -> FnParser [INFO] [stdout] | ------ required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 64 | F: FnMut(&mut Input) -> StdParseResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `parse` exists for struct `FnParser<_, F>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/parse/mod.rs:103:40 [INFO] [stdout] | [INFO] [stdout] 103 | let result = parser(my_parser).parse(input); [INFO] [stdout] | ^^^^^ method cannot be called on `FnParser<_, F>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/combine-4.6.7/src/parser/function.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct FnParser(F, PhantomData Input>); [INFO] [stdout] | ----------------------------- doesn't satisfy `FnParser<_, F>: combine::Parser<_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `>::Output = Result<(_, combine::error::Commit<()>), combine::error::Commit>>` [INFO] [stdout] which is required by `FnParser<_, F>: combine::Parser<_>` [INFO] [stdout] `F: FnMut<(&mut _,)>` [INFO] [stdout] which is required by `FnParser<_, F>: combine::Parser<_>` [INFO] [stdout] help: consider restricting the type parameter to satisfy the trait bound [INFO] [stdout] | [INFO] [stdout] 102 | fn test) -> ParseResult>(my_parser : F, input : &str, output : A) where F: FnMut<(&mut _,)> { [INFO] [stdout] | +++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 60 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0038, E0271, E0308, E0412, E0423, E0425, E0432, E0581, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stderr] error: could not compile `freeciv` (bin "freeciv") due to 61 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 64 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0038, E0271, E0277, E0308, E0412, E0423, E0425, E0432, E0581... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stderr] error: could not compile `freeciv` (bin "freeciv" test) due to 65 previous errors [INFO] running `Command { std: "docker" "inspect" "0ac518d88fe664275878eaa1d1845d65b3f8db4cebf9a1d630401481b13bab91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ac518d88fe664275878eaa1d1845d65b3f8db4cebf9a1d630401481b13bab91", kill_on_drop: false }` [INFO] [stdout] 0ac518d88fe664275878eaa1d1845d65b3f8db4cebf9a1d630401481b13bab91 [INFO] checking jonathanmcelroy/freeciv_save_analyzer against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonathanmcelroy%2Ffreeciv_save_analyzer" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jonathanmcelroy/freeciv_save_analyzer on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jonathanmcelroy/freeciv_save_analyzer [INFO] finished tweaking git repo https://github.com/jonathanmcelroy/freeciv_save_analyzer [INFO] tweaked toml for git repo https://github.com/jonathanmcelroy/freeciv_save_analyzer written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jonathanmcelroy/freeciv_save_analyzer 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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] [stderr] Adding bytes v1.6.0 [INFO] [stderr] Updating combine v1.0.0-beta.3 -> v4.6.7 [INFO] [stderr] Adding memchr v2.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 939e134cfff1bb07681bcfedb6f2c883071407364e40068b472b0346b9c25a8d [INFO] running `Command { std: "docker" "start" "-a" "939e134cfff1bb07681bcfedb6f2c883071407364e40068b472b0346b9c25a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "939e134cfff1bb07681bcfedb6f2c883071407364e40068b472b0346b9c25a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "939e134cfff1bb07681bcfedb6f2c883071407364e40068b472b0346b9c25a8d", kill_on_drop: false }` [INFO] [stdout] 939e134cfff1bb07681bcfedb6f2c883071407364e40068b472b0346b9c25a8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c8680bf9ee7a8f8a811e7539ec74767e94cf46dc0345a8f9a77e855400a194e [INFO] running `Command { std: "docker" "start" "-a" "3c8680bf9ee7a8f8a811e7539ec74767e94cf46dc0345a8f9a77e855400a194e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "3c8680bf9ee7a8f8a811e7539ec74767e94cf46dc0345a8f9a77e855400a194e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c8680bf9ee7a8f8a811e7539ec74767e94cf46dc0345a8f9a77e855400a194e", kill_on_drop: false }` [INFO] [stdout] 3c8680bf9ee7a8f8a811e7539ec74767e94cf46dc0345a8f9a77e855400a194e