[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e686a8ada231fe33f83f32e55438527960bffbcf [INFO] checking jonathanmcelroy/freeciv_save_analyzer against master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 for pr-73166 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonathanmcelroy%2Ffreeciv_save_analyzer" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jonathanmcelroy/freeciv_save_analyzer on toolchain 1557fb031b272b4c5bfcc7de5df7eddc7b36a584 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "read-manifest" "--manifest-path" "Cargo.toml", 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-11/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: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-11/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e98b9035959f55f0987aa59d8e46210109c61638cda1ab44e8c5fab6356d4a98 [INFO] running `Command { std: "docker" "start" "-a" "e98b9035959f55f0987aa59d8e46210109c61638cda1ab44e8c5fab6356d4a98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e98b9035959f55f0987aa59d8e46210109c61638cda1ab44e8c5fab6356d4a98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e98b9035959f55f0987aa59d8e46210109c61638cda1ab44e8c5fab6356d4a98", kill_on_drop: false }` [INFO] [stdout] e98b9035959f55f0987aa59d8e46210109c61638cda1ab44e8c5fab6356d4a98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b526ae01513a64b512143c17ae5605985c10a3d41a88d2137b36279548151c5f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b526ae01513a64b512143c17ae5605985c10a3d41a88d2137b36279548151c5f", kill_on_drop: false }` [INFO] [stderr] Checking combine v4.2.1 [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::combine::parser::byte::alpha_num; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::combine::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::combine::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::combine::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::combine::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::combine::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::combine::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::combine::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::combine::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::combine::parser::byte::letter; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::combine::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::combine::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::combine::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::combine::parser::byte::digit; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::combine::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::combine::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::combine::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::combine::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::combine::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::combine::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::combine::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::combine::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::combine::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::combine::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::combine::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[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::combine::parser::byte::alpha_num; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::combine::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::combine::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::combine::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::combine::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::combine::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::combine::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::combine::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::combine::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::combine::parser::byte::letter; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::combine::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::combine::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::combine::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::combine::parser::byte::digit; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::combine::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::combine::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::combine::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::combine::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::combine::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::combine::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::combine::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::combine::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::combine::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::combine::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::combine::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[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] warning: use of deprecated item 'try': use the `?` operator instead [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] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse::*` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use parse::*; [INFO] [stdout] | ^^^^^^^^ [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 type are not considered constrained [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 type are not considered constrained [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 type are not considered constrained [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 type are not considered constrained [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 type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [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] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sections_parser` [INFO] [stdout] --> src/parse/mod.rs:98:83 [INFO] [stdout] | [INFO] [stdout] 98 | use super::{assignment_parser, boolean_parser, object_parser, section_parser, sections_parser, single_object_parser, string_parser, struct_parser, title_parser, wierd_exception}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse::*` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use parse::*; [INFO] [stdout] | ^^^^^^^^ [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 type are not considered constrained [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 type are not considered constrained [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 type are not considered constrained [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 type are not considered constrained [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 type are not considered constrained [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 type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0425, E0432, E0581. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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 type are not considered constrained [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 type are not considered constrained [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 type are not considered constrained [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 type are not considered constrained [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 type are not considered constrained [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 type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at 'Box', /rustc/1557fb031b272b4c5bfcc7de5df7eddc7b36a584/src/libstd/macros.rs:13:23 [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 type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] stack backtrace: [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 type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `freeciv`. [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 type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [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 type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [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 type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: internal compiler error: src/librustc_typeck/astconv.rs:1484:29: anonymous bound region BrAnon(0) in binding but not trait ref [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] [INFO] [stderr] 0: 0x7efd3b37a8d5 - backtrace::backtrace::libunwind::trace::h34afbfad7fd770fc [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stderr] 1: 0x7efd3b37a8d5 - backtrace::backtrace::trace_unsynchronized::h460d522b1619a600 [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stderr] 2: 0x7efd3b37a8d5 - std::sys_common::backtrace::_print_fmt::ha45fac10086813b4 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stderr] 3: 0x7efd3b37a8d5 - ::fmt::hde84f63fcfd0e6de [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stderr] 4: 0x7efd3b3b7e7c - core::fmt::write::h540ac4a6a1232abc [INFO] [stderr] at src/libcore/fmt/mod.rs:1076 [INFO] [stderr] 5: 0x7efd3b36cd03 - std::io::Write::write_fmt::hc344eafd6e850b4d [INFO] [stderr] at src/libstd/io/mod.rs:1537 [INFO] [stderr] 6: 0x7efd3b37f8f0 - std::sys_common::backtrace::_print::h4db88ff15cb5d61d [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stderr] 7: 0x7efd3b37f8f0 - std::sys_common::backtrace::print::h5fc39e1b1f610bd3 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stderr] 8: 0x7efd3b37f8f0 - std::panicking::default_hook::{{closure}}::h59e55edacb1d974a [INFO] [stderr] at src/libstd/panicking.rs:198 [INFO] [stderr] 9: 0x7efd3b37f63c - std::panicking::default_hook::heee4c8016dfbf328 [INFO] [stderr] at src/libstd/panicking.rs:217 [INFO] [stderr] 10: 0x7efd3baa4633 - rustc_driver::report_ice::h76049a6f226ee6c7 [INFO] [stderr] 11: 0x7efd3b37ff9c - std::panicking::rust_panic_with_hook::h8405b6301c79fb5a [INFO] [stderr] at src/libstd/panicking.rs:477 [INFO] [stderr] 12: 0x7efd3c529613 - std::panicking::begin_panic::h5eab241700567699 [INFO] [stderr] 13: 0x7efd3c54583c - rustc_errors::HandlerInner::span_bug::hc27776f03927deab [INFO] [stderr] 14: 0x7efd3c546000 - rustc_errors::Handler::span_bug::h38a0513cfe529eef [INFO] [stderr] 15: 0x7efd3c6e5514 - rustc_middle::util::bug::opt_span_bug_fmt::{{closure}}::hf8464e4d17468c60 [INFO] [stderr] 16: 0x7efd3c6e51fb - rustc_middle::ty::context::tls::with_opt::{{closure}}::ha8ea41d73bac096f [INFO] [stderr] 17: 0x7efd3c6e51a2 - rustc_middle::ty::context::tls::with_opt::hf34ccea0771232b0 [INFO] [stderr] 18: 0x7efd3c6e5419 - rustc_middle::util::bug::opt_span_bug_fmt::h2f890c07ddb254ff [INFO] [stderr] 19: 0x7efd3c6e53d3 - rustc_middle::util::bug::span_bug_fmt::h7f651c9e70f830a7 [INFO] [stderr] 20: 0x7efd3c70357f - ::add_predicates_for_ast_type_binding::hb03559150d331854 [INFO] [stderr] 21: 0x7efd3c6ff83f - ::instantiate_poly_trait_ref_inner::h9ad186b19145e2f3 [INFO] [stderr] 22: 0x7efd3c7005e2 - ::add_bounds::hff3049a9deac58af [INFO] [stderr] 23: 0x7efd3c70079d - ::compute_bounds::hbdc47b2ff0213beb [INFO] [stderr] 24: 0x7efd3c6955cc - rustc_typeck::collect::explicit_predicates_of::hfbb3522c60bc6481 [INFO] [stderr] 25: 0x7efd3c6513be - rustc_middle::ty::query:: for rustc_middle::ty::query::queries::explicit_predicates_of>::compute::h4f41a3ab2845879d [INFO] [stderr] 26: 0x7efd3c61c751 - rustc_query_system::dep_graph::graph::DepGraph::with_task_impl::h0ec810869345d379 [INFO] [stderr] 27: 0x7efd3c637e69 - rustc_data_structures::stack::ensure_sufficient_stack::hffd5c9d47a7b2c00 [INFO] [stderr] 28: 0x7efd3c570567 - rustc_query_system::query::plumbing::get_query_impl::h272532ceb7559542 [INFO] [stderr] 29: 0x7efd3c694b26 - rustc_typeck::collect::predicates_defined_on::h2b362cb73e989eb2 [INFO] [stderr] 30: 0x7efd3c65112e - rustc_middle::ty::query:: for rustc_middle::ty::query::queries::predicates_defined_on>::compute::h30760ca3ff8f9690 [INFO] [stderr] 31: 0x7efd3c61c751 - rustc_query_system::dep_graph::graph::DepGraph::with_task_impl::h0ec810869345d379 [INFO] [stderr] 32: 0x7efd3c637e69 - rustc_data_structures::stack::ensure_sufficient_stack::hffd5c9d47a7b2c00 [INFO] [stderr] 33: 0x7efd3c570567 - rustc_query_system::query::plumbing::get_query_impl::h272532ceb7559542 [INFO] [stderr] 34: 0x7efd3c694c1b - rustc_typeck::collect::predicates_of::h79acd2af3bfc9168 [INFO] [stderr] 35: 0x7efd3c65056b - rustc_middle::ty::query:: for rustc_middle::ty::query::queries::predicates_of>::compute::h09567e7507569d7e [INFO] [stderr] 36: 0x7efd3c61c751 - rustc_query_system::dep_graph::graph::DepGraph::with_task_impl::h0ec810869345d379 [INFO] [stderr] 37: 0x7efd3c637e69 - rustc_data_structures::stack::ensure_sufficient_stack::hffd5c9d47a7b2c00 [INFO] [stderr] 38: 0x7efd3c570567 - rustc_query_system::query::plumbing::get_query_impl::h272532ceb7559542 [INFO] [stderr] 39: 0x7efd3c5bd1bf - rustc_query_system::query::plumbing::ensure_query_impl::h47ed8f13935f5b30 [INFO] [stderr] 40: 0x7efd3c68cf19 - ::visit_item::h7a5a4034b2123ec3 [INFO] [stderr] 41: 0x7efd3c547268 - rustc_middle::hir::map::Map::visit_item_likes_in_module::h9efd75aaf8e3b5e0 [INFO] [stderr] 42: 0x7efd3c68c4b4 - rustc_typeck::collect::collect_mod_item_types::hbb22e833165085d5 [INFO] [stderr] 43: 0x7efd3c71fbe2 - rustc_middle::ty::query:: for rustc_middle::ty::query::queries::collect_mod_item_types>::compute::h7e2da706de9950d8 [INFO] [stderr] 44: 0x7efd3c61b074 - rustc_query_system::dep_graph::graph::DepGraph::with_task_impl::h0966d5a82b9b96ac [INFO] [stderr] 45: 0x7efd3c6311e3 - rustc_data_structures::stack::ensure_sufficient_stack::h368646ef2cb71c36 [INFO] [stderr] 46: 0x7efd3c562d60 - rustc_query_system::query::plumbing::get_query_impl::h029856657062a4f8 [INFO] [stderr] 47: 0x7efd3c5bcf97 - rustc_query_system::query::plumbing::ensure_query_impl::h3cd32c6ef0fd9024 [INFO] [stderr] 48: 0x7efd3c7223d5 - rustc_session::session::Session::track_errors::h125e15bad75931c9 [INFO] [stderr] 49: 0x7efd3c6d4141 - rustc_typeck::check_crate::h591428c22796cbd0 [INFO] [stderr] 50: 0x7efd3bc6b7bf - rustc_interface::passes::analysis::h727469a3678584e2 [INFO] [stderr] 51: 0x7efd3ba90d62 - rustc_middle::ty::query:: for rustc_middle::ty::query::queries::analysis>::compute::habcfeb94cac45b7e [INFO] [stderr] 52: 0x7efd3bb21fc7 - rustc_query_system::dep_graph::graph::DepGraph::with_task_impl::h7806ae86a91cb757 [INFO] [stderr] 53: 0x7efd3ba85403 - rustc_data_structures::stack::ensure_sufficient_stack::h92505c43811de748 [INFO] [stderr] 54: 0x7efd3bb1cc6a - rustc_query_system::query::plumbing::get_query_impl::h67eabce2583369d3 [INFO] [stderr] 55: 0x7efd3ba9114f - rustc_middle::ty::context::tls::enter_global::hd94a0ad11d35566c [INFO] [stderr] 56: 0x7efd3baa7734 - rustc_interface::queries::::enter::hcf417da2db5c1b24 [INFO] [stderr] 57: 0x7efd3bb19a33 - rustc_span::with_source_map::hd51cdb00f1ade542 [INFO] [stderr] 58: 0x7efd3baa9238 - rustc_interface::interface::run_compiler_in_existing_thread_pool::h48e988b1c838f60a [INFO] [stderr] 59: 0x7efd3ba8efdd - scoped_tls::ScopedKey::set::h87c0e807a204a5a9 [INFO] [stderr] 60: 0x7efd3baaaa1a - std::sys_common::backtrace::__rust_begin_short_backtrace::hfbb180f8198592d3 [INFO] [stderr] 61: 0x7efd3ba864fe - core::ops::function::FnOnce::call_once{{vtable.shim}}::h3e4003c89c3d9855 [INFO] [stderr] 62: 0x7efd3b38f78a - as core::ops::function::FnOnce>::call_once::h13d34828db364579 [INFO] [stderr] at /rustc/1557fb031b272b4c5bfcc7de5df7eddc7b36a584/src/liballoc/boxed.rs:1076 [INFO] [stderr] 63: 0x7efd3b38f78a - as core::ops::function::FnOnce>::call_once::hd51b619e0f884abf [INFO] [stderr] at /rustc/1557fb031b272b4c5bfcc7de5df7eddc7b36a584/src/liballoc/boxed.rs:1076 [INFO] [stderr] 64: 0x7efd3b38f78a - std::sys::unix::thread::Thread::new::thread_start::h02c6e34c2c73f344 [INFO] [stderr] at src/libstd/sys/unix/thread.rs:87 [INFO] [stderr] 65: 0x7efd3b2d1609 - start_thread [INFO] [stderr] 66: 0x7efd3b1e5103 - __clone [INFO] [stderr] 67: 0x0 - [INFO] [stderr] [INFO] [stderr] note: the compiler unexpectedly panicked. this is a bug. [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports [INFO] [stderr] [INFO] [stderr] note: rustc 1.46.0-nightly (1557fb031 2020-06-23) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stdout] error: aborting due to 43 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] #0 [explicit_predicates_of] computing explicit predicates of `parse::tests::test` [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0425, E0432, E0581. [INFO] [stdout] [INFO] [stderr] #1 [predicates_defined_on] computing predicates of `parse::tests::test` [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] #2 [predicates_of] computing predicates of `parse::tests::test` [INFO] [stderr] #3 [collect_mod_item_types] collecting item types in module `parse::tests` [INFO] [stderr] #4 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b526ae01513a64b512143c17ae5605985c10a3d41a88d2137b36279548151c5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b526ae01513a64b512143c17ae5605985c10a3d41a88d2137b36279548151c5f", kill_on_drop: false }` [INFO] [stdout] b526ae01513a64b512143c17ae5605985c10a3d41a88d2137b36279548151c5f