[INFO] fetching crate rslua-march1917 0.2.12... [INFO] checking rslua-march1917-0.2.12 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate rslua-march1917 0.2.12 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate rslua-march1917 0.2.12 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rslua-march1917 0.2.12 [INFO] finished tweaking crates.io crate rslua-march1917 0.2.12 [INFO] tweaked toml for crates.io crate rslua-march1917 0.2.12 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4aadf67e47da71ec6a420d614fa602066cdd87b2e7ea7655a4e7df7b41ed8cf [INFO] running `Command { std: "docker" "start" "-a" "e4aadf67e47da71ec6a420d614fa602066cdd87b2e7ea7655a4e7df7b41ed8cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4aadf67e47da71ec6a420d614fa602066cdd87b2e7ea7655a4e7df7b41ed8cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4aadf67e47da71ec6a420d614fa602066cdd87b2e7ea7655a4e7df7b41ed8cf", kill_on_drop: false }` [INFO] [stdout] e4aadf67e47da71ec6a420d614fa602066cdd87b2e7ea7655a4e7df7b41ed8cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd345bd39237b59344876d7fc73a7765794e0a27d404a4e677046a63e2cf65b1 [INFO] running `Command { std: "docker" "start" "-a" "dd345bd39237b59344876d7fc73a7765794e0a27d404a4e677046a63e2cf65b1", kill_on_drop: false }` [INFO] [stderr] Checking rslua-march1917 v0.2.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct LexError(String); [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `LexError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SyntaxError(String); [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `SyntaxError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct LexError(String); [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `LexError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SyntaxError(String); [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `SyntaxError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rslua` [INFO] [stdout] --> tests/compiler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rslua::compiler::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `rslua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rslua` [INFO] [stdout] --> tests/compiler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rslua::lexer::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `rslua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rslua` [INFO] [stdout] --> tests/lexer.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use rslua::tokens::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `rslua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rslua` [INFO] [stdout] --> tests/lexer.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use rslua::lexer::{LexError, Lexer}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `rslua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rslua` [INFO] [stdout] --> tests/lexer.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use rslua::types::Source; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `rslua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rslua::lexer::LexError`, `rslua::lexer::Lexer`, `rslua::types::Source` [INFO] [stdout] --> tests/lexer.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use rslua::lexer::{LexError, Lexer}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] 4 | use rslua::tokens::*; [INFO] [stdout] 5 | use rslua::types::Source; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rslua` [INFO] [stdout] --> tests/compiler.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rslua::parser::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `rslua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rslua` [INFO] [stdout] --> tests/compiler.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rslua::proto::Proto; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `rslua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rslua` [INFO] [stdout] --> tests/parser.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use rslua::ast::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `rslua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rslua::compiler::*`, `rslua::lexer::*`, `rslua::parser::*`, `rslua::proto::Proto` [INFO] [stdout] --> tests/compiler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rslua::compiler::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use rslua::lexer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use rslua::parser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use rslua::proto::Proto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rslua` [INFO] [stdout] --> tests/parser.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use rslua::lexer::Lexer; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `rslua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rslua` [INFO] [stdout] --> tests/parser.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use rslua::parser::Parser; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `rslua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rslua::lexer::Lexer`, `rslua::parser::Parser` [INFO] [stdout] --> tests/parser.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use rslua::lexer::Lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use rslua::parser::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rslua` [INFO] [stdout] --> tests/print_instructions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rslua::opcodes::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `rslua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CompileError` in this scope [INFO] [stdout] --> tests/compiler.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | fn try_compile(input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::compiler::CompileError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> tests/compiler.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | let mut lexer = Lexer::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> tests/compiler.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | let mut parser = Parser::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Compiler` [INFO] [stdout] --> tests/compiler.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | let mut compiler = Compiler::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Compiler` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::compiler::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Token` in this scope [INFO] [stdout] --> tests/lexer.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | Token { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::tokens::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> tests/lexer.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | t: TokenType::Flt, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::tokens::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenValue` [INFO] [stdout] --> tests/lexer.rs:183:28 [INFO] [stdout] | [INFO] [stdout] 183 | value: TokenValue::Float(0.13), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TokenValue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::tokens::TokenValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Token` in this scope [INFO] [stdout] --> tests/lexer.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | Token { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::tokens::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> tests/lexer.rs:195:24 [INFO] [stdout] | [INFO] [stdout] 195 | t: TokenType::Eos, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::tokens::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenValue` [INFO] [stdout] --> tests/lexer.rs:196:28 [INFO] [stdout] | [INFO] [stdout] 196 | value: TokenValue::None, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TokenValue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::tokens::TokenValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Token` in this scope [INFO] [stdout] --> tests/lexer.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | Token { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::tokens::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> tests/lexer.rs:217:24 [INFO] [stdout] | [INFO] [stdout] 217 | t: TokenType::Name, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::tokens::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenValue` [INFO] [stdout] --> tests/lexer.rs:218:28 [INFO] [stdout] | [INFO] [stdout] 218 | value: TokenValue::Str("codepoint_to_utf8".to_string()), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TokenValue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::tokens::TokenValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Token` in this scope [INFO] [stdout] --> tests/lexer.rs:228:17 [INFO] [stdout] | [INFO] [stdout] 228 | Token { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::tokens::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> tests/lexer.rs:229:24 [INFO] [stdout] | [INFO] [stdout] 229 | t: TokenType::Eos, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::tokens::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenValue` [INFO] [stdout] --> tests/lexer.rs:230:28 [INFO] [stdout] | [INFO] [stdout] 230 | value: TokenValue::None, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TokenValue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::tokens::TokenValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Token` in this scope [INFO] [stdout] --> tests/lexer.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | Token { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::tokens::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> tests/lexer.rs:251:24 [INFO] [stdout] | [INFO] [stdout] 251 | t: TokenType::IDiv, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::tokens::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenValue` [INFO] [stdout] --> tests/lexer.rs:252:28 [INFO] [stdout] | [INFO] [stdout] 252 | value: TokenValue::None, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TokenValue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::tokens::TokenValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Token` in this scope [INFO] [stdout] --> tests/lexer.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | Token { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::tokens::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenType` [INFO] [stdout] --> tests/lexer.rs:263:24 [INFO] [stdout] | [INFO] [stdout] 263 | t: TokenType::Eos, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::tokens::TokenType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenValue` [INFO] [stdout] --> tests/lexer.rs:264:28 [INFO] [stdout] | [INFO] [stdout] 264 | value: TokenValue::None, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TokenValue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::tokens::TokenValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rslua` [INFO] [stdout] --> tests/lua_to_lua.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rslua::ast::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `rslua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rslua` [INFO] [stdout] --> tests/lua_to_lua.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rslua::ast_walker::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `rslua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rslua` [INFO] [stdout] --> tests/lua_to_lua.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rslua::lexer::{Lexer, LexerConfig}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `rslua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rslua` [INFO] [stdout] --> tests/lua_to_lua.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rslua::parser::Parser; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `rslua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rslua` [INFO] [stdout] --> tests/lua_to_lua.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rslua::types::*; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `rslua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rslua::ast::*`, `rslua::ast_walker::*`, `rslua::lexer::Lexer`, `rslua::lexer::LexerConfig`, `rslua::parser::Parser`, `rslua::types::*` [INFO] [stdout] --> tests/lua_to_lua.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rslua::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 2 | use rslua::ast_walker::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use rslua::lexer::{Lexer, LexerConfig}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 4 | use rslua::parser::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use rslua::types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rslua-march1917` (test "lexer") due to 23 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rslua-march1917` (test "compiler") due to 10 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instruction` [INFO] [stdout] --> tests/print_instructions.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | Instruction::create_ABC(OpCode::LoadKx, 123, 0, 0) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Instruction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::opcodes::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OpCode` [INFO] [stdout] --> tests/print_instructions.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | Instruction::create_ABC(OpCode::LoadKx, 123, 0, 0) [INFO] [stdout] | ^^^^^^ use of undeclared type `OpCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::opcodes::OpCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instruction` [INFO] [stdout] --> tests/print_instructions.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | Instruction::create_ABC(OpCode::Move, 123, 456, 0) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Instruction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::opcodes::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OpCode` [INFO] [stdout] --> tests/print_instructions.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | Instruction::create_ABC(OpCode::Move, 123, 456, 0) [INFO] [stdout] | ^^^^^^ use of undeclared type `OpCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::opcodes::OpCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instruction` [INFO] [stdout] --> tests/print_instructions.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Instruction::create_ABx(OpCode::LoadK, 123, 456) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Instruction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::opcodes::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OpCode` [INFO] [stdout] --> tests/print_instructions.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | Instruction::create_ABx(OpCode::LoadK, 123, 456) [INFO] [stdout] | ^^^^^^ use of undeclared type `OpCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::opcodes::OpCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instruction` [INFO] [stdout] --> tests/print_instructions.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | Instruction::create_ABC(OpCode::LoadBool, 123, 456, 511) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Instruction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::opcodes::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OpCode` [INFO] [stdout] --> tests/print_instructions.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | Instruction::create_ABC(OpCode::LoadBool, 123, 456, 511) [INFO] [stdout] | ^^^^^^ use of undeclared type `OpCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::opcodes::OpCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instruction` [INFO] [stdout] --> tests/print_instructions.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | Instruction::create_AsBx(OpCode::Jmp, 123, -255) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Instruction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::opcodes::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OpCode` [INFO] [stdout] --> tests/print_instructions.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | Instruction::create_AsBx(OpCode::Jmp, 123, -255) [INFO] [stdout] | ^^^^^^ use of undeclared type `OpCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::opcodes::OpCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instruction` [INFO] [stdout] --> tests/print_instructions.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | Instruction::create_ABC(OpCode::TForCall, 123, 456, 511) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Instruction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::opcodes::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OpCode` [INFO] [stdout] --> tests/print_instructions.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | Instruction::create_ABC(OpCode::TForCall, 123, 456, 511) [INFO] [stdout] | ^^^^^^ use of undeclared type `OpCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::opcodes::OpCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rslua-march1917` (test "print_instructions") due to 14 previous errors [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn run(&mut self, block: &Block) -> &str { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast_walker` [INFO] [stdout] --> tests/lua_to_lua.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | ast_walker::walk_block(block, self).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `ast_walker` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast_walker::ast_walker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AstVisitor` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:87:6 [INFO] [stdout] | [INFO] [stdout] 87 | impl AstVisitor for LuaWriter { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast_walker::AstVisitor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | fn begin_if(&mut self, _cond: &Expr) -> WriteResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:97:33 [INFO] [stdout] | [INFO] [stdout] 97 | fn then(&mut self, _block: &Block) -> WriteResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:104:41 [INFO] [stdout] | [INFO] [stdout] 104 | fn begin_else_if(&mut self, _cond: &Expr) -> WriteResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:110:39 [INFO] [stdout] | [INFO] [stdout] 110 | fn begin_else(&mut self, _block: &Block) -> WriteResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:122:39 [INFO] [stdout] | [INFO] [stdout] 122 | fn begin_while(&mut self, _cond: &Expr) -> WriteResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:127:46 [INFO] [stdout] | [INFO] [stdout] 127 | fn begin_while_block(&mut self, _block: &Block) -> WriteResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:138:43 [INFO] [stdout] | [INFO] [stdout] 138 | fn begin_do_block(&mut self, _block: &Block) -> WriteResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ForNum` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:149:36 [INFO] [stdout] | [INFO] [stdout] 149 | fn for_num(&mut self, fornum: &ForNum) -> WriteResult { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::ForNum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ForList` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:155:38 [INFO] [stdout] | [INFO] [stdout] 155 | fn for_list(&mut self, forlist: &ForList) -> WriteResult { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::ForList; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:167:44 [INFO] [stdout] | [INFO] [stdout] 167 | fn begin_for_block(&mut self, _block: &Block) -> WriteResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:178:41 [INFO] [stdout] | [INFO] [stdout] 178 | fn begin_repeat(&mut self, _block: &Block) -> WriteResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FuncStat` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:194:35 [INFO] [stdout] | [INFO] [stdout] 194 | fn func(&mut self, funcstat: &FuncStat) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::FuncStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FuncType` [INFO] [stdout] --> tests/lua_to_lua.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | FuncType::Local => self.append_space("local function"), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `FuncType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::FuncType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FuncType` [INFO] [stdout] --> tests/lua_to_lua.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | FuncType::Global => self.append_space("function"), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `FuncType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::FuncType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalStat` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:214:37 [INFO] [stdout] | [INFO] [stdout] 214 | fn local_stat(&mut self, stat: &LocalStat) -> WriteSuccess { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::LocalStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast_walker` [INFO] [stdout] --> tests/lua_to_lua.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | ast_walker::walk_exprlist(&stat.exprs, self)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `ast_walker` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast_walker::ast_walker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LabelStat` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:230:37 [INFO] [stdout] | [INFO] [stdout] 230 | fn label_stat(&mut self, stat: &LabelStat) -> WriteSuccess { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::LabelStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RetStat` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:235:35 [INFO] [stdout] | [INFO] [stdout] 235 | fn ret_stat(&mut self, stat: &RetStat) -> WriteSuccess { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::RetStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast_walker` [INFO] [stdout] --> tests/lua_to_lua.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | ast_walker::walk_exprlist(&stat.exprs, self)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `ast_walker` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast_walker::ast_walker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BreakStat` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:241:38 [INFO] [stdout] | [INFO] [stdout] 241 | fn break_stat(&mut self, _stat: &BreakStat) -> WriteSuccess { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::BreakStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GotoStat` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:246:36 [INFO] [stdout] | [INFO] [stdout] 246 | fn goto_stat(&mut self, stat: &GotoStat) -> WriteSuccess { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::GotoStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AssignStat` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:251:38 [INFO] [stdout] | [INFO] [stdout] 251 | fn assign_stat(&mut self, stat: &AssignStat) -> WriteSuccess { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::AssignStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast_walker` [INFO] [stdout] --> tests/lua_to_lua.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | ast_walker::walk_assinable(suffix, self)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `ast_walker` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast_walker::ast_walker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast_walker` [INFO] [stdout] --> tests/lua_to_lua.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | ast_walker::walk_exprlist(&stat.right, self)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `ast_walker` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast_walker::ast_walker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CallStat` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:263:36 [INFO] [stdout] | [INFO] [stdout] 263 | fn call_stat(&mut self, stat: &CallStat) -> WriteSuccess { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::CallStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast_walker` [INFO] [stdout] --> tests/lua_to_lua.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | ast_walker::walk_assinable(&stat.call, self)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `ast_walker` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast_walker::ast_walker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FloatType` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:284:28 [INFO] [stdout] | [INFO] [stdout] 284 | fn float(&mut self, f: FloatType) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::types::FloatType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IntType` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:293:26 [INFO] [stdout] | [INFO] [stdout] 293 | fn int(&mut self, i: IntType) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::types::IntType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FuncBody` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:309:42 [INFO] [stdout] | [INFO] [stdout] 309 | fn begin_func_body(&mut self, body: &FuncBody) -> WriteResult { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::FuncBody; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Param` [INFO] [stdout] --> tests/lua_to_lua.rs:313:17 [INFO] [stdout] | [INFO] [stdout] 313 | Param::VarArg => self.append("..."), [INFO] [stdout] | ^^^^^ use of undeclared type `Param` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::Param; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Param` [INFO] [stdout] --> tests/lua_to_lua.rs:314:17 [INFO] [stdout] | [INFO] [stdout] 314 | Param::Name(s) => self.append(s), [INFO] [stdout] | ^^^^^ use of undeclared type `Param` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::Param; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Table` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:329:35 [INFO] [stdout] | [INFO] [stdout] 329 | fn begin_table(&mut self, t: &Table) -> WriteResult { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Table` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:339:33 [INFO] [stdout] | [INFO] [stdout] 339 | fn end_table(&mut self, t: &Table) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldKey` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:354:41 [INFO] [stdout] | [INFO] [stdout] 354 | fn begin_field_key(&mut self, key: &FieldKey) -> WriteResult { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::FieldKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldKey` [INFO] [stdout] --> tests/lua_to_lua.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | FieldKey::Expr(_) => self.append_space("["), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `FieldKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::FieldKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FieldKey` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:362:39 [INFO] [stdout] | [INFO] [stdout] 362 | fn end_field_key(&mut self, key: &FieldKey) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::FieldKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldKey` [INFO] [stdout] --> tests/lua_to_lua.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | FieldKey::Expr(_) => self.space_append("]"), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `FieldKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::FieldKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BinOp` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:369:29 [INFO] [stdout] | [INFO] [stdout] 369 | fn binop(&mut self, op: BinOp) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/lua_to_lua.rs:371:13 [INFO] [stdout] | [INFO] [stdout] 371 | BinOp::Or => "or", [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/lua_to_lua.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 372 | BinOp::And => "and", [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/lua_to_lua.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | BinOp::Eq => "==", [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/lua_to_lua.rs:374:13 [INFO] [stdout] | [INFO] [stdout] 374 | BinOp::Ne => "~=", [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/lua_to_lua.rs:375:13 [INFO] [stdout] | [INFO] [stdout] 375 | BinOp::Lt => "<", [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/lua_to_lua.rs:376:13 [INFO] [stdout] | [INFO] [stdout] 376 | BinOp::Gt => ">", [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/lua_to_lua.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | BinOp::Le => "<=", [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/lua_to_lua.rs:378:13 [INFO] [stdout] | [INFO] [stdout] 378 | BinOp::Ge => ">=", [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/lua_to_lua.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | BinOp::BOr => "|", [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/lua_to_lua.rs:380:13 [INFO] [stdout] | [INFO] [stdout] 380 | BinOp::BXor => "~", [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/lua_to_lua.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | BinOp::BAnd => "&", [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/lua_to_lua.rs:382:13 [INFO] [stdout] | [INFO] [stdout] 382 | BinOp::Shl => "<<", [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/lua_to_lua.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | BinOp::Shr => ">>", [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/lua_to_lua.rs:384:13 [INFO] [stdout] | [INFO] [stdout] 384 | BinOp::Concat => "..", [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/lua_to_lua.rs:385:13 [INFO] [stdout] | [INFO] [stdout] 385 | BinOp::Add => "+", [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/lua_to_lua.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | BinOp::Minus => "-", [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/lua_to_lua.rs:387:13 [INFO] [stdout] | [INFO] [stdout] 387 | BinOp::Mul => "*", [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/lua_to_lua.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | BinOp::Mod => "%", [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/lua_to_lua.rs:389:13 [INFO] [stdout] | [INFO] [stdout] 389 | BinOp::Div => "/", [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/lua_to_lua.rs:390:13 [INFO] [stdout] | [INFO] [stdout] 390 | BinOp::IDiv => "//", [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/lua_to_lua.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 391 | BinOp::Pow => "^", [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UnOp` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:397:28 [INFO] [stdout] | [INFO] [stdout] 397 | fn unop(&mut self, op: UnOp) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::UnOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnOp` [INFO] [stdout] --> tests/lua_to_lua.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | UnOp::Minus => self.append("-"), [INFO] [stdout] | ^^^^ use of undeclared type `UnOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::UnOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnOp` [INFO] [stdout] --> tests/lua_to_lua.rs:400:13 [INFO] [stdout] | [INFO] [stdout] 400 | UnOp::BNot => self.append("~"), [INFO] [stdout] | ^^^^ use of undeclared type `UnOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::UnOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnOp` [INFO] [stdout] --> tests/lua_to_lua.rs:401:13 [INFO] [stdout] | [INFO] [stdout] 401 | UnOp::Not => self.append_space("not"), [INFO] [stdout] | ^^^^ use of undeclared type `UnOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::UnOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnOp` [INFO] [stdout] --> tests/lua_to_lua.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 402 | UnOp::Len => self.append("#"), [INFO] [stdout] | ^^^^ use of undeclared type `UnOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::UnOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:421:39 [INFO] [stdout] | [INFO] [stdout] 421 | fn begin_index(&mut self, _expr: &Expr) -> WriteResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FuncArgs` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:430:43 [INFO] [stdout] | [INFO] [stdout] 430 | fn begin_func_args(&mut self, _args: &FuncArgs) -> WriteResult { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::FuncArgs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:439:44 [INFO] [stdout] | [INFO] [stdout] 439 | fn begin_paren_expr(&mut self, _expr: &Expr) -> WriteResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CommentStat` in this scope [INFO] [stdout] --> tests/lua_to_lua.rs:448:37 [INFO] [stdout] | [INFO] [stdout] 448 | fn comment(&mut self, comment: &CommentStat) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rslua_march1917::ast::CommentStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 77 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rslua-march1917` (test "lua_to_lua") due to 78 previous errors [INFO] [stdout] error[E0412]: cannot find type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | fn try_parse(input: &str) -> Block { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:34:39 [INFO] [stdout] | [INFO] [stdout] 34 | assert_eq!(try_parse(";;;;"), Block { stats: vec![] }); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | Block { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stat` [INFO] [stdout] --> tests/parser.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | stats: vec![Stat::IfStat(IfStat { [INFO] [stdout] | ^^^^ use of undeclared type `Stat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `IfStat` in this scope [INFO] [stdout] --> tests/parser.rs:48:42 [INFO] [stdout] | [INFO] [stdout] 48 | stats: vec![Stat::IfStat(IfStat { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::IfStat; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat::IfStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CondBlock` in this scope [INFO] [stdout] --> tests/parser.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | CondBlock { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::CondBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | ... cond: Expr::True, [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | ... block: Block { stats: vec![] }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CondBlock` in this scope [INFO] [stdout] --> tests/parser.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | CondBlock { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::CondBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | ... cond: Expr::True, [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 56 | ... block: Block { stats: vec![] }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:59:38 [INFO] [stdout] | [INFO] [stdout] 59 | else_block: Some(Block { stats: vec![] }), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | Block { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stat` [INFO] [stdout] --> tests/parser.rs:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | stats: vec![Stat::WhileStat(WhileStat { [INFO] [stdout] | ^^^^ use of undeclared type `Stat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WhileStat` in this scope [INFO] [stdout] --> tests/parser.rs:72:45 [INFO] [stdout] | [INFO] [stdout] 72 | stats: vec![Stat::WhileStat(WhileStat { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat::WhileStat; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::WhileStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | cond: Expr::True, [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:74:28 [INFO] [stdout] | [INFO] [stdout] 74 | block: Block { stats: vec![] }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | Block { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stat` [INFO] [stdout] --> tests/parser.rs:88:29 [INFO] [stdout] | [INFO] [stdout] 88 | stats: vec![Stat::ForStat(ForStat::ForNum(ForNum { [INFO] [stdout] | ^^^^ use of undeclared type `Stat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ForStat` [INFO] [stdout] --> tests/parser.rs:88:43 [INFO] [stdout] | [INFO] [stdout] 88 | stats: vec![Stat::ForStat(ForStat::ForNum(ForNum { [INFO] [stdout] | ^^^^^^^ use of undeclared type `ForStat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::ForStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ForNum` in this scope [INFO] [stdout] --> tests/parser.rs:88:59 [INFO] [stdout] | [INFO] [stdout] 88 | stats: vec![Stat::ForStat(ForStat::ForNum(ForNum { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::ForNum; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::ForStat::ForNum; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | init: Expr::Int(1), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | limit: Expr::Int(10), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | step: Some(Expr::Int(1)), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | body: Block { stats: vec![] }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | Block { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stat` [INFO] [stdout] --> tests/parser.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | stats: vec![Stat::ForStat(ForStat::ForList(ForList { [INFO] [stdout] | ^^^^ use of undeclared type `Stat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ForStat` [INFO] [stdout] --> tests/parser.rs:101:43 [INFO] [stdout] | [INFO] [stdout] 101 | stats: vec![Stat::ForStat(ForStat::ForList(ForList { [INFO] [stdout] | ^^^^^^^ use of undeclared type `ForStat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::ForStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ForList` in this scope [INFO] [stdout] --> tests/parser.rs:101:60 [INFO] [stdout] | [INFO] [stdout] 101 | stats: vec![Stat::ForStat(ForStat::ForList(ForList { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::ForList; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::ForStat::ForList; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:103:33 [INFO] [stdout] | [INFO] [stdout] 103 | exprs: vec![Expr::Name("c".to_string()), Expr::Name("d".to_string())], [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:103:62 [INFO] [stdout] | [INFO] [stdout] 103 | exprs: vec![Expr::Name("c".to_string()), Expr::Name("d".to_string())], [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:104:27 [INFO] [stdout] | [INFO] [stdout] 104 | body: Block { stats: vec![] }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | Block { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stat` [INFO] [stdout] --> tests/parser.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | stats: vec![Stat::DoBlock(DoBlock { [INFO] [stdout] | ^^^^ use of undeclared type `Stat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DoBlock` in this scope [INFO] [stdout] --> tests/parser.rs:117:43 [INFO] [stdout] | [INFO] [stdout] 117 | stats: vec![Stat::DoBlock(DoBlock { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::DoBlock; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat::DoBlock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:118:28 [INFO] [stdout] | [INFO] [stdout] 118 | block: Block { stats: vec![] }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | Block { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stat` [INFO] [stdout] --> tests/parser.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | stats: vec![Stat::RepeatStat(RepeatStat { [INFO] [stdout] | ^^^^ use of undeclared type `Stat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RepeatStat` in this scope [INFO] [stdout] --> tests/parser.rs:131:46 [INFO] [stdout] | [INFO] [stdout] 131 | stats: vec![Stat::RepeatStat(RepeatStat { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::RepeatStat; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat::RepeatStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | cond: Expr::BinExpr(BinExpr { [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BinExpr` in this scope [INFO] [stdout] --> tests/parser.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | cond: Expr::BinExpr(BinExpr { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::BinExpr; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr::BinExpr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:133:40 [INFO] [stdout] | [INFO] [stdout] 133 | left: Box::new(Expr::Name("a".to_string())), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/parser.rs:134:29 [INFO] [stdout] | [INFO] [stdout] 134 | op: BinOp::Gt, [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:135:41 [INFO] [stdout] | [INFO] [stdout] 135 | right: Box::new(Expr::Int(0)) [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:137:28 [INFO] [stdout] | [INFO] [stdout] 137 | block: Block { stats: vec![] }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | Block { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stat` [INFO] [stdout] --> tests/parser.rs:150:29 [INFO] [stdout] | [INFO] [stdout] 150 | stats: vec![Stat::FuncStat(FuncStat { [INFO] [stdout] | ^^^^ use of undeclared type `Stat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FuncStat` in this scope [INFO] [stdout] --> tests/parser.rs:150:44 [INFO] [stdout] | [INFO] [stdout] 150 | stats: vec![Stat::FuncStat(FuncStat { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::FuncStat; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat::FuncStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FuncType` [INFO] [stdout] --> tests/parser.rs:151:32 [INFO] [stdout] | [INFO] [stdout] 151 | func_type: FuncType::Global, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `FuncType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::FuncType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FuncName` in this scope [INFO] [stdout] --> tests/parser.rs:152:32 [INFO] [stdout] | [INFO] [stdout] 152 | func_name: FuncName { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::FuncName; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FuncBody` in this scope [INFO] [stdout] --> tests/parser.rs:156:27 [INFO] [stdout] | [INFO] [stdout] 156 | body: FuncBody { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr::FuncBody; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::FuncBody; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Param` [INFO] [stdout] --> tests/parser.rs:158:29 [INFO] [stdout] | [INFO] [stdout] 158 | ... Param::Name(String::from("a")), [INFO] [stdout] | ^^^^^ use of undeclared type `Param` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Param; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Param` [INFO] [stdout] --> tests/parser.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | ... Param::Name(String::from("b")), [INFO] [stdout] | ^^^^^ use of undeclared type `Param` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Param; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Param` [INFO] [stdout] --> tests/parser.rs:160:29 [INFO] [stdout] | [INFO] [stdout] 160 | ... Param::Name(String::from("c")) [INFO] [stdout] | ^^^^^ use of undeclared type `Param` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Param; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 162 | block: Block { stats: vec![] }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | Block { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stat` [INFO] [stdout] --> tests/parser.rs:176:29 [INFO] [stdout] | [INFO] [stdout] 176 | stats: vec![Stat::FuncStat(FuncStat { [INFO] [stdout] | ^^^^ use of undeclared type `Stat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FuncStat` in this scope [INFO] [stdout] --> tests/parser.rs:176:44 [INFO] [stdout] | [INFO] [stdout] 176 | stats: vec![Stat::FuncStat(FuncStat { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::FuncStat; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat::FuncStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FuncType` [INFO] [stdout] --> tests/parser.rs:177:32 [INFO] [stdout] | [INFO] [stdout] 177 | func_type: FuncType::Local, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `FuncType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::FuncType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FuncName` in this scope [INFO] [stdout] --> tests/parser.rs:178:32 [INFO] [stdout] | [INFO] [stdout] 178 | func_name: FuncName { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::FuncName; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FuncBody` in this scope [INFO] [stdout] --> tests/parser.rs:182:27 [INFO] [stdout] | [INFO] [stdout] 182 | body: FuncBody { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr::FuncBody; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::FuncBody; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Param` [INFO] [stdout] --> tests/parser.rs:184:29 [INFO] [stdout] | [INFO] [stdout] 184 | ... Param::Name(String::from("a")), [INFO] [stdout] | ^^^^^ use of undeclared type `Param` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Param; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Param` [INFO] [stdout] --> tests/parser.rs:185:29 [INFO] [stdout] | [INFO] [stdout] 185 | ... Param::Name(String::from("b")), [INFO] [stdout] | ^^^^^ use of undeclared type `Param` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Param; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Param` [INFO] [stdout] --> tests/parser.rs:186:29 [INFO] [stdout] | [INFO] [stdout] 186 | ... Param::Name(String::from("c")) [INFO] [stdout] | ^^^^^ use of undeclared type `Param` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Param; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 188 | block: Block { stats: vec![] }, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | Block { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stat` [INFO] [stdout] --> tests/parser.rs:202:29 [INFO] [stdout] | [INFO] [stdout] 202 | stats: vec![Stat::LocalStat(LocalStat { [INFO] [stdout] | ^^^^ use of undeclared type `Stat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LocalStat` in this scope [INFO] [stdout] --> tests/parser.rs:202:45 [INFO] [stdout] | [INFO] [stdout] 202 | stats: vec![Stat::LocalStat(LocalStat { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::LocalStat; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat::LocalStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:204:33 [INFO] [stdout] | [INFO] [stdout] 204 | exprs: vec![Expr::Int(1), Expr::Int(2), Expr::Int(3),], [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:204:47 [INFO] [stdout] | [INFO] [stdout] 204 | exprs: vec![Expr::Int(1), Expr::Int(2), Expr::Int(3),], [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:204:61 [INFO] [stdout] | [INFO] [stdout] 204 | exprs: vec![Expr::Int(1), Expr::Int(2), Expr::Int(3),], [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | Block { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stat` [INFO] [stdout] --> tests/parser.rs:217:29 [INFO] [stdout] | [INFO] [stdout] 217 | stats: vec![Stat::LabelStat(LabelStat { [INFO] [stdout] | ^^^^ use of undeclared type `Stat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LabelStat` in this scope [INFO] [stdout] --> tests/parser.rs:217:45 [INFO] [stdout] | [INFO] [stdout] 217 | stats: vec![Stat::LabelStat(LabelStat { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::LabelStat; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat::LabelStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | Block { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stat` [INFO] [stdout] --> tests/parser.rs:231:29 [INFO] [stdout] | [INFO] [stdout] 231 | stats: vec![Stat::RetStat(RetStat { [INFO] [stdout] | ^^^^ use of undeclared type `Stat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RetStat` in this scope [INFO] [stdout] --> tests/parser.rs:231:43 [INFO] [stdout] | [INFO] [stdout] 231 | stats: vec![Stat::RetStat(RetStat { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::RetStat; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat::RetStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:233:25 [INFO] [stdout] | [INFO] [stdout] 233 | Expr::BinExpr(BinExpr { [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BinExpr` in this scope [INFO] [stdout] --> tests/parser.rs:233:39 [INFO] [stdout] | [INFO] [stdout] 233 | Expr::BinExpr(BinExpr { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::BinExpr; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr::BinExpr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:234:44 [INFO] [stdout] | [INFO] [stdout] 234 | ... left: Box::new(Expr::Int(1)), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/parser.rs:235:33 [INFO] [stdout] | [INFO] [stdout] 235 | ... op: BinOp::Add, [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:236:45 [INFO] [stdout] | [INFO] [stdout] 236 | ... right: Box::new(Expr::Name("a".to_string())) [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:238:25 [INFO] [stdout] | [INFO] [stdout] 238 | Expr::Name("b".to_string()), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:239:25 [INFO] [stdout] | [INFO] [stdout] 239 | Expr::Name("c".to_string()), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | Block { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stat` [INFO] [stdout] --> tests/parser.rs:253:29 [INFO] [stdout] | [INFO] [stdout] 253 | stats: vec![Stat::GotoStat(GotoStat { [INFO] [stdout] | ^^^^ use of undeclared type `Stat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GotoStat` in this scope [INFO] [stdout] --> tests/parser.rs:253:44 [INFO] [stdout] | [INFO] [stdout] 253 | stats: vec![Stat::GotoStat(GotoStat { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::GotoStat; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat::GotoStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | Block { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stat` [INFO] [stdout] --> tests/parser.rs:267:29 [INFO] [stdout] | [INFO] [stdout] 267 | stats: vec![Stat::AssignStat(AssignStat { [INFO] [stdout] | ^^^^ use of undeclared type `Stat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AssignStat` in this scope [INFO] [stdout] --> tests/parser.rs:267:46 [INFO] [stdout] | [INFO] [stdout] 267 | stats: vec![Stat::AssignStat(AssignStat { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::AssignStat; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat::AssignStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assignable` [INFO] [stdout] --> tests/parser.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | Assignable::Name("a".to_string()), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Assignable` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Assignable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assignable` [INFO] [stdout] --> tests/parser.rs:270:25 [INFO] [stdout] | [INFO] [stdout] 270 | Assignable::Name("b".to_string()), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Assignable` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Assignable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assignable` [INFO] [stdout] --> tests/parser.rs:271:25 [INFO] [stdout] | [INFO] [stdout] 271 | Assignable::Name("c".to_string()), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Assignable` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Assignable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:273:33 [INFO] [stdout] | [INFO] [stdout] 273 | right: vec![Expr::Int(1), Expr::Int(2), Expr::Int(3),], [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:273:47 [INFO] [stdout] | [INFO] [stdout] 273 | right: vec![Expr::Int(1), Expr::Int(2), Expr::Int(3),], [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:273:61 [INFO] [stdout] | [INFO] [stdout] 273 | right: vec![Expr::Int(1), Expr::Int(2), Expr::Int(3),], [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | Block { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stat` [INFO] [stdout] --> tests/parser.rs:286:29 [INFO] [stdout] | [INFO] [stdout] 286 | stats: vec![Stat::CallStat(CallStat { [INFO] [stdout] | ^^^^ use of undeclared type `Stat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CallStat` in this scope [INFO] [stdout] --> tests/parser.rs:286:44 [INFO] [stdout] | [INFO] [stdout] 286 | stats: vec![Stat::CallStat(CallStat { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::CallStat; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat::CallStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assignable` [INFO] [stdout] --> tests/parser.rs:287:27 [INFO] [stdout] | [INFO] [stdout] 287 | call: Assignable::SuffixedExpr(SuffixedExpr { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Assignable` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Assignable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SuffixedExpr` in this scope [INFO] [stdout] --> tests/parser.rs:287:52 [INFO] [stdout] | [INFO] [stdout] 287 | call: Assignable::SuffixedExpr(SuffixedExpr { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Assignable::SuffixedExpr; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr::SuffixedExpr; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::SuffixedExpr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:288:43 [INFO] [stdout] | [INFO] [stdout] 288 | primary: Box::new(Expr::Name("foo".to_string())), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Suffix` [INFO] [stdout] --> tests/parser.rs:289:40 [INFO] [stdout] | [INFO] [stdout] 289 | suffixes: vec![Suffix::FuncArgs(FuncArgs::Exprs(vec![ [INFO] [stdout] | ^^^^^^ use of undeclared type `Suffix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Suffix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FuncArgs` [INFO] [stdout] --> tests/parser.rs:289:57 [INFO] [stdout] | [INFO] [stdout] 289 | suffixes: vec![Suffix::FuncArgs(FuncArgs::Exprs(vec![ [INFO] [stdout] | ^^^^^^^^ use of undeclared type `FuncArgs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::FuncArgs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:290:29 [INFO] [stdout] | [INFO] [stdout] 290 | ... Expr::Int(1), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:291:29 [INFO] [stdout] | [INFO] [stdout] 291 | ... Expr::Int(2), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:292:29 [INFO] [stdout] | [INFO] [stdout] 292 | ... Expr::Int(3), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | Block { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stat` [INFO] [stdout] --> tests/parser.rs:307:29 [INFO] [stdout] | [INFO] [stdout] 307 | stats: vec![Stat::CallStat(CallStat { [INFO] [stdout] | ^^^^ use of undeclared type `Stat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CallStat` in this scope [INFO] [stdout] --> tests/parser.rs:307:44 [INFO] [stdout] | [INFO] [stdout] 307 | stats: vec![Stat::CallStat(CallStat { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::CallStat; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat::CallStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assignable` [INFO] [stdout] --> tests/parser.rs:308:27 [INFO] [stdout] | [INFO] [stdout] 308 | call: Assignable::SuffixedExpr(SuffixedExpr { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Assignable` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Assignable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SuffixedExpr` in this scope [INFO] [stdout] --> tests/parser.rs:308:52 [INFO] [stdout] | [INFO] [stdout] 308 | call: Assignable::SuffixedExpr(SuffixedExpr { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Assignable::SuffixedExpr; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr::SuffixedExpr; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::SuffixedExpr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:309:43 [INFO] [stdout] | [INFO] [stdout] 309 | primary: Box::new(Expr::Name("a".to_string())), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Suffix` [INFO] [stdout] --> tests/parser.rs:310:40 [INFO] [stdout] | [INFO] [stdout] 310 | suffixes: vec![Suffix::FuncArgs(FuncArgs::Exprs(vec![ [INFO] [stdout] | ^^^^^^ use of undeclared type `Suffix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Suffix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FuncArgs` [INFO] [stdout] --> tests/parser.rs:310:57 [INFO] [stdout] | [INFO] [stdout] 310 | suffixes: vec![Suffix::FuncArgs(FuncArgs::Exprs(vec![ [INFO] [stdout] | ^^^^^^^^ use of undeclared type `FuncArgs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::FuncArgs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:311:29 [INFO] [stdout] | [INFO] [stdout] 311 | ... Expr::Name("a".to_string()), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:312:29 [INFO] [stdout] | [INFO] [stdout] 312 | ... Expr::Name("b".to_string()), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:313:29 [INFO] [stdout] | [INFO] [stdout] 313 | ... Expr::Name("c".to_string()), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:328:13 [INFO] [stdout] | [INFO] [stdout] 328 | Block { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stat` [INFO] [stdout] --> tests/parser.rs:329:29 [INFO] [stdout] | [INFO] [stdout] 329 | stats: vec![Stat::LocalStat(LocalStat { [INFO] [stdout] | ^^^^ use of undeclared type `Stat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LocalStat` in this scope [INFO] [stdout] --> tests/parser.rs:329:45 [INFO] [stdout] | [INFO] [stdout] 329 | stats: vec![Stat::LocalStat(LocalStat { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::LocalStat; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat::LocalStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:331:33 [INFO] [stdout] | [INFO] [stdout] 331 | exprs: vec![Expr::Table(Table { [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Table` in this scope [INFO] [stdout] --> tests/parser.rs:331:45 [INFO] [stdout] | [INFO] [stdout] 331 | exprs: vec![Expr::Table(Table { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr::Table; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::FuncArgs::Table; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> tests/parser.rs:333:29 [INFO] [stdout] | [INFO] [stdout] 333 | ... Field::ListField(Expr::Int(1)), [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:333:46 [INFO] [stdout] | [INFO] [stdout] 333 | ... Field::ListField(Expr::Int(1)), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> tests/parser.rs:334:29 [INFO] [stdout] | [INFO] [stdout] 334 | ... Field::ListField(Expr::Float(1.5)), [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:334:46 [INFO] [stdout] | [INFO] [stdout] 334 | ... Field::ListField(Expr::Float(1.5)), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> tests/parser.rs:335:29 [INFO] [stdout] | [INFO] [stdout] 335 | ... Field::ListField(Expr::String("2".to_string())) [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:335:46 [INFO] [stdout] | [INFO] [stdout] 335 | ... Field::ListField(Expr::String("2".to_string())) [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:344:13 [INFO] [stdout] | [INFO] [stdout] 344 | Block { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stat` [INFO] [stdout] --> tests/parser.rs:345:29 [INFO] [stdout] | [INFO] [stdout] 345 | stats: vec![Stat::LocalStat(LocalStat { [INFO] [stdout] | ^^^^ use of undeclared type `Stat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LocalStat` in this scope [INFO] [stdout] --> tests/parser.rs:345:45 [INFO] [stdout] | [INFO] [stdout] 345 | stats: vec![Stat::LocalStat(LocalStat { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::LocalStat; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat::LocalStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:347:33 [INFO] [stdout] | [INFO] [stdout] 347 | exprs: vec![Expr::Table(Table { [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Table` in this scope [INFO] [stdout] --> tests/parser.rs:347:45 [INFO] [stdout] | [INFO] [stdout] 347 | exprs: vec![Expr::Table(Table { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr::Table; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::FuncArgs::Table; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> tests/parser.rs:349:29 [INFO] [stdout] | [INFO] [stdout] 349 | ... Field::RecField(RecField { [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RecField` in this scope [INFO] [stdout] --> tests/parser.rs:349:45 [INFO] [stdout] | [INFO] [stdout] 349 | ... Field::RecField(RecField { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Field::RecField; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::RecField; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldKey` [INFO] [stdout] --> tests/parser.rs:350:38 [INFO] [stdout] | [INFO] [stdout] 350 | ... key: FieldKey::Name("a".to_string()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `FieldKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::FieldKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:351:40 [INFO] [stdout] | [INFO] [stdout] 351 | ... value: Expr::String("1".to_string()), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> tests/parser.rs:353:29 [INFO] [stdout] | [INFO] [stdout] 353 | ... Field::RecField(RecField { [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RecField` in this scope [INFO] [stdout] --> tests/parser.rs:353:45 [INFO] [stdout] | [INFO] [stdout] 353 | ... Field::RecField(RecField { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Field::RecField; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::RecField; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldKey` [INFO] [stdout] --> tests/parser.rs:354:38 [INFO] [stdout] | [INFO] [stdout] 354 | ... key: FieldKey::Expr(Expr::String("b".to_string())), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `FieldKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::FieldKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:354:53 [INFO] [stdout] | [INFO] [stdout] 354 | ... key: FieldKey::Expr(Expr::String("b".to_string())), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:355:40 [INFO] [stdout] | [INFO] [stdout] 355 | ... value: Expr::Int(2), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Field` [INFO] [stdout] --> tests/parser.rs:357:29 [INFO] [stdout] | [INFO] [stdout] 357 | ... Field::RecField(RecField { [INFO] [stdout] | ^^^^^ use of undeclared type `Field` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Field; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RecField` in this scope [INFO] [stdout] --> tests/parser.rs:357:45 [INFO] [stdout] | [INFO] [stdout] 357 | ... Field::RecField(RecField { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Field::RecField; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::RecField; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FieldKey` [INFO] [stdout] --> tests/parser.rs:358:38 [INFO] [stdout] | [INFO] [stdout] 358 | ... key: FieldKey::Expr(Expr::BinExpr(BinExpr { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `FieldKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::FieldKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:358:53 [INFO] [stdout] | [INFO] [stdout] 358 | ... key: FieldKey::Expr(Expr::BinExpr(BinExpr { [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BinExpr` in this scope [INFO] [stdout] --> tests/parser.rs:358:67 [INFO] [stdout] | [INFO] [stdout] 358 | ... key: FieldKey::Expr(Expr::BinExpr(BinExpr { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::BinExpr; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr::BinExpr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/parser.rs:359:41 [INFO] [stdout] | [INFO] [stdout] 359 | ... op: BinOp::Minus, [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:360:52 [INFO] [stdout] | [INFO] [stdout] 360 | ... left: Box::new(Expr::Name("a".to_string())), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:361:53 [INFO] [stdout] | [INFO] [stdout] 361 | ... right: Box::new(Expr::Int(1)), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:363:40 [INFO] [stdout] | [INFO] [stdout] 363 | ... value: Expr::Int(3), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:378:13 [INFO] [stdout] | [INFO] [stdout] 378 | Block { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stat` [INFO] [stdout] --> tests/parser.rs:379:29 [INFO] [stdout] | [INFO] [stdout] 379 | stats: vec![Stat::CallStat(CallStat { [INFO] [stdout] | ^^^^ use of undeclared type `Stat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CallStat` in this scope [INFO] [stdout] --> tests/parser.rs:379:44 [INFO] [stdout] | [INFO] [stdout] 379 | stats: vec![Stat::CallStat(CallStat { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::CallStat; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat::CallStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assignable` [INFO] [stdout] --> tests/parser.rs:380:27 [INFO] [stdout] | [INFO] [stdout] 380 | call: Assignable::SuffixedExpr(SuffixedExpr { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Assignable` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Assignable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SuffixedExpr` in this scope [INFO] [stdout] --> tests/parser.rs:380:52 [INFO] [stdout] | [INFO] [stdout] 380 | call: Assignable::SuffixedExpr(SuffixedExpr { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Assignable::SuffixedExpr; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr::SuffixedExpr; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::SuffixedExpr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:381:43 [INFO] [stdout] | [INFO] [stdout] 381 | primary: Box::new(Expr::Name("a".to_string())), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Suffix` [INFO] [stdout] --> tests/parser.rs:383:29 [INFO] [stdout] | [INFO] [stdout] 383 | ... Suffix::Method("b".to_string()), [INFO] [stdout] | ^^^^^^ use of undeclared type `Suffix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Suffix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Suffix` [INFO] [stdout] --> tests/parser.rs:384:29 [INFO] [stdout] | [INFO] [stdout] 384 | ... Suffix::FuncArgs(FuncArgs::Table(Table { fields: vec![] })), [INFO] [stdout] | ^^^^^^ use of undeclared type `Suffix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Suffix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FuncArgs` [INFO] [stdout] --> tests/parser.rs:384:46 [INFO] [stdout] | [INFO] [stdout] 384 | ... Suffix::FuncArgs(FuncArgs::Table(Table { fields: vec![] })), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `FuncArgs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::FuncArgs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Table` in this scope [INFO] [stdout] --> tests/parser.rs:384:62 [INFO] [stdout] | [INFO] [stdout] 384 | ... Suffix::FuncArgs(FuncArgs::Table(Table { fields: vec![] })), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr::Table; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::FuncArgs::Table; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Table; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Suffix` [INFO] [stdout] --> tests/parser.rs:385:29 [INFO] [stdout] | [INFO] [stdout] 385 | ... Suffix::FuncArgs(FuncArgs::String("literal".to_string())), [INFO] [stdout] | ^^^^^^ use of undeclared type `Suffix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Suffix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FuncArgs` [INFO] [stdout] --> tests/parser.rs:385:46 [INFO] [stdout] | [INFO] [stdout] 385 | ... Suffix::FuncArgs(FuncArgs::String("literal".to_string())), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `FuncArgs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::FuncArgs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Suffix` [INFO] [stdout] --> tests/parser.rs:386:29 [INFO] [stdout] | [INFO] [stdout] 386 | ... Suffix::FuncArgs(FuncArgs::Exprs(vec![])), [INFO] [stdout] | ^^^^^^ use of undeclared type `Suffix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Suffix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FuncArgs` [INFO] [stdout] --> tests/parser.rs:386:46 [INFO] [stdout] | [INFO] [stdout] 386 | ... Suffix::FuncArgs(FuncArgs::Exprs(vec![])), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `FuncArgs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::FuncArgs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:401:13 [INFO] [stdout] | [INFO] [stdout] 401 | Block { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stat` [INFO] [stdout] --> tests/parser.rs:402:29 [INFO] [stdout] | [INFO] [stdout] 402 | stats: vec![Stat::RetStat(RetStat { [INFO] [stdout] | ^^^^ use of undeclared type `Stat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RetStat` in this scope [INFO] [stdout] --> tests/parser.rs:402:43 [INFO] [stdout] | [INFO] [stdout] 402 | stats: vec![Stat::RetStat(RetStat { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::RetStat; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat::RetStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:403:33 [INFO] [stdout] | [INFO] [stdout] 403 | exprs: vec![Expr::BinExpr(BinExpr { [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BinExpr` in this scope [INFO] [stdout] --> tests/parser.rs:403:47 [INFO] [stdout] | [INFO] [stdout] 403 | exprs: vec![Expr::BinExpr(BinExpr { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::BinExpr; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr::BinExpr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/parser.rs:404:29 [INFO] [stdout] | [INFO] [stdout] 404 | op: BinOp::Concat, [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:405:40 [INFO] [stdout] | [INFO] [stdout] 405 | left: Box::new(Expr::Int(1)), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:406:41 [INFO] [stdout] | [INFO] [stdout] 406 | right: Box::new(Expr::BinExpr(BinExpr { [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BinExpr` in this scope [INFO] [stdout] --> tests/parser.rs:406:55 [INFO] [stdout] | [INFO] [stdout] 406 | right: Box::new(Expr::BinExpr(BinExpr { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::BinExpr; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr::BinExpr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/parser.rs:407:33 [INFO] [stdout] | [INFO] [stdout] 407 | ... op: BinOp::Concat, [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:408:44 [INFO] [stdout] | [INFO] [stdout] 408 | ... left: Box::new(Expr::Int(2)), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:409:45 [INFO] [stdout] | [INFO] [stdout] 409 | ... right: Box::new(Expr::Int(3)), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | Block { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stat` [INFO] [stdout] --> tests/parser.rs:419:29 [INFO] [stdout] | [INFO] [stdout] 419 | stats: vec![Stat::RetStat(RetStat { [INFO] [stdout] | ^^^^ use of undeclared type `Stat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RetStat` in this scope [INFO] [stdout] --> tests/parser.rs:419:43 [INFO] [stdout] | [INFO] [stdout] 419 | stats: vec![Stat::RetStat(RetStat { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::RetStat; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat::RetStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:420:33 [INFO] [stdout] | [INFO] [stdout] 420 | exprs: vec![Expr::BinExpr(BinExpr { [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BinExpr` in this scope [INFO] [stdout] --> tests/parser.rs:420:47 [INFO] [stdout] | [INFO] [stdout] 420 | exprs: vec![Expr::BinExpr(BinExpr { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::BinExpr; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr::BinExpr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/parser.rs:421:29 [INFO] [stdout] | [INFO] [stdout] 421 | op: BinOp::Add, [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:422:40 [INFO] [stdout] | [INFO] [stdout] 422 | left: Box::new(Expr::BinExpr(BinExpr { [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BinExpr` in this scope [INFO] [stdout] --> tests/parser.rs:422:54 [INFO] [stdout] | [INFO] [stdout] 422 | left: Box::new(Expr::BinExpr(BinExpr { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::BinExpr; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr::BinExpr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/parser.rs:423:33 [INFO] [stdout] | [INFO] [stdout] 423 | ... op: BinOp::Add, [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:424:44 [INFO] [stdout] | [INFO] [stdout] 424 | ... left: Box::new(Expr::Int(1)), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:425:45 [INFO] [stdout] | [INFO] [stdout] 425 | ... right: Box::new(Expr::Int(2)), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:427:41 [INFO] [stdout] | [INFO] [stdout] 427 | right: Box::new(Expr::Int(3)), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:440:13 [INFO] [stdout] | [INFO] [stdout] 440 | Block { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stat` [INFO] [stdout] --> tests/parser.rs:441:29 [INFO] [stdout] | [INFO] [stdout] 441 | stats: vec![Stat::CallStat(CallStat { [INFO] [stdout] | ^^^^ use of undeclared type `Stat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CallStat` in this scope [INFO] [stdout] --> tests/parser.rs:441:44 [INFO] [stdout] | [INFO] [stdout] 441 | stats: vec![Stat::CallStat(CallStat { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::CallStat; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat::CallStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assignable` [INFO] [stdout] --> tests/parser.rs:442:27 [INFO] [stdout] | [INFO] [stdout] 442 | call: Assignable::SuffixedExpr(SuffixedExpr { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Assignable` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Assignable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SuffixedExpr` in this scope [INFO] [stdout] --> tests/parser.rs:442:52 [INFO] [stdout] | [INFO] [stdout] 442 | call: Assignable::SuffixedExpr(SuffixedExpr { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Assignable::SuffixedExpr; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr::SuffixedExpr; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::SuffixedExpr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:443:43 [INFO] [stdout] | [INFO] [stdout] 443 | primary: Box::new(Expr::Name("str".to_string())), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Suffix` [INFO] [stdout] --> tests/parser.rs:445:29 [INFO] [stdout] | [INFO] [stdout] 445 | ... Suffix::Method("sub".to_string()), [INFO] [stdout] | ^^^^^^ use of undeclared type `Suffix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Suffix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Suffix` [INFO] [stdout] --> tests/parser.rs:446:29 [INFO] [stdout] | [INFO] [stdout] 446 | ... Suffix::FuncArgs(FuncArgs::Exprs(vec![ [INFO] [stdout] | ^^^^^^ use of undeclared type `Suffix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Suffix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FuncArgs` [INFO] [stdout] --> tests/parser.rs:446:46 [INFO] [stdout] | [INFO] [stdout] 446 | ... Suffix::FuncArgs(FuncArgs::Exprs(vec![ [INFO] [stdout] | ^^^^^^^^ use of undeclared type `FuncArgs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::FuncArgs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:447:33 [INFO] [stdout] | [INFO] [stdout] 447 | ... Expr::Name("i".to_string()), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:448:33 [INFO] [stdout] | [INFO] [stdout] 448 | ... Expr::Name("i".to_string()), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Block` in this scope [INFO] [stdout] --> tests/parser.rs:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | Block { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stat` [INFO] [stdout] --> tests/parser.rs:464:29 [INFO] [stdout] | [INFO] [stdout] 464 | stats: vec![Stat::RetStat(RetStat { [INFO] [stdout] | ^^^^ use of undeclared type `Stat` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RetStat` in this scope [INFO] [stdout] --> tests/parser.rs:464:43 [INFO] [stdout] | [INFO] [stdout] 464 | stats: vec![Stat::RetStat(RetStat { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::RetStat; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Stat::RetStat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:465:33 [INFO] [stdout] | [INFO] [stdout] 465 | exprs: vec![Expr::BinExpr(BinExpr { [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BinExpr` in this scope [INFO] [stdout] --> tests/parser.rs:465:47 [INFO] [stdout] | [INFO] [stdout] 465 | exprs: vec![Expr::BinExpr(BinExpr { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::BinExpr; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr::BinExpr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/parser.rs:466:29 [INFO] [stdout] | [INFO] [stdout] 466 | op: BinOp::And, [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:467:40 [INFO] [stdout] | [INFO] [stdout] 467 | left: Box::new(Expr::BinExpr(BinExpr { [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BinExpr` in this scope [INFO] [stdout] --> tests/parser.rs:467:54 [INFO] [stdout] | [INFO] [stdout] 467 | left: Box::new(Expr::BinExpr(BinExpr { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::BinExpr; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr::BinExpr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/parser.rs:468:33 [INFO] [stdout] | [INFO] [stdout] 468 | ... op: BinOp::Eq, [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:469:44 [INFO] [stdout] | [INFO] [stdout] 469 | ... left: Box::new(Expr::Name("a".to_string())), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:470:45 [INFO] [stdout] | [INFO] [stdout] 470 | ... right: Box::new(Expr::Int(1)), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:472:41 [INFO] [stdout] | [INFO] [stdout] 472 | right: Box::new(Expr::BinExpr(BinExpr { [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BinExpr` in this scope [INFO] [stdout] --> tests/parser.rs:472:55 [INFO] [stdout] | [INFO] [stdout] 472 | right: Box::new(Expr::BinExpr(BinExpr { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::BinExpr; [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr::BinExpr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOp` [INFO] [stdout] --> tests/parser.rs:473:33 [INFO] [stdout] | [INFO] [stdout] 473 | ... op: BinOp::Eq, [INFO] [stdout] | ^^^^^ use of undeclared type `BinOp` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::BinOp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:474:44 [INFO] [stdout] | [INFO] [stdout] 474 | ... left: Box::new(Expr::Name("b".to_string())), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> tests/parser.rs:475:45 [INFO] [stdout] | [INFO] [stdout] 475 | ... right: Box::new(Expr::Int(2)), [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use rslua_march1917::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 221 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rslua-march1917` (test "parser") due to 222 previous errors [INFO] running `Command { std: "docker" "inspect" "dd345bd39237b59344876d7fc73a7765794e0a27d404a4e677046a63e2cf65b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd345bd39237b59344876d7fc73a7765794e0a27d404a4e677046a63e2cf65b1", kill_on_drop: false }` [INFO] [stdout] dd345bd39237b59344876d7fc73a7765794e0a27d404a4e677046a63e2cf65b1