[INFO] cloning repository https://github.com/JustBobinAround/lisa_lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JustBobinAround/lisa_lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJustBobinAround%2Flisa_lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJustBobinAround%2Flisa_lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f5402377a1d133ad74370ab42d46655b6e619937 [INFO] checking JustBobinAround/lisa_lang against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJustBobinAround%2Flisa_lang" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JustBobinAround/lisa_lang on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JustBobinAround/lisa_lang [INFO] finished tweaking git repo https://github.com/JustBobinAround/lisa_lang [INFO] tweaked toml for git repo https://github.com/JustBobinAround/lisa_lang written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JustBobinAround/lisa_lang 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39b1d9ddad2ef891af5a015f3d441cc219c300bd5e56821e575efd79afc44482 [INFO] running `Command { std: "docker" "start" "-a" "39b1d9ddad2ef891af5a015f3d441cc219c300bd5e56821e575efd79afc44482", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39b1d9ddad2ef891af5a015f3d441cc219c300bd5e56821e575efd79afc44482", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39b1d9ddad2ef891af5a015f3d441cc219c300bd5e56821e575efd79afc44482", kill_on_drop: false }` [INFO] [stdout] 39b1d9ddad2ef891af5a015f3d441cc219c300bd5e56821e575efd79afc44482 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea443f9b3d9b1048e424cd44fe35efb06ead5c5716438d0d79317bb8b2bd2a36 [INFO] running `Command { std: "docker" "start" "-a" "ea443f9b3d9b1048e424cd44fe35efb06ead5c5716438d0d79317bb8b2bd2a36", kill_on_drop: false }` [INFO] [stderr] Checking lisa_lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::type_def::Type` [INFO] [stdout] --> src/lexer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::type_def::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/parser.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `expr` and `type_def` [INFO] [stdout] --> src/parser.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{expr, type_def}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Lexer` [INFO] [stdout] --> src/engine.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::lexer::{Lexer, Operator}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::Interpreter` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use engine::Interpreter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::type_def::Type` [INFO] [stdout] --> src/lexer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::type_def::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/parser.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `expr` and `type_def` [INFO] [stdout] --> src/parser.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{expr, type_def}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Lexer` [INFO] [stdout] --> src/engine.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::lexer::{Lexer, Operator}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::Interpreter` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use engine::Interpreter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prior_expr` is assigned to, but never used [INFO] [stdout] --> src/parser.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let mut prior_expr = None; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_prior_expr` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prior_expr` is never read [INFO] [stdout] --> src/parser.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | prior_expr = Some(expr); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prior_expr` is assigned to, but never used [INFO] [stdout] --> src/parser.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let mut prior_expr = None; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_prior_expr` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prior_expr` is never read [INFO] [stdout] --> src/parser.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | prior_expr = Some(expr); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/expr.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | for (key, expr) in pairs { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/expr.rs:114:36 [INFO] [stdout] | [INFO] [stdout] 114 | Expr::BinaryOp { left, op, right } => { [INFO] [stdout] | ^^ help: try ignoring the field: `op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> src/expr.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | param, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `param: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> src/expr.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | let param = context.type_check(env)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def` [INFO] [stdout] --> src/expr.rs:187:44 [INFO] [stdout] | [INFO] [stdout] 187 | Expr::Assign { context, param, type_def } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `type_def: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def` [INFO] [stdout] --> src/expr.rs:202:44 [INFO] [stdout] | [INFO] [stdout] 202 | Expr::PassTo { context, param, type_def } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `type_def: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/expr.rs:277:46 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn is_bad_primative(left: Arc, op: Arc, right: Arc) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/expr.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | for (key, expr) in pairs { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/expr.rs:114:36 [INFO] [stdout] | [INFO] [stdout] 114 | Expr::BinaryOp { left, op, right } => { [INFO] [stdout] | ^^ help: try ignoring the field: `op: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> src/expr.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | param, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `param: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_type` [INFO] [stdout] --> src/type_def.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | Type::Function { param_type, return_type } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `param_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param` [INFO] [stdout] --> src/expr.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | let param = context.type_check(env)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def` [INFO] [stdout] --> src/expr.rs:187:44 [INFO] [stdout] | [INFO] [stdout] 187 | Expr::Assign { context, param, type_def } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `type_def: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_def` [INFO] [stdout] --> src/expr.rs:202:44 [INFO] [stdout] | [INFO] [stdout] 202 | Expr::PassTo { context, param, type_def } => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `type_def: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_sig` [INFO] [stdout] --> src/engine.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | Expr::Function { param_sig, return_sig, block } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `param_sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_sig` [INFO] [stdout] --> src/engine.rs:70:41 [INFO] [stdout] | [INFO] [stdout] 70 | Expr::Function { param_sig, return_sig, block } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `return_sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/engine.rs:70:53 [INFO] [stdout] | [INFO] [stdout] 70 | Expr::Function { param_sig, return_sig, block } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/expr.rs:277:46 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn is_bad_primative(left: Arc, op: Arc, right: Arc) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let input = r#" [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let input = r#" [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let input = r#" [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Array` is never constructed [INFO] [stdout] --> src/expr.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Expr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Array(Vec>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/expr.rs:585:21 [INFO] [stdout] | [INFO] [stdout] 585 | UnexpectedToken(Token, String), [INFO] [stdout] | --------------- ^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 585 | UnexpectedToken((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/expr.rs:586:14 [INFO] [stdout] | [INFO] [stdout] 586 | BadToken(Token, String), [INFO] [stdout] | -------- ^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 586 | BadToken((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expr.rs:587:16 [INFO] [stdout] | [INFO] [stdout] 587 | BadExpress(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 587 | BadExpress(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_type` [INFO] [stdout] --> src/type_def.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | Type::Function { param_type, return_type } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `param_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnexpectedEOF` is never constructed [INFO] [stdout] --> src/expr.rs:588:5 [INFO] [stdout] | [INFO] [stdout] 584 | pub enum ParseError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 588 | UnexpectedEOF, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Generic` is never constructed [INFO] [stdout] --> src/type_def.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Generic, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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: struct `Interpreter` is never constructed [INFO] [stdout] --> src/engine.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Interpreter { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> src/engine.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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: associated items `new`, `interpret`, `evaluate`, `evaluate_unary_op`, `evaluate_binary_op`, and `is_true` are never used [INFO] [stdout] --> src/engine.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Interpreter { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 30 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn interpret(&mut self, parser: &mut Parser) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn evaluate(&mut self, expr: &Expr) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn evaluate_unary_op(&self, op: &Operator, value: Value) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn evaluate_binary_op(&self, op: &Operator, left: Value, right: Value) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | fn is_true(&self, value: &Value) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_sig` [INFO] [stdout] --> src/engine.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | Expr::Function { param_sig, return_sig, block } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `param_sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_sig` [INFO] [stdout] --> src/engine.rs:70:41 [INFO] [stdout] | [INFO] [stdout] 70 | Expr::Function { param_sig, return_sig, block } => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `return_sig: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/engine.rs:70:53 [INFO] [stdout] | [INFO] [stdout] 70 | Expr::Function { param_sig, return_sig, block } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let input = r#" [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let input = r#" [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let input = r#" [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Array` is never constructed [INFO] [stdout] --> src/expr.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Expr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Array(Vec>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/expr.rs:585:21 [INFO] [stdout] | [INFO] [stdout] 585 | UnexpectedToken(Token, String), [INFO] [stdout] | --------------- ^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 585 | UnexpectedToken((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/expr.rs:586:14 [INFO] [stdout] | [INFO] [stdout] 586 | BadToken(Token, String), [INFO] [stdout] | -------- ^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 586 | BadToken((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/expr.rs:587:16 [INFO] [stdout] | [INFO] [stdout] 587 | BadExpress(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 587 | BadExpress(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnexpectedEOF` is never constructed [INFO] [stdout] --> src/expr.rs:588:5 [INFO] [stdout] | [INFO] [stdout] 584 | pub enum ParseError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 588 | UnexpectedEOF, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Generic` is never constructed [INFO] [stdout] --> src/type_def.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Generic, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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: struct `Interpreter` is never constructed [INFO] [stdout] --> src/engine.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Interpreter { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Interpreter` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> src/engine.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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: associated items `new`, `interpret`, `evaluate`, `evaluate_unary_op`, `evaluate_binary_op`, and `is_true` are never used [INFO] [stdout] --> src/engine.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Interpreter { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 30 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn interpret(&mut self, parser: &mut Parser) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn evaluate(&mut self, expr: &Expr) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn evaluate_unary_op(&self, op: &Operator, value: Value) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn evaluate_binary_op(&self, op: &Operator, left: Value, right: Value) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | fn is_true(&self, value: &Value) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `Token` to `Token` [INFO] [stdout] --> src/lexer.rs:137:45 [INFO] [stdout] | [INFO] [stdout] 137 | return self.consume(Token::Operator(Operator::Sub.into()).into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `Token` to `Token` [INFO] [stdout] --> src/lexer.rs:137:45 [INFO] [stdout] | [INFO] [stdout] 137 | return self.consume(Token::Operator(Operator::Sub.into()).into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `Arc` to `Arc` [INFO] [stdout] --> src/parser.rs:129:35 [INFO] [stdout] | [INFO] [stdout] 129 | Expr::Option(Some(expr.into())).into() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `Arc` to `Arc` [INFO] [stdout] --> src/parser.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | self.parse_identifer(name, variables, types)?.into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `Arc` to `Arc` [INFO] [stdout] --> src/parser.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | expr.into() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `Arc` to `Arc` [INFO] [stdout] --> src/parser.rs:398:47 [INFO] [stdout] | [INFO] [stdout] 398 | Ok(Type::Optional { type_def: t.into() }.into()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `Arc` to `Arc` [INFO] [stdout] --> src/parser.rs:437:37 [INFO] [stdout] | [INFO] [stdout] 437 | ... let t = self.parse_type(types)?.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `Arc` to `Arc` [INFO] [stdout] --> src/parser.rs:464:28 [INFO] [stdout] | [INFO] [stdout] 464 | let t: Arc = self.parse_type(types)?.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `Arc` to `Arc` [INFO] [stdout] --> src/parser.rs:129:35 [INFO] [stdout] | [INFO] [stdout] 129 | Expr::Option(Some(expr.into())).into() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `Arc` to `Arc` [INFO] [stdout] --> src/parser.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | self.parse_identifer(name, variables, types)?.into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `Arc` to `Arc` [INFO] [stdout] --> src/parser.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | expr.into() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `Arc` to `Arc` [INFO] [stdout] --> src/parser.rs:398:47 [INFO] [stdout] | [INFO] [stdout] 398 | Ok(Type::Optional { type_def: t.into() }.into()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `Arc` to `Arc` [INFO] [stdout] --> src/parser.rs:437:37 [INFO] [stdout] | [INFO] [stdout] 437 | ... let t = self.parse_type(types)?.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `Arc` to `Arc` [INFO] [stdout] --> src/parser.rs:464:28 [INFO] [stdout] | [INFO] [stdout] 464 | let t: Arc = self.parse_type(types)?.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lisa_lang` (bin "lisa_lang" test) due to 7 previous errors; 31 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lisa_lang` (bin "lisa_lang") due to 7 previous errors; 31 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ea443f9b3d9b1048e424cd44fe35efb06ead5c5716438d0d79317bb8b2bd2a36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea443f9b3d9b1048e424cd44fe35efb06ead5c5716438d0d79317bb8b2bd2a36", kill_on_drop: false }` [INFO] [stdout] ea443f9b3d9b1048e424cd44fe35efb06ead5c5716438d0d79317bb8b2bd2a36