[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 try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b for pr-58948 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-58948/worker-5/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/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" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 730902e63246b10e5aa31504620050c362b3c6f0cfc3299ae91fd600584e5442 [INFO] running `"docker" "start" "-a" "730902e63246b10e5aa31504620050c362b3c6f0cfc3299ae91fd600584e5442"` [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking either v1.5.1 [INFO] [stderr] Checking ascii v0.9.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[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: 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: 0x7fa5866342f3 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h62b0d85f9c8a0c1e [INFO] [stderr] at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39 [INFO] [stderr] 1: 0x7fa58662cbeb - std::sys_common::backtrace::_print::h7a1acbdfd9a46dca [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:71 [INFO] [stderr] 2: 0x7fa586630556 - std::panicking::default_hook::{{closure}}::h145cf58405d7b62e [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stderr] at src/libstd/panicking.rs:197 [INFO] [stderr] 3: 0x7fa5866302e9 - std::panicking::default_hook::h2c72f204748779fc [INFO] [stderr] at src/libstd/panicking.rs:211 [INFO] [stderr] 4: 0x7fa583d3693f - rustc::util::common::panic_hook::h01e401af61335d4c [INFO] [stderr] 5: 0x7fa586630d48 - std::panicking::rust_panic_with_hook::h0d1908ec672b6122 [INFO] [stderr] at src/libstd/panicking.rs:478 [INFO] [stderr] 6: 0x7fa581124afc - std::panicking::begin_panic::hf0211818cda5a200 [INFO] [stderr] 7: 0x7fa5810dff2c - rustc_errors::Handler::span_bug::hbb695732aed1711e [INFO] [stderr] 8: 0x7fa581138b08 - rustc::util::bug::opt_span_bug_fmt::{{closure}}::h1cbd2fb1b10ca16a [INFO] [stderr] 9: 0x7fa581134859 - rustc::ty::context::tls::with_opt::{{closure}}::h3d62b2aa5651b6bd [INFO] [stderr] 10: 0x7fa5811347bf - rustc::ty::context::tls::with_context_opt::h086e67268306aa88 [INFO] [stderr] 11: 0x7fa581134806 - rustc::ty::context::tls::with_opt::h4e42a2df02d5727c [INFO] [stderr] 12: 0x7fa581138a04 - rustc::util::bug::opt_span_bug_fmt::h8b303b628eaa809c [INFO] [stderr] 13: 0x7fa5811389af - rustc::util::bug::span_bug_fmt::heb4da1d02ef2a8dc [INFO] [stderr] 14: 0x7fa581310021 - ::ast_type_binding_to_poly_projection_predicate::hd6c25e25b3f471f5 [INFO] [stderr] 15: 0x7fa581362a48 - as alloc::vec::SpecExtend>::spec_extend::h45a291484677e4f3 [INFO] [stderr] 16: 0x7fa58130e208 - ::instantiate_poly_trait_ref_inner::h6004ed0086bc96ca [INFO] [stderr] 17: 0x7fa58114316b - as core::iter::traits::iterator::Iterator>::fold::h06d675c5185d3ae9 [INFO] [stderr] 18: 0x7fa58136d849 - as alloc::vec::SpecExtend>::from_iter::hc9c8fc9e83a5a5ba [INFO] [stderr] 19: 0x7fa58132dc97 - rustc_typeck::collect::compute_bounds::h2be093e8f7d86a77 [INFO] [stderr] 20: 0x7fa58132b8ba - rustc_typeck::collect::explicit_predicates_of::h0fda2ea7471d4cc2 [INFO] [stderr] 21: 0x7fa581133539 - rustc::ty::query::__query_compute::explicit_predicates_of::hdc4e62ba7cce4c64 [INFO] [stderr] 22: 0x7fa58122682c - rustc::ty::query::::compute::he63a7fc4d30b6c74 [INFO] [stderr] 23: 0x7fa5811c1488 - rustc::dep_graph::graph::DepGraph::with_task_impl::hf32974d49861612c [INFO] [stderr] 24: 0x7fa58126f49b - rustc::ty::query::plumbing::::get_query::h56fc62c51b6aeed0 [INFO] [stderr] 25: 0x7fa58132a596 - rustc_typeck::collect::predicates_defined_on::h34b570c1c132424e [INFO] [stderr] 26: 0x7fa581133169 - rustc::ty::query::__query_compute::predicates_defined_on::hceafcc355c1e37e9 [INFO] [stderr] 27: 0x7fa58122676c - rustc::ty::query::::compute::h8e0fe9c1f84c1e1f [INFO] [stderr] 28: 0x7fa5811b7be8 - rustc::dep_graph::graph::DepGraph::with_task_impl::h9dd77488c7b21b7c [INFO] [stderr] 29: 0x7fa58123c5db - rustc::ty::query::plumbing::::get_query::h15350017e093286f [INFO] [stderr] 30: 0x7fa58132a966 - rustc_typeck::collect::predicates_of::h447f7cb58f9edda9 [INFO] [stderr] 31: 0x7fa5811318b9 - rustc::ty::query::__query_compute::predicates_of::h10a1f75d9f29828a [INFO] [stderr] 32: 0x7fa5812262fc - rustc::ty::query::::compute::haa56abe631e51edf [INFO] [stderr] 33: 0x7fa5811bc868 - rustc::dep_graph::graph::DepGraph::with_task_impl::hbf8a72aef4d525f8 [INFO] [stderr] 34: 0x7fa58127809d - rustc::ty::query::plumbing::::get_query::h6935dcd87267e75c [INFO] [stderr] 35: 0x7fa58132358d - ::visit_item::h3e29e07d58282de2 [INFO] [stderr] 36: 0x7fa581136b8f - rustc::hir::map::Map::visit_item_likes_in_module::h046d1ade4d90e3bc [INFO] [stderr] 37: 0x7fa58132349c - rustc_typeck::collect::collect_mod_item_types::h0db8f7d43ca8eca0 [INFO] [stderr] 38: 0x7fa58113344a - rustc::ty::query::__query_compute::collect_mod_item_types::h0ed71aa2bcbed2a4 [INFO] [stderr] 39: 0x7fa5812267fc - rustc::ty::query::::compute::ha373e2a495e9a335 [INFO] [stderr] 40: 0x7fa5811be7a8 - rustc::dep_graph::graph::DepGraph::with_task_impl::hc962763dc36eab18 [INFO] [stderr] 41: 0x7fa5812b51b7 - rustc::ty::query::plumbing::::get_query::hf0a7c6e02839c03f [INFO] [stderr] 42: 0x7fa5813330fc - rustc_typeck::check_crate::{{closure}}::{{closure}}::hd46fdf1dbbf358fb [INFO] [stderr] 43: 0x7fa5813030f0 - rustc::util::common::time::h52eb811fb94104f3 [INFO] [stderr] 44: 0x7fa5813315ec - rustc_typeck::check_crate::ha7b35024e886571b [INFO] [stderr] 45: 0x7fa5858a2063 - rustc_interface::passes::analysis::hf1bd88355bc11223 [INFO] [stderr] 46: 0x7fa5868f3542 - rustc::ty::query::__query_compute::analysis::h7176ed7ccb12ec59 [INFO] [stderr] 47: 0x7fa586922528 - rustc::ty::query::::compute::hc53c1e622582e002 [INFO] [stderr] 48: 0x7fa58690a651 - rustc::dep_graph::graph::DepGraph::with_task_impl::h6cc0ad504d42ec77 [INFO] [stderr] 49: 0x7fa5869276cb - rustc::ty::query::plumbing::::get_query::hdad5570a8c5c1d52 [INFO] [stderr] 50: 0x7fa5868f3842 - rustc::ty::context::tls::enter_global::h80b8a31440ac4990 [INFO] [stderr] 51: 0x7fa5868fc526 - rustc_interface::passes::BoxedGlobalCtxt::access::{{closure}}::h18e9c077e10a104a [INFO] [stderr] 52: 0x7fa5858c7a74 - rustc_interface::passes::create_global_ctxt::{{closure}}::h59e280b25bc81c7d [INFO] [stderr] 53: 0x7fa5868fc4ae - rustc_interface::passes::BoxedGlobalCtxt::enter::haa994cc1bc0b2f9c [INFO] [stderr] 54: 0x7fa586900cd1 - rustc_interface::interface::run_compiler_in_existing_thread_pool::h4bfe39c5640767e9 [INFO] [stderr] 55: 0x7fa58696e2a3 - std::thread::local::LocalKey::with::hfb50d77e6206f00a [INFO] [stderr] 56: 0x7fa5868fbe24 - scoped_tls::ScopedKey::set::hee94ab306df53eb1 [INFO] [stderr] 57: 0x7fa5869673df - syntax::with_globals::hcda24104aa669c15 [INFO] [stderr] 58: 0x7fa5868e8ba7 - std::sys_common::backtrace::__rust_begin_short_backtrace::ha2bf1ef249389c79 [INFO] [stderr] 59: 0x7fa586642119 - __rust_maybe_catch_panic [INFO] [stderr] at src/libpanic_unwind/lib.rs:87 [INFO] [stderr] 60: 0x7fa5868f313c - >::call_box::hc385ea7e81abd223 [INFO] [stderr] 61: 0x7fa586640e5d - std::sys::unix::thread::Thread::new::thread_start::h24a0ffc4fb5d61fb [INFO] [stderr] at /rustc/a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/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: 0x7fa5863b44a3 - start_thread [INFO] [stderr] 63: 0x7fa585cead0e - __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 (a829e31f9 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" "730902e63246b10e5aa31504620050c362b3c6f0cfc3299ae91fd600584e5442"` [INFO] running `"docker" "rm" "-f" "730902e63246b10e5aa31504620050c362b3c6f0cfc3299ae91fd600584e5442"` [INFO] [stdout] 730902e63246b10e5aa31504620050c362b3c6f0cfc3299ae91fd600584e5442