[INFO] cloning repository https://github.com/bishan-batel/goosey [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bishan-batel/goosey" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbishan-batel%2Fgoosey", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbishan-batel%2Fgoosey'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a480feb3c6ffb6a3c34cd9b5c3c1f747fbcb78c [INFO] testing bishan-batel/goosey against beta-2026-04-21 for beta-1.96-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbishan-batel%2Fgoosey" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/bishan-batel/goosey [INFO] finished tweaking git repo https://github.com/bishan-batel/goosey [INFO] tweaked toml for git repo https://github.com/bishan-batel/goosey written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bishan-batel/goosey on toolchain beta-2026-04-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bishan-batel/goosey 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-2026-04-21" "fetch" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_derive v4.4.2 [INFO] [stderr] Downloaded string-builder v0.2.0 [INFO] [stderr] Downloaded clap_builder v4.4.6 [INFO] [stderr] Downloaded anstyle-query v1.0.0 [INFO] [stderr] Downloaded anstyle-parse v0.2.2 [INFO] [stderr] Downloaded anstyle-wincon v3.0.1 [INFO] [stderr] Downloaded clap v4.4.6 [INFO] [stderr] Downloaded anstream v0.6.4 [INFO] [stderr] Downloaded emojis v0.6.1 [INFO] [stderr] Downloaded clap_lex v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ba57a43742015ea733fc9e6bf7720c2c92208c8df0980f919197b02668db2ea [INFO] running `Command { std: "docker" "start" "-a" "6ba57a43742015ea733fc9e6bf7720c2c92208c8df0980f919197b02668db2ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ba57a43742015ea733fc9e6bf7720c2c92208c8df0980f919197b02668db2ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ba57a43742015ea733fc9e6bf7720c2c92208c8df0980f919197b02668db2ea", kill_on_drop: false }` [INFO] [stdout] 6ba57a43742015ea733fc9e6bf7720c2c92208c8df0980f919197b02668db2ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97b5ae03e3d4450c40845377262b57a13ab9138bb167d7b50db64b6200d77a1c [INFO] running `Command { std: "docker" "start" "-a" "97b5ae03e3d4450c40845377262b57a13ab9138bb167d7b50db64b6200d77a1c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling string-builder v0.2.0 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling emojis v0.6.1 [INFO] [stderr] Compiling clap_builder v4.4.6 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling uuid v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling clap v4.4.6 [INFO] [stderr] Compiling goosey v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Namespace` [INFO] [stdout] --> src/parser/ast/expression.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::file::identifier::{Identifier, Namespace}; [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: `Namespace` [INFO] [stdout] --> src/parser/ast/top_level.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::file::identifier::{Namespace}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `either::Either` [INFO] [stdout] --> src/parser/ast/struct.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use either::Either; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::ast::operations::UnaryOperator::Negate` [INFO] [stdout] --> src/parser/ast/operations.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::parser::ast::operations::UnaryOperator::Negate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> src/parser/modules/expression_parser.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lexer::token::{Operator, Token, TokenData}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::ast::data::UnvalidatedType` [INFO] [stdout] --> src/parser/modules/expression_parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::parser::ast::data::UnvalidatedType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::ast::function::UnvalidatedFunctionExpression` [INFO] [stdout] --> src/parser/modules/expression_parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::parser::ast::function::UnvalidatedFunctionExpression; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::file::trace::Trace` [INFO] [stdout] --> src/parser/modules/top_level.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::file::trace::Trace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::ast::expression::UnvalidatedExpression` [INFO] [stdout] --> src/parser/modules/top_level.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parser::ast::expression::UnvalidatedExpression; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnvalidatedFunctionExpression` [INFO] [stdout] --> src/parser/modules/top_level.rs:7:66 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::parser::ast::function::{UnvalidatedFunctionPrototype, UnvalidatedFunctionExpression}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/validation/registry/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::validation::registry::expression::FunctionStatement` [INFO] [stdout] --> src/validation/registry/functions.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::validation::registry::expression::FunctionStatement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/parser.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let mut identifier = self.consume_identifier()?; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/modules/expression_parser.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | let mut parse_operand = |p: &mut Parser| { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statements` [INFO] [stdout] --> src/validation/module.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | for (file, statements) in modules { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statements` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/validation/registry/mod.rs:49:46 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn register_function_type(&mut self, name: GlobalIdentifier) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/validation/registry/mod.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | name: Identifier, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> src/validation/registry/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | arguments: Vec, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `search` [INFO] [stdout] --> src/validation/registry/mod.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn search_for(&self, search: FunctionPrototype) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tokenize` is never used [INFO] [stdout] --> src/lexer/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn tokenize(file: Rc) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lexer` is never constructed [INFO] [stdout] --> src/lexer/lexer.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Lexer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/lexer/lexer.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Lexer { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(source: Rc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn curr(&self) -> char { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn trace_from(&self, from: usize, offset: usize) -> Trace { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn trace(&self, offset: usize) -> Trace { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn advance(&mut self) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn advance_by(&mut self, delta: usize) -> char { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn slice(&mut self, offset: usize) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn not_eof(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn has_clearance(&self, i: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn tokenize(mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn comment(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn identifier(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn string(&mut self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn number(&mut self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn operator(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub fn dual_operator(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn tri_operator(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Token` is never constructed [INFO] [stdout] --> src/lexer/token.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Token(pub TokenData, pub Trace); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `token` and `trace` are never used [INFO] [stdout] --> src/lexer/token.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 11 | #[inline] [INFO] [stdout] 12 | pub const fn token(&self) -> &TokenData { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub const fn trace(&self) -> &Trace { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TokenData` is never used [INFO] [stdout] --> src/lexer/token.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum TokenData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operator` is never used [INFO] [stdout] --> src/lexer/token.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum Operator { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Keyword` is never used [INFO] [stdout] --> src/lexer/keyword.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Keyword { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/lexer/keyword.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Keyword { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 28 | pub fn parse(txt: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SourceFile` is never constructed [INFO] [stdout] --> src/file/source_file.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SourceFile { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create_from_file`, `trace`, and `rc` are never used [INFO] [stdout] --> src/file/source_file.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl SourceFile { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(source: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn create_from_file(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn trace(self: &Rc, range: Range) -> Trace { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn rc(self) -> Rc { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Trace` is never constructed [INFO] [stdout] --> src/file/trace.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Trace { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GlobalIdentifier` is never constructed [INFO] [stdout] --> src/file/identifier.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct GlobalIdentifier(pub Namespace, pub Identifier); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Namespace` is never constructed [INFO] [stdout] --> src/file/identifier.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Namespace { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Identifier` is never constructed [INFO] [stdout] --> src/file/identifier.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Identifier(pub String); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `prefix` is never used [INFO] [stdout] --> src/file/identifier.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl GlobalIdentifier { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 18 | pub fn prefix(&self, namespace: Namespace) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `global`, `prefix`, and `module` are never used [INFO] [stdout] --> src/file/identifier.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Namespace { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 24 | pub fn global() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn prefix(&self, prefix: Namespace) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn module(&self, ident: Identifier) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParserTrace` is never constructed [INFO] [stdout] --> src/parser/ast/mod.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ParserTrace { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnvalidatedSymbol` is never constructed [INFO] [stdout] --> src/parser/ast/mod.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct UnvalidatedSymbol { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnvalidatedFunctionPrototype` is never constructed [INFO] [stdout] --> src/parser/ast/function.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct UnvalidatedFunctionPrototype { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UnvalidatedFunctionExpression` is never used [INFO] [stdout] --> src/parser/ast/function.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum UnvalidatedFunctionExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UnvalidatedType` is never used [INFO] [stdout] --> src/parser/ast/data.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum UnvalidatedType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnvalidatedVariableInfo` is never constructed [INFO] [stdout] --> src/parser/ast/data.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct UnvalidatedVariableInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UnvalidatedExpression` is never used [INFO] [stdout] --> src/parser/ast/expression.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum UnvalidatedExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `trace` is never used [INFO] [stdout] --> src/parser/ast/expression.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl UnvalidatedExpression { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 69 | pub fn trace(&self) -> Trace { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UnvalidatedTopLevel` is never used [INFO] [stdout] --> src/parser/ast/top_level.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum UnvalidatedTopLevel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnvalidatedStructPrototype` is never constructed [INFO] [stdout] --> src/parser/ast/struct.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct UnvalidatedStructPrototype { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnvalidatedStructProperty` is never constructed [INFO] [stdout] --> src/parser/ast/struct.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct UnvalidatedStructProperty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnvalidatedProperty` is never constructed [INFO] [stdout] --> src/parser/ast/struct.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct UnvalidatedProperty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnvalidatedEnumVariant` is never constructed [INFO] [stdout] --> src/parser/ast/struct.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct UnvalidatedEnumVariant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UnvalidatedEnumData` is never used [INFO] [stdout] --> src/parser/ast/struct.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum UnvalidatedEnumData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BinaryOperation` is never used [INFO] [stdout] --> src/parser/ast/operations.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum BinaryOperation { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UnaryOperator` is never used [INFO] [stdout] --> src/parser/ast/operations.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum UnaryOperator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/parser/parser.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parser/parser.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(file: Rc, tokens: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn curr(&self) -> &Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn advance(&mut self) -> &Token { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn rollback(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn position(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn trace(&self, range: Range) -> Trace { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn trace_from(&self, token_index: usize) -> Trace { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn is_eof(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn consume_tok(&mut self, tok: TokenData) -> ParserResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn has_identifier(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn consume_identifier(&mut self) -> ParserResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn consume_operator(&mut self) -> ParserResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn has_operator(&self, op: Operator) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn expect_operator(&mut self, op: Operator) -> ParserResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn has_keyword(&self, word: Keyword) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn expect_keyword(&mut self, word: Keyword) -> ParserResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn consume_symbol(&mut self) -> ParserResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn parse(mut self) -> ParserResult> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn consume_type(&mut self) -> ParserResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExpressionParser` is never constructed [INFO] [stdout] --> src/parser/modules/expression_parser.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ExpressionParser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ORDER_OF_OPERATIONS` is never used [INFO] [stdout] --> src/parser/modules/expression_parser.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const ORDER_OF_OPERATIONS: &[&[Operator]] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `parse_block`, `consume_expression`, `consume_factor`, `consume_expression_cast`, and `consume_binary_expression` are never used [INFO] [stdout] --> src/parser/modules/expression_parser.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl ExpressionParser { [INFO] [stdout] | --------------------- associated functions in this implementation [INFO] [stdout] 43 | pub fn parse_block(p: &mut Parser) -> ParserResult> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn consume_expression(p: &mut Parser) -> ParserResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn consume_factor(p: &mut Parser) -> ParserResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | fn consume_expression_cast(p: &mut Parser) -> ParserResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | fn consume_binary_expression( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TopLevelParser` is never constructed [INFO] [stdout] --> src/parser/modules/top_level.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct TopLevelParser; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `parse_top_level`, `parse_import`, `parse_struct`, `parse_enum`, `parse_function`, and `consume_function_prototype` are never used [INFO] [stdout] --> src/parser/modules/top_level.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl TopLevelParser { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 18 | pub fn parse_top_level(p: &mut Parser) -> ParserResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn parse_import(p: &mut Parser) -> ParserResult> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn parse_struct(p: &mut Parser) -> ParserResult> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn parse_enum(p: &mut Parser) -> ParserResult> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | fn parse_function(p: &mut Parser) -> ParserResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | fn consume_function_prototype(p: &mut Parser) -> ParserResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StatementParser` is never constructed [INFO] [stdout] --> src/parser/modules/statement_parser.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct StatementParser; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `StatementParseResult` is never used [INFO] [stdout] --> src/parser/modules/statement_parser.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | type StatementParseResult = ParserResult>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `consume_function_expression`, `parse_return_statement`, `parse_while`, `parse_if`, and `parse_let_statement` are never used [INFO] [stdout] --> src/parser/modules/statement_parser.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl StatementParser { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 17 | pub fn consume_function_expression( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn parse_return_statement(p: &mut Parser) -> StatementParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn parse_while(p: &mut Parser) -> StatementParseResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn parse_if(p: &mut Parser) -> StatementParseResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn parse_let_statement(p: &mut Parser) -> StatementParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ParserResult` is never used [INFO] [stdout] --> src/parser/error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type ParserResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParserError` is never used [INFO] [stdout] --> src/parser/error.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum ParserError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `trace` is never used [INFO] [stdout] --> src/parser/error.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl ParserError { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 34 | /// Gets the trace / place in file for error [INFO] [stdout] 35 | fn trace(&self) -> Vec<&Trace> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Module` is never constructed [INFO] [stdout] --> src/ir/mod.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Module {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Visibility` is never used [INFO] [stdout] --> src/ir/visibility.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Visibility { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Module` is never constructed [INFO] [stdout] --> src/validation/module.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Module { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `process_modules` are never used [INFO] [stdout] --> src/validation/module.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Module { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn process_modules(&mut self, modules: &[(Rc, Vec)]) -> CompilerResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DataType` is never used [INFO] [stdout] --> src/validation/data_type.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum DataType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PrimitiveType` is never used [INFO] [stdout] --> src/validation/data_type.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum PrimitiveType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CompilerResult` is never used [INFO] [stdout] --> src/validation/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type CompilerResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CompilerError` is never used [INFO] [stdout] --> src/validation/error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum CompilerError { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `trace` is never used [INFO] [stdout] --> src/validation/error.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl CompilerError { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 13 | pub fn trace(&self) -> Option<&Trace> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModuleRegistry` is never constructed [INFO] [stdout] --> src/validation/registry/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ModuleRegistry { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create_global`, `register_sub_module`, `register_function_type`, `get_function_by_identifier`, `search_for`, and `create_identifier` are never used [INFO] [stdout] --> src/validation/registry/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ModuleRegistry { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 24 | pub fn create_global() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn register_sub_module(&mut self, name: Identifier) -> CompilerResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn register_function_type(&mut self, name: GlobalIdentifier) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | [INFO] [stdout] 51 | pub fn get_function_by_identifier( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn search_for(&self, search: FunctionPrototype) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 60 | [INFO] [stdout] 61 | pub fn create_identifier(&self, name: Identifier) -> GlobalIdentifier { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionPrototype` is never constructed [INFO] [stdout] --> src/validation/registry/functions.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct FunctionPrototype { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StructPrototype` is never constructed [INFO] [stdout] --> src/validation/registry/structs.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct StructPrototype { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VariableInfo` is never constructed [INFO] [stdout] --> src/validation/registry/variable.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct VariableInfo { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FunctionStatement` is never used [INFO] [stdout] --> src/validation/registry/expression.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum FunctionStatement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expression` is never used [INFO] [stdout] --> src/validation/registry/expression.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LocalVariableTable` is never used [INFO] [stdout] --> src/validation/function_context.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type LocalVariableTable = HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionContext` is never constructed [INFO] [stdout] --> src/validation/function_context.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct FunctionContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `declare_variable`, `get_local`, `push_scope`, `pop_scope`, and `get_locals_table` are never used [INFO] [stdout] --> src/validation/function_context.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl FunctionContext { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(registry: Rc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn declare_variable(&mut self, local: VariableInfo) -> CompilerResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get_local(&self, name: &Identifier) -> Option<(Uuid, &VariableInfo)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn push_scope(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn pop_scope(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn get_locals_table(&self) -> &LocalVariableTable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.00s [INFO] running `Command { std: "docker" "inspect" "97b5ae03e3d4450c40845377262b57a13ab9138bb167d7b50db64b6200d77a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97b5ae03e3d4450c40845377262b57a13ab9138bb167d7b50db64b6200d77a1c", kill_on_drop: false }` [INFO] [stdout] 97b5ae03e3d4450c40845377262b57a13ab9138bb167d7b50db64b6200d77a1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d84c5ee7d0cf3f9ddb6fc3799ba69137b4102bbc552e522a6272209b127d24ac [INFO] running `Command { std: "docker" "start" "-a" "d84c5ee7d0cf3f9ddb6fc3799ba69137b4102bbc552e522a6272209b127d24ac", kill_on_drop: false }` [INFO] [stderr] Compiling goosey v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find type `ParserResult` in this scope [INFO] [stdout] --> src/validation/tests.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | fn parse_from(source: &str) -> (ParserResult>, Box Trace>) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: type alias `crate::parser::error::ParserResult` exists but is inaccessible [INFO] [stdout] --> src/parser/error.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub type ParserResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UnvalidatedTopLevel` in this scope [INFO] [stdout] --> src/validation/tests.rs:5:50 [INFO] [stdout] | [INFO] [stdout] 5 | fn parse_from(source: &str) -> (ParserResult>, Box Trace>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::ast::top_level::UnvalidatedTopLevel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Trace` in this scope [INFO] [stdout] --> src/validation/tests.rs:5:89 [INFO] [stdout] | [INFO] [stdout] 5 | fn parse_from(source: &str) -> (ParserResult>, Box Trace>) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::file::trace::Trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SourceFile` in this scope [INFO] [stdout] --> src/validation/tests.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | let source = SourceFile::new(source).rc(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SourceFile` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::file::source_file::SourceFile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Rc` in this scope [INFO] [stdout] --> src/validation/tests.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | let tokens = crate::lexer::tokenize(Rc::clone(&source)); [INFO] [stdout] | ^^ use of undeclared type `Rc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::rc::Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Parser` in this scope [INFO] [stdout] --> src/validation/tests.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | (Parser::new(source, tokens).parse(), Box::new(trace)) [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parser::parser::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Namespace` [INFO] [stdout] --> src/parser/ast/expression.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::file::identifier::{Identifier, Namespace}; [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: `Namespace` [INFO] [stdout] --> src/parser/ast/top_level.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::file::identifier::{Namespace}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `either::Either` [INFO] [stdout] --> src/parser/ast/struct.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use either::Either; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::ast::operations::UnaryOperator::Negate` [INFO] [stdout] --> src/parser/ast/operations.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::parser::ast::operations::UnaryOperator::Negate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> src/parser/modules/expression_parser.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::lexer::token::{Operator, Token, TokenData}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::ast::data::UnvalidatedType` [INFO] [stdout] --> src/parser/modules/expression_parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::parser::ast::data::UnvalidatedType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::ast::function::UnvalidatedFunctionExpression` [INFO] [stdout] --> src/parser/modules/expression_parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::parser::ast::function::UnvalidatedFunctionExpression; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::file::trace::Trace` [INFO] [stdout] --> src/parser/modules/top_level.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::file::trace::Trace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::ast::expression::UnvalidatedExpression` [INFO] [stdout] --> src/parser/modules/top_level.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parser::ast::expression::UnvalidatedExpression; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnvalidatedFunctionExpression` [INFO] [stdout] --> src/parser/modules/top_level.rs:7:66 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::parser::ast::function::{UnvalidatedFunctionPrototype, UnvalidatedFunctionExpression}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnvalidatedFunctionExpression` [INFO] [stdout] --> src/parser/test.rs:8:66 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::parser::ast::function::{UnvalidatedFunctionPrototype, UnvalidatedFunctionExpression}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnvalidatedExpression as E` [INFO] [stdout] --> src/parser/test.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | use UnvalidatedExpression as E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/validation/registry/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::validation::registry::expression::FunctionStatement` [INFO] [stdout] --> src/validation/registry/functions.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::validation::registry::expression::FunctionStatement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/parser.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let mut identifier = self.consume_identifier()?; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/modules/expression_parser.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | let mut parse_operand = |p: &mut Parser| { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statements` [INFO] [stdout] --> src/validation/module.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | for (file, statements) in modules { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statements` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/validation/registry/mod.rs:49:46 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn register_function_type(&mut self, name: GlobalIdentifier) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/validation/registry/mod.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | name: Identifier, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> src/validation/registry/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | arguments: Vec, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `search` [INFO] [stdout] --> src/validation/registry/mod.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn search_for(&self, search: FunctionPrototype) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_search` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/validation/tests.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let module = Module::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `goosey` (bin "goosey" test) due to 6 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d84c5ee7d0cf3f9ddb6fc3799ba69137b4102bbc552e522a6272209b127d24ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d84c5ee7d0cf3f9ddb6fc3799ba69137b4102bbc552e522a6272209b127d24ac", kill_on_drop: false }` [INFO] [stdout] d84c5ee7d0cf3f9ddb6fc3799ba69137b4102bbc552e522a6272209b127d24ac