[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] [stderr] From https://github.com/RobertObkircher/ro-compiler [INFO] [stderr] d1449ce..6973ef1 master -> master [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6973ef14ecdd5fa3c4adfccd2b4ef203bdcde483 [INFO] testing RobertObkircher/ro-compiler against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobertObkircher%2Fro-compiler" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RobertObkircher/ro-compiler on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-4/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" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eec9bdb8b99f93ad2d6b36973534a4658874b6f66690bf1009f858d8739b32c4 [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" "eec9bdb8b99f93ad2d6b36973534a4658874b6f66690bf1009f858d8739b32c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eec9bdb8b99f93ad2d6b36973534a4658874b6f66690bf1009f858d8739b32c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eec9bdb8b99f93ad2d6b36973534a4658874b6f66690bf1009f858d8739b32c4", kill_on_drop: false }` [INFO] [stdout] eec9bdb8b99f93ad2d6b36973534a4658874b6f66690bf1009f858d8739b32c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f86cd27b53fbe62f2b93c74282574131388462adf2166dbbb1f1819fc9ff6160 [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" "f86cd27b53fbe62f2b93c74282574131388462adf2166dbbb1f1819fc9ff6160", kill_on_drop: false }` [INFO] [stderr] Compiling ro-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | 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:236:23 [INFO] [stdout] | [INFO] [stdout] 236 | 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:242:45 [INFO] [stdout] | [INFO] [stdout] 242 | 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:268:21 [INFO] [stdout] | [INFO] [stdout] 268 | 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:292:35 [INFO] [stdout] | [INFO] [stdout] 292 | 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:300:20 [INFO] [stdout] | [INFO] [stdout] 300 | 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:315:21 [INFO] [stdout] | [INFO] [stdout] 315 | 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:359:17 [INFO] [stdout] | [INFO] [stdout] 359 | 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:366:23 [INFO] [stdout] | [INFO] [stdout] 366 | let keyword = expect!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:433:9 [INFO] [stdout] | [INFO] [stdout] 433 | 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:441:29 [INFO] [stdout] | [INFO] [stdout] 441 | ... 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:444:25 [INFO] [stdout] | [INFO] [stdout] 444 | 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:457:9 [INFO] [stdout] | [INFO] [stdout] 457 | 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:462:21 [INFO] [stdout] | [INFO] [stdout] 462 | 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:481:42 [INFO] [stdout] | [INFO] [stdout] 481 | 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:485:13 [INFO] [stdout] | [INFO] [stdout] 485 | 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:498:13 [INFO] [stdout] | [INFO] [stdout] 498 | 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:506:13 [INFO] [stdout] | [INFO] [stdout] 506 | expect!( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:518:21 [INFO] [stdout] | [INFO] [stdout] 518 | 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:524:62 [INFO] [stdout] | [INFO] [stdout] 524 | #[derive(Debug, Copy, Clone, PartialEq, PartialOrd, Eq, Ord, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `check_advance` in this scope [INFO] [stdout] --> src/parser.rs:785:42 [INFO] [stdout] | [INFO] [stdout] 785 | if let Some((token, operator)) = check_advance!( self, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `check_advance` in this scope [INFO] [stdout] --> src/parser.rs:805:43 [INFO] [stdout] | [INFO] [stdout] 805 | while let Some((token, is_and)) = check_advance!(self, TokenType::LogicalOr => false) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `check_advance` in this scope [INFO] [stdout] --> src/parser.rs:819:43 [INFO] [stdout] | [INFO] [stdout] 819 | while let Some((token, is_and)) = check_advance!(self, TokenType::LogicalAnd => true) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `check_advance` in this scope [INFO] [stdout] --> src/parser.rs:833:45 [INFO] [stdout] | [INFO] [stdout] 833 | ... while let Some((token, operator)) = check_advance!(self, TokenType::OpEq(Operator::Equal) => BinaryOperator::EqualEqual, TokenType:... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `check_advance` in this scope [INFO] [stdout] --> src/parser.rs:848:45 [INFO] [stdout] | [INFO] [stdout] 848 | while let Some((token, operator)) = check_advance!(self, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `check_advance` in this scope [INFO] [stdout] --> src/parser.rs:867:45 [INFO] [stdout] | [INFO] [stdout] 867 | ... while let Some((token, operator)) = check_advance!(self, TokenType::Op(Operator::Plus) => BinaryOperator::Plus, TokenType::Op(Opera... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `check_advance` in this scope [INFO] [stdout] --> src/parser.rs:882:45 [INFO] [stdout] | [INFO] [stdout] 882 | ... while let Some((token, operator)) = check_advance!(self, TokenType::Op(Operator::Divide) => BinaryOperator::Divide, TokenType::Op(O... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `check_advance` in this scope [INFO] [stdout] --> src/parser.rs:896:42 [INFO] [stdout] | [INFO] [stdout] 896 | ... if let Some((token, operator)) = check_advance!(self, TokenType::Op(Operator::Minus) => UnaryOperator::Minus, TokenType::Op(Operato... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `check_advance` in this scope [INFO] [stdout] --> src/parser.rs:912:40 [INFO] [stdout] | [INFO] [stdout] 912 | while let Some((_token, ())) = check_advance!(self, TokenType::LeftParenthesis => ()) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `expect` in this scope [INFO] [stdout] --> src/parser.rs:921:33 [INFO] [stdout] | [INFO] [stdout] 921 | ... 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:956:21 [INFO] [stdout] | [INFO] [stdout] 956 | 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:985:24 [INFO] [stdout] | [INFO] [stdout] 985 | let if_token = expect!(self, TokenType::Keyword(Keyword::If), "expected if", false)?; [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:209:12 [INFO] [stdout] | [INFO] [stdout] 209 | 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:334:21 [INFO] [stdout] | [INFO] [stdout] 334 | ) => 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:341:21 [INFO] [stdout] | [INFO] [stdout] 341 | ) => 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:342:32 [INFO] [stdout] | [INFO] [stdout] 342 | (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:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | 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:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | 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:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | 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:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | 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:402:55 [INFO] [stdout] | [INFO] [stdout] 402 | 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:424:12 [INFO] [stdout] | [INFO] [stdout] 424 | 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:471:29 [INFO] [stdout] | [INFO] [stdout] 471 | 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 `Expression` [INFO] [stdout] --> src/parser.rs:793:20 [INFO] [stdout] | [INFO] [stdout] 793 | left = Expression::Binary(BinaryExpression { [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:807:20 [INFO] [stdout] | [INFO] [stdout] 807 | left = Expression::Logical(LogicalExpression { [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:821:20 [INFO] [stdout] | [INFO] [stdout] 821 | left = Expression::Logical(LogicalExpression { [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:836:20 [INFO] [stdout] | [INFO] [stdout] 836 | left = Expression::Binary(BinaryExpression { [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:855:20 [INFO] [stdout] | [INFO] [stdout] 855 | left = Expression::Binary(BinaryExpression { [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:870:20 [INFO] [stdout] | [INFO] [stdout] 870 | left = Expression::Binary(BinaryExpression { [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:885:20 [INFO] [stdout] | [INFO] [stdout] 885 | left = Expression::Binary(BinaryExpression { [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:899:16 [INFO] [stdout] | [INFO] [stdout] 899 | Ok(Expression::Unary(UnaryExpression { [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:935:26 [INFO] [stdout] | [INFO] [stdout] 935 | expression = Expression::Call(CallExpression { [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:947:46 [INFO] [stdout] | [INFO] [stdout] 947 | TokenType::Boolean(value) => Expression::BooleanLiteral(value), [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:948:38 [INFO] [stdout] | [INFO] [stdout] 948 | TokenType::Number => Expression::IntegerLiteral(42), [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:949:52 [INFO] [stdout] | [INFO] [stdout] 949 | TokenType::StringLiteral(value) => Expression::StringLiteral(value), [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:951:31 [INFO] [stdout] | [INFO] [stdout] 951 | return Ok(Expression::Named(self.parse_name()?)) [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:959:51 [INFO] [stdout] | [INFO] [stdout] 959 | TokenType::LeftBrace => return Ok(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:960:62 [INFO] [stdout] | [INFO] [stdout] 960 | TokenType::Keyword(Keyword::If) => return Ok(Expression::If(self.parse_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:963:31 [INFO] [stdout] | [INFO] [stdout] 963 | return Ok(Expression::Struct(self.parse_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:994:22 [INFO] [stdout] | [INFO] [stdout] 994 | 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:1012:31 [INFO] [stdout] | [INFO] [stdout] 1012 | 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:1014:31 [INFO] [stdout] | [INFO] [stdout] 1014 | Some(Box::new(Expression::If(self.parse_if()?))) [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:207:50 [INFO] [stdout] | [INFO] [stdout] 206 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 207 | 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:212:52 [INFO] [stdout] | [INFO] [stdout] 206 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 212 | 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:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | 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:267:66 [INFO] [stdout] | [INFO] [stdout] 267 | 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] 267 | fn parse_identifier(&mut self, message: &str) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 206 | 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:270:16 [INFO] [stdout] | [INFO] [stdout] 270 | 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:279:45 [INFO] [stdout] | [INFO] [stdout] 279 | 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] 279 | fn parse_name(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 206 | 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:296:12 [INFO] [stdout] | [INFO] [stdout] 296 | 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:299:46 [INFO] [stdout] | [INFO] [stdout] 206 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 299 | 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:316:12 [INFO] [stdout] | [INFO] [stdout] 316 | 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:323:50 [INFO] [stdout] | [INFO] [stdout] 206 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 323 | 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:351:61 [INFO] [stdout] | [INFO] [stdout] 206 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 351 | 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:355:32 [INFO] [stdout] | [INFO] [stdout] 355 | 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:365:47 [INFO] [stdout] | [INFO] [stdout] 206 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 365 | 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:424:31 [INFO] [stdout] | [INFO] [stdout] 424 | 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:432:55 [INFO] [stdout] | [INFO] [stdout] 206 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 432 | 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:446:41 [INFO] [stdout] | [INFO] [stdout] 446 | 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:461:56 [INFO] [stdout] | [INFO] [stdout] 206 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 461 | 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:473:12 [INFO] [stdout] | [INFO] [stdout] 473 | 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:480:47 [INFO] [stdout] | [INFO] [stdout] 206 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 480 | 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:500:16 [INFO] [stdout] | [INFO] [stdout] 500 | 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:516:54 [INFO] [stdout] | [INFO] [stdout] 206 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 516 | 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:520:12 [INFO] [stdout] | [INFO] [stdout] 520 | Ok(StructMember { identifier, type_ }) [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:783:55 [INFO] [stdout] | [INFO] [stdout] 575 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 783 | fn expr_prec_assignment(&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 `BinaryExpression` in this scope [INFO] [stdout] --> src/parser.rs:793:39 [INFO] [stdout] | [INFO] [stdout] 793 | left = Expression::Binary(BinaryExpression { [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:803:47 [INFO] [stdout] | [INFO] [stdout] 575 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 803 | fn expr_prec_or(&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 `LogicalExpression` in this scope [INFO] [stdout] --> src/parser.rs:807:40 [INFO] [stdout] | [INFO] [stdout] 807 | left = Expression::Logical(LogicalExpression { [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:817:48 [INFO] [stdout] | [INFO] [stdout] 575 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 817 | fn expr_prec_and(&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 `LogicalExpression` in this scope [INFO] [stdout] --> src/parser.rs:821:40 [INFO] [stdout] | [INFO] [stdout] 821 | left = Expression::Logical(LogicalExpression { [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:831:53 [INFO] [stdout] | [INFO] [stdout] 575 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 831 | fn expr_prec_equality(&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 `BinaryExpression` in this scope [INFO] [stdout] --> src/parser.rs:836:39 [INFO] [stdout] | [INFO] [stdout] 836 | left = Expression::Binary(BinaryExpression { [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:846:55 [INFO] [stdout] | [INFO] [stdout] 575 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 846 | fn expr_prec_comparison(&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 `BinaryExpression` in this scope [INFO] [stdout] --> src/parser.rs:855:39 [INFO] [stdout] | [INFO] [stdout] 855 | left = Expression::Binary(BinaryExpression { [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:865:49 [INFO] [stdout] | [INFO] [stdout] 575 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 865 | fn expr_prec_term(&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 `BinaryExpression` in this scope [INFO] [stdout] --> src/parser.rs:870:39 [INFO] [stdout] | [INFO] [stdout] 870 | left = Expression::Binary(BinaryExpression { [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:880:51 [INFO] [stdout] | [INFO] [stdout] 575 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 880 | fn expr_prec_factor(&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 `BinaryExpression` in this scope [INFO] [stdout] --> src/parser.rs:885:39 [INFO] [stdout] | [INFO] [stdout] 885 | left = Expression::Binary(BinaryExpression { [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:895:50 [INFO] [stdout] | [INFO] [stdout] 575 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 895 | fn expr_prec_unary(&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 `UnaryExpression` in this scope [INFO] [stdout] --> src/parser.rs:899:34 [INFO] [stdout] | [INFO] [stdout] 899 | Ok(Expression::Unary(UnaryExpression { [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:909:49 [INFO] [stdout] | [INFO] [stdout] 575 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 909 | fn expr_prec_call(&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 `CallExpression` in this scope [INFO] [stdout] --> src/parser.rs:935:43 [INFO] [stdout] | [INFO] [stdout] 935 | expression = Expression::Call(CallExpression { [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:944:52 [INFO] [stdout] | [INFO] [stdout] 575 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 944 | fn expr_prec_primary(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IfExpression` in this scope [INFO] [stdout] --> src/parser.rs:984:43 [INFO] [stdout] | [INFO] [stdout] 575 | impl Parser<'_> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 984 | fn parse_if(&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 `IfExpression` in this scope [INFO] [stdout] --> src/parser.rs:1020:12 [INFO] [stdout] | [INFO] [stdout] 1020 | Ok(IfExpression { [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 111 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0117, E0204, E0412, E0422, E0425, 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] running `Command { std: "docker" "inspect" "f86cd27b53fbe62f2b93c74282574131388462adf2166dbbb1f1819fc9ff6160", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f86cd27b53fbe62f2b93c74282574131388462adf2166dbbb1f1819fc9ff6160", kill_on_drop: false }` [INFO] [stdout] f86cd27b53fbe62f2b93c74282574131388462adf2166dbbb1f1819fc9ff6160