[INFO] cloning repository https://github.com/WilliamTakeshi/rust-monkey-interpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WilliamTakeshi/rust-monkey-interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilliamTakeshi%2Frust-monkey-interpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilliamTakeshi%2Frust-monkey-interpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ff22d45423737313075141910ddc7a2c3d76350 [INFO] checking WilliamTakeshi/rust-monkey-interpreter/7ff22d45423737313075141910ddc7a2c3d76350 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilliamTakeshi%2Frust-monkey-interpreter" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WilliamTakeshi/rust-monkey-interpreter on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/WilliamTakeshi/rust-monkey-interpreter [INFO] finished tweaking git repo https://github.com/WilliamTakeshi/rust-monkey-interpreter [INFO] tweaked toml for git repo https://github.com/WilliamTakeshi/rust-monkey-interpreter written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/WilliamTakeshi/rust-monkey-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e639887691c0513a3593ec0c90e22bb3b5d129dac07ef241b609ea877dbb0c41 [INFO] running `Command { std: "docker" "start" "-a" "e639887691c0513a3593ec0c90e22bb3b5d129dac07ef241b609ea877dbb0c41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e639887691c0513a3593ec0c90e22bb3b5d129dac07ef241b609ea877dbb0c41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e639887691c0513a3593ec0c90e22bb3b5d129dac07ef241b609ea877dbb0c41", kill_on_drop: false }` [INFO] [stdout] e639887691c0513a3593ec0c90e22bb3b5d129dac07ef241b609ea877dbb0c41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea1c1be8c62f4d5b64ef115c783a75821b233527a0ed1016c5a625b10d2e2bbc [INFO] running `Command { std: "docker" "start" "-a" "ea1c1be8c62f4d5b64ef115c783a75821b233527a0ed1016c5a625b10d2e2bbc", kill_on_drop: false }` [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking rust-monkey-interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type alias `ModifyFn` is never used [INFO] [stdout] --> src/ast/modify.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type ModifyFn<'a> = &'a dyn Fn(Expression) -> Expression; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `modify_program` is never used [INFO] [stdout] --> src/ast/modify.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn modify_program(program: Program, func: ModifyFn) -> Program { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `modify_statements` is never used [INFO] [stdout] --> src/ast/modify.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn modify_statements(statements: Vec, func: ModifyFn) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `modify_statement` is never used [INFO] [stdout] --> src/ast/modify.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn modify_statement(statement: Statement, func: ModifyFn) -> Statement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `modify_exprs` is never used [INFO] [stdout] --> src/ast/modify.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn modify_exprs(exprs: Vec, func: ModifyFn) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `modify_expr` is never used [INFO] [stdout] --> src/ast/modify.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn modify_expr(expr: Expression, func: ModifyFn) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/code/code.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Definition { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 79 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Definition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string` is never used [INFO] [stdout] --> src/code/code.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn string(instructions: Instructions) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_instruction` is never used [INFO] [stdout] --> src/code/code.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn format_instruction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_operands` is never used [INFO] [stdout] --> src/code/code.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn read_operands(def: Definition, instructions: Instructions) -> (Vec, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/compiler.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Compiler { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 54 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Evaluator` is never constructed [INFO] [stdout] --> src/evaluator/eval.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Evaluator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/evaluator/eval.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Evaluator { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn new_with_env(environment: Environment) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn eval_program(&mut self, program: Program) -> Object { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn eval_statements(&mut self, statements: Vec) -> Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn eval_block(&mut self, statements: Vec) -> Object { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn eval_statement(&mut self, statement: Statement) -> Object { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn eval_expr(&mut self, expr: Expression) -> Object { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn eval_hash_literal(&mut self, nodes: Vec<(Expression, Expression)>) -> Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | fn eval_ident(&mut self, ident: String) -> Object { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | fn eval_prefix_expression(&mut self, op: Prefix, right: Object) -> Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | fn eval_infix_expression(&mut self, op: Infix, left: Object, right: Object) -> Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | fn eval_string_infix_expression(&self, op: Infix, left: String, right: String) -> Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | fn eval_integer_infix_expression(&self, op: Infix, left: i64, right: i64) -> Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | fn eval_bool_infix_expression(&self, op: Infix, left: bool, right: bool) -> Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | fn eval_if_expression( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | fn eval_call_expression(&mut self, function: Expression, args: Vec) -> Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | fn apply_function(&mut self, function: Object, args: Vec) -> Object { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | fn extend_function_env( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | fn eval_expressions(&mut self, exprs: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | fn eval_index_expression(&self, left: Object, index: Object) -> Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | fn unwrap_return_value(&self, obj: Object) -> Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 390 | fn is_truthy(&self, obj: Object) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | fn is_error(&self, obj: &Object) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `define_macros` is never used [INFO] [stdout] --> src/evaluator/macro_expansion.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn define_macros(mut program: Program, mut env: Environment) -> (Program, Environment) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_macro_definition` is never used [INFO] [stdout] --> src/evaluator/macro_expansion.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn is_macro_definition(stmt: &Statement) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_macro` is never used [INFO] [stdout] --> src/evaluator/macro_expansion.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn add_macro(stmt: Statement, mut env: Environment) -> Environment { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expand_macros` is never used [INFO] [stdout] --> src/evaluator/macro_expansion.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn expand_macros(program: Program, env: Environment) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_macro_call` is never used [INFO] [stdout] --> src/evaluator/macro_expansion.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn is_macro_call(expr: Expression, env: Environment) -> (Object, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quote_args` is never used [INFO] [stdout] --> src/evaluator/macro_expansion.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn quote_args(expr: Expression) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extend_macro_env` is never used [INFO] [stdout] --> src/evaluator/macro_expansion.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn extend_macro_env(macro_obj: Object, args: Vec) -> Environment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quote` is never used [INFO] [stdout] --> src/evaluator/quote_unquote.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn quote(expr: Expression, env: Ref) -> Object { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval_unquote_calls` is never used [INFO] [stdout] --> src/evaluator/quote_unquote.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn eval_unquote_calls(quoted: Expression, env: Ref) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_unquote_call` is never used [INFO] [stdout] --> src/evaluator/quote_unquote.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn is_unquote_call(expr: &Expression) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_object_to_ast_node` is never used [INFO] [stdout] --> src/evaluator/quote_unquote.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn convert_object_to_ast_node(obj: Object) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_enclosed_environment`, `get`, and `set` are never used [INFO] [stdout] --> src/object/environment.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Environment { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn new_enclosed_environment(outer: Rc>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn get(&self, key: String) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn set(&mut self, key: String, val: Object) -> Object { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Quote`, `Return`, `Fn`, and `Macro` are never constructed [INFO] [stdout] --> src/object/object.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Object { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | Quote(Expression), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | Null, [INFO] [stdout] 20 | Return(Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | Err(String), [INFO] [stdout] 22 | Fn { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 27 | Macro { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Object` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROMPT` is never used [INFO] [stdout] --> src/repl/repl_interpreter.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const PROMPT: &str = ">> "; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/repl/repl_interpreter.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn start() -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `stack_top` are never used [INFO] [stdout] --> src/vm/vm.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Vm { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 38 | pub fn new(bytecode: Bytecode) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn stack_top(&self) -> &Object { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler/symbol_table.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let mut global = Rc::new(RefCell::new(SymbolTable::new())); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_macro_literal_parsing` is never used [INFO] [stdout] --> src/parser.rs:1452:8 [INFO] [stdout] | [INFO] [stdout] 1452 | fn test_macro_literal_parsing() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROMPT` is never used [INFO] [stdout] --> src/repl/repl_interpreter.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const PROMPT: &str = ">> "; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/repl/repl_interpreter.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn start() -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stack_top` is never used [INFO] [stdout] --> src/vm/vm.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Vm { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn stack_top(&self) -> &Object { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler/compiler.rs:442:13 [INFO] [stdout] | [INFO] [stdout] 442 | compiler.compile_program(program); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 442 | let _ = compiler.compile_program(program); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.41s [INFO] running `Command { std: "docker" "inspect" "ea1c1be8c62f4d5b64ef115c783a75821b233527a0ed1016c5a625b10d2e2bbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea1c1be8c62f4d5b64ef115c783a75821b233527a0ed1016c5a625b10d2e2bbc", kill_on_drop: false }` [INFO] [stdout] ea1c1be8c62f4d5b64ef115c783a75821b233527a0ed1016c5a625b10d2e2bbc