[INFO] cloning repository https://github.com/albertexye/Compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/albertexye/Compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falbertexye%2FCompiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falbertexye%2FCompiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d3d1ff54b37de07ef42298970e6ff2e3363bae0 [INFO] checking albertexye/Compiler against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falbertexye%2FCompiler" "/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/albertexye/Compiler [INFO] finished tweaking git repo https://github.com/albertexye/Compiler [INFO] tweaked toml for git repo https://github.com/albertexye/Compiler written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/albertexye/Compiler on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/albertexye/Compiler 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fddaaa1e7ed3ddcf993f190f8325500c71282295939c36db136b7f5113213f6e [INFO] running `Command { std: "docker" "start" "-a" "fddaaa1e7ed3ddcf993f190f8325500c71282295939c36db136b7f5113213f6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fddaaa1e7ed3ddcf993f190f8325500c71282295939c36db136b7f5113213f6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fddaaa1e7ed3ddcf993f190f8325500c71282295939c36db136b7f5113213f6e", kill_on_drop: false }` [INFO] [stdout] fddaaa1e7ed3ddcf993f190f8325500c71282295939c36db136b7f5113213f6e [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=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb8666dfd5d41d2a63f13a538b8d5af0a3ceb604f7aeb55d79b1eddb0aa82bca [INFO] running `Command { std: "docker" "start" "-a" "fb8666dfd5d41d2a63f13a538b8d5af0a3ceb604f7aeb55d79b1eddb0aa82bca", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.102 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking insta v1.43.2 [INFO] [stderr] Checking Compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SymbolId` [INFO] [stdout] --> src/lexer/mod.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::intern_pool::{InternPool, SymbolId}; [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: `TokenType` [INFO] [stdout] --> src/lexer/mod.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::token::{Literal, Token, TokenType, TokenValue}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SymbolId` is never constructed [INFO] [stdout] --> src/intern_pool.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) struct SymbolId(usize); [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 `InternPool` is never constructed [INFO] [stdout] --> src/intern_pool.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) struct InternPool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_keyword` is never used [INFO] [stdout] --> src/intern_pool.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) fn is_keyword(id: &SymbolId) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_keyword_symbol_id` is never used [INFO] [stdout] --> src/intern_pool.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn get_keyword_symbol_id(keyword: &'static str) -> SymbolId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_keyword` is never used [INFO] [stdout] --> src/intern_pool.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) fn get_keyword(id: &SymbolId) -> TokenType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `search`, and `reverse_lookup` are never used [INFO] [stdout] --> src/intern_pool.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 34 | impl InternPool { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 35 | pub(crate) fn new() -> InternPool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub(crate) fn insert(&mut self, token: String) -> SymbolId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub(crate) fn search(&self, token: &str) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub(crate) fn reverse_lookup(&mut self, id: SymbolId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lexer` is never constructed [INFO] [stdout] --> src/lexer/mod.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) struct Lexer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ErrorType` is never used [INFO] [stdout] --> src/lexer/mod.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) enum ErrorType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Error` is never constructed [INFO] [stdout] --> src/lexer/mod.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) struct Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `lex` is never used [INFO] [stdout] --> src/lexer/mod.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 40 | impl Lexer { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 41 | pub(crate) fn lex(input: &str, pool: &mut InternPool) -> Result, Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_identifier` is never used [INFO] [stdout] --> src/lexer/identifier.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 3 | impl Lexer { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 4 | pub(super) fn read_identifier(&mut self, pool: &mut InternPool) -> TokenValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/lexer/number.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 3 | impl Lexer { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 4 | /// Reads a number token (dispatches to decimal, float, hex, or binary). [INFO] [stdout] 5 | pub(super) fn read_number(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn read_decimal_or_float_number(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn consume_negative_sign(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn collect_digits(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn collect_fraction(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn make_integer(&self, number: u64, negative: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | fn read_hexadecimal_number(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn read_binary_number(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_punctuator` is never used [INFO] [stdout] --> src/lexer/punctuator.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 3 | impl Lexer { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 4 | pub(super) fn read_punctuator(&mut self, pool: &mut InternPool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `skip_whitespace_and_comments`, `skip_whitespace`, and `skip_comment` are never used [INFO] [stdout] --> src/lexer/skip.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 3 | impl Lexer { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 4 | pub(super) fn skip_whitespace_and_comments(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | fn skip_whitespace(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn skip_comment(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_string`, `read_escape_sequence`, `read_hexidecimal_escape_sequence`, and `read_unicode_escape_sequence` are never used [INFO] [stdout] --> src/lexer/string.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 3 | impl Lexer { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 4 | /// Reads a string literal token. [INFO] [stdout] 5 | pub(super) fn read_string(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn read_escape_sequence(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn read_hexidecimal_escape_sequence(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn read_unicode_escape_sequence(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/lexer/utils.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | impl Lexer { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 4 | fn start_token(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | fn end_token(&self) -> Span { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub(super) fn peek(&self) -> Option<&char> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub(super) fn peek2(&self) -> Option<&char> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub(super) fn next_token(&mut self, pool: &mut InternPool) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn next_token_value(&mut self, pool: &mut InternPool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub(super) fn error(&self, typ: ErrorType, msg: &'static str) -> Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub(super) fn advance(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ast` is never constructed [INFO] [stdout] --> src/semantic_ast.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct Ast { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Module` is never constructed [INFO] [stdout] --> src/semantic_ast.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct Module { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `File` is never constructed [INFO] [stdout] --> src/semantic_ast.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) struct File { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeDef` is never constructed [INFO] [stdout] --> src/semantic_ast.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) struct TypeDef { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TypeDefBody` is never used [INFO] [stdout] --> src/semantic_ast.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) enum TypeDefBody { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Type` is never used [INFO] [stdout] --> src/semantic_ast.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) enum Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionType` is never constructed [INFO] [stdout] --> src/semantic_ast.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | pub(crate) struct FunctionType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Function` is never constructed [INFO] [stdout] --> src/semantic_ast.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | pub(crate) struct Function { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionArg` is never constructed [INFO] [stdout] --> src/semantic_ast.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | pub(crate) struct FunctionArg { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Declaration` is never constructed [INFO] [stdout] --> src/semantic_ast.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | pub(crate) struct Declaration { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Expression` is never constructed [INFO] [stdout] --> src/semantic_ast.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | pub(crate) struct Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Identifier` is never used [INFO] [stdout] --> src/semantic_ast.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | pub(crate) enum Identifier { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExpressionValue` is never used [INFO] [stdout] --> src/semantic_ast.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | pub(crate) enum ExpressionValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Binary` is never constructed [INFO] [stdout] --> src/semantic_ast.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | pub(crate) struct Binary { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BinaryOp` is never used [INFO] [stdout] --> src/semantic_ast.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | pub(crate) enum BinaryOp { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Unary` is never constructed [INFO] [stdout] --> src/semantic_ast.rs:170:19 [INFO] [stdout] | [INFO] [stdout] 170 | pub(crate) struct Unary { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UnaryOp` is never used [INFO] [stdout] --> src/semantic_ast.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | pub(crate) enum UnaryOp { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Call` is never constructed [INFO] [stdout] --> src/semantic_ast.rs:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | pub(crate) struct Call { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Literal` is never used [INFO] [stdout] --> src/semantic_ast.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | pub(crate) enum Literal { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Assignment` is never constructed [INFO] [stdout] --> src/semantic_ast.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 202 | pub(crate) struct Assignment { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AssignmentType` is never used [INFO] [stdout] --> src/semantic_ast.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | pub(crate) enum AssignmentType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConditionalBranch` is never constructed [INFO] [stdout] --> src/semantic_ast.rs:225:19 [INFO] [stdout] | [INFO] [stdout] 225 | pub(crate) struct ConditionalBranch { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Conditional` is never constructed [INFO] [stdout] --> src/semantic_ast.rs:231:19 [INFO] [stdout] | [INFO] [stdout] 231 | pub(crate) struct Conditional { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Match` is never constructed [INFO] [stdout] --> src/semantic_ast.rs:238:19 [INFO] [stdout] | [INFO] [stdout] 238 | pub(crate) struct Match { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Loop` is never constructed [INFO] [stdout] --> src/semantic_ast.rs:245:19 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct Loop { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Statement` is never used [INFO] [stdout] --> src/semantic_ast.rs:253:17 [INFO] [stdout] | [INFO] [stdout] 253 | pub(crate) enum Statement { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ErrorType` is never used [INFO] [stdout] --> src/semantic_parser/mod.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) enum ErrorType {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Error` is never constructed [INFO] [stdout] --> src/semantic_parser/mod.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) struct Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_names` is never used [INFO] [stdout] --> src/semantic_parser/mod.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn collect_names(ast: &syntax_ast::Ast) -> Ast { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_module_names` is never used [INFO] [stdout] --> src/semantic_parser/mod.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn collect_module_names(module: &syntax_ast::Module) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_global_skeleton` is never used [INFO] [stdout] --> src/semantic_parser/mod.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn build_global_skeleton(global: &Scope) -> Scope> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_function_skeleton` is never used [INFO] [stdout] --> src/semantic_parser/mod.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn build_function_skeleton(function: &Scope) -> Scope> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_type_skeleton` is never used [INFO] [stdout] --> src/semantic_parser/mod.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn build_type_skeleton(typ: &Scope) -> Scope> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_file_names` is never used [INFO] [stdout] --> src/semantic_parser/mod.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn collect_file_names(file: &syntax_ast::File) -> File { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Span` is never constructed [INFO] [stdout] --> src/span.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct Span { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ErrorType` is never used [INFO] [stdout] --> src/syntactic_parser/mod.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) enum ErrorType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Error` is never constructed [INFO] [stdout] --> src/syntactic_parser/mod.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) struct Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SyntacticParser` is never constructed [INFO] [stdout] --> src/syntactic_parser/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct SyntacticParser { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_code` is never used [INFO] [stdout] --> src/syntactic_parser/mod.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 55 | impl SyntacticParser { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 56 | pub(crate) fn parse_code( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse_assignment_or_expression` and `match_assignment_type` are never used [INFO] [stdout] --> src/syntactic_parser/assignment.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 4 | impl SyntacticParser { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 5 | pub(super) fn parse_assignment_or_expression( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn match_assignment_type(punc: token::TokenType) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_conditional` is never used [INFO] [stdout] --> src/syntactic_parser/conditional.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 4 | impl SyntacticParser { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 5 | pub(super) fn parse_conditional( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_declaration` is never used [INFO] [stdout] --> src/syntactic_parser/declaration.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 4 | impl SyntacticParser { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 5 | pub(super) fn parse_declaration(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/syntactic_parser/expression.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 5 | impl SyntacticParser { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 6 | pub(super) fn parse_expression(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub(super) fn parse_paren_exp(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn parse_paren(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn parse_expression_list(&mut self, end: TokenType) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn parse_array_literal(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn parse_struct_literal(&mut self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn parse_infix_op(&mut self, punc: TokenType) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn parse_prefix(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | fn is_postfix_op(punc: TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn parse_postfix(&mut self, punc: TokenType, left: Expression) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | fn pratt_parse(&mut self, left_precedence: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | fn match_infix_operator(infix: TokenType) -> Option<(u8, BinaryOp)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_file`, `parse_content`, `parse_visibility`, `parse_module_declaration`, `parse_imports`, and `parse_import` are never used [INFO] [stdout] --> src/syntactic_parser/file.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 5 | impl SyntacticParser { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 6 | pub(super) fn parse_file( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn parse_content( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn parse_visibility(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn parse_module_declaration(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn parse_imports(&mut self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn parse_import(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_function`, `parse_return_type`, `parse_arguments`, and `parse_argument` are never used [INFO] [stdout] --> src/syntactic_parser/function.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 4 | impl SyntacticParser { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 5 | pub(super) fn parse_function( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn parse_return_type(&mut self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn parse_arguments(&mut self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn parse_argument(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_loop`, `parse_for`, and `parse_while` are never used [INFO] [stdout] --> src/syntactic_parser/loop.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 4 | impl SyntacticParser { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 5 | pub(super) fn parse_loop(&mut self, pool: &mut InternPool) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn parse_for(&mut self, pool: &mut InternPool) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn parse_while(&mut self, pool: &mut InternPool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_match`, `parse_case`, and `parse_case_body` are never used [INFO] [stdout] --> src/syntactic_parser/match.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 4 | impl SyntacticParser { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 5 | pub(super) fn parse_match(&mut self, pool: &mut InternPool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn parse_case(&mut self, pool: &mut InternPool) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn parse_case_body(&mut self, pool: &mut InternPool) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `path_to_module_name`, `read_file`, `parse_module_file`, `read_dir`, `parse_module`, and `parse_modules` are never used [INFO] [stdout] --> src/syntactic_parser/module.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl SyntacticParser { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 11 | fn path_to_module_name(path: &Path, pool: &mut InternPool) -> SymbolId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn read_file(path: PathBuf) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn parse_module_file( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn read_dir(dir: &Path) -> Result<(Vec, Vec), Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn parse_module( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub(crate) fn parse_modules(module_path: &Path, pool: &mut InternPool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_return` is never used [INFO] [stdout] --> src/syntactic_parser/return.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 3 | impl SyntacticParser { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 4 | pub(super) fn parse_return(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_statement` is never used [INFO] [stdout] --> src/syntactic_parser/statement.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 3 | impl SyntacticParser { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 4 | pub(super) fn parse_statement( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_type_annotation`, `parse_base`, `parse_type_modifier`, `parse_pointer`, and `parse_array_or_slice` are never used [INFO] [stdout] --> src/syntactic_parser/type_annotation.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 4 | impl SyntacticParser { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 5 | pub(super) fn parse_type_annotation(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn parse_base(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn parse_type_modifier(&mut self, keyword: TokenType) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn parse_pointer(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn parse_array_or_slice(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/syntactic_parser/type_definition.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 42 | impl SyntacticParser { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 43 | pub(super) fn parse_type_definition(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn parse_struct(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn parse_struct_body(&mut self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn parse_struct_field(&mut self) -> Result<(SymbolId, TypeAnnot), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn parse_enum(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn parse_enum_body(&mut self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | fn parse_enum_field(&mut self, counter: u64) -> Result<(SymbolId, u64), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | fn parse_union(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | fn parse_alias(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/syntactic_parser/utils.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 3 | impl SyntacticParser { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 4 | pub(super) fn peek(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | pub(super) fn back(&self) -> Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub(super) fn error(&self, typ: ErrorType, msg: &'static str) -> Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub(super) fn expect_token( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub(super) fn expect_identifier( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub(super) fn expect_keyword( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub(super) fn advance(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub(super) fn is_keyword(&self, keyword: TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub(super) fn end_line(&mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub(super) fn is_identifier(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub(super) fn is_mutable(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub(super) fn is_uint(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub(super) fn parse_block( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub(super) fn parse_name(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ast` is never constructed [INFO] [stdout] --> src/syntax_ast.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct Ast { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Module` is never constructed [INFO] [stdout] --> src/syntax_ast.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) struct Module { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `File` is never constructed [INFO] [stdout] --> src/syntax_ast.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) struct File { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Name` is never used [INFO] [stdout] --> src/syntax_ast.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) type Name = Vec; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Visibility` is never used [INFO] [stdout] --> src/syntax_ast.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) enum Visibility { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scope` is never constructed [INFO] [stdout] --> src/syntax_ast.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) struct Scope { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeDef` is never constructed [INFO] [stdout] --> src/syntax_ast.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) struct TypeDef { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TypeDefBody` is never used [INFO] [stdout] --> src/syntax_ast.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | pub(crate) enum TypeDefBody { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Statement` is never used [INFO] [stdout] --> src/syntax_ast.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) enum Statement { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionSig` is never constructed [INFO] [stdout] --> src/syntax_ast.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | pub(crate) struct FunctionSig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TypeAnnotBase` is never used [INFO] [stdout] --> src/syntax_ast.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) enum TypeAnnotBase { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeAnnot` is never constructed [INFO] [stdout] --> src/syntax_ast.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | pub(crate) struct TypeAnnot { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeModifier` is never constructed [INFO] [stdout] --> src/syntax_ast.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | pub(crate) struct TypeModifier { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TypeModifierType` is never used [INFO] [stdout] --> src/syntax_ast.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | pub(crate) enum TypeModifierType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Function` is never constructed [INFO] [stdout] --> src/syntax_ast.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | pub(crate) struct Function { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionArg` is never constructed [INFO] [stdout] --> src/syntax_ast.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | pub(crate) struct FunctionArg { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Declaration` is never constructed [INFO] [stdout] --> src/syntax_ast.rs:122:19 [INFO] [stdout] | [INFO] [stdout] 122 | pub(crate) struct Declaration { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Expression` is never constructed [INFO] [stdout] --> src/syntax_ast.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | pub(crate) struct Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExpressionValue` is never used [INFO] [stdout] --> src/syntax_ast.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | pub(crate) enum ExpressionValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Binary` is never constructed [INFO] [stdout] --> src/syntax_ast.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | pub(crate) struct Binary { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BinaryOp` is never used [INFO] [stdout] --> src/syntax_ast.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | pub(crate) enum BinaryOp { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Unary` is never constructed [INFO] [stdout] --> src/syntax_ast.rs:177:19 [INFO] [stdout] | [INFO] [stdout] 177 | pub(crate) struct Unary { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UnaryOp` is never used [INFO] [stdout] --> src/syntax_ast.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | pub(crate) enum UnaryOp { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Call` is never constructed [INFO] [stdout] --> src/syntax_ast.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | pub(crate) struct Call { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Literal` is never used [INFO] [stdout] --> src/syntax_ast.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | pub(crate) enum Literal { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Assignment` is never constructed [INFO] [stdout] --> src/syntax_ast.rs:209:19 [INFO] [stdout] | [INFO] [stdout] 209 | pub(crate) struct Assignment { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AssignmentType` is never used [INFO] [stdout] --> src/syntax_ast.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | pub(crate) enum AssignmentType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConditionalBranch` is never constructed [INFO] [stdout] --> src/syntax_ast.rs:232:19 [INFO] [stdout] | [INFO] [stdout] 232 | pub(crate) struct ConditionalBranch { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Conditional` is never constructed [INFO] [stdout] --> src/syntax_ast.rs:238:19 [INFO] [stdout] | [INFO] [stdout] 238 | pub(crate) struct Conditional { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Match` is never constructed [INFO] [stdout] --> src/syntax_ast.rs:245:19 [INFO] [stdout] | [INFO] [stdout] 245 | pub(crate) struct Match { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Loop` is never constructed [INFO] [stdout] --> src/syntax_ast.rs:252:19 [INFO] [stdout] | [INFO] [stdout] 252 | pub(crate) struct Loop { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Literal` is never used [INFO] [stdout] --> src/token.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | pub(crate) enum Literal { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TokenValue` is never used [INFO] [stdout] --> src/token.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | pub(crate) enum TokenValue { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Token` is never constructed [INFO] [stdout] --> src/token.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | pub(crate) struct Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/syntactic_parser/module.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | let path = PathBuf::from_str(&dep).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Compiler` (bin "Compiler") due to 1 previous error; 105 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "fb8666dfd5d41d2a63f13a538b8d5af0a3ceb604f7aeb55d79b1eddb0aa82bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb8666dfd5d41d2a63f13a538b8d5af0a3ceb604f7aeb55d79b1eddb0aa82bca", kill_on_drop: false }` [INFO] [stdout] fb8666dfd5d41d2a63f13a538b8d5af0a3ceb604f7aeb55d79b1eddb0aa82bca