[INFO] cloning repository https://github.com/SalWolffs/spl-compile [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SalWolffs/spl-compile" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSalWolffs%2Fspl-compile", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSalWolffs%2Fspl-compile'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 29aaf849b061f39d79fdcb4a93a702aa43e5fe8a [INFO] checking SalWolffs/spl-compile against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSalWolffs%2Fspl-compile" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SalWolffs/spl-compile on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SalWolffs/spl-compile [INFO] finished tweaking git repo https://github.com/SalWolffs/spl-compile [INFO] tweaked toml for git repo https://github.com/SalWolffs/spl-compile written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/SalWolffs/spl-compile already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17afe187e82105dc9118e4f3484167b717d40b927afb1b777d74fd930a3e30d8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "17afe187e82105dc9118e4f3484167b717d40b927afb1b777d74fd930a3e30d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17afe187e82105dc9118e4f3484167b717d40b927afb1b777d74fd930a3e30d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17afe187e82105dc9118e4f3484167b717d40b927afb1b777d74fd930a3e30d8", kill_on_drop: false }` [INFO] [stdout] 17afe187e82105dc9118e4f3484167b717d40b927afb1b777d74fd930a3e30d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 25010641e2394fe7644fe4becaa173fe1818565934da791b8e2940eb7c6c87b9 [INFO] running `Command { std: "docker" "start" "-a" "25010641e2394fe7644fe4becaa173fe1818565934da791b8e2940eb7c6c87b9", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Checking regex-syntax v0.6.14 [INFO] [stderr] Checking aho-corasick v0.7.8 [INFO] [stderr] Checking regex v1.3.4 [INFO] [stderr] Checking spl-compile v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BType`, `BareOp`, `BareSelector`, `LitVal` [INFO] [stdout] --> src/parser/lex.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::{BType, BareOp, BareSelector, LitVal}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tok::Token::Selector as SelectTok` [INFO] [stdout] --> src/parser/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tok::Token::Selector as SelectTok; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BType`, `BareOp`, `BareSelector`, `LitVal` [INFO] [stdout] --> src/parser/lex.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::{BType, BareOp, BareSelector, LitVal}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tok::Token::Selector as SelectTok` [INFO] [stdout] --> src/parser/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tok::Token::Selector as SelectTok; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::lex::*` [INFO] [stdout] --> src/parser/mod.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | use super::lex::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/parser/mod.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | .map_err(|v| ipe!("Attempted lookahead beyond 1")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/parser/mod.rs:129:46 [INFO] [stdout] | [INFO] [stdout] 129 | fn fun_or_named_type_var_decl(&mut self, id: Id) -> ParseResult { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/parser/mod.rs:146:27 [INFO] [stdout] | [INFO] [stdout] 146 | fn fun_def(&mut self, id: Id) -> ParseResult { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/parser/mod.rs:156:36 [INFO] [stdout] | [INFO] [stdout] 156 | fn stmt_or_var_decl(&mut self, id: Id) -> ParseResult { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/parser/mod.rs:184:34 [INFO] [stdout] | [INFO] [stdout] 184 | fn assign_or_call(&mut self, id: Id) -> ParseResult { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/parser/mod.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | .map_err(|v| ipe!("Attempted lookahead beyond 1")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/parser/mod.rs:129:46 [INFO] [stdout] | [INFO] [stdout] 129 | fn fun_or_named_type_var_decl(&mut self, id: Id) -> ParseResult { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/parser/mod.rs:146:27 [INFO] [stdout] | [INFO] [stdout] 146 | fn fun_def(&mut self, id: Id) -> ParseResult { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/parser/mod.rs:156:36 [INFO] [stdout] | [INFO] [stdout] 156 | fn stmt_or_var_decl(&mut self, id: Id) -> ParseResult { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/parser/mod.rs:184:34 [INFO] [stdout] | [INFO] [stdout] 184 | fn assign_or_call(&mut self, id: Id) -> ParseResult { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ast.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn new(startline: u32, endline: u32, startcol: u16, endcol: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hull` [INFO] [stdout] --> src/ast.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn hull(lhs: Self, rhs: Self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `SPL` [INFO] [stdout] --> src/ast.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub type SPL = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Var` [INFO] [stdout] --> src/ast.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | Var(Option, Id, Exp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Fun` [INFO] [stdout] --> src/ast.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | Fun(Id, Vec, Option, Vec, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DeclStmt` [INFO] [stdout] --> src/ast.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | DeclStmt(Decl), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PureStmt` [INFO] [stdout] --> src/ast.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | PureStmt(Stmt), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Var` [INFO] [stdout] --> src/ast.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | Var(Id, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Call` [INFO] [stdout] --> src/ast.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | Call(Id, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Lit` [INFO] [stdout] --> src/ast.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | Lit(LitVal), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Tuple` [INFO] [stdout] --> src/ast.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | Tuple(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BinOp` [INFO] [stdout] --> src/ast.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | BinOp(Op, Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnOp` [INFO] [stdout] --> src/ast.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | UnOp(Op, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ITE` [INFO] [stdout] --> src/ast.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | ITE(Exp, Vec, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `While` [INFO] [stdout] --> src/ast.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | While(Exp, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Assign` [INFO] [stdout] --> src/ast.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | Assign(Id, Exp), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Call` [INFO] [stdout] --> src/ast.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | Call(Id, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ret` [INFO] [stdout] --> src/ast.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | Ret(Option), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Lit` [INFO] [stdout] --> src/ast.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | Lit(BType), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Typename` [INFO] [stdout] --> src/ast.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | Typename(Id), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Tuple` [INFO] [stdout] --> src/ast.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | Tuple(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `List` [INFO] [stdout] --> src/ast.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | List(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Hd` [INFO] [stdout] --> src/ast.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | Hd, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Tl` [INFO] [stdout] --> src/ast.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | Tl, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Fst` [INFO] [stdout] --> src/ast.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | Fst, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Snd` [INFO] [stdout] --> src/ast.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | Snd, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IntT` [INFO] [stdout] --> src/ast.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | IntT, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BoolT` [INFO] [stdout] --> src/ast.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | BoolT, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CharT` [INFO] [stdout] --> src/ast.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | CharT, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnitT` [INFO] [stdout] --> src/ast.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | UnitT, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bool` [INFO] [stdout] --> src/ast.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | Bool(bool), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Neg` [INFO] [stdout] --> src/ast.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | Neg, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_unary` [INFO] [stdout] --> src/ast.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn is_unary(self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `right_precedes` [INFO] [stdout] --> src/ast.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn right_precedes(self, other: Self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lex` [INFO] [stdout] --> src/parser/lex.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn lex(source: &'s str) -> Lex<'s> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/parser/lex.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn peek(&mut self) -> Option<&Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unpeek` [INFO] [stdout] --> src/parser/lex.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn unpeek(&mut self, val: LocTok) -> Result<&LocTok, LocTok> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Expression` [INFO] [stdout] --> src/parser/shunting_yard.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Expression, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Operator` [INFO] [stdout] --> src/parser/shunting_yard.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Operator, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Done` [INFO] [stdout] --> src/parser/shunting_yard.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Done, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ShuntingYard` [INFO] [stdout] --> src/parser/shunting_yard.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | pub(super) struct ShuntingYard<'s, 'p> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_exp` [INFO] [stdout] --> src/parser/shunting_yard.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | pub(super) fn parse_exp(parser: &'p mut Parser<'s>) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser/shunting_yard.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn new(parser: &'p mut Parser<'s>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/parser/shunting_yard.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn step(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/parser/shunting_yard.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn run(&mut self) -> ParseResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shunt_atom` [INFO] [stdout] --> src/parser/shunting_yard.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn shunt_atom(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shunt_binop` [INFO] [stdout] --> src/parser/shunting_yard.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | fn shunt_binop(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exppop` [INFO] [stdout] --> src/parser/shunting_yard.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | fn exppop(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `oppeek` [INFO] [stdout] --> src/parser/shunting_yard.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | fn oppeek(&mut self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_push` [INFO] [stdout] --> src/parser/shunting_yard.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | fn can_push(&mut self, op: crate::ast::BareOp, loc: Loc) -> ParseResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `opapply` [INFO] [stdout] --> src/parser/shunting_yard.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | fn opapply(&mut self, op: crate::ast::BareOp, loc: Loc) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `oppop` [INFO] [stdout] --> src/parser/shunting_yard.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 166 | fn oppop(&mut self) -> ParseResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `oppush` [INFO] [stdout] --> src/parser/shunting_yard.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | fn oppush(&mut self, op: crate::ast::BareOp, loc: Loc) -> ParseResult<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/parser/tok.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Var` [INFO] [stdout] --> src/parser/tok.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Var, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `If` [INFO] [stdout] --> src/parser/tok.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | If, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Else` [INFO] [stdout] --> src/parser/tok.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `While` [INFO] [stdout] --> src/parser/tok.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | While, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Return` [INFO] [stdout] --> src/parser/tok.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `TokStream` [INFO] [stdout] --> src/parser/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | type TokStream<'s> = lex::Lex<'s>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/parser/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Parser<'s> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `ParseResult` [INFO] [stdout] --> src/parser/mod.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | type ParseResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `opthull` [INFO] [stdout] --> src/parser/mod.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn opthull(lhs: Option, rhs: Option) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hull` [INFO] [stdout] --> src/parser/mod.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn hull(lhs: Span, rhs: Span) -> Span { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `eof` [INFO] [stdout] --> src/parser/mod.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn eof(expected: String) -> ParseResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unexpected` [INFO] [stdout] --> src/parser/mod.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn unexpected(found: tok::LocTok, expected: String) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lexfail` [INFO] [stdout] --> src/parser/mod.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn lexfail(err: lex::LexError) -> ParseResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser/mod.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn new(source: &'s str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nexttok` [INFO] [stdout] --> src/parser/mod.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | fn nexttok(&mut self) -> Option<::Item> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peektok` [INFO] [stdout] --> src/parser/mod.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | fn peektok(&mut self) -> Option<&::Item> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `trytok` [INFO] [stdout] --> src/parser/mod.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn trytok(&mut self) -> ParseResult> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unpeektok` [INFO] [stdout] --> src/parser/mod.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | fn unpeektok(&mut self, val: tok::LocTok) -> ParseResult<&tok::LocTok> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `backtrack` [INFO] [stdout] --> src/parser/mod.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | fn backtrack(&mut self, found: tok::LocTok, expected: String) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expect` [INFO] [stdout] --> src/parser/mod.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | fn expect(&mut self, tok: Token) -> ParseResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decl` [INFO] [stdout] --> src/parser/mod.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | fn decl(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fun_or_named_type_var_decl` [INFO] [stdout] --> src/parser/mod.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | fn fun_or_named_type_var_decl(&mut self, id: Id) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `var_init` [INFO] [stdout] --> src/parser/mod.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | fn var_init(&mut self) -> ParseResult<(Id, Exp)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fun_def` [INFO] [stdout] --> src/parser/mod.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | fn fun_def(&mut self, id: Id) -> ParseResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `f_stmt` [INFO] [stdout] --> src/parser/mod.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | fn f_stmt(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stmt_or_var_decl` [INFO] [stdout] --> src/parser/mod.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | fn stmt_or_var_decl(&mut self, id: Id) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ret_type` [INFO] [stdout] --> src/parser/mod.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | fn ret_type(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fun_type` [INFO] [stdout] --> src/parser/mod.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | fn fun_type(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `typ` [INFO] [stdout] --> src/parser/mod.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | fn typ(&mut self) -> ParseResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `non_id_type` [INFO] [stdout] --> src/parser/mod.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | fn non_id_type(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `b_type` [INFO] [stdout] --> src/parser/mod.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | fn b_type(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stmt` [INFO] [stdout] --> src/parser/mod.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | fn stmt(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `assign_or_call` [INFO] [stdout] --> src/parser/mod.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | fn assign_or_call(&mut self, id: Id) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compound` [INFO] [stdout] --> src/parser/mod.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | fn compound(&mut self) -> ParseResult> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `selector` [INFO] [stdout] --> src/parser/mod.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | fn selector(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `field` [INFO] [stdout] --> src/parser/mod.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 196 | fn field(&mut self) -> ParseResult<(Vec, Span)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exp` [INFO] [stdout] --> src/parser/mod.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 200 | fn exp(&mut self) -> ParseResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `atom` [INFO] [stdout] --> src/parser/mod.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 204 | fn atom(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `field_or_call` [INFO] [stdout] --> src/parser/mod.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 225 | fn field_or_call(&mut self, id: Id) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tuplish` [INFO] [stdout] --> src/parser/mod.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 243 | fn tuplish( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/mod.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | panic!(format!("Internal parser error: {}", $msg)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | .map_err(|v| ipe!("Attempted lookahead beyond 1")) [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 35 | panic!("Internal parser error: {}", $msg) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 102 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `SPL` [INFO] [stdout] --> src/ast.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub type SPL = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Var` [INFO] [stdout] --> src/ast.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | Var(Option, Id, Exp), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Fun` [INFO] [stdout] --> src/ast.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | Fun(Id, Vec, Option, Vec, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DeclStmt` [INFO] [stdout] --> src/ast.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | DeclStmt(Decl), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PureStmt` [INFO] [stdout] --> src/ast.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | PureStmt(Stmt), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ITE` [INFO] [stdout] --> src/ast.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | ITE(Exp, Vec, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `While` [INFO] [stdout] --> src/ast.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | While(Exp, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Assign` [INFO] [stdout] --> src/ast.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | Assign(Id, Exp), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Call` [INFO] [stdout] --> src/ast.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | Call(Id, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ret` [INFO] [stdout] --> src/ast.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | Ret(Option), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Lit` [INFO] [stdout] --> src/ast.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | Lit(BType), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Typename` [INFO] [stdout] --> src/ast.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | Typename(Id), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Tuple` [INFO] [stdout] --> src/ast.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | Tuple(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `List` [INFO] [stdout] --> src/ast.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | List(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lasttok` [INFO] [stdout] --> src/parser/shunting_yard.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | lasttok: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/parser/tok.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `backtrack` [INFO] [stdout] --> src/parser/mod.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | fn backtrack(&mut self, found: tok::LocTok, expected: String) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expect` [INFO] [stdout] --> src/parser/mod.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | fn expect(&mut self, tok: Token) -> ParseResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decl` [INFO] [stdout] --> src/parser/mod.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | fn decl(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fun_or_named_type_var_decl` [INFO] [stdout] --> src/parser/mod.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | fn fun_or_named_type_var_decl(&mut self, id: Id) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `var_init` [INFO] [stdout] --> src/parser/mod.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | fn var_init(&mut self) -> ParseResult<(Id, Exp)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fun_def` [INFO] [stdout] --> src/parser/mod.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | fn fun_def(&mut self, id: Id) -> ParseResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `f_stmt` [INFO] [stdout] --> src/parser/mod.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | fn f_stmt(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stmt_or_var_decl` [INFO] [stdout] --> src/parser/mod.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | fn stmt_or_var_decl(&mut self, id: Id) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ret_type` [INFO] [stdout] --> src/parser/mod.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | fn ret_type(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fun_type` [INFO] [stdout] --> src/parser/mod.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | fn fun_type(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `typ` [INFO] [stdout] --> src/parser/mod.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | fn typ(&mut self) -> ParseResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `non_id_type` [INFO] [stdout] --> src/parser/mod.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | fn non_id_type(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `b_type` [INFO] [stdout] --> src/parser/mod.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | fn b_type(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stmt` [INFO] [stdout] --> src/parser/mod.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | fn stmt(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `assign_or_call` [INFO] [stdout] --> src/parser/mod.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | fn assign_or_call(&mut self, id: Id) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compound` [INFO] [stdout] --> src/parser/mod.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | fn compound(&mut self) -> ParseResult> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `selector` [INFO] [stdout] --> src/parser/mod.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | fn selector(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/mod.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | panic!(format!("Internal parser error: {}", $msg)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | .map_err(|v| ipe!("Attempted lookahead beyond 1")) [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 35 | panic!("Internal parser error: {}", $msg) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.06s [INFO] running `Command { std: "docker" "inspect" "25010641e2394fe7644fe4becaa173fe1818565934da791b8e2940eb7c6c87b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25010641e2394fe7644fe4becaa173fe1818565934da791b8e2940eb7c6c87b9", kill_on_drop: false }` [INFO] [stdout] 25010641e2394fe7644fe4becaa173fe1818565934da791b8e2940eb7c6c87b9