[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-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/jonathanmcelroy/freeciv_save_analyzer"` [INFO] [stderr] Cloning into 'work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/jonathanmcelroy/freeciv_save_analyzer'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/jonathanmcelroy/freeciv_save_analyzer" "work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/gh/jonathanmcelroy/freeciv_save_analyzer"` [INFO] [stderr] Cloning into 'work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/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#0f88167f89fffe321590c5148f21b7d51d44388d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of jonathanmcelroy/freeciv_save_analyzer on toolchain try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-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-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/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-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/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/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/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/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking jonathanmcelroy/freeciv_save_analyzer against master#0f88167f89fffe321590c5148f21b7d51d44388d for pr-58948 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-58948/worker-1/master#0f88167f89fffe321590c5148f21b7d51d44388d:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/jonathanmcelroy/freeciv_save_analyzer:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/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" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 219c3ab5748c8e9b501d6080e5aa45fd23cf5f0277e7b1e7b0831206b9539c73 [INFO] running `"docker" "start" "-a" "219c3ab5748c8e9b501d6080e5aa45fd23cf5f0277e7b1e7b0831206b9539c73"` [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking either v1.5.1 [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[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: `Stream` [INFO] [stderr] --> src/parse/mod.rs:4:43 [INFO] [stderr] | [INFO] [stderr] 4 | use self::combine::primitives::{Consumed, Stream}; [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 occurred: E0412, E0423, E0425, E0432, E0581. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [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: 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: `Stream` [INFO] [stderr] --> src/parse/mod.rs:4:43 [INFO] [stderr] | [INFO] [stderr] 4 | use self::combine::primitives::{Consumed, Stream}; [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:569:9 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x7fc0d989c2d3 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h3ea4e797e65a328d [INFO] [stderr] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stderr] 1: 0x7fc0d9894bcb - std::sys_common::backtrace::_print::hf58574b7d5a741ab [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stderr] 2: 0x7fc0d9898536 - std::panicking::default_hook::{{closure}}::hed8b316a41353ca9 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stderr] at src/libstd/panicking.rs:197 [INFO] [stderr] 3: 0x7fc0d98982c9 - std::panicking::default_hook::h8f4ba314e61c5eff [INFO] [stderr] at src/libstd/panicking.rs:211 [INFO] [stderr] 4: 0x7fc0d6f9d7cf - rustc::util::common::panic_hook::hac7fdc56c3fb69a6 [INFO] [stderr] 5: 0x7fc0d9898d28 - std::panicking::rust_panic_with_hook::hde5d2bfa491b5add [INFO] [stderr] at src/libstd/panicking.rs:478 [INFO] [stderr] 6: 0x7fc0d438bb7c - std::panicking::begin_panic::hf937d1dc8a37c219 [INFO] [stderr] 7: 0x7fc0d4346edc - rustc_errors::Handler::span_bug::h7167cddb7e5db9ea [INFO] [stderr] 8: 0x7fc0d439fac8 - rustc::util::bug::opt_span_bug_fmt::{{closure}}::hbdb395d075378723 [INFO] [stderr] 9: 0x7fc0d439b819 - rustc::ty::context::tls::with_opt::{{closure}}::hb80bfa653d2886bd [INFO] [stderr] 10: 0x7fc0d439b77f - rustc::ty::context::tls::with_context_opt::hd2f7bc181ae3e068 [INFO] [stderr] 11: 0x7fc0d439b7c6 - rustc::ty::context::tls::with_opt::h199b3821c90360fa [INFO] [stderr] 12: 0x7fc0d439f9c4 - rustc::util::bug::opt_span_bug_fmt::h8c8c56e259d45f12 [INFO] [stderr] 13: 0x7fc0d439f96f - rustc::util::bug::span_bug_fmt::h46c6b6e7014ada6a [INFO] [stderr] 14: 0x7fc0d45770c1 - ::ast_type_binding_to_poly_projection_predicate::h3d348897a64d06db [INFO] [stderr] 15: 0x7fc0d45c98d8 - as alloc::vec::SpecExtend>::spec_extend::h07c0395a279c9f23 [INFO] [stderr] 16: 0x7fc0d45752a8 - ::instantiate_poly_trait_ref_inner::hdb655dd68cfe3c63 [INFO] [stderr] 17: 0x7fc0d43abbdb - as core::iter::traits::iterator::Iterator>::fold::h54939851b26c1024 [INFO] [stderr] 18: 0x7fc0d45cc599 - as alloc::vec::SpecExtend>::from_iter::h35712c41bd53dfb0 [INFO] [stderr] 19: 0x7fc0d4594d37 - rustc_typeck::collect::compute_bounds::hfca7224138e83771 [INFO] [stderr] 20: 0x7fc0d459295a - rustc_typeck::collect::explicit_predicates_of::he575d5af2aacc601 [INFO] [stderr] 21: 0x7fc0d439a4f9 - rustc::ty::query::__query_compute::explicit_predicates_of::h5f136a7c1073ec57 [INFO] [stderr] 22: 0x7fc0d448d8cc - rustc::ty::query::::compute::h9bf97d984aaad16d [INFO] [stderr] 23: 0x7fc0d4428518 - rustc::dep_graph::graph::DepGraph::with_task_impl::hf77c10804b02b99b [INFO] [stderr] 24: 0x7fc0d44f47db - rustc::ty::query::plumbing::::get_query::hb43d70fd3ea06135 [INFO] [stderr] 25: 0x7fc0d4591636 - rustc_typeck::collect::predicates_defined_on::h3e792f65073b55b5 [INFO] [stderr] 26: 0x7fc0d439a129 - rustc::ty::query::__query_compute::predicates_defined_on::h99e87e3dbeee537b [INFO] [stderr] 27: 0x7fc0d448d80c - rustc::ty::query::::compute::h69e793c3260f296a [INFO] [stderr] 28: 0x7fc0d44233d8 - rustc::dep_graph::graph::DepGraph::with_task_impl::haa65986b8018efc4 [INFO] [stderr] 29: 0x7fc0d4521e1b - rustc::ty::query::plumbing::::get_query::hf2d9b3d4ffe42d1f [INFO] [stderr] 30: 0x7fc0d4591a06 - rustc_typeck::collect::predicates_of::h046f22b28c954ebc [INFO] [stderr] 31: 0x7fc0d4398879 - rustc::ty::query::__query_compute::predicates_of::h0ee7a3639b1dcc10 [INFO] [stderr] 32: 0x7fc0d448d39c - rustc::ty::query::::compute::h412b1f76fd524d7c [INFO] [stderr] 33: 0x7fc0d4419fc8 - rustc::dep_graph::graph::DepGraph::with_task_impl::h4b466da954f85f57 [INFO] [stderr] 34: 0x7fc0d44e826d - rustc::ty::query::plumbing::::get_query::ha18e5e1f5c1db550 [INFO] [stderr] 35: 0x7fc0d458a62d - ::visit_item::hbfd559022b895daf [INFO] [stderr] 36: 0x7fc0d439db4f - rustc::hir::map::Map::visit_item_likes_in_module::h62100d4471677665 [INFO] [stderr] 37: 0x7fc0d458a53c - rustc_typeck::collect::collect_mod_item_types::hae64d5c380b38db3 [INFO] [stderr] 38: 0x7fc0d439a40a - rustc::ty::query::__query_compute::collect_mod_item_types::h2b194ed62bba591b [INFO] [stderr] 39: 0x7fc0d448d89c - rustc::ty::query::::compute::hab3dbd394d0ef5ec [INFO] [stderr] 40: 0x7fc0d44202e8 - rustc::dep_graph::graph::DepGraph::with_task_impl::h8fa3b0105518c67a [INFO] [stderr] 41: 0x7fc0d45160d7 - rustc::ty::query::plumbing::::get_query::he506c22df5a49318 [INFO] [stderr] 42: 0x7fc0d459a19c - rustc_typeck::check_crate::{{closure}}::{{closure}}::h726b1ec644a9f355 [INFO] [stderr] 43: 0x7fc0d456a2b0 - rustc::util::common::time::hebc37dc0d7a3290c [INFO] [stderr] 44: 0x7fc0d459868c - rustc_typeck::check_crate::hd069079b691ab09b [INFO] [stderr] 45: 0x7fc0d8b09da3 - rustc_interface::passes::analysis::h3d845c0e8bd16d7a [INFO] [stderr] 46: 0x7fc0d9b5b8d2 - rustc::ty::query::__query_compute::analysis::h8484865c00403ef0 [INFO] [stderr] 47: 0x7fc0d9b8a6a8 - rustc::ty::query::::compute::h36fc98d574f2b086 [INFO] [stderr] 48: 0x7fc0d9b72dc1 - rustc::dep_graph::graph::DepGraph::with_task_impl::hb5cf955fd6c172f1 [INFO] [stderr] 49: 0x7fc0d9b8dacb - rustc::ty::query::plumbing::::get_query::ha63b639b90201846 [INFO] [stderr] 50: 0x7fc0d9b5b9f2 - rustc::ty::context::tls::enter_global::h5ad7ef5359875844 [INFO] [stderr] 51: 0x7fc0d9b64876 - rustc_interface::passes::BoxedGlobalCtxt::access::{{closure}}::h569385e59d7df51d [INFO] [stderr] 52: 0x7fc0d8b2f704 - rustc_interface::passes::create_global_ctxt::{{closure}}::h198e645d3d1347a7 [INFO] [stderr] 53: 0x7fc0d9b646ce - rustc_interface::passes::BoxedGlobalCtxt::enter::hc98d1f56d73a0c83 [INFO] [stderr] 54: 0x7fc0d9b6a441 - rustc_interface::interface::run_compiler_in_existing_thread_pool::he7bbc6a9bac0a7b6 [INFO] [stderr] 55: 0x7fc0d9bd6183 - std::thread::local::LocalKey::with::h7c57f391f3ab01a6 [INFO] [stderr] 56: 0x7fc0d9b64114 - scoped_tls::ScopedKey::set::hdacbb59637d9687f [INFO] [stderr] 57: 0x7fc0d9bcf26f - syntax::with_globals::h624a296601ed633b [INFO] [stderr] 58: 0x7fc0d9b64d97 - std::sys_common::backtrace::__rust_begin_short_backtrace::he47eac292065d743 [INFO] [stderr] 59: 0x7fc0d98aa0f9 - __rust_maybe_catch_panic [INFO] [stderr] at src/libpanic_unwind/lib.rs:87 [INFO] [stderr] 60: 0x7fc0d9b5b4cc - >::call_box::hc42e0a9fa9a96369 [INFO] [stderr] 61: 0x7fc0d98a8e3d - std::sys::unix::thread::Thread::new::thread_start::hd876af50d885aaf7 [INFO] [stderr] at /rustc/0f88167f89fffe321590c5148f21b7d51d44388d/src/liballoc/boxed.rs:759 [INFO] [stderr] at src/libstd/sys_common/thread.rs:14 [INFO] [stderr] at src/libstd/sys/unix/thread.rs:80 [INFO] [stderr] 62: 0x7fc0d961c4a3 - start_thread [INFO] [stderr] 63: 0x7fc0d8f52d0e - __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 occurred: 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.35.0-nightly (0f88167f8 2019-03-18) 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" "219c3ab5748c8e9b501d6080e5aa45fd23cf5f0277e7b1e7b0831206b9539c73"` [INFO] running `"docker" "rm" "-f" "219c3ab5748c8e9b501d6080e5aa45fd23cf5f0277e7b1e7b0831206b9539c73"` [INFO] [stdout] 219c3ab5748c8e9b501d6080e5aa45fd23cf5f0277e7b1e7b0831206b9539c73