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