[INFO] cloning repository https://github.com/l1npengtul/boreum-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/l1npengtul/boreum-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl1npengtul%2Fboreum-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl1npengtul%2Fboreum-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 776cdea1fff00394c7cfa6b0d81f678156cdd683 [INFO] testing l1npengtul/boreum-lang against beta-2025-09-21 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl1npengtul%2Fboreum-lang" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/l1npengtul/boreum-lang [INFO] finished tweaking git repo https://github.com/l1npengtul/boreum-lang [INFO] tweaked toml for git repo https://github.com/l1npengtul/boreum-lang written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/l1npengtul/boreum-lang on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/l1npengtul/boreum-lang 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d59f67f44e792791e5d64669b94df487999230d9404b6d2b3863c6c56462d4e [INFO] running `Command { std: "docker" "start" "-a" "3d59f67f44e792791e5d64669b94df487999230d9404b6d2b3863c6c56462d4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d59f67f44e792791e5d64669b94df487999230d9404b6d2b3863c6c56462d4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d59f67f44e792791e5d64669b94df487999230d9404b6d2b3863c6c56462d4e", kill_on_drop: false }` [INFO] [stdout] 3d59f67f44e792791e5d64669b94df487999230d9404b6d2b3863c6c56462d4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c559a79dad03a9ee853c4de4f87931daf0efc1742dad1fa87931eea2b2bd94e8 [INFO] running `Command { std: "docker" "start" "-a" "c559a79dad03a9ee853c4de4f87931daf0efc1742dad1fa87931eea2b2bd94e8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling cc v1.2.5 [INFO] [stderr] Compiling lexical-util v1.0.6 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lexical-parse-integer v1.0.5 [INFO] [stderr] Compiling lexical-write-integer v1.0.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling chumsky v1.0.0-alpha.7 (https://github.com/zesterer/chumsky.git#282bf5ec) [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling lexical-write-float v1.0.5 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling lexical-parse-float v1.0.5 [INFO] [stderr] Compiling syn v2.0.91 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling sptr v0.3.2 [INFO] [stderr] Compiling text-size v1.1.1 [INFO] [stderr] Compiling lasso v0.7.3 [INFO] [stderr] Compiling psm v0.1.24 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling lexical-core v1.0.5 [INFO] [stderr] Compiling cstree v0.12.2 [INFO] [stderr] Compiling logos-codegen v0.14.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling miette-derive v7.4.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling logos-derive v0.14.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling logos v0.14.4 [INFO] [stderr] Compiling miette v7.4.0 [INFO] [stderr] Compiling boreum-lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `->`, `where`, or `{`, found `}` [INFO] [stdout] --> src/parser.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn start() [INFO] [stdout] | ----- - expected one of `->`, `where`, or `{` [INFO] [stdout] | | [INFO] [stdout] | while parsing this `fn` [INFO] [stdout] 23 | } [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: A definition of variant `As` can match the same input as another definition of variant `Identifier`. [INFO] [stdout] [INFO] [stdout] hint: Consider giving one definition a higher priority: #[regex(..., priority = 5)] [INFO] [stdout] --> src/lexer.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | #[token("as")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: A definition of variant `Identifier` can match the same input as another definition of variant `As`. [INFO] [stdout] [INFO] [stdout] hint: Consider giving one definition a higher priority: #[regex(..., priority = 5)] [INFO] [stdout] --> src/lexer.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | #[regex("_*([a-zA-Z][a-zA-Z0-9]+)")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: A definition of variant `Do` can match the same input as another definition of variant `Identifier`. [INFO] [stdout] [INFO] [stdout] hint: Consider giving one definition a higher priority: #[regex(..., priority = 5)] [INFO] [stdout] --> src/lexer.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | #[token("do")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: A definition of variant `Identifier` can match the same input as another definition of variant `Do`. [INFO] [stdout] [INFO] [stdout] hint: Consider giving one definition a higher priority: #[regex(..., priority = 5)] [INFO] [stdout] --> src/lexer.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | #[regex("_*([a-zA-Z][a-zA-Z0-9]+)")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: A definition of variant `Fn` can match the same input as another definition of variant `Identifier`. [INFO] [stdout] [INFO] [stdout] hint: Consider giving one definition a higher priority: #[regex(..., priority = 5)] [INFO] [stdout] --> src/lexer.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | #[token("fn")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: A definition of variant `Identifier` can match the same input as another definition of variant `Fn`. [INFO] [stdout] [INFO] [stdout] hint: Consider giving one definition a higher priority: #[regex(..., priority = 5)] [INFO] [stdout] --> src/lexer.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | #[regex("_*([a-zA-Z][a-zA-Z0-9]+)")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: A definition of variant `In` can match the same input as another definition of variant `Identifier`. [INFO] [stdout] [INFO] [stdout] hint: Consider giving one definition a higher priority: #[regex(..., priority = 5)] [INFO] [stdout] --> src/lexer.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | #[token("in")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: A definition of variant `Identifier` can match the same input as another definition of variant `In`. [INFO] [stdout] [INFO] [stdout] hint: Consider giving one definition a higher priority: #[regex(..., priority = 5)] [INFO] [stdout] --> src/lexer.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | #[regex("_*([a-zA-Z][a-zA-Z0-9]+)")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: A definition of variant `Is` can match the same input as another definition of variant `Identifier`. [INFO] [stdout] [INFO] [stdout] hint: Consider giving one definition a higher priority: #[regex(..., priority = 5)] [INFO] [stdout] --> src/lexer.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | #[token("is")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: A definition of variant `Identifier` can match the same input as another definition of variant `Is`. [INFO] [stdout] [INFO] [stdout] hint: Consider giving one definition a higher priority: #[regex(..., priority = 5)] [INFO] [stdout] --> src/lexer.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | #[regex("_*([a-zA-Z][a-zA-Z0-9]+)")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: A definition of variant `Or` can match the same input as another definition of variant `Identifier`. [INFO] [stdout] [INFO] [stdout] hint: Consider giving one definition a higher priority: #[regex(..., priority = 5)] [INFO] [stdout] --> src/lexer.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | #[token("or")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: A definition of variant `Identifier` can match the same input as another definition of variant `Or`. [INFO] [stdout] [INFO] [stdout] hint: Consider giving one definition a higher priority: #[regex(..., priority = 5)] [INFO] [stdout] --> src/lexer.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | #[regex("_*([a-zA-Z][a-zA-Z0-9]+)")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/parser.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn start() [INFO] [stdout] | ^^^^^^^^^^^^^^- help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Peekable` [INFO] [stdout] --> src/lexer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Peekable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Lexer` [INFO] [stdout] --> src/lexer.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use logos::{Lexer, Logos}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::syntax::BoreumLang` [INFO] [stdout] --> src/lexer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::syntax::BoreumLang; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cstree::RawSyntaxKind` [INFO] [stdout] --> src/syntax.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cstree::RawSyntaxKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::Tokens` [INFO] [stdout] --> src/syntax.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lexer::Tokens; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `RawSyntaxKind: From` is not satisfied [INFO] [stdout] --> src/lexer.rs:217:32 [INFO] [stdout] | [INFO] [stdout] 217 | self.to_u32().unwrap().into() [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `RawSyntaxKind` [INFO] [stdout] | [INFO] [stdout] = note: required for `u32` to implement `Into` [INFO] [stdout] help: consider removing this method call, as the receiver has type `Option` and `Option: From` trivially holds [INFO] [stdout] | [INFO] [stdout] 217 - self.to_u32().unwrap().into() [INFO] [stdout] 217 + self.to_u32().into() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `&str` is not an iterator [INFO] [stdout] --> src/lexer.rs:302:11 [INFO] [stdout] | [INFO] [stdout] 221 | / match self { [INFO] [stdout] 222 | | Tokens::Do => "do", [INFO] [stdout] 223 | | Tokens::End => "end", [INFO] [stdout] 224 | | Tokens::Soothe => "soothe", [INFO] [stdout] ... | [INFO] [stdout] 301 | | _ => "" [INFO] [stdout] 302 | | }.map(|x| { [INFO] [stdout] | | -^^^ `&str` is not an iterator [INFO] [stdout] | |__________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&str: Iterator` [INFO] [stdout] which is required by `&mut &str: Iterator` [INFO] [stdout] `str: Iterator` [INFO] [stdout] which is required by `&mut str: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn parse(mut self) -> ParsedTree { [INFO] [stdout] | ----- ^^^^^^^^^^ expected `ParsedTree`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `boreum-lang` (bin "boreum-lang") due to 17 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c559a79dad03a9ee853c4de4f87931daf0efc1742dad1fa87931eea2b2bd94e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c559a79dad03a9ee853c4de4f87931daf0efc1742dad1fa87931eea2b2bd94e8", kill_on_drop: false }` [INFO] [stdout] c559a79dad03a9ee853c4de4f87931daf0efc1742dad1fa87931eea2b2bd94e8