[INFO] cloning repository https://github.com/wkcs/ncc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wkcs/ncc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwkcs%2Fncc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwkcs%2Fncc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a6f3e3495186536e6cc69d862092c1d64be5579 [INFO] building wkcs/ncc 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%2Fwkcs%2Fncc" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wkcs/ncc 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/wkcs/ncc [INFO] finished tweaking git repo https://github.com/wkcs/ncc [INFO] tweaked toml for git repo https://github.com/wkcs/ncc written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wkcs/ncc 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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 8aaf4bdd927586c36cc009d3a68a7834c864d601327b37c07abee8705b4a1e4d [INFO] running `Command { std: "docker" "start" "-a" "8aaf4bdd927586c36cc009d3a68a7834c864d601327b37c07abee8705b4a1e4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8aaf4bdd927586c36cc009d3a68a7834c864d601327b37c07abee8705b4a1e4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8aaf4bdd927586c36cc009d3a68a7834c864d601327b37c07abee8705b4a1e4d", kill_on_drop: false }` [INFO] [stdout] 8aaf4bdd927586c36cc009d3a68a7834c864d601327b37c07abee8705b4a1e4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] e177923bc88b57202174690304a358ed5054bd1ca1623d83b3b1e196b1964cf7 [INFO] running `Command { std: "docker" "start" "-a" "e177923bc88b57202174690304a358ed5054bd1ca1623d83b3b1e196b1964cf7", kill_on_drop: false }` [INFO] [stderr] Compiling ncc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `value` is never read [INFO] [stdout] --> src/cmdline.rs:272:41 [INFO] [stdout] | [INFO] [stdout] 272 | ... let mut value = String::new(); [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: `bytes` [INFO] [stdout] --> src/lex.rs:400:33 [INFO] [stdout] | [INFO] [stdout] 400 | fn parse_keyword(&mut self, bytes: &[u8]) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lex.rs:452:41 [INFO] [stdout] | [INFO] [stdout] 434 | ' ' | ';' | ',' | '\t' | '\n' | '\x0C' | '\r' | '!'..='/' | ':'..='@' | '['..='`' | '{'..='~' => { [INFO] [stdout] | --------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 452 | 'a'..='z' | 'A'..='Z' | '_' | '0'..='9' => (), [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test` [INFO] [stdout] --> src/main.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let test = 1.2; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test2` [INFO] [stdout] --> src/main.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let test2: f64 = 3.4f64; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_test2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test3` [INFO] [stdout] --> src/main.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let test3 = 0b10101; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_test3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test4` [INFO] [stdout] --> src/main.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | let test4 = 0xaBcdef; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_test4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test5` [INFO] [stdout] --> src/main.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let test5 = 01234567; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_test5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OptVal` is never constructed [INFO] [stdout] --> src/cmdline.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum CmdValType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 6 | NoVal, [INFO] [stdout] 7 | OptVal, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CmdValType` 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] [INFO] [stdout] [INFO] [stdout] warning: methods `get_value`, `get_value_by_name`, and `get_value_by_index` are never used [INFO] [stdout] --> src/cmdline.rs:337:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl CmdLine { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 337 | pub fn get_value(&self, cmd: &CmdInfo) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | pub fn get_value_by_name(&self, str: &str) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | pub fn get_value_by_index(&self, index: usize) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `KVoid`, `KChar`, `KInt`, `KFloat`, and `Kdouble` are never constructed [INFO] [stdout] --> src/lex.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum KeyWordType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 7 | KVoid, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | KChar, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | KInt, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | KFloat, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | Kdouble, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyWordType` 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 `OpAssign` is never constructed [INFO] [stdout] --> src/lex.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum OperatorType { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 16 | OpEq, [INFO] [stdout] 17 | OpAssign, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperatorType` 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/lex.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | Operator(OperatorType), [INFO] [stdout] | -------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` 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] 31 | Operator(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `KeyWord` and `FlotNumber` are never constructed [INFO] [stdout] --> src/lex.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | KeyWord(KeyWordType), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | Number, [INFO] [stdout] 27 | FlotNumber, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` 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 `add_token` and `parse_keyword` are never used [INFO] [stdout] --> src/lex.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl Lex { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn add_token(&mut self, loc: Location, token_type: TokenType, source: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | fn parse_keyword(&mut self, bytes: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "e177923bc88b57202174690304a358ed5054bd1ca1623d83b3b1e196b1964cf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e177923bc88b57202174690304a358ed5054bd1ca1623d83b3b1e196b1964cf7", kill_on_drop: false }` [INFO] [stdout] e177923bc88b57202174690304a358ed5054bd1ca1623d83b3b1e196b1964cf7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 7cbc22f034e535c98ca5bba484342a749c0edb57ba6c836e15306a32571c4251 [INFO] running `Command { std: "docker" "start" "-a" "7cbc22f034e535c98ca5bba484342a749c0edb57ba6c836e15306a32571c4251", kill_on_drop: false }` [INFO] [stderr] Compiling ncc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `value` is never read [INFO] [stdout] --> src/cmdline.rs:272:41 [INFO] [stdout] | [INFO] [stdout] 272 | ... let mut value = String::new(); [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: `bytes` [INFO] [stdout] --> src/lex.rs:400:33 [INFO] [stdout] | [INFO] [stdout] 400 | fn parse_keyword(&mut self, bytes: &[u8]) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lex.rs:452:41 [INFO] [stdout] | [INFO] [stdout] 434 | ' ' | ';' | ',' | '\t' | '\n' | '\x0C' | '\r' | '!'..='/' | ':'..='@' | '['..='`' | '{'..='~' => { [INFO] [stdout] | --------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 452 | 'a'..='z' | 'A'..='Z' | '_' | '0'..='9' => (), [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test` [INFO] [stdout] --> src/main.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let test = 1.2; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test2` [INFO] [stdout] --> src/main.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let test2: f64 = 3.4f64; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_test2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test3` [INFO] [stdout] --> src/main.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let test3 = 0b10101; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_test3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test4` [INFO] [stdout] --> src/main.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | let test4 = 0xaBcdef; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_test4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test5` [INFO] [stdout] --> src/main.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let test5 = 01234567; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_test5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OptVal` is never constructed [INFO] [stdout] --> src/cmdline.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum CmdValType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 6 | NoVal, [INFO] [stdout] 7 | OptVal, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CmdValType` 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] [INFO] [stdout] [INFO] [stdout] warning: methods `get_value`, `get_value_by_name`, and `get_value_by_index` are never used [INFO] [stdout] --> src/cmdline.rs:337:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl CmdLine { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 337 | pub fn get_value(&self, cmd: &CmdInfo) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | pub fn get_value_by_name(&self, str: &str) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | pub fn get_value_by_index(&self, index: usize) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `KVoid`, `KChar`, `KInt`, `KFloat`, and `Kdouble` are never constructed [INFO] [stdout] --> src/lex.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum KeyWordType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 7 | KVoid, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | KChar, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | KInt, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | KFloat, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | Kdouble, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyWordType` 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 `OpAssign` is never constructed [INFO] [stdout] --> src/lex.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum OperatorType { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 16 | OpEq, [INFO] [stdout] 17 | OpAssign, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperatorType` 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/lex.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | Operator(OperatorType), [INFO] [stdout] | -------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` 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] 31 | Operator(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `KeyWord` and `FlotNumber` are never constructed [INFO] [stdout] --> src/lex.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | KeyWord(KeyWordType), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | Number, [INFO] [stdout] 27 | FlotNumber, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` 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 `add_token` and `parse_keyword` are never used [INFO] [stdout] --> src/lex.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl Lex { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn add_token(&mut self, loc: Location, token_type: TokenType, source: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | fn parse_keyword(&mut self, bytes: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "7cbc22f034e535c98ca5bba484342a749c0edb57ba6c836e15306a32571c4251", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cbc22f034e535c98ca5bba484342a749c0edb57ba6c836e15306a32571c4251", kill_on_drop: false }` [INFO] [stdout] 7cbc22f034e535c98ca5bba484342a749c0edb57ba6c836e15306a32571c4251