[INFO] cloning repository https://github.com/jeppester/rust-interpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeppester/rust-interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeppester%2Frust-interpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeppester%2Frust-interpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44300ad7f3aea5816bf6b9834fbf5eb21cb7e539 [INFO] checking jeppester/rust-interpreter/44300ad7f3aea5816bf6b9834fbf5eb21cb7e539 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeppester%2Frust-interpreter" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jeppester/rust-interpreter on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jeppester/rust-interpreter [INFO] finished tweaking git repo https://github.com/jeppester/rust-interpreter [INFO] tweaked toml for git repo https://github.com/jeppester/rust-interpreter written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jeppester/rust-interpreter already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ea9b15269751a44652e9b32021a953169f8619ab22ae4641044682bd3c6a6c5 [INFO] running `Command { std: "docker" "start" "-a" "3ea9b15269751a44652e9b32021a953169f8619ab22ae4641044682bd3c6a6c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ea9b15269751a44652e9b32021a953169f8619ab22ae4641044682bd3c6a6c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ea9b15269751a44652e9b32021a953169f8619ab22ae4641044682bd3c6a6c5", kill_on_drop: false }` [INFO] [stdout] 3ea9b15269751a44652e9b32021a953169f8619ab22ae4641044682bd3c6a6c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87576b965334fbba327d0ce0b123c7037eccf7d142bfe286cce1baeaab622aef [INFO] running `Command { std: "docker" "start" "-a" "87576b965334fbba327d0ce0b123c7037eccf7d142bfe286cce1baeaab622aef", kill_on_drop: false }` [INFO] [stderr] Checking monkey-interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `match_or_fail` [INFO] [stdout] --> src/test_support/mod.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | macro_rules! match_or_fail { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/mod.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 44 | impl Expression { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 45 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BlockStatement` is never constructed [INFO] [stdout] --> src/ast/mod.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 75 | pub enum Statement { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 79 | BlockStatement(BlockStatement), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/mod.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 82 | impl Statement { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 83 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/mod.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 107 | impl Program { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 108 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/block_statement.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BlockStatement { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 6 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockStatement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/block_statement.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl BlockStatement { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 11 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/boolean_literal.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct BooleanLiteral { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 5 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BooleanLiteral` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/boolean_literal.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | impl BooleanLiteral { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 10 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/call_expression.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CallExpression { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 6 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/call_expression.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl CallExpression { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 12 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/function_literal.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct FunctionLiteral { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 7 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionLiteral` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/function_literal.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl FunctionLiteral { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 13 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/identifier.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Identifier { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 5 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Identifier` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/identifier.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | impl Identifier { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 10 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/if_expression.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct IfExpression { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 7 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/if_expression.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl IfExpression { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 14 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/infix_expression.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct InfixExpression { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 6 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InfixExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/infix_expression.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl InfixExpression { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 13 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/integer_literal.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct IntegerLiteral { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 5 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IntegerLiteral` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/integer_literal.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | impl IntegerLiteral { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 10 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/let_statement.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct LetStatement { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 8 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LetStatement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/let_statement.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl LetStatement { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 14 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/prefix_expression.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PrefixExpression { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 6 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrefixExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/prefix_expression.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl PrefixExpression { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 12 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/return_statement.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ReturnStatement { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 6 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReturnStatement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/return_statement.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl ReturnStatement { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 11 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/string_literal.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct StringLiteral { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 5 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringLiteral` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `token_literal` and `to_string` are never used [INFO] [stdout] --> src/ast/string_literal.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | impl StringLiteral { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 10 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/test_support/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | ref e => panic!("Expected match for:\n\t{}\nGot:\n\t{:?}", stringify!($matcher), e), [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] ::: src/eval/tests.rs:247:47 [INFO] [stdout] | [INFO] [stdout] 247 | let error_message = match_or_fail!(error, EvalError(m) => m); [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | matches any value [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `match_or_fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token_literal` is never used [INFO] [stdout] --> src/ast/mod.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 44 | impl Expression { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 45 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BlockStatement` is never constructed [INFO] [stdout] --> src/ast/mod.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 75 | pub enum Statement { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 79 | BlockStatement(BlockStatement), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token_literal` is never used [INFO] [stdout] --> src/ast/mod.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 82 | impl Statement { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 83 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token_literal` is never used [INFO] [stdout] --> src/ast/mod.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 107 | impl Program { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 108 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/block_statement.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BlockStatement { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 6 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockStatement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token_literal` is never used [INFO] [stdout] --> src/ast/block_statement.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl BlockStatement { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 11 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token_literal` is never used [INFO] [stdout] --> src/ast/boolean_literal.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | impl BooleanLiteral { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 10 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/call_expression.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CallExpression { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 6 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CallExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token_literal` is never used [INFO] [stdout] --> src/ast/call_expression.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl CallExpression { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 12 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token_literal` is never used [INFO] [stdout] --> src/ast/function_literal.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl FunctionLiteral { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 13 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token_literal` is never used [INFO] [stdout] --> src/ast/identifier.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | impl Identifier { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 10 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/if_expression.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct IfExpression { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 7 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token_literal` is never used [INFO] [stdout] --> src/ast/if_expression.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl IfExpression { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 14 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/infix_expression.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct InfixExpression { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 6 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InfixExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token_literal` is never used [INFO] [stdout] --> src/ast/infix_expression.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl InfixExpression { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 13 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token_literal` is never used [INFO] [stdout] --> src/ast/integer_literal.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | impl IntegerLiteral { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 10 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/ast/prefix_expression.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PrefixExpression { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 6 | pub token: Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrefixExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token_literal` is never used [INFO] [stdout] --> src/ast/prefix_expression.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl PrefixExpression { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 12 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token_literal` is never used [INFO] [stdout] --> src/ast/string_literal.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 9 | impl StringLiteral { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 10 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "87576b965334fbba327d0ce0b123c7037eccf7d142bfe286cce1baeaab622aef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87576b965334fbba327d0ce0b123c7037eccf7d142bfe286cce1baeaab622aef", kill_on_drop: false }` [INFO] [stdout] 87576b965334fbba327d0ce0b123c7037eccf7d142bfe286cce1baeaab622aef