[INFO] cloning repository https://github.com/amanuel2/goc-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amanuel2/goc-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famanuel2%2Fgoc-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famanuel2%2Fgoc-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d8c339d93a03123df2f872cc89790a8a805d929 [INFO] checking amanuel2/goc-rs against try#654bc80249a2b2ba8bd16392b5829d87ed96c92d for pr-136458 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famanuel2%2Fgoc-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/amanuel2/goc-rs on toolchain 654bc80249a2b2ba8bd16392b5829d87ed96c92d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/amanuel2/goc-rs [INFO] finished tweaking git repo https://github.com/amanuel2/goc-rs [INFO] tweaked toml for git repo https://github.com/amanuel2/goc-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/amanuel2/goc-rs 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" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a66c9cfebe0d2a55492ead5cfeae32e5a57492a0cf6037654e8105c353150f6a [INFO] running `Command { std: "docker" "start" "-a" "a66c9cfebe0d2a55492ead5cfeae32e5a57492a0cf6037654e8105c353150f6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a66c9cfebe0d2a55492ead5cfeae32e5a57492a0cf6037654e8105c353150f6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a66c9cfebe0d2a55492ead5cfeae32e5a57492a0cf6037654e8105c353150f6a", kill_on_drop: false }` [INFO] [stdout] a66c9cfebe0d2a55492ead5cfeae32e5a57492a0cf6037654e8105c353150f6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 789032618f7aaca47658b7762e2cfa2b5250d854d0a0f63ad32284e9dce59823 [INFO] running `Command { std: "docker" "start" "-a" "789032618f7aaca47658b7762e2cfa2b5250d854d0a0f63ad32284e9dce59823", kill_on_drop: false }` [INFO] [stderr] Checking frontend v0.1.0 (/opt/rustwide/workdir/frontend) [INFO] [stderr] Checking goc-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `backtrace::BacktraceStatus` and `mem::ManuallyDrop` [INFO] [stdout] --> frontend/src/lexer/token.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{backtrace::BacktraceStatus, char, mem::ManuallyDrop}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> frontend/src/lexer/scan.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> frontend/src/lexer/scan.rs:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | fn new(_path: &'static str) -> Option { [INFO] [stdout] | ^^^^^ this elided lifetime gets resolved as `'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] help: consider specifying it explicitly [INFO] [stdout] | [INFO] [stdout] 16 | fn new(_path: &'static str) -> Option> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `backtrace::BacktraceStatus` and `mem::ManuallyDrop` [INFO] [stdout] --> frontend/src/lexer/token.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{backtrace::BacktraceStatus, char, mem::ManuallyDrop}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> frontend/src/lexer/scan.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> frontend/src/lexer/scan.rs:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | fn new(_path: &'static str) -> Option { [INFO] [stdout] | ^^^^^ this elided lifetime gets resolved as `'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] help: consider specifying it explicitly [INFO] [stdout] | [INFO] [stdout] 16 | fn new(_path: &'static str) -> Option> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> frontend/src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Byte` [INFO] [stdout] --> frontend/src/lexer/token.rs:150:24 [INFO] [stdout] | [INFO] [stdout] 150 | Rune::Byte(Byte) => "\\b", [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Byte` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str` [INFO] [stdout] --> frontend/src/lexer/token.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | fn from(str: &'static str) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] 572 | Number => "Number", [INFO] [stdout] | ^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:573:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] 572 | Number => "Number", [INFO] [stdout] 573 | Float => "Float", [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:574:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 574 | Rune => "Rune", [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:575:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 575 | String => "String", [INFO] [stdout] | ^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 576 | Keyword => "Keyword", [INFO] [stdout] | ^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:577:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 577 | Punctuation => "Punctuation", [INFO] [stdout] | ^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add` in this scope [INFO] [stdout] --> frontend/src/lib.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | let result = add(2, 2); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: use the `.` operator to call the method `Add::add` on `{integer}` [INFO] [stdout] | [INFO] [stdout] 10 - let result = add(2, 2); [INFO] [stdout] 10 + let result = 2.add(2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:578:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 578 | Operator => "Operator", [INFO] [stdout] | ^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:579:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 579 | Hidden => "Hidden" [INFO] [stdout] | ^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Literal` [INFO] [stdout] --> frontend/src/lexer/token.rs:571:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Number` [INFO] [stdout] --> frontend/src/lexer/token.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 572 | Number => "Number", [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_Number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Float` [INFO] [stdout] --> frontend/src/lexer/token.rs:573:13 [INFO] [stdout] | [INFO] [stdout] 573 | Float => "Float", [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Float` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Rune` [INFO] [stdout] --> frontend/src/lexer/token.rs:574:13 [INFO] [stdout] | [INFO] [stdout] 574 | Rune => "Rune", [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Rune` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `String` [INFO] [stdout] --> frontend/src/lexer/token.rs:575:13 [INFO] [stdout] | [INFO] [stdout] 575 | String => "String", [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Keyword` [INFO] [stdout] --> frontend/src/lexer/token.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | Keyword => "Keyword", [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Keyword` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Punctuation` [INFO] [stdout] --> frontend/src/lexer/token.rs:577:13 [INFO] [stdout] | [INFO] [stdout] 577 | Punctuation => "Punctuation", [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Punctuation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Operator` [INFO] [stdout] --> frontend/src/lexer/token.rs:578:13 [INFO] [stdout] | [INFO] [stdout] 578 | Operator => "Operator", [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Hidden` [INFO] [stdout] --> frontend/src/lexer/token.rs:579:13 [INFO] [stdout] | [INFO] [stdout] 579 | Hidden => "Hidden" [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_Hidden` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> frontend/src/lexer/token.rs:583:13 [INFO] [stdout] | [INFO] [stdout] 583 | fn from(s: &'static str) -> Option { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Whitespace`, `Comment`, `Terminator`, and `LineComment` are never constructed [INFO] [stdout] --> frontend/src/lexer/token.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Hidden { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 13 | Whitespace, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | Comment, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | Terminator, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | LineComment [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hidden` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: union `Literal` is never used [INFO] [stdout] --> frontend/src/lexer/token.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub union Literal { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RawString` and `InterpretedString` are never constructed [INFO] [stdout] --> frontend/src/lexer/token.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum StringLiteral { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 54 | RawString, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 55 | InterpretedString [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringLiteral` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Decimals` and `Exponent` are never constructed [INFO] [stdout] --> frontend/src/lexer/token.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum Float { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 81 | Decimals, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 82 | Exponent [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Float` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Decimal`, `Binary`, `Octal`, `Hex`, and `Float` are never constructed [INFO] [stdout] --> frontend/src/lexer/token.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub enum NumberLiteral { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 92 | Decimal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 93 | Binary, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 94 | Octal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 95 | Hex, [INFO] [stdout] | ^^^ [INFO] [stdout] 96 | Float(Float), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NumberLiteral` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `HexValue` and `OctalValue` are never constructed [INFO] [stdout] --> frontend/src/lexer/token.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub enum Byte { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 129 | HexValue(char, char, char, char), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 130 | OctalValue(char, char, char, char), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Byte` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Byte`, `LittleUnicode`, `BigUnicode`, and `HexByte` are never constructed [INFO] [stdout] --> frontend/src/lexer/token.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub enum Rune { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 141 | Byte(Byte), [INFO] [stdout] | ^^^^ [INFO] [stdout] 142 | LittleUnicode(char, char, char, char, char, char), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 143 | BigUnicode(char, char, char, char, char, char, char, char, char, char), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 144 | HexByte(char, char), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rune` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Logical`, `Relation`, `Arithmetic`, `Unary`, and `Mixed` are never constructed [INFO] [stdout] --> frontend/src/lexer/token.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 177 | pub enum Operator { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 178 | Logical(LogicalOp), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 179 | Relation(RelationOp), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 180 | Arithmetic(ArithmeticOp), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 181 | Unary(UnaryOp), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 182 | Mixed(MixedOp), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operator` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LogicalOr` and `LogicalAnd` are never constructed [INFO] [stdout] --> frontend/src/lexer/token.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 189 | pub enum LogicalOp { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 190 | LogicalOr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 191 | LogicalAnd [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogicalOp` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Equals`, `NotEquals`, `Less`, `LessOrEqual`, `Greater`, and `GreaterOrEquals` are never constructed [INFO] [stdout] --> frontend/src/lexer/token.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 214 | pub enum RelationOp { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 215 | Equals, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 216 | NotEquals, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 217 | Less, [INFO] [stdout] | ^^^^ [INFO] [stdout] 218 | LessOrEqual, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 219 | Greater, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 220 | GreaterOrEquals [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RelationOp` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> frontend/src/lexer/token.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum ArithmeticOp { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 258 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 259 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] 260 | Mod, [INFO] [stdout] | ^^^ [INFO] [stdout] 261 | LShift, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 262 | RShift, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 263 | BitClear, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 264 | Underlying [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ArithmeticOp` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Exclamation` is never constructed [INFO] [stdout] --> frontend/src/lexer/token.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 296 | pub enum UnaryOp { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 297 | Exclamation [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnaryOp` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Plus`, `Minus`, `Caret`, `Star`, `Ampersand`, and `Recieve` are never constructed [INFO] [stdout] --> frontend/src/lexer/token.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 323 | pub enum MixedOp { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 324 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] 325 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 326 | Caret, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 327 | Star, [INFO] [stdout] | ^^^^ [INFO] [stdout] 328 | Ampersand, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 329 | Recieve [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MixedOp` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> frontend/src/lexer/token.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 374 | pub enum Punctuation { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 375 | LParen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 376 | RParen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 377 | LCurly, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 378 | RCurly, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 379 | LBracket, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 380 | RBracket, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 381 | Assign, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 382 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 383 | Semi, [INFO] [stdout] | ^^^^ [INFO] [stdout] 384 | Colon, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 385 | Dot, [INFO] [stdout] | ^^^ [INFO] [stdout] 386 | PlusPlus, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 387 | MinusMinus, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 388 | DeclareAssign, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 389 | Ellipsis [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Punctuation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> frontend/src/lexer/token.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 440 | pub enum Keyword { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 441 | Break, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 442 | Default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 443 | Func, [INFO] [stdout] | ^^^^ [INFO] [stdout] 444 | Interface, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 445 | Select, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 446 | Case, [INFO] [stdout] | ^^^^ [INFO] [stdout] 447 | Defer, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 448 | Go, [INFO] [stdout] | ^^ [INFO] [stdout] 449 | Map, [INFO] [stdout] | ^^^ [INFO] [stdout] 450 | Struct, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 451 | Chan, [INFO] [stdout] | ^^^^ [INFO] [stdout] 452 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] 453 | Goto, [INFO] [stdout] | ^^^^ [INFO] [stdout] 454 | Package, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 455 | Switch, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 456 | Const, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 457 | Fallthrough, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 458 | If, [INFO] [stdout] | ^^ [INFO] [stdout] 459 | Range, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 460 | Type, [INFO] [stdout] | ^^^^ [INFO] [stdout] 461 | Continue, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 462 | For, [INFO] [stdout] | ^^^ [INFO] [stdout] 463 | Import, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 464 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 465 | Var, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Keyword` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> frontend/src/lexer/token.rs:539:5 [INFO] [stdout] | [INFO] [stdout] 538 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 539 | Number(NumberLiteral), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 540 | String(StringLiteral), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 541 | Float(Float), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 542 | Rune(Rune), [INFO] [stdout] | ^^^^ [INFO] [stdout] 543 | Keyword(Keyword), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 544 | Punctuation(Punctuation), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 545 | Operator(Operator), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 546 | Hidden(Hidden) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TokenRepr` is never used [INFO] [stdout] --> frontend/src/lexer/token.rs:550:7 [INFO] [stdout] | [INFO] [stdout] 550 | trait TokenRepr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Token` is never constructed [INFO] [stdout] --> frontend/src/lexer/token.rs:562:8 [INFO] [stdout] | [INFO] [stdout] 562 | struct Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from` are never used [INFO] [stdout] --> frontend/src/lexer/token.rs:569:8 [INFO] [stdout] | [INFO] [stdout] 568 | impl TokenType { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 569 | fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 583 | fn from(s: &'static str) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lexer` is never constructed [INFO] [stdout] --> frontend/src/lexer/scan.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Lexer<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> frontend/src/lexer/scan.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 16 | fn new(_path: &'static str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Byte` should have a snake case name [INFO] [stdout] --> frontend/src/lexer/token.rs:150:24 [INFO] [stdout] | [INFO] [stdout] 150 | Rune::Byte(Byte) => "\\b", [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `byte` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Literal` should have a snake case name [INFO] [stdout] --> frontend/src/lexer/token.rs:571:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Number` should have a snake case name [INFO] [stdout] --> frontend/src/lexer/token.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 572 | Number => "Number", [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Float` should have a snake case name [INFO] [stdout] --> frontend/src/lexer/token.rs:573:13 [INFO] [stdout] | [INFO] [stdout] 573 | Float => "Float", [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `float` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Rune` should have a snake case name [INFO] [stdout] --> frontend/src/lexer/token.rs:574:13 [INFO] [stdout] | [INFO] [stdout] 574 | Rune => "Rune", [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `rune` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `String` should have a snake case name [INFO] [stdout] --> frontend/src/lexer/token.rs:575:13 [INFO] [stdout] | [INFO] [stdout] 575 | String => "String", [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Keyword` should have a snake case name [INFO] [stdout] --> frontend/src/lexer/token.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | Keyword => "Keyword", [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `keyword` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Punctuation` should have a snake case name [INFO] [stdout] --> frontend/src/lexer/token.rs:577:13 [INFO] [stdout] | [INFO] [stdout] 577 | Punctuation => "Punctuation", [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `punctuation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Operator` should have a snake case name [INFO] [stdout] --> frontend/src/lexer/token.rs:578:13 [INFO] [stdout] | [INFO] [stdout] 578 | Operator => "Operator", [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Hidden` should have a snake case name [INFO] [stdout] --> frontend/src/lexer/token.rs:579:13 [INFO] [stdout] | [INFO] [stdout] 579 | Hidden => "Hidden" [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `hidden` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Byte` [INFO] [stdout] --> frontend/src/lexer/token.rs:150:24 [INFO] [stdout] | [INFO] [stdout] 150 | Rune::Byte(Byte) => "\\b", [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Byte` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `str` [INFO] [stdout] --> frontend/src/lexer/token.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | fn from(str: &'static str) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] 572 | Number => "Number", [INFO] [stdout] | ^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:573:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] 572 | Number => "Number", [INFO] [stdout] 573 | Float => "Float", [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:574:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 574 | Rune => "Rune", [INFO] [stdout] | ^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:575:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 575 | String => "String", [INFO] [stdout] | ^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 576 | Keyword => "Keyword", [INFO] [stdout] | ^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:577:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 577 | Punctuation => "Punctuation", [INFO] [stdout] | ^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:578:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 578 | Operator => "Operator", [INFO] [stdout] | ^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> frontend/src/lexer/token.rs:579:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ------- matches any value [INFO] [stdout] ... [INFO] [stdout] 579 | Hidden => "Hidden" [INFO] [stdout] | ^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Literal` [INFO] [stdout] --> frontend/src/lexer/token.rs:571:13 [INFO] [stdout] | [INFO] [stdout] 571 | Literal => "Literal", [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Number` [INFO] [stdout] --> frontend/src/lexer/token.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 572 | Number => "Number", [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_Number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Float` [INFO] [stdout] --> frontend/src/lexer/token.rs:573:13 [INFO] [stdout] | [INFO] [stdout] 573 | Float => "Float", [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Float` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Rune` [INFO] [stdout] --> frontend/src/lexer/token.rs:574:13 [INFO] [stdout] | [INFO] [stdout] 574 | Rune => "Rune", [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_Rune` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `String` [INFO] [stdout] --> frontend/src/lexer/token.rs:575:13 [INFO] [stdout] | [INFO] [stdout] 575 | String => "String", [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Keyword` [INFO] [stdout] --> frontend/src/lexer/token.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | Keyword => "Keyword", [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Keyword` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Punctuation` [INFO] [stdout] --> frontend/src/lexer/token.rs:577:13 [INFO] [stdout] | [INFO] [stdout] 577 | Punctuation => "Punctuation", [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Punctuation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Operator` [INFO] [stdout] --> frontend/src/lexer/token.rs:578:13 [INFO] [stdout] | [INFO] [stdout] 578 | Operator => "Operator", [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Hidden` [INFO] [stdout] --> frontend/src/lexer/token.rs:579:13 [INFO] [stdout] | [INFO] [stdout] 579 | Hidden => "Hidden" [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_Hidden` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> frontend/src/lexer/token.rs:583:13 [INFO] [stdout] | [INFO] [stdout] 583 | fn from(s: &'static str) -> Option { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `frontend` (lib test) due to 1 previous error; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "789032618f7aaca47658b7762e2cfa2b5250d854d0a0f63ad32284e9dce59823", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "789032618f7aaca47658b7762e2cfa2b5250d854d0a0f63ad32284e9dce59823", kill_on_drop: false }` [INFO] [stdout] 789032618f7aaca47658b7762e2cfa2b5250d854d0a0f63ad32284e9dce59823