[INFO] cloning repository https://github.com/echnobas/fenix-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/echnobas/fenix-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fechnobas%2Ffenix-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fechnobas%2Ffenix-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9b00c23e16f71555a9e86e6bb06ea18e879303f [INFO] checking echnobas/fenix-lang against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fechnobas%2Ffenix-lang" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/echnobas/fenix-lang on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/echnobas/fenix-lang [INFO] finished tweaking git repo https://github.com/echnobas/fenix-lang [INFO] tweaked toml for git repo https://github.com/echnobas/fenix-lang written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/echnobas/fenix-lang already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32baf5741b13e5389c8f4ee6bf89aa3c006566b7e88d4b523cc726cb435a758f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "32baf5741b13e5389c8f4ee6bf89aa3c006566b7e88d4b523cc726cb435a758f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32baf5741b13e5389c8f4ee6bf89aa3c006566b7e88d4b523cc726cb435a758f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32baf5741b13e5389c8f4ee6bf89aa3c006566b7e88d4b523cc726cb435a758f", kill_on_drop: false }` [INFO] [stdout] 32baf5741b13e5389c8f4ee6bf89aa3c006566b7e88d4b523cc726cb435a758f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29c1d38f9bde8c3da92f6f6c847dface202ee5eb8154c6c1156756f896bf4385 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "29c1d38f9bde8c3da92f6f6c847dface202ee5eb8154c6c1156756f896bf4385", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rust_interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `scanner` should have an upper camel case name [INFO] [stdout] --> src/scanner.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct scanner { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Scanner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::scanner` [INFO] [stdout] --> src/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::scanner; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::expr` [INFO] [stdout] --> src/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::expr; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `scanner` should have an upper camel case name [INFO] [stdout] --> src/scanner.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct scanner { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Scanner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::scanner` [INFO] [stdout] --> src/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::scanner; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::expr` [INFO] [stdout] --> src/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::expr; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0072]: recursive type `Stmt` has infinite size [INFO] [stdout] --> src/expr.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum Stmt { [INFO] [stdout] | ^^^^^^^^^^^^^ recursive type has infinite size [INFO] [stdout] ... [INFO] [stdout] 54 | If(Expr, Box, Option), [INFO] [stdout] | ------------ recursive without indirection [INFO] [stdout] | [INFO] [stdout] help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to make `Stmt` representable [INFO] [stdout] | [INFO] [stdout] 54 | If(Expr, Box, Box>), [INFO] [stdout] | ^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0072]: recursive type `Stmt` has infinite size [INFO] [stdout] --> src/expr.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum Stmt { [INFO] [stdout] | ^^^^^^^^^^^^^ recursive type has infinite size [INFO] [stdout] ... [INFO] [stdout] 54 | If(Expr, Box, Option), [INFO] [stdout] | ------------ recursive without indirection [INFO] [stdout] | [INFO] [stdout] help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to make `Stmt` representable [INFO] [stdout] | [INFO] [stdout] 54 | If(Expr, Box, Box>), [INFO] [stdout] | ^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse` found for struct `Parser` in the current scope [INFO] [stdout] --> src/parser.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Parser { [INFO] [stdout] | ----------------- method `parse` not found for this [INFO] [stdout] ... [INFO] [stdout] 26 | let stmts_or_err = p.parse(); [INFO] [stdout] | ^^^^^ method not found in `Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_at_end` found for struct `Parser` in the current scope [INFO] [stdout] --> src/parser.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Parser { [INFO] [stdout] | ----------------- method `is_at_end` not found for this [INFO] [stdout] ... [INFO] [stdout] 29 | if !p.is_at_end() { [INFO] [stdout] | ^^^^^^^^^ method not found in `Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[lexer_types::Token]` cannot be indexed by `i32` [INFO] [stdout] --> src/parser.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | let tok = &p.tokens[p.current]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[lexer_types::Token]>` is not implemented for `i32` [INFO] [stdout] = note: required because of the requirements on the impl of `Index` for `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ty` on type `&_` [INFO] [stdout] --> src/parser.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | tok.ty, tok.line, tok.col [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `parse` found for struct `Parser` in the current scope [INFO] [stdout] --> src/parser.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Parser { [INFO] [stdout] | ----------------- method `parse` not found for this [INFO] [stdout] ... [INFO] [stdout] 26 | let stmts_or_err = p.parse(); [INFO] [stdout] | ^^^^^ method not found in `Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_at_end` found for struct `Parser` in the current scope [INFO] [stdout] --> src/parser.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Parser { [INFO] [stdout] | ----------------- method `is_at_end` not found for this [INFO] [stdout] ... [INFO] [stdout] 29 | if !p.is_at_end() { [INFO] [stdout] | ^^^^^^^^^ method not found in `Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[lexer_types::Token]` cannot be indexed by `i32` [INFO] [stdout] --> src/parser.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | let tok = &p.tokens[p.current]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[lexer_types::Token]>` is not implemented for `i32` [INFO] [stdout] = note: required because of the requirements on the impl of `Index` for `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `ty` on type `&_` [INFO] [stdout] --> src/parser.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | tok.ty, tok.line, tok.col [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / Err(format!( [INFO] [stdout] 32 | | "unexpected token of type {:?} at line = {}, col = {}", [INFO] [stdout] 33 | | tok.ty, tok.line, tok.col [INFO] [stdout] 34 | | )) [INFO] [stdout] | |__________________^ expected `()`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<_, String>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 34 | )); [INFO] [stdout] | ^ [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 20 | pub fn parse(tokens: Vec) -> Result<_, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / Err(format!( [INFO] [stdout] 32 | | "unexpected token of type {:?} at line = {}, col = {}", [INFO] [stdout] 33 | | tok.ty, tok.line, tok.col [INFO] [stdout] 34 | | )) [INFO] [stdout] | |__________________^ expected `()`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<_, String>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 34 | )); [INFO] [stdout] | ^ [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 20 | pub fn parse(tokens: Vec) -> Result<_, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0072, E0277, E0308, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0072`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_interpreter` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0072, E0277, E0308, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0072`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "29c1d38f9bde8c3da92f6f6c847dface202ee5eb8154c6c1156756f896bf4385", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29c1d38f9bde8c3da92f6f6c847dface202ee5eb8154c6c1156756f896bf4385", kill_on_drop: false }` [INFO] [stdout] 29c1d38f9bde8c3da92f6f6c847dface202ee5eb8154c6c1156756f896bf4385