[INFO] fetching crate lattescript 0.1.2... [INFO] checking lattescript-0.1.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate lattescript 0.1.2 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate lattescript 0.1.2 [INFO] finished tweaking crates.io crate lattescript 0.1.2 [INFO] tweaked toml for crates.io crate lattescript 0.1.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lattescript 0.1.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lattescript 0.1.2 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1190807e9286876e863a185c9f6f3e8aaae536c8b643663d71f1c4f550055f8e [INFO] running `Command { std: "docker" "start" "-a" "1190807e9286876e863a185c9f6f3e8aaae536c8b643663d71f1c4f550055f8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1190807e9286876e863a185c9f6f3e8aaae536c8b643663d71f1c4f550055f8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1190807e9286876e863a185c9f6f3e8aaae536c8b643663d71f1c4f550055f8e", kill_on_drop: false }` [INFO] [stdout] 1190807e9286876e863a185c9f6f3e8aaae536c8b643663d71f1c4f550055f8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afd30131d2dac02bb653ae18e9c30ae54246bc225dcaa4b6e09265af29202348 [INFO] running `Command { std: "docker" "start" "-a" "afd30131d2dac02bb653ae18e9c30ae54246bc225dcaa4b6e09265af29202348", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking lattescript v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Error` and `die` [INFO] [stdout] --> src/lexer/mod.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{messagehandle::{die, Error}, internal::*}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::Token::Type` [INFO] [stdout] --> src/lexer/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::lexer::Token::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lexer::Token` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use lexer::Token; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `new_uninit` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(new_uninit)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lexer/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut line: i32 = 1; [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: variable does not need to be mutable [INFO] [stdout] --> src/lexer/mod.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut returned = ident(x.to_string(), line); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `die` [INFO] [stdout] --> src/lexer/mod.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{messagehandle::{die, Error}, internal::*}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::Token::Type` [INFO] [stdout] --> src/lexer/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::lexer::Token::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lexer::Token` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use lexer::Token; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lstint` [INFO] [stdout] --> src/lexer/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mut lstint: i32 = 0; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lstint` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lexer/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let mut lstint: i32 = 0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `new_uninit` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(new_uninit)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | Assign(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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] = note: `#[warn(dead_code)]` on by default [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 - Assign(String), [INFO] [stdout] 7 + Assign(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/mod.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | Plus(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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] 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] 8 - Plus(String), [INFO] [stdout] 8 + Plus(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | Minus(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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] 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] 9 - Minus(String), [INFO] [stdout] 9 + Minus(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | Multiply(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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] 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] 10 - Multiply(String), [INFO] [stdout] 10 + Multiply(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/mod.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | Divide(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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] 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] 11 - Divide(String), [INFO] [stdout] 11 + Divide(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/mod.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | Type(Types), [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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] 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] 13 - Type(Types), [INFO] [stdout] 13 + Type(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `N` is never constructed [INFO] [stdout] --> src/lexer/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Token { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | N, [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: field `0` is never read [INFO] [stdout] --> src/lexer/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | Int(i32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Types` 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] 20 - Int(i32), [INFO] [stdout] 20 + Int(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `String`, `Float`, `SubVector`, and `F` are never constructed [INFO] [stdout] --> src/lexer/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum Types { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 20 | Int(i32), [INFO] [stdout] 21 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | SubVector(Vec), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | F [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Types` 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 `Error` is never used [INFO] [stdout] --> src/messagehandle.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MessageType` is never used [INFO] [stdout] --> src/messagehandle.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | enum MessageType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `die` is never used [INFO] [stdout] --> src/messagehandle.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn die(err_type: Error, line: i32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_message` is never used [INFO] [stdout] --> src/messagehandle.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn handle_message(msg_type: MessageType, err_type: Error, line: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lexer/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut line: i32 = 1; [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: variable does not need to be mutable [INFO] [stdout] --> src/lexer/mod.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut returned = ident(x.to_string(), line); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lstint` [INFO] [stdout] --> src/lexer/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mut lstint: i32 = 0; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lstint` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lexer/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let mut lstint: i32 = 0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lexerout` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let lexerout = lexer::lex("<+ - */ / 12838 7374< +-29/ / + <128 /4 / * + -23"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lexerout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | Assign(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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] = note: `#[warn(dead_code)]` on by default [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 - Assign(String), [INFO] [stdout] 7 + Assign(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/mod.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | Plus(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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] 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] 8 - Plus(String), [INFO] [stdout] 8 + Plus(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | Minus(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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] 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] 9 - Minus(String), [INFO] [stdout] 9 + Minus(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | Multiply(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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] 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] 10 - Multiply(String), [INFO] [stdout] 10 + Multiply(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/mod.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | Divide(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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] 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] 11 - Divide(String), [INFO] [stdout] 11 + Divide(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lexer/mod.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | Type(Types), [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [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] 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] 13 - Type(Types), [INFO] [stdout] 13 + Type(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `N` is never constructed [INFO] [stdout] --> src/lexer/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Token { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | N, [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: field `0` is never read [INFO] [stdout] --> src/lexer/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | Int(i32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Types` 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] 20 - Int(i32), [INFO] [stdout] 20 + Int(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `String`, `Float`, `SubVector`, and `F` are never constructed [INFO] [stdout] --> src/lexer/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum Types { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 20 | Int(i32), [INFO] [stdout] 21 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | SubVector(Vec), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | F [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Types` 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 `Error` is never used [INFO] [stdout] --> src/messagehandle.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MessageType` is never used [INFO] [stdout] --> src/messagehandle.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | enum MessageType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `die` is never used [INFO] [stdout] --> src/messagehandle.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn die(err_type: Error, line: i32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_message` is never used [INFO] [stdout] --> src/messagehandle.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn handle_message(msg_type: MessageType, err_type: Error, line: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.83s [INFO] running `Command { std: "docker" "inspect" "afd30131d2dac02bb653ae18e9c30ae54246bc225dcaa4b6e09265af29202348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afd30131d2dac02bb653ae18e9c30ae54246bc225dcaa4b6e09265af29202348", kill_on_drop: false }` [INFO] [stdout] afd30131d2dac02bb653ae18e9c30ae54246bc225dcaa4b6e09265af29202348