[INFO] fetching crate rushell_deps_pom 3.2.0-jeff.2... [INFO] checking rushell_deps_pom-3.2.0-jeff.2 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate rushell_deps_pom 3.2.0-jeff.2 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate rushell_deps_pom 3.2.0-jeff.2 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rushell_deps_pom 3.2.0-jeff.2 [INFO] finished tweaking crates.io crate rushell_deps_pom 3.2.0-jeff.2 [INFO] tweaked toml for crates.io crate rushell_deps_pom 3.2.0-jeff.2 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate rushell_deps_pom 3.2.0-jeff.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7eb4a588aa79ea183c7a617a17b1c6fff3be1a764625c5f142ebdee1d35b436 [INFO] running `Command { std: "docker" "start" "-a" "a7eb4a588aa79ea183c7a617a17b1c6fff3be1a764625c5f142ebdee1d35b436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7eb4a588aa79ea183c7a617a17b1c6fff3be1a764625c5f142ebdee1d35b436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7eb4a588aa79ea183c7a617a17b1c6fff3be1a764625c5f142ebdee1d35b436", kill_on_drop: false }` [INFO] [stdout] a7eb4a588aa79ea183c7a617a17b1c6fff3be1a764625c5f142ebdee1d35b436 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c52bbb3bf085cbf6cadbeea6410a21b485cfe15c59a74d88e88db8804d9b8b7 [INFO] running `Command { std: "docker" "start" "-a" "6c52bbb3bf085cbf6cadbeea6410a21b485cfe15c59a74d88e88db8804d9b8b7", kill_on_drop: false }` [INFO] [stderr] Checking rushell_deps_pom v3.2.0-jeff.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `pom` [INFO] [stdout] --> tests/list.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate pom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rushell_deps_pom` due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0463]: can't find crate for `pom` [INFO] [stdout] --> benches/json_char.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate pom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pom` [INFO] [stdout] --> examples/json.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pom::parser::*; [INFO] [stdout] | ^^^ use of undeclared crate or module `pom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pom` [INFO] [stdout] --> examples/json.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pom::char_class::hex_digit; [INFO] [stdout] | ^^^ use of undeclared crate or module `pom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pom::char_class::hex_digit` [INFO] [stdout] --> examples/json.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pom::char_class::hex_digit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pom` [INFO] [stdout] --> examples/simple.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pom::parser::*; [INFO] [stdout] | ^^^ use of undeclared crate or module `pom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pom` [INFO] [stdout] --> examples/json_char.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pom::parser::*; [INFO] [stdout] | ^^^ use of undeclared crate or module `pom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pom` [INFO] [stdout] --> examples/duration.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pom::parser::*; [INFO] [stdout] | ^^^ use of undeclared crate or module `pom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pom` [INFO] [stdout] --> examples/duration.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pom::Parser; [INFO] [stdout] | ^^^ use of undeclared crate or module `pom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pom` [INFO] [stdout] --> examples/json_file.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use pom::parser::InputV; [INFO] [stdout] | ^^^ use of undeclared crate or module `pom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pom` [INFO] [stdout] --> examples/json_file.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pom::char_class::hex_digit; [INFO] [stdout] | ^^^ use of undeclared crate or module `pom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pom` [INFO] [stdout] --> examples/whitespace.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pom::parser::*; [INFO] [stdout] | ^^^ use of undeclared crate or module `pom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pom` [INFO] [stdout] --> examples/json_file.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pom::parser::{Parser, one_of, sym, none_of, seq, is_a, list, call, end}; [INFO] [stdout] | ^^^ use of undeclared crate or module `pom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/simple.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | let parser = sym(b'a') * none_of(b"AB") - sym(b'c') + seq(b"de"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `none_of` in this scope [INFO] [stdout] --> examples/simple.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | let parser = sym(b'a') * none_of(b"AB") - sym(b'c') + seq(b"de"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::none_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/simple.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | let parser = sym(b'a') * none_of(b"AB") - sym(b'c') + seq(b"de"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `seq` in this scope [INFO] [stdout] --> examples/simple.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | let parser = sym(b'a') * none_of(b"AB") - sym(b'c') + seq(b"de"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::seq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `InputV` in this scope [INFO] [stdout] --> examples/simple.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | let output = parser.parse(Arc::new(InputV { input: input.to_vec() })); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::InputV; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `pom` [INFO] [stdout] --> benches/json.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate pom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/json.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | fn space<'a>() -> Parser<'a, u8, ()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `one_of` in this scope [INFO] [stdout] --> examples/json.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 20 | one_of(b" \t\r\n").repeat(0..).discard() [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::one_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/json.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | fn number<'a>() -> Parser<'a, u8, f64> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `one_of` in this scope [INFO] [stdout] --> examples/duration.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 20 | one_of(b".,").discard() [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::one_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `one_of` in this scope [INFO] [stdout] --> examples/json.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | let integer = one_of(b"123456789") - one_of(b"0123456789").repeat(0..) | sym(b'0'); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::one_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `one_of` in this scope [INFO] [stdout] --> examples/duration.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | let integer = one_of(b"0123456789").repeat(0..); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::one_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `one_of` in this scope [INFO] [stdout] --> examples/duration.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | let frac = number_separator() + one_of(b"0123456789").repeat(1..); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::one_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/duration.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | ((number() - sym(b'Y')).opt() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/duration.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | + (number() - sym(b'M')).opt() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/duration.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | + (number() - sym(b'W')).opt() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/duration.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | + (number() - sym(b'D')).opt()) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/duration.rs:42:2 [INFO] [stdout] | [INFO] [stdout] 42 | sym(b'T') [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/duration.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | * ((number() - sym(b'H')).opt() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/duration.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | + (number() - sym(b'M')).opt() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/duration.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | + (number() - sym(b'S')).opt()) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/duration.rs:50:2 [INFO] [stdout] | [INFO] [stdout] 50 | sym(b'P') [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `InputV` in this scope [INFO] [stdout] --> examples/duration.rs:79:26 [INFO] [stdout] | [INFO] [stdout] 79 | let my_input = Arc::new(InputV { input: input.as_bytes().to_vec() }); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::InputV; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `one_of` in this scope [INFO] [stdout] --> examples/json.rs:24:39 [INFO] [stdout] | [INFO] [stdout] 24 | let integer = one_of(b"123456789") - one_of(b"0123456789").repeat(0..) | sym(b'0'); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::one_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json.rs:24:75 [INFO] [stdout] | [INFO] [stdout] 24 | let integer = one_of(b"123456789") - one_of(b"0123456789").repeat(0..) | sym(b'0'); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let frac = sym(b'.') + one_of(b"0123456789").repeat(1..); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `one_of` in this scope [INFO] [stdout] --> examples/json.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | let frac = sym(b'.') + one_of(b"0123456789").repeat(1..); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::one_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `one_of` in this scope [INFO] [stdout] --> examples/json.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | let exp = one_of(b"eE") + one_of(b"+-").opt() + one_of(b"0123456789").repeat(1..); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::one_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `one_of` in this scope [INFO] [stdout] --> examples/json.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | let exp = one_of(b"eE") + one_of(b"+-").opt() + one_of(b"0123456789").repeat(1..); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::one_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `one_of` in this scope [INFO] [stdout] --> examples/json.rs:26:50 [INFO] [stdout] | [INFO] [stdout] 26 | let exp = one_of(b"eE") + one_of(b"+-").opt() + one_of(b"0123456789").repeat(1..); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::one_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | let number = sym(b'-').opt() + integer + frac.opt() + exp.opt(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/whitespace.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | fn whitespace<'a>() -> Parser<'a, u8, ()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `one_of` in this scope [INFO] [stdout] --> examples/whitespace.rs:16:2 [INFO] [stdout] | [INFO] [stdout] 16 | one_of(b" \t\r\n").repeat(0..).discard() [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::one_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/whitespace.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | fn linebreak<'a>() -> Parser<'a, u8, ()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/whitespace.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 20 | sym(b'\r').opt() * sym(b'\n').discard() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/whitespace.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | sym(b'\r').opt() * sym(b'\n').discard() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/whitespace.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | fn indented<'a>() -> Parser<'a, u8, Vec> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/whitespace.rs:24:2 [INFO] [stdout] | [INFO] [stdout] 24 | sym(b'\t') * none_of(b"\n\r").repeat(1..) - linebreak() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `none_of` in this scope [INFO] [stdout] --> examples/whitespace.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | sym(b'\t') * none_of(b"\n\r").repeat(1..) - linebreak() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::none_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/whitespace.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | fn empty<'a>() -> Parser<'a, u8, ()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `one_of` in this scope [INFO] [stdout] --> examples/whitespace.rs:28:2 [INFO] [stdout] | [INFO] [stdout] 28 | one_of(b" \t").repeat(0..).discard() - linebreak() [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::one_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/whitespace.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | fn content<'a>() -> Parser<'a, u8, String> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `none_of` in this scope [INFO] [stdout] --> examples/whitespace.rs:32:2 [INFO] [stdout] | [INFO] [stdout] 32 | none_of(b" \t\r\n").repeat(1..).convert(String::from_utf8) - linebreak() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::none_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/whitespace.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | fn subcontainer<'a>() -> Parser<'a, u8, (Vec, Vec)> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call` in this scope [INFO] [stdout] --> examples/whitespace.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | call(container).map(|ctr| TmpContainerOrContent::Container(ctr)) | [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::call; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/whitespace.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | fn container<'a>() -> Parser<'a, u8, Container> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `seq` in this scope [INFO] [stdout] --> examples/whitespace.rs:59:2 [INFO] [stdout] | [INFO] [stdout] 59 | seq(b"Container\n") * [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::seq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `InputV` in this scope [INFO] [stdout] --> examples/whitespace.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 73 | subcontainer().parse(Arc::new(InputV { input: deden })).expect("subcont") [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::InputV; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/whitespace.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | fn mylang<'a>() -> Parser<'a, u8, Vec> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `list` in this scope [INFO] [stdout] --> examples/whitespace.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | list( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call` in this scope [INFO] [stdout] --> examples/whitespace.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | call(container), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::call; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `InputV` in this scope [INFO] [stdout] --> examples/whitespace.rs:112:27 [INFO] [stdout] | [INFO] [stdout] 112 | mylang().parse(Arc::new(InputV { input: input.to_vec() })), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::InputV; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/json.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | fn string<'a>() -> Parser<'a, u8, String> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | let special_char = sym(b'\\') | sym(b'/') | sym(b'"') [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 35 | let special_char = sym(b'\\') | sym(b'/') | sym(b'"') [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 35 | let special_char = sym(b'\\') | sym(b'/') | sym(b'"') [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | | sym(b'b').map(|_|b'\x08') | sym(b'f').map(|_|b'\x0C') [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | | sym(b'b').map(|_|b'\x08') | sym(b'f').map(|_|b'\x0C') [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | | sym(b'n').map(|_|b'\n') | sym(b'r').map(|_|b'\r') | sym(b't').map(|_|b'\t'); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | | sym(b'n').map(|_|b'\n') | sym(b'r').map(|_|b'\r') | sym(b't').map(|_|b'\t'); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> examples/whitespace.rs:78:2 [INFO] [stdout] | [INFO] [stdout] 78 | / ( [INFO] [stdout] 79 | | whitespace() * [INFO] [stdout] 80 | | list( [INFO] [stdout] 81 | | call(container), [INFO] [stdout] 82 | | whitespace() [INFO] [stdout] 83 | | ) [INFO] [stdout] 84 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 78 | whitespace() * [INFO] [stdout] 79 | list( [INFO] [stdout] 80 | call(container), [INFO] [stdout] 81 | whitespace() [INFO] [stdout] 82 | ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json.rs:37:57 [INFO] [stdout] | [INFO] [stdout] 37 | | sym(b'n').map(|_|b'\n') | sym(b'r').map(|_|b'\r') | sym(b't').map(|_|b'\t'); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | let escape_sequence = sym(b'\\') * special_char; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `none_of` in this scope [INFO] [stdout] --> examples/json.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | let char_string = (none_of(b"\\\"") | escape_sequence).repeat(1..).convert(String::from_utf8); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::none_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `seq` in this scope [INFO] [stdout] --> examples/json.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | let utf16_char = seq(b"\\u") * is_a(hex_digit).repeat(4).convert(String::from_utf8).convert(|digits|u16::from_str_radix(&digits, 16)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::seq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_a` in this scope [INFO] [stdout] --> examples/json.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | let utf16_char = seq(b"\\u") * is_a(hex_digit).repeat(4).convert(String::from_utf8).convert(|digits|u16::from_str_radix(&digits, 16)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::is_a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `hex_digit` in this scope [INFO] [stdout] --> examples/json.rs:40:38 [INFO] [stdout] | [INFO] [stdout] 40 | let utf16_char = seq(b"\\u") * is_a(hex_digit).repeat(4).convert(String::from_utf8).convert(|digits|u16::from_str_radix(&digits, 16)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::char_class::hex_digit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | let string = sym(b'"') * (char_string | utf16_string).repeat(0..) - sym(b'"'); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json.rs:42:70 [INFO] [stdout] | [INFO] [stdout] 42 | let string = sym(b'"') * (char_string | utf16_string).repeat(0..) - sym(b'"'); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/json.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | fn array<'a>() -> Parser<'a, u8, Vec> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `list` in this scope [INFO] [stdout] --> examples/json.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | let elems = list(call(value), sym(b',') * space()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call` in this scope [INFO] [stdout] --> examples/json.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | let elems = list(call(value), sym(b',') * space()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::call; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | let elems = list(call(value), sym(b',') * space()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json.rs:48:2 [INFO] [stdout] | [INFO] [stdout] 48 | sym(b'[') * space() * elems - sym(b']') [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 48 | sym(b'[') * space() * elems - sym(b']') [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/json.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | fn object<'a>() -> Parser<'a, u8, HashMap> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | let member = string() - space() - sym(b':') - space() + call(value); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call` in this scope [INFO] [stdout] --> examples/json.rs:52:58 [INFO] [stdout] | [INFO] [stdout] 52 | let member = string() - space() - sym(b':') - space() + call(value); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::call; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `list` in this scope [INFO] [stdout] --> examples/json.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | let members = list(member, sym(b',') * space()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | let members = list(member, sym(b',') * space()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | let obj = sym(b'{') * space() * members - sym(b'}'); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json.rs:54:44 [INFO] [stdout] | [INFO] [stdout] 54 | let obj = sym(b'{') * space() * members - sym(b'}'); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/json.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | fn value<'a>() -> Parser<'a, u8, JsonValue> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `seq` in this scope [INFO] [stdout] --> examples/json.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | ( seq(b"null").map(|_|JsonValue::Null) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::seq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `seq` in this scope [INFO] [stdout] --> examples/json.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | | seq(b"true").map(|_|JsonValue::Bool(true)) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::seq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `seq` in this scope [INFO] [stdout] --> examples/json.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | | seq(b"false").map(|_|JsonValue::Bool(false)) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::seq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/json.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn json<'a>() -> Parser<'a, u8, JsonValue> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `end` in this scope [INFO] [stdout] --> examples/json.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | space() * value() - end() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::end; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `InputV` in this scope [INFO] [stdout] --> examples/json.rs:92:41 [INFO] [stdout] | [INFO] [stdout] 92 | println!("{:?}", json().parse(Arc::new(InputV { input: input.to_vec() }))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::InputV; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/json_char.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | fn space<'a>() -> Parser<'a, char, ()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `one_of` in this scope [INFO] [stdout] --> examples/json_char.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 20 | one_of(" \t\r\n").repeat(0..).discard() [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::one_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/json_char.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | fn number<'a>() -> Parser<'a, char, f64> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `one_of` in this scope [INFO] [stdout] --> examples/json_char.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | let integer = one_of("123456789") - one_of("0123456789").repeat(0..) | sym('0'); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::one_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `one_of` in this scope [INFO] [stdout] --> examples/json_char.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | let integer = one_of("123456789") - one_of("0123456789").repeat(0..) | sym('0'); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::one_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_char.rs:24:73 [INFO] [stdout] | [INFO] [stdout] 24 | let integer = one_of("123456789") - one_of("0123456789").repeat(0..) | sym('0'); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_char.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let frac = sym('.') + one_of("0123456789").repeat(1..); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `one_of` in this scope [INFO] [stdout] --> examples/json_char.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | let frac = sym('.') + one_of("0123456789").repeat(1..); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::one_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `one_of` in this scope [INFO] [stdout] --> examples/json_char.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | let exp = one_of("eE") + one_of("+-").opt() + one_of("0123456789").repeat(1..); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::one_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `one_of` in this scope [INFO] [stdout] --> examples/json_char.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | let exp = one_of("eE") + one_of("+-").opt() + one_of("0123456789").repeat(1..); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::one_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `one_of` in this scope [INFO] [stdout] --> examples/json_char.rs:26:48 [INFO] [stdout] | [INFO] [stdout] 26 | let exp = one_of("eE") + one_of("+-").opt() + one_of("0123456789").repeat(1..); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::one_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_char.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | let number = sym('-').opt() + integer + frac.opt() + exp.opt(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/json_char.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | fn string<'a>() -> Parser<'a, char, String> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_char.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | let special_char = sym('\\') [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_char.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | | sym('/') [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_char.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | | sym('"') [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_char.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | | sym('b').map(|_| '\x08') [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_char.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | | sym('f').map(|_| '\x0C') [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_char.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | | sym('n').map(|_| '\n') [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_char.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | | sym('r').map(|_| '\r') [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_char.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | | sym('t').map(|_| '\t'); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_char.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | let escape_sequence = sym('\\') * special_char; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `none_of` in this scope [INFO] [stdout] --> examples/json_char.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | let char_string = (none_of("\\\"") | escape_sequence) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::none_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `tag` in this scope [INFO] [stdout] --> examples/json_char.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | let utf16_char = tag("\\u") * is_a(|c: char| c.is_digit(16)) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::tag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_a` in this scope [INFO] [stdout] --> examples/json_char.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | let utf16_char = tag("\\u") * is_a(|c: char| c.is_digit(16)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::is_a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_char.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | let string = sym('"') * (char_string | utf16_string).repeat(0..) - sym('"'); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_char.rs:56:69 [INFO] [stdout] | [INFO] [stdout] 56 | let string = sym('"') * (char_string | utf16_string).repeat(0..) - sym('"'); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/json_char.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | fn array<'a>() -> Parser<'a, char, Vec> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `list` in this scope [INFO] [stdout] --> examples/json_char.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | let elems = list(call(value), sym(',') * space()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call` in this scope [INFO] [stdout] --> examples/json_char.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | let elems = list(call(value), sym(',') * space()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::call; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_char.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | let elems = list(call(value), sym(',') * space()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_char.rs:62:2 [INFO] [stdout] | [INFO] [stdout] 62 | sym('[') * space() * elems - sym(']') [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_char.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | sym('[') * space() * elems - sym(']') [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/json_char.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | fn object<'a>() -> Parser<'a, char, HashMap> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_char.rs:66:36 [INFO] [stdout] | [INFO] [stdout] 66 | let member = string() - space() - sym(':') - space() + call(value); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call` in this scope [INFO] [stdout] --> examples/json_char.rs:66:57 [INFO] [stdout] | [INFO] [stdout] 66 | let member = string() - space() - sym(':') - space() + call(value); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::call; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `list` in this scope [INFO] [stdout] --> examples/json_char.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | let members = list(member, sym(',') * space()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_char.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | let members = list(member, sym(',') * space()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_char.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | let obj = sym('{') * space() * members - sym('}'); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_char.rs:68:43 [INFO] [stdout] | [INFO] [stdout] 68 | let obj = sym('{') * space() * members - sym('}'); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/json_char.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | fn value<'a>() -> Parser<'a, char, JsonValue> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `tag` in this scope [INFO] [stdout] --> examples/json_char.rs:73:3 [INFO] [stdout] | [INFO] [stdout] 73 | (tag("null").map(|_| JsonValue::Null) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::tag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `tag` in this scope [INFO] [stdout] --> examples/json_char.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | | tag("true").map(|_| JsonValue::Bool(true)) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::tag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `tag` in this scope [INFO] [stdout] --> examples/json_char.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | | tag("false").map(|_| JsonValue::Bool(false)) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::tag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/json_char.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn json<'a>() -> Parser<'a, char, JsonValue> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `end` in this scope [INFO] [stdout] --> examples/json_char.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | space() * value() - end() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::end; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `InputV` in this scope [INFO] [stdout] --> examples/json_char.rs:107:41 [INFO] [stdout] | [INFO] [stdout] 107 | println!("{:?}", json().parse(Arc::new(InputV { input: input }))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::InputV; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/json_file.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | fn space<'a>() -> Parser<'a, u8, ()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `one_of` in this scope [INFO] [stdout] --> examples/json_file.rs:23:2 [INFO] [stdout] | [INFO] [stdout] 23 | one_of(b" \t\r\n").repeat(0..).discard() [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::one_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/json_file.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | fn number<'a>() -> Parser<'a, u8, f64> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `one_of` in this scope [INFO] [stdout] --> examples/json_file.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | let integer = one_of(b"123456789") - one_of(b"0123456789").repeat(0..) | sym(b'0'); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::one_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `one_of` in this scope [INFO] [stdout] --> examples/json_file.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | let integer = one_of(b"123456789") - one_of(b"0123456789").repeat(0..) | sym(b'0'); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::one_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_file.rs:27:75 [INFO] [stdout] | [INFO] [stdout] 27 | let integer = one_of(b"123456789") - one_of(b"0123456789").repeat(0..) | sym(b'0'); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_file.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let frac = sym(b'.') + one_of(b"0123456789").repeat(1..); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `one_of` in this scope [INFO] [stdout] --> examples/json_file.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let frac = sym(b'.') + one_of(b"0123456789").repeat(1..); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::one_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `one_of` in this scope [INFO] [stdout] --> examples/json_file.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | let exp = one_of(b"eE") + one_of(b"+-").opt() + one_of(b"0123456789").repeat(1..); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::one_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `one_of` in this scope [INFO] [stdout] --> examples/json_file.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | let exp = one_of(b"eE") + one_of(b"+-").opt() + one_of(b"0123456789").repeat(1..); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::one_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `one_of` in this scope [INFO] [stdout] --> examples/json_file.rs:29:50 [INFO] [stdout] | [INFO] [stdout] 29 | let exp = one_of(b"eE") + one_of(b"+-").opt() + one_of(b"0123456789").repeat(1..); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::one_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_file.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | let number = sym(b'-').opt() + integer + frac.opt() + exp.opt(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/json_file.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | fn string<'a>() -> Parser<'a, u8, String> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_file.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let special_char = sym(b'\\') | sym(b'/') | sym(b'"') [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_file.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | let special_char = sym(b'\\') | sym(b'/') | sym(b'"') [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_file.rs:37:46 [INFO] [stdout] | [INFO] [stdout] 37 | let special_char = sym(b'\\') | sym(b'/') | sym(b'"') [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_file.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | | sym(b'b').map(|_|b'\x08') | sym(b'f').map(|_|b'\x0C') [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_file.rs:38:33 [INFO] [stdout] | [INFO] [stdout] 38 | | sym(b'b').map(|_|b'\x08') | sym(b'f').map(|_|b'\x0C') [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_file.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | | sym(b'n').map(|_|b'\n') | sym(b'r').map(|_|b'\r') | sym(b't').map(|_|b'\t'); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_file.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | | sym(b'n').map(|_|b'\n') | sym(b'r').map(|_|b'\r') | sym(b't').map(|_|b'\t'); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_file.rs:39:57 [INFO] [stdout] | [INFO] [stdout] 39 | | sym(b'n').map(|_|b'\n') | sym(b'r').map(|_|b'\r') | sym(b't').map(|_|b'\t'); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_file.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | let escape_sequence = sym(b'\\') * special_char; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `none_of` in this scope [INFO] [stdout] --> examples/json_file.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let char_string = (none_of(b"\\\"") | escape_sequence).repeat(1..).convert(String::from_utf8); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::none_of; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `seq` in this scope [INFO] [stdout] --> examples/json_file.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | let utf16_char = seq(b"\\u") * is_a(hex_digit).repeat(4).convert(String::from_utf8).convert(|digits|u16::from_str_radix(&digits, 16)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::seq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_a` in this scope [INFO] [stdout] --> examples/json_file.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | let utf16_char = seq(b"\\u") * is_a(hex_digit).repeat(4).convert(String::from_utf8).convert(|digits|u16::from_str_radix(&digits, 16)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::is_a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `hex_digit` in this scope [INFO] [stdout] --> examples/json_file.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | let utf16_char = seq(b"\\u") * is_a(hex_digit).repeat(4).convert(String::from_utf8).convert(|digits|u16::from_str_radix(&digits, 16)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::char_class::hex_digit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_file.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | let string = sym(b'"') * (char_string | utf16_string).repeat(0..) - sym(b'"'); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_file.rs:44:70 [INFO] [stdout] | [INFO] [stdout] 44 | let string = sym(b'"') * (char_string | utf16_string).repeat(0..) - sym(b'"'); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/json_file.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | fn array<'a>() -> Parser<'a, u8, Vec> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `list` in this scope [INFO] [stdout] --> examples/json_file.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | let elems = list(call(value), sym(b',') * space()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call` in this scope [INFO] [stdout] --> examples/json_file.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | let elems = list(call(value), sym(b',') * space()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::call; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_file.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | let elems = list(call(value), sym(b',') * space()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_file.rs:50:2 [INFO] [stdout] | [INFO] [stdout] 50 | sym(b'[') * space() * elems - sym(b']') [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_file.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | sym(b'[') * space() * elems - sym(b']') [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/json_file.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | fn object<'a>() -> Parser<'a, u8, HashMap> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_file.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | let member = string() - space() - sym(b':') - space() + call(value); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call` in this scope [INFO] [stdout] --> examples/json_file.rs:54:58 [INFO] [stdout] | [INFO] [stdout] 54 | let member = string() - space() - sym(b':') - space() + call(value); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::call; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `list` in this scope [INFO] [stdout] --> examples/json_file.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | let members = list(member, sym(b',') * space()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::list; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_file.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | let members = list(member, sym(b',') * space()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_file.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | let obj = sym(b'{') * space() * members - sym(b'}'); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sym` in this scope [INFO] [stdout] --> examples/json_file.rs:56:44 [INFO] [stdout] | [INFO] [stdout] 56 | let obj = sym(b'{') * space() * members - sym(b'}'); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::sym; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/json_file.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | fn value<'a>() -> Parser<'a, u8, JsonValue> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `seq` in this scope [INFO] [stdout] --> examples/json_file.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | ( seq(b"null").map(|_|JsonValue::Null) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::seq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `seq` in this scope [INFO] [stdout] --> examples/json_file.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | | seq(b"true").map(|_|JsonValue::Bool(true)) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::seq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `seq` in this scope [INFO] [stdout] --> examples/json_file.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | | seq(b"false").map(|_|JsonValue::Bool(false)) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::seq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parser` in this scope [INFO] [stdout] --> examples/json_file.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn json<'a>() -> Parser<'a, u8, JsonValue> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::Parser; [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `end` in this scope [INFO] [stdout] --> examples/json_file.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | space() * value() - end() [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::end; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `InputV` in this scope [INFO] [stdout] --> examples/json_file.rs:80:41 [INFO] [stdout] | [INFO] [stdout] 80 | println!("{:?}", json().parse(Arc::new(InputV { input: input }))); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use rushell_deps_pom::parser::InputV; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> examples/json_file.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | .convert(|v| f64::from_str(&v))} [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 34 | .convert(|&v| f64::from_str(&v))} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> examples/json_char.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | .convert(|s| f64::from_str(&s)) [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 31 | .convert(|&s| f64::from_str(&s)) [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> examples/json.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | .convert(|v| f64::from_str(&v)) [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 31 | .convert(|&v| f64::from_str(&v)) [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> examples/duration.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | .convert(|v| f32::from_str(&v)) [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 30 | .convert(|&v| f32::from_str(&v)) [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> examples/json_file.rs:42:95 [INFO] [stdout] | [INFO] [stdout] 42 | let utf16_char = seq(b"\\u") * is_a(hex_digit).repeat(4).convert(String::from_utf8).convert(|digits|u16::from_str_radix(&digits, 16)); [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 42 | let utf16_char = seq(b"\\u") * is_a(hex_digit).repeat(4).convert(String::from_utf8).convert(|&digits|u16::from_str_radix(&digits, 16)); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> examples/json_char.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | .convert(|digits| u16::from_str_radix(&digits, 16)); [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 50 | .convert(|&digits| u16::from_str_radix(&digits, 16)); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> examples/duration.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | let result = p.parse(my_input.clone()); [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `my_input` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> examples/json.rs:40:95 [INFO] [stdout] | [INFO] [stdout] 40 | let utf16_char = seq(b"\\u") * is_a(hex_digit).repeat(4).convert(String::from_utf8).convert(|digits|u16::from_str_radix(&digits, 16)); [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 40 | let utf16_char = seq(b"\\u") * is_a(hex_digit).repeat(4).convert(String::from_utf8).convert(|&digits|u16::from_str_radix(&digits, 16)); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 53 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 50 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 53 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6c52bbb3bf085cbf6cadbeea6410a21b485cfe15c59a74d88e88db8804d9b8b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c52bbb3bf085cbf6cadbeea6410a21b485cfe15c59a74d88e88db8804d9b8b7", kill_on_drop: false }` [INFO] [stdout] 6c52bbb3bf085cbf6cadbeea6410a21b485cfe15c59a74d88e88db8804d9b8b7