[INFO] cloning repository https://github.com/Amejonah1200/aplang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Amejonah1200/aplang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmejonah1200%2Faplang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmejonah1200%2Faplang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 873710d7ff68bde6210efe0cb102412e2ac31e33 [INFO] checking Amejonah1200/aplang against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmejonah1200%2Faplang" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Amejonah1200/aplang on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Amejonah1200/aplang [INFO] finished tweaking git repo https://github.com/Amejonah1200/aplang [INFO] tweaked toml for git repo https://github.com/Amejonah1200/aplang written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Amejonah1200/aplang already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c549bdf0d9bee1b6e57b3574ced42bd496dcaa8620a12b797b2d0833e1d45f05 [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" "c549bdf0d9bee1b6e57b3574ced42bd496dcaa8620a12b797b2d0833e1d45f05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c549bdf0d9bee1b6e57b3574ced42bd496dcaa8620a12b797b2d0833e1d45f05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c549bdf0d9bee1b6e57b3574ced42bd496dcaa8620a12b797b2d0833e1d45f05", kill_on_drop: false }` [INFO] [stdout] c549bdf0d9bee1b6e57b3574ced42bd496dcaa8620a12b797b2d0833e1d45f05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d9af30344ada85e6ed37e995f2d1f05b314d818c4bee6b28263226db93b2e33 [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" "8d9af30344ada85e6ed37e995f2d1f05b314d818c4bee6b28263226db93b2e33", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking predicates-core v1.0.2 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking predicates v1.0.7 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking aplang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/ast/ast.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / macro_rules! token_match_get { [INFO] [stdout] 41 | | ($scanner:expr, $token:path, $err:expr) => { [INFO] [stdout] 42 | | { [INFO] [stdout] 43 | | let temp = $scanner.peek_or_eof(); [INFO] [stdout] ... | [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/ast/ast.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / macro_rules! option_none_error { [INFO] [stdout] 89 | | ($token:expr, $option:expr, $expected:literal, $loc:literal) => { [INFO] [stdout] 90 | | if $option.is_none() { [INFO] [stdout] 91 | | error_str($token, $expected, $loc); [INFO] [stdout] 92 | | } [INFO] [stdout] 93 | | }; [INFO] [stdout] 94 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/ast/ast.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / macro_rules! token_match_get { [INFO] [stdout] 41 | | ($scanner:expr, $token:path, $err:expr) => { [INFO] [stdout] 42 | | { [INFO] [stdout] 43 | | let temp = $scanner.peek_or_eof(); [INFO] [stdout] ... | [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/ast/ast.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | / macro_rules! option_none_error { [INFO] [stdout] 89 | | ($token:expr, $option:expr, $expected:literal, $loc:literal) => { [INFO] [stdout] 90 | | if $option.is_none() { [INFO] [stdout] 91 | | error_str($token, $expected, $loc); [INFO] [stdout] 92 | | } [INFO] [stdout] 93 | | }; [INFO] [stdout] 94 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | fn declaration(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:124:15 [INFO] [stdout] | [INFO] [stdout] 124 | fn class_decl(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | fn fun_decl(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | fn var_decl(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | fn statement(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 140 | fn expr_stmt(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | fn for_stmt(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | fn if_stmt(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:152:16 [INFO] [stdout] | [INFO] [stdout] 152 | fn return_stmt(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | fn while_stmt(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | fn do_while(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:164:20 [INFO] [stdout] | [INFO] [stdout] 164 | fn block_no_return(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:260:15 [INFO] [stdout] | [INFO] [stdout] 260 | fn unary_left(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:264:18 [INFO] [stdout] | [INFO] [stdout] 264 | fn unary_left_op(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:268:16 [INFO] [stdout] | [INFO] [stdout] 268 | fn unary_right(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | fn call(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 290 | fn block_return(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | fn function(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:298:15 [INFO] [stdout] | [INFO] [stdout] 298 | fn parameters(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:302:14 [INFO] [stdout] | [INFO] [stdout] 302 | fn arguments(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | fn declaration(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:124:15 [INFO] [stdout] | [INFO] [stdout] 124 | fn class_decl(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | fn fun_decl(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | fn var_decl(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | fn statement(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 140 | fn expr_stmt(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | fn for_stmt(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | fn if_stmt(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:152:16 [INFO] [stdout] | [INFO] [stdout] 152 | fn return_stmt(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | fn while_stmt(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | fn do_while(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:164:20 [INFO] [stdout] | [INFO] [stdout] 164 | fn block_no_return(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:260:15 [INFO] [stdout] | [INFO] [stdout] 260 | fn unary_left(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:264:18 [INFO] [stdout] | [INFO] [stdout] 264 | fn unary_left_op(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:268:16 [INFO] [stdout] | [INFO] [stdout] 268 | fn unary_right(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | fn call(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 290 | fn block_return(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | fn function(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:298:15 [INFO] [stdout] | [INFO] [stdout] 298 | fn parameters(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/ast/ast.rs:302:14 [INFO] [stdout] | [INFO] [stdout] 302 | fn arguments(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast/ast.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let mut token; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast/ast.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let mut token; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/ast/ast.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | fn logic_and(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 224 | let equality_expr = logic_and(scanner); [INFO] [stdout] | ------------------ recursive call site [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/ast/ast.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 223 | fn logic_and(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 224 | let equality_expr = logic_and(scanner); [INFO] [stdout] | ------------------ recursive call site [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_search_ignore` [INFO] [stdout] --> src/scanner/scanner.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn peek_search_ignore(&mut self, ignore: F1, predicate: F2) -> bool [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: `peek_adv` [INFO] [stdout] --> src/scanner/scanner.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn peek_adv(&mut self, nb: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_is_eof` [INFO] [stdout] --> src/scanner/scanner.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn peek_is_eof(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pos_reset` [INFO] [stdout] --> src/scanner/scanner.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn pos_reset(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pos_is_eof` [INFO] [stdout] --> src/scanner/scanner.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn pos_is_eof(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pos_set` [INFO] [stdout] --> src/scanner/scanner.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn pos_set(&mut self, pos: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_get` [INFO] [stdout] --> src/scanner/scanner.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn peek_get(&self) -> usize { self.peek } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_set` [INFO] [stdout] --> src/scanner/scanner.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn peek_set(&mut self, peek: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `consume_chars` [INFO] [stdout] --> src/scanner/scanner.rs:178:10 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn consume_chars(&mut self, nb: usize, fail_on_not_reach: bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_chars` [INFO] [stdout] --> src/scanner/scanner.rs:189:10 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn peek_chars(&mut self, nb: usize, fail_on_not_reach: bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_search_chars` [INFO] [stdout] --> src/scanner/scanner.rs:207:10 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn peek_search_chars(&mut self, predicate: BoxPredicate) -> std::string::String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_rewind_not_eof` [INFO] [stdout] --> src/scanner/scanner.rs:223:10 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn peek_rewind_not_eof(&mut self, amount: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `consume_or_eof` [INFO] [stdout] --> src/scanner/scanner.rs:234:10 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn consume_or_eof(&mut self) -> &GriddedToken { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `consume_rewind_not_eof` [INFO] [stdout] --> src/scanner/scanner.rs:244:10 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn consume_rewind_not_eof(&mut self, amount: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GreaterGreaterEqual` [INFO] [stdout] --> src/scanner/token.rs:122:3 [INFO] [stdout] | [INFO] [stdout] 122 | GreaterGreaterEqual, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Word` [INFO] [stdout] --> src/scanner/token.rs:162:3 [INFO] [stdout] | [INFO] [stdout] 162 | Word(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `declaration` [INFO] [stdout] --> src/ast/ast.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn declaration(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `visibility` [INFO] [stdout] --> src/ast/ast.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn visibility(scanner: &mut Scanner) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `class_decl` [INFO] [stdout] --> src/ast/ast.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn class_decl(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fun_decl` [INFO] [stdout] --> src/ast/ast.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn fun_decl(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `var_decl` [INFO] [stdout] --> src/ast/ast.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn var_decl(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `statement` [INFO] [stdout] --> src/ast/ast.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | fn statement(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `expr_stmt` [INFO] [stdout] --> src/ast/ast.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn expr_stmt(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `for_stmt` [INFO] [stdout] --> src/ast/ast.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn for_stmt(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `if_stmt` [INFO] [stdout] --> src/ast/ast.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | fn if_stmt(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `return_stmt` [INFO] [stdout] --> src/ast/ast.rs:152:4 [INFO] [stdout] | [INFO] [stdout] 152 | fn return_stmt(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `while_stmt` [INFO] [stdout] --> src/ast/ast.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn while_stmt(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `do_while` [INFO] [stdout] --> src/ast/ast.rs:160:4 [INFO] [stdout] | [INFO] [stdout] 160 | fn do_while(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `block_no_return` [INFO] [stdout] --> src/ast/ast.rs:164:4 [INFO] [stdout] | [INFO] [stdout] 164 | fn block_no_return(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `expression` [INFO] [stdout] --> src/ast/ast.rs:168:4 [INFO] [stdout] | [INFO] [stdout] 168 | fn expression(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `assignment` [INFO] [stdout] --> src/ast/ast.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn assignment(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `if_expr` [INFO] [stdout] --> src/ast/ast.rs:192:4 [INFO] [stdout] | [INFO] [stdout] 192 | fn if_expr(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `logic_or` [INFO] [stdout] --> src/ast/ast.rs:210:4 [INFO] [stdout] | [INFO] [stdout] 210 | fn logic_or(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `logic_and` [INFO] [stdout] --> src/ast/ast.rs:223:4 [INFO] [stdout] | [INFO] [stdout] 223 | fn logic_and(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `equality` [INFO] [stdout] --> src/ast/ast.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | fn $name(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | binary_method!(equality, comparison, Equality, EqualEqual | BangEqual); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `comparison` [INFO] [stdout] --> src/ast/ast.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | fn $name(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | binary_method!(comparison, term, Comparison, Greater | GreaterEqual | Less | LessEqual); [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `term` [INFO] [stdout] --> src/ast/ast.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | fn $name(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | binary_method!(term, factor, Term, Minus | Plus); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `factor` [INFO] [stdout] --> src/ast/ast.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | fn $name(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | binary_method!(factor, bit_op, Factor, Slash | Star | StarStar); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bit_op` [INFO] [stdout] --> src/ast/ast.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | fn $name(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | binary_method!(bit_op, unary_left, BitOp, VerticalBar | Circumflex | Ampersand); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unary_left` [INFO] [stdout] --> src/ast/ast.rs:260:4 [INFO] [stdout] | [INFO] [stdout] 260 | fn unary_left(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unary_left_op` [INFO] [stdout] --> src/ast/ast.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | fn unary_left_op(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unary_right` [INFO] [stdout] --> src/ast/ast.rs:268:4 [INFO] [stdout] | [INFO] [stdout] 268 | fn unary_right(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call` [INFO] [stdout] --> src/ast/ast.rs:272:4 [INFO] [stdout] | [INFO] [stdout] 272 | fn call(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `primary` [INFO] [stdout] --> src/ast/ast.rs:277:4 [INFO] [stdout] | [INFO] [stdout] 277 | fn primary(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `block_return` [INFO] [stdout] --> src/ast/ast.rs:290:4 [INFO] [stdout] | [INFO] [stdout] 290 | fn block_return(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/ast/ast.rs:294:4 [INFO] [stdout] | [INFO] [stdout] 294 | fn function(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parameters` [INFO] [stdout] --> src/ast/ast.rs:298:4 [INFO] [stdout] | [INFO] [stdout] 298 | fn parameters(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `arguments` [INFO] [stdout] --> src/ast/ast.rs:302:4 [INFO] [stdout] | [INFO] [stdout] 302 | fn arguments(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Declaration` [INFO] [stdout] --> src/ast/expr.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | Declaration(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Visibility` [INFO] [stdout] --> src/ast/expr.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | Visibility(Visibility), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_search_ignore` [INFO] [stdout] --> src/scanner/scanner.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn peek_search_ignore(&mut self, ignore: F1, predicate: F2) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ClassDecl` [INFO] [stdout] --> src/ast/expr.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | ClassDecl(Option, Token, Vec, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_adv` [INFO] [stdout] --> src/scanner/scanner.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn peek_adv(&mut self, nb: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FunDecl` [INFO] [stdout] --> src/ast/expr.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | FunDecl(Option, Token, Box>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_is_eof` [INFO] [stdout] --> src/scanner/scanner.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn peek_is_eof(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VarDecl` [INFO] [stdout] --> src/ast/expr.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | VarDecl(Option, Token, Token, Option>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Statement` [INFO] [stdout] --> src/ast/expr.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | Statement(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pos_reset` [INFO] [stdout] --> src/scanner/scanner.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn pos_reset(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pos_is_eof` [INFO] [stdout] --> src/scanner/scanner.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn pos_is_eof(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ExprStmt` [INFO] [stdout] --> src/ast/expr.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | ExprStmt(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pos_set` [INFO] [stdout] --> src/scanner/scanner.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn pos_set(&mut self, pos: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ForStmt` [INFO] [stdout] --> src/ast/expr.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | ForStmt(For), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_get` [INFO] [stdout] --> src/scanner/scanner.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn peek_get(&self) -> usize { self.peek } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IfStmt` [INFO] [stdout] --> src/ast/expr.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | IfStmt(Box, Box, Option>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ReturnStmt` [INFO] [stdout] --> src/ast/expr.rs:59:3 [INFO] [stdout] | [INFO] [stdout] 59 | ReturnStmt(Option>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_set` [INFO] [stdout] --> src/scanner/scanner.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn peek_set(&mut self, peek: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WhileStmt` [INFO] [stdout] --> src/ast/expr.rs:63:3 [INFO] [stdout] | [INFO] [stdout] 63 | WhileStmt(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `consume_chars` [INFO] [stdout] --> src/scanner/scanner.rs:178:10 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn consume_chars(&mut self, nb: usize, fail_on_not_reach: bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DoWhile` [INFO] [stdout] --> src/ast/expr.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | DoWhile(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_chars` [INFO] [stdout] --> src/scanner/scanner.rs:189:10 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn peek_chars(&mut self, nb: usize, fail_on_not_reach: bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BlockNoReturn` [INFO] [stdout] --> src/ast/expr.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | BlockNoReturn(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Assignment` [INFO] [stdout] --> src/ast/expr.rs:81:3 [INFO] [stdout] | [INFO] [stdout] 81 | Assignment(Box, Token, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_search_chars` [INFO] [stdout] --> src/scanner/scanner.rs:207:10 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn peek_search_chars(&mut self, predicate: BoxPredicate) -> std::string::String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IfNsExpr` [INFO] [stdout] --> src/ast/expr.rs:85:3 [INFO] [stdout] | [INFO] [stdout] 85 | IfNsExpr(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_rewind_not_eof` [INFO] [stdout] --> src/scanner/scanner.rs:223:10 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn peek_rewind_not_eof(&mut self, amount: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `consume_or_eof` [INFO] [stdout] --> src/scanner/scanner.rs:234:10 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn consume_or_eof(&mut self) -> &GriddedToken { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IfExpr` [INFO] [stdout] --> src/ast/expr.rs:89:3 [INFO] [stdout] | [INFO] [stdout] 89 | IfExpr(Box, Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LogicOr` [INFO] [stdout] --> src/ast/expr.rs:93:3 [INFO] [stdout] | [INFO] [stdout] 93 | LogicOr(Box, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LogicAnd` [INFO] [stdout] --> src/ast/expr.rs:97:3 [INFO] [stdout] | [INFO] [stdout] 97 | LogicAnd(Box, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Equality` [INFO] [stdout] --> src/ast/expr.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Equality(Box, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Comparison` [INFO] [stdout] --> src/ast/expr.rs:105:3 [INFO] [stdout] | [INFO] [stdout] 105 | Comparison(Box, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Term` [INFO] [stdout] --> src/ast/expr.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | Term(Box, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Factor` [INFO] [stdout] --> src/ast/expr.rs:113:3 [INFO] [stdout] | [INFO] [stdout] 113 | Factor(Box, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BitOp` [INFO] [stdout] --> src/ast/expr.rs:117:3 [INFO] [stdout] | [INFO] [stdout] 117 | BitOp(Box, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnaryLeft` [INFO] [stdout] --> src/ast/expr.rs:121:3 [INFO] [stdout] | [INFO] [stdout] 121 | UnaryLeft(Unary), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnaryLeftOp` [INFO] [stdout] --> src/ast/expr.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 125 | UnaryLeftOp(Unary), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnaryRight` [INFO] [stdout] --> src/ast/expr.rs:129:3 [INFO] [stdout] | [INFO] [stdout] 129 | UnaryRight(Unary), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Call` [INFO] [stdout] --> src/ast/expr.rs:133:3 [INFO] [stdout] | [INFO] [stdout] 133 | Call(Box, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Primary` [INFO] [stdout] --> src/ast/expr.rs:139:3 [INFO] [stdout] | [INFO] [stdout] 139 | Primary(Primary), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BlockReturn` [INFO] [stdout] --> src/ast/expr.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | BlockReturn(Vec, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Function` [INFO] [stdout] --> src/ast/expr.rs:147:3 [INFO] [stdout] | [INFO] [stdout] 147 | Function(Token, Option>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Parameters` [INFO] [stdout] --> src/ast/expr.rs:151:3 [INFO] [stdout] | [INFO] [stdout] 151 | Parameters(Token, Token, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Arguments` [INFO] [stdout] --> src/ast/expr.rs:155:3 [INFO] [stdout] | [INFO] [stdout] 155 | Arguments(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Error` [INFO] [stdout] --> src/ast/expr.rs:166:3 [INFO] [stdout] | [INFO] [stdout] 166 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Literal` [INFO] [stdout] --> src/ast/expr.rs:180:3 [INFO] [stdout] | [INFO] [stdout] 180 | Literal(Token), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BoxedExpr` [INFO] [stdout] --> src/ast/expr.rs:181:3 [INFO] [stdout] | [INFO] [stdout] 181 | BoxedExpr(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Block` [INFO] [stdout] --> src/ast/expr.rs:182:3 [INFO] [stdout] | [INFO] [stdout] 182 | Block(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Arguments` [INFO] [stdout] --> src/ast/expr.rs:187:3 [INFO] [stdout] | [INFO] [stdout] 187 | Arguments(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Id` [INFO] [stdout] --> src/ast/expr.rs:188:3 [INFO] [stdout] | [INFO] [stdout] 188 | Id(Token), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ArrayClause` [INFO] [stdout] --> src/ast/expr.rs:189:3 [INFO] [stdout] | [INFO] [stdout] 189 | ArrayClause(Expression), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ForStmt` [INFO] [stdout] --> src/ast/expr.rs:194:3 [INFO] [stdout] | [INFO] [stdout] 194 | ForStmt(Box, Option>, Option>, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ForItrStmt` [INFO] [stdout] --> src/ast/expr.rs:195:3 [INFO] [stdout] | [INFO] [stdout] 195 | ForItrStmt(Token, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Public` [INFO] [stdout] --> src/ast/expr.rs:219:3 [INFO] [stdout] | [INFO] [stdout] 219 | Public, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `consume_rewind_not_eof` [INFO] [stdout] --> src/scanner/scanner.rs:244:10 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn consume_rewind_not_eof(&mut self, amount: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Protected` [INFO] [stdout] --> src/ast/expr.rs:220:3 [INFO] [stdout] | [INFO] [stdout] 220 | Protected, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Package` [INFO] [stdout] --> src/ast/expr.rs:221:3 [INFO] [stdout] | [INFO] [stdout] 221 | Package, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Add` [INFO] [stdout] --> src/ast/expr.rs:226:3 [INFO] [stdout] | [INFO] [stdout] 226 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Minus` [INFO] [stdout] --> src/ast/expr.rs:227:3 [INFO] [stdout] | [INFO] [stdout] 227 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Multiply` [INFO] [stdout] --> src/ast/expr.rs:228:3 [INFO] [stdout] | [INFO] [stdout] 228 | Multiply, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Power` [INFO] [stdout] --> src/ast/expr.rs:229:3 [INFO] [stdout] | [INFO] [stdout] 229 | Power, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Divide` [INFO] [stdout] --> src/ast/expr.rs:230:3 [INFO] [stdout] | [INFO] [stdout] 230 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BitAnd` [INFO] [stdout] --> src/ast/expr.rs:231:3 [INFO] [stdout] | [INFO] [stdout] 231 | BitAnd, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BitOr` [INFO] [stdout] --> src/ast/expr.rs:232:3 [INFO] [stdout] | [INFO] [stdout] 232 | BitOr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ShiftLeft` [INFO] [stdout] --> src/ast/expr.rs:233:3 [INFO] [stdout] | [INFO] [stdout] 233 | ShiftLeft, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ShiftRight` [INFO] [stdout] --> src/ast/expr.rs:234:3 [INFO] [stdout] | [INFO] [stdout] 234 | ShiftRight, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ShiftRightCarry` [INFO] [stdout] --> src/ast/expr.rs:235:3 [INFO] [stdout] | [INFO] [stdout] 235 | ShiftRightCarry, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BitXOr` [INFO] [stdout] --> src/ast/expr.rs:236:3 [INFO] [stdout] | [INFO] [stdout] 236 | BitXOr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Question` [INFO] [stdout] --> src/ast/expr.rs:237:3 [INFO] [stdout] | [INFO] [stdout] 237 | Question, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GreaterGreaterEqual` [INFO] [stdout] --> src/scanner/token.rs:122:3 [INFO] [stdout] | [INFO] [stdout] 122 | GreaterGreaterEqual, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Word` [INFO] [stdout] --> src/scanner/token.rs:162:3 [INFO] [stdout] | [INFO] [stdout] 162 | Word(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `declaration` [INFO] [stdout] --> src/ast/ast.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn declaration(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `visibility` [INFO] [stdout] --> src/ast/ast.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn visibility(scanner: &mut Scanner) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `class_decl` [INFO] [stdout] --> src/ast/ast.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn class_decl(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fun_decl` [INFO] [stdout] --> src/ast/ast.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn fun_decl(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `var_decl` [INFO] [stdout] --> src/ast/ast.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn var_decl(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `statement` [INFO] [stdout] --> src/ast/ast.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | fn statement(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `expr_stmt` [INFO] [stdout] --> src/ast/ast.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn expr_stmt(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `for_stmt` [INFO] [stdout] --> src/ast/ast.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn for_stmt(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `if_stmt` [INFO] [stdout] --> src/ast/ast.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | fn if_stmt(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `return_stmt` [INFO] [stdout] --> src/ast/ast.rs:152:4 [INFO] [stdout] | [INFO] [stdout] 152 | fn return_stmt(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `while_stmt` [INFO] [stdout] --> src/ast/ast.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn while_stmt(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `do_while` [INFO] [stdout] --> src/ast/ast.rs:160:4 [INFO] [stdout] | [INFO] [stdout] 160 | fn do_while(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `block_no_return` [INFO] [stdout] --> src/ast/ast.rs:164:4 [INFO] [stdout] | [INFO] [stdout] 164 | fn block_no_return(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `expression` [INFO] [stdout] --> src/ast/ast.rs:168:4 [INFO] [stdout] | [INFO] [stdout] 168 | fn expression(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ast/ast.rs:360:10 [INFO] [stdout] | [INFO] [stdout] 360 | panic!(loc); [INFO] [stdout] | ^^^ [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 360 | panic!("{}", loc); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 360 | std::panic::panic_any(loc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `assignment` [INFO] [stdout] --> src/ast/ast.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn assignment(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `if_expr` [INFO] [stdout] --> src/ast/ast.rs:192:4 [INFO] [stdout] | [INFO] [stdout] 192 | fn if_expr(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ast/ast.rs:365:10 [INFO] [stdout] | [INFO] [stdout] 365 | panic!(loc); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 365 | panic!("{}", loc); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 365 | std::panic::panic_any(loc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `logic_or` [INFO] [stdout] --> src/ast/ast.rs:210:4 [INFO] [stdout] | [INFO] [stdout] 210 | fn logic_or(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `logic_and` [INFO] [stdout] --> src/ast/ast.rs:223:4 [INFO] [stdout] | [INFO] [stdout] 223 | fn logic_and(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `equality` [INFO] [stdout] --> src/ast/ast.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | fn $name(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | binary_method!(equality, comparison, Equality, EqualEqual | BangEqual); [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `comparison` [INFO] [stdout] --> src/ast/ast.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | fn $name(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | binary_method!(comparison, term, Comparison, Greater | GreaterEqual | Less | LessEqual); [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `term` [INFO] [stdout] --> src/ast/ast.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | fn $name(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | binary_method!(term, factor, Term, Minus | Plus); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `factor` [INFO] [stdout] --> src/ast/ast.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | fn $name(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | binary_method!(factor, bit_op, Factor, Slash | Star | StarStar); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bit_op` [INFO] [stdout] --> src/ast/ast.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | fn $name(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | binary_method!(bit_op, unary_left, BitOp, VerticalBar | Circumflex | Ampersand); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unary_left` [INFO] [stdout] --> src/ast/ast.rs:260:4 [INFO] [stdout] | [INFO] [stdout] 260 | fn unary_left(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unary_left_op` [INFO] [stdout] --> src/ast/ast.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | fn unary_left_op(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `unary_right` [INFO] [stdout] --> src/ast/ast.rs:268:4 [INFO] [stdout] | [INFO] [stdout] 268 | fn unary_right(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `call` [INFO] [stdout] --> src/ast/ast.rs:272:4 [INFO] [stdout] | [INFO] [stdout] 272 | fn call(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `primary` [INFO] [stdout] --> src/ast/ast.rs:277:4 [INFO] [stdout] | [INFO] [stdout] 277 | fn primary(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `block_return` [INFO] [stdout] --> src/ast/ast.rs:290:4 [INFO] [stdout] | [INFO] [stdout] 290 | fn block_return(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `function` [INFO] [stdout] --> src/ast/ast.rs:294:4 [INFO] [stdout] | [INFO] [stdout] 294 | fn function(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parameters` [INFO] [stdout] --> src/ast/ast.rs:298:4 [INFO] [stdout] | [INFO] [stdout] 298 | fn parameters(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `arguments` [INFO] [stdout] --> src/ast/ast.rs:302:4 [INFO] [stdout] | [INFO] [stdout] 302 | fn arguments(scanner: &mut Scanner) -> Expression { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Declaration` [INFO] [stdout] --> src/ast/expr.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | Declaration(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Visibility` [INFO] [stdout] --> src/ast/expr.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | Visibility(Visibility), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ClassDecl` [INFO] [stdout] --> src/ast/expr.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | ClassDecl(Option, Token, Vec, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FunDecl` [INFO] [stdout] --> src/ast/expr.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | FunDecl(Option, Token, Box>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VarDecl` [INFO] [stdout] --> src/ast/expr.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | VarDecl(Option, Token, Token, Option>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Statement` [INFO] [stdout] --> src/ast/expr.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | Statement(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ExprStmt` [INFO] [stdout] --> src/ast/expr.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | ExprStmt(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ForStmt` [INFO] [stdout] --> src/ast/expr.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | ForStmt(For), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IfStmt` [INFO] [stdout] --> src/ast/expr.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | IfStmt(Box, Box, Option>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ReturnStmt` [INFO] [stdout] --> src/ast/expr.rs:59:3 [INFO] [stdout] | [INFO] [stdout] 59 | ReturnStmt(Option>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WhileStmt` [INFO] [stdout] --> src/ast/expr.rs:63:3 [INFO] [stdout] | [INFO] [stdout] 63 | WhileStmt(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DoWhile` [INFO] [stdout] --> src/ast/expr.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | DoWhile(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BlockNoReturn` [INFO] [stdout] --> src/ast/expr.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | BlockNoReturn(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Assignment` [INFO] [stdout] --> src/ast/expr.rs:81:3 [INFO] [stdout] | [INFO] [stdout] 81 | Assignment(Box, Token, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IfNsExpr` [INFO] [stdout] --> src/ast/expr.rs:85:3 [INFO] [stdout] | [INFO] [stdout] 85 | IfNsExpr(Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IfExpr` [INFO] [stdout] --> src/ast/expr.rs:89:3 [INFO] [stdout] | [INFO] [stdout] 89 | IfExpr(Box, Box, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LogicOr` [INFO] [stdout] --> src/ast/expr.rs:93:3 [INFO] [stdout] | [INFO] [stdout] 93 | LogicOr(Box, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LogicAnd` [INFO] [stdout] --> src/ast/expr.rs:97:3 [INFO] [stdout] | [INFO] [stdout] 97 | LogicAnd(Box, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Equality` [INFO] [stdout] --> src/ast/expr.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Equality(Box, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Comparison` [INFO] [stdout] --> src/ast/expr.rs:105:3 [INFO] [stdout] | [INFO] [stdout] 105 | Comparison(Box, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Term` [INFO] [stdout] --> src/ast/expr.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | Term(Box, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Factor` [INFO] [stdout] --> src/ast/expr.rs:113:3 [INFO] [stdout] | [INFO] [stdout] 113 | Factor(Box, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BitOp` [INFO] [stdout] --> src/ast/expr.rs:117:3 [INFO] [stdout] | [INFO] [stdout] 117 | BitOp(Box, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnaryLeft` [INFO] [stdout] --> src/ast/expr.rs:121:3 [INFO] [stdout] | [INFO] [stdout] 121 | UnaryLeft(Unary), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnaryLeftOp` [INFO] [stdout] --> src/ast/expr.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 125 | UnaryLeftOp(Unary), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnaryRight` [INFO] [stdout] --> src/ast/expr.rs:129:3 [INFO] [stdout] | [INFO] [stdout] 129 | UnaryRight(Unary), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Call` [INFO] [stdout] --> src/ast/expr.rs:133:3 [INFO] [stdout] | [INFO] [stdout] 133 | Call(Box, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Primary` [INFO] [stdout] --> src/ast/expr.rs:139:3 [INFO] [stdout] | [INFO] [stdout] 139 | Primary(Primary), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BlockReturn` [INFO] [stdout] --> src/ast/expr.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | BlockReturn(Vec, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Function` [INFO] [stdout] --> src/ast/expr.rs:147:3 [INFO] [stdout] | [INFO] [stdout] 147 | Function(Token, Option>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Parameters` [INFO] [stdout] --> src/ast/expr.rs:151:3 [INFO] [stdout] | [INFO] [stdout] 151 | Parameters(Token, Token, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Arguments` [INFO] [stdout] --> src/ast/expr.rs:155:3 [INFO] [stdout] | [INFO] [stdout] 155 | Arguments(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Error` [INFO] [stdout] --> src/ast/expr.rs:166:3 [INFO] [stdout] | [INFO] [stdout] 166 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Literal` [INFO] [stdout] --> src/ast/expr.rs:180:3 [INFO] [stdout] | [INFO] [stdout] 180 | Literal(Token), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BoxedExpr` [INFO] [stdout] --> src/ast/expr.rs:181:3 [INFO] [stdout] | [INFO] [stdout] 181 | BoxedExpr(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Block` [INFO] [stdout] --> src/ast/expr.rs:182:3 [INFO] [stdout] | [INFO] [stdout] 182 | Block(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Arguments` [INFO] [stdout] --> src/ast/expr.rs:187:3 [INFO] [stdout] | [INFO] [stdout] 187 | Arguments(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Id` [INFO] [stdout] --> src/ast/expr.rs:188:3 [INFO] [stdout] | [INFO] [stdout] 188 | Id(Token), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ArrayClause` [INFO] [stdout] --> src/ast/expr.rs:189:3 [INFO] [stdout] | [INFO] [stdout] 189 | ArrayClause(Expression), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ForStmt` [INFO] [stdout] --> src/ast/expr.rs:194:3 [INFO] [stdout] | [INFO] [stdout] 194 | ForStmt(Box, Option>, Option>, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ForItrStmt` [INFO] [stdout] --> src/ast/expr.rs:195:3 [INFO] [stdout] | [INFO] [stdout] 195 | ForItrStmt(Token, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Public` [INFO] [stdout] --> src/ast/expr.rs:219:3 [INFO] [stdout] | [INFO] [stdout] 219 | Public, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Protected` [INFO] [stdout] --> src/ast/expr.rs:220:3 [INFO] [stdout] | [INFO] [stdout] 220 | Protected, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Package` [INFO] [stdout] --> src/ast/expr.rs:221:3 [INFO] [stdout] | [INFO] [stdout] 221 | Package, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Add` [INFO] [stdout] --> src/ast/expr.rs:226:3 [INFO] [stdout] | [INFO] [stdout] 226 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Minus` [INFO] [stdout] --> src/ast/expr.rs:227:3 [INFO] [stdout] | [INFO] [stdout] 227 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Multiply` [INFO] [stdout] --> src/ast/expr.rs:228:3 [INFO] [stdout] | [INFO] [stdout] 228 | Multiply, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Power` [INFO] [stdout] --> src/ast/expr.rs:229:3 [INFO] [stdout] | [INFO] [stdout] 229 | Power, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Divide` [INFO] [stdout] --> src/ast/expr.rs:230:3 [INFO] [stdout] | [INFO] [stdout] 230 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BitAnd` [INFO] [stdout] --> src/ast/expr.rs:231:3 [INFO] [stdout] | [INFO] [stdout] 231 | BitAnd, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BitOr` [INFO] [stdout] --> src/ast/expr.rs:232:3 [INFO] [stdout] | [INFO] [stdout] 232 | BitOr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ShiftLeft` [INFO] [stdout] --> src/ast/expr.rs:233:3 [INFO] [stdout] | [INFO] [stdout] 233 | ShiftLeft, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ShiftRight` [INFO] [stdout] --> src/ast/expr.rs:234:3 [INFO] [stdout] | [INFO] [stdout] 234 | ShiftRight, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ShiftRightCarry` [INFO] [stdout] --> src/ast/expr.rs:235:3 [INFO] [stdout] | [INFO] [stdout] 235 | ShiftRightCarry, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BitXOr` [INFO] [stdout] --> src/ast/expr.rs:236:3 [INFO] [stdout] | [INFO] [stdout] 236 | BitXOr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Question` [INFO] [stdout] --> src/ast/expr.rs:237:3 [INFO] [stdout] | [INFO] [stdout] 237 | Question, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ast/ast.rs:360:10 [INFO] [stdout] | [INFO] [stdout] 360 | panic!(loc); [INFO] [stdout] | ^^^ [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 360 | panic!("{}", loc); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 360 | std::panic::panic_any(loc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ast/ast.rs:365:10 [INFO] [stdout] | [INFO] [stdout] 365 | panic!(loc); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 365 | panic!("{}", loc); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 365 | std::panic::panic_any(loc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 130 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 130 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.47s [INFO] running `Command { std: "docker" "inspect" "8d9af30344ada85e6ed37e995f2d1f05b314d818c4bee6b28263226db93b2e33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d9af30344ada85e6ed37e995f2d1f05b314d818c4bee6b28263226db93b2e33", kill_on_drop: false }` [INFO] [stdout] 8d9af30344ada85e6ed37e995f2d1f05b314d818c4bee6b28263226db93b2e33