[INFO] cloning repository https://github.com/jonathanmcelroy/freeciv_save_analyzer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jonathanmcelroy/freeciv_save_analyzer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonathanmcelroy%2Ffreeciv_save_analyzer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonathanmcelroy%2Ffreeciv_save_analyzer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e686a8ada231fe33f83f32e55438527960bffbcf [INFO] checking jonathanmcelroy/freeciv_save_analyzer against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonathanmcelroy%2Ffreeciv_save_analyzer" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jonathanmcelroy/freeciv_save_analyzer on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jonathanmcelroy/freeciv_save_analyzer [INFO] finished tweaking git repo https://github.com/jonathanmcelroy/freeciv_save_analyzer [INFO] tweaked toml for git repo https://github.com/jonathanmcelroy/freeciv_save_analyzer written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/jonathanmcelroy/freeciv_save_analyzer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30a55636182beed38a6aa97c5dde878aaf8ea152cecc97adb352dd7995b043a2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "30a55636182beed38a6aa97c5dde878aaf8ea152cecc97adb352dd7995b043a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30a55636182beed38a6aa97c5dde878aaf8ea152cecc97adb352dd7995b043a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30a55636182beed38a6aa97c5dde878aaf8ea152cecc97adb352dd7995b043a2", kill_on_drop: false }` [INFO] [stdout] 30a55636182beed38a6aa97c5dde878aaf8ea152cecc97adb352dd7995b043a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4aad6c89bb25a23fcc1eabdf99d402aa8dc63fe535ad1245e7f5bf8c796f710a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4aad6c89bb25a23fcc1eabdf99d402aa8dc63fe535ad1245e7f5bf8c796f710a", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking combine v4.5.2 [INFO] [stderr] Checking freeciv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `self::combine::combinator` [INFO] [stdout] --> src/parse/mod.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use self::combine::combinator::{Many, SepBy}; [INFO] [stdout] | ^^^^^^^^^^ could not find `combinator` in `combine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::combine::primitives` [INFO] [stdout] --> src/parse/mod.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use self::combine::primitives::{Consumed, Stream}; [INFO] [stdout] | ^^^^^^^^^^ could not find `primitives` in `combine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | fn title_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `alpha_num` in this scope [INFO] [stdout] --> src/parse/mod.rs:21:43 [INFO] [stdout] | [INFO] [stdout] 21 | between(token('['), token(']'), many1(alpha_num())).parse_state(input) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::byte::alpha_num; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::alpha_num; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | fn string_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | fn escaped_char_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `string` in this scope [INFO] [stdout] --> src/parse/mod.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | optional(string("_(")) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/parse/mod.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | .with(between(char('"'), [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/parse/mod.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | char('"'), [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/parse/mod.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | .skip(optional(char(')'))).parse_state(input) [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | fn boolean_parser(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `string` in this scope [INFO] [stdout] --> src/parse/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | string("TRUE").map(|_| Object::Boolean(true)).or(string("FALSE").map(|_| Object::Boolean(false))).parse_state(input) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `string` in this scope [INFO] [stdout] --> src/parse/mod.rs:55:54 [INFO] [stdout] | [INFO] [stdout] 55 | string("TRUE").map(|_| Object::Boolean(true)).or(string("FALSE").map(|_| Object::Boolean(false))).parse_state(input) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | fn wierd_exception(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `string` in this scope [INFO] [stdout] --> src/parse/mod.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | string("$$").with(many1(letter())).map(|string : String| Object::RandomText(string)).parse_state(input) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `letter` in this scope [INFO] [stdout] --> src/parse/mod.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | string("$$").with(many1(letter())).map(|string : String| Object::RandomText(string)).parse_state(input) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::byte::letter; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::letter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | fn single_object_parser(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spaces` in this scope [INFO] [stdout] --> src/parse/mod.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | let integer_parser = spaces().with(many1(digit())).map(|string : String| Object::IntObject(string.parse::().unwrap())); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::spaces; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `digit` in this scope [INFO] [stdout] --> src/parse/mod.rs:63:46 [INFO] [stdout] | [INFO] [stdout] 63 | let integer_parser = spaces().with(many1(digit())).map(|string : String| Object::IntObject(string.parse::().unwrap())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::byte::digit; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::digit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | fn struct_parser(input: State<&str>) -> ParseResult<(Vec, Vec>), &str> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spaces` in this scope [INFO] [stdout] --> src/parse/mod.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | let comma_parser = spaces().with(char(',')).skip(spaces()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::spaces; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/parse/mod.rs:69:38 [INFO] [stdout] | [INFO] [stdout] 69 | let comma_parser = spaces().with(char(',')).skip(spaces()); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spaces` in this scope [INFO] [stdout] --> src/parse/mod.rs:69:54 [INFO] [stdout] | [INFO] [stdout] 69 | let comma_parser = spaces().with(char(',')).skip(spaces()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::spaces; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/parse/mod.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | let title_parser = char('{').with(spaces()).with(sep_by(parser(string_parser), comma_parser.clone())); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spaces` in this scope [INFO] [stdout] --> src/parse/mod.rs:70:39 [INFO] [stdout] | [INFO] [stdout] 70 | let title_parser = char('{').with(spaces()).with(sep_by(parser(string_parser), comma_parser.clone())); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::spaces; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spaces` in this scope [INFO] [stdout] --> src/parse/mod.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | let row_parser = many(spaces().with(sep_by(parser(single_object_parser), comma_parser))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::spaces; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | fn object_parser(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | fn assignment_parser(input : State<&str>) -> ParseResult<(String, Object), &str> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | fn section_parser(input : State<&str>) -> ParseResult<(String, HashMap), &str> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:88:31 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn sections_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::combine::combinator` [INFO] [stdout] --> src/parse/mod.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use self::combine::combinator::{Many, SepBy}; [INFO] [stdout] | ^^^^^^^^^^ could not find `combinator` in `combine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse/mod.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let (c, input) = try!(any().parse_lazy(input)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse::*` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use parse::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::combine::primitives` [INFO] [stdout] --> src/parse/mod.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use self::combine::primitives::{Consumed, Stream}; [INFO] [stdout] | ^^^^^^^^^^ could not find `primitives` in `combine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | fn title_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | fn string_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:25:51 [INFO] [stdout] | [INFO] [stdout] 25 | fn escaped_char_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | fn boolean_parser(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:58:44 [INFO] [stdout] | [INFO] [stdout] 58 | fn wierd_exception(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:62:49 [INFO] [stdout] | [INFO] [stdout] 62 | fn single_object_parser(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:68:41 [INFO] [stdout] | [INFO] [stdout] 68 | fn struct_parser(input: State<&str>) -> ParseResult<(Vec, Vec>), &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:76:42 [INFO] [stdout] | [INFO] [stdout] 76 | fn object_parser(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:80:46 [INFO] [stdout] | [INFO] [stdout] 80 | fn assignment_parser(input : State<&str>) -> ParseResult<(String, Object), &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:84:43 [INFO] [stdout] | [INFO] [stdout] 84 | fn section_parser(input : State<&str>) -> ParseResult<(String, HashMap), &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:88:47 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn sections_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0425, E0432, E0581. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `freeciv` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | fn title_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `alpha_num` in this scope [INFO] [stdout] --> src/parse/mod.rs:21:43 [INFO] [stdout] | [INFO] [stdout] 21 | between(token('['), token(']'), many1(alpha_num())).parse_state(input) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::byte::alpha_num; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::alpha_num; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | fn string_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | fn escaped_char_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `string` in this scope [INFO] [stdout] --> src/parse/mod.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | optional(string("_(")) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/parse/mod.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | .with(between(char('"'), [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/parse/mod.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | char('"'), [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/parse/mod.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | .skip(optional(char(')'))).parse_state(input) [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | fn boolean_parser(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `string` in this scope [INFO] [stdout] --> src/parse/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | string("TRUE").map(|_| Object::Boolean(true)).or(string("FALSE").map(|_| Object::Boolean(false))).parse_state(input) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `string` in this scope [INFO] [stdout] --> src/parse/mod.rs:55:54 [INFO] [stdout] | [INFO] [stdout] 55 | string("TRUE").map(|_| Object::Boolean(true)).or(string("FALSE").map(|_| Object::Boolean(false))).parse_state(input) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | fn wierd_exception(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `string` in this scope [INFO] [stdout] --> src/parse/mod.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | string("$$").with(many1(letter())).map(|string : String| Object::RandomText(string)).parse_state(input) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::string; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `letter` in this scope [INFO] [stdout] --> src/parse/mod.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | string("$$").with(many1(letter())).map(|string : String| Object::RandomText(string)).parse_state(input) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::byte::letter; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::letter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | fn single_object_parser(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spaces` in this scope [INFO] [stdout] --> src/parse/mod.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | let integer_parser = spaces().with(many1(digit())).map(|string : String| Object::IntObject(string.parse::().unwrap())); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::spaces; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `digit` in this scope [INFO] [stdout] --> src/parse/mod.rs:63:46 [INFO] [stdout] | [INFO] [stdout] 63 | let integer_parser = spaces().with(many1(digit())).map(|string : String| Object::IntObject(string.parse::().unwrap())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::byte::digit; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::digit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | fn struct_parser(input: State<&str>) -> ParseResult<(Vec, Vec>), &str> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spaces` in this scope [INFO] [stdout] --> src/parse/mod.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | let comma_parser = spaces().with(char(',')).skip(spaces()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::spaces; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/parse/mod.rs:69:38 [INFO] [stdout] | [INFO] [stdout] 69 | let comma_parser = spaces().with(char(',')).skip(spaces()); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spaces` in this scope [INFO] [stdout] --> src/parse/mod.rs:69:54 [INFO] [stdout] | [INFO] [stdout] 69 | let comma_parser = spaces().with(char(',')).skip(spaces()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::spaces; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/parse/mod.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | let title_parser = char('{').with(spaces()).with(sep_by(parser(string_parser), comma_parser.clone())); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spaces` in this scope [INFO] [stdout] --> src/parse/mod.rs:70:39 [INFO] [stdout] | [INFO] [stdout] 70 | let title_parser = char('{').with(spaces()).with(sep_by(parser(string_parser), comma_parser.clone())); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::spaces; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spaces` in this scope [INFO] [stdout] --> src/parse/mod.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | let row_parser = many(spaces().with(sep_by(parser(single_object_parser), comma_parser))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::spaces; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | fn object_parser(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | fn assignment_parser(input : State<&str>) -> ParseResult<(String, Object), &str> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | fn section_parser(input : State<&str>) -> ParseResult<(String, HashMap), &str> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:88:31 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn sections_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | fn test) -> ParseResult>(my_parser : F, input : &str, output : A) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 94 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse/mod.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let (c, input) = try!(any().parse_lazy(input)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sections_parser` [INFO] [stdout] --> src/parse/mod.rs:98:83 [INFO] [stdout] | [INFO] [stdout] 98 | use super::{assignment_parser, boolean_parser, object_parser, section_parser, sections_parser, single_object_parser, string_parser, s... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse::*` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use parse::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | fn title_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | fn string_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:25:51 [INFO] [stdout] | [INFO] [stdout] 25 | fn escaped_char_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | fn boolean_parser(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:58:44 [INFO] [stdout] | [INFO] [stdout] 58 | fn wierd_exception(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:62:49 [INFO] [stdout] | [INFO] [stdout] 62 | fn single_object_parser(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:68:41 [INFO] [stdout] | [INFO] [stdout] 68 | fn struct_parser(input: State<&str>) -> ParseResult<(Vec, Vec>), &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:76:42 [INFO] [stdout] | [INFO] [stdout] 76 | fn object_parser(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:80:46 [INFO] [stdout] | [INFO] [stdout] 80 | fn assignment_parser(input : State<&str>) -> ParseResult<(String, Object), &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:84:43 [INFO] [stdout] | [INFO] [stdout] 84 | fn section_parser(input : State<&str>) -> ParseResult<(String, HashMap), &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references an anonymous lifetime, which is not constrained by the fn input types [INFO] [stdout] --> src/parse/mod.rs:88:47 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn sections_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0582]: binding for associated type `Output` references an anonymous lifetime, which does not appear in the trait input types [INFO] [stdout] --> src/parse/mod.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | fn test) -> ParseResult>(my_parser : F, input : &str, output : A) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lifetimes appearing in an associated type are not considered constrained [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 43 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0425, E0432, E0581, E0582. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4aad6c89bb25a23fcc1eabdf99d402aa8dc63fe535ad1245e7f5bf8c796f710a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4aad6c89bb25a23fcc1eabdf99d402aa8dc63fe535ad1245e7f5bf8c796f710a", kill_on_drop: false }` [INFO] [stdout] 4aad6c89bb25a23fcc1eabdf99d402aa8dc63fe535ad1245e7f5bf8c796f710a