[INFO] cloning repository https://github.com/Pylgos/gdx [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pylgos/gdx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPylgos%2Fgdx", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPylgos%2Fgdx'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8995950d61c04060a64ed9bfaf906068c49dd183 [INFO] checking Pylgos/gdx/8995950d61c04060a64ed9bfaf906068c49dd183 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPylgos%2Fgdx" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Pylgos/gdx on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Pylgos/gdx [INFO] finished tweaking git repo https://github.com/Pylgos/gdx [INFO] tweaked toml for git repo https://github.com/Pylgos/gdx written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Pylgos/gdx 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustversion v1.0.16 [INFO] [stderr] Downloaded internment v0.8.3 [INFO] [stderr] Downloaded syn v2.0.62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49766f1041f6433de8ac63c43ef4a05828c266d424f46de20a2aa38f0108f78a [INFO] running `Command { std: "docker" "start" "-a" "49766f1041f6433de8ac63c43ef4a05828c266d424f46de20a2aa38f0108f78a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49766f1041f6433de8ac63c43ef4a05828c266d424f46de20a2aa38f0108f78a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49766f1041f6433de8ac63c43ef4a05828c266d424f46de20a2aa38f0108f78a", kill_on_drop: false }` [INFO] [stdout] 49766f1041f6433de8ac63c43ef4a05828c266d424f46de20a2aa38f0108f78a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c676038785d35e294ce8341117bb031e26d36459ba63fb853fe950a01ac9a5c2 [INFO] running `Command { std: "docker" "start" "-a" "c676038785d35e294ce8341117bb031e26d36459ba63fb853fe950a01ac9a5c2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking lalrpop-util v0.20.2 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking internment v0.8.3 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Compiling gdx v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::ast::*` [INFO] [stdout] --> src/thir.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/thir.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{collections::HashMap, ops::Deref}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IdentCache` and `self` [INFO] [stdout] --> src/parser.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{ast::Class, context, ident::{IdentCache, IdentName}, lexer::{self, Span, Token, TokenKind}}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::*` [INFO] [stdout] --> src/thir.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/thir.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{collections::HashMap, ops::Deref}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IdentCache` [INFO] [stdout] --> src/parser.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{ast::Class, context, ident::{IdentCache, IdentName}, lexer::{self, Span, Token, TokenKind}}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ident::IdentCache` [INFO] [stdout] --> src/parser.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | use crate::ident::IdentCache; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/codegen.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | fn gen_stmt(&mut self, stmt: &Stmt) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/codegen.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | fn gen_expr(&mut self, expr: &Expr) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var_decl` [INFO] [stdout] --> src/codegen.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | fn gen_var_decl(&mut self, var_decl: &VarDef) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_var_decl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> src/codegen.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | fn gen_stmt(&mut self, stmt: &Stmt) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/codegen.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | fn gen_expr(&mut self, expr: &Expr) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var_decl` [INFO] [stdout] --> src/codegen.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | fn gen_var_decl(&mut self, var_decl: &VarDef) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_var_decl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/context.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Ctx { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/ast.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Node<'a> { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 5 | Class(&'a Class<'a>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | StmtList(&'a StmtList<'a>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | Stmt(&'a Stmt<'a>), [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Expr(&'a Expr<'a>), [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | FuncDef(&'a FuncDef<'a>), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | ParamList(&'a ParamList<'a>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | VarDef(&'a VarDef<'a>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | IdentDef(&'a IdentDef<'a>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | Ident(&'a Ident<'a>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | Lit(&'a Lit<'a>), [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | BinOp(&'a BinOp<'a>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Ident` and `BinOp` are never constructed [INFO] [stdout] --> src/ast.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub enum ExprKind<'a> { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 52 | Ident(&'a Ident<'a>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 53 | Lit(&'a Lit<'a>), [INFO] [stdout] 54 | BinOp(&'a BinOp<'a>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExprKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Str` is never constructed [INFO] [stdout] --> src/ast.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub enum LitKind<'a> { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 101 | Int(i128), [INFO] [stdout] 102 | Str(&'a str), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LitKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Add`, `Sub`, `Mul`, and `Div` are never constructed [INFO] [stdout] --> src/ast.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 114 | pub enum BinOpKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 115 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 116 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] 117 | Mul, [INFO] [stdout] | ^^^ [INFO] [stdout] 118 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinOpKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Codegen` is never constructed [INFO] [stdout] --> src/codegen.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Codegen<'a, Dst: std::io::Write> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/codegen.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/codegen.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a, Dst: std::io::Write> Codegen<'a, Dst> { [INFO] [stdout] | ---------------------------------------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(ast: &'a Class<'a>, dst: &'a mut Dst) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn generate(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn gen_program(&mut self, prog: &Class) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn gen_stmt(&mut self, stmt: &Stmt) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn gen_expr(&mut self, expr: &Expr) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn gen_lit(&mut self, lit: &Lit) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn gen_var_decl(&mut self, var_decl: &VarDef) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile` is never used [INFO] [stdout] --> src/extcc.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn compile(src_path: &Path, dst_path: &Path) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `I64` is never constructed [INFO] [stdout] --> src/thir.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum IntKind { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 28 | I64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IntKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Int` and `Class` are never constructed [INFO] [stdout] --> src/thir.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum TyKind<'a> { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 33 | Int(IntKind), [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | Class(Class<'a>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TyKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ident.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl IdentCache { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new() -> IdentCache { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to` is never used [INFO] [stdout] --> src/lexer.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Span { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn to(&self, to: Span) -> Span { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lexer.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Token { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 26 | pub fn new(kind: TokenKind, span: Span) -> Token { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnexpectedChar`, `UnexpectedEof`, `OddIndentation`, and `InconsistentIndentation` are never constructed [INFO] [stdout] --> src/lexer.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum LexErrorKind { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 45 | UnexpectedChar(char), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 46 | UnexpectedEof, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 47 | OddIndentation, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 48 | InconsistentIndentation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexErrorKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tokenize` is never used [INFO] [stdout] --> src/lexer.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn tokenize(source: &str) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IndentKind` is never used [INFO] [stdout] --> src/lexer.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | enum IndentKind { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Indentation` is never constructed [INFO] [stdout] --> src/lexer.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct Indentation { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Indentation` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lexer.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl Indentation { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 75 | fn new(elements: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lexer` is never constructed [INFO] [stdout] --> src/lexer.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Lexer<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lexer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/lexer.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl <'a> Lexer<'a> { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 95 | pub fn new(source: &str) -> Lexer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn bump(&mut self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn prev_token(&mut self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn prev_error_mut(&mut self) -> Option<&mut LexError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn current(&mut self) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn first(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | fn bump_while(&mut self, mut pred: impl FnMut(char) -> bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | fn begin_token(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | fn end_token_incl(&mut self, kind: TokenKind) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | fn zero_length_token(&mut self, kind: TokenKind, offset: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | fn token_str_incl(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | fn single_char_token(&mut self, kind: TokenKind) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | fn error(&mut self, kind: LexErrorKind) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | fn nest(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | fn unnest(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/lexer.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 207 | pub enum TokenKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 208 | // Basic [INFO] [stdout] 209 | Annotation, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 210 | Ident, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 211 | IntLit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 212 | StrLit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | Less, [INFO] [stdout] | ^^^^ [INFO] [stdout] 216 | LessEqual, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 217 | Greater, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 218 | GreaterEqual, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 219 | EqualEqual, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 220 | BangEqual, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 224 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 225 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] 226 | AmpAmp, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 227 | PipePipe, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 228 | Bang, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | Amp, [INFO] [stdout] | ^^^ [INFO] [stdout] 232 | Pipe, [INFO] [stdout] | ^^^^ [INFO] [stdout] 233 | Tilde, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 234 | Caret, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 235 | LessLess, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 236 | GreaterGreater, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] 240 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 241 | Star, [INFO] [stdout] | ^^^^ [INFO] [stdout] 242 | StarStar, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 243 | Slash, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 244 | Percent, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | Equal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 248 | PlusEqual, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 249 | MinusEqual, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 250 | StarEqual, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 251 | StarStarEqual, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 252 | SlashEqual, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 253 | PercentEqual, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 254 | LessLessEqual, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 255 | GreaterGreaterEqual, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 256 | AmpEqual, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 257 | PipeEqual, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 258 | CaretEqual, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | If, [INFO] [stdout] | ^^ [INFO] [stdout] 262 | Elif, [INFO] [stdout] | ^^^^ [INFO] [stdout] 263 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] 264 | For, [INFO] [stdout] | ^^^ [INFO] [stdout] 265 | While, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 266 | Break, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 267 | Continue, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 268 | Pass, [INFO] [stdout] | ^^^^ [INFO] [stdout] 269 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 270 | Match, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 271 | When, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | As, [INFO] [stdout] | ^^ [INFO] [stdout] 275 | Assert, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 276 | Await, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 277 | Breakpoint, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 278 | Class, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 279 | ClassName, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 280 | Const, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 281 | Enum, [INFO] [stdout] | ^^^^ [INFO] [stdout] 282 | Extends, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 283 | Func, [INFO] [stdout] | ^^^^ [INFO] [stdout] 284 | In, [INFO] [stdout] | ^^ [INFO] [stdout] 285 | Is, [INFO] [stdout] | ^^ [INFO] [stdout] 286 | Namespace, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 287 | Preload, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 288 | Self_, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 289 | Signal, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 290 | Static, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 291 | Super, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 292 | Trait, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 293 | Var, [INFO] [stdout] | ^^^ [INFO] [stdout] 294 | Void, [INFO] [stdout] | ^^^^ [INFO] [stdout] 295 | Yield, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | BracketOpen, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 299 | BracketClose, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 300 | BraceOpen, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 301 | BraceClose, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 302 | ParenthesisOpen, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 303 | ParenthesisClose, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 304 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 305 | SemiColon, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 306 | Period, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 307 | PeriodPeriod, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 308 | Colon, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 309 | Dollar, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 310 | ForwardArrow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 311 | Underscore, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | Newline, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 315 | Indent, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 316 | Dedent, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | Eof [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `tokenize`, `bracket_open`, `bracket_close`, and `newline` are never used [INFO] [stdout] --> src/lexer.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 358 | impl <'a> Lexer<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 359 | pub fn tokenize(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | fn bracket_open(&mut self, kind: TokenKind) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 504 | fn bracket_close(&mut self, kind: TokenKind) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 509 | fn newline(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/parser.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn parse<'a, 'src>(source: &'src str, tokens: &[Token], ctx: &'a context::Ctx) -> Result<&'a Class<'a>, ParseError src/lib.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let a: Arena = Arena::new(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/ast.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Node<'a> { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 5 | Class(&'a Class<'a>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | StmtList(&'a StmtList<'a>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | Stmt(&'a Stmt<'a>), [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Expr(&'a Expr<'a>), [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | FuncDef(&'a FuncDef<'a>), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | ParamList(&'a ParamList<'a>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | VarDef(&'a VarDef<'a>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | IdentDef(&'a IdentDef<'a>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | Ident(&'a Ident<'a>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | Lit(&'a Lit<'a>), [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | BinOp(&'a BinOp<'a>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, 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: variants `Ident` and `BinOp` are never constructed [INFO] [stdout] --> src/ast.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub enum ExprKind<'a> { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 52 | Ident(&'a Ident<'a>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 53 | Lit(&'a Lit<'a>), [INFO] [stdout] 54 | BinOp(&'a BinOp<'a>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExprKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Str` is never constructed [INFO] [stdout] --> src/ast.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub enum LitKind<'a> { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 101 | Int(i128), [INFO] [stdout] 102 | Str(&'a str), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LitKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Add`, `Sub`, `Mul`, and `Div` are never constructed [INFO] [stdout] --> src/ast.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 114 | pub enum BinOpKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 115 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 116 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] 117 | Mul, [INFO] [stdout] | ^^^ [INFO] [stdout] 118 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinOpKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `gen_expr`, `gen_lit`, and `gen_var_decl` are never used [INFO] [stdout] --> src/codegen.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a, Dst: std::io::Write> Codegen<'a, Dst> { [INFO] [stdout] | ---------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | fn gen_expr(&mut self, expr: &Expr) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn gen_lit(&mut self, lit: &Lit) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn gen_var_decl(&mut self, var_decl: &VarDef) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `I64` is never constructed [INFO] [stdout] --> src/thir.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum IntKind { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 28 | I64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IntKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Int` and `Class` are never constructed [INFO] [stdout] --> src/thir.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum TyKind<'a> { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 33 | Int(IntKind), [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | Class(Class<'a>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TyKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to` is never used [INFO] [stdout] --> src/lexer.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Span { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn to(&self, to: Span) -> Span { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `prev_error_mut` is never used [INFO] [stdout] --> src/lexer.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 94 | impl <'a> Lexer<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | fn prev_error_mut(&mut self) -> Option<&mut LexError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/lexer.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 207 | pub enum TokenKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 208 | // Basic [INFO] [stdout] 209 | Annotation, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | StrLit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | Less, [INFO] [stdout] | ^^^^ [INFO] [stdout] 216 | LessEqual, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 217 | Greater, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 218 | GreaterEqual, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 219 | EqualEqual, [INFO] [stdout] 220 | BangEqual, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 224 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 225 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] 226 | AmpAmp, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 227 | PipePipe, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 228 | Bang, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | Amp, [INFO] [stdout] | ^^^ [INFO] [stdout] 232 | Pipe, [INFO] [stdout] | ^^^^ [INFO] [stdout] 233 | Tilde, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 234 | Caret, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 235 | LessLess, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 236 | GreaterGreater, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | StarStar, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 243 | Slash, [INFO] [stdout] 244 | Percent, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | StarStarEqual, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 252 | SlashEqual, [INFO] [stdout] 253 | PercentEqual, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 254 | LessLessEqual, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 255 | GreaterGreaterEqual, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 256 | AmpEqual, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 257 | PipeEqual, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 258 | CaretEqual, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | BracketOpen, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 299 | BracketClose, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 300 | BraceOpen, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 301 | BraceClose, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 304 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 305 | SemiColon, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 306 | Period, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 307 | PeriodPeriod, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 308 | Colon, [INFO] [stdout] 309 | Dollar, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 310 | ForwardArrow, [INFO] [stdout] 311 | Underscore, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/parser.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | parse(source, &tokens, &ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 53 | let _ = parse(source, &tokens, &ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.38s [INFO] running `Command { std: "docker" "inspect" "c676038785d35e294ce8341117bb031e26d36459ba63fb853fe950a01ac9a5c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c676038785d35e294ce8341117bb031e26d36459ba63fb853fe950a01ac9a5c2", kill_on_drop: false }` [INFO] [stdout] c676038785d35e294ce8341117bb031e26d36459ba63fb853fe950a01ac9a5c2