[INFO] cloning repository https://github.com/Yvan-xy/Lamb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yvan-xy/Lamb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYvan-xy%2FLamb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYvan-xy%2FLamb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 807f20ed082c9b932289ab509af4cf2ae1738278 [INFO] building Yvan-xy/Lamb 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%2FYvan-xy%2FLamb" "/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/Yvan-xy/Lamb 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/Yvan-xy/Lamb [INFO] finished tweaking git repo https://github.com/Yvan-xy/Lamb [INFO] tweaked toml for git repo https://github.com/Yvan-xy/Lamb written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Yvan-xy/Lamb 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-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca6aac86a7431e91a2088ea03c2a5aa837f09e6ae35b310ab75cc046d61fcbe3 [INFO] running `Command { std: "docker" "start" "-a" "ca6aac86a7431e91a2088ea03c2a5aa837f09e6ae35b310ab75cc046d61fcbe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca6aac86a7431e91a2088ea03c2a5aa837f09e6ae35b310ab75cc046d61fcbe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca6aac86a7431e91a2088ea03c2a5aa837f09e6ae35b310ab75cc046d61fcbe3", kill_on_drop: false }` [INFO] [stdout] ca6aac86a7431e91a2088ea03c2a5aa837f09e6ae35b310ab75cc046d61fcbe3 [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 -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] 309fb204b02367a384c9055f2d0569d800f31571f5bcf7f21604e602b245ea2f [INFO] running `Command { std: "docker" "start" "-a" "309fb204b02367a384c9055f2d0569d800f31571f5bcf7f21604e602b245ea2f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling untyped_lambda v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `LevelFilter`, `debug`, `info`, and `warn` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{debug, error, info, warn, LevelFilter}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CompUnit` [INFO] [stdout] --> src/main.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::{ASTNode, CompUnit}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/lexer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Chars` [INFO] [stdout] --> src/lexer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::Chars; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::token::Token` [INFO] [stdout] --> src/parser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::token::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> Parser<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 12 | pub fn new(lex: &'a mut Lexer) -> Parser { [INFO] [stdout] | ^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ASTNode` [INFO] [stdout] --> src/main.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::{ASTNode, CompUnit}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/ast.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | fn visit(&self, visitor: &dyn Visitor) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/ast.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | fn visit(&self, visitor: &dyn Visitor) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/ast.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | fn visit(&self, visitor: &dyn Visitor) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `visit` is never used [INFO] [stdout] --> src/ast.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait ASTNode { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 5 | /// the api for visitor pattern [INFO] [stdout] 6 | fn visit(&self, visitor: &dyn Visitor); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/ast.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct VariableNode { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 27 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_children` is never used [INFO] [stdout] --> src/ast.rs:57:6 [INFO] [stdout] | [INFO] [stdout] 46 | impl CompUnit { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | fn get_children(&self) -> &Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `tok_class` are never read [INFO] [stdout] --> src/token.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Token { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 11 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | tok_class: TokClass, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clone`, `get_name`, `get_tok_class`, and `dump` are never used [INFO] [stdout] --> src/token.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 15 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn clone(&self) -> Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn get_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_tok_class(&self) -> TokClass { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn dump(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | EOF(String), [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] 7 | EOF(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `next` and `dump` are never used [INFO] [stdout] --> src/lexer.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 23 | impl Lexer { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn next(&mut self) -> Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn dump(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.70s [INFO] running `Command { std: "docker" "inspect" "309fb204b02367a384c9055f2d0569d800f31571f5bcf7f21604e602b245ea2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "309fb204b02367a384c9055f2d0569d800f31571f5bcf7f21604e602b245ea2f", kill_on_drop: false }` [INFO] [stdout] 309fb204b02367a384c9055f2d0569d800f31571f5bcf7f21604e602b245ea2f [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 -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] f716d8969bc25d1227e3d6a892e5c9c3237a63e44b95738fda1a729f453b69fa [INFO] running `Command { std: "docker" "start" "-a" "f716d8969bc25d1227e3d6a892e5c9c3237a63e44b95738fda1a729f453b69fa", kill_on_drop: false }` [INFO] [stderr] Compiling untyped_lambda v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `LevelFilter`, `debug`, `info`, and `warn` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{debug, error, info, warn, LevelFilter}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CompUnit` [INFO] [stdout] --> src/main.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::{ASTNode, CompUnit}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/lexer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Chars` [INFO] [stdout] --> src/lexer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::Chars; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::token::Token` [INFO] [stdout] --> src/parser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::token::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> Parser<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 12 | pub fn new(lex: &'a mut Lexer) -> Parser { [INFO] [stdout] | ^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ASTNode` [INFO] [stdout] --> src/main.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::{ASTNode, CompUnit}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/ast.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | fn visit(&self, visitor: &dyn Visitor) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/ast.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | fn visit(&self, visitor: &dyn Visitor) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visitor` [INFO] [stdout] --> src/ast.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | fn visit(&self, visitor: &dyn Visitor) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `visit` is never used [INFO] [stdout] --> src/ast.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait ASTNode { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 5 | /// the api for visitor pattern [INFO] [stdout] 6 | fn visit(&self, visitor: &dyn Visitor); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/ast.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct VariableNode { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 27 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariableNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_children` is never used [INFO] [stdout] --> src/ast.rs:57:6 [INFO] [stdout] | [INFO] [stdout] 46 | impl CompUnit { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | fn get_children(&self) -> &Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `tok_class` are never read [INFO] [stdout] --> src/token.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Token { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 11 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | tok_class: TokClass, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clone`, `get_name`, `get_tok_class`, and `dump` are never used [INFO] [stdout] --> src/token.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 15 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn clone(&self) -> Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn get_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_tok_class(&self) -> TokClass { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn dump(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | EOF(String), [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] 7 | EOF(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `next` and `dump` are never used [INFO] [stdout] --> src/lexer.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 23 | impl Lexer { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn next(&mut self) -> Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn dump(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "f716d8969bc25d1227e3d6a892e5c9c3237a63e44b95738fda1a729f453b69fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f716d8969bc25d1227e3d6a892e5c9c3237a63e44b95738fda1a729f453b69fa", kill_on_drop: false }` [INFO] [stdout] f716d8969bc25d1227e3d6a892e5c9c3237a63e44b95738fda1a729f453b69fa