[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 601a7acf7d217b08994f5820f6c46bd6a4be8358 [INFO] checking jeppester/rust-interpreter against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeppester%2Frust-interpreter" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jeppester/rust-interpreter on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml", 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-11/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: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 48c22782ad0c3ee3fe92bd93ab263572bdc8dc94208a0d4afff61541457bdefa [INFO] running `Command { std: "docker" "start" "-a" "48c22782ad0c3ee3fe92bd93ab263572bdc8dc94208a0d4afff61541457bdefa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48c22782ad0c3ee3fe92bd93ab263572bdc8dc94208a0d4afff61541457bdefa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48c22782ad0c3ee3fe92bd93ab263572bdc8dc94208a0d4afff61541457bdefa", kill_on_drop: false }` [INFO] [stdout] 48c22782ad0c3ee3fe92bd93ab263572bdc8dc94208a0d4afff61541457bdefa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5697bd1a6a1347e006ea8f4ef603ce9e64c0ce5661fd82279fe054fa81ec9830 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5697bd1a6a1347e006ea8f4ef603ce9e64c0ce5661fd82279fe054fa81ec9830", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking monkey-interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lexer/mod.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | ('0' <= ch && ch <= '9') [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lexer/mod.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | ('0' <= ch && ch <= '9') [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Precedence` [INFO] [stdout] --> src/parser/mod.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub type Precedence = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LOWEST` [INFO] [stdout] --> src/parser/mod.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | pub const LOWEST: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EQUALS` [INFO] [stdout] --> src/parser/mod.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | pub const EQUALS: u8 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LESS_OR_GREATER` [INFO] [stdout] --> src/parser/mod.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | pub const LESS_OR_GREATER: u8 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SUM` [INFO] [stdout] --> src/parser/mod.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | pub const SUM: u8 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PRODUCT` [INFO] [stdout] --> src/parser/mod.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | pub const PRODUCT: u8 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PREFIX` [INFO] [stdout] --> src/parser/mod.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | pub const PREFIX: u8 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CALL` [INFO] [stdout] --> src/parser/mod.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | pub const CALL: u8 = 6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_operator_precedence` [INFO] [stdout] --> src/parser/mod.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn get_operator_precedence(token_type: TokenType) -> Precedence { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/parser/mod.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_boolean` [INFO] [stdout] --> src/parser/mod.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn parse_boolean(parser: &mut Parser) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_identifier` [INFO] [stdout] --> src/parser/mod.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn parse_identifier(parser: &mut Parser) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_integer_literal` [INFO] [stdout] --> src/parser/mod.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn parse_integer_literal(parser: &mut Parser) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_prefix_expression` [INFO] [stdout] --> src/parser/mod.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn parse_prefix_expression(parser: &mut Parser) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_infix_expression` [INFO] [stdout] --> src/parser/mod.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn parse_infix_expression( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_call_expression` [INFO] [stdout] --> src/parser/mod.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn parse_call_expression( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_grouped_expression` [INFO] [stdout] --> src/parser/mod.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn parse_grouped_expression(parser: &mut Parser) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_if_expression` [INFO] [stdout] --> src/parser/mod.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn parse_if_expression(parser: &mut Parser) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_function_literal` [INFO] [stdout] --> src/parser/mod.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn parse_function_literal(parser: &mut Parser) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser/mod.rs:203:10 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn new(mut lexer: Lexer) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_token` [INFO] [stdout] --> src/parser/mod.rs:241:10 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn next_token(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_program` [INFO] [stdout] --> src/parser/mod.rs:247:10 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn parse_program(&mut self) -> Program { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_block_statement` [INFO] [stdout] --> src/parser/mod.rs:275:10 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn parse_block_statement(&mut self) -> BlockStatement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_statement` [INFO] [stdout] --> src/parser/mod.rs:298:10 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn parse_statement(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_let_statement` [INFO] [stdout] --> src/parser/mod.rs:306:10 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn parse_let_statement(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_return_statement` [INFO] [stdout] --> src/parser/mod.rs:334:10 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn parse_return_statement(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_expression_statement` [INFO] [stdout] --> src/parser/mod.rs:353:10 [INFO] [stdout] | [INFO] [stdout] 353 | pub fn parse_expression_statement(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_expression` [INFO] [stdout] --> src/parser/mod.rs:363:10 [INFO] [stdout] | [INFO] [stdout] 363 | pub fn parse_expression(&mut self, precedence: Precedence) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_function_arguments` [INFO] [stdout] --> src/parser/mod.rs:389:10 [INFO] [stdout] | [INFO] [stdout] 389 | pub fn parse_function_arguments(&mut self) -> Result, ParserError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_call_arguments` [INFO] [stdout] --> src/parser/mod.rs:417:10 [INFO] [stdout] | [INFO] [stdout] 417 | pub fn parse_call_arguments(&mut self) -> Result, ParserError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_token_is` [INFO] [stdout] --> src/parser/mod.rs:441:10 [INFO] [stdout] | [INFO] [stdout] 441 | pub fn current_token_is(&mut self, token_type: TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_token_is` [INFO] [stdout] --> src/parser/mod.rs:445:10 [INFO] [stdout] | [INFO] [stdout] 445 | pub fn peek_token_is(&mut self, token_type: TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expect_peek` [INFO] [stdout] --> src/parser/mod.rs:449:10 [INFO] [stdout] | [INFO] [stdout] 449 | pub fn expect_peek(&mut self, token_type: TokenType) -> Result<(), ParserError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_precedence` [INFO] [stdout] --> src/parser/mod.rs:463:10 [INFO] [stdout] | [INFO] [stdout] 463 | pub fn current_precedence(&mut self) -> Precedence { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_precedence` [INFO] [stdout] --> src/parser/mod.rs:467:10 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn peek_precedence(&mut self) -> Precedence { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `prefix_parser_function_for` [INFO] [stdout] --> src/parser/mod.rs:471:10 [INFO] [stdout] | [INFO] [stdout] 471 | pub fn prefix_parser_function_for( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register_prefix` [INFO] [stdout] --> src/parser/mod.rs:483:10 [INFO] [stdout] | [INFO] [stdout] 483 | pub fn register_prefix( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register_infix` [INFO] [stdout] --> src/parser/mod.rs:493:10 [INFO] [stdout] | [INFO] [stdout] 493 | pub fn register_infix( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/block_statement.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/ast/block_statement.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/boolean_literal.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/ast/boolean_literal.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/call_expression.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/ast/call_expression.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/function_literal.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/ast/function_literal.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/identifier.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/ast/identifier.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/if_expression.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/ast/if_expression.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/infix_expression.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/ast/infix_expression.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/integer_literal.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/ast/integer_literal.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/let_statement.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/ast/let_statement.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/prefix_expression.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/ast/prefix_expression.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/return_statement.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/ast/return_statement.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BooleanLiteral` [INFO] [stdout] --> src/ast/mod.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | BooleanLiteral(BooleanLiteral), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Identifier` [INFO] [stdout] --> src/ast/mod.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | Identifier(Identifier), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IntegerLiteral` [INFO] [stdout] --> src/ast/mod.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | IntegerLiteral(IntegerLiteral), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PrefixExpression` [INFO] [stdout] --> src/ast/mod.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | PrefixExpression(PrefixExpression), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InfixExpression` [INFO] [stdout] --> src/ast/mod.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | InfixExpression(InfixExpression), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IfExpression` [INFO] [stdout] --> src/ast/mod.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | IfExpression(IfExpression), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FunctionLiteral` [INFO] [stdout] --> src/ast/mod.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | FunctionLiteral(FunctionLiteral), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CallExpression` [INFO] [stdout] --> src/ast/mod.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | CallExpression(CallExpression), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/mod.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/ast/mod.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LetStatement` [INFO] [stdout] --> src/ast/mod.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | LetStatement(LetStatement), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ReturnStatement` [INFO] [stdout] --> src/ast/mod.rs:72:3 [INFO] [stdout] | [INFO] [stdout] 72 | ReturnStatement(ReturnStatement), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Expression` [INFO] [stdout] --> src/ast/mod.rs:73:3 [INFO] [stdout] | [INFO] [stdout] 73 | Expression(Expression), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BlockStatement` [INFO] [stdout] --> src/ast/mod.rs:74:3 [INFO] [stdout] | [INFO] [stdout] 74 | BlockStatement(BlockStatement), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/mod.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/ast/mod.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Program` [INFO] [stdout] --> src/ast/mod.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/mod.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/ast/mod.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 80 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/block_statement.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | 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: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/boolean_literal.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/call_expression.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/function_literal.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/identifier.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/if_expression.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/infix_expression.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/integer_literal.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/prefix_expression.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/mod.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BlockStatement` [INFO] [stdout] --> src/ast/mod.rs:74:3 [INFO] [stdout] | [INFO] [stdout] 74 | BlockStatement(BlockStatement), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/mod.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_literal` [INFO] [stdout] --> src/ast/mod.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn token_literal(&self) -> Literal { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.15s [INFO] running `Command { std: "docker" "inspect" "5697bd1a6a1347e006ea8f4ef603ce9e64c0ce5661fd82279fe054fa81ec9830", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5697bd1a6a1347e006ea8f4ef603ce9e64c0ce5661fd82279fe054fa81ec9830", kill_on_drop: false }` [INFO] [stdout] 5697bd1a6a1347e006ea8f4ef603ce9e64c0ce5661fd82279fe054fa81ec9830