[INFO] cloning repository https://github.com/RobertObkircher/ro-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RobertObkircher/ro-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobertObkircher%2Fro-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobertObkircher%2Fro-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f3709ef49332e4108a9b6776ebe3f66faee45f5 [INFO] checking RobertObkircher/ro-compiler against try#d990716b6a1fdde1300748828a9c9e79dfd0b898 for pr-74846 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobertObkircher%2Fro-compiler" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RobertObkircher/ro-compiler on toolchain d990716b6a1fdde1300748828a9c9e79dfd0b898 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RobertObkircher/ro-compiler [INFO] finished tweaking git repo https://github.com/RobertObkircher/ro-compiler [INFO] tweaked toml for git repo https://github.com/RobertObkircher/ro-compiler written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/RobertObkircher/ro-compiler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c81590b91599fa39ef2e5622a07e39b0894e70a1f1f1754a61cbf341bc02d2b1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c81590b91599fa39ef2e5622a07e39b0894e70a1f1f1754a61cbf341bc02d2b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c81590b91599fa39ef2e5622a07e39b0894e70a1f1f1754a61cbf341bc02d2b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c81590b91599fa39ef2e5622a07e39b0894e70a1f1f1754a61cbf341bc02d2b1", kill_on_drop: false }` [INFO] [stdout] c81590b91599fa39ef2e5622a07e39b0894e70a1f1f1754a61cbf341bc02d2b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3f7c7797f0613069d92a349e0e04ae4243b0bf1b32c8242894054bcafbc2367 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c3f7c7797f0613069d92a349e0e04ae4243b0bf1b32c8242894054bcafbc2367", kill_on_drop: false }` [INFO] [stderr] Checking ro-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::ir::Function` [INFO] [stdout] --> src/parser.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | Address, BinaryOperation, Code, Function, Instruction, Local, SourceLocation, UnaryOperation, [INFO] [stdout] | ^^^^^^^^ no `Function` in `ir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:217:21 [INFO] [stdout] | [INFO] [stdout] 217 | let first = expect!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect_one` in this scope [INFO] [stdout] --> src/parser.rs:238:23 [INFO] [stdout] | [INFO] [stdout] 238 | let mutable = expect_one!(self, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `check_advance` in this scope [INFO] [stdout] --> src/parser.rs:244:45 [INFO] [stdout] | [INFO] [stdout] 244 | let (_, mutable) = if let Some(x) = check_advance!(self, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:270:21 [INFO] [stdout] | [INFO] [stdout] 270 | let token = expect!(self, TokenType::Identifier(_), message, false)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `check_advance` in this scope [INFO] [stdout] --> src/parser.rs:294:35 [INFO] [stdout] | [INFO] [stdout] 294 | while let Some((_, ())) = check_advance!(self, TokenType::Dot => ()) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:302:20 [INFO] [stdout] | [INFO] [stdout] 302 | let open = expect!(self, TokenType::LeftBrace, "help: insert `{`", true)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:317:21 [INFO] [stdout] | [INFO] [stdout] 317 | let close = expect!(self, TokenType::RightBrace, "help: insert `}`", true)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:361:17 [INFO] [stdout] | [INFO] [stdout] 361 | expect!(self, TokenType::Semicolon, "help: insert `;`", true)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:368:23 [INFO] [stdout] | [INFO] [stdout] 368 | let keyword = expect!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:435:9 [INFO] [stdout] | [INFO] [stdout] 435 | expect!(self, TokenType::LeftParenthesis, "help: insert `(`", true)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:443:29 [INFO] [stdout] | [INFO] [stdout] 443 | ... expect!(self, TokenType::Comma, "help: insert `,`", true)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:446:25 [INFO] [stdout] | [INFO] [stdout] 446 | expect!(self, TokenType::Colon, "help: insert `:`", true)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:459:9 [INFO] [stdout] | [INFO] [stdout] 459 | expect!(self, TokenType::RightParenthesis, "help: insert `)`", true)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:464:21 [INFO] [stdout] | [INFO] [stdout] 464 | let token = expect!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `check_advance` in this scope [INFO] [stdout] --> src/parser.rs:483:42 [INFO] [stdout] | [INFO] [stdout] 483 | if let Some((token, is_union)) = check_advance!(self, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:487:13 [INFO] [stdout] | [INFO] [stdout] 487 | expect!(self, TokenType::LeftBrace, "help: insert `{`", true)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | expect!(self, TokenType::RightBrace, "help: insert `}`", true)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:508:13 [INFO] [stdout] | [INFO] [stdout] 508 | expect!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:520:21 [INFO] [stdout] | [INFO] [stdout] 520 | let colon = expect!(self, TokenType::Colon, "help: insert `:`", true); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromPrimitive` in this scope [INFO] [stdout] --> src/parser.rs:526:62 [INFO] [stdout] | [INFO] [stdout] 526 | #[derive(Debug, Copy, Clone, PartialEq, PartialOrd, Eq, Ord, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::ir::Function` [INFO] [stdout] --> src/parser.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | Address, BinaryOperation, Code, Function, Instruction, Local, SourceLocation, UnaryOperation, [INFO] [stdout] | ^^^^^^^^ no `Function` in `ir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:217:21 [INFO] [stdout] | [INFO] [stdout] 217 | let first = expect!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect_one` in this scope [INFO] [stdout] --> src/parser.rs:238:23 [INFO] [stdout] | [INFO] [stdout] 238 | let mutable = expect_one!(self, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `check_advance` in this scope [INFO] [stdout] --> src/parser.rs:244:45 [INFO] [stdout] | [INFO] [stdout] 244 | let (_, mutable) = if let Some(x) = check_advance!(self, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:270:21 [INFO] [stdout] | [INFO] [stdout] 270 | let token = expect!(self, TokenType::Identifier(_), message, false)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `check_advance` in this scope [INFO] [stdout] --> src/parser.rs:294:35 [INFO] [stdout] | [INFO] [stdout] 294 | while let Some((_, ())) = check_advance!(self, TokenType::Dot => ()) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:302:20 [INFO] [stdout] | [INFO] [stdout] 302 | let open = expect!(self, TokenType::LeftBrace, "help: insert `{`", true)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:317:21 [INFO] [stdout] | [INFO] [stdout] 317 | let close = expect!(self, TokenType::RightBrace, "help: insert `}`", true)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:361:17 [INFO] [stdout] | [INFO] [stdout] 361 | expect!(self, TokenType::Semicolon, "help: insert `;`", true)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:368:23 [INFO] [stdout] | [INFO] [stdout] 368 | let keyword = expect!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:435:9 [INFO] [stdout] | [INFO] [stdout] 435 | expect!(self, TokenType::LeftParenthesis, "help: insert `(`", true)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:443:29 [INFO] [stdout] | [INFO] [stdout] 443 | ... expect!(self, TokenType::Comma, "help: insert `,`", true)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:446:25 [INFO] [stdout] | [INFO] [stdout] 446 | expect!(self, TokenType::Colon, "help: insert `:`", true)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:459:9 [INFO] [stdout] | [INFO] [stdout] 459 | expect!(self, TokenType::RightParenthesis, "help: insert `)`", true)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:464:21 [INFO] [stdout] | [INFO] [stdout] 464 | let token = expect!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `check_advance` in this scope [INFO] [stdout] --> src/parser.rs:483:42 [INFO] [stdout] | [INFO] [stdout] 483 | if let Some((token, is_union)) = check_advance!(self, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:487:13 [INFO] [stdout] | [INFO] [stdout] 487 | expect!(self, TokenType::LeftBrace, "help: insert `{`", true)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | expect!(self, TokenType::RightBrace, "help: insert `}`", true)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:508:13 [INFO] [stdout] | [INFO] [stdout] 508 | expect!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:520:21 [INFO] [stdout] | [INFO] [stdout] 520 | let colon = expect!(self, TokenType::Colon, "help: insert `:`", true); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromPrimitive` in this scope [INFO] [stdout] --> src/parser.rs:526:62 [INFO] [stdout] | [INFO] [stdout] 526 | #[derive(Debug, Copy, Clone, PartialEq, PartialOrd, Eq, Ord, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TopLevel` [INFO] [stdout] --> src/parser.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 211 | Ok(TopLevel::Declaration(declaration)) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `TopLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Statement` [INFO] [stdout] --> src/parser.rs:336:21 [INFO] [stdout] | [INFO] [stdout] 336 | ) => Ok(Statement::Declaration(self.parse_declaration()?)), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Statement` [INFO] [stdout] --> src/parser.rs:343:21 [INFO] [stdout] | [INFO] [stdout] 343 | ) => Ok(Statement::While(self.parse_while_statement()?)), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Statement` [INFO] [stdout] --> src/parser.rs:344:32 [INFO] [stdout] | [INFO] [stdout] 344 | (Some(_), _) => Ok(Statement::Expression(self.parse_expression_statement()?)), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Expression` [INFO] [stdout] --> src/parser.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | Expression::Block(_) => {} [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Expression` [INFO] [stdout] --> src/parser.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | Expression::Lambda(Lambda { body: Some(_), .. }) => {} [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Expression` [INFO] [stdout] --> src/parser.rs:358:13 [INFO] [stdout] | [INFO] [stdout] 358 | Expression::If(_) => {} [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Expression` [INFO] [stdout] --> src/parser.rs:359:13 [INFO] [stdout] | [INFO] [stdout] 359 | Expression::Struct(_) => {} [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Expression` [INFO] [stdout] --> src/parser.rs:404:55 [INFO] [stdout] | [INFO] [stdout] 404 | TokenType::LeftBrace => Some(Box::new(Expression::Block(self.parse_block()?))), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Expression` [INFO] [stdout] --> src/parser.rs:426:12 [INFO] [stdout] | [INFO] [stdout] 426 | Ok(Expression::Lambda(Lambda { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Expression` [INFO] [stdout] --> src/parser.rs:473:29 [INFO] [stdout] | [INFO] [stdout] 473 | let body = Box::new(Expression::Block(self.parse_block()?)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TopLevel` [INFO] [stdout] --> src/parser.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 211 | Ok(TopLevel::Declaration(declaration)) [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `TopLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Invoke` in this scope [INFO] [stdout] --> src/ir.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | Invoke(local) => { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TopLevel` in this scope [INFO] [stdout] --> src/parser.rs:209:50 [INFO] [stdout] | [INFO] [stdout] 208 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 209 | fn parse_top_level(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Declaration` in this scope [INFO] [stdout] --> src/parser.rs:214:52 [INFO] [stdout] | [INFO] [stdout] 208 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 214 | fn parse_declaration(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Declaration` in this scope [INFO] [stdout] --> src/parser.rs:262:12 [INFO] [stdout] | [INFO] [stdout] 262 | Ok(Declaration { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/parser.rs:269:66 [INFO] [stdout] | [INFO] [stdout] 269 | fn parse_identifier(&mut self, message: &str) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::token::TokenType::Identifier`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 269 | fn parse_identifier(&mut self, message: &str) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 208 | impl Parser<'_> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Identifier` in this scope [INFO] [stdout] --> src/parser.rs:272:16 [INFO] [stdout] | [INFO] [stdout] 272 | Ok(Identifier { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::token::TokenType::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Name` in this scope [INFO] [stdout] --> src/parser.rs:281:45 [INFO] [stdout] | [INFO] [stdout] 281 | fn parse_name(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::Address::Name`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 281 | fn parse_name(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 208 | impl Parser<'_> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Name` in this scope [INFO] [stdout] --> src/parser.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 298 | Ok(Name { relative, segments }) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::Address::Name; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlockExpression` in this scope [INFO] [stdout] --> src/parser.rs:301:46 [INFO] [stdout] | [INFO] [stdout] 208 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 301 | fn parse_block(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BlockExpression` in this scope [INFO] [stdout] --> src/parser.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 318 | Ok(BlockExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Statement` in this scope [INFO] [stdout] --> src/parser.rs:325:50 [INFO] [stdout] | [INFO] [stdout] 208 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 325 | fn parse_statement(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expression` in this scope [INFO] [stdout] --> src/parser.rs:353:61 [INFO] [stdout] | [INFO] [stdout] 208 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 353 | fn parse_expression_statement(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Lambda` in this scope [INFO] [stdout] --> src/parser.rs:357:32 [INFO] [stdout] | [INFO] [stdout] 357 | Expression::Lambda(Lambda { body: Some(_), .. }) => {} [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expression` in this scope [INFO] [stdout] --> src/parser.rs:367:47 [INFO] [stdout] | [INFO] [stdout] 208 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 367 | fn parse_lambda(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Lambda` in this scope [INFO] [stdout] --> src/parser.rs:426:31 [INFO] [stdout] | [INFO] [stdout] 426 | Ok(Expression::Lambda(Lambda { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parameter` in this scope [INFO] [stdout] --> src/parser.rs:434:55 [INFO] [stdout] | [INFO] [stdout] 208 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 434 | fn parse_parameters(&mut self) -> ParseResult> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Parameter` in this scope [INFO] [stdout] --> src/parser.rs:448:41 [INFO] [stdout] | [INFO] [stdout] 448 | parameters.push(Parameter { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WhileStatement` in this scope [INFO] [stdout] --> src/parser.rs:463:56 [INFO] [stdout] | [INFO] [stdout] 208 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 463 | fn parse_while_statement(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WhileStatement` in this scope [INFO] [stdout] --> src/parser.rs:475:12 [INFO] [stdout] | [INFO] [stdout] 475 | Ok(WhileStatement { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StructExpression` in this scope [INFO] [stdout] --> src/parser.rs:482:47 [INFO] [stdout] | [INFO] [stdout] 208 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 482 | fn parse_struct(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StructExpression` in this scope [INFO] [stdout] --> src/parser.rs:502:16 [INFO] [stdout] | [INFO] [stdout] 502 | Ok(StructExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StructMember` in this scope [INFO] [stdout] --> src/parser.rs:518:54 [INFO] [stdout] | [INFO] [stdout] 208 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 518 | fn parse_struct_member(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StructMember` in this scope [INFO] [stdout] --> src/parser.rs:522:12 [INFO] [stdout] | [INFO] [stdout] 522 | Ok(StructMember { identifier, type_ }) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `StringLiteral` in this scope [INFO] [stdout] --> src/token.rs:286:30 [INFO] [stdout] | [INFO] [stdout] 78 | StringLitera(Atom), [INFO] [stdout] | ------------------ similarly named tuple variant `StringLitera` defined here [INFO] [stdout] ... [INFO] [stdout] 286 | false => StringLiteral(result), [INFO] [stdout] | ^^^^^^^^^^^^^ help: a tuple variant with a similar name exists: `StringLitera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StringLiteral` in this scope [INFO] [stdout] --> src/token.rs:415:13 [INFO] [stdout] | [INFO] [stdout] 78 | StringLitera(Atom), [INFO] [stdout] | ------------------ similarly named tuple variant `StringLitera` defined here [INFO] [stdout] ... [INFO] [stdout] 415 | StringLiteral(value) => return write!(f, "\"{}\"", value), [INFO] [stdout] | ^^^^^^^^^^^^^ help: a tuple variant with a similar name exists: `StringLitera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StringLiteral` in this scope [INFO] [stdout] --> src/token.rs:437:42 [INFO] [stdout] | [INFO] [stdout] 78 | StringLitera(Atom), [INFO] [stdout] | ------------------ similarly named tuple variant `StringLitera` defined here [INFO] [stdout] ... [INFO] [stdout] 437 | Identifier(_) | Keyword(_) | StringLiteral(_) | Number | Boolean(_) | Comment [INFO] [stdout] | ^^^^^^^^^^^^^ help: a tuple variant with a similar name exists: `StringLitera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Statement` [INFO] [stdout] --> src/parser.rs:336:21 [INFO] [stdout] | [INFO] [stdout] 336 | ) => Ok(Statement::Declaration(self.parse_declaration()?)), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Statement` [INFO] [stdout] --> src/parser.rs:343:21 [INFO] [stdout] | [INFO] [stdout] 343 | ) => Ok(Statement::While(self.parse_while_statement()?)), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Statement` [INFO] [stdout] --> src/parser.rs:344:32 [INFO] [stdout] | [INFO] [stdout] 344 | (Some(_), _) => Ok(Statement::Expression(self.parse_expression_statement()?)), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `Statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Expression` [INFO] [stdout] --> src/parser.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | Expression::Block(_) => {} [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Expression` [INFO] [stdout] --> src/parser.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | Expression::Lambda(Lambda { body: Some(_), .. }) => {} [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Expression` [INFO] [stdout] --> src/parser.rs:358:13 [INFO] [stdout] | [INFO] [stdout] 358 | Expression::If(_) => {} [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Expression` [INFO] [stdout] --> src/parser.rs:359:13 [INFO] [stdout] | [INFO] [stdout] 359 | Expression::Struct(_) => {} [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Expression` [INFO] [stdout] --> src/parser.rs:404:55 [INFO] [stdout] | [INFO] [stdout] 404 | TokenType::LeftBrace => Some(Box::new(Expression::Block(self.parse_block()?))), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Expression` [INFO] [stdout] --> src/parser.rs:426:12 [INFO] [stdout] | [INFO] [stdout] 426 | Ok(Expression::Lambda(Lambda { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Expression` [INFO] [stdout] --> src/parser.rs:473:29 [INFO] [stdout] | [INFO] [stdout] 473 | let body = Box::new(Expression::Block(self.parse_block()?)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `Expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Invoke` in this scope [INFO] [stdout] --> src/ir.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | Invoke(local) => { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TopLevel` in this scope [INFO] [stdout] --> src/parser.rs:209:50 [INFO] [stdout] | [INFO] [stdout] 208 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 209 | fn parse_top_level(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Declaration` in this scope [INFO] [stdout] --> src/parser.rs:214:52 [INFO] [stdout] | [INFO] [stdout] 208 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 214 | fn parse_declaration(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Declaration` in this scope [INFO] [stdout] --> src/parser.rs:262:12 [INFO] [stdout] | [INFO] [stdout] 262 | Ok(Declaration { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Identifier` in this scope [INFO] [stdout] --> src/parser.rs:269:66 [INFO] [stdout] | [INFO] [stdout] 269 | fn parse_identifier(&mut self, message: &str) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::token::TokenType::Identifier`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 269 | fn parse_identifier(&mut self, message: &str) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 208 | impl Parser<'_> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Identifier` in this scope [INFO] [stdout] --> src/parser.rs:272:16 [INFO] [stdout] | [INFO] [stdout] 272 | Ok(Identifier { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::token::TokenType::Identifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Name` in this scope [INFO] [stdout] --> src/parser.rs:281:45 [INFO] [stdout] | [INFO] [stdout] 281 | fn parse_name(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::parser::Address::Name`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 281 | fn parse_name(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 208 | impl Parser<'_> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Name` in this scope [INFO] [stdout] --> src/parser.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 298 | Ok(Name { relative, segments }) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::Address::Name; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BlockExpression` in this scope [INFO] [stdout] --> src/parser.rs:301:46 [INFO] [stdout] | [INFO] [stdout] 208 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 301 | fn parse_block(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BlockExpression` in this scope [INFO] [stdout] --> src/parser.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 318 | Ok(BlockExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Statement` in this scope [INFO] [stdout] --> src/parser.rs:325:50 [INFO] [stdout] | [INFO] [stdout] 208 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 325 | fn parse_statement(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expression` in this scope [INFO] [stdout] --> src/parser.rs:353:61 [INFO] [stdout] | [INFO] [stdout] 208 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 353 | fn parse_expression_statement(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Lambda` in this scope [INFO] [stdout] --> src/parser.rs:357:32 [INFO] [stdout] | [INFO] [stdout] 357 | Expression::Lambda(Lambda { body: Some(_), .. }) => {} [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expression` in this scope [INFO] [stdout] --> src/parser.rs:367:47 [INFO] [stdout] | [INFO] [stdout] 208 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 367 | fn parse_lambda(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Lambda` in this scope [INFO] [stdout] --> src/parser.rs:426:31 [INFO] [stdout] | [INFO] [stdout] 426 | Ok(Expression::Lambda(Lambda { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parameter` in this scope [INFO] [stdout] --> src/parser.rs:434:55 [INFO] [stdout] | [INFO] [stdout] 208 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 434 | fn parse_parameters(&mut self) -> ParseResult> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Parameter` in this scope [INFO] [stdout] --> src/parser.rs:448:41 [INFO] [stdout] | [INFO] [stdout] 448 | parameters.push(Parameter { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WhileStatement` in this scope [INFO] [stdout] --> src/parser.rs:463:56 [INFO] [stdout] | [INFO] [stdout] 208 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 463 | fn parse_while_statement(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WhileStatement` in this scope [INFO] [stdout] --> src/parser.rs:475:12 [INFO] [stdout] | [INFO] [stdout] 475 | Ok(WhileStatement { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StructExpression` in this scope [INFO] [stdout] --> src/parser.rs:482:47 [INFO] [stdout] | [INFO] [stdout] 208 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 482 | fn parse_struct(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StructExpression` in this scope [INFO] [stdout] --> src/parser.rs:502:16 [INFO] [stdout] | [INFO] [stdout] 502 | Ok(StructExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StructMember` in this scope [INFO] [stdout] --> src/parser.rs:518:54 [INFO] [stdout] | [INFO] [stdout] 208 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 518 | fn parse_struct_member(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StructMember` in this scope [INFO] [stdout] --> src/parser.rs:522:12 [INFO] [stdout] | [INFO] [stdout] 522 | Ok(StructMember { identifier, type_ }) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `StringLiteral` in this scope [INFO] [stdout] --> src/token.rs:286:30 [INFO] [stdout] | [INFO] [stdout] 78 | StringLitera(Atom), [INFO] [stdout] | ------------------ similarly named tuple variant `StringLitera` defined here [INFO] [stdout] ... [INFO] [stdout] 286 | false => StringLiteral(result), [INFO] [stdout] | ^^^^^^^^^^^^^ help: a tuple variant with a similar name exists: `StringLitera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StringLiteral` in this scope [INFO] [stdout] --> src/token.rs:415:13 [INFO] [stdout] | [INFO] [stdout] 78 | StringLitera(Atom), [INFO] [stdout] | ------------------ similarly named tuple variant `StringLitera` defined here [INFO] [stdout] ... [INFO] [stdout] 415 | StringLiteral(value) => return write!(f, "\"{}\"", value), [INFO] [stdout] | ^^^^^^^^^^^^^ help: a tuple variant with a similar name exists: `StringLitera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `StringLiteral` in this scope [INFO] [stdout] --> src/token.rs:437:42 [INFO] [stdout] | [INFO] [stdout] 78 | StringLitera(Atom), [INFO] [stdout] | ------------------ similarly named tuple variant `StringLitera` defined here [INFO] [stdout] ... [INFO] [stdout] 437 | Identifier(_) | Keyword(_) | StringLiteral(_) | Number | Boolean(_) | Comment [INFO] [stdout] | ^^^^^^^^^^^^^ help: a tuple variant with a similar name exists: `StringLitera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0204]: the trait `Copy` may not be implemented for this type [INFO] [stdout] --> src/ir.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | Unary(UnaryOperation, Local), [INFO] [stdout] | -------------- this field does not implement `Copy` [INFO] [stdout] 25 | Binary(BinaryOperation, Local, Local), [INFO] [stdout] | --------------- this field does not implement `Copy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0117]: only traits defined in the current crate can be implemented for arbitrary types [INFO] [stdout] --> src/token.rs:426:1 [INFO] [stdout] | [INFO] [stdout] 426 | impl Display for [TokenType] {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | | [INFO] [stdout] | | this is not defined in the current crate because slices are always foreign [INFO] [stdout] | impl doesn't use only types from inside the current crate [INFO] [stdout] | [INFO] [stdout] = note: define and implement a trait or new type instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 60 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0117, E0204, E0412, E0422, E0425, E0432, E0433, E0531. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0117`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ro-compiler`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0204]: the trait `Copy` may not be implemented for this type [INFO] [stdout] --> src/ir.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | Unary(UnaryOperation, Local), [INFO] [stdout] | -------------- this field does not implement `Copy` [INFO] [stdout] 25 | Binary(BinaryOperation, Local, Local), [INFO] [stdout] | --------------- this field does not implement `Copy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0117]: only traits defined in the current crate can be implemented for arbitrary types [INFO] [stdout] --> src/token.rs:426:1 [INFO] [stdout] | [INFO] [stdout] 426 | impl Display for [TokenType] {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | | [INFO] [stdout] | | this is not defined in the current crate because slices are always foreign [INFO] [stdout] | impl doesn't use only types from inside the current crate [INFO] [stdout] | [INFO] [stdout] = note: define and implement a trait or new type instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 60 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0117, E0204, E0412, E0422, E0425, E0432, E0433, E0531. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0117`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c3f7c7797f0613069d92a349e0e04ae4243b0bf1b32c8242894054bcafbc2367", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3f7c7797f0613069d92a349e0e04ae4243b0bf1b32c8242894054bcafbc2367", kill_on_drop: false }` [INFO] [stdout] c3f7c7797f0613069d92a349e0e04ae4243b0bf1b32c8242894054bcafbc2367