[INFO] cloning repository https://github.com/rock117/r-lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rock117/r-lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frock117%2Fr-lox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frock117%2Fr-lox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c5158236a63a4c719170e09c8a76ddd89ecfaa6 [INFO] checking rock117/r-lox against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frock117%2Fr-lox" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rock117/r-lox on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rock117/r-lox [INFO] finished tweaking git repo https://github.com/rock117/r-lox [INFO] tweaked toml for git repo https://github.com/rock117/r-lox written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rock117/r-lox already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded map-macro v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 417bb1e77de65af7b60a4b57c34484cd3420d6f3298f352dc699e73aa46c37d7 [INFO] running `Command { std: "docker" "start" "-a" "417bb1e77de65af7b60a4b57c34484cd3420d6f3298f352dc699e73aa46c37d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "417bb1e77de65af7b60a4b57c34484cd3420d6f3298f352dc699e73aa46c37d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "417bb1e77de65af7b60a4b57c34484cd3420d6f3298f352dc699e73aa46c37d7", kill_on_drop: false }` [INFO] [stdout] 417bb1e77de65af7b60a4b57c34484cd3420d6f3298f352dc699e73aa46c37d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61f744c8176369fa222400a1e16c811858176c5ed4f25a6ef3872f42db388cef [INFO] running `Command { std: "docker" "start" "-a" "61f744c8176369fa222400a1e16c811858176c5ed4f25a6ef3872f42db388cef", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking map-macro v0.3.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking r-lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/scanner.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | /// The closing ". [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 192 | self.advance(); [INFO] [stdout] | -------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LEFT_PAREN` should have an upper camel case name [INFO] [stdout] --> src/token/token_type.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | LEFT_PAREN, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LeftParen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RIGHT_PAREN` should have an upper camel case name [INFO] [stdout] --> src/token/token_type.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | RIGHT_PAREN, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RightParen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LEFT_BRACE` should have an upper camel case name [INFO] [stdout] --> src/token/token_type.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | LEFT_BRACE, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LeftBrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RIGHT_BRACE` should have an upper camel case name [INFO] [stdout] --> src/token/token_type.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | RIGHT_BRACE, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RightBrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BANG_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/token/token_type.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | BANG_EQUAL, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `BangEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EQUAL_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/token/token_type.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | EQUAL_EQUAL, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `EqualEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GREATER_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/token/token_type.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | GREATER_EQUAL, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GreaterEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LESS_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/token/token_type.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | LESS_EQUAL, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LessEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/scanner.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | /// The closing ". [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 192 | self.advance(); [INFO] [stdout] | -------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LEFT_PAREN` should have an upper camel case name [INFO] [stdout] --> src/token/token_type.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | LEFT_PAREN, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LeftParen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RIGHT_PAREN` should have an upper camel case name [INFO] [stdout] --> src/token/token_type.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | RIGHT_PAREN, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RightParen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LEFT_BRACE` should have an upper camel case name [INFO] [stdout] --> src/token/token_type.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | LEFT_BRACE, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LeftBrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RIGHT_BRACE` should have an upper camel case name [INFO] [stdout] --> src/token/token_type.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | RIGHT_BRACE, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RightBrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BANG_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/token/token_type.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | BANG_EQUAL, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `BangEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EQUAL_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/token/token_type.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | EQUAL_EQUAL, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `EqualEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GREATER_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/token/token_type.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | GREATER_EQUAL, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GreaterEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LESS_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/token/token_type.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | LESS_EQUAL, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LessEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `Interpreter::new` in statics [INFO] [stdout] --> src/lox.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | static interpreter: Interpreter = Interpreter::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `std::sync::LazyLock::new(|| ...)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `Interpreter::new` in statics [INFO] [stdout] --> src/lox.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | static interpreter: Interpreter = Interpreter::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `std::sync::LazyLock::new(|| ...)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&_: Expr` is not satisfied [INFO] [stdout] --> src/lox.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | let expression = parser.parse(); [INFO] [stdout] | ^^^^^ the trait `Expr` is not implemented for `&_` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Expr`: [INFO] [stdout] Grouping [INFO] [stdout] Unary [INFO] [stdout] binary::Binary [INFO] [stdout] literal::Literal [INFO] [stdout] note: required by a bound in `Parser::parse` [INFO] [stdout] --> src/parser.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn parse(&mut self) -> Option { [INFO] [stdout] | ^^^^ required by this bound in `Parser::parse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&_: Expr` is not satisfied [INFO] [stdout] --> src/lox.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | let expression = parser.parse(); [INFO] [stdout] | ^^^^^ the trait `Expr` is not implemented for `&_` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Expr`: [INFO] [stdout] Grouping [INFO] [stdout] Unary [INFO] [stdout] binary::Binary [INFO] [stdout] literal::Literal [INFO] [stdout] note: required by a bound in `Parser::parse` [INFO] [stdout] --> src/parser.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn parse(&mut self) -> Option { [INFO] [stdout] | ^^^^ required by this bound in `Parser::parse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow assigning `binary::Binary<_, _>` to `_` [INFO] [stdout] --> src/parser.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | expr = Binary::new(expr, operator, right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow assigning `binary::Binary<_, _>` to `_` [INFO] [stdout] --> src/parser.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | expr = Binary::new(expr, operator, right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow assigning `binary::Binary<_, _>` to `_` [INFO] [stdout] --> src/parser.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | expr = Binary::new(expr, operator, right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow assigning `binary::Binary<_, _>` to `_` [INFO] [stdout] --> src/parser.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | expr = Binary::new(expr, operator, right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow assigning `binary::Binary<_, _>` to `_` [INFO] [stdout] --> src/parser.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | expr = Binary::new(expr, operator, right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow assigning `binary::Binary<_, _>` to `_` [INFO] [stdout] --> src/parser.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | expr = Binary::new(expr, operator, right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow assigning `binary::Binary<_, _>` to `_` [INFO] [stdout] --> src/parser.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | expr = Binary::new(expr, operator, right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow assigning `binary::Binary<_, _>` to `_` [INFO] [stdout] --> src/parser.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | expr = Binary::new(expr, operator, right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 77 | fn unary(&mut self) -> E { [INFO] [stdout] | - - expected `E` because of return type [INFO] [stdout] | | [INFO] [stdout] | expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 81 | return Unary::new(operator, right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter `E`, found `Unary<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `E` [INFO] [stdout] found struct `Unary<_>` [INFO] [stdout] = note: the caller chooses a type for `E` which can be different from `Unary<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 77 | fn unary(&mut self) -> E { [INFO] [stdout] | - - expected `E` because of return type [INFO] [stdout] | | [INFO] [stdout] | expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 81 | return Unary::new(operator, right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter `E`, found `Unary<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `E` [INFO] [stdout] found struct `Unary<_>` [INFO] [stdout] = note: the caller chooses a type for `E` which can be different from `Unary<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:88:23 [INFO] [stdout] | [INFO] [stdout] 86 | fn primary(&mut self) -> Result { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] 87 | if self.match_(&[FALSE]) { [INFO] [stdout] 88 | return Ok(Literal::new(Some(false))); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter `E`, found `Literal` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `E` [INFO] [stdout] found struct `literal::Literal` [INFO] [stdout] help: the type constructed contains `literal::Literal` due to the type of the argument passed [INFO] [stdout] --> src/parser.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | return Ok(Literal::new(Some(false))); [INFO] [stdout] | ^^^-------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/2e6fc425411280c658d852813de01c5157255088/library/core/src/result.rs:531:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:88:23 [INFO] [stdout] | [INFO] [stdout] 86 | fn primary(&mut self) -> Result { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] 87 | if self.match_(&[FALSE]) { [INFO] [stdout] 88 | return Ok(Literal::new(Some(false))); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter `E`, found `Literal` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `E` [INFO] [stdout] found struct `literal::Literal` [INFO] [stdout] help: the type constructed contains `literal::Literal` due to the type of the argument passed [INFO] [stdout] --> src/parser.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | return Ok(Literal::new(Some(false))); [INFO] [stdout] | ^^^-------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/2e6fc425411280c658d852813de01c5157255088/library/core/src/result.rs:531:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 86 | fn primary(&mut self) -> Result { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 91 | return Ok(Literal::new(Some(true))); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter `E`, found `Literal` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `E` [INFO] [stdout] found struct `literal::Literal` [INFO] [stdout] help: the type constructed contains `literal::Literal` due to the type of the argument passed [INFO] [stdout] --> src/parser.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | return Ok(Literal::new(Some(true))); [INFO] [stdout] | ^^^------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/2e6fc425411280c658d852813de01c5157255088/library/core/src/result.rs:531:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 86 | fn primary(&mut self) -> Result { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 91 | return Ok(Literal::new(Some(true))); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter `E`, found `Literal` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `E` [INFO] [stdout] found struct `literal::Literal` [INFO] [stdout] help: the type constructed contains `literal::Literal` due to the type of the argument passed [INFO] [stdout] --> src/parser.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | return Ok(Literal::new(Some(true))); [INFO] [stdout] | ^^^------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/2e6fc425411280c658d852813de01c5157255088/library/core/src/result.rs:531:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 86 | fn primary(&mut self) -> Result { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 94 | return Ok(Literal::new(None)); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^ expected type parameter `E`, found `Literal<_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `E` [INFO] [stdout] found struct `literal::Literal<_>` [INFO] [stdout] help: the type constructed contains `literal::Literal<_>` due to the type of the argument passed [INFO] [stdout] --> src/parser.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | return Ok(Literal::new(None)); [INFO] [stdout] | ^^^------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/2e6fc425411280c658d852813de01c5157255088/library/core/src/result.rs:531:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 86 | fn primary(&mut self) -> Result { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 94 | return Ok(Literal::new(None)); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^ expected type parameter `E`, found `Literal<_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `E` [INFO] [stdout] found struct `literal::Literal<_>` [INFO] [stdout] help: the type constructed contains `literal::Literal<_>` due to the type of the argument passed [INFO] [stdout] --> src/parser.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 94 | return Ok(Literal::new(None)); [INFO] [stdout] | ^^^------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/2e6fc425411280c658d852813de01c5157255088/library/core/src/result.rs:531:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Option` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/parser.rs:97:36 [INFO] [stdout] | [INFO] [stdout] 97 | return Ok(Literal::new(Some(self.previous().literal.clone()))); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Option` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Option` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] note: required by a bound in `literal::Literal::::new` [INFO] [stdout] --> src/expr/literal.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | impl Literal { [INFO] [stdout] | ^^^^^^^ required by this bound in `Literal::::new` [INFO] [stdout] 8 | pub fn new(value: Option) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Option` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/parser.rs:97:36 [INFO] [stdout] | [INFO] [stdout] 97 | return Ok(Literal::new(Some(self.previous().literal.clone()))); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Option` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Option` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] note: required by a bound in `literal::Literal::::new` [INFO] [stdout] --> src/expr/literal.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | impl Literal { [INFO] [stdout] | ^^^^^^^ required by this bound in `Literal::::new` [INFO] [stdout] 8 | pub fn new(value: Option) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Option` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/parser.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | return Ok(Literal::new(Some(self.previous().literal.clone()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Option` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Option` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] note: required by a bound in `literal::Literal` [INFO] [stdout] --> src/expr/literal.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct Literal { [INFO] [stdout] | ^^^^^^^ required by this bound in `Literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Option` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/parser.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | return Ok(Literal::new(Some(self.previous().literal.clone()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Option` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Option` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] note: required by a bound in `literal::Literal` [INFO] [stdout] --> src/expr/literal.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct Literal { [INFO] [stdout] | ^^^^^^^ required by this bound in `Literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 86 | fn primary(&mut self) -> Result { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 97 | return Ok(Literal::new(Some(self.previous().literal.clone()))); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter `E`, found `Literal>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `E` [INFO] [stdout] found struct `literal::Literal>` [INFO] [stdout] help: the type constructed contains `literal::Literal>` due to the type of the argument passed [INFO] [stdout] --> src/parser.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | return Ok(Literal::new(Some(self.previous().literal.clone()))); [INFO] [stdout] | ^^^---------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/2e6fc425411280c658d852813de01c5157255088/library/core/src/result.rs:531:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 86 | fn primary(&mut self) -> Result { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 97 | return Ok(Literal::new(Some(self.previous().literal.clone()))); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter `E`, found `Literal>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `E` [INFO] [stdout] found struct `literal::Literal>` [INFO] [stdout] help: the type constructed contains `literal::Literal>` due to the type of the argument passed [INFO] [stdout] --> src/parser.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | return Ok(Literal::new(Some(self.previous().literal.clone()))); [INFO] [stdout] | ^^^---------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/2e6fc425411280c658d852813de01c5157255088/library/core/src/result.rs:531:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result<_, ParseError>: Expr` is not satisfied [INFO] [stdout] --> src/parser.rs:103:37 [INFO] [stdout] | [INFO] [stdout] 103 | return Ok(Grouping::new(expr)); [INFO] [stdout] | ------------- ^^^^ the trait `Expr` is not implemented for `Result<_, ParseError>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Expr`: [INFO] [stdout] Grouping [INFO] [stdout] Unary [INFO] [stdout] binary::Binary [INFO] [stdout] literal::Literal [INFO] [stdout] note: required by a bound in `Grouping::::new` [INFO] [stdout] --> src/expr/grouping.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | impl Grouping { [INFO] [stdout] | ^^^^ required by this bound in `Grouping::::new` [INFO] [stdout] 8 | pub fn new(expression: E) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result<_, ParseError>: Expr` is not satisfied [INFO] [stdout] --> src/parser.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | return Ok(Grouping::new(expr)); [INFO] [stdout] | ^^^^^^^^ the trait `Expr` is not implemented for `Result<_, ParseError>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Expr`: [INFO] [stdout] Grouping [INFO] [stdout] Unary [INFO] [stdout] binary::Binary [INFO] [stdout] literal::Literal [INFO] [stdout] note: required by a bound in `Grouping` [INFO] [stdout] --> src/expr/grouping.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct Grouping { [INFO] [stdout] | ^^^^ required by this bound in `Grouping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result<_, ParseError>: Expr` is not satisfied [INFO] [stdout] --> src/parser.rs:103:37 [INFO] [stdout] | [INFO] [stdout] 103 | return Ok(Grouping::new(expr)); [INFO] [stdout] | ------------- ^^^^ the trait `Expr` is not implemented for `Result<_, ParseError>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Expr`: [INFO] [stdout] Grouping [INFO] [stdout] Unary [INFO] [stdout] binary::Binary [INFO] [stdout] literal::Literal [INFO] [stdout] note: required by a bound in `Grouping::::new` [INFO] [stdout] --> src/expr/grouping.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | impl Grouping { [INFO] [stdout] | ^^^^ required by this bound in `Grouping::::new` [INFO] [stdout] 8 | pub fn new(expression: E) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result<_, ParseError>: Expr` is not satisfied [INFO] [stdout] --> src/parser.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | return Ok(Grouping::new(expr)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `Expr` is not implemented for `Result<_, ParseError>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Expr`: [INFO] [stdout] Grouping [INFO] [stdout] Unary [INFO] [stdout] binary::Binary [INFO] [stdout] literal::Literal [INFO] [stdout] note: required by a bound in `Grouping` [INFO] [stdout] --> src/expr/grouping.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct Grouping { [INFO] [stdout] | ^^^^ required by this bound in `Grouping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result<_, ParseError>: Expr` is not satisfied [INFO] [stdout] --> src/parser.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | return Ok(Grouping::new(expr)); [INFO] [stdout] | ^^^^^^^^ the trait `Expr` is not implemented for `Result<_, ParseError>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Expr`: [INFO] [stdout] Grouping [INFO] [stdout] Unary [INFO] [stdout] binary::Binary [INFO] [stdout] literal::Literal [INFO] [stdout] note: required by a bound in `Grouping` [INFO] [stdout] --> src/expr/grouping.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct Grouping { [INFO] [stdout] | ^^^^ required by this bound in `Grouping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result<_, ParseError>: Expr` is not satisfied [INFO] [stdout] --> src/parser.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | return Ok(Grouping::new(expr)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `Expr` is not implemented for `Result<_, ParseError>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Expr`: [INFO] [stdout] Grouping [INFO] [stdout] Unary [INFO] [stdout] binary::Binary [INFO] [stdout] literal::Literal [INFO] [stdout] note: required by a bound in `Grouping` [INFO] [stdout] --> src/expr/grouping.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct Grouping { [INFO] [stdout] | ^^^^ required by this bound in `Grouping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 86 | fn primary(&mut self) -> Result { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 103 | return Ok(Grouping::new(expr)); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^ expected type parameter `E`, found `Grouping>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `E` [INFO] [stdout] found struct `Grouping>` [INFO] [stdout] help: the type constructed contains `Grouping>` due to the type of the argument passed [INFO] [stdout] --> src/parser.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | return Ok(Grouping::new(expr)); [INFO] [stdout] | ^^^-------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/2e6fc425411280c658d852813de01c5157255088/library/core/src/result.rs:531:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 86 | fn primary(&mut self) -> Result { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 103 | return Ok(Grouping::new(expr)); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^ expected type parameter `E`, found `Grouping>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `E` [INFO] [stdout] found struct `Grouping>` [INFO] [stdout] help: the type constructed contains `Grouping>` due to the type of the argument passed [INFO] [stdout] --> src/parser.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | return Ok(Grouping::new(expr)); [INFO] [stdout] | ^^^-------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/2e6fc425411280c658d852813de01c5157255088/library/core/src/result.rs:531:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 86 | fn primary(&mut self) -> Result { [INFO] [stdout] | - --------------------- expected `Result` because of return type [INFO] [stdout] | | [INFO] [stdout] | expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 105 | return self.error(self.peek(), "Expect expression."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 86 | fn primary(&mut self) -> Result { [INFO] [stdout] | - --------------------- expected `Result` because of return type [INFO] [stdout] | | [INFO] [stdout] | expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 105 | return self.error(self.peek(), "Expect expression."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0275, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0275, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `r-lox` (bin "r-lox") due to 19 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `r-lox` (bin "r-lox" test) due to 19 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "61f744c8176369fa222400a1e16c811858176c5ed4f25a6ef3872f42db388cef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61f744c8176369fa222400a1e16c811858176c5ed4f25a6ef3872f42db388cef", kill_on_drop: false }` [INFO] [stdout] 61f744c8176369fa222400a1e16c811858176c5ed4f25a6ef3872f42db388cef [INFO] checking rock117/r-lox against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frock117%2Fr-lox" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] fatal: could not create leading directories of '/workspace/builds/worker-0-tc2/source': No space left on device [INFO] checking rock117/r-lox against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frock117%2Fr-lox" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] fatal: could not create leading directories of '/workspace/builds/worker-0-tc2/source': No space left on device [INFO] checking rock117/r-lox against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frock117%2Fr-lox" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] fatal: could not create leading directories of '/workspace/builds/worker-0-tc2/source': No space left on device [INFO] checking rock117/r-lox against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frock117%2Fr-lox" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] fatal: could not create leading directories of '/workspace/builds/worker-0-tc2/source': No space left on device [INFO] checking rock117/r-lox against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frock117%2Fr-lox" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] fatal: could not create leading directories of '/workspace/builds/worker-0-tc2/source': No space left on device [ERROR] this task or one of its parent failed! [ERROR] failed to checkout https://github.com/rock117/r-lox [ERROR] caused by: command failed: exit status: 128 [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace.