[INFO] fetching crate pest_tmp 2.1.1... [INFO] testing pest_tmp-2.1.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate pest_tmp 2.1.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate pest_tmp 2.1.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pest_tmp 2.1.1 [INFO] finished tweaking crates.io crate pest_tmp 2.1.1 [INFO] tweaked toml for crates.io crate pest_tmp 2.1.1 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", 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] 2bfd6c7c1e3050b2a9855102e73896fab5b05bcf3e40789f62f7ee76f5f00a30 [INFO] running `Command { std: "docker" "start" "-a" "2bfd6c7c1e3050b2a9855102e73896fab5b05bcf3e40789f62f7ee76f5f00a30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2bfd6c7c1e3050b2a9855102e73896fab5b05bcf3e40789f62f7ee76f5f00a30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bfd6c7c1e3050b2a9855102e73896fab5b05bcf3e40789f62f7ee76f5f00a30", kill_on_drop: false }` [INFO] [stdout] 2bfd6c7c1e3050b2a9855102e73896fab5b05bcf3e40789f62f7ee76f5f00a30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--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] 05551dfde35c988eda35ab0b4778f1f878c3119ab2cea093bd8e06886ebf6325 [INFO] running `Command { std: "docker" "start" "-a" "05551dfde35c988eda35ab0b4778f1f878c3119ab2cea093bd8e06886ebf6325", kill_on_drop: false }` [INFO] [stderr] Compiling pest_tmp v2.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/unicode/mod.rs:52:42 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn by_name(name: &str) -> Option bool>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 - pub fn by_name(name: &str) -> Option bool>> { [INFO] [stdout] 52 + pub fn by_name(name: &str) -> Option bool>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.90s [INFO] running `Command { std: "docker" "inspect" "05551dfde35c988eda35ab0b4778f1f878c3119ab2cea093bd8e06886ebf6325", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05551dfde35c988eda35ab0b4778f1f878c3119ab2cea093bd8e06886ebf6325", kill_on_drop: false }` [INFO] [stdout] 05551dfde35c988eda35ab0b4778f1f878c3119ab2cea093bd8e06886ebf6325 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--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] cf7bb04831d875d9e372045d48988b562ec665022439aa8832b1fc0b93fc1e1b [INFO] running `Command { std: "docker" "start" "-a" "cf7bb04831d875d9e372045d48988b562ec665022439aa8832b1fc0b93fc1e1b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling pest_tmp v2.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/unicode/mod.rs:52:42 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn by_name(name: &str) -> Option bool>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 - pub fn by_name(name: &str) -> Option bool>> { [INFO] [stdout] 52 + pub fn by_name(name: &str) -> Option bool>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `pest` [INFO] [stdout] --> tests/json.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate pest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `pest` [INFO] [stdout] --> examples/parens.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate pest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `pest` [INFO] [stdout] --> tests/calculator.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate pest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `parses_to` in this scope [INFO] [stdout] --> tests/json.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | parses_to! { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `parses_to` in this scope [INFO] [stdout] --> tests/json.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | parses_to! { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `parses_to` in this scope [INFO] [stdout] --> tests/json.rs:325:5 [INFO] [stdout] | [INFO] [stdout] 325 | parses_to! { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `parses_to` in this scope [INFO] [stdout] --> tests/json.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | parses_to! { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `parses_to` in this scope [INFO] [stdout] --> tests/json.rs:349:5 [INFO] [stdout] | [INFO] [stdout] 349 | parses_to! { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `parses_to` in this scope [INFO] [stdout] --> tests/json.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | parses_to! { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `parses_to` in this scope [INFO] [stdout] --> tests/json.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | parses_to! { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `parses_to` in this scope [INFO] [stdout] --> tests/json.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | parses_to! { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `parses_to` in this scope [INFO] [stdout] --> tests/json.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 397 | parses_to! { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `parses_to` in this scope [INFO] [stdout] --> tests/json.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | parses_to! { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Parser` in this scope [INFO] [stdout] --> examples/parens.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | impl Parser for ParenParser { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pairs` in this scope [INFO] [stdout] --> examples/parens.rs:20:49 [INFO] [stdout] | [INFO] [stdout] 20 | fn parse(rule: Rule, input: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> examples/parens.rs:20:62 [INFO] [stdout] | [INFO] [stdout] 20 | fn parse(rule: Rule, input: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use io::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> examples/parens.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | fn expr(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseResult` in this scope [INFO] [stdout] --> examples/parens.rs:21:51 [INFO] [stdout] | [INFO] [stdout] 21 | fn expr(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> examples/parens.rs:21:67 [INFO] [stdout] | [INFO] [stdout] 21 | fn expr(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> examples/parens.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | fn paren(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseResult` in this scope [INFO] [stdout] --> examples/parens.rs:25:52 [INFO] [stdout] | [INFO] [stdout] 25 | fn paren(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> examples/parens.rs:25:68 [INFO] [stdout] | [INFO] [stdout] 25 | fn paren(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `state` in this scope [INFO] [stdout] --> examples/parens.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | state(input, |state| match rule { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pairs` in this scope [INFO] [stdout] --> examples/parens.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | fn expr(pairs: Pairs) -> Vec { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `parses_to` in this scope [INFO] [stdout] --> tests/calculator.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | parses_to! { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `parses_to` in this scope [INFO] [stdout] --> tests/calculator.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | parses_to! { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `parses_to` in this scope [INFO] [stdout] --> tests/calculator.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | parses_to! { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pest_tmp` due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0405]: cannot find trait `Parser` in this scope [INFO] [stdout] --> tests/json.rs:40:6 [INFO] [stdout] | [INFO] [stdout] 40 | impl Parser for JsonParser { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pairs` in this scope [INFO] [stdout] --> tests/json.rs:41:49 [INFO] [stdout] | [INFO] [stdout] 41 | fn parse(rule: Rule, input: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> tests/json.rs:41:62 [INFO] [stdout] | [INFO] [stdout] 41 | fn parse(rule: Rule, input: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 13 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | fn json(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseResult` in this scope [INFO] [stdout] --> tests/json.rs:42:51 [INFO] [stdout] | [INFO] [stdout] 42 | fn json(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:42:67 [INFO] [stdout] | [INFO] [stdout] 42 | fn json(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | fn object(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseResult` in this scope [INFO] [stdout] --> tests/json.rs:46:53 [INFO] [stdout] | [INFO] [stdout] 46 | fn object(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:46:69 [INFO] [stdout] | [INFO] [stdout] 46 | fn object(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | fn pair(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseResult` in this scope [INFO] [stdout] --> tests/json.rs:75:51 [INFO] [stdout] | [INFO] [stdout] 75 | fn pair(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:75:67 [INFO] [stdout] | [INFO] [stdout] 75 | fn pair(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | fn array(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseResult` in this scope [INFO] [stdout] --> tests/json.rs:87:52 [INFO] [stdout] | [INFO] [stdout] 87 | fn array(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:87:68 [INFO] [stdout] | [INFO] [stdout] 87 | fn array(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:116:29 [INFO] [stdout] | [INFO] [stdout] 116 | fn value(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseResult` in this scope [INFO] [stdout] --> tests/json.rs:116:52 [INFO] [stdout] | [INFO] [stdout] 116 | fn value(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:116:68 [INFO] [stdout] | [INFO] [stdout] 116 | fn value(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:127:30 [INFO] [stdout] | [INFO] [stdout] 127 | fn string(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseResult` in this scope [INFO] [stdout] --> tests/json.rs:127:53 [INFO] [stdout] | [INFO] [stdout] 127 | fn string(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:127:69 [INFO] [stdout] | [INFO] [stdout] 127 | fn string(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | fn escape(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseResult` in this scope [INFO] [stdout] --> tests/json.rs:146:53 [INFO] [stdout] | [INFO] [stdout] 146 | fn escape(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:146:69 [INFO] [stdout] | [INFO] [stdout] 146 | fn escape(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:162:31 [INFO] [stdout] | [INFO] [stdout] 162 | fn unicode(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseResult` in this scope [INFO] [stdout] --> tests/json.rs:162:54 [INFO] [stdout] | [INFO] [stdout] 162 | fn unicode(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:162:70 [INFO] [stdout] | [INFO] [stdout] 162 | fn unicode(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:171:27 [INFO] [stdout] | [INFO] [stdout] 171 | fn hex(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseResult` in this scope [INFO] [stdout] --> tests/json.rs:171:50 [INFO] [stdout] | [INFO] [stdout] 171 | fn hex(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:171:66 [INFO] [stdout] | [INFO] [stdout] 171 | fn hex(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:178:30 [INFO] [stdout] | [INFO] [stdout] 178 | fn number(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseResult` in this scope [INFO] [stdout] --> tests/json.rs:178:53 [INFO] [stdout] | [INFO] [stdout] 178 | fn number(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:178:69 [INFO] [stdout] | [INFO] [stdout] 178 | fn number(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:198:27 [INFO] [stdout] | [INFO] [stdout] 198 | fn int(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseResult` in this scope [INFO] [stdout] --> tests/json.rs:198:50 [INFO] [stdout] | [INFO] [stdout] 198 | fn int(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:198:66 [INFO] [stdout] | [INFO] [stdout] 198 | fn int(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:207:27 [INFO] [stdout] | [INFO] [stdout] 207 | fn exp(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseResult` in this scope [INFO] [stdout] --> tests/json.rs:207:50 [INFO] [stdout] | [INFO] [stdout] 207 | fn exp(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:207:66 [INFO] [stdout] | [INFO] [stdout] 207 | fn exp(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:218:28 [INFO] [stdout] | [INFO] [stdout] 218 | fn bool(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseResult` in this scope [INFO] [stdout] --> tests/json.rs:218:51 [INFO] [stdout] | [INFO] [stdout] 218 | fn bool(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:218:67 [INFO] [stdout] | [INFO] [stdout] 218 | fn bool(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:224:28 [INFO] [stdout] | [INFO] [stdout] 224 | fn null(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseResult` in this scope [INFO] [stdout] --> tests/json.rs:224:51 [INFO] [stdout] | [INFO] [stdout] 224 | fn null(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:224:67 [INFO] [stdout] | [INFO] [stdout] 224 | fn null(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:228:28 [INFO] [stdout] | [INFO] [stdout] 228 | fn skip(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseResult` in this scope [INFO] [stdout] --> tests/json.rs:228:51 [INFO] [stdout] | [INFO] [stdout] 228 | fn skip(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/json.rs:228:67 [INFO] [stdout] | [INFO] [stdout] 228 | fn skip(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `state` in this scope [INFO] [stdout] --> tests/json.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | state(input, |state| match rule { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> tests/json.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | String(Span<'i>), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> tests/json.rs:263:20 [INFO] [stdout] | [INFO] [stdout] 263 | Object(HashMap, Json<'i>>), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pair` in this scope [INFO] [stdout] --> tests/json.rs:266:18 [INFO] [stdout] | [INFO] [stdout] 266 | fn consume(pair: Pair) -> Json { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pair` in this scope [INFO] [stdout] --> tests/json.rs:267:20 [INFO] [stdout] | [INFO] [stdout] 267 | fn value(pair: Pair) -> Json { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 64 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrecClimber` [INFO] [stdout] --> tests/calculator.rs:191:19 [INFO] [stdout] | [INFO] [stdout] 191 | let climber = PrecClimber::new(vec![ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PrecClimber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> tests/calculator.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | Operator::new(Rule::plus, Assoc::Left) | Operator::new(Rule::minus, Assoc::Left), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assoc` [INFO] [stdout] --> tests/calculator.rs:192:35 [INFO] [stdout] | [INFO] [stdout] 192 | Operator::new(Rule::plus, Assoc::Left) | Operator::new(Rule::minus, Assoc::Left), [INFO] [stdout] | ^^^^^ use of undeclared type `Assoc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> tests/calculator.rs:192:50 [INFO] [stdout] | [INFO] [stdout] 192 | Operator::new(Rule::plus, Assoc::Left) | Operator::new(Rule::minus, Assoc::Left), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assoc` [INFO] [stdout] --> tests/calculator.rs:192:77 [INFO] [stdout] | [INFO] [stdout] 192 | Operator::new(Rule::plus, Assoc::Left) | Operator::new(Rule::minus, Assoc::Left), [INFO] [stdout] | ^^^^^ use of undeclared type `Assoc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> tests/calculator.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | Operator::new(Rule::times, Assoc::Left) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0463. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assoc` [INFO] [stdout] --> tests/calculator.rs:193:36 [INFO] [stdout] | [INFO] [stdout] 193 | Operator::new(Rule::times, Assoc::Left) [INFO] [stdout] | ^^^^^ use of undeclared type `Assoc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> tests/calculator.rs:194:15 [INFO] [stdout] | [INFO] [stdout] 194 | | Operator::new(Rule::divide, Assoc::Left) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assoc` [INFO] [stdout] --> tests/calculator.rs:194:43 [INFO] [stdout] | [INFO] [stdout] 194 | | Operator::new(Rule::divide, Assoc::Left) [INFO] [stdout] | ^^^^^ use of undeclared type `Assoc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> tests/calculator.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | | Operator::new(Rule::modulus, Assoc::Left), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assoc` [INFO] [stdout] --> tests/calculator.rs:195:44 [INFO] [stdout] | [INFO] [stdout] 195 | | Operator::new(Rule::modulus, Assoc::Left), [INFO] [stdout] | ^^^^^ use of undeclared type `Assoc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> tests/calculator.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | Operator::new(Rule::power, Assoc::Right), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assoc` [INFO] [stdout] --> tests/calculator.rs:196:36 [INFO] [stdout] | [INFO] [stdout] 196 | Operator::new(Rule::power, Assoc::Right), [INFO] [stdout] | ^^^^^ use of undeclared type `Assoc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Parser` in this scope [INFO] [stdout] --> tests/calculator.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | impl Parser for CalculatorParser { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pairs` in this scope [INFO] [stdout] --> tests/calculator.rs:35:49 [INFO] [stdout] | [INFO] [stdout] 35 | fn parse(rule: Rule, input: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pest_tmp` due to 65 previous errors [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> tests/calculator.rs:35:62 [INFO] [stdout] | [INFO] [stdout] 35 | fn parse(rule: Rule, input: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 13 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 13 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/calculator.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | fn expression(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseResult` in this scope [INFO] [stdout] --> tests/calculator.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | fn expression(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/calculator.rs:36:73 [INFO] [stdout] | [INFO] [stdout] 36 | fn expression(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/calculator.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | fn primary(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseResult` in this scope [INFO] [stdout] --> tests/calculator.rs:56:54 [INFO] [stdout] | [INFO] [stdout] 56 | fn primary(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/calculator.rs:56:70 [INFO] [stdout] | [INFO] [stdout] 56 | fn primary(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/calculator.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | fn number(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseResult` in this scope [INFO] [stdout] --> tests/calculator.rs:66:53 [INFO] [stdout] | [INFO] [stdout] 66 | fn number(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/calculator.rs:66:69 [INFO] [stdout] | [INFO] [stdout] 66 | fn number(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/calculator.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | fn plus(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseResult` in this scope [INFO] [stdout] --> tests/calculator.rs:81:51 [INFO] [stdout] | [INFO] [stdout] 81 | fn plus(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/calculator.rs:81:67 [INFO] [stdout] | [INFO] [stdout] 81 | fn plus(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/calculator.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | fn minus(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseResult` in this scope [INFO] [stdout] --> tests/calculator.rs:85:52 [INFO] [stdout] | [INFO] [stdout] 85 | fn minus(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/calculator.rs:85:68 [INFO] [stdout] | [INFO] [stdout] 85 | fn minus(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/calculator.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | fn times(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseResult` in this scope [INFO] [stdout] --> tests/calculator.rs:89:52 [INFO] [stdout] | [INFO] [stdout] 89 | fn times(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/calculator.rs:89:68 [INFO] [stdout] | [INFO] [stdout] 89 | fn times(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/calculator.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 93 | fn divide(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseResult` in this scope [INFO] [stdout] --> tests/calculator.rs:93:53 [INFO] [stdout] | [INFO] [stdout] 93 | fn divide(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/calculator.rs:93:69 [INFO] [stdout] | [INFO] [stdout] 93 | fn divide(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/calculator.rs:97:31 [INFO] [stdout] | [INFO] [stdout] 97 | fn modulus(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseResult` in this scope [INFO] [stdout] --> tests/calculator.rs:97:54 [INFO] [stdout] | [INFO] [stdout] 97 | fn modulus(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/calculator.rs:97:70 [INFO] [stdout] | [INFO] [stdout] 97 | fn modulus(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/calculator.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | fn power(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseResult` in this scope [INFO] [stdout] --> tests/calculator.rs:101:52 [INFO] [stdout] | [INFO] [stdout] 101 | fn power(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserState` in this scope [INFO] [stdout] --> tests/calculator.rs:101:68 [INFO] [stdout] | [INFO] [stdout] 101 | fn power(state: Box>) -> ParseResult>> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `state` in this scope [INFO] [stdout] --> tests/calculator.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | state(input, |state| match rule { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pair` in this scope [INFO] [stdout] --> tests/calculator.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | fn consume<'i>(pair: Pair<'i, Rule>, climber: &PrecClimber) -> i32 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PrecClimber` in this scope [INFO] [stdout] --> tests/calculator.rs:112:48 [INFO] [stdout] | [INFO] [stdout] 112 | fn consume<'i>(pair: Pair<'i, Rule>, climber: &PrecClimber) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pair` in this scope [INFO] [stdout] --> tests/calculator.rs:114:32 [INFO] [stdout] | [INFO] [stdout] 114 | let infix = |lhs: i32, op: Pair, rhs: i32| match op.as_rule() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 51 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pest_tmp` due to 52 previous errors [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/unicode/mod.rs:52:42 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn by_name(name: &str) -> Option bool>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 - pub fn by_name(name: &str) -> Option bool>> { [INFO] [stdout] 52 + pub fn by_name(name: &str) -> Option bool>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:232:33 [INFO] [stdout] | [INFO] [stdout] 232 | format!("expected end of input, but found {:?}", rest) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | / parses_to! { [INFO] [stdout] 367 | | parser: AbcParser, [INFO] [stdout] 368 | | input: "abcde", [INFO] [stdout] 369 | | rule: Rule::a, [INFO] [stdout] ... | [INFO] [stdout] 375 | | ] [INFO] [stdout] 376 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `parses_to` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 232 - format!("expected end of input, but found {:?}", rest) [INFO] [stdout] 232 + "expected end of input, but found {:?}", rest [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:236:33 [INFO] [stdout] | [INFO] [stdout] 236 | format!("expected end of input, but found {:?}", rest) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | / parses_to! { [INFO] [stdout] 367 | | parser: AbcParser, [INFO] [stdout] 368 | | input: "abcde", [INFO] [stdout] 369 | | rule: Rule::a, [INFO] [stdout] ... | [INFO] [stdout] 375 | | ] [INFO] [stdout] 376 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `parses_to` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 236 - format!("expected end of input, but found {:?}", rest) [INFO] [stdout] 236 + "expected end of input, but found {:?}", rest [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:232:33 [INFO] [stdout] | [INFO] [stdout] 232 | format!("expected end of input, but found {:?}", rest) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | / parses_to! { [INFO] [stdout] 383 | | parser: AbcParser, [INFO] [stdout] 384 | | input: "abcde", [INFO] [stdout] 385 | | rule: Rule::a, [INFO] [stdout] ... | [INFO] [stdout] 390 | | ] [INFO] [stdout] 391 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `parses_to` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 232 - format!("expected end of input, but found {:?}", rest) [INFO] [stdout] 232 + "expected end of input, but found {:?}", rest [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:236:33 [INFO] [stdout] | [INFO] [stdout] 236 | format!("expected end of input, but found {:?}", rest) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | / parses_to! { [INFO] [stdout] 383 | | parser: AbcParser, [INFO] [stdout] 384 | | input: "abcde", [INFO] [stdout] 385 | | rule: Rule::a, [INFO] [stdout] ... | [INFO] [stdout] 390 | | ] [INFO] [stdout] 391 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `parses_to` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 236 - format!("expected end of input, but found {:?}", rest) [INFO] [stdout] 236 + "expected end of input, but found {:?}", rest [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:232:33 [INFO] [stdout] | [INFO] [stdout] 232 | format!("expected end of input, but found {:?}", rest) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 397 | / parses_to! { [INFO] [stdout] 398 | | parser: AbcParser, [INFO] [stdout] 399 | | input: "abcde", [INFO] [stdout] 400 | | rule: Rule::a, [INFO] [stdout] 401 | | tokens: [] [INFO] [stdout] 402 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `parses_to` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 232 - format!("expected end of input, but found {:?}", rest) [INFO] [stdout] 232 + "expected end of input, but found {:?}", rest [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macros.rs:236:33 [INFO] [stdout] | [INFO] [stdout] 236 | format!("expected end of input, but found {:?}", rest) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 397 | / parses_to! { [INFO] [stdout] 398 | | parser: AbcParser, [INFO] [stdout] 399 | | input: "abcde", [INFO] [stdout] 400 | | rule: Rule::a, [INFO] [stdout] 401 | | tokens: [] [INFO] [stdout] 402 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in the macro `parses_to` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 236 - format!("expected end of input, but found {:?}", rest) [INFO] [stdout] 236 + "expected end of input, but found {:?}", rest [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::cmp::Ord::cmp` that must be used [INFO] [stdout] --> src/position.rs:608:9 [INFO] [stdout] | [INFO] [stdout] 608 | pos1.cmp(&pos2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cf7bb04831d875d9e372045d48988b562ec665022439aa8832b1fc0b93fc1e1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf7bb04831d875d9e372045d48988b562ec665022439aa8832b1fc0b93fc1e1b", kill_on_drop: false }` [INFO] [stdout] cf7bb04831d875d9e372045d48988b562ec665022439aa8832b1fc0b93fc1e1b