[INFO] cloning repository https://github.com/0xWOF/monkey-interpreter-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xWOF/monkey-interpreter-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xWOF%2Fmonkey-interpreter-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xWOF%2Fmonkey-interpreter-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 724eb3d5d4512896bbdeefd1158a17709bbd0c9d [INFO] testing 0xWOF/monkey-interpreter-rs against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xWOF%2Fmonkey-interpreter-rs" "/workspace/builds/worker-87/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-87/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/0xWOF/monkey-interpreter-rs on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/0xWOF/monkey-interpreter-rs [INFO] finished tweaking git repo https://github.com/0xWOF/monkey-interpreter-rs [INFO] tweaked toml for git repo https://github.com/0xWOF/monkey-interpreter-rs written to /workspace/builds/worker-87/source/Cargo.toml [INFO] crate git repo https://github.com/0xWOF/monkey-interpreter-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2204c831cd72fe631958d68a9759062e634e968af755ca1309bc8cec4b72890 [INFO] running `Command { std: "docker" "start" "-a" "b2204c831cd72fe631958d68a9759062e634e968af755ca1309bc8cec4b72890", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2204c831cd72fe631958d68a9759062e634e968af755ca1309bc8cec4b72890", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2204c831cd72fe631958d68a9759062e634e968af755ca1309bc8cec4b72890", kill_on_drop: false }` [INFO] [stdout] b2204c831cd72fe631958d68a9759062e634e968af755ca1309bc8cec4b72890 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05275a0f24c893c00f6049fa13eafc9adcf2eacb0d4cb8349cc85f5561ecd95a [INFO] running `Command { std: "docker" "start" "-a" "05275a0f24c893c00f6049fa13eafc9adcf2eacb0d4cb8349cc85f5561ecd95a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling monkey-interpreter-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::ast::node::Node` [INFO] [stdout] --> src/ast/statement/statement.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::node::Node; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/parser/expression.rs:1:129 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ast::expression::{identifier::Identifier, Expression, prefix::{Prefix, Operator}, integer::Integer}, token::{Token, self}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/parser/statement.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let name = match self.peek { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ast/program.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new() -> Program<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Illegal` [INFO] [stdout] --> src/token/token.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Illegal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EOF` [INFO] [stdout] --> src/token/token.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | EOF, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Identifier` [INFO] [stdout] --> src/token/token.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Identifier { string: &'a str }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> src/token/token.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Integer { string: &'a str }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Assign` [INFO] [stdout] --> src/token/token.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Assign, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Plus` [INFO] [stdout] --> src/token/token.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Minus` [INFO] [stdout] --> src/token/token.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Exclamation` [INFO] [stdout] --> src/token/token.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Exclamation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Asterisk` [INFO] [stdout] --> src/token/token.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Asterisk, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Slash` [INFO] [stdout] --> src/token/token.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Slash, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LessThan` [INFO] [stdout] --> src/token/token.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | LessThan, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GreaterThan` [INFO] [stdout] --> src/token/token.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | GreaterThan, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Comma` [INFO] [stdout] --> src/token/token.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Semicolon` [INFO] [stdout] --> src/token/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Semicolon, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LeftParenthesis` [INFO] [stdout] --> src/token/token.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | LeftParenthesis, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RightParenthesis` [INFO] [stdout] --> src/token/token.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | RightParenthesis, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LeftBracket` [INFO] [stdout] --> src/token/token.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | LeftBracket, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RightBracket` [INFO] [stdout] --> src/token/token.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | RightBracket, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Equal` [INFO] [stdout] --> src/token/token.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Equal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NotEqual` [INFO] [stdout] --> src/token/token.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | NotEqual, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Function` [INFO] [stdout] --> src/token/token.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Function, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Let` [INFO] [stdout] --> src/token/token.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Let, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `True` [INFO] [stdout] --> src/token/token.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `False` [INFO] [stdout] --> src/token/token.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `If` [INFO] [stdout] --> src/token/token.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | If, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Else` [INFO] [stdout] --> src/token/token.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Return` [INFO] [stdout] --> src/token/token.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Lexer` [INFO] [stdout] --> src/lexer/lexer.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Lexer<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lexer/lexer.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(input: &str) -> Lexer { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/lexer/lexer.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn next(&mut self) -> Token<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_identifier` [INFO] [stdout] --> src/lexer/lexer.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn next_identifier(&mut self) -> Token<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_digit` [INFO] [stdout] --> src/lexer/lexer.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn next_digit(&mut self) -> Token<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/lexer/lexer.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn peek(&self) -> char { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/lexer/lexer.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn read(&mut self) -> char { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `back` [INFO] [stdout] --> src/lexer/lexer.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn back(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_identifier` [INFO] [stdout] --> src/lexer/lexer.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn read_identifier(&mut self) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_digit` [INFO] [stdout] --> src/lexer/lexer.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn read_digit(&mut self) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/parser/parser.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Parser<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser/parser.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(mut lexer: Lexer<'a>) -> Parser<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/parser/parser.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn parse(&mut self) -> Program<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/parser/parser.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub(super) fn read(&mut self) -> Token<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_expression` [INFO] [stdout] --> src/parser/expression.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub(super) fn parse_expression(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_identifier` [INFO] [stdout] --> src/parser/expression.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn parse_identifier(&self, string: &'a str) -> Identifier<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_integer` [INFO] [stdout] --> src/parser/expression.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn parse_integer(&self, string: &'a str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_prefix` [INFO] [stdout] --> src/parser/expression.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn parse_prefix(&mut self, operator: Operator) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parseStatement` [INFO] [stdout] --> src/parser/statement.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub(super) fn parseStatement(&mut self) -> Statement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parseLetStatement` [INFO] [stdout] --> src/parser/statement.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub(super) fn parseLetStatement(&mut self) -> Let<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parseExpressionStatement` [INFO] [stdout] --> src/parser/statement.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub(super) fn parseExpressionStatement(&self) -> Expression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_space` [INFO] [stdout] --> src/utility/check.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn is_space(letter: char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_letter` [INFO] [stdout] --> src/utility/check.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn is_letter(letter: char) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_digit` [INFO] [stdout] --> src/utility/check.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn is_digit(letter: char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Identifier` [INFO] [stdout] --> src/ast/expression/expression.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Identifier(Identifier<'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> src/ast/expression/expression.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Integer(Integer), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Prefix` [INFO] [stdout] --> src/ast/expression/expression.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Prefix(Prefix<'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Plus` [INFO] [stdout] --> src/ast/expression/prefix.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Minus` [INFO] [stdout] --> src/ast/expression/prefix.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Exclamation` [INFO] [stdout] --> src/ast/expression/prefix.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Exclamation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/ast/expression/prefix.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn from<'a>(token: Token<'a>) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Let` [INFO] [stdout] --> src/ast/statement/statement.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Let(Let<'a>), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Expression` [INFO] [stdout] --> src/ast/statement/statement.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Expression(Expression<'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseStatement` should have a snake case name [INFO] [stdout] --> src/parser/statement.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub(super) fn parseStatement(&mut self) -> Statement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_statement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseLetStatement` should have a snake case name [INFO] [stdout] --> src/parser/statement.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub(super) fn parseLetStatement(&mut self) -> Let<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_let_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseExpressionStatement` should have a snake case name [INFO] [stdout] --> src/parser/statement.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub(super) fn parseExpressionStatement(&self) -> Expression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_expression_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 67 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 36s [INFO] running `Command { std: "docker" "inspect" "05275a0f24c893c00f6049fa13eafc9adcf2eacb0d4cb8349cc85f5561ecd95a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05275a0f24c893c00f6049fa13eafc9adcf2eacb0d4cb8349cc85f5561ecd95a", kill_on_drop: false }` [INFO] [stdout] 05275a0f24c893c00f6049fa13eafc9adcf2eacb0d4cb8349cc85f5561ecd95a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8959754b835dc18e39fbcb4ebef8c115856b2c9b91cf28bc6a17aa1ff5f41e2 [INFO] running `Command { std: "docker" "start" "-a" "f8959754b835dc18e39fbcb4ebef8c115856b2c9b91cf28bc6a17aa1ff5f41e2", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::ast::node::Node` [INFO] [stdout] --> src/ast/statement/statement.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::node::Node; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/parser/expression.rs:1:129 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ast::expression::{identifier::Identifier, Expression, prefix::{Prefix, Operator}, integer::Integer}, token::{Token, self}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/parser/statement.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let name = match self.peek { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ast/program.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new() -> Program<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Illegal` [INFO] [stdout] --> src/token/token.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Illegal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EOF` [INFO] [stdout] --> src/token/token.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | EOF, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Identifier` [INFO] [stdout] --> src/token/token.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Identifier { string: &'a str }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> src/token/token.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Integer { string: &'a str }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Assign` [INFO] [stdout] --> src/token/token.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Assign, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Plus` [INFO] [stdout] --> src/token/token.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Minus` [INFO] [stdout] --> src/token/token.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Exclamation` [INFO] [stdout] --> src/token/token.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Exclamation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Asterisk` [INFO] [stdout] --> src/token/token.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Asterisk, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Slash` [INFO] [stdout] --> src/token/token.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Slash, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LessThan` [INFO] [stdout] --> src/token/token.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | LessThan, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GreaterThan` [INFO] [stdout] --> src/token/token.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | GreaterThan, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Comma` [INFO] [stdout] --> src/token/token.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Semicolon` [INFO] [stdout] --> src/token/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Semicolon, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LeftParenthesis` [INFO] [stdout] --> src/token/token.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | LeftParenthesis, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RightParenthesis` [INFO] [stdout] --> src/token/token.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | RightParenthesis, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LeftBracket` [INFO] [stdout] --> src/token/token.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | LeftBracket, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RightBracket` [INFO] [stdout] --> src/token/token.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | RightBracket, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Equal` [INFO] [stdout] --> src/token/token.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Equal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NotEqual` [INFO] [stdout] --> src/token/token.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | NotEqual, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Function` [INFO] [stdout] --> src/token/token.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Function, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling monkey-interpreter-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `Let` [INFO] [stdout] --> src/token/token.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Let, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `True` [INFO] [stdout] --> src/token/token.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `False` [INFO] [stdout] --> src/token/token.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `If` [INFO] [stdout] --> src/token/token.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | If, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Else` [INFO] [stdout] --> src/token/token.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Return` [INFO] [stdout] --> src/token/token.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Lexer` [INFO] [stdout] --> src/lexer/lexer.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Lexer<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lexer/lexer.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(input: &str) -> Lexer { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/lexer/lexer.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn next(&mut self) -> Token<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_identifier` [INFO] [stdout] --> src/lexer/lexer.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn next_identifier(&mut self) -> Token<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_digit` [INFO] [stdout] --> src/lexer/lexer.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn next_digit(&mut self) -> Token<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/lexer/lexer.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn peek(&self) -> char { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/lexer/lexer.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn read(&mut self) -> char { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `back` [INFO] [stdout] --> src/lexer/lexer.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn back(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_identifier` [INFO] [stdout] --> src/lexer/lexer.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn read_identifier(&mut self) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_digit` [INFO] [stdout] --> src/lexer/lexer.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn read_digit(&mut self) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/parser/parser.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Parser<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser/parser.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(mut lexer: Lexer<'a>) -> Parser<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/parser/parser.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn parse(&mut self) -> Program<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/parser/parser.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub(super) fn read(&mut self) -> Token<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_expression` [INFO] [stdout] --> src/parser/expression.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub(super) fn parse_expression(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_identifier` [INFO] [stdout] --> src/parser/expression.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn parse_identifier(&self, string: &'a str) -> Identifier<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_integer` [INFO] [stdout] --> src/parser/expression.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn parse_integer(&self, string: &'a str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_prefix` [INFO] [stdout] --> src/parser/expression.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn parse_prefix(&mut self, operator: Operator) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parseStatement` [INFO] [stdout] --> src/parser/statement.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub(super) fn parseStatement(&mut self) -> Statement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parseLetStatement` [INFO] [stdout] --> src/parser/statement.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub(super) fn parseLetStatement(&mut self) -> Let<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parseExpressionStatement` [INFO] [stdout] --> src/parser/statement.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub(super) fn parseExpressionStatement(&self) -> Expression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_space` [INFO] [stdout] --> src/utility/check.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn is_space(letter: char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_letter` [INFO] [stdout] --> src/utility/check.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn is_letter(letter: char) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_digit` [INFO] [stdout] --> src/utility/check.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn is_digit(letter: char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Identifier` [INFO] [stdout] --> src/ast/expression/expression.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Identifier(Identifier<'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> src/ast/expression/expression.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Integer(Integer), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Prefix` [INFO] [stdout] --> src/ast/expression/expression.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Prefix(Prefix<'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Plus` [INFO] [stdout] --> src/ast/expression/prefix.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Minus` [INFO] [stdout] --> src/ast/expression/prefix.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Exclamation` [INFO] [stdout] --> src/ast/expression/prefix.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Exclamation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/ast/expression/prefix.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn from<'a>(token: Token<'a>) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Let` [INFO] [stdout] --> src/ast/statement/statement.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Let(Let<'a>), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Expression` [INFO] [stdout] --> src/ast/statement/statement.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Expression(Expression<'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseStatement` should have a snake case name [INFO] [stdout] --> src/parser/statement.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub(super) fn parseStatement(&mut self) -> Statement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_statement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseLetStatement` should have a snake case name [INFO] [stdout] --> src/parser/statement.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub(super) fn parseLetStatement(&mut self) -> Let<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_let_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseExpressionStatement` should have a snake case name [INFO] [stdout] --> src/parser/statement.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub(super) fn parseExpressionStatement(&self) -> Expression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_expression_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 67 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::node::Node` [INFO] [stdout] --> src/ast/statement/statement.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::node::Node; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/parser/expression.rs:1:129 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ast::expression::{identifier::Identifier, Expression, prefix::{Prefix, Operator}, integer::Integer}, token::{Token, self}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/parser/statement.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let name = match self.peek { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ast/program.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new() -> Program<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Illegal` [INFO] [stdout] --> src/token/token.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Illegal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EOF` [INFO] [stdout] --> src/token/token.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | EOF, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Identifier` [INFO] [stdout] --> src/token/token.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Identifier { string: &'a str }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> src/token/token.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Integer { string: &'a str }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Assign` [INFO] [stdout] --> src/token/token.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Assign, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Plus` [INFO] [stdout] --> src/token/token.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Minus` [INFO] [stdout] --> src/token/token.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Exclamation` [INFO] [stdout] --> src/token/token.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Exclamation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Asterisk` [INFO] [stdout] --> src/token/token.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Asterisk, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Slash` [INFO] [stdout] --> src/token/token.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Slash, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LessThan` [INFO] [stdout] --> src/token/token.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | LessThan, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GreaterThan` [INFO] [stdout] --> src/token/token.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | GreaterThan, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Comma` [INFO] [stdout] --> src/token/token.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Semicolon` [INFO] [stdout] --> src/token/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Semicolon, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LeftParenthesis` [INFO] [stdout] --> src/token/token.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | LeftParenthesis, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RightParenthesis` [INFO] [stdout] --> src/token/token.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | RightParenthesis, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LeftBracket` [INFO] [stdout] --> src/token/token.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | LeftBracket, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RightBracket` [INFO] [stdout] --> src/token/token.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | RightBracket, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Equal` [INFO] [stdout] --> src/token/token.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Equal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NotEqual` [INFO] [stdout] --> src/token/token.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | NotEqual, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Function` [INFO] [stdout] --> src/token/token.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Function, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Let` [INFO] [stdout] --> src/token/token.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Let, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `True` [INFO] [stdout] --> src/token/token.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `False` [INFO] [stdout] --> src/token/token.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `If` [INFO] [stdout] --> src/token/token.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | If, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Else` [INFO] [stdout] --> src/token/token.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Return` [INFO] [stdout] --> src/token/token.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/token/token.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Lexer` [INFO] [stdout] --> src/lexer/lexer.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Lexer<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lexer/lexer.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(input: &str) -> Lexer { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/lexer/lexer.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn next(&mut self) -> Token<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_identifier` [INFO] [stdout] --> src/lexer/lexer.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn next_identifier(&mut self) -> Token<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_digit` [INFO] [stdout] --> src/lexer/lexer.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn next_digit(&mut self) -> Token<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/lexer/lexer.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn peek(&self) -> char { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/lexer/lexer.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn read(&mut self) -> char { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `back` [INFO] [stdout] --> src/lexer/lexer.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn back(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_identifier` [INFO] [stdout] --> src/lexer/lexer.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn read_identifier(&mut self) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_digit` [INFO] [stdout] --> src/lexer/lexer.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn read_digit(&mut self) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/parser/parser.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Parser<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser/parser.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(mut lexer: Lexer<'a>) -> Parser<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/parser/parser.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn parse(&mut self) -> Program<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/parser/parser.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub(super) fn read(&mut self) -> Token<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_expression` [INFO] [stdout] --> src/parser/expression.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub(super) fn parse_expression(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_identifier` [INFO] [stdout] --> src/parser/expression.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn parse_identifier(&self, string: &'a str) -> Identifier<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_integer` [INFO] [stdout] --> src/parser/expression.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn parse_integer(&self, string: &'a str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_prefix` [INFO] [stdout] --> src/parser/expression.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn parse_prefix(&mut self, operator: Operator) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parseStatement` [INFO] [stdout] --> src/parser/statement.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub(super) fn parseStatement(&mut self) -> Statement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parseLetStatement` [INFO] [stdout] --> src/parser/statement.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub(super) fn parseLetStatement(&mut self) -> Let<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parseExpressionStatement` [INFO] [stdout] --> src/parser/statement.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub(super) fn parseExpressionStatement(&self) -> Expression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_space` [INFO] [stdout] --> src/utility/check.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn is_space(letter: char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_letter` [INFO] [stdout] --> src/utility/check.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn is_letter(letter: char) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_digit` [INFO] [stdout] --> src/utility/check.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn is_digit(letter: char) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Identifier` [INFO] [stdout] --> src/ast/expression/expression.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Identifier(Identifier<'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Integer` [INFO] [stdout] --> src/ast/expression/expression.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Integer(Integer), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Prefix` [INFO] [stdout] --> src/ast/expression/expression.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Prefix(Prefix<'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Plus` [INFO] [stdout] --> src/ast/expression/prefix.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Plus, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Minus` [INFO] [stdout] --> src/ast/expression/prefix.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Minus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Exclamation` [INFO] [stdout] --> src/ast/expression/prefix.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Exclamation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/ast/expression/prefix.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn from<'a>(token: Token<'a>) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Let` [INFO] [stdout] --> src/ast/statement/statement.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Let(Let<'a>), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Expression` [INFO] [stdout] --> src/ast/statement/statement.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Expression(Expression<'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseStatement` should have a snake case name [INFO] [stdout] --> src/parser/statement.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | pub(super) fn parseStatement(&mut self) -> Statement<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_statement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseLetStatement` should have a snake case name [INFO] [stdout] --> src/parser/statement.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub(super) fn parseLetStatement(&mut self) -> Let<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_let_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parseExpressionStatement` should have a snake case name [INFO] [stdout] --> src/parser/statement.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub(super) fn parseExpressionStatement(&self) -> Expression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_expression_statement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 67 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.49s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/monkey_interpreter_rs-a21bd871e69ffc63) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/monkey_interpreter_rs-a526dc9a2741b34f) [INFO] running `Command { std: "docker" "inspect" "f8959754b835dc18e39fbcb4ebef8c115856b2c9b91cf28bc6a17aa1ff5f41e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8959754b835dc18e39fbcb4ebef8c115856b2c9b91cf28bc6a17aa1ff5f41e2", kill_on_drop: false }` [INFO] [stdout] f8959754b835dc18e39fbcb4ebef8c115856b2c9b91cf28bc6a17aa1ff5f41e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 13f64c96804496c6ee06060c837ba6f8181c38357b74a058be322f67e8320923 [INFO] running `Command { std: "docker" "start" "-a" "13f64c96804496c6ee06060c837ba6f8181c38357b74a058be322f67e8320923", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `crate::ast::node::Node` [INFO] [stderr] --> src/ast/statement/statement.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::ast::node::Node; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/parser/expression.rs:1:129 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{ast::expression::{identifier::Identifier, Expression, prefix::{Prefix, Operator}, integer::Integer}, token::{Token, self}}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/parser/statement.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | let name = match self.peek { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/ast/program.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn new() -> Program<'a> { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Illegal` [INFO] [stderr] --> src/token/token.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | Illegal, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token/token.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `EOF` [INFO] [stderr] --> src/token/token.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | EOF, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token/token.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Identifier` [INFO] [stderr] --> src/token/token.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | Identifier { string: &'a str }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token/token.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Integer` [INFO] [stderr] --> src/token/token.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | Integer { string: &'a str }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token/token.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Assign` [INFO] [stderr] --> src/token/token.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | Assign, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token/token.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Plus` [INFO] [stderr] --> src/token/token.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | Plus, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token/token.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Minus` [INFO] [stderr] --> src/token/token.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | Minus, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token/token.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Exclamation` [INFO] [stderr] --> src/token/token.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Exclamation, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token/token.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Asterisk` [INFO] [stderr] --> src/token/token.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | Asterisk, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token/token.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Slash` [INFO] [stderr] --> src/token/token.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | Slash, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token/token.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `LessThan` [INFO] [stderr] --> src/token/token.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | LessThan, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token/token.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `GreaterThan` [INFO] [stderr] --> src/token/token.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | GreaterThan, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token/token.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Comma` [INFO] [stderr] --> src/token/token.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | Comma, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token/token.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Semicolon` [INFO] [stderr] --> src/token/token.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | Semicolon, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token/token.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `LeftParenthesis` [INFO] [stderr] --> src/token/token.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | LeftParenthesis, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token/token.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `RightParenthesis` [INFO] [stderr] --> src/token/token.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | RightParenthesis, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token/token.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `LeftBracket` [INFO] [stderr] --> src/token/token.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | LeftBracket, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token/token.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `RightBracket` [INFO] [stderr] --> src/token/token.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | RightBracket, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token/token.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Equal` [INFO] [stderr] --> src/token/token.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | Equal, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token/token.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NotEqual` [INFO] [stderr] --> src/token/token.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | NotEqual, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token/token.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Function` [INFO] [stderr] --> src/token/token.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | Function, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token/token.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Let` [INFO] [stderr] --> src/token/token.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | Let, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token/token.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `True` [INFO] [stderr] --> src/token/token.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | True, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token/token.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `False` [INFO] [stderr] --> src/token/token.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | False, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token/token.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `If` [INFO] [stderr] --> src/token/token.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | If, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token/token.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Else` [INFO] [stderr] --> src/token/token.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | Else, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token/token.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Return` [INFO] [stderr] --> src/token/token.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | Return, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/token/token.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(PartialEq, Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Lexer` [INFO] [stderr] --> src/lexer/lexer.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Lexer<'a> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/lexer/lexer.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(input: &str) -> Lexer { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `next` [INFO] [stderr] --> src/lexer/lexer.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn next(&mut self) -> Token<'a> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `next_identifier` [INFO] [stderr] --> src/lexer/lexer.rs:45:8 [INFO] [stderr] | [INFO] [stderr] 45 | fn next_identifier(&mut self) -> Token<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `next_digit` [INFO] [stderr] --> src/lexer/lexer.rs:61:8 [INFO] [stderr] | [INFO] [stderr] 61 | fn next_digit(&mut self) -> Token<'a> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `peek` [INFO] [stderr] --> src/lexer/lexer.rs:65:8 [INFO] [stderr] | [INFO] [stderr] 65 | fn peek(&self) -> char { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `read` [INFO] [stderr] --> src/lexer/lexer.rs:72:8 [INFO] [stderr] | [INFO] [stderr] 72 | fn read(&mut self) -> char { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `back` [INFO] [stderr] --> src/lexer/lexer.rs:79:8 [INFO] [stderr] | [INFO] [stderr] 79 | fn back(&mut self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `read_identifier` [INFO] [stderr] --> src/lexer/lexer.rs:83:8 [INFO] [stderr] | [INFO] [stderr] 83 | fn read_identifier(&mut self) -> &'a str { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `read_digit` [INFO] [stderr] --> src/lexer/lexer.rs:93:8 [INFO] [stderr] | [INFO] [stderr] 93 | fn read_digit(&mut self) -> &'a str { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Parser` [INFO] [stderr] --> src/parser/parser.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct Parser<'a> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/parser/parser.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn new(mut lexer: Lexer<'a>) -> Parser<'a> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parse` [INFO] [stderr] --> src/parser/parser.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn parse(&mut self) -> Program<'a> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `read` [INFO] [stderr] --> src/parser/parser.rs:34:19 [INFO] [stderr] | [INFO] [stderr] 34 | pub(super) fn read(&mut self) -> Token<'a> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parse_expression` [INFO] [stderr] --> src/parser/expression.rs:6:19 [INFO] [stderr] | [INFO] [stderr] 6 | pub(super) fn parse_expression(&mut self) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parse_identifier` [INFO] [stderr] --> src/parser/expression.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | fn parse_identifier(&self, string: &'a str) -> Identifier<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parse_integer` [INFO] [stderr] --> src/parser/expression.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 29 | fn parse_integer(&self, string: &'a str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parse_prefix` [INFO] [stderr] --> src/parser/expression.rs:35:8 [INFO] [stderr] | [INFO] [stderr] 35 | fn parse_prefix(&mut self, operator: Operator) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parseStatement` [INFO] [stderr] --> src/parser/statement.rs:6:19 [INFO] [stderr] | [INFO] [stderr] 6 | pub(super) fn parseStatement(&mut self) -> Statement<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parseLetStatement` [INFO] [stderr] --> src/parser/statement.rs:13:19 [INFO] [stderr] | [INFO] [stderr] 13 | pub(super) fn parseLetStatement(&mut self) -> Let<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `parseExpressionStatement` [INFO] [stderr] --> src/parser/statement.rs:27:19 [INFO] [stderr] | [INFO] [stderr] 27 | pub(super) fn parseExpressionStatement(&self) -> Expression<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `is_space` [INFO] [stderr] --> src/utility/check.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn is_space(letter: char) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `is_letter` [INFO] [stderr] --> src/utility/check.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn is_letter(letter: char) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `is_digit` [INFO] [stderr] --> src/utility/check.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn is_digit(letter: char) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Identifier` [INFO] [stderr] --> src/ast/expression/expression.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | Identifier(Identifier<'a>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Integer` [INFO] [stderr] --> src/ast/expression/expression.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | Integer(Integer), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Prefix` [INFO] [stderr] --> src/ast/expression/expression.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | Prefix(Prefix<'a>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Plus` [INFO] [stderr] --> src/ast/expression/prefix.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | Plus, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Minus` [INFO] [stderr] --> src/ast/expression/prefix.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Minus, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Exclamation` [INFO] [stderr] --> src/ast/expression/prefix.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | Exclamation, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from` [INFO] [stderr] --> src/ast/expression/prefix.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn from<'a>(token: Token<'a>) -> Option { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Let` [INFO] [stderr] --> src/ast/statement/statement.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | Let(Let<'a>), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Expression` [INFO] [stderr] --> src/ast/statement/statement.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | Expression(Expression<'a>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `parseStatement` should have a snake case name [INFO] [stderr] --> src/parser/statement.rs:6:19 [INFO] [stderr] | [INFO] [stderr] 6 | pub(super) fn parseStatement(&mut self) -> Statement<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_statement` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `parseLetStatement` should have a snake case name [INFO] [stderr] --> src/parser/statement.rs:13:19 [INFO] [stderr] | [INFO] [stderr] 13 | pub(super) fn parseLetStatement(&mut self) -> Let<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_let_statement` [INFO] [stderr] [INFO] [stderr] warning: method `parseExpressionStatement` should have a snake case name [INFO] [stderr] --> src/parser/statement.rs:27:19 [INFO] [stderr] | [INFO] [stderr] 27 | pub(super) fn parseExpressionStatement(&self) -> Expression<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_expression_statement` [INFO] [stderr] [INFO] [stderr] warning: `monkey-interpreter-rs` (lib) generated 67 warnings [INFO] [stderr] warning: `monkey-interpreter-rs` (lib test) generated 67 warnings (67 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.68s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/monkey_interpreter_rs-a21bd871e69ffc63) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/monkey_interpreter_rs-a526dc9a2741b34f) [INFO] [stderr] Doc-tests monkey-interpreter-rs [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "13f64c96804496c6ee06060c837ba6f8181c38357b74a058be322f67e8320923", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13f64c96804496c6ee06060c837ba6f8181c38357b74a058be322f67e8320923", kill_on_drop: false }` [INFO] [stdout] 13f64c96804496c6ee06060c837ba6f8181c38357b74a058be322f67e8320923