[INFO] cloning repository https://github.com/bwburnsides/opal [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bwburnsides/opal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbwburnsides%2Fopal", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbwburnsides%2Fopal'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d4434c25392066f63a4c832717517e1ed5d8184c [INFO] checking bwburnsides/opal/d4434c25392066f63a4c832717517e1ed5d8184c against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbwburnsides%2Fopal" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bwburnsides/opal on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bwburnsides/opal [INFO] finished tweaking git repo https://github.com/bwburnsides/opal [INFO] tweaked toml for git repo https://github.com/bwburnsides/opal written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 014ea7977f95072aa819b69bf7726d617558d32bab0314a0086e94d3bce3a102 [INFO] running `Command { std: "docker" "start" "-a" "014ea7977f95072aa819b69bf7726d617558d32bab0314a0086e94d3bce3a102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "014ea7977f95072aa819b69bf7726d617558d32bab0314a0086e94d3bce3a102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "014ea7977f95072aa819b69bf7726d617558d32bab0314a0086e94d3bce3a102", kill_on_drop: false }` [INFO] [stdout] 014ea7977f95072aa819b69bf7726d617558d32bab0314a0086e94d3bce3a102 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea8ed178055f0996af11d7532d490309006c16b084fd147b643766c9028fe999 [INFO] running `Command { std: "docker" "start" "-a" "ea8ed178055f0996af11d7532d490309006c16b084fd147b643766c9028fe999", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking experiment v0.1.0 (/opt/rustwide/workdir/experiment) [INFO] [stderr] Checking boot2 v0.1.0 (/opt/rustwide/workdir/boot2) [INFO] [stderr] Checking opal_lexer v0.1.0 (/opt/rustwide/workdir/opal_lexer) [INFO] [stderr] Checking opal v0.1.0 (/opt/rustwide/workdir/bootstrap) [INFO] [stdout] error[E0432]: unresolved imports `crate::model::AssignmentOperator`, `crate::model::Expression`, `crate::model::ExpressionKind` [INFO] [stdout] --> bootstrap/src/parse/expr.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | AssignmentOperator, Expression, ExpressionKind, KeywordToken, LiteralToken, Token, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ no `ExpressionKind` in `model` [INFO] [stdout] | | | [INFO] [stdout] | | no `Expression` in `model` [INFO] [stdout] | no `AssignmentOperator` in `model` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::parse::base::Expression [INFO] [stdout] crate::parse::base::Statement::Expression [INFO] [stdout] = help: consider importing this enum instead: [INFO] [stdout] crate::parse::base::ExpressionKind [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::parse::ExpressionWithoutBlock` [INFO] [stdout] --> bootstrap/src/parse/expr.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::parse::{ExpressionWithoutBlock, ParseResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `ExpressionWithoutBlock` in `parse` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::parse::base::ExpressionKind::ExpressionWithoutBlock [INFO] [stdout] crate::parse::base::ExpressionWithoutBlock [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::model::AssignmentOperator`, `crate::model::Expression`, `crate::model::ExpressionKind` [INFO] [stdout] --> bootstrap/src/parse/expr.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | AssignmentOperator, Expression, ExpressionKind, KeywordToken, LiteralToken, Token, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ no `ExpressionKind` in `model` [INFO] [stdout] | | | [INFO] [stdout] | | no `Expression` in `model` [INFO] [stdout] | no `AssignmentOperator` in `model` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::parse::base::Expression [INFO] [stdout] crate::parse::base::Statement::Expression [INFO] [stdout] = help: consider importing this enum instead: [INFO] [stdout] crate::parse::base::ExpressionKind [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::parse::ExpressionWithoutBlock` [INFO] [stdout] --> bootstrap/src/parse/expr.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::parse::{ExpressionWithoutBlock, ParseResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `ExpressionWithoutBlock` in `parse` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::parse::base::ExpressionKind::ExpressionWithoutBlock [INFO] [stdout] crate::parse::base::ExpressionWithoutBlock [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::ArithmeticOrLogicalOperator`, `super::BlockExpression`, `super::ComparisonOperator`, `super::LazyBooleanOperator` [INFO] [stdout] --> bootstrap/src/parse/expr.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | ArithmeticOrLogicalOperator, BlockExpression, ComparisonOperator, LazyBooleanOperator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ no `LazyBooleanOperator` in `parse` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `ComparisonOperator` in `parse` [INFO] [stdout] | | no `BlockExpression` in `parse` [INFO] [stdout] | | help: a similar name exists in the module: `block_expression` [INFO] [stdout] | no `ArithmeticOrLogicalOperator` in `parse` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this type alias instead: [INFO] [stdout] crate::parse::base::BlockExpression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::model::Identifier` [INFO] [stdout] --> bootstrap/src/scope.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::{types::Type, Identifier, Symbol}; [INFO] [stdout] | ^^^^^^^^^^ no `Identifier` in `model` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this variant instead: [INFO] [stdout] crate::model::Token::Identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ItemKind` [INFO] [stdout] --> bootstrap/src/parse/item.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | use ItemKind::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::ArithmeticOrLogicalOperator`, `super::BlockExpression`, `super::ComparisonOperator`, `super::LazyBooleanOperator` [INFO] [stdout] --> bootstrap/src/parse/expr.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | ArithmeticOrLogicalOperator, BlockExpression, ComparisonOperator, LazyBooleanOperator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ no `LazyBooleanOperator` in `parse` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `ComparisonOperator` in `parse` [INFO] [stdout] | | no `BlockExpression` in `parse` [INFO] [stdout] | | help: a similar name exists in the module: `block_expression` [INFO] [stdout] | no `ArithmeticOrLogicalOperator` in `parse` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this type alias instead: [INFO] [stdout] crate::parse::base::BlockExpression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::model::Identifier` [INFO] [stdout] --> bootstrap/src/scope.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::{types::Type, Identifier, Symbol}; [INFO] [stdout] | ^^^^^^^^^^ no `Identifier` in `model` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this variant instead: [INFO] [stdout] crate::model::Token::Identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ItemKind` [INFO] [stdout] --> bootstrap/src/parse/item.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | use ItemKind::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 175 | let start = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 176 | LBrace, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Unit` found for enum `token::KeywordToken` in the current scope [INFO] [stdout] --> bootstrap/src/parse/expr.rs:222:23 [INFO] [stdout] | [INFO] [stdout] 222 | | Keyword(Kw::Unit) [INFO] [stdout] | ^^^^ variant or associated item not found in `KeywordToken` [INFO] [stdout] | [INFO] [stdout] ::: bootstrap/src/model/token.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum KeywordToken { [INFO] [stdout] | --------------------- variant or associated item `Unit` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 271 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 272 | basic.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 307 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 308 | basic.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 343 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 344 | basic.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 372 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 373 | LParen, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:381:31 [INFO] [stdout] | [INFO] [stdout] 381 | match tokens.peek_for(RParen, String::from("")) { [INFO] [stdout] | -------- ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:403:31 [INFO] [stdout] | [INFO] [stdout] 403 | match tokens.peek_for(Comma, String::from("")) { [INFO] [stdout] | -------- ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 419 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 420 | LBrack, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:427:9 [INFO] [stdout] | [INFO] [stdout] 426 | let rbrack = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 427 | RBrack, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:450:9 [INFO] [stdout] | [INFO] [stdout] 449 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 450 | Period, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:454:9 [INFO] [stdout] | [INFO] [stdout] 453 | let ident = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 454 | IdentifierToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IdentifierToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:481:9 [INFO] [stdout] | [INFO] [stdout] 480 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 481 | basic.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:504:9 [INFO] [stdout] | [INFO] [stdout] 503 | let lparen = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 504 | LParen, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 175 | let start = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 176 | LBrace, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 509 | let rparen = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 510 | RParen, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Unit` found for enum `token::KeywordToken` in the current scope [INFO] [stdout] --> bootstrap/src/parse/expr.rs:222:23 [INFO] [stdout] | [INFO] [stdout] 222 | | Keyword(Kw::Unit) [INFO] [stdout] | ^^^^ variant or associated item not found in `KeywordToken` [INFO] [stdout] | [INFO] [stdout] ::: bootstrap/src/model/token.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum KeywordToken { [INFO] [stdout] | --------------------- variant or associated item `Unit` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 538 | let found = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 539 | Question, [INFO] [stdout] | ^^^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 271 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 272 | basic.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:615:9 [INFO] [stdout] | [INFO] [stdout] 614 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 615 | LBrack, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 307 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 308 | basic.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:623:31 [INFO] [stdout] | [INFO] [stdout] 623 | match tokens.peek_for(RBrack, String::from("")) { [INFO] [stdout] | -------- ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 343 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 344 | basic.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:642:31 [INFO] [stdout] | [INFO] [stdout] 642 | match tokens.peek_for(Comma, String::from("")) { [INFO] [stdout] | -------- ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Mod` found for enum `token::KeywordToken` in the current scope [INFO] [stdout] --> bootstrap/src/parse/item.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | Keyword(Kw::Mod) => { [INFO] [stdout] | ^^^ variant or associated item not found in `KeywordToken` [INFO] [stdout] | [INFO] [stdout] ::: bootstrap/src/model/token.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum KeywordToken { [INFO] [stdout] | --------------------- variant or associated item `Mod` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 372 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 373 | LParen, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:381:31 [INFO] [stdout] | [INFO] [stdout] 381 | match tokens.peek_for(RParen, String::from("")) { [INFO] [stdout] | -------- ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:403:31 [INFO] [stdout] | [INFO] [stdout] 403 | match tokens.peek_for(Comma, String::from("")) { [INFO] [stdout] | -------- ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 419 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 420 | LBrack, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 54 | let name = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 55 | IdentifierToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IdentifierToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:427:9 [INFO] [stdout] | [INFO] [stdout] 426 | let rbrack = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 427 | RBrack, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | match tokens.peek_for(Semicolon, String::from("")) { [INFO] [stdout] | -------- ^^^^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:450:9 [INFO] [stdout] | [INFO] [stdout] 449 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 450 | Period, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 65 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 66 | LBrace, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:454:9 [INFO] [stdout] | [INFO] [stdout] 453 | let ident = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 454 | IdentifierToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IdentifierToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:72:39 [INFO] [stdout] | [INFO] [stdout] 72 | match tokens.peek_for(RBrace, String::from("")) { [INFO] [stdout] | -------- ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:481:9 [INFO] [stdout] | [INFO] [stdout] 480 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 481 | basic.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 116 | let function_name = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 117 | IdentifierToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IdentifierToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:504:9 [INFO] [stdout] | [INFO] [stdout] 503 | let lparen = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 504 | LParen, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 121 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 122 | LParen, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 509 | let rparen = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 510 | RParen, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:133:31 [INFO] [stdout] | [INFO] [stdout] 133 | match tokens.peek_for(RParen, String::from("")) { [INFO] [stdout] | -------- ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:539:9 [INFO] [stdout] | [INFO] [stdout] 538 | let found = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 539 | Question, [INFO] [stdout] | ^^^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:150:31 [INFO] [stdout] | [INFO] [stdout] 150 | match tokens.peek_for(Comma, String::from("")) { [INFO] [stdout] | -------- ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 186 | let name = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 187 | IdentifierToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IdentifierToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:615:9 [INFO] [stdout] | [INFO] [stdout] 614 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 615 | LBrack, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 191 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 192 | Equal, [INFO] [stdout] | ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:623:31 [INFO] [stdout] | [INFO] [stdout] 623 | match tokens.peek_for(RBrack, String::from("")) { [INFO] [stdout] | -------- ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 201 | let end = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 202 | Semicolon, [INFO] [stdout] | ^^^^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/expr.rs:642:31 [INFO] [stdout] | [INFO] [stdout] 642 | match tokens.peek_for(Comma, String::from("")) { [INFO] [stdout] | -------- ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Mod` found for enum `token::KeywordToken` in the current scope [INFO] [stdout] --> bootstrap/src/parse/item.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | Keyword(Kw::Mod) => { [INFO] [stdout] | ^^^ variant or associated item not found in `KeywordToken` [INFO] [stdout] | [INFO] [stdout] ::: bootstrap/src/model/token.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum KeywordToken { [INFO] [stdout] | --------------------- variant or associated item `Mod` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 224 | let name = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 225 | IdentifierToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IdentifierToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 229 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 230 | LBrace, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:244:31 [INFO] [stdout] | [INFO] [stdout] 244 | match tokens.peek_for(Comma, String::from("")) { [INFO] [stdout] | -------- ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 54 | let name = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 55 | IdentifierToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IdentifierToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 250 | let end = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 251 | RBrace, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | match tokens.peek_for(Semicolon, String::from("")) { [INFO] [stdout] | -------- ^^^^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 273 | let name = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 274 | IdentifierToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IdentifierToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 65 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 66 | LBrace, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 278 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 279 | LBrace, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:72:39 [INFO] [stdout] | [INFO] [stdout] 72 | match tokens.peek_for(RBrace, String::from("")) { [INFO] [stdout] | -------- ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:292:31 [INFO] [stdout] | [INFO] [stdout] 292 | match tokens.peek_for(Comma, String::from("")) { [INFO] [stdout] | -------- ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 116 | let function_name = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 117 | IdentifierToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IdentifierToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 298 | let end = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 299 | RBrace, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 121 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 122 | LParen, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 321 | let name = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 322 | IdentifierToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IdentifierToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:133:31 [INFO] [stdout] | [INFO] [stdout] 133 | match tokens.peek_for(RParen, String::from("")) { [INFO] [stdout] | -------- ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 326 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 327 | Colon, [INFO] [stdout] | ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:150:31 [INFO] [stdout] | [INFO] [stdout] 150 | match tokens.peek_for(Comma, String::from("")) { [INFO] [stdout] | -------- ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 336 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 337 | Equal, [INFO] [stdout] | ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 186 | let name = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 187 | IdentifierToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IdentifierToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 346 | let end = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 347 | Semicolon, [INFO] [stdout] | ^^^^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 191 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 192 | Equal, [INFO] [stdout] | ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 369 | let name = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 370 | IdentifierToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IdentifierToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 201 | let end = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 202 | Semicolon, [INFO] [stdout] | ^^^^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 374 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 375 | Colon, [INFO] [stdout] | ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 224 | let name = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 225 | IdentifierToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IdentifierToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 384 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 385 | Equal, [INFO] [stdout] | ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 229 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 230 | LBrace, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 394 | let end = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 395 | Semicolon, [INFO] [stdout] | ^^^^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:244:31 [INFO] [stdout] | [INFO] [stdout] 244 | match tokens.peek_for(Comma, String::from("")) { [INFO] [stdout] | -------- ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:548:17 [INFO] [stdout] | [INFO] [stdout] 547 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 548 | Semicolon, [INFO] [stdout] | ^^^^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 250 | let end = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 251 | RBrace, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:552:17 [INFO] [stdout] | [INFO] [stdout] 551 | let size = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 552 | IntegerLiteralToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IntegerLiteralToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 273 | let name = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 274 | IdentifierToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IdentifierToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:556:17 [INFO] [stdout] | [INFO] [stdout] 555 | let end = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 556 | RBrack, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 278 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 279 | LBrace, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:583:17 [INFO] [stdout] | [INFO] [stdout] 582 | let end = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 583 | RParen, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:292:31 [INFO] [stdout] | [INFO] [stdout] 292 | match tokens.peek_for(Comma, String::from("")) { [INFO] [stdout] | -------- ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:616:9 [INFO] [stdout] | [INFO] [stdout] 615 | let name = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 616 | IdentifierToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IdentifierToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 298 | let end = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 299 | RBrace, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:622:9 [INFO] [stdout] | [INFO] [stdout] 621 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 622 | Colon, [INFO] [stdout] | ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 321 | let name = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 322 | IdentifierToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IdentifierToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:643:32 [INFO] [stdout] | [INFO] [stdout] 643 | let name = tokens.peek_for(IdentifierToken, "Expected field name".to_string())?; [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IdentifierToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 326 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 327 | Colon, [INFO] [stdout] | ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:647:9 [INFO] [stdout] | [INFO] [stdout] 646 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 647 | Colon, [INFO] [stdout] | ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 336 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 337 | Equal, [INFO] [stdout] | ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:662:9 [INFO] [stdout] | [INFO] [stdout] 661 | let name = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 662 | IdentifierToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IdentifierToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 346 | let end = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 347 | Semicolon, [INFO] [stdout] | ^^^^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:673:39 [INFO] [stdout] | [INFO] [stdout] 673 | match tokens.peek_for(RParen, String::from("")) { [INFO] [stdout] | -------- ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 369 | let name = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 370 | IdentifierToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IdentifierToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:691:39 [INFO] [stdout] | [INFO] [stdout] 691 | match tokens.peek_for(Comma, String::from("")) { [INFO] [stdout] | -------- ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 374 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 375 | Colon, [INFO] [stdout] | ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:705:39 [INFO] [stdout] | [INFO] [stdout] 705 | match tokens.peek_for(RBrace, String::from("")) { [INFO] [stdout] | -------- ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 384 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 385 | Equal, [INFO] [stdout] | ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:723:39 [INFO] [stdout] | [INFO] [stdout] 723 | match tokens.peek_for(Comma, String::from("")) { [INFO] [stdout] | -------- ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 394 | let end = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 395 | Semicolon, [INFO] [stdout] | ^^^^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:548:17 [INFO] [stdout] | [INFO] [stdout] 547 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 548 | Semicolon, [INFO] [stdout] | ^^^^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:552:17 [INFO] [stdout] | [INFO] [stdout] 551 | let size = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 552 | IntegerLiteralToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IntegerLiteralToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:556:17 [INFO] [stdout] | [INFO] [stdout] 555 | let end = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 556 | RBrack, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/stmt.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | let name = tokens.peek_for(IdentifierToken, String::from("Expected identifier"))?; [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IdentifierToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/stmt.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | let maybe_type = match tokens.peek_for(Colon, String::from("")) { [INFO] [stdout] | -------- ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:583:17 [INFO] [stdout] | [INFO] [stdout] 582 | let end = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 583 | RParen, [INFO] [stdout] | ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/stmt.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | let maybe_init = match tokens.peek_for(Equal, String::from("")) { [INFO] [stdout] | -------- ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:616:9 [INFO] [stdout] | [INFO] [stdout] 615 | let name = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 616 | IdentifierToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IdentifierToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/stmt.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | let end = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 49 | Semicolon, [INFO] [stdout] | ^^^^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:622:9 [INFO] [stdout] | [INFO] [stdout] 621 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 622 | Colon, [INFO] [stdout] | ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:643:32 [INFO] [stdout] | [INFO] [stdout] 643 | let name = tokens.peek_for(IdentifierToken, "Expected field name".to_string())?; [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IdentifierToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | .peek_for(BasicToken::Colon2, String::from("")) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:647:9 [INFO] [stdout] | [INFO] [stdout] 646 | tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 647 | Colon, [INFO] [stdout] | ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 103 | match tokens.peek_for(IdentifierToken, String::from("")) { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IdentifierToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | match tokens.peek_for(BasicToken::Colon2, String::from("")) { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:662:9 [INFO] [stdout] | [INFO] [stdout] 661 | let name = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 662 | IdentifierToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IdentifierToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:673:39 [INFO] [stdout] | [INFO] [stdout] 673 | match tokens.peek_for(RParen, String::from("")) { [INFO] [stdout] | -------- ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:691:39 [INFO] [stdout] | [INFO] [stdout] 691 | match tokens.peek_for(Comma, String::from("")) { [INFO] [stdout] | -------- ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:705:39 [INFO] [stdout] | [INFO] [stdout] 705 | match tokens.peek_for(RBrace, String::from("")) { [INFO] [stdout] | -------- ^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/item.rs:723:39 [INFO] [stdout] | [INFO] [stdout] 723 | match tokens.peek_for(Comma, String::from("")) { [INFO] [stdout] | -------- ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/stmt.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | let name = tokens.peek_for(IdentifierToken, String::from("Expected identifier"))?; [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IdentifierToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/stmt.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | let maybe_type = match tokens.peek_for(Colon, String::from("")) { [INFO] [stdout] | -------- ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/stmt.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | let maybe_init = match tokens.peek_for(Equal, String::from("")) { [INFO] [stdout] | -------- ^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse/stmt.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | let end = tokens.peek_for( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 49 | Semicolon, [INFO] [stdout] | ^^^^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `opal` (bin "opal") due to 72 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | .peek_for(BasicToken::Colon2, String::from("")) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 103 | match tokens.peek_for(IdentifierToken, String::from("")) { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ expected `KeywordToken`, found `IdentifierToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> bootstrap/src/parse.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | match tokens.peek_for(BasicToken::Colon2, String::from("")) { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^ expected `KeywordToken`, found `BasicToken` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> bootstrap/src/stream.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn peek_for(&mut self, kind: T, error_message: String) -> U; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `opal` (bin "opal" test) due to 72 previous errors [INFO] running `Command { std: "docker" "inspect" "ea8ed178055f0996af11d7532d490309006c16b084fd147b643766c9028fe999", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea8ed178055f0996af11d7532d490309006c16b084fd147b643766c9028fe999", kill_on_drop: false }` [INFO] [stdout] ea8ed178055f0996af11d7532d490309006c16b084fd147b643766c9028fe999