[INFO] cloning repository https://github.com/shadw3002/lexer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shadw3002/lexer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshadw3002%2Flexer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshadw3002%2Flexer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce38bb3d88fd886a209cd3a10a6771b780ca59f9 [INFO] checking shadw3002/lexer against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshadw3002%2Flexer" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shadw3002/lexer on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shadw3002/lexer [INFO] removed path dependency unit from git repo https://github.com/shadw3002/lexer [INFO] finished tweaking git repo https://github.com/shadw3002/lexer [INFO] tweaked toml for git repo https://github.com/shadw3002/lexer written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/shadw3002/lexer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (unit) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-13/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (unit) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unit v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6ae070bd1bfbc946defe8930db4497f4d28eabbbfd8a87a04092b6efda59dc5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d6ae070bd1bfbc946defe8930db4497f4d28eabbbfd8a87a04092b6efda59dc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6ae070bd1bfbc946defe8930db4497f4d28eabbbfd8a87a04092b6efda59dc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6ae070bd1bfbc946defe8930db4497f4d28eabbbfd8a87a04092b6efda59dc5", kill_on_drop: false }` [INFO] [stdout] d6ae070bd1bfbc946defe8930db4497f4d28eabbbfd8a87a04092b6efda59dc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a226b788e19c1a707f984cc7f0dc51853903f4173c408b674dc5505c622d0f05 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a226b788e19c1a707f984cc7f0dc51853903f4173c408b674dc5505c622d0f05", kill_on_drop: false }` [INFO] [stderr] warning: dependency (unit) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Checking unit v0.1.0 [INFO] [stderr] Checking lexer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/nfa.rs:273:17 [INFO] [stdout] | [INFO] [stdout] 273 | Unit::Char(ch) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/nfa.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | Unit::Operator(Operator::Concatenation()) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/nfa.rs:293:32 [INFO] [stdout] | [INFO] [stdout] 293 | Unit::Operator(Operator::Concatenation()) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/nfa.rs:273:17 [INFO] [stdout] | [INFO] [stdout] 273 | Unit::Char(ch) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/nfa.rs:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | Unit::Operator(Operator::Concatenation()) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/nfa.rs:293:32 [INFO] [stdout] | [INFO] [stdout] 293 | Unit::Operator(Operator::Concatenation()) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/nfa.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | Unit::Operator(Operator::Alternation()) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/nfa.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | Unit::Operator(Operator::Alternation()) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/nfa.rs:299:32 [INFO] [stdout] | [INFO] [stdout] 299 | Unit::Operator(Operator::Alternation()) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/nfa.rs:305:17 [INFO] [stdout] | [INFO] [stdout] 305 | Unit::Operator(Operator::Repeat(repeat)) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/nfa.rs:299:32 [INFO] [stdout] | [INFO] [stdout] 299 | Unit::Operator(Operator::Alternation()) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/nfa.rs:305:32 [INFO] [stdout] | [INFO] [stdout] 305 | Unit::Operator(Operator::Repeat(repeat)) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repeat` [INFO] [stdout] --> src/nfa.rs:307:25 [INFO] [stdout] | [INFO] [stdout] 307 | Repeat::Exact(times) => { [INFO] [stdout] | ^^^^^^ use of undeclared type `Repeat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repeat` [INFO] [stdout] --> src/nfa.rs:311:25 [INFO] [stdout] | [INFO] [stdout] 311 | Repeat::FromZero() => { [INFO] [stdout] | ^^^^^^ use of undeclared type `Repeat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repeat` [INFO] [stdout] --> src/nfa.rs:315:25 [INFO] [stdout] | [INFO] [stdout] 315 | Repeat::From(from) => { [INFO] [stdout] | ^^^^^^ use of undeclared type `Repeat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repeat` [INFO] [stdout] --> src/nfa.rs:319:25 [INFO] [stdout] | [INFO] [stdout] 319 | Repeat::FromTo(from, to) => { [INFO] [stdout] | ^^^^^^ use of undeclared type `Repeat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/nfa.rs:305:17 [INFO] [stdout] | [INFO] [stdout] 305 | Unit::Operator(Operator::Repeat(repeat)) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repeat` [INFO] [stdout] --> src/nfa.rs:323:25 [INFO] [stdout] | [INFO] [stdout] 323 | Repeat::Maybe() => { [INFO] [stdout] | ^^^^^^ use of undeclared type `Repeat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/nfa.rs:305:32 [INFO] [stdout] | [INFO] [stdout] 305 | Unit::Operator(Operator::Repeat(repeat)) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repeat` [INFO] [stdout] --> src/nfa.rs:307:25 [INFO] [stdout] | [INFO] [stdout] 307 | Repeat::Exact(times) => { [INFO] [stdout] | ^^^^^^ use of undeclared type `Repeat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repeat` [INFO] [stdout] --> src/nfa.rs:311:25 [INFO] [stdout] | [INFO] [stdout] 311 | Repeat::FromZero() => { [INFO] [stdout] | ^^^^^^ use of undeclared type `Repeat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repeat` [INFO] [stdout] --> src/nfa.rs:315:25 [INFO] [stdout] | [INFO] [stdout] 315 | Repeat::From(from) => { [INFO] [stdout] | ^^^^^^ use of undeclared type `Repeat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repeat` [INFO] [stdout] --> src/nfa.rs:319:25 [INFO] [stdout] | [INFO] [stdout] 319 | Repeat::FromTo(from, to) => { [INFO] [stdout] | ^^^^^^ use of undeclared type `Repeat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repeat` [INFO] [stdout] --> src/nfa.rs:323:25 [INFO] [stdout] | [INFO] [stdout] 323 | Repeat::Maybe() => { [INFO] [stdout] | ^^^^^^ use of undeclared type `Repeat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | if let Unit::Char(ch) = u { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Char` [INFO] [stdout] --> src/expression.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | ... units.push(match Char::from_str(&stack) { [INFO] [stdout] | ^^^^ use of undeclared type `Char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:45:45 [INFO] [stdout] | [INFO] [stdout] 45 | ... Some(ch) => Unit::Char(ch), [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | ... Some(rp) => Unit::Operator(Operator::Repeat(rp)), [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:57:60 [INFO] [stdout] | [INFO] [stdout] 57 | ... Some(rp) => Unit::Operator(Operator::Repeat(rp)), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:70:44 [INFO] [stdout] | [INFO] [stdout] 70 | ... '(' => Unit::Operator(Operator::LeftParenthese()), [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | if let Unit::Char(ch) = u { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Char` [INFO] [stdout] --> src/expression.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | ... units.push(match Char::from_str(&stack) { [INFO] [stdout] | ^^^^ use of undeclared type `Char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:70:59 [INFO] [stdout] | [INFO] [stdout] 70 | ... '(' => Unit::Operator(Operator::LeftParenthese()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:45:45 [INFO] [stdout] | [INFO] [stdout] 45 | ... Some(ch) => Unit::Char(ch), [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:71:44 [INFO] [stdout] | [INFO] [stdout] 71 | ... ')' => Unit::Operator(Operator::RightParenthese()), [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | ... Some(rp) => Unit::Operator(Operator::Repeat(rp)), [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:71:59 [INFO] [stdout] | [INFO] [stdout] 71 | ... ')' => Unit::Operator(Operator::RightParenthese()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | ... '|' => Unit::Operator(Operator::Alternation()), [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:57:60 [INFO] [stdout] | [INFO] [stdout] 57 | ... Some(rp) => Unit::Operator(Operator::Repeat(rp)), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:70:44 [INFO] [stdout] | [INFO] [stdout] 70 | ... '(' => Unit::Operator(Operator::LeftParenthese()), [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:70:59 [INFO] [stdout] | [INFO] [stdout] 70 | ... '(' => Unit::Operator(Operator::LeftParenthese()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:72:59 [INFO] [stdout] | [INFO] [stdout] 72 | ... '|' => Unit::Operator(Operator::Alternation()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:73:44 [INFO] [stdout] | [INFO] [stdout] 73 | ... '*' => Unit::Operator(Operator::Repeat(Repeat::FromZero())), [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:73:59 [INFO] [stdout] | [INFO] [stdout] 73 | ... '*' => Unit::Operator(Operator::Repeat(Repeat::FromZero())), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:74:44 [INFO] [stdout] | [INFO] [stdout] 74 | ... '+' => Unit::Operator(Operator::Repeat(Repeat::From(1))), [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:71:44 [INFO] [stdout] | [INFO] [stdout] 71 | ... ')' => Unit::Operator(Operator::RightParenthese()), [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:74:59 [INFO] [stdout] | [INFO] [stdout] 74 | ... '+' => Unit::Operator(Operator::Repeat(Repeat::From(1))), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:71:59 [INFO] [stdout] | [INFO] [stdout] 71 | ... ')' => Unit::Operator(Operator::RightParenthese()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:75:44 [INFO] [stdout] | [INFO] [stdout] 75 | ... '?' => Unit::Operator(Operator::Repeat(Repeat::Maybe())), [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | ... '|' => Unit::Operator(Operator::Alternation()), [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:72:59 [INFO] [stdout] | [INFO] [stdout] 72 | ... '|' => Unit::Operator(Operator::Alternation()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:75:59 [INFO] [stdout] | [INFO] [stdout] 75 | ... '?' => Unit::Operator(Operator::Repeat(Repeat::Maybe())), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:73:44 [INFO] [stdout] | [INFO] [stdout] 73 | ... '*' => Unit::Operator(Operator::Repeat(Repeat::FromZero())), [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:73:59 [INFO] [stdout] | [INFO] [stdout] 73 | ... '*' => Unit::Operator(Operator::Repeat(Repeat::FromZero())), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:74:44 [INFO] [stdout] | [INFO] [stdout] 74 | ... '+' => Unit::Operator(Operator::Repeat(Repeat::From(1))), [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:74:59 [INFO] [stdout] | [INFO] [stdout] 74 | ... '+' => Unit::Operator(Operator::Repeat(Repeat::From(1))), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:75:44 [INFO] [stdout] | [INFO] [stdout] 75 | ... '?' => Unit::Operator(Operator::Repeat(Repeat::Maybe())), [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:75:59 [INFO] [stdout] | [INFO] [stdout] 75 | ... '?' => Unit::Operator(Operator::Repeat(Repeat::Maybe())), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:76:44 [INFO] [stdout] | [INFO] [stdout] 76 | ... _ => Unit::Char(Char::Single(ch)), [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Char` [INFO] [stdout] --> src/expression.rs:76:55 [INFO] [stdout] | [INFO] [stdout] 76 | ... _ => Unit::Char(Char::Single(ch)), [INFO] [stdout] | ^^^^ use of undeclared type `Char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | Unit::Operator(t_op) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | ... Operator::Repeat(_rp) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:76:44 [INFO] [stdout] | [INFO] [stdout] 76 | ... _ => Unit::Char(Char::Single(ch)), [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Char` [INFO] [stdout] --> src/expression.rs:76:55 [INFO] [stdout] | [INFO] [stdout] 76 | ... _ => Unit::Char(Char::Single(ch)), [INFO] [stdout] | ^^^^ use of undeclared type `Char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | ... Unit::Operator(u_op) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:99:45 [INFO] [stdout] | [INFO] [stdout] 99 | ... Operator::LeftParenthese() => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | Unit::Operator(t_op) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:100:60 [INFO] [stdout] | [INFO] [stdout] 100 | ... units.push(Unit::Operator(Operator::Concatenation())); [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | ... Operator::Repeat(_rp) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | ... Unit::Operator(u_op) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:99:45 [INFO] [stdout] | [INFO] [stdout] 99 | ... Operator::LeftParenthese() => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:100:75 [INFO] [stdout] | [INFO] [stdout] 100 | ... units.push(Unit::Operator(Operator::Concatenation())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:105:37 [INFO] [stdout] | [INFO] [stdout] 105 | ... Unit::Char(_u_ch) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:106:52 [INFO] [stdout] | [INFO] [stdout] 106 | ... units.push(Unit::Operator(Operator::Concatenation())); [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:100:60 [INFO] [stdout] | [INFO] [stdout] 100 | ... units.push(Unit::Operator(Operator::Concatenation())); [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:100:75 [INFO] [stdout] | [INFO] [stdout] 100 | ... units.push(Unit::Operator(Operator::Concatenation())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:105:37 [INFO] [stdout] | [INFO] [stdout] 105 | ... Unit::Char(_u_ch) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:106:67 [INFO] [stdout] | [INFO] [stdout] 106 | ... units.push(Unit::Operator(Operator::Concatenation())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:110:29 [INFO] [stdout] | [INFO] [stdout] 110 | ... Operator::RightParenthese() => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | ... Unit::Operator(u_op) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:114:45 [INFO] [stdout] | [INFO] [stdout] 114 | ... Operator::LeftParenthese() => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:115:60 [INFO] [stdout] | [INFO] [stdout] 115 | ... units.push(Unit::Operator(Operator::Concatenation())); [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:115:75 [INFO] [stdout] | [INFO] [stdout] 115 | ... units.push(Unit::Operator(Operator::Concatenation())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:120:37 [INFO] [stdout] | [INFO] [stdout] 120 | ... Unit::Char(_u_ch) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:121:52 [INFO] [stdout] | [INFO] [stdout] 121 | ... units.push(Unit::Operator(Operator::Concatenation())); [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:106:52 [INFO] [stdout] | [INFO] [stdout] 106 | ... units.push(Unit::Operator(Operator::Concatenation())); [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:106:67 [INFO] [stdout] | [INFO] [stdout] 106 | ... units.push(Unit::Operator(Operator::Concatenation())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:110:29 [INFO] [stdout] | [INFO] [stdout] 110 | ... Operator::RightParenthese() => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | ... Unit::Operator(u_op) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:114:45 [INFO] [stdout] | [INFO] [stdout] 114 | ... Operator::LeftParenthese() => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:115:60 [INFO] [stdout] | [INFO] [stdout] 115 | ... units.push(Unit::Operator(Operator::Concatenation())); [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:121:67 [INFO] [stdout] | [INFO] [stdout] 121 | ... units.push(Unit::Operator(Operator::Concatenation())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:115:75 [INFO] [stdout] | [INFO] [stdout] 115 | ... units.push(Unit::Operator(Operator::Concatenation())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:120:37 [INFO] [stdout] | [INFO] [stdout] 120 | ... Unit::Char(_u_ch) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | Unit::Char(_t_ch) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | ... Unit::Operator(u_op) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:132:37 [INFO] [stdout] | [INFO] [stdout] 132 | ... Operator::LeftParenthese() => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:121:52 [INFO] [stdout] | [INFO] [stdout] 121 | ... units.push(Unit::Operator(Operator::Concatenation())); [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:133:52 [INFO] [stdout] | [INFO] [stdout] 133 | ... units.push(Unit::Operator(Operator::Concatenation())); [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:121:67 [INFO] [stdout] | [INFO] [stdout] 121 | ... units.push(Unit::Operator(Operator::Concatenation())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | Unit::Char(_t_ch) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | ... Unit::Operator(u_op) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:132:37 [INFO] [stdout] | [INFO] [stdout] 132 | ... Operator::LeftParenthese() => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:133:67 [INFO] [stdout] | [INFO] [stdout] 133 | ... units.push(Unit::Operator(Operator::Concatenation())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:138:29 [INFO] [stdout] | [INFO] [stdout] 138 | ... Unit::Char(_u_ch) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:133:52 [INFO] [stdout] | [INFO] [stdout] 133 | ... units.push(Unit::Operator(Operator::Concatenation())); [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:139:44 [INFO] [stdout] | [INFO] [stdout] 139 | ... units.push(Unit::Operator(Operator::Concatenation())); [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:139:59 [INFO] [stdout] | [INFO] [stdout] 139 | ... units.push(Unit::Operator(Operator::Concatenation())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:133:67 [INFO] [stdout] | [INFO] [stdout] 133 | ... units.push(Unit::Operator(Operator::Concatenation())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:138:29 [INFO] [stdout] | [INFO] [stdout] 138 | ... Unit::Char(_u_ch) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:139:44 [INFO] [stdout] | [INFO] [stdout] 139 | ... units.push(Unit::Operator(Operator::Concatenation())); [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:139:59 [INFO] [stdout] | [INFO] [stdout] 139 | ... units.push(Unit::Operator(Operator::Concatenation())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:166:37 [INFO] [stdout] | [INFO] [stdout] 166 | } else if *u == Unit::Operator(Operator::LeftParenthese()) { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:166:52 [INFO] [stdout] | [INFO] [stdout] 166 | } else if *u == Unit::Operator(Operator::LeftParenthese()) { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:168:37 [INFO] [stdout] | [INFO] [stdout] 168 | } else if *u == Unit::Operator(Operator::RightParenthese()) { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:168:52 [INFO] [stdout] | [INFO] [stdout] 168 | } else if *u == Unit::Operator(Operator::RightParenthese()) { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:172:37 [INFO] [stdout] | [INFO] [stdout] 172 | ... Unit::Operator(Operator::LeftParenthese()) => break, [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:172:52 [INFO] [stdout] | [INFO] [stdout] 172 | ... Unit::Operator(Operator::LeftParenthese()) => break, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | Unit::Operator(op) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | Operator::LeftParenthese() => res.push('('), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:214:25 [INFO] [stdout] | [INFO] [stdout] 214 | Operator::RightParenthese() => res.push(')'), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:166:37 [INFO] [stdout] | [INFO] [stdout] 166 | } else if *u == Unit::Operator(Operator::LeftParenthese()) { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:166:52 [INFO] [stdout] | [INFO] [stdout] 166 | } else if *u == Unit::Operator(Operator::LeftParenthese()) { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:168:37 [INFO] [stdout] | [INFO] [stdout] 168 | } else if *u == Unit::Operator(Operator::RightParenthese()) { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:168:52 [INFO] [stdout] | [INFO] [stdout] 168 | } else if *u == Unit::Operator(Operator::RightParenthese()) { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:172:37 [INFO] [stdout] | [INFO] [stdout] 172 | ... Unit::Operator(Operator::LeftParenthese()) => break, [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:172:52 [INFO] [stdout] | [INFO] [stdout] 172 | ... Unit::Operator(Operator::LeftParenthese()) => break, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | Unit::Operator(op) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | Operator::LeftParenthese() => res.push('('), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:214:25 [INFO] [stdout] | [INFO] [stdout] 214 | Operator::RightParenthese() => res.push(')'), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:215:25 [INFO] [stdout] | [INFO] [stdout] 215 | Operator::Alternation() => res.push('|'), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:216:25 [INFO] [stdout] | [INFO] [stdout] 216 | Operator::Concatenation() => res.push('.'), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:217:25 [INFO] [stdout] | [INFO] [stdout] 217 | Operator::Repeat(rp) => res += &rp.to_string(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | Unit::Char(ch) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/nfa.rs:268:45 [INFO] [stdout] | [INFO] [stdout] 11 | impl Nfa { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 268 | pub fn from_expression(expression: &Vec) -> Nfa { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Char` in this scope [INFO] [stdout] --> src/dfa.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | fn get_move(t: Vec, a: &Char, states: &Vec) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::fastate::Tran::Char`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 45 | fn get_move(t: Vec, a: &crate::fastate::Tran, states: &Vec) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 45 | fn get_move(t: Vec, a: &char, states: &Vec) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Char` in this scope [INFO] [stdout] --> src/dfa.rs:78:63 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn from_nfa(nfa_states: &Vec, chars: HashSet) -> Dfa { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::fastate::Tran::Char`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 78 | pub fn from_nfa(nfa_states: &Vec, chars: HashSet) -> Dfa { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 78 | pub fn from_nfa(nfa_states: &Vec, chars: HashSet) -> Dfa { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 77 | impl Dfa { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Char` in this scope [INFO] [stdout] --> src/fastate.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | Char(Char,usize), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::fastate::Tran::Char`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 6 | Char(crate::fastate::Tran,usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 | Char(char,usize), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Char` in this scope [INFO] [stdout] --> src/fastate.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn add_char_tran(&mut self, ch: Char, to: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::fastate::Tran::Char`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 25 | pub fn add_char_tran(&mut self, ch: crate::fastate::Tran, to: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 25 | pub fn add_char_tran(&mut self, ch: char, to: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/expression.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Expression { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 5 | pub units: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Char` in this scope [INFO] [stdout] --> src/expression.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn get_chars(&self) -> HashSet { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::fastate::Tran::Char`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 9 | pub fn get_chars(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 9 | pub fn get_chars(&self) -> HashSet { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 8 | impl Expression { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Char` in this scope [INFO] [stdout] --> src/expression.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | let mut ans: HashSet = HashSet::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::fastate::Tran::Char`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 10 | let mut ans: HashSet = HashSet::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 10 | let mut ans: HashSet = HashSet::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 8 | impl Expression { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/expression.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 8 | impl Expression { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn str_to_inffix_exp(regex: &String) -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/expression.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 8 | impl Expression { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 21 | let mut units: Vec = Vec::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:215:25 [INFO] [stdout] | [INFO] [stdout] 215 | Operator::Alternation() => res.push('|'), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repeat` [INFO] [stdout] --> src/expression.rs:56:46 [INFO] [stdout] | [INFO] [stdout] 56 | ... units.push(match Repeat::from_str(&stack) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::Repeat; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Repeat; [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Repeat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:216:25 [INFO] [stdout] | [INFO] [stdout] 216 | Operator::Concatenation() => res.push('.'), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repeat` [INFO] [stdout] --> src/expression.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | ... '*' => Unit::Operator(Operator::Repeat(Repeat::FromZero())), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::Repeat; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Repeat; [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Repeat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Operator` [INFO] [stdout] --> src/expression.rs:217:25 [INFO] [stdout] | [INFO] [stdout] 217 | Operator::Repeat(rp) => res += &rp.to_string(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unit` [INFO] [stdout] --> src/expression.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | Unit::Char(ch) => { [INFO] [stdout] | ^^^^ use of undeclared type `Unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/nfa.rs:268:45 [INFO] [stdout] | [INFO] [stdout] 11 | impl Nfa { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 268 | pub fn from_expression(expression: &Vec) -> Nfa { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Char` in this scope [INFO] [stdout] --> src/dfa.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | fn get_move(t: Vec, a: &Char, states: &Vec) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::fastate::Tran::Char`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 45 | fn get_move(t: Vec, a: &crate::fastate::Tran, states: &Vec) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 45 | fn get_move(t: Vec, a: &char, states: &Vec) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Char` in this scope [INFO] [stdout] --> src/dfa.rs:78:63 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn from_nfa(nfa_states: &Vec, chars: HashSet) -> Dfa { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::fastate::Tran::Char`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 78 | pub fn from_nfa(nfa_states: &Vec, chars: HashSet) -> Dfa { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 78 | pub fn from_nfa(nfa_states: &Vec, chars: HashSet) -> Dfa { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 77 | impl Dfa { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Char` in this scope [INFO] [stdout] --> src/fastate.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | Char(Char,usize), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::fastate::Tran::Char`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 6 | Char(crate::fastate::Tran,usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 | Char(char,usize), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Char` in this scope [INFO] [stdout] --> src/fastate.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn add_char_tran(&mut self, ch: Char, to: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::fastate::Tran::Char`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 25 | pub fn add_char_tran(&mut self, ch: crate::fastate::Tran, to: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 25 | pub fn add_char_tran(&mut self, ch: char, to: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/expression.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Expression { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 5 | pub units: Vec, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Char` in this scope [INFO] [stdout] --> src/expression.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn get_chars(&self) -> HashSet { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::fastate::Tran::Char`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 9 | pub fn get_chars(&self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 9 | pub fn get_chars(&self) -> HashSet { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 8 | impl Expression { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repeat` [INFO] [stdout] --> src/expression.rs:74:76 [INFO] [stdout] | [INFO] [stdout] 74 | ... '+' => Unit::Operator(Operator::Repeat(Repeat::From(1))), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::Repeat; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Repeat; [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Repeat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repeat` [INFO] [stdout] --> src/expression.rs:75:76 [INFO] [stdout] | [INFO] [stdout] 75 | ... '?' => Unit::Operator(Operator::Repeat(Repeat::Maybe())), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::Repeat; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Repeat; [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Repeat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/expression.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 8 | impl Expression { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 89 | let mut units: Vec = Vec::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Char` in this scope [INFO] [stdout] --> src/expression.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | let mut ans: HashSet = HashSet::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::fastate::Tran::Char`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 10 | let mut ans: HashSet = HashSet::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 10 | let mut ans: HashSet = HashSet::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 8 | impl Expression { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/expression.rs:152:40 [INFO] [stdout] | [INFO] [stdout] 8 | impl Expression { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn inffix_to_suffix(regex: Vec) -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/expression.rs:152:54 [INFO] [stdout] | [INFO] [stdout] 8 | impl Expression { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn inffix_to_suffix(regex: Vec) -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/expression.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 8 | impl Expression { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn str_to_inffix_exp(regex: &String) -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/expression.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 8 | impl Expression { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 153 | let mut ans: Vec = Vec::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/expression.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 8 | impl Expression { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 154 | let mut stack: Vec = Vec::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/expression.rs:156:51 [INFO] [stdout] | [INFO] [stdout] 8 | impl Expression { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 156 | let mut back_reference_stack: Vec>> = Vec::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/expression.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 8 | impl Expression { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 21 | let mut units: Vec = Vec::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repeat` [INFO] [stdout] --> src/expression.rs:56:46 [INFO] [stdout] | [INFO] [stdout] 56 | ... units.push(match Repeat::from_str(&stack) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::Repeat; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Repeat; [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Repeat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repeat` [INFO] [stdout] --> src/expression.rs:73:76 [INFO] [stdout] | [INFO] [stdout] 73 | ... '*' => Unit::Operator(Operator::Repeat(Repeat::FromZero())), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::Repeat; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Repeat; [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Repeat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repeat` [INFO] [stdout] --> src/expression.rs:74:76 [INFO] [stdout] | [INFO] [stdout] 74 | ... '+' => Unit::Operator(Operator::Repeat(Repeat::From(1))), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::Repeat; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Repeat; [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Repeat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repeat` [INFO] [stdout] --> src/expression.rs:75:76 [INFO] [stdout] | [INFO] [stdout] 75 | ... '?' => Unit::Operator(Operator::Repeat(Repeat::Maybe())), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::iter::Repeat; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Repeat; [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Repeat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/expression.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 8 | impl Expression { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 89 | let mut units: Vec = Vec::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/expression.rs:152:40 [INFO] [stdout] | [INFO] [stdout] 8 | impl Expression { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn inffix_to_suffix(regex: Vec) -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/expression.rs:152:54 [INFO] [stdout] | [INFO] [stdout] 8 | impl Expression { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn inffix_to_suffix(regex: Vec) -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unit::*` [INFO] [stdout] --> src/nfa.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use unit::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/expression.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 8 | impl Expression { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 153 | let mut ans: Vec = Vec::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unit::*` [INFO] [stdout] --> src/dfa.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use unit::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/expression.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 8 | impl Expression { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 154 | let mut stack: Vec = Vec::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unit::*` [INFO] [stdout] --> src/fastate.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use unit::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/expression.rs:156:51 [INFO] [stdout] | [INFO] [stdout] 8 | impl Expression { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 156 | let mut back_reference_stack: Vec>> = Vec::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unit::*` [INFO] [stdout] --> src/expression.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use unit::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unit::*` [INFO] [stdout] --> src/nfa.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use unit::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unit::*` [INFO] [stdout] --> src/dfa.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use unit::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unit::*` [INFO] [stdout] --> src/fastate.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use unit::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unit::*` [INFO] [stdout] --> src/expression.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use unit::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 89 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lexer` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 89 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a226b788e19c1a707f984cc7f0dc51853903f4173c408b674dc5505c622d0f05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a226b788e19c1a707f984cc7f0dc51853903f4173c408b674dc5505c622d0f05", kill_on_drop: false }` [INFO] [stdout] a226b788e19c1a707f984cc7f0dc51853903f4173c408b674dc5505c622d0f05