[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 master#c724b67e1b474262917a5154d74e7072267593fe for pr-74315 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonathanmcelroy%2Ffreeciv_save_analyzer" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jonathanmcelroy/freeciv_save_analyzer on toolchain c724b67e1b474262917a5154d74e7072267593fe [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jonathanmcelroy/freeciv_save_analyzer [INFO] finished tweaking git repo https://github.com/jonathanmcelroy/freeciv_save_analyzer [INFO] tweaked toml for git repo https://github.com/jonathanmcelroy/freeciv_save_analyzer written to /workspace/builds/worker-5/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" "+c724b67e1b474262917a5154d74e7072267593fe" "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-5/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" "+c724b67e1b474262917a5154d74e7072267593fe" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2bd9216fec87d12480030fe343453eeb4a89ea36d32d306626d8b0f18dda9b45 [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" "2bd9216fec87d12480030fe343453eeb4a89ea36d32d306626d8b0f18dda9b45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2bd9216fec87d12480030fe343453eeb4a89ea36d32d306626d8b0f18dda9b45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bd9216fec87d12480030fe343453eeb4a89ea36d32d306626d8b0f18dda9b45", kill_on_drop: false }` [INFO] [stdout] 2bd9216fec87d12480030fe343453eeb4a89ea36d32d306626d8b0f18dda9b45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+c724b67e1b474262917a5154d74e7072267593fe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e338f70c20bb8e0b86936619184e7b3c891a29ae3d675b1dee21c8873c48cbc5 [INFO] running `Command { std: "docker" "start" "-a" "e338f70c20bb8e0b86936619184e7b3c891a29ae3d675b1dee21c8873c48cbc5", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking combine v4.2.1 [INFO] [stderr] Checking freeciv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `self::combine::combinator` [INFO] [stdout] --> src/parse/mod.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use self::combine::combinator::{Many, SepBy}; [INFO] [stdout] | ^^^^^^^^^^ could not find `combinator` in `combine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::combine::combinator` [INFO] [stdout] --> src/parse/mod.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use self::combine::combinator::{Many, SepBy}; [INFO] [stdout] | ^^^^^^^^^^ could not find `combinator` in `combine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::combine::primitives` [INFO] [stdout] --> src/parse/mod.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use self::combine::primitives::{Consumed, Stream}; [INFO] [stdout] | ^^^^^^^^^^ could not find `primitives` in `combine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::combine::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[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 `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 `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[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[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[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[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 `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[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[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[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[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[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[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[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 `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 `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 `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[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: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: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[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:88:31 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn sections_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/parse/mod.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let (c, input) = try!(any().parse_lazy(input)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] 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[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] 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[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | fn single_object_parser(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spaces` in this scope [INFO] [stdout] --> src/parse/mod.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | let integer_parser = spaces().with(many1(digit())).map(|string : String| Object::IntObject(string.parse::().unwrap())); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::spaces; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `digit` in this scope [INFO] [stdout] --> src/parse/mod.rs:63:46 [INFO] [stdout] | [INFO] [stdout] 63 | let integer_parser = spaces().with(many1(digit())).map(|string : String| Object::IntObject(string.parse::().unwrap())); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::byte::digit; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::digit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | fn struct_parser(input: State<&str>) -> ParseResult<(Vec, Vec>), &str> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spaces` in this scope [INFO] [stdout] --> src/parse/mod.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | let comma_parser = spaces().with(char(',')).skip(spaces()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::spaces; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/parse/mod.rs:69:38 [INFO] [stdout] | [INFO] [stdout] 69 | let comma_parser = spaces().with(char(',')).skip(spaces()); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spaces` in this scope [INFO] [stdout] --> src/parse/mod.rs:69:54 [INFO] [stdout] | [INFO] [stdout] 69 | let comma_parser = spaces().with(char(',')).skip(spaces()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::spaces; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found builtin type `char` [INFO] [stdout] --> src/parse/mod.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | let title_parser = char('{').with(spaces()).with(sep_by(parser(string_parser), comma_parser.clone())); [INFO] [stdout] | ^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spaces` in this scope [INFO] [stdout] --> src/parse/mod.rs:70:39 [INFO] [stdout] | [INFO] [stdout] 70 | let title_parser = char('{').with(spaces()).with(sep_by(parser(string_parser), comma_parser.clone())); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::spaces; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spaces` in this scope [INFO] [stdout] --> src/parse/mod.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | let row_parser = many(spaces().with(sep_by(parser(single_object_parser), comma_parser))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::byte::spaces; [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::char::spaces; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | fn object_parser(input : State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | fn assignment_parser(input : State<&str>) -> ParseResult<(String, Object), &str> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | fn section_parser(input : State<&str>) -> ParseResult<(String, HashMap), &str> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:88:31 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn sections_parser(input: State<&str>) -> ParseResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/parse/mod.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | fn test) -> ParseResult>(my_parser : F, input : &str, output : A) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 94 | use parse::parser::repeat::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/parse/mod.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let (c, input) = try!(any().parse_lazy(input)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sections_parser` [INFO] [stdout] --> src/parse/mod.rs:98:83 [INFO] [stdout] | [INFO] [stdout] 98 | use super::{assignment_parser, boolean_parser, object_parser, section_parser, sections_parser, single_object_parser, string_parser, s... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stderr] error: could not compile `freeciv`. [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] [stderr] [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] [stderr] To learn more, run the command again with --verbose. [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] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stderr] thread 'rustc' panicked at 'Box', /rustc/c724b67e1b474262917a5154d74e7072267593fe/src/libstd/macros.rs:13:23 [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] [stderr] stack backtrace: [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] [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: internal compiler error: src/librustc_typeck/astconv.rs:1484:29: anonymous bound region BrAnon(0) in binding but not trait ref [INFO] [stdout] --> src/parse/mod.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | fn test) -> ParseResult>(my_parser : F, input : &str, output : A) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 0: 0x7f0136d5d925 - backtrace::backtrace::libunwind::trace::hea89dfbbfe67f40d [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stderr] 1: 0x7f0136d5d925 - backtrace::backtrace::trace_unsynchronized::hc29c6e6df26d44d7 [INFO] [stderr] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stderr] 2: 0x7f0136d5d925 - std::sys_common::backtrace::_print_fmt::h4c9f4993b039bd03 [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stderr] 3: 0x7f0136d5d925 - ::fmt::h91f5cfffa0da5a7a [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stderr] 4: 0x7f0136d9a3ac - core::fmt::write::h540ac4a6a1232abc [INFO] [stderr] at src/libcore/fmt/mod.rs:1076 [INFO] [stderr] 5: 0x7f0136d4f6a2 - std::io::Write::write_fmt::h5e28da8ce574bfe8 [INFO] [stderr] at src/libstd/io/mod.rs:1537 [INFO] [stderr] 6: 0x7f0136d627c0 - std::sys_common::backtrace::_print::h0ceef71d03fb70bc [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stderr] 7: 0x7f0136d627c0 - std::sys_common::backtrace::print::h1bacb65357a70fca [INFO] [stderr] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stderr] 8: 0x7f0136d627c0 - std::panicking::default_hook::{{closure}}::h249639eade443064 [INFO] [stderr] at src/libstd/panicking.rs:198 [INFO] [stderr] 9: 0x7f0136d6250c - std::panicking::default_hook::hbe64ddeb621910df [INFO] [stderr] at src/libstd/panicking.rs:217 [INFO] [stderr] 10: 0x7f01374cca99 - rustc_driver::report_ice::h4a499e1df80170bd [INFO] [stderr] 11: 0x7f0136d62f38 - std::panicking::rust_panic_with_hook::h16376479909ace6a [INFO] [stderr] at src/libstd/panicking.rs:530 [INFO] [stderr] 12: 0x7f0137f650c3 - std::panicking::begin_panic::hb8803dbb8ac79bee [INFO] [stderr] 13: 0x7f0137f9738c - rustc_errors::HandlerInner::span_bug::hfeb3c22f1f1a6cf7 [INFO] [stderr] 14: 0x7f0137f97b50 - rustc_errors::Handler::span_bug::hd849211602a23ffc [INFO] [stderr] 15: 0x7f013811aff4 - rustc_middle::util::bug::opt_span_bug_fmt::{{closure}}::h0152da9b1d8cfbac [INFO] [stderr] 16: 0x7f013811ac2b - rustc_middle::ty::context::tls::with_opt::{{closure}}::h885d055b624015d0 [INFO] [stderr] 17: 0x7f013811abd2 - rustc_middle::ty::context::tls::with_opt::h9911c0e09a813683 [INFO] [stderr] 18: 0x7f013811aef9 - rustc_middle::util::bug::opt_span_bug_fmt::hd181250a6531ac86 [INFO] [stderr] 19: 0x7f013811aeb3 - rustc_middle::util::bug::span_bug_fmt::h56a5ece0a7ff903f [INFO] [stderr] 20: 0x7f01381352c0 - ::add_predicates_for_ast_type_binding::h57d83aa1933d6863 [INFO] [stderr] 21: 0x7f01381315ef - ::instantiate_poly_trait_ref_inner::hcf82dc33bc6db0e7 [INFO] [stderr] 22: 0x7f0138132392 - ::add_bounds::hfaaad858195b2240 [INFO] [stderr] 23: 0x7f013813254d - ::compute_bounds::h9abd37f4de5c2c66 [INFO] [stderr] 24: 0x7f01380fcd8d - rustc_typeck::collect::explicit_predicates_of::hd34aa73c16dc6f77 [INFO] [stderr] 25: 0x7f01380cf35e - rustc_middle::ty::query:: for rustc_middle::ty::query::queries::explicit_predicates_of>::compute::h4ffd002dc884513c [INFO] [stderr] 26: 0x7f01380730e1 - rustc_query_system::dep_graph::graph::DepGraph::with_task_impl::hc6f6e9d7b4602b35 [INFO] [stderr] 27: 0x7f01380804a9 - rustc_data_structures::stack::ensure_sufficient_stack::h9ed89129cc427437 [INFO] [stderr] 28: 0x7f0137fb54e5 - rustc_query_system::query::plumbing::get_query_impl::h160b8012f5f6f23a [INFO] [stderr] 29: 0x7f01380fc186 - rustc_typeck::collect::predicates_defined_on::hd68b4fd0f800824a [INFO] [stderr] 30: 0x7f01380cf0ce - rustc_middle::ty::query:: for rustc_middle::ty::query::queries::predicates_defined_on>::compute::ha5307ac0fd2858b7 [INFO] [stderr] 31: 0x7f01380730e1 - rustc_query_system::dep_graph::graph::DepGraph::with_task_impl::hc6f6e9d7b4602b35 [INFO] [stderr] 32: 0x7f01380804a9 - rustc_data_structures::stack::ensure_sufficient_stack::h9ed89129cc427437 [INFO] [stderr] 33: 0x7f0137fb54e5 - rustc_query_system::query::plumbing::get_query_impl::h160b8012f5f6f23a [INFO] [stderr] 34: 0x7f01380fc27b - rustc_typeck::collect::predicates_of::h1cb692c4827a29a1 [INFO] [stderr] 35: 0x7f01380ce49b - rustc_middle::ty::query:: for rustc_middle::ty::query::queries::predicates_of>::compute::h42c4cd5a3ef4e322 [INFO] [stderr] 36: 0x7f01380730e1 - rustc_query_system::dep_graph::graph::DepGraph::with_task_impl::hc6f6e9d7b4602b35 [INFO] [stderr] 37: 0x7f01380804a9 - rustc_data_structures::stack::ensure_sufficient_stack::h9ed89129cc427437 [INFO] [stderr] 38: 0x7f0137fb54e5 - rustc_query_system::query::plumbing::get_query_impl::h160b8012f5f6f23a [INFO] [stderr] 39: 0x7f013800a722 - rustc_query_system::query::plumbing::ensure_query_impl::h9bc7af35cab874c0 [INFO] [stderr] 40: 0x7f01380f49b4 - ::visit_item::h02953305f67730f4 [INFO] [stderr] 41: 0x7f013805d438 - rustc_middle::hir::map::Map::visit_item_likes_in_module::h5104189673b9edca [INFO] [stderr] 42: 0x7f01380f4034 - rustc_typeck::collect::collect_mod_item_types::h97ee7483e0f0a3a2 [INFO] [stderr] 43: 0x7f013816d6d5 - rustc_middle::ty::query:: for rustc_middle::ty::query::queries::collect_mod_item_types>::compute::h54b4d75a81fb5e01 [INFO] [stderr] 44: 0x7f013806c3d7 - rustc_query_system::dep_graph::graph::DepGraph::with_task_impl::h6bd08cc8f0c3425f [INFO] [stderr] 45: 0x7f013807c9c3 - rustc_data_structures::stack::ensure_sufficient_stack::h2e7a2398d1a07c61 [INFO] [stderr] 46: 0x7f0137fb9223 - rustc_query_system::query::plumbing::get_query_impl::h18d3ed1fe7ee24af [INFO] [stderr] 47: 0x7f013800957e - rustc_query_system::query::plumbing::ensure_query_impl::h0bc224b97a3fb9c9 [INFO] [stderr] 48: 0x7f013816fac3 - rustc_session::session::Session::track_errors::h016c8c55ad902f91 [INFO] [stderr] 49: 0x7f0138107ac1 - rustc_typeck::check_crate::hcc854dc3ab46c1a0 [INFO] [stderr] 50: 0x7f013766d21f - rustc_interface::passes::analysis::h94e4637b1ff84996 [INFO] [stderr] 51: 0x7f01374b4adb - rustc_middle::ty::query:: for rustc_middle::ty::query::queries::analysis>::compute::h7f4f8b9597f4fd54 [INFO] [stderr] 52: 0x7f0137528747 - rustc_query_system::dep_graph::graph::DepGraph::with_task_impl::hbdf3a5d3a5aa3c18 [INFO] [stderr] 53: 0x7f013752ba59 - rustc_data_structures::stack::ensure_sufficient_stack::h48e2634d72ad72d4 [INFO] [stderr] 54: 0x7f013749292b - rustc_query_system::query::plumbing::get_query_impl::hf5fea76748ba22d9 [INFO] [stderr] 55: 0x7f01374b537f - rustc_middle::ty::context::tls::enter_global::hfc89ee9380839520 [INFO] [stderr] 56: 0x7f01374879fa - rustc_interface::queries::::enter::h4aa8bdb5668a8e67 [INFO] [stderr] 57: 0x7f01375264b7 - rustc_span::with_source_map::h0afd1e85987f0c6a [INFO] [stderr] 58: 0x7f0137488706 - rustc_interface::interface::create_compiler_and_run::h0cf36313ff4ffff4 [INFO] [stderr] 59: 0x7f01374b23ed - scoped_tls::ScopedKey::set::h63abcfd743b3dfb4 [INFO] [stderr] 60: 0x7f01374d8592 - std::sys_common::backtrace::__rust_begin_short_backtrace::h39963eec9c11486f [INFO] [stderr] 61: 0x7f0137495e4e - core::ops::function::FnOnce::call_once{{vtable.shim}}::h5d45ef3ece41f725 [INFO] [stderr] 62: 0x7f0136d71cfa - as core::ops::function::FnOnce>::call_once::hbfb537fab787484e [INFO] [stderr] at /rustc/c724b67e1b474262917a5154d74e7072267593fe/src/liballoc/boxed.rs:1081 [INFO] [stderr] 63: 0x7f0136d71cfa - as core::ops::function::FnOnce>::call_once::h7af58a2c5f5fc774 [INFO] [stderr] at /rustc/c724b67e1b474262917a5154d74e7072267593fe/src/liballoc/boxed.rs:1081 [INFO] [stderr] 64: 0x7f0136d71cfa - std::sys::unix::thread::Thread::new::thread_start::h4ae5cd2557b6199a [INFO] [stderr] at src/libstd/sys/unix/thread.rs:87 [INFO] [stderr] 65: 0x7f0136cb2609 - start_thread [INFO] [stderr] 66: 0x7f0136bc6103 - __clone [INFO] [stderr] 67: 0x0 - [INFO] [stderr] [INFO] [stderr] note: the compiler unexpectedly panicked. this is a bug. [INFO] [stderr] [INFO] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports [INFO] [stderr] [INFO] [stderr] note: rustc 1.46.0-nightly (c724b67e1 2020-07-14) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [explicit_predicates_of] computing explicit predicates of `parse::tests::test` [INFO] [stderr] #1 [predicates_defined_on] computing predicates of `parse::tests::test` [INFO] [stderr] #2 [predicates_of] computing predicates of `parse::tests::test` [INFO] [stderr] #3 [collect_mod_item_types] collecting item types in module `parse::tests` [INFO] [stderr] #4 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stdout] error: aborting due to 43 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0425, E0432, E0581. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e338f70c20bb8e0b86936619184e7b3c891a29ae3d675b1dee21c8873c48cbc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e338f70c20bb8e0b86936619184e7b3c891a29ae3d675b1dee21c8873c48cbc5", kill_on_drop: false }` [INFO] [stdout] e338f70c20bb8e0b86936619184e7b3c891a29ae3d675b1dee21c8873c48cbc5