[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 try#22dd2dd1dc07f63ae9394352d412f020d2985684 for pr-74627 [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 22dd2dd1dc07f63ae9394352d412f020d2985684 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "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" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "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" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "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" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84b478d13e037b2c1ffe5ffe4d1d4bfe4d9e63c6e99a089d522c1eeea85feb06 [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" "84b478d13e037b2c1ffe5ffe4d1d4bfe4d9e63c6e99a089d522c1eeea85feb06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84b478d13e037b2c1ffe5ffe4d1d4bfe4d9e63c6e99a089d522c1eeea85feb06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84b478d13e037b2c1ffe5ffe4d1d4bfe4d9e63c6e99a089d522c1eeea85feb06", kill_on_drop: false }` [INFO] [stdout] 84b478d13e037b2c1ffe5ffe4d1d4bfe4d9e63c6e99a089d522c1eeea85feb06 [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" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] fb35ba89ccdb8705ab88940b673d484b41971faab3f73a85b108bb3511d46469 [INFO] running `Command { std: "docker" "start" "-a" "fb35ba89ccdb8705ab88940b673d484b41971faab3f73a85b108bb3511d46469", 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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 94 | use parse::parser::repeat::State; [INFO] [stdout] | [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, s... [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: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] [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[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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [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: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[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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [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: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[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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [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: internal compiler error: src/librustc_typeck/astconv.rs:1490: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] [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at 'Box', /rustc/22dd2dd1dc07f63ae9394352d412f020d2985684/src/libstd/macros.rs:13:23 [INFO] [stderr] stack backtrace: [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [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] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [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] 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] [stderr] error: could not compile `freeciv`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] 0: 0x7efd87cf6e0f - std::backtrace_rs::backtrace::libunwind::trace::h8864605b5c3dbe2c [INFO] [stderr] at /rustc/22dd2dd1dc07f63ae9394352d412f020d2985684/src/libstd/../backtrace/src/backtrace/libunwind.rs:96 [INFO] [stderr] 1: 0x7efd87cf6e0f - std::backtrace_rs::backtrace::trace_unsynchronized::h1f622efed412f077 [INFO] [stderr] at /rustc/22dd2dd1dc07f63ae9394352d412f020d2985684/src/libstd/../backtrace/src/backtrace/mod.rs:66 [INFO] [stderr] 2: 0x7efd87cf6e0f - std::sys_common::backtrace::_print_fmt::h8e17da323f21cc2b [INFO] [stderr] at /rustc/22dd2dd1dc07f63ae9394352d412f020d2985684/src/libstd/sys_common/backtrace.rs:77 [INFO] [stderr] 3: 0x7efd87cf6e0f - ::fmt::hd4a7293426badf40 [INFO] [stderr] at /rustc/22dd2dd1dc07f63ae9394352d412f020d2985684/src/libstd/sys_common/backtrace.rs:58 [INFO] [stderr] 4: 0x7efd87d65d1c - core::fmt::write::hfbd2baad61ed21a8 [INFO] [stderr] at /rustc/22dd2dd1dc07f63ae9394352d412f020d2985684/src/libcore/fmt/mod.rs:1117 [INFO] [stderr] 5: 0x7efd87ce8b52 - std::io::Write::write_fmt::h54828fb1bd41a052 [INFO] [stderr] at /rustc/22dd2dd1dc07f63ae9394352d412f020d2985684/src/libstd/io/mod.rs:1508 [INFO] [stderr] 6: 0x7efd87cfbd70 - std::sys_common::backtrace::_print::h6ba0300926b9fb58 [INFO] [stderr] at /rustc/22dd2dd1dc07f63ae9394352d412f020d2985684/src/libstd/sys_common/backtrace.rs:61 [INFO] [stderr] 7: 0x7efd87cfbd70 - std::sys_common::backtrace::print::hd11f0188385cb859 [INFO] [stderr] at /rustc/22dd2dd1dc07f63ae9394352d412f020d2985684/src/libstd/sys_common/backtrace.rs:48 [INFO] [stderr] 8: 0x7efd87cfbd70 - std::panicking::default_hook::{{closure}}::h57b45fcdc30fe8e4 [INFO] [stderr] at /rustc/22dd2dd1dc07f63ae9394352d412f020d2985684/src/libstd/panicking.rs:198 [INFO] [stderr] 9: 0x7efd87cfbabc - std::panicking::default_hook::h067cd795bad37ff3 [INFO] [stderr] at /rustc/22dd2dd1dc07f63ae9394352d412f020d2985684/src/libstd/panicking.rs:217 [INFO] [stderr] 10: 0x7efd884db2d9 - rustc_driver::report_ice::h7ecc0498b871dfb9 [INFO] [stderr] 11: 0x7efd87cfc4e8 - std::panicking::rust_panic_with_hook::hd1b93581b69959be [INFO] [stderr] at /rustc/22dd2dd1dc07f63ae9394352d412f020d2985684/src/libstd/panicking.rs:530 [INFO] [stderr] 12: 0x7efd88f3a173 - std::panicking::begin_panic::hff432c5fcc17a74b [INFO] [stderr] 13: 0x7efd88f977bc - rustc_errors::HandlerInner::span_bug::h5551d6af21183ba4 [INFO] [stderr] 14: 0x7efd88f97f80 - rustc_errors::Handler::span_bug::h00b8694ecd0c7055 [INFO] [stderr] 15: 0x7efd89142c44 - rustc_middle::util::bug::opt_span_bug_fmt::{{closure}}::h8f2644eeea98ca7c [INFO] [stderr] 16: 0x7efd891425fb - rustc_middle::ty::context::tls::with_opt::{{closure}}::hffdd36c85044c5ad [INFO] [stderr] 17: 0x7efd891425a2 - rustc_middle::ty::context::tls::with_opt::h297fc798ceeda150 [INFO] [stderr] 18: 0x7efd89142b49 - rustc_middle::util::bug::opt_span_bug_fmt::h189eb7e5323a2379 [INFO] [stderr] 19: 0x7efd89142b03 - rustc_middle::util::bug::span_bug_fmt::h9f76bb4d85083dc1 [INFO] [stderr] 20: 0x7efd8917b4b8 - ::add_predicates_for_ast_type_binding::h7ce1f605ac9f6a6a [INFO] [stderr] 21: 0x7efd89176bdf - ::instantiate_poly_trait_ref_inner::h5715ce2e1139be60 [INFO] [stderr] 22: 0x7efd891778f2 - ::add_bounds::h901e7792d7946b22 [INFO] [stderr] 23: 0x7efd89177ab6 - ::compute_bounds::he1a77eb6f22545ab [INFO] [stderr] 24: 0x7efd890dc98d - rustc_typeck::collect::explicit_predicates_of::h8ebafd811dfcfb4c [INFO] [stderr] 25: 0x7efd890b460e - rustc_middle::ty::query:: for rustc_middle::ty::query::queries::explicit_predicates_of>::compute::hb838eeb4de1f010d [INFO] [stderr] 26: 0x7efd890842d1 - rustc_query_system::dep_graph::graph::DepGraph::with_task_impl::hed09d1d582d7f61d [INFO] [stderr] 27: 0x7efd8908a3f9 - rustc_data_structures::stack::ensure_sufficient_stack::h15a2dfae56b99b70 [INFO] [stderr] 28: 0x7efd8900d267 - rustc_query_system::query::plumbing::get_query_impl::hf66e777a5367d9f0 [INFO] [stderr] 29: 0x7efd890dbd76 - rustc_typeck::collect::predicates_defined_on::h6acc89aa4e470d02 [INFO] [stderr] 30: 0x7efd890b443e - rustc_middle::ty::query:: for rustc_middle::ty::query::queries::predicates_defined_on>::compute::h15db8515ce96fa77 [INFO] [stderr] 31: 0x7efd890842d1 - rustc_query_system::dep_graph::graph::DepGraph::with_task_impl::hed09d1d582d7f61d [INFO] [stderr] 32: 0x7efd8908a3f9 - rustc_data_structures::stack::ensure_sufficient_stack::h15a2dfae56b99b70 [INFO] [stderr] 33: 0x7efd8900d267 - rustc_query_system::query::plumbing::get_query_impl::hf66e777a5367d9f0 [INFO] [stderr] 34: 0x7efd890dbe6b - rustc_typeck::collect::predicates_of::h4144cdaba6602e9d [INFO] [stderr] 35: 0x7efd890b3a0b - rustc_middle::ty::query:: for rustc_middle::ty::query::queries::predicates_of>::compute::h6ddf51da0f257bcf [INFO] [stderr] 36: 0x7efd890842d1 - rustc_query_system::dep_graph::graph::DepGraph::with_task_impl::hed09d1d582d7f61d [INFO] [stderr] 37: 0x7efd8908a3f9 - rustc_data_structures::stack::ensure_sufficient_stack::h15a2dfae56b99b70 [INFO] [stderr] 38: 0x7efd8900d267 - rustc_query_system::query::plumbing::get_query_impl::hf66e777a5367d9f0 [INFO] [stderr] 39: 0x7efd8901114f - rustc_query_system::query::plumbing::ensure_query_impl::h87cda74461053066 [INFO] [stderr] 40: 0x7efd890d4969 - ::visit_item::hc81c51eeea604a23 [INFO] [stderr] 41: 0x7efd8906ab18 - rustc_middle::hir::map::Map::visit_item_likes_in_module::h3393672189102264 [INFO] [stderr] 42: 0x7efd890d3ee4 - rustc_typeck::collect::collect_mod_item_types::h32930f299d922944 [INFO] [stderr] 43: 0x7efd89190b7e - rustc_middle::ty::query:: for rustc_middle::ty::query::queries::collect_mod_item_types>::compute::h42bd4245eeb577c8 [INFO] [stderr] 44: 0x7efd8907fe47 - rustc_query_system::dep_graph::graph::DepGraph::with_task_impl::hae0bd500ab41256a [INFO] [stderr] 45: 0x7efd8908ab43 - rustc_data_structures::stack::ensure_sufficient_stack::h201d2c59008beb48 [INFO] [stderr] 46: 0x7efd8900772f - rustc_query_system::query::plumbing::get_query_impl::hed6f68e11e64d962 [INFO] [stderr] 47: 0x7efd8901137e - rustc_query_system::query::plumbing::ensure_query_impl::h9b9638bab891e1f5 [INFO] [stderr] 48: 0x7efd89191d83 - rustc_session::session::Session::track_errors::h4c82a11b40341e67 [INFO] [stderr] 49: 0x7efd8912e671 - rustc_typeck::check_crate::hcc66c78befb4522f [INFO] [stderr] 50: 0x7efd8867db32 - rustc_interface::passes::analysis::h4cb2d616b770920a [INFO] [stderr] 51: 0x7efd884c358b - rustc_middle::ty::query:: for rustc_middle::ty::query::queries::analysis>::compute::h6edce7496c1f1ae4 [INFO] [stderr] 52: 0x7efd88536707 - rustc_query_system::dep_graph::graph::DepGraph::with_task_impl::h2f2054d718b6048f [INFO] [stderr] 53: 0x7efd884a2030 - rustc_query_system::query::plumbing::get_query_impl::heed0f1149c45f5b7 [INFO] [stderr] 54: 0x7efd884c3e37 - rustc_middle::ty::context::tls::enter_global::h9dd3184f8720bf78 [INFO] [stderr] 55: 0x7efd88496e9a - rustc_interface::queries::::enter::h933e4b01f320c784 [INFO] [stderr] 56: 0x7efd885354f7 - rustc_span::with_source_map::h75b839be845a69a9 [INFO] [stderr] 57: 0x7efd884980b6 - rustc_interface::interface::create_compiler_and_run::haba2de2bb2375087 [INFO] [stderr] 58: 0x7efd884dc71d - scoped_tls::ScopedKey::set::h0866cda6b1e2e4d1 [INFO] [stderr] 59: 0x7efd884ec494 - rustc_ast::attr::with_session_globals::he3d982f3655b5086 [INFO] [stderr] 60: 0x7efd884eda61 - std::sys_common::backtrace::__rust_begin_short_backtrace::h8752e128e2530b17 [INFO] [stderr] 61: 0x7efd884a54fe - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7745c21652a14c7 [INFO] [stderr] 62: 0x7efd87d0bd6a - as core::ops::function::FnOnce>::call_once::hd0f4a8e67dad49a8 [INFO] [stderr] at /rustc/22dd2dd1dc07f63ae9394352d412f020d2985684/src/liballoc/boxed.rs:1081 [INFO] [stderr] 63: 0x7efd87d0bd6a - as core::ops::function::FnOnce>::call_once::h8a8a8ca7e12e1ddd [INFO] [stderr] at /rustc/22dd2dd1dc07f63ae9394352d412f020d2985684/src/liballoc/boxed.rs:1081 [INFO] [stderr] 64: 0x7efd87d0bd6a - std::sys::unix::thread::Thread::new::thread_start::h05a3dc25c70800d2 [INFO] [stderr] at /rustc/22dd2dd1dc07f63ae9394352d412f020d2985684/src/libstd/sys/unix/thread.rs:87 [INFO] [stderr] 65: 0x7efd87c29609 - start_thread [INFO] [stderr] 66: 0x7efd87b3d103 - 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/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: rustc 1.47.0-nightly (22dd2dd1d 2020-07-22) 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] [stderr] #0 [explicit_predicates_of] computing explicit predicates of `parse::tests::test` [INFO] [stderr] #1 [predicates_defined_on] computing predicates of `parse::tests::test` [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] [stdout] error: aborting due to 43 previous errors; 4 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fb35ba89ccdb8705ab88940b673d484b41971faab3f73a85b108bb3511d46469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb35ba89ccdb8705ab88940b673d484b41971faab3f73a85b108bb3511d46469", kill_on_drop: false }` [INFO] [stdout] fb35ba89ccdb8705ab88940b673d484b41971faab3f73a85b108bb3511d46469