[INFO] cloning repository https://github.com/bytewired/mova [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bytewired/mova" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbytewired%2Fmova", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbytewired%2Fmova'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e42540849cb25647380e50087423a2f81226d702 [INFO] building bytewired/mova against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbytewired%2Fmova" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bytewired/mova on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bytewired/mova [INFO] finished tweaking git repo https://github.com/bytewired/mova [INFO] tweaked toml for git repo https://github.com/bytewired/mova written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bytewired/mova 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2adeaa7d8ff3443f3d935e82d16abafefd2873df175efae64a75e2cde8f52e5c [INFO] running `Command { std: "docker" "start" "-a" "2adeaa7d8ff3443f3d935e82d16abafefd2873df175efae64a75e2cde8f52e5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2adeaa7d8ff3443f3d935e82d16abafefd2873df175efae64a75e2cde8f52e5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2adeaa7d8ff3443f3d935e82d16abafefd2873df175efae64a75e2cde8f52e5c", kill_on_drop: false }` [INFO] [stdout] 2adeaa7d8ff3443f3d935e82d16abafefd2873df175efae64a75e2cde8f52e5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 288e90d69d3e4650d257e9fc3b1fe6e7cfd3f8847b4cb12ecb56c50b305a455a [INFO] running `Command { std: "docker" "start" "-a" "288e90d69d3e4650d257e9fc3b1fe6e7cfd3f8847b4cb12ecb56c50b305a455a", kill_on_drop: false }` [INFO] [stderr] Compiling mova v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::compiler::ast::expr::Expr` [INFO] [stdout] --> src/compiler/parser/decl_parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::compiler::ast::expr::Expr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/compiler/parser/decl_parser.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::compiler::token::{TokenKind, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/compiler/parser/stmt_parser.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::compiler::token::{TokenKind, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decls` [INFO] [stdout] --> src/compiler.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let decls = DeclParser::new(&mut stream).parse(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_decls` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stream` is never read [INFO] [stdout] --> src/compiler/parser/expr_parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ExprParser<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 5 | stream: &'a mut TokenStream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/compiler/parser/expr_parser.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'a> ExprParser<'a> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | fn parse_or(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn parse_and(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn parse_cmp(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn parse_temp(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn parse_factor(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn parse_unary(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn parse_base(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn parse_operand(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `expr` are never read [INFO] [stdout] --> src/compiler/ast/decl.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct VarDecl { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pub expr: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `expr` are never read [INFO] [stdout] --> src/compiler/ast/decl.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct LetDecl { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub expr: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `params`, and `stmts` are never read [INFO] [stdout] --> src/compiler/ast/decl.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FnDecl { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 15 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | pub params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | pub stmts: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `is_mutable` are never read [INFO] [stdout] --> src/compiler/ast/decl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct FnParam { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | pub is_mutable: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/decl.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Var(VarDecl), [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 28 | Var(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/decl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Let(LetDecl), [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 29 | Let(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/decl.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | Fn(FnDecl), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 30 | Fn(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Hex`, `Bin`, `Oct`, `Char`, and `Multiline` are never constructed [INFO] [stdout] --> src/compiler/token.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub enum TokenMod { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 101 | None, [INFO] [stdout] 102 | Hex, [INFO] [stdout] | ^^^ [INFO] [stdout] 103 | Bin, [INFO] [stdout] | ^^^ [INFO] [stdout] 104 | Oct, [INFO] [stdout] | ^^^ [INFO] [stdout] 105 | Char, [INFO] [stdout] | ^^^^ [INFO] [stdout] 106 | Multiline, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenMod` 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: enum `TypeKind` is never used [INFO] [stdout] --> src/compiler/token.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | pub enum TypeKind { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `modd`, `suffix`, and `line` are never read [INFO] [stdout] --> src/compiler/token.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct Token { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 138 | pub kind: TokenKind, [INFO] [stdout] 139 | pub modd: TokenMod, [INFO] [stdout] | ^^^^ [INFO] [stdout] 140 | pub suffix: TokenSuffix, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 141 | pub value: Value, [INFO] [stdout] 142 | pub line: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` 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: methods `advance_if_match_any`, `advance_if_cmp`, `advance_if_unary`, and `is_assign` are never used [INFO] [stdout] --> src/compiler/token_stream.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl TokenStream { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | fn advance_if_match_any(&mut self, kinds: &[TokenKind]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn advance_if_cmp(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn advance_if_unary(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn is_assign(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] running `Command { std: "docker" "inspect" "288e90d69d3e4650d257e9fc3b1fe6e7cfd3f8847b4cb12ecb56c50b305a455a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "288e90d69d3e4650d257e9fc3b1fe6e7cfd3f8847b4cb12ecb56c50b305a455a", kill_on_drop: false }` [INFO] [stdout] 288e90d69d3e4650d257e9fc3b1fe6e7cfd3f8847b4cb12ecb56c50b305a455a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67a0bb2b7c746f22900af19c9acb6878015338dfd04e466229075bb9ecf60fae [INFO] running `Command { std: "docker" "start" "-a" "67a0bb2b7c746f22900af19c9acb6878015338dfd04e466229075bb9ecf60fae", kill_on_drop: false }` [INFO] [stderr] Compiling mova v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::compiler::ast::expr::Expr` [INFO] [stdout] --> src/compiler/parser/decl_parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::compiler::ast::expr::Expr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/compiler/parser/decl_parser.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::compiler::token::{TokenKind, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/compiler/parser/stmt_parser.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::compiler::token::{TokenKind, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decls` [INFO] [stdout] --> src/compiler.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let decls = DeclParser::new(&mut stream).parse(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_decls` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stream` is never read [INFO] [stdout] --> src/compiler/parser/expr_parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ExprParser<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 5 | stream: &'a mut TokenStream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/compiler/parser/expr_parser.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'a> ExprParser<'a> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | fn parse_or(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn parse_and(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn parse_cmp(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn parse_temp(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn parse_factor(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn parse_unary(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn parse_base(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn parse_operand(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `expr` are never read [INFO] [stdout] --> src/compiler/ast/decl.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct VarDecl { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pub expr: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `expr` are never read [INFO] [stdout] --> src/compiler/ast/decl.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct LetDecl { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub expr: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `params`, and `stmts` are never read [INFO] [stdout] --> src/compiler/ast/decl.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct FnDecl { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 15 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | pub params: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | pub stmts: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `is_mutable` are never read [INFO] [stdout] --> src/compiler/ast/decl.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct FnParam { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | pub is_mutable: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/decl.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | Var(VarDecl), [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 28 | Var(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/decl.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Let(LetDecl), [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 29 | Let(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/ast/decl.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | Fn(FnDecl), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 30 | Fn(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Hex`, `Bin`, `Oct`, `Char`, and `Multiline` are never constructed [INFO] [stdout] --> src/compiler/token.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub enum TokenMod { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 101 | None, [INFO] [stdout] 102 | Hex, [INFO] [stdout] | ^^^ [INFO] [stdout] 103 | Bin, [INFO] [stdout] | ^^^ [INFO] [stdout] 104 | Oct, [INFO] [stdout] | ^^^ [INFO] [stdout] 105 | Char, [INFO] [stdout] | ^^^^ [INFO] [stdout] 106 | Multiline, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenMod` 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: enum `TypeKind` is never used [INFO] [stdout] --> src/compiler/token.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | pub enum TypeKind { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `modd` and `line` are never read [INFO] [stdout] --> src/compiler/token.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct Token { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 138 | pub kind: TokenKind, [INFO] [stdout] 139 | pub modd: TokenMod, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub line: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` 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: methods `advance_if_match_any`, `advance_if_cmp`, `advance_if_unary`, and `is_assign` are never used [INFO] [stdout] --> src/compiler/token_stream.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl TokenStream { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | fn advance_if_match_any(&mut self, kinds: &[TokenKind]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn advance_if_cmp(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn advance_if_unary(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn is_assign(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "67a0bb2b7c746f22900af19c9acb6878015338dfd04e466229075bb9ecf60fae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67a0bb2b7c746f22900af19c9acb6878015338dfd04e466229075bb9ecf60fae", kill_on_drop: false }` [INFO] [stdout] 67a0bb2b7c746f22900af19c9acb6878015338dfd04e466229075bb9ecf60fae