[INFO] updating cached repository jonathanmcelroy/freeciv_save_analyzer [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/jonathanmcelroy/freeciv_save_analyzer [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/jonathanmcelroy/freeciv_save_analyzer" "work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/jonathanmcelroy/freeciv_save_analyzer"` [INFO] [stderr] Cloning into 'work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/jonathanmcelroy/freeciv_save_analyzer'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/jonathanmcelroy/freeciv_save_analyzer" "work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/gh/jonathanmcelroy/freeciv_save_analyzer"` [INFO] [stderr] Cloning into 'work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/gh/jonathanmcelroy/freeciv_save_analyzer'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e686a8ada231fe33f83f32e55438527960bffbcf [INFO] sha for GitHub repo jonathanmcelroy/freeciv_save_analyzer: e686a8ada231fe33f83f32e55438527960bffbcf [INFO] validating manifest of jonathanmcelroy/freeciv_save_analyzer on toolchain master#39401465da4ce27aeeb2c2a26133ac35c63aa515 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of jonathanmcelroy/freeciv_save_analyzer on toolchain try#f45cc3094ee337acd688771b9234318046b0572d [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing jonathanmcelroy/freeciv_save_analyzer [INFO] finished frobbing jonathanmcelroy/freeciv_save_analyzer [INFO] frobbed toml for jonathanmcelroy/freeciv_save_analyzer written to work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/jonathanmcelroy/freeciv_save_analyzer/Cargo.toml [INFO] started frobbing jonathanmcelroy/freeciv_save_analyzer [INFO] finished frobbing jonathanmcelroy/freeciv_save_analyzer [INFO] frobbed toml for jonathanmcelroy/freeciv_save_analyzer written to work/ex/pr-60914/sources/try#f45cc3094ee337acd688771b9234318046b0572d/gh/jonathanmcelroy/freeciv_save_analyzer/Cargo.toml [INFO] crate jonathanmcelroy/freeciv_save_analyzer already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /mnt/crater-raid/crater/work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/jonathanmcelroy/freeciv_save_analyzer/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+f45cc3094ee337acd688771b9234318046b0572d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking jonathanmcelroy/freeciv_save_analyzer against master#39401465da4ce27aeeb2c2a26133ac35c63aa515 for pr-60914 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60914/worker-6/master#39401465da4ce27aeeb2c2a26133ac35c63aa515:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60914/sources/master#39401465da4ce27aeeb2c2a26133ac35c63aa515/gh/jonathanmcelroy/freeciv_save_analyzer:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+39401465da4ce27aeeb2c2a26133ac35c63aa515-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 962e13216c9cd1dd1e53459af7df1b0408fecd095699c731eb8ca4bd4db50706 [INFO] running `"docker" "start" "-a" "962e13216c9cd1dd1e53459af7df1b0408fecd095699c731eb8ca4bd4db50706"` [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking freeciv v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `self::combine::primitives` [INFO] [stderr] --> src/parse/mod.rs:4:20 [INFO] [stderr] | [INFO] [stderr] 4 | use self::combine::primitives::{Consumed, Stream}; [INFO] [stderr] | ^^^^^^^^^^ could not find `primitives` in `combine` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `self::combine::primitives` [INFO] [stderr] --> src/parse/mod.rs:4:20 [INFO] [stderr] | [INFO] [stderr] 4 | use self::combine::primitives::{Consumed, Stream}; [INFO] [stderr] | ^^^^^^^^^^ could not find `primitives` in `combine` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `State` in this scope [INFO] [stderr] --> src/parse/mod.rs:20:24 [INFO] [stderr] | [INFO] [stderr] 20 | fn title_parser(input: State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::stream::state::State; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `alpha_num` in this scope [INFO] [stderr] --> src/parse/mod.rs:21:43 [INFO] [stderr] | [INFO] [stderr] 21 | between(token('['), token(']'), many1(alpha_num())).parse_state(input) [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::byte::alpha_num; [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::alpha_num; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `State` in this scope [INFO] [stderr] --> src/parse/mod.rs:24:25 [INFO] [stderr] | [INFO] [stderr] 24 | fn string_parser(input: State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::stream::state::State; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `State` in this scope [INFO] [stderr] --> src/parse/mod.rs:25:35 [INFO] [stderr] | [INFO] [stderr] 25 | fn escaped_char_parser(input: State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::stream::state::State; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `string` in this scope [INFO] [stderr] --> src/parse/mod.rs:46:14 [INFO] [stderr] | [INFO] [stderr] 46 | optional(string("_(")) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::string; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, found builtin type `char` [INFO] [stderr] --> src/parse/mod.rs:47:23 [INFO] [stderr] | [INFO] [stderr] 47 | .with(between(char('"'), [INFO] [stderr] | ^^^^ not a function [INFO] [stderr] help: possible better candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::char; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, found builtin type `char` [INFO] [stderr] --> src/parse/mod.rs:48:23 [INFO] [stderr] | [INFO] [stderr] 48 | char('"'), [INFO] [stderr] | ^^^^ not a function [INFO] [stderr] help: possible better candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::char; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, found builtin type `char` [INFO] [stderr] --> src/parse/mod.rs:51:24 [INFO] [stderr] | [INFO] [stderr] 51 | .skip(optional(char(')'))).parse_state(input) [INFO] [stderr] | ^^^^ not a function [INFO] [stderr] help: possible better candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::char; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `State` in this scope [INFO] [stderr] --> src/parse/mod.rs:54:27 [INFO] [stderr] | [INFO] [stderr] 54 | fn boolean_parser(input : State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::stream::state::State; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `string` in this scope [INFO] [stderr] --> src/parse/mod.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | string("TRUE").map(|_| Object::Boolean(true)).or(string("FALSE").map(|_| Object::Boolean(false))).parse_state(input) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::string; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `string` in this scope [INFO] [stderr] --> src/parse/mod.rs:55:54 [INFO] [stderr] | [INFO] [stderr] 55 | string("TRUE").map(|_| Object::Boolean(true)).or(string("FALSE").map(|_| Object::Boolean(false))).parse_state(input) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::string; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `State` in this scope [INFO] [stderr] --> src/parse/mod.rs:58:28 [INFO] [stderr] | [INFO] [stderr] 58 | fn wierd_exception(input : State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::stream::state::State; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `string` in this scope [INFO] [stderr] --> src/parse/mod.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | string("$$").with(many1(letter())).map(|string : String| Object::RandomText(string)).parse_state(input) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::string; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `letter` in this scope [INFO] [stderr] --> src/parse/mod.rs:59:29 [INFO] [stderr] | [INFO] [stderr] 59 | string("$$").with(many1(letter())).map(|string : String| Object::RandomText(string)).parse_state(input) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::byte::letter; [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::letter; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `State` in this scope [INFO] [stderr] --> src/parse/mod.rs:62:33 [INFO] [stderr] | [INFO] [stderr] 62 | fn single_object_parser(input : State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::stream::state::State; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spaces` in this scope [INFO] [stderr] --> src/parse/mod.rs:63:26 [INFO] [stderr] | [INFO] [stderr] 63 | let integer_parser = spaces().with(many1(digit())).map(|string : String| Object::IntObject(string.parse::().unwrap())); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::byte::spaces; [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::spaces; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `digit` in this scope [INFO] [stderr] --> src/parse/mod.rs:63:46 [INFO] [stderr] | [INFO] [stderr] 63 | let integer_parser = spaces().with(many1(digit())).map(|string : String| Object::IntObject(string.parse::().unwrap())); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::byte::digit; [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::digit; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `State` in this scope [INFO] [stderr] --> src/parse/mod.rs:68:25 [INFO] [stderr] | [INFO] [stderr] 68 | fn struct_parser(input: State<&str>) -> ParseResult<(Vec, Vec>), &str> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::stream::state::State; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spaces` in this scope [INFO] [stderr] --> src/parse/mod.rs:69:24 [INFO] [stderr] | [INFO] [stderr] 69 | let comma_parser = spaces().with(char(',')).skip(spaces()); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::byte::spaces; [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::spaces; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, found builtin type `char` [INFO] [stderr] --> src/parse/mod.rs:69:38 [INFO] [stderr] | [INFO] [stderr] 69 | let comma_parser = spaces().with(char(',')).skip(spaces()); [INFO] [stderr] | ^^^^ not a function [INFO] [stderr] help: possible better candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::char; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spaces` in this scope [INFO] [stderr] --> src/parse/mod.rs:69:54 [INFO] [stderr] | [INFO] [stderr] 69 | let comma_parser = spaces().with(char(',')).skip(spaces()); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::byte::spaces; [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::spaces; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, found builtin type `char` [INFO] [stderr] --> src/parse/mod.rs:70:24 [INFO] [stderr] | [INFO] [stderr] 70 | let title_parser = char('{').with(spaces()).with(sep_by(parser(string_parser), comma_parser.clone())); [INFO] [stderr] | ^^^^ not a function [INFO] [stderr] help: possible better candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::char; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spaces` in this scope [INFO] [stderr] --> src/parse/mod.rs:70:39 [INFO] [stderr] | [INFO] [stderr] 70 | let title_parser = char('{').with(spaces()).with(sep_by(parser(string_parser), comma_parser.clone())); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::byte::spaces; [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::spaces; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spaces` in this scope [INFO] [stderr] --> src/parse/mod.rs:71:27 [INFO] [stderr] | [INFO] [stderr] 71 | let row_parser = many(spaces().with(sep_by(parser(single_object_parser), comma_parser))); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::byte::spaces; [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::spaces; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `State` in this scope [INFO] [stderr] --> src/parse/mod.rs:76:26 [INFO] [stderr] | [INFO] [stderr] 76 | fn object_parser(input : State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::stream::state::State; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `State` in this scope [INFO] [stderr] --> src/parse/mod.rs:80:30 [INFO] [stderr] | [INFO] [stderr] 80 | fn assignment_parser(input : State<&str>) -> ParseResult<(String, Object), &str> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::stream::state::State; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `State` in this scope [INFO] [stderr] --> src/parse/mod.rs:84:27 [INFO] [stderr] | [INFO] [stderr] 84 | fn section_parser(input : State<&str>) -> ParseResult<(String, HashMap), &str> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::stream::state::State; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `State` in this scope [INFO] [stderr] --> src/parse/mod.rs:88:31 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn sections_parser(input: State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::stream::state::State; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `Result` [INFO] [stderr] --> src/main.rs:4:15 [INFO] [stderr] | [INFO] [stderr] 4 | use std::io::{Result}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Many`, `SepBy` [INFO] [stderr] --> src/parse/mod.rs:3:33 [INFO] [stderr] | [INFO] [stderr] 3 | use self::combine::combinator::{Many, SepBy}; [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `parse::*` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use parse::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0581]: return type references an anonymous lifetime which is not constrained by the fn input types [INFO] [stderr] --> src/parse/mod.rs:20:40 [INFO] [stderr] | [INFO] [stderr] 20 | fn title_parser(input: State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stderr] [INFO] [stderr] error[E0581]: return type references an anonymous lifetime which is not constrained by the fn input types [INFO] [stderr] --> src/parse/mod.rs:24:41 [INFO] [stderr] | [INFO] [stderr] 24 | fn string_parser(input: State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stderr] [INFO] [stderr] error[E0581]: return type references an anonymous lifetime which is not constrained by the fn input types [INFO] [stderr] --> src/parse/mod.rs:25:51 [INFO] [stderr] | [INFO] [stderr] 25 | fn escaped_char_parser(input: State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stderr] [INFO] [stderr] error[E0581]: return type references an anonymous lifetime which is not constrained by the fn input types [INFO] [stderr] --> src/parse/mod.rs:54:43 [INFO] [stderr] | [INFO] [stderr] 54 | fn boolean_parser(input : State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stderr] [INFO] [stderr] error[E0581]: return type references an anonymous lifetime which is not constrained by the fn input types [INFO] [stderr] --> src/parse/mod.rs:58:44 [INFO] [stderr] | [INFO] [stderr] 58 | fn wierd_exception(input : State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stderr] [INFO] [stderr] error[E0581]: return type references an anonymous lifetime which is not constrained by the fn input types [INFO] [stderr] --> src/parse/mod.rs:62:49 [INFO] [stderr] | [INFO] [stderr] 62 | fn single_object_parser(input : State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stderr] [INFO] [stderr] error[E0581]: return type references an anonymous lifetime which is not constrained by the fn input types [INFO] [stderr] --> src/parse/mod.rs:68:41 [INFO] [stderr] | [INFO] [stderr] 68 | fn struct_parser(input: State<&str>) -> ParseResult<(Vec, Vec>), &str> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stderr] [INFO] [stderr] error[E0581]: return type references an anonymous lifetime which is not constrained by the fn input types [INFO] [stderr] --> src/parse/mod.rs:76:42 [INFO] [stderr] | [INFO] [stderr] 76 | fn object_parser(input : State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stderr] [INFO] [stderr] error[E0581]: return type references an anonymous lifetime which is not constrained by the fn input types [INFO] [stderr] --> src/parse/mod.rs:80:46 [INFO] [stderr] | [INFO] [stderr] 80 | fn assignment_parser(input : State<&str>) -> ParseResult<(String, Object), &str> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stderr] [INFO] [stderr] error[E0581]: return type references an anonymous lifetime which is not constrained by the fn input types [INFO] [stderr] --> src/parse/mod.rs:84:43 [INFO] [stderr] | [INFO] [stderr] 84 | fn section_parser(input : State<&str>) -> ParseResult<(String, HashMap), &str> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stderr] [INFO] [stderr] error[E0581]: return type references an anonymous lifetime which is not constrained by the fn input types [INFO] [stderr] --> src/parse/mod.rs:88:47 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn sections_parser(input: State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stderr] [INFO] [stderr] error: aborting due to 40 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0423, E0425, E0432, E0581. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `freeciv`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0412]: cannot find type `State` in this scope [INFO] [stderr] --> src/parse/mod.rs:20:24 [INFO] [stderr] | [INFO] [stderr] 20 | fn title_parser(input: State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::stream::state::State; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `alpha_num` in this scope [INFO] [stderr] --> src/parse/mod.rs:21:43 [INFO] [stderr] | [INFO] [stderr] 21 | between(token('['), token(']'), many1(alpha_num())).parse_state(input) [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::byte::alpha_num; [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::alpha_num; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `State` in this scope [INFO] [stderr] --> src/parse/mod.rs:24:25 [INFO] [stderr] | [INFO] [stderr] 24 | fn string_parser(input: State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::stream::state::State; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `State` in this scope [INFO] [stderr] --> src/parse/mod.rs:25:35 [INFO] [stderr] | [INFO] [stderr] 25 | fn escaped_char_parser(input: State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::stream::state::State; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `string` in this scope [INFO] [stderr] --> src/parse/mod.rs:46:14 [INFO] [stderr] | [INFO] [stderr] 46 | optional(string("_(")) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::string; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, found builtin type `char` [INFO] [stderr] --> src/parse/mod.rs:47:23 [INFO] [stderr] | [INFO] [stderr] 47 | .with(between(char('"'), [INFO] [stderr] | ^^^^ not a function [INFO] [stderr] help: possible better candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::char; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, found builtin type `char` [INFO] [stderr] --> src/parse/mod.rs:48:23 [INFO] [stderr] | [INFO] [stderr] 48 | char('"'), [INFO] [stderr] | ^^^^ not a function [INFO] [stderr] help: possible better candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::char; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, found builtin type `char` [INFO] [stderr] --> src/parse/mod.rs:51:24 [INFO] [stderr] | [INFO] [stderr] 51 | .skip(optional(char(')'))).parse_state(input) [INFO] [stderr] | ^^^^ not a function [INFO] [stderr] help: possible better candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::char; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `State` in this scope [INFO] [stderr] --> src/parse/mod.rs:54:27 [INFO] [stderr] | [INFO] [stderr] 54 | fn boolean_parser(input : State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::stream::state::State; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `string` in this scope [INFO] [stderr] --> src/parse/mod.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | string("TRUE").map(|_| Object::Boolean(true)).or(string("FALSE").map(|_| Object::Boolean(false))).parse_state(input) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::string; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `string` in this scope [INFO] [stderr] --> src/parse/mod.rs:55:54 [INFO] [stderr] | [INFO] [stderr] 55 | string("TRUE").map(|_| Object::Boolean(true)).or(string("FALSE").map(|_| Object::Boolean(false))).parse_state(input) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::string; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `State` in this scope [INFO] [stderr] --> src/parse/mod.rs:58:28 [INFO] [stderr] | [INFO] [stderr] 58 | fn wierd_exception(input : State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::stream::state::State; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `string` in this scope [INFO] [stderr] --> src/parse/mod.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | string("$$").with(many1(letter())).map(|string : String| Object::RandomText(string)).parse_state(input) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::string; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `letter` in this scope [INFO] [stderr] --> src/parse/mod.rs:59:29 [INFO] [stderr] | [INFO] [stderr] 59 | string("$$").with(many1(letter())).map(|string : String| Object::RandomText(string)).parse_state(input) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::byte::letter; [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::letter; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `State` in this scope [INFO] [stderr] --> src/parse/mod.rs:62:33 [INFO] [stderr] | [INFO] [stderr] 62 | fn single_object_parser(input : State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::stream::state::State; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spaces` in this scope [INFO] [stderr] --> src/parse/mod.rs:63:26 [INFO] [stderr] | [INFO] [stderr] 63 | let integer_parser = spaces().with(many1(digit())).map(|string : String| Object::IntObject(string.parse::().unwrap())); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::byte::spaces; [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::spaces; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `digit` in this scope [INFO] [stderr] --> src/parse/mod.rs:63:46 [INFO] [stderr] | [INFO] [stderr] 63 | let integer_parser = spaces().with(many1(digit())).map(|string : String| Object::IntObject(string.parse::().unwrap())); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::byte::digit; [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::digit; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `State` in this scope [INFO] [stderr] --> src/parse/mod.rs:68:25 [INFO] [stderr] | [INFO] [stderr] 68 | fn struct_parser(input: State<&str>) -> ParseResult<(Vec, Vec>), &str> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::stream::state::State; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spaces` in this scope [INFO] [stderr] --> src/parse/mod.rs:69:24 [INFO] [stderr] | [INFO] [stderr] 69 | let comma_parser = spaces().with(char(',')).skip(spaces()); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::byte::spaces; [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::spaces; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, found builtin type `char` [INFO] [stderr] --> src/parse/mod.rs:69:38 [INFO] [stderr] | [INFO] [stderr] 69 | let comma_parser = spaces().with(char(',')).skip(spaces()); [INFO] [stderr] | ^^^^ not a function [INFO] [stderr] help: possible better candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::char; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spaces` in this scope [INFO] [stderr] --> src/parse/mod.rs:69:54 [INFO] [stderr] | [INFO] [stderr] 69 | let comma_parser = spaces().with(char(',')).skip(spaces()); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::byte::spaces; [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::spaces; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, found builtin type `char` [INFO] [stderr] --> src/parse/mod.rs:70:24 [INFO] [stderr] | [INFO] [stderr] 70 | let title_parser = char('{').with(spaces()).with(sep_by(parser(string_parser), comma_parser.clone())); [INFO] [stderr] | ^^^^ not a function [INFO] [stderr] help: possible better candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::char; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spaces` in this scope [INFO] [stderr] --> src/parse/mod.rs:70:39 [INFO] [stderr] | [INFO] [stderr] 70 | let title_parser = char('{').with(spaces()).with(sep_by(parser(string_parser), comma_parser.clone())); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::byte::spaces; [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::spaces; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `spaces` in this scope [INFO] [stderr] --> src/parse/mod.rs:71:27 [INFO] [stderr] | [INFO] [stderr] 71 | let row_parser = many(spaces().with(sep_by(parser(single_object_parser), comma_parser))); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::byte::spaces; [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::char::spaces; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `State` in this scope [INFO] [stderr] --> src/parse/mod.rs:76:26 [INFO] [stderr] | [INFO] [stderr] 76 | fn object_parser(input : State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::stream::state::State; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `State` in this scope [INFO] [stderr] --> src/parse/mod.rs:80:30 [INFO] [stderr] | [INFO] [stderr] 80 | fn assignment_parser(input : State<&str>) -> ParseResult<(String, Object), &str> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::stream::state::State; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `State` in this scope [INFO] [stderr] --> src/parse/mod.rs:84:27 [INFO] [stderr] | [INFO] [stderr] 84 | fn section_parser(input : State<&str>) -> ParseResult<(String, HashMap), &str> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::stream::state::State; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `State` in this scope [INFO] [stderr] --> src/parse/mod.rs:88:31 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn sections_parser(input: State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2 | use parse::combine::stream::state::State; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `State` in this scope [INFO] [stderr] --> src/parse/mod.rs:102:34 [INFO] [stderr] | [INFO] [stderr] 102 | fn test) -> ParseResult>(my_parser : F, input : &str, output : A) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 94 | use parse::combine::stream::state::State; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `Result` [INFO] [stderr] --> src/main.rs:4:15 [INFO] [stderr] | [INFO] [stderr] 4 | use std::io::{Result}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Many`, `SepBy` [INFO] [stderr] --> src/parse/mod.rs:3:33 [INFO] [stderr] | [INFO] [stderr] 3 | use self::combine::combinator::{Many, SepBy}; [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sections_parser` [INFO] [stderr] --> src/parse/mod.rs:98:83 [INFO] [stderr] | [INFO] [stderr] 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] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `parse::*` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use parse::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0581]: return type references an anonymous lifetime which is not constrained by the fn input types [INFO] [stderr] --> src/parse/mod.rs:20:40 [INFO] [stderr] | [INFO] [stderr] 20 | fn title_parser(input: State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stderr] [INFO] [stderr] error[E0581]: return type references an anonymous lifetime which is not constrained by the fn input types [INFO] [stderr] --> src/parse/mod.rs:24:41 [INFO] [stderr] | [INFO] [stderr] 24 | fn string_parser(input: State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stderr] [INFO] [stderr] error[E0581]: return type references an anonymous lifetime which is not constrained by the fn input types [INFO] [stderr] --> src/parse/mod.rs:25:51 [INFO] [stderr] | [INFO] [stderr] 25 | fn escaped_char_parser(input: State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stderr] [INFO] [stderr] error[E0581]: return type references an anonymous lifetime which is not constrained by the fn input types [INFO] [stderr] --> src/parse/mod.rs:54:43 [INFO] [stderr] | [INFO] [stderr] 54 | fn boolean_parser(input : State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stderr] [INFO] [stderr] error[E0581]: return type references an anonymous lifetime which is not constrained by the fn input types [INFO] [stderr] --> src/parse/mod.rs:58:44 [INFO] [stderr] | [INFO] [stderr] 58 | fn wierd_exception(input : State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stderr] [INFO] [stderr] error[E0581]: return type references an anonymous lifetime which is not constrained by the fn input types [INFO] [stderr] --> src/parse/mod.rs:62:49 [INFO] [stderr] | [INFO] [stderr] 62 | fn single_object_parser(input : State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stderr] [INFO] [stderr] error[E0581]: return type references an anonymous lifetime which is not constrained by the fn input types [INFO] [stderr] --> src/parse/mod.rs:68:41 [INFO] [stderr] | [INFO] [stderr] 68 | fn struct_parser(input: State<&str>) -> ParseResult<(Vec, Vec>), &str> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stderr] [INFO] [stderr] error[E0581]: return type references an anonymous lifetime which is not constrained by the fn input types [INFO] [stderr] --> src/parse/mod.rs:76:42 [INFO] [stderr] | [INFO] [stderr] 76 | fn object_parser(input : State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stderr] [INFO] [stderr] error[E0581]: return type references an anonymous lifetime which is not constrained by the fn input types [INFO] [stderr] --> src/parse/mod.rs:80:46 [INFO] [stderr] | [INFO] [stderr] 80 | fn assignment_parser(input : State<&str>) -> ParseResult<(String, Object), &str> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stderr] [INFO] [stderr] error[E0581]: return type references an anonymous lifetime which is not constrained by the fn input types [INFO] [stderr] --> src/parse/mod.rs:84:43 [INFO] [stderr] | [INFO] [stderr] 84 | fn section_parser(input : State<&str>) -> ParseResult<(String, HashMap), &str> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stderr] [INFO] [stderr] error[E0581]: return type references an anonymous lifetime which is not constrained by the fn input types [INFO] [stderr] --> src/parse/mod.rs:88:47 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn sections_parser(input: State<&str>) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stderr] [INFO] [stderr] error: internal compiler error: src/librustc_typeck/astconv.rs:876: anonymous bound region BrAnon(0) in binding but not trait ref [INFO] [stderr] --> src/parse/mod.rs:102:50 [INFO] [stderr] | [INFO] [stderr] 102 | fn test) -> ParseResult>(my_parser : F, input : &str, output : A) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] thread 'rustc' panicked at 'Box', src/librustc_errors/lib.rs:572:9 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7fd835eadac3 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::hb8de48fc76930a93 [INFO] [stderr] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stderr] 1: 0x7fd835ea594b - std::sys_common::backtrace::_print::ha2266954ddac1c55 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stderr] 2: 0x7fd835ea9d26 - std::panicking::default_hook::{{closure}}::h975448ea6b286e60 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stderr] at src/libstd/panicking.rs:197 [INFO] [stderr] 3: 0x7fd835ea9ab9 - std::panicking::default_hook::h45c767eadadf14be [INFO] [stderr] at src/libstd/panicking.rs:211 [INFO] [stderr] 4: 0x7fd833444e30 - rustc::util::common::panic_hook::hba7176918ff43844 [INFO] [stderr] 5: 0x7fd835eaa518 - std::panicking::rust_panic_with_hook::h1d02df52de2c5a52 [INFO] [stderr] at src/libstd/panicking.rs:478 [INFO] [stderr] 6: 0x7fd8304461a0 - std::panicking::begin_panic::h4b1c1b40e7fe03e3 [INFO] [stderr] 7: 0x7fd830445965 - rustc_errors::Handler::span_bug::h53ad9e5fcb6985c0 [INFO] [stderr] 8: 0x7fd83028b6c1 - rustc::util::bug::opt_span_bug_fmt::{{closure}}::h746a102a62744b77 [INFO] [stderr] 9: 0x7fd8302895e9 - rustc::ty::context::tls::with_opt::{{closure}}::h5ec63c07a056541f [INFO] [stderr] 10: 0x7fd83028954f - rustc::ty::context::tls::with_context_opt::h418a4305e0c2fd53 [INFO] [stderr] 11: 0x7fd830289596 - rustc::ty::context::tls::with_opt::h3b50ad10bb7ea2a3 [INFO] [stderr] 12: 0x7fd83028b5b7 - rustc::util::bug::opt_span_bug_fmt::h0df58714ee10e119 [INFO] [stderr] 13: 0x7fd83028b569 - rustc::util::bug::span_bug_fmt::h710360344d72228c [INFO] [stderr] 14: 0x7fd83033a55f - ::ast_type_binding_to_poly_projection_predicate::h04dd6af3ff42bad4 [INFO] [stderr] 15: 0x7fd8303c21b2 - as alloc::vec::SpecExtend>::spec_extend::h9a40373c3920bf4c [INFO] [stderr] 16: 0x7fd830338020 - ::instantiate_poly_trait_ref_inner::hbdb9fcc955449327 [INFO] [stderr] 17: 0x7fd8304693bb - as core::iter::traits::iterator::Iterator>::fold::h2737ccd0327bdf4d [INFO] [stderr] 18: 0x7fd8303c5139 - as alloc::vec::SpecExtend>::from_iter::h43f0c72d5c38e3da [INFO] [stderr] 19: 0x7fd830416053 - rustc_typeck::collect::compute_bounds::hbbd9e20143d8c04b [INFO] [stderr] 20: 0x7fd830413ced - rustc_typeck::collect::explicit_predicates_of::h0a9ec5d236d1f9fa [INFO] [stderr] 21: 0x7fd83028832f - rustc::ty::query::__query_compute::explicit_predicates_of::h9e09b1e19ddf5d28 [INFO] [stderr] 22: 0x7fd8301de30c - rustc::ty::query::::compute::h7c2faa47caba5ba0 [INFO] [stderr] 23: 0x7fd8302b5046 - rustc::dep_graph::graph::DepGraph::with_task_impl::h5045c731028e98ea [INFO] [stderr] 24: 0x7fd8301f5d8e - rustc::ty::query::plumbing::::get_query::h23128e0183b0d2bd [INFO] [stderr] 25: 0x7fd830413086 - rustc_typeck::collect::predicates_defined_on::hb0a4ceed53e584b5 [INFO] [stderr] 26: 0x7fd830287f5f - rustc::ty::query::__query_compute::predicates_defined_on::hf353f990ee264823 [INFO] [stderr] 27: 0x7fd8301de24c - rustc::ty::query::::compute::h642504966fd29af9 [INFO] [stderr] 28: 0x7fd8302b2166 - rustc::dep_graph::graph::DepGraph::with_task_impl::h2fa2a6493ed8763c [INFO] [stderr] 29: 0x7fd830225e8e - rustc::ty::query::plumbing::::get_query::h6eff36b4a396792b [INFO] [stderr] 30: 0x7fd8304132d6 - rustc_typeck::collect::predicates_of::hd05954528451f2b5 [INFO] [stderr] 31: 0x7fd8302866ac - rustc::ty::query::__query_compute::predicates_of::h766eb72c38438a31 [INFO] [stderr] 32: 0x7fd8301ddddc - rustc::ty::query::::compute::hf89d33a70cdc6a6a [INFO] [stderr] 33: 0x7fd8302b6b26 - rustc::dep_graph::graph::DepGraph::with_task_impl::h5fb0c9f6fb5830db [INFO] [stderr] 34: 0x7fd8302217e4 - rustc::ty::query::plumbing::::get_query::h6412867d94c92879 [INFO] [stderr] 35: 0x7fd83040be89 - ::visit_item::h97c6d975ad12d557 [INFO] [stderr] 36: 0x7fd83028b372 - rustc::hir::map::Map::visit_item_likes_in_module::h98958909d5dab41a [INFO] [stderr] 37: 0x7fd83040bdac - rustc_typeck::collect::collect_mod_item_types::h3937fa0ae2cf34ea [INFO] [stderr] 38: 0x7fd83028823d - rustc::ty::query::__query_compute::collect_mod_item_types::h6f79449fb7336175 [INFO] [stderr] 39: 0x7fd8301de2dc - rustc::ty::query::::compute::h0f588e6b79ef392f [INFO] [stderr] 40: 0x7fd8302b4311 - rustc::dep_graph::graph::DepGraph::with_task_impl::h4144a3b4fd99e059 [INFO] [stderr] 41: 0x7fd830256e37 - rustc::ty::query::plumbing::::get_query::hea149ea6f05d2a18 [INFO] [stderr] 42: 0x7fd8302a5ad8 - rustc_typeck::check_crate::{{closure}}::{{closure}}::h498f42fab92b1c24 [INFO] [stderr] 43: 0x7fd83028bc30 - rustc::util::common::time::h5594b44d2c39e4b9 [INFO] [stderr] 44: 0x7fd83041af5b - rustc_typeck::check_crate::h0ee150c1b6aab9e7 [INFO] [stderr] 45: 0x7fd8350d9f21 - rustc_interface::passes::analysis::h70fe8b25e6c5bc2e [INFO] [stderr] 46: 0x7fd8361736f5 - rustc::ty::query::__query_compute::analysis::hff0083e92ec4d248 [INFO] [stderr] 47: 0x7fd8361806f8 - rustc::ty::query::::compute::h4c2136827ddac1f4 [INFO] [stderr] 48: 0x7fd8361767a7 - rustc::dep_graph::graph::DepGraph::with_task_impl::hd2fa6fc541f6aa4c [INFO] [stderr] 49: 0x7fd836183b50 - rustc::ty::query::plumbing::::get_query::h845b349a5e3372d8 [INFO] [stderr] 50: 0x7fd836192085 - rustc::ty::context::tls::enter_global::h0f155befabde99a1 [INFO] [stderr] 51: 0x7fd836194666 - rustc_interface::passes::BoxedGlobalCtxt::access::{{closure}}::h9b7628a2b7b5ca59 [INFO] [stderr] 52: 0x7fd835179764 - rustc_interface::passes::create_global_ctxt::{{closure}}::h63ed9904f7e18fa4 [INFO] [stderr] 53: 0x7fd836196217 - rustc_interface::interface::run_compiler_in_existing_thread_pool::h450b0cbdcba20c1c [INFO] [stderr] 54: 0x7fd836213bc5 - std::thread::local::LocalKey::with::hece511ff8d74c092 [INFO] [stderr] 55: 0x7fd8361b6a34 - scoped_tls::ScopedKey::set::hbf17071aeb8ed76d [INFO] [stderr] 56: 0x7fd836202421 - syntax::with_globals::h6aa0df9da86c0ff3 [INFO] [stderr] 57: 0x7fd8361640e4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h19c3ddfefd4660cc [INFO] [stderr] 58: 0x7fd835ebb589 - __rust_maybe_catch_panic [INFO] [stderr] at src/libpanic_unwind/lib.rs:85 [INFO] [stderr] 59: 0x7fd83618f9e8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he1b1804985c74102 [INFO] [stderr] 60: 0x7fd835e8c54e - as core::ops::function::FnOnce>::call_once::ha6947fec998ba891 [INFO] [stderr] at /rustc/39401465da4ce27aeeb2c2a26133ac35c63aa515/src/liballoc/boxed.rs:704 [INFO] [stderr] 61: 0x7fd835eba1ff - std::sys::unix::thread::Thread::new::thread_start::h82465584f5b9bb49 [INFO] [stderr] at /rustc/39401465da4ce27aeeb2c2a26133ac35c63aa515/src/liballoc/boxed.rs:704 [INFO] [stderr] at src/libstd/sys_common/thread.rs:13 [INFO] [stderr] at src/libstd/sys/unix/thread.rs:79 [INFO] [stderr] 62: 0x7fd835c2b4a3 - start_thread [INFO] [stderr] 63: 0x7fd835561d0e - __clone [INFO] [stderr] 64: 0x0 - [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [explicit_predicates_of] processing `parse::tests::test` [INFO] [stderr] #1 [predicates_defined_on] processing `parse::tests::test` [INFO] [stderr] #2 [predicates_of] processing `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: aborting due to 42 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0423, E0425, E0432, E0581. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [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.36.0-nightly (39401465d 2019-05-17) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] error: Could not compile `freeciv`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "962e13216c9cd1dd1e53459af7df1b0408fecd095699c731eb8ca4bd4db50706"` [INFO] running `"docker" "rm" "-f" "962e13216c9cd1dd1e53459af7df1b0408fecd095699c731eb8ca4bd4db50706"` [INFO] [stdout] 962e13216c9cd1dd1e53459af7df1b0408fecd095699c731eb8ca4bd4db50706