[INFO] cloning repository https://github.com/anonx3247/loop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anonx3247/loop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanonx3247%2Floop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanonx3247%2Floop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 816d5d945e1712459d8d4f50575097ad08e1cd0e [INFO] checking anonx3247/loop against master#5431404b87967c69438ea1e698edbe96505f0798 for pr-119849 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanonx3247%2Floop" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anonx3247/loop on toolchain 5431404b87967c69438ea1e698edbe96505f0798 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5431404b87967c69438ea1e698edbe96505f0798" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/anonx3247/loop [INFO] finished tweaking git repo https://github.com/anonx3247/loop [INFO] tweaked toml for git repo https://github.com/anonx3247/loop written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/anonx3247/loop already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5431404b87967c69438ea1e698edbe96505f0798" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking anonx3247/loop against try#21bc403d557a2516df70ea80fb19b94177beede5 for pr-119849 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanonx3247%2Floop" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anonx3247/loop on toolchain 21bc403d557a2516df70ea80fb19b94177beede5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21bc403d557a2516df70ea80fb19b94177beede5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/anonx3247/loop [INFO] finished tweaking git repo https://github.com/anonx3247/loop [INFO] tweaked toml for git repo https://github.com/anonx3247/loop written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/anonx3247/loop already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21bc403d557a2516df70ea80fb19b94177beede5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking anonx3247/loop against try#21bc403d557a2516df70ea80fb19b94177beede5 for pr-119849 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanonx3247%2Floop" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anonx3247/loop on toolchain 21bc403d557a2516df70ea80fb19b94177beede5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21bc403d557a2516df70ea80fb19b94177beede5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/anonx3247/loop [INFO] finished tweaking git repo https://github.com/anonx3247/loop [INFO] tweaked toml for git repo https://github.com/anonx3247/loop written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/anonx3247/loop already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21bc403d557a2516df70ea80fb19b94177beede5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+21bc403d557a2516df70ea80fb19b94177beede5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0636739e8a8ebe32d0831554422d72608144fc37916eb29437fdfb6f8340dda4 [INFO] running `Command { std: "docker" "start" "-a" "0636739e8a8ebe32d0831554422d72608144fc37916eb29437fdfb6f8340dda4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0636739e8a8ebe32d0831554422d72608144fc37916eb29437fdfb6f8340dda4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0636739e8a8ebe32d0831554422d72608144fc37916eb29437fdfb6f8340dda4", kill_on_drop: false }` [INFO] [stdout] 0636739e8a8ebe32d0831554422d72608144fc37916eb29437fdfb6f8340dda4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+21bc403d557a2516df70ea80fb19b94177beede5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 457bd6455a95ef940a2881cfce6c083564e6c7a633d11b7f37bbb210489370e1 [INFO] running `Command { std: "docker" "start" "-a" "457bd6455a95ef940a2881cfce6c083564e6c7a633d11b7f37bbb210489370e1", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking regex-automata v0.3.3 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Checking loop-lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `construction_ast` [INFO] [stdout] --> src/parser/raw_parser.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use construction_ast::{self, Tree}; [INFO] [stdout] | ^^^^ no external crate `construction_ast` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] crate::parser::construction_ast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `construction_ast` [INFO] [stdout] --> src/parser/raw_parser.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use construction_ast::{self, Tree}; [INFO] [stdout] | ^^^^ no external crate `construction_ast` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] crate::parser::construction_ast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:279:42 [INFO] [stdout] | [INFO] [stdout] 279 | let fun = Node::Undetermined(ast::Undetermined::FnCall(ast::FnCall { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:279:42 [INFO] [stdout] | [INFO] [stdout] 279 | let fun = Node::Undetermined(ast::Undetermined::FnCall(ast::FnCall { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | CannotAssignTo(Node), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:19:52 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(c) => c.iter().map(|k| k.clone() as Box).collect(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 29 | Ok((tr, id)) => vec![Box::new(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Brace` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:29:78 [INFO] [stdout] | [INFO] [stdout] 29 | Ok((tr, id)) => vec![Box::new(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Brace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConstructionList` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:48:55 [INFO] [stdout] | [INFO] [stdout] 48 | fn parse_list_construction(tree: &Tree) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 48 | fn parse_list_construction(tree: &Tree) -> Result { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | Node::Construction(Construction::Token(Token { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Brace` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:81:52 [INFO] [stdout] | [INFO] [stdout] 81 | Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Brace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:89:40 [INFO] [stdout] | [INFO] [stdout] 89 | new_tree.push(Box::new(Node::Construction(Construction::Struct( [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ConstructionStruct` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | ConstructionStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | Node::Construction(Construction::Paren(p)) => { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:101:40 [INFO] [stdout] | [INFO] [stdout] 101 | new_tree.push(Box::new(Node::Construction(Construction::Tuple(list)))); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:110:57 [INFO] [stdout] | [INFO] [stdout] 110 | fn parse_value(tree: &Tree, program: &String) -> Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConstructionTuple` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | t: ConstructionTuple, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | ) -> Result, ParsingError> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 259 | if let Node::Construction(Construction::Token(Token { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | Node::Construction(Construction::Token(token::Token { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | Node::Construction(Construction::Tuple(p)), [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:279:23 [INFO] [stdout] | [INFO] [stdout] 279 | let fun = Node::Undetermined(ast::Undetermined::FnCall(ast::FnCall { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:279:68 [INFO] [stdout] | [INFO] [stdout] 279 | let fun = Node::Undetermined(ast::Undetermined::FnCall(ast::FnCall { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Brace` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:286:56 [INFO] [stdout] | [INFO] [stdout] 286 | Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Brace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:290:39 [INFO] [stdout] | [INFO] [stdout] 290 | Ok(v) => Box::new(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Brace` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:290:78 [INFO] [stdout] | [INFO] [stdout] 290 | Ok(v) => Box::new(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Brace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 296 | Node::Construction(Construction::Paren(k)) => { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:298:43 [INFO] [stdout] | [INFO] [stdout] 298 | Ok(v) => Box::new(Node::Construction(Construction::Paren(v))), [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | Node::Construction(Construction::SquareBraket(k)) => { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:304:43 [INFO] [stdout] | [INFO] [stdout] 304 | Ok(v) => Box::new(Node::Construction(Construction::SquareBraket(v))), [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:320:20 [INFO] [stdout] | [INFO] [stdout] 320 | ) -> Result<(Tree, ast::IdentMap), ParsingError> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:322:21 [INFO] [stdout] | [INFO] [stdout] 322 | let mut idents: ast::IdentMap = HashMap::new(); [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:324:16 [INFO] [stdout] | [INFO] [stdout] 324 | if let Node::Construction(Construction::Brace(t)) = node.as_ref() { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:326:42 [INFO] [stdout] | [INFO] [stdout] 326 | Ok((tr, id)) => Box::new(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Brace` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:326:81 [INFO] [stdout] | [INFO] [stdout] 326 | Ok((tr, id)) => Box::new(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Brace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:332:23 [INFO] [stdout] | [INFO] [stdout] 332 | } else if let Node::Construction(Construction::Token(token::Token { token: t, range: r })) = [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:354:17 [INFO] [stdout] | [INFO] [stdout] 354 | ) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:372:20 [INFO] [stdout] | [INFO] [stdout] 372 | Ok(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Brace` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:372:59 [INFO] [stdout] | [INFO] [stdout] 372 | Ok(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Brace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:378:20 [INFO] [stdout] | [INFO] [stdout] 378 | Ok(Node::Construction(Construction::SquareBraket(content))) [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:381:20 [INFO] [stdout] | [INFO] [stdout] 381 | Ok(Node::Construction(Construction::Paren(content))) [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:402:45 [INFO] [stdout] | [INFO] [stdout] 402 | constructions.push(Box::new(Node::Construction(con))); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:414:78 [INFO] [stdout] | [INFO] [stdout] 414 | fn literal(t: token::Token, v: token::Value, program: &String) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:415:18 [INFO] [stdout] | [INFO] [stdout] 415 | let lit: ast::Literal; [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:417:34 [INFO] [stdout] | [INFO] [stdout] 417 | token::Value::Int => ast::Literal { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:418:24 [INFO] [stdout] | [INFO] [stdout] 418 | ttype: ast::Type::U64, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 418 - ttype: ast::Type::U64, [INFO] [stdout] 418 + ttype: Type::U64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:419:24 [INFO] [stdout] | [INFO] [stdout] 419 | value: ast::RealValue::Number(ast::Number::U64( [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::RealValue; [INFO] [stdout] | [INFO] [stdout] help: if you import `RealValue`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 419 - value: ast::RealValue::Number(ast::Number::U64( [INFO] [stdout] 419 + value: RealValue::Number(ast::Number::U64( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:419:47 [INFO] [stdout] | [INFO] [stdout] 419 | value: ast::RealValue::Number(ast::Number::U64( [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:430:34 [INFO] [stdout] | [INFO] [stdout] 430 | token::Value::Hex => ast::Literal { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:431:24 [INFO] [stdout] | [INFO] [stdout] 431 | ttype: ast::Type::U64, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 431 - ttype: ast::Type::U64, [INFO] [stdout] 431 + ttype: Type::U64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:432:24 [INFO] [stdout] | [INFO] [stdout] 432 | value: ast::RealValue::Number(ast::Number::U64({ [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::RealValue; [INFO] [stdout] | [INFO] [stdout] help: if you import `RealValue`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 432 - value: ast::RealValue::Number(ast::Number::U64({ [INFO] [stdout] 432 + value: RealValue::Number(ast::Number::U64({ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:432:47 [INFO] [stdout] | [INFO] [stdout] 432 | value: ast::RealValue::Number(ast::Number::U64({ [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:440:34 [INFO] [stdout] | [INFO] [stdout] 440 | token::Value::Oct => ast::Literal { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:441:24 [INFO] [stdout] | [INFO] [stdout] 441 | ttype: ast::Type::U64, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 441 - ttype: ast::Type::U64, [INFO] [stdout] 441 + ttype: Type::U64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:442:24 [INFO] [stdout] | [INFO] [stdout] 442 | value: ast::RealValue::Number(ast::Number::U64({ [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::RealValue; [INFO] [stdout] | [INFO] [stdout] help: if you import `RealValue`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 442 - value: ast::RealValue::Number(ast::Number::U64({ [INFO] [stdout] 442 + value: RealValue::Number(ast::Number::U64({ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:442:47 [INFO] [stdout] | [INFO] [stdout] 442 | value: ast::RealValue::Number(ast::Number::U64({ [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:447:34 [INFO] [stdout] | [INFO] [stdout] 447 | token::Value::Bin => ast::Literal { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:448:24 [INFO] [stdout] | [INFO] [stdout] 448 | ttype: ast::Type::U64, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 448 - ttype: ast::Type::U64, [INFO] [stdout] 448 + ttype: Type::U64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:449:24 [INFO] [stdout] | [INFO] [stdout] 449 | value: ast::RealValue::Number(ast::Number::U64({ [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::RealValue; [INFO] [stdout] | [INFO] [stdout] help: if you import `RealValue`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 449 - value: ast::RealValue::Number(ast::Number::U64({ [INFO] [stdout] 449 + value: RealValue::Number(ast::Number::U64({ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:449:47 [INFO] [stdout] | [INFO] [stdout] 449 | value: ast::RealValue::Number(ast::Number::U64({ [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:454:36 [INFO] [stdout] | [INFO] [stdout] 454 | token::Value::Float => ast::Literal { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:455:24 [INFO] [stdout] | [INFO] [stdout] 455 | ttype: ast::Type::F64, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 455 - ttype: ast::Type::F64, [INFO] [stdout] 455 + ttype: Type::F64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:456:24 [INFO] [stdout] | [INFO] [stdout] 456 | value: ast::RealValue::Number(ast::Number::F64( [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::RealValue; [INFO] [stdout] | [INFO] [stdout] help: if you import `RealValue`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 456 - value: ast::RealValue::Number(ast::Number::F64( [INFO] [stdout] 456 + value: RealValue::Number(ast::Number::F64( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:456:47 [INFO] [stdout] | [INFO] [stdout] 456 | value: ast::RealValue::Number(ast::Number::F64( [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:460:37 [INFO] [stdout] | [INFO] [stdout] 460 | token::Value::String => ast::Literal { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:461:24 [INFO] [stdout] | [INFO] [stdout] 461 | ttype: ast::Type::String, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 461 - ttype: ast::Type::String, [INFO] [stdout] 461 + ttype: Type::String, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:462:24 [INFO] [stdout] | [INFO] [stdout] 462 | value: ast::RealValue::String(program[t.range[0] + 1..t.range[1] - 1].to_string()), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::RealValue; [INFO] [stdout] | [INFO] [stdout] help: if you import `RealValue`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 462 - value: ast::RealValue::String(program[t.range[0] + 1..t.range[1] - 1].to_string()), [INFO] [stdout] 462 + value: RealValue::String(program[t.range[0] + 1..t.range[1] - 1].to_string()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:464:57 [INFO] [stdout] | [INFO] [stdout] 464 | token::Value::True | token::Value::False => ast::Literal { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:465:24 [INFO] [stdout] | [INFO] [stdout] 465 | ttype: ast::Type::Bool, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 465 - ttype: ast::Type::Bool, [INFO] [stdout] 465 + ttype: Type::Bool, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:466:24 [INFO] [stdout] | [INFO] [stdout] 466 | value: ast::RealValue::Bool(program[t.range[0]..t.range[1]].parse().unwrap()), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::RealValue; [INFO] [stdout] | [INFO] [stdout] help: if you import `RealValue`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 466 - value: ast::RealValue::Bool(program[t.range[0]..t.range[1]].parse().unwrap()), [INFO] [stdout] 466 + value: RealValue::Bool(program[t.range[0]..t.range[1]].parse().unwrap()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:468:35 [INFO] [stdout] | [INFO] [stdout] 468 | token::Value::Byte => ast::Literal { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:469:24 [INFO] [stdout] | [INFO] [stdout] 469 | ttype: ast::Type::Byte, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 469 - ttype: ast::Type::Byte, [INFO] [stdout] 469 + ttype: Type::Byte, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:470:24 [INFO] [stdout] | [INFO] [stdout] 470 | value: ast::RealValue::Byte( [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::RealValue; [INFO] [stdout] | [INFO] [stdout] help: if you import `RealValue`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 470 - value: ast::RealValue::Byte( [INFO] [stdout] 470 + value: RealValue::Byte( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:474:35 [INFO] [stdout] | [INFO] [stdout] 474 | token::Value::None => ast::Literal { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:475:24 [INFO] [stdout] | [INFO] [stdout] 475 | ttype: ast::Type::None, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 475 - ttype: ast::Type::None, [INFO] [stdout] 475 + ttype: Type::None, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:476:24 [INFO] [stdout] | [INFO] [stdout] 476 | value: ast::RealValue::None, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::RealValue; [INFO] [stdout] | [INFO] [stdout] help: if you import `RealValue`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 476 - value: ast::RealValue::None, [INFO] [stdout] 476 + value: RealValue::None, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:478:36 [INFO] [stdout] | [INFO] [stdout] 478 | token::Value::Error => ast::Literal { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:479:24 [INFO] [stdout] | [INFO] [stdout] 479 | ttype: ast::Type::Error, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 479 - ttype: ast::Type::Error, [INFO] [stdout] 479 + ttype: Type::Error, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:480:24 [INFO] [stdout] | [INFO] [stdout] 480 | value: ast::RealValue::Error, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::RealValue; [INFO] [stdout] | [INFO] [stdout] help: if you import `RealValue`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 480 - value: ast::RealValue::Error, [INFO] [stdout] 480 + value: RealValue::Error, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:483:19 [INFO] [stdout] | [INFO] [stdout] 483 | return Ok(Node::Expression(ast::Expression::Value(Value::Literal( [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:483:36 [INFO] [stdout] | [INFO] [stdout] 483 | return Ok(Node::Expression(ast::Expression::Value(Value::Literal( [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Expression; [INFO] [stdout] | [INFO] [stdout] help: if you import `Expression`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 483 - return Ok(Node::Expression(ast::Expression::Value(Value::Literal( [INFO] [stdout] 483 + return Ok(Node::Expression(Expression::Value(Value::Literal( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/parser/raw_parser.rs:483:59 [INFO] [stdout] | [INFO] [stdout] 483 | return Ok(Node::Expression(ast::Expression::Value(Value::Literal( [INFO] [stdout] | ^^^^^ use of undeclared type `Value` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Value; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::raw_parser::token::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | CannotAssignTo(Node), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | Node::Construction(c) => match c { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:19:52 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(c) => c.iter().map(|k| k.clone() as Box).collect(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Brace` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:491:37 [INFO] [stdout] | [INFO] [stdout] 491 | Construction::Brace(Brace { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Brace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:495:39 [INFO] [stdout] | [INFO] [stdout] 495 | Ok(a) => Box::new(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 29 | Ok((tr, id)) => vec![Box::new(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Brace` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:495:78 [INFO] [stdout] | [INFO] [stdout] 495 | Ok(a) => Box::new(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Brace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Brace` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:29:78 [INFO] [stdout] | [INFO] [stdout] 29 | Ok((tr, id)) => vec![Box::new(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Brace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:502:39 [INFO] [stdout] | [INFO] [stdout] 502 | Ok(a) => Box::new(Node::Construction(Construction::SquareBraket(a))), [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConstructionList` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:48:55 [INFO] [stdout] | [INFO] [stdout] 48 | fn parse_list_construction(tree: &Tree) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 48 | fn parse_list_construction(tree: &Tree) -> Result { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:506:39 [INFO] [stdout] | [INFO] [stdout] 506 | Ok(a) => Box::new(Node::Construction(Construction::Paren(a))), [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | Node::Construction(Construction::Token(Token { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:514:36 [INFO] [stdout] | [INFO] [stdout] 514 | _s => Box::new(Node::Construction(Construction::Token(*t))), [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:564:13 [INFO] [stdout] | [INFO] [stdout] 564 | Node::Construction(Construction::Paren(k)) [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:565:15 [INFO] [stdout] | [INFO] [stdout] 565 | | Node::Construction(Construction::SquareBraket(k)) => print_tree(k, offset + 1), [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Brace` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:81:52 [INFO] [stdout] | [INFO] [stdout] 81 | Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Brace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | Node::Construction(Construction::Token(t)) => { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:89:40 [INFO] [stdout] | [INFO] [stdout] 89 | new_tree.push(Box::new(Node::Construction(Construction::Struct( [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:575:13 [INFO] [stdout] | [INFO] [stdout] 575 | Node::Construction(Construction::Brace(ast::Brace { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ConstructionStruct` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | ConstructionStruct { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | Node::Construction(Construction::Paren(p)) => { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:583:53 [INFO] [stdout] | [INFO] [stdout] 583 | fn parse_type(r: token::Range, program: &String) -> ast::Type { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:101:40 [INFO] [stdout] | [INFO] [stdout] 101 | new_tree.push(Box::new(Node::Construction(Construction::Tuple(list)))); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:110:57 [INFO] [stdout] | [INFO] [stdout] 110 | fn parse_value(tree: &Tree, program: &String) -> Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:585:17 [INFO] [stdout] | [INFO] [stdout] 585 | "u8" => ast::Type::U8, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 585 - "u8" => ast::Type::U8, [INFO] [stdout] 585 + "u8" => Type::U8, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConstructionTuple` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | t: ConstructionTuple, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:586:18 [INFO] [stdout] | [INFO] [stdout] 586 | "u16" => ast::Type::U16, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 586 - "u16" => ast::Type::U16, [INFO] [stdout] 586 + "u16" => Type::U16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | ) -> Result, ParsingError> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:587:18 [INFO] [stdout] | [INFO] [stdout] 587 | "u32" => ast::Type::U32, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 587 - "u32" => ast::Type::U32, [INFO] [stdout] 587 + "u32" => Type::U32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 259 | if let Node::Construction(Construction::Token(Token { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:588:18 [INFO] [stdout] | [INFO] [stdout] 588 | "u64" => ast::Type::U64, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 588 - "u64" => ast::Type::U64, [INFO] [stdout] 588 + "u64" => Type::U64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:589:18 [INFO] [stdout] | [INFO] [stdout] 589 | "i32" => ast::Type::I32, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 589 - "i32" => ast::Type::I32, [INFO] [stdout] 589 + "i32" => Type::I32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | Node::Construction(Construction::Token(token::Token { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | Node::Construction(Construction::Tuple(p)), [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:590:18 [INFO] [stdout] | [INFO] [stdout] 590 | "i64" => ast::Type::I64, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 590 - "i64" => ast::Type::I64, [INFO] [stdout] 590 + "i64" => Type::I64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:279:23 [INFO] [stdout] | [INFO] [stdout] 279 | let fun = Node::Undetermined(ast::Undetermined::FnCall(ast::FnCall { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:591:18 [INFO] [stdout] | [INFO] [stdout] 591 | "f32" => ast::Type::F32, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 591 - "f32" => ast::Type::F32, [INFO] [stdout] 591 + "f32" => Type::F32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:592:18 [INFO] [stdout] | [INFO] [stdout] 592 | "f64" => ast::Type::F64, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 592 - "f64" => ast::Type::F64, [INFO] [stdout] 592 + "f64" => Type::F64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:279:68 [INFO] [stdout] | [INFO] [stdout] 279 | let fun = Node::Undetermined(ast::Undetermined::FnCall(ast::FnCall { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:593:18 [INFO] [stdout] | [INFO] [stdout] 593 | "str" => ast::Type::String, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 593 - "str" => ast::Type::String, [INFO] [stdout] 593 + "str" => Type::String, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Brace` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:286:56 [INFO] [stdout] | [INFO] [stdout] 286 | Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Brace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:594:15 [INFO] [stdout] | [INFO] [stdout] 594 | _s => ast::Type::UserType(String::from(_s)), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 594 - _s => ast::Type::UserType(String::from(_s)), [INFO] [stdout] 594 + _s => Type::UserType(String::from(_s)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:290:39 [INFO] [stdout] | [INFO] [stdout] 290 | Ok(v) => Box::new(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `print_tree` in module `parser` [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | parser::print_tree(tree, 0); [INFO] [stdout] | ^^^^^^^^^^ not found in `parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use crate::parser::raw_parser::print_tree; [INFO] [stdout] | [INFO] [stdout] help: if you import `print_tree`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 23 - parser::print_tree(tree, 0); [INFO] [stdout] 23 + print_tree(tree, 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Brace` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:290:78 [INFO] [stdout] | [INFO] [stdout] 290 | Ok(v) => Box::new(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Brace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 296 | Node::Construction(Construction::Paren(k)) => { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:298:43 [INFO] [stdout] | [INFO] [stdout] 298 | Ok(v) => Box::new(Node::Construction(Construction::Paren(v))), [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | Node::Construction(Construction::SquareBraket(k)) => { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:304:43 [INFO] [stdout] | [INFO] [stdout] 304 | Ok(v) => Box::new(Node::Construction(Construction::SquareBraket(v))), [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:320:20 [INFO] [stdout] | [INFO] [stdout] 320 | ) -> Result<(Tree, ast::IdentMap), ParsingError> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:322:21 [INFO] [stdout] | [INFO] [stdout] 322 | let mut idents: ast::IdentMap = HashMap::new(); [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:324:16 [INFO] [stdout] | [INFO] [stdout] 324 | if let Node::Construction(Construction::Brace(t)) = node.as_ref() { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:326:42 [INFO] [stdout] | [INFO] [stdout] 326 | Ok((tr, id)) => Box::new(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::token::Token` [INFO] [stdout] --> src/parser/ast.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lexer::token::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Brace` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:326:81 [INFO] [stdout] | [INFO] [stdout] 326 | Ok((tr, id)) => Box::new(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Brace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:332:23 [INFO] [stdout] | [INFO] [stdout] 332 | } else if let Node::Construction(Construction::Token(token::Token { token: t, range: r })) = [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:354:17 [INFO] [stdout] | [INFO] [stdout] 354 | ) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::token::Token` [INFO] [stdout] --> src/parser/construction_ast.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lexer::token::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:372:20 [INFO] [stdout] | [INFO] [stdout] 372 | Ok(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Keyword` [INFO] [stdout] --> src/parser/raw_parser.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::lexer::token::{self, Keyword, Token, TokenType}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Brace` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:372:59 [INFO] [stdout] | [INFO] [stdout] 372 | Ok(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Brace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:378:20 [INFO] [stdout] | [INFO] [stdout] 378 | Ok(Node::Construction(Construction::SquareBraket(content))) [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:381:20 [INFO] [stdout] | [INFO] [stdout] 381 | Ok(Node::Construction(Construction::Paren(content))) [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:402:45 [INFO] [stdout] | [INFO] [stdout] 402 | constructions.push(Box::new(Node::Construction(con))); [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Node` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:414:78 [INFO] [stdout] | [INFO] [stdout] 414 | fn literal(t: token::Token, v: token::Value, program: &String) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:415:18 [INFO] [stdout] | [INFO] [stdout] 415 | let lit: ast::Literal; [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:417:34 [INFO] [stdout] | [INFO] [stdout] 417 | token::Value::Int => ast::Literal { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:418:24 [INFO] [stdout] | [INFO] [stdout] 418 | ttype: ast::Type::U64, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 418 - ttype: ast::Type::U64, [INFO] [stdout] 418 + ttype: Type::U64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:419:24 [INFO] [stdout] | [INFO] [stdout] 419 | value: ast::RealValue::Number(ast::Number::U64( [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::RealValue; [INFO] [stdout] | [INFO] [stdout] help: if you import `RealValue`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 419 - value: ast::RealValue::Number(ast::Number::U64( [INFO] [stdout] 419 + value: RealValue::Number(ast::Number::U64( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:419:47 [INFO] [stdout] | [INFO] [stdout] 419 | value: ast::RealValue::Number(ast::Number::U64( [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:430:34 [INFO] [stdout] | [INFO] [stdout] 430 | token::Value::Hex => ast::Literal { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:431:24 [INFO] [stdout] | [INFO] [stdout] 431 | ttype: ast::Type::U64, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 431 - ttype: ast::Type::U64, [INFO] [stdout] 431 + ttype: Type::U64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:432:24 [INFO] [stdout] | [INFO] [stdout] 432 | value: ast::RealValue::Number(ast::Number::U64({ [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::RealValue; [INFO] [stdout] | [INFO] [stdout] help: if you import `RealValue`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 432 - value: ast::RealValue::Number(ast::Number::U64({ [INFO] [stdout] 432 + value: RealValue::Number(ast::Number::U64({ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:432:47 [INFO] [stdout] | [INFO] [stdout] 432 | value: ast::RealValue::Number(ast::Number::U64({ [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:440:34 [INFO] [stdout] | [INFO] [stdout] 440 | token::Value::Oct => ast::Literal { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:441:24 [INFO] [stdout] | [INFO] [stdout] 441 | ttype: ast::Type::U64, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 441 - ttype: ast::Type::U64, [INFO] [stdout] 441 + ttype: Type::U64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:442:24 [INFO] [stdout] | [INFO] [stdout] 442 | value: ast::RealValue::Number(ast::Number::U64({ [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::RealValue; [INFO] [stdout] | [INFO] [stdout] help: if you import `RealValue`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 442 - value: ast::RealValue::Number(ast::Number::U64({ [INFO] [stdout] 442 + value: RealValue::Number(ast::Number::U64({ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:442:47 [INFO] [stdout] | [INFO] [stdout] 442 | value: ast::RealValue::Number(ast::Number::U64({ [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:447:34 [INFO] [stdout] | [INFO] [stdout] 447 | token::Value::Bin => ast::Literal { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:448:24 [INFO] [stdout] | [INFO] [stdout] 448 | ttype: ast::Type::U64, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 448 - ttype: ast::Type::U64, [INFO] [stdout] 448 + ttype: Type::U64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:449:24 [INFO] [stdout] | [INFO] [stdout] 449 | value: ast::RealValue::Number(ast::Number::U64({ [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::RealValue; [INFO] [stdout] | [INFO] [stdout] help: if you import `RealValue`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 449 - value: ast::RealValue::Number(ast::Number::U64({ [INFO] [stdout] 449 + value: RealValue::Number(ast::Number::U64({ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:449:47 [INFO] [stdout] | [INFO] [stdout] 449 | value: ast::RealValue::Number(ast::Number::U64({ [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:454:36 [INFO] [stdout] | [INFO] [stdout] 454 | token::Value::Float => ast::Literal { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:455:24 [INFO] [stdout] | [INFO] [stdout] 455 | ttype: ast::Type::F64, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 455 - ttype: ast::Type::F64, [INFO] [stdout] 455 + ttype: Type::F64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:456:24 [INFO] [stdout] | [INFO] [stdout] 456 | value: ast::RealValue::Number(ast::Number::F64( [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::RealValue; [INFO] [stdout] | [INFO] [stdout] help: if you import `RealValue`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 456 - value: ast::RealValue::Number(ast::Number::F64( [INFO] [stdout] 456 + value: RealValue::Number(ast::Number::F64( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:456:47 [INFO] [stdout] | [INFO] [stdout] 456 | value: ast::RealValue::Number(ast::Number::F64( [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:460:37 [INFO] [stdout] | [INFO] [stdout] 460 | token::Value::String => ast::Literal { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:461:24 [INFO] [stdout] | [INFO] [stdout] 461 | ttype: ast::Type::String, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 461 - ttype: ast::Type::String, [INFO] [stdout] 461 + ttype: Type::String, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:462:24 [INFO] [stdout] | [INFO] [stdout] 462 | value: ast::RealValue::String(program[t.range[0] + 1..t.range[1] - 1].to_string()), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::RealValue; [INFO] [stdout] | [INFO] [stdout] help: if you import `RealValue`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 462 - value: ast::RealValue::String(program[t.range[0] + 1..t.range[1] - 1].to_string()), [INFO] [stdout] 462 + value: RealValue::String(program[t.range[0] + 1..t.range[1] - 1].to_string()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:464:57 [INFO] [stdout] | [INFO] [stdout] 464 | token::Value::True | token::Value::False => ast::Literal { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:465:24 [INFO] [stdout] | [INFO] [stdout] 465 | ttype: ast::Type::Bool, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 465 - ttype: ast::Type::Bool, [INFO] [stdout] 465 + ttype: Type::Bool, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:466:24 [INFO] [stdout] | [INFO] [stdout] 466 | value: ast::RealValue::Bool(program[t.range[0]..t.range[1]].parse().unwrap()), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::RealValue; [INFO] [stdout] | [INFO] [stdout] help: if you import `RealValue`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 466 - value: ast::RealValue::Bool(program[t.range[0]..t.range[1]].parse().unwrap()), [INFO] [stdout] 466 + value: RealValue::Bool(program[t.range[0]..t.range[1]].parse().unwrap()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:468:35 [INFO] [stdout] | [INFO] [stdout] 468 | token::Value::Byte => ast::Literal { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:469:24 [INFO] [stdout] | [INFO] [stdout] 469 | ttype: ast::Type::Byte, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 469 - ttype: ast::Type::Byte, [INFO] [stdout] 469 + ttype: Type::Byte, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:470:24 [INFO] [stdout] | [INFO] [stdout] 470 | value: ast::RealValue::Byte( [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::RealValue; [INFO] [stdout] | [INFO] [stdout] help: if you import `RealValue`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 470 - value: ast::RealValue::Byte( [INFO] [stdout] 470 + value: RealValue::Byte( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:474:35 [INFO] [stdout] | [INFO] [stdout] 474 | token::Value::None => ast::Literal { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:475:24 [INFO] [stdout] | [INFO] [stdout] 475 | ttype: ast::Type::None, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 475 - ttype: ast::Type::None, [INFO] [stdout] 475 + ttype: Type::None, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:476:24 [INFO] [stdout] | [INFO] [stdout] 476 | value: ast::RealValue::None, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::RealValue; [INFO] [stdout] | [INFO] [stdout] help: if you import `RealValue`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 476 - value: ast::RealValue::None, [INFO] [stdout] 476 + value: RealValue::None, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:478:36 [INFO] [stdout] | [INFO] [stdout] 478 | token::Value::Error => ast::Literal { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:479:24 [INFO] [stdout] | [INFO] [stdout] 479 | ttype: ast::Type::Error, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 479 - ttype: ast::Type::Error, [INFO] [stdout] 479 + ttype: Type::Error, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:480:24 [INFO] [stdout] | [INFO] [stdout] 480 | value: ast::RealValue::Error, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::RealValue; [INFO] [stdout] | [INFO] [stdout] help: if you import `RealValue`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 480 - value: ast::RealValue::Error, [INFO] [stdout] 480 + value: RealValue::Error, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:483:19 [INFO] [stdout] | [INFO] [stdout] 483 | return Ok(Node::Expression(ast::Expression::Value(Value::Literal( [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:483:36 [INFO] [stdout] | [INFO] [stdout] 483 | return Ok(Node::Expression(ast::Expression::Value(Value::Literal( [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Expression; [INFO] [stdout] | [INFO] [stdout] help: if you import `Expression`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 483 - return Ok(Node::Expression(ast::Expression::Value(Value::Literal( [INFO] [stdout] 483 + return Ok(Node::Expression(Expression::Value(Value::Literal( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Value` [INFO] [stdout] --> src/parser/raw_parser.rs:483:59 [INFO] [stdout] | [INFO] [stdout] 483 | return Ok(Node::Expression(ast::Expression::Value(Value::Literal( [INFO] [stdout] | ^^^^^ use of undeclared type `Value` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Value; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::raw_parser::token::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | Node::Construction(c) => match c { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Brace` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:491:37 [INFO] [stdout] | [INFO] [stdout] 491 | Construction::Brace(Brace { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Brace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:495:39 [INFO] [stdout] | [INFO] [stdout] 495 | Ok(a) => Box::new(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Brace` in this scope [INFO] [stdout] --> src/parser/raw_parser.rs:495:78 [INFO] [stdout] | [INFO] [stdout] 495 | Ok(a) => Box::new(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Brace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:502:39 [INFO] [stdout] | [INFO] [stdout] 502 | Ok(a) => Box::new(Node::Construction(Construction::SquareBraket(a))), [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:506:39 [INFO] [stdout] | [INFO] [stdout] 506 | Ok(a) => Box::new(Node::Construction(Construction::Paren(a))), [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:514:36 [INFO] [stdout] | [INFO] [stdout] 514 | _s => Box::new(Node::Construction(Construction::Token(*t))), [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:564:13 [INFO] [stdout] | [INFO] [stdout] 564 | Node::Construction(Construction::Paren(k)) [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:565:15 [INFO] [stdout] | [INFO] [stdout] 565 | | Node::Construction(Construction::SquareBraket(k)) => print_tree(k, offset + 1), [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | Node::Construction(Construction::Token(t)) => { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/parser/raw_parser.rs:575:13 [INFO] [stdout] | [INFO] [stdout] 575 | Node::Construction(Construction::Brace(ast::Brace { [INFO] [stdout] | ^^^^ use of undeclared type `Node` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Node; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:583:53 [INFO] [stdout] | [INFO] [stdout] 583 | fn parse_type(r: token::Range, program: &String) -> ast::Type { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:585:17 [INFO] [stdout] | [INFO] [stdout] 585 | "u8" => ast::Type::U8, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 585 - "u8" => ast::Type::U8, [INFO] [stdout] 585 + "u8" => Type::U8, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:586:18 [INFO] [stdout] | [INFO] [stdout] 586 | "u16" => ast::Type::U16, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 586 - "u16" => ast::Type::U16, [INFO] [stdout] 586 + "u16" => Type::U16, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:587:18 [INFO] [stdout] | [INFO] [stdout] 587 | "u32" => ast::Type::U32, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 587 - "u32" => ast::Type::U32, [INFO] [stdout] 587 + "u32" => Type::U32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:588:18 [INFO] [stdout] | [INFO] [stdout] 588 | "u64" => ast::Type::U64, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 588 - "u64" => ast::Type::U64, [INFO] [stdout] 588 + "u64" => Type::U64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:589:18 [INFO] [stdout] | [INFO] [stdout] 589 | "i32" => ast::Type::I32, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 589 - "i32" => ast::Type::I32, [INFO] [stdout] 589 + "i32" => Type::I32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:590:18 [INFO] [stdout] | [INFO] [stdout] 590 | "i64" => ast::Type::I64, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 590 - "i64" => ast::Type::I64, [INFO] [stdout] 590 + "i64" => Type::I64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:591:18 [INFO] [stdout] | [INFO] [stdout] 591 | "f32" => ast::Type::F32, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 591 - "f32" => ast::Type::F32, [INFO] [stdout] 591 + "f32" => Type::F32, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:592:18 [INFO] [stdout] | [INFO] [stdout] 592 | "f64" => ast::Type::F64, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 592 - "f64" => ast::Type::F64, [INFO] [stdout] 592 + "f64" => Type::F64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:593:18 [INFO] [stdout] | [INFO] [stdout] 593 | "str" => ast::Type::String, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 593 - "str" => ast::Type::String, [INFO] [stdout] 593 + "str" => Type::String, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:594:15 [INFO] [stdout] | [INFO] [stdout] 594 | _s => ast::Type::UserType(String::from(_s)), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::Type; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::construction_ast::Type; [INFO] [stdout] | [INFO] [stdout] help: if you import `Type`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 594 - _s => ast::Type::UserType(String::from(_s)), [INFO] [stdout] 594 + _s => Type::UserType(String::from(_s)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `print_tree` in module `parser` [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | parser::print_tree(tree, 0); [INFO] [stdout] | ^^^^^^^^^^ not found in `parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 4 + use crate::parser::raw_parser::print_tree; [INFO] [stdout] | [INFO] [stdout] help: if you import `print_tree`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 23 - parser::print_tree(tree, 0); [INFO] [stdout] 23 + print_tree(tree, 0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::token::Token` [INFO] [stdout] --> src/parser/ast.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lexer::token::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::token::Token` [INFO] [stdout] --> src/parser/construction_ast.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::lexer::token::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Keyword` [INFO] [stdout] --> src/parser/raw_parser.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::lexer::token::{self, Keyword, Token, TokenType}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:29:58 [INFO] [stdout] | [INFO] [stdout] 29 | Ok((tr, id)) => vec![Box::new(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 29 | Ok((tr, id)) => vec![Box::new(Node::Construction(crate::parser::ast::Node(Brace { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | Node::Construction(Construction::Token(Token { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 53 | Node::Construction(crate::parser::ast::Node(Token { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 81 | Node::Construction(crate::parser::ast::Node(Brace { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:89:59 [INFO] [stdout] | [INFO] [stdout] 89 | new_tree.push(Box::new(Node::Construction(Construction::Struct( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 89 | new_tree.push(Box::new(Node::Construction(crate::parser::ast::Node( [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | Node::Construction(Construction::Paren(p)) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 96 | Node::Construction(crate::parser::ast::Node(p)) => { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:101:59 [INFO] [stdout] | [INFO] [stdout] 101 | new_tree.push(Box::new(Node::Construction(Construction::Tuple(list)))); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 101 | new_tree.push(Box::new(Node::Construction(crate::parser::ast::Node(list)))); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:259:39 [INFO] [stdout] | [INFO] [stdout] 259 | if let Node::Construction(Construction::Token(Token { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 259 | if let Node::Construction(crate::parser::ast::Node(Token { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:272:32 [INFO] [stdout] | [INFO] [stdout] 272 | Node::Construction(Construction::Token(token::Token { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 272 | Node::Construction(crate::parser::ast::Node(token::Token { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:276:32 [INFO] [stdout] | [INFO] [stdout] 276 | Node::Construction(Construction::Tuple(p)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 276 | Node::Construction(crate::parser::ast::Node(p)), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:286:36 [INFO] [stdout] | [INFO] [stdout] 286 | Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 286 | Node::Construction(crate::parser::ast::Node(Brace { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:290:58 [INFO] [stdout] | [INFO] [stdout] 290 | Ok(v) => Box::new(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 290 | Ok(v) => Box::new(Node::Construction(crate::parser::ast::Node(Brace { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:296:36 [INFO] [stdout] | [INFO] [stdout] 296 | Node::Construction(Construction::Paren(k)) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 296 | Node::Construction(crate::parser::ast::Node(k)) => { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:298:62 [INFO] [stdout] | [INFO] [stdout] 298 | Ok(v) => Box::new(Node::Construction(Construction::Paren(v))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 298 | Ok(v) => Box::new(Node::Construction(crate::parser::ast::Node(v))), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:302:36 [INFO] [stdout] | [INFO] [stdout] 302 | Node::Construction(Construction::SquareBraket(k)) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 302 | Node::Construction(crate::parser::ast::Node(k)) => { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:304:62 [INFO] [stdout] | [INFO] [stdout] 304 | Ok(v) => Box::new(Node::Construction(Construction::SquareBraket(v))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 304 | Ok(v) => Box::new(Node::Construction(crate::parser::ast::Node(v))), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:324:35 [INFO] [stdout] | [INFO] [stdout] 324 | if let Node::Construction(Construction::Brace(t)) = node.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 324 | if let Node::Construction(crate::parser::ast::Node(t)) = node.as_ref() { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:326:61 [INFO] [stdout] | [INFO] [stdout] 326 | Ok((tr, id)) => Box::new(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 326 | Ok((tr, id)) => Box::new(Node::Construction(crate::parser::ast::Node(Brace { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:332:42 [INFO] [stdout] | [INFO] [stdout] 332 | } else if let Node::Construction(Construction::Token(token::Token { token: t, range: r })) = [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 332 | } else if let Node::Construction(crate::parser::ast::Node(token::Token { token: t, range: r })) = [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:372:39 [INFO] [stdout] | [INFO] [stdout] 372 | Ok(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 372 | Ok(Node::Construction(crate::parser::ast::Node(Brace { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:378:39 [INFO] [stdout] | [INFO] [stdout] 378 | Ok(Node::Construction(Construction::SquareBraket(content))) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 378 | Ok(Node::Construction(crate::parser::ast::Node(content))) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:381:39 [INFO] [stdout] | [INFO] [stdout] 381 | Ok(Node::Construction(Construction::Paren(content))) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 381 | Ok(Node::Construction(crate::parser::ast::Node(content))) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:401:27 [INFO] [stdout] | [INFO] [stdout] 401 | let con = Construction::Token(tokens[cursor]); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 401 | let con = crate::parser::ast::Node(tokens[cursor]); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:491:17 [INFO] [stdout] | [INFO] [stdout] 491 | Construction::Brace(Brace { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 491 | crate::parser::ast::Node(Brace { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:495:58 [INFO] [stdout] | [INFO] [stdout] 495 | Ok(a) => Box::new(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 495 | Ok(a) => Box::new(Node::Construction(crate::parser::ast::Node(Brace { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:501:17 [INFO] [stdout] | [INFO] [stdout] 501 | Construction::SquareBraket(k) => match parse_literals(&k, program) { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 501 | crate::parser::ast::Node(k) => match parse_literals(&k, program) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:502:58 [INFO] [stdout] | [INFO] [stdout] 502 | Ok(a) => Box::new(Node::Construction(Construction::SquareBraket(a))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 502 | Ok(a) => Box::new(Node::Construction(crate::parser::ast::Node(a))), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:505:17 [INFO] [stdout] | [INFO] [stdout] 505 | Construction::Paren(k) => match parse_literals(&k, program) { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 505 | crate::parser::ast::Node(k) => match parse_literals(&k, program) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:506:58 [INFO] [stdout] | [INFO] [stdout] 506 | Ok(a) => Box::new(Node::Construction(Construction::Paren(a))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 506 | Ok(a) => Box::new(Node::Construction(crate::parser::ast::Node(a))), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:509:17 [INFO] [stdout] | [INFO] [stdout] 509 | Construction::Token(t) => match t.token { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 509 | crate::parser::ast::Node(t) => match t.token { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:514:55 [INFO] [stdout] | [INFO] [stdout] 514 | _s => Box::new(Node::Construction(Construction::Token(*t))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 514 | _s => Box::new(Node::Construction(crate::parser::ast::Node(*t))), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:564:32 [INFO] [stdout] | [INFO] [stdout] 564 | Node::Construction(Construction::Paren(k)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 564 | Node::Construction(crate::parser::ast::Node(k)) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:565:34 [INFO] [stdout] | [INFO] [stdout] 565 | | Node::Construction(Construction::SquareBraket(k)) => print_tree(k, offset + 1), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 565 | | Node::Construction(crate::parser::ast::Node(k)) => print_tree(k, offset + 1), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:566:32 [INFO] [stdout] | [INFO] [stdout] 566 | Node::Construction(Construction::Token(t)) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 566 | Node::Construction(crate::parser::ast::Node(t)) => { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:575:32 [INFO] [stdout] | [INFO] [stdout] 575 | Node::Construction(Construction::Brace(ast::Brace { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 575 | Node::Construction(crate::parser::ast::Node(ast::Brace { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:29:58 [INFO] [stdout] | [INFO] [stdout] 29 | Ok((tr, id)) => vec![Box::new(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 29 | Ok((tr, id)) => vec![Box::new(Node::Construction(crate::parser::ast::Node(Brace { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:575:52 [INFO] [stdout] | [INFO] [stdout] 575 | Node::Construction(Construction::Brace(ast::Brace { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 140 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | Node::Construction(Construction::Token(Token { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 53 | Node::Construction(crate::parser::ast::Node(Token { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 81 | Node::Construction(crate::parser::ast::Node(Brace { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:89:59 [INFO] [stdout] | [INFO] [stdout] 89 | new_tree.push(Box::new(Node::Construction(Construction::Struct( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 89 | new_tree.push(Box::new(Node::Construction(crate::parser::ast::Node( [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | Node::Construction(Construction::Paren(p)) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 96 | Node::Construction(crate::parser::ast::Node(p)) => { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:101:59 [INFO] [stdout] | [INFO] [stdout] 101 | new_tree.push(Box::new(Node::Construction(Construction::Tuple(list)))); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 101 | new_tree.push(Box::new(Node::Construction(crate::parser::ast::Node(list)))); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:259:39 [INFO] [stdout] | [INFO] [stdout] 259 | if let Node::Construction(Construction::Token(Token { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 259 | if let Node::Construction(crate::parser::ast::Node(Token { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:272:32 [INFO] [stdout] | [INFO] [stdout] 272 | Node::Construction(Construction::Token(token::Token { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 272 | Node::Construction(crate::parser::ast::Node(token::Token { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:276:32 [INFO] [stdout] | [INFO] [stdout] 276 | Node::Construction(Construction::Tuple(p)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 276 | Node::Construction(crate::parser::ast::Node(p)), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:286:36 [INFO] [stdout] | [INFO] [stdout] 286 | Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 286 | Node::Construction(crate::parser::ast::Node(Brace { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:290:58 [INFO] [stdout] | [INFO] [stdout] 290 | Ok(v) => Box::new(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 290 | Ok(v) => Box::new(Node::Construction(crate::parser::ast::Node(Brace { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:296:36 [INFO] [stdout] | [INFO] [stdout] 296 | Node::Construction(Construction::Paren(k)) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 296 | Node::Construction(crate::parser::ast::Node(k)) => { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:298:62 [INFO] [stdout] | [INFO] [stdout] 298 | Ok(v) => Box::new(Node::Construction(Construction::Paren(v))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 298 | Ok(v) => Box::new(Node::Construction(crate::parser::ast::Node(v))), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:302:36 [INFO] [stdout] | [INFO] [stdout] 302 | Node::Construction(Construction::SquareBraket(k)) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 302 | Node::Construction(crate::parser::ast::Node(k)) => { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:304:62 [INFO] [stdout] | [INFO] [stdout] 304 | Ok(v) => Box::new(Node::Construction(Construction::SquareBraket(v))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 304 | Ok(v) => Box::new(Node::Construction(crate::parser::ast::Node(v))), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:324:35 [INFO] [stdout] | [INFO] [stdout] 324 | if let Node::Construction(Construction::Brace(t)) = node.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 324 | if let Node::Construction(crate::parser::ast::Node(t)) = node.as_ref() { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:326:61 [INFO] [stdout] | [INFO] [stdout] 326 | Ok((tr, id)) => Box::new(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 326 | Ok((tr, id)) => Box::new(Node::Construction(crate::parser::ast::Node(Brace { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:332:42 [INFO] [stdout] | [INFO] [stdout] 332 | } else if let Node::Construction(Construction::Token(token::Token { token: t, range: r })) = [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 332 | } else if let Node::Construction(crate::parser::ast::Node(token::Token { token: t, range: r })) = [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:372:39 [INFO] [stdout] | [INFO] [stdout] 372 | Ok(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 372 | Ok(Node::Construction(crate::parser::ast::Node(Brace { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:378:39 [INFO] [stdout] | [INFO] [stdout] 378 | Ok(Node::Construction(Construction::SquareBraket(content))) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 378 | Ok(Node::Construction(crate::parser::ast::Node(content))) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:381:39 [INFO] [stdout] | [INFO] [stdout] 381 | Ok(Node::Construction(Construction::Paren(content))) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 381 | Ok(Node::Construction(crate::parser::ast::Node(content))) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:401:27 [INFO] [stdout] | [INFO] [stdout] 401 | let con = Construction::Token(tokens[cursor]); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 401 | let con = crate::parser::ast::Node(tokens[cursor]); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:491:17 [INFO] [stdout] | [INFO] [stdout] 491 | Construction::Brace(Brace { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 491 | crate::parser::ast::Node(Brace { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:495:58 [INFO] [stdout] | [INFO] [stdout] 495 | Ok(a) => Box::new(Node::Construction(Construction::Brace(Brace { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 495 | Ok(a) => Box::new(Node::Construction(crate::parser::ast::Node(Brace { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:501:17 [INFO] [stdout] | [INFO] [stdout] 501 | Construction::SquareBraket(k) => match parse_literals(&k, program) { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 501 | crate::parser::ast::Node(k) => match parse_literals(&k, program) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:502:58 [INFO] [stdout] | [INFO] [stdout] 502 | Ok(a) => Box::new(Node::Construction(Construction::SquareBraket(a))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 502 | Ok(a) => Box::new(Node::Construction(crate::parser::ast::Node(a))), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:505:17 [INFO] [stdout] | [INFO] [stdout] 505 | Construction::Paren(k) => match parse_literals(&k, program) { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 505 | crate::parser::ast::Node(k) => match parse_literals(&k, program) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:506:58 [INFO] [stdout] | [INFO] [stdout] 506 | Ok(a) => Box::new(Node::Construction(Construction::Paren(a))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 506 | Ok(a) => Box::new(Node::Construction(crate::parser::ast::Node(a))), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:509:17 [INFO] [stdout] | [INFO] [stdout] 509 | Construction::Token(t) => match t.token { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 509 | crate::parser::ast::Node(t) => match t.token { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:514:55 [INFO] [stdout] | [INFO] [stdout] 514 | _s => Box::new(Node::Construction(Construction::Token(*t))), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 514 | _s => Box::new(Node::Construction(crate::parser::ast::Node(*t))), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:564:32 [INFO] [stdout] | [INFO] [stdout] 564 | Node::Construction(Construction::Paren(k)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 564 | Node::Construction(crate::parser::ast::Node(k)) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:565:34 [INFO] [stdout] | [INFO] [stdout] 565 | | Node::Construction(Construction::SquareBraket(k)) => print_tree(k, offset + 1), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 565 | | Node::Construction(crate::parser::ast::Node(k)) => print_tree(k, offset + 1), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:566:32 [INFO] [stdout] | [INFO] [stdout] 566 | Node::Construction(Construction::Token(t)) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 566 | Node::Construction(crate::parser::ast::Node(t)) => { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Construction` [INFO] [stdout] --> src/parser/raw_parser.rs:575:32 [INFO] [stdout] | [INFO] [stdout] 575 | Node::Construction(Construction::Brace(ast::Brace { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Construction` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::ast::Node::Construction`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 575 | Node::Construction(crate::parser::ast::Node(ast::Brace { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parser/raw_parser.rs:575:52 [INFO] [stdout] | [INFO] [stdout] 575 | Node::Construction(Construction::Brace(ast::Brace { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 140 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `loop-lang` (bin "loop-lang") due to 141 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `loop-lang` (bin "loop-lang" test) due to 141 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "457bd6455a95ef940a2881cfce6c083564e6c7a633d11b7f37bbb210489370e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "457bd6455a95ef940a2881cfce6c083564e6c7a633d11b7f37bbb210489370e1", kill_on_drop: false }` [INFO] [stdout] 457bd6455a95ef940a2881cfce6c083564e6c7a633d11b7f37bbb210489370e1