[INFO] cloning repository https://github.com/jakub-szczepaniak/lox-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jakub-szczepaniak/lox-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakub-szczepaniak%2Flox-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakub-szczepaniak%2Flox-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f4ed471dbdc525f2cfc06ca3dc7dbcae5b3d6d66 [INFO] checking jakub-szczepaniak/lox-rs against try#54e27f559f23913c1d5afb1a0f0114e9e61b81b8 for pr-147589 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakub-szczepaniak%2Flox-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jakub-szczepaniak/lox-rs [INFO] finished tweaking git repo https://github.com/jakub-szczepaniak/lox-rs [INFO] tweaked toml for git repo https://github.com/jakub-szczepaniak/lox-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jakub-szczepaniak/lox-rs on toolchain 54e27f559f23913c1d5afb1a0f0114e9e61b81b8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jakub-szczepaniak/lox-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7413cf5cac2e5baf492d36e92d4f5d1c838b7ef408052cc8362ce0a1322b6ae5 [INFO] running `Command { std: "docker" "start" "-a" "7413cf5cac2e5baf492d36e92d4f5d1c838b7ef408052cc8362ce0a1322b6ae5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7413cf5cac2e5baf492d36e92d4f5d1c838b7ef408052cc8362ce0a1322b6ae5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7413cf5cac2e5baf492d36e92d4f5d1c838b7ef408052cc8362ce0a1322b6ae5", kill_on_drop: false }` [INFO] [stdout] 7413cf5cac2e5baf492d36e92d4f5d1c838b7ef408052cc8362ce0a1322b6ae5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3dbb68930111f8d7f3269be2d05855dea245fd5792c4b475ee0bd9593ecf7d72 [INFO] running `Command { std: "docker" "start" "-a" "3dbb68930111f8d7f3269be2d05855dea245fd5792c4b475ee0bd9593ecf7d72", kill_on_drop: false }` [INFO] [stderr] warning: lox-gen-ast v0.1.0 (/opt/rustwide/workdir/lox-gen-ast) ignoring invalid dependency `lox-rs` which is missing a lib target [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling relative-path v1.9.0 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking lox-rs v0.1.0 (/opt/rustwide/workdir/lox-rs) [INFO] [stderr] Checking lox-gen-ast v0.1.0 (/opt/rustwide/workdir/lox-gen-ast) [INFO] [stdout] error[E0583]: file not found for module `expr` [INFO] [stdout] --> lox-rs/src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | mod expr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `expr`, create file "lox-rs/src/expr.rs" or "lox-rs/src/expr/mod.rs" [INFO] [stdout] = note: if there is a `mod expr` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `stmt` [INFO] [stdout] --> lox-rs/src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | mod stmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `stmt`, create file "lox-rs/src/stmt.rs" or "lox-rs/src/stmt/mod.rs" [INFO] [stdout] = note: if there is a `mod stmt` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:28:43 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse(&mut self) -> Result, LoxResult> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, Stmt> Parser<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:36:41 [INFO] [stdout] | [INFO] [stdout] 36 | fn declaration(&mut self) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, Stmt> Parser<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:50:58 [INFO] [stdout] | [INFO] [stdout] 50 | fn func_declaration(&mut self, kind: &str) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, Stmt> Parser<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StmtFunction` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | Ok(Stmt::Function(StmtFunction { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:84:45 [INFO] [stdout] | [INFO] [stdout] 84 | fn var_declaration(&mut self) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, Stmt> Parser<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StmtVar` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | Ok(Stmt::Var(StmtVar { name, initializer })) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | fn statement(&mut self) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, Stmt> Parser<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StmtBreak` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:111:35 [INFO] [stdout] | [INFO] [stdout] 111 | return Ok(Stmt::Break(StmtBreak { token })); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StmtBlock` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:127:35 [INFO] [stdout] | [INFO] [stdout] 127 | return Ok(Stmt::Block(StmtBlock { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:134:39 [INFO] [stdout] | [INFO] [stdout] 134 | fn block(&mut self) -> Result, LoxResult> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, Stmt> Parser<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:144:43 [INFO] [stdout] | [INFO] [stdout] 144 | fn for_statement(&mut self) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, Stmt> Parser<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StmtBlock` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:172:32 [INFO] [stdout] | [INFO] [stdout] 172 | body = Stmt::Block(StmtBlock { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StmtExpression` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:173:57 [INFO] [stdout] | [INFO] [stdout] 173 | statements: vec![body, Stmt::Expression(StmtExpression { expression: incr })], [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StmtWhile` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:177:28 [INFO] [stdout] | [INFO] [stdout] 177 | body = Stmt::While(StmtWhile { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ExprLiteral` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:181:31 [INFO] [stdout] | [INFO] [stdout] 181 | Expr::Literal(ExprLiteral { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StmtBlock` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:189:32 [INFO] [stdout] | [INFO] [stdout] 189 | body = Stmt::Block(StmtBlock { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:196:45 [INFO] [stdout] | [INFO] [stdout] 196 | fn while_statement(&mut self) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, Stmt> Parser<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StmtWhile` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | Ok(Stmt::While(StmtWhile { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:212:45 [INFO] [stdout] | [INFO] [stdout] 212 | fn print_statement(&mut self) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, Stmt> Parser<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StmtPrint` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:215:24 [INFO] [stdout] | [INFO] [stdout] 215 | Ok(Stmt::Print(StmtPrint { expression: value })) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:217:46 [INFO] [stdout] | [INFO] [stdout] 217 | fn return_statement(&mut self) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, Stmt> Parser<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StmtReturn` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:226:25 [INFO] [stdout] | [INFO] [stdout] 226 | Ok(Stmt::Return(StmtReturn { keyword, value })) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:228:42 [INFO] [stdout] | [INFO] [stdout] 228 | fn if_statement(&mut self) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, Stmt> Parser<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StmtIf` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:241:21 [INFO] [stdout] | [INFO] [stdout] 241 | Ok(Stmt::If(StmtIf { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:248:50 [INFO] [stdout] | [INFO] [stdout] 248 | fn expression_statement(&mut self) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, Stmt> Parser<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StmtExpression` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:252:29 [INFO] [stdout] | [INFO] [stdout] 252 | Ok(Stmt::Expression(StmtExpression { expression: expr })) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:255:44 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn expression(&mut self) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, Expr> Parser<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:259:40 [INFO] [stdout] | [INFO] [stdout] 259 | fn assignment(&mut self) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, Expr> Parser<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ExprAssign` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:267:40 [INFO] [stdout] | [INFO] [stdout] 267 | return Ok(Expr::Assign(ExprAssign { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:277:32 [INFO] [stdout] | [INFO] [stdout] 277 | fn or(&mut self) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, Expr> Parser<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ExprLogical` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:283:34 [INFO] [stdout] | [INFO] [stdout] 283 | expr = Expr::Logical(ExprLogical { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:292:33 [INFO] [stdout] | [INFO] [stdout] 292 | fn and(&mut self) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, Expr> Parser<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ExprLogical` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:298:34 [INFO] [stdout] | [INFO] [stdout] 298 | expr = Expr::Logical(ExprLogical { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:308:38 [INFO] [stdout] | [INFO] [stdout] 308 | fn equality(&mut self) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, Expr> Parser<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ExprBinary` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:314:33 [INFO] [stdout] | [INFO] [stdout] 314 | expr = Expr::Binary(ExprBinary { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:323:40 [INFO] [stdout] | [INFO] [stdout] 323 | fn comparison(&mut self) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, Expr> Parser<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ExprBinary` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:334:33 [INFO] [stdout] | [INFO] [stdout] 334 | expr = Expr::Binary(ExprBinary { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:342:34 [INFO] [stdout] | [INFO] [stdout] 342 | fn term(&mut self) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, Expr> Parser<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ExprBinary` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:347:33 [INFO] [stdout] | [INFO] [stdout] 347 | expr = Expr::Binary(ExprBinary { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:355:36 [INFO] [stdout] | [INFO] [stdout] 355 | fn factor(&mut self) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, Expr> Parser<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ExprBinary` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:361:33 [INFO] [stdout] | [INFO] [stdout] 361 | expr = Expr::Binary(ExprBinary { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:370:35 [INFO] [stdout] | [INFO] [stdout] 370 | fn unary(&mut self) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, Expr> Parser<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ExprUnary` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:374:35 [INFO] [stdout] | [INFO] [stdout] 374 | return Ok(Expr::Unary(ExprUnary { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:382:34 [INFO] [stdout] | [INFO] [stdout] 382 | fn call(&mut self) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, Expr> Parser<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:394:41 [INFO] [stdout] | [INFO] [stdout] 394 | fn finish_call(&mut self, expr: &Rc) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, Expr> Parser<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:394:58 [INFO] [stdout] | [INFO] [stdout] 394 | fn finish_call(&mut self, expr: &Rc) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, Expr> Parser<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ExprCall` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:417:23 [INFO] [stdout] | [INFO] [stdout] 417 | Ok(Expr::Call(ExprCall { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:424:37 [INFO] [stdout] | [INFO] [stdout] 424 | fn primary(&mut self) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, Expr> Parser<'a> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ExprLiteral` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:428:41 [INFO] [stdout] | [INFO] [stdout] 428 | return Ok(Expr::Literal(ExprLiteral { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ExprVariable` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:434:38 [INFO] [stdout] | [INFO] [stdout] 434 | return Ok(Expr::Variable(ExprVariable { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ExprGrouping` in this scope [INFO] [stdout] --> lox-rs/src/parser.rs:442:38 [INFO] [stdout] | [INFO] [stdout] 442 | return Ok(Expr::Grouping(ExprGrouping { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `StmtVisitor` in this scope [INFO] [stdout] --> lox-rs/src/interpreter.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | impl StmtVisitor<()> for Interpreter { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StmtBreak` in this scope [INFO] [stdout] --> lox-rs/src/interpreter.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | fn visit_break_stmt(&self, expr: &StmtBreak) -> Result<(), LoxResult> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StmtBlock` in this scope [INFO] [stdout] --> lox-rs/src/interpreter.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn visit_block_stmt(&self, stmt_block: &StmtBlock) -> Result<(), LoxResult> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StmtExpression` in this scope [INFO] [stdout] --> lox-rs/src/interpreter.rs:34:44 [INFO] [stdout] | [INFO] [stdout] 34 | fn visit_expression_stmt(&self, expr: &StmtExpression) -> Result<(), LoxResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StmtPrint` in this scope [INFO] [stdout] --> lox-rs/src/interpreter.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | fn visit_print_stmt(&self, expr: &StmtPrint) -> Result<(), LoxResult> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StmtReturn` in this scope [INFO] [stdout] --> lox-rs/src/interpreter.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | fn visit_return_stmt(&self, stmt: &StmtReturn) -> Result<(), LoxResult> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StmtVar` in this scope [INFO] [stdout] --> lox-rs/src/interpreter.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_var_stmt(&self, expr: &StmtVar) -> Result<(), LoxResult> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StmtIf` in this scope [INFO] [stdout] --> lox-rs/src/interpreter.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | fn visit_if_stmt(&self, stmt: &StmtIf) -> Result<(), LoxResult> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StmtWhile` in this scope [INFO] [stdout] --> lox-rs/src/interpreter.rs:73:39 [INFO] [stdout] | [INFO] [stdout] 73 | fn visit_while_stmt(&self, stmt: &StmtWhile) -> Result<(), LoxResult> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StmtFunction` in this scope [INFO] [stdout] --> lox-rs/src/interpreter.rs:85:42 [INFO] [stdout] | [INFO] [stdout] 85 | fn visit_function_stmt(&self, stmt: &StmtFunction) -> Result<(), LoxResult> { [INFO] [stdout] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `LoxFunction` [INFO] [stdout] | [INFO] [stdout] ::: lox-rs/src/lox_function.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct LoxFunction { [INFO] [stdout] | ---------------------- similarly named struct `LoxFunction` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ExprVisitor` in this scope [INFO] [stdout] --> lox-rs/src/interpreter.rs:97:6 [INFO] [stdout] | [INFO] [stdout] 97 | impl ExprVisitor for Interpreter { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExprCall` in this scope [INFO] [stdout] --> lox-rs/src/interpreter.rs:98:38 [INFO] [stdout] | [INFO] [stdout] 98 | fn visit_call_expr(&self, expr: &ExprCall) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExprLogical` in this scope [INFO] [stdout] --> lox-rs/src/interpreter.rs:123:41 [INFO] [stdout] | [INFO] [stdout] 123 | fn visit_logical_expr(&self, expr: &ExprLogical) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExprAssign` in this scope [INFO] [stdout] --> lox-rs/src/interpreter.rs:137:40 [INFO] [stdout] | [INFO] [stdout] 137 | fn visit_assign_expr(&self, expr: &ExprAssign) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExprVariable` in this scope [INFO] [stdout] --> lox-rs/src/interpreter.rs:146:42 [INFO] [stdout] | [INFO] [stdout] 146 | fn visit_variable_expr(&self, expr: &ExprVariable) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExprBinary` in this scope [INFO] [stdout] --> lox-rs/src/interpreter.rs:150:40 [INFO] [stdout] | [INFO] [stdout] 150 | fn visit_binary_expr(&self, expr: &ExprBinary) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExprGrouping` in this scope [INFO] [stdout] --> lox-rs/src/interpreter.rs:243:42 [INFO] [stdout] | [INFO] [stdout] 243 | fn visit_grouping_expr(&self, expr: &ExprGrouping) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExprLiteral` in this scope [INFO] [stdout] --> lox-rs/src/interpreter.rs:247:41 [INFO] [stdout] | [INFO] [stdout] 247 | fn visit_literal_expr(&self, expr: &ExprLiteral) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExprUnary` in this scope [INFO] [stdout] --> lox-rs/src/interpreter.rs:255:39 [INFO] [stdout] | [INFO] [stdout] 255 | fn visit_unary_expr(&self, expr: &ExprUnary) -> Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope [INFO] [stdout] --> lox-rs/src/interpreter.rs:296:47 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn execute_block(&self, statements: &[Stmt], env: Environment) -> Result<(), LoxResult> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> lox-rs/src/interpreter.rs:307:31 [INFO] [stdout] | [INFO] [stdout] 307 | fn evaluate(&self, expr: &Expr) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope [INFO] [stdout] --> lox-rs/src/interpreter.rs:310:30 [INFO] [stdout] | [INFO] [stdout] 310 | fn execute(&self, stmt: &Stmt) -> Result<(), LoxResult> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope [INFO] [stdout] --> lox-rs/src/interpreter.rs:317:44 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn interprete(&self, statements: &[Stmt]) -> bool { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stmt` in this scope [INFO] [stdout] --> lox-rs/src/lox_function.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | body: Rc>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 10 | pub struct LoxFunction { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StmtFunction` in this scope [INFO] [stdout] --> lox-rs/src/lox_function.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct LoxFunction { [INFO] [stdout] | ---------------------- similarly named struct `LoxFunction` defined here [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn new(declaration: &StmtFunction) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `LoxFunction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::expr::*` [INFO] [stdout] --> lox-rs/src/parser.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::expr::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::stmt::*` [INFO] [stdout] --> lox-rs/src/parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::stmt::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::expr::*` [INFO] [stdout] --> lox-rs/src/interpreter.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::expr::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::stmt::*` [INFO] [stdout] --> lox-rs/src/interpreter.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::stmt::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::stmt::*` [INFO] [stdout] --> lox-rs/src/lox_function.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::stmt::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> lox-rs/src/parser.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | Ok(Stmt::Function(StmtFunction { [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> lox-rs/src/parser.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | Ok(Stmt::Var(StmtVar { name, initializer })) [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> lox-rs/src/parser.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 111 | return Ok(Stmt::Break(StmtBreak { token })); [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> lox-rs/src/parser.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | return Ok(Stmt::Block(StmtBlock { [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> lox-rs/src/parser.rs:172:20 [INFO] [stdout] | [INFO] [stdout] 172 | body = Stmt::Block(StmtBlock { [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> lox-rs/src/parser.rs:173:40 [INFO] [stdout] | [INFO] [stdout] 173 | statements: vec![body, Stmt::Expression(StmtExpression { expression: incr })], [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> lox-rs/src/parser.rs:177:16 [INFO] [stdout] | [INFO] [stdout] 177 | body = Stmt::While(StmtWhile { [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> lox-rs/src/parser.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | Expr::Literal(ExprLiteral { [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> lox-rs/src/parser.rs:189:20 [INFO] [stdout] | [INFO] [stdout] 189 | body = Stmt::Block(StmtBlock { [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> lox-rs/src/parser.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | Ok(Stmt::While(StmtWhile { [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> lox-rs/src/parser.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 215 | Ok(Stmt::Print(StmtPrint { expression: value })) [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> lox-rs/src/parser.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 226 | Ok(Stmt::Return(StmtReturn { keyword, value })) [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> lox-rs/src/parser.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 241 | Ok(Stmt::If(StmtIf { [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Stmt` [INFO] [stdout] --> lox-rs/src/parser.rs:252:12 [INFO] [stdout] | [INFO] [stdout] 252 | Ok(Stmt::Expression(StmtExpression { expression: expr })) [INFO] [stdout] | ^^^^ use of undeclared type `Stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> lox-rs/src/parser.rs:266:20 [INFO] [stdout] | [INFO] [stdout] 266 | if let Expr::Variable(expr) = expr { [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> lox-rs/src/parser.rs:267:27 [INFO] [stdout] | [INFO] [stdout] 267 | return Ok(Expr::Assign(ExprAssign { [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> lox-rs/src/parser.rs:283:20 [INFO] [stdout] | [INFO] [stdout] 283 | expr = Expr::Logical(ExprLogical { [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> lox-rs/src/parser.rs:298:20 [INFO] [stdout] | [INFO] [stdout] 298 | expr = Expr::Logical(ExprLogical { [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> lox-rs/src/parser.rs:314:20 [INFO] [stdout] | [INFO] [stdout] 314 | expr = Expr::Binary(ExprBinary { [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> lox-rs/src/parser.rs:334:20 [INFO] [stdout] | [INFO] [stdout] 334 | expr = Expr::Binary(ExprBinary { [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> lox-rs/src/parser.rs:347:20 [INFO] [stdout] | [INFO] [stdout] 347 | expr = Expr::Binary(ExprBinary { [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> lox-rs/src/parser.rs:361:20 [INFO] [stdout] | [INFO] [stdout] 361 | expr = Expr::Binary(ExprBinary { [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> lox-rs/src/parser.rs:374:23 [INFO] [stdout] | [INFO] [stdout] 374 | return Ok(Expr::Unary(ExprUnary { [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> lox-rs/src/parser.rs:417:12 [INFO] [stdout] | [INFO] [stdout] 417 | Ok(Expr::Call(ExprCall { [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> lox-rs/src/parser.rs:428:27 [INFO] [stdout] | [INFO] [stdout] 428 | return Ok(Expr::Literal(ExprLiteral { [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> lox-rs/src/parser.rs:434:23 [INFO] [stdout] | [INFO] [stdout] 434 | return Ok(Expr::Variable(ExprVariable { [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expr` [INFO] [stdout] --> lox-rs/src/parser.rs:442:23 [INFO] [stdout] | [INFO] [stdout] 442 | return Ok(Expr::Grouping(ExprGrouping { [INFO] [stdout] | ^^^^ use of undeclared type `Expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lox-rs` (bin "lox-rs") due to 105 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "3dbb68930111f8d7f3269be2d05855dea245fd5792c4b475ee0bd9593ecf7d72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dbb68930111f8d7f3269be2d05855dea245fd5792c4b475ee0bd9593ecf7d72", kill_on_drop: false }` [INFO] [stdout] 3dbb68930111f8d7f3269be2d05855dea245fd5792c4b475ee0bd9593ecf7d72