[INFO] cloning repository https://github.com/catnipan/learn-compilers-with-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/catnipan/learn-compilers-with-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcatnipan%2Flearn-compilers-with-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcatnipan%2Flearn-compilers-with-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d55f3963aefd3fa5a55fa90494fcdf8dfb746fe6 [INFO] checking catnipan/learn-compilers-with-rust/d55f3963aefd3fa5a55fa90494fcdf8dfb746fe6 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcatnipan%2Flearn-compilers-with-rust" "/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/catnipan/learn-compilers-with-rust on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/catnipan/learn-compilers-with-rust [INFO] finished tweaking git repo https://github.com/catnipan/learn-compilers-with-rust [INFO] tweaked toml for git repo https://github.com/catnipan/learn-compilers-with-rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/catnipan/learn-compilers-with-rust 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe2741bfde9e69de3bc5a341dc7cd5d4b6a7e8a4c6702f125aefe7394683e11f [INFO] running `Command { std: "docker" "start" "-a" "fe2741bfde9e69de3bc5a341dc7cd5d4b6a7e8a4c6702f125aefe7394683e11f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe2741bfde9e69de3bc5a341dc7cd5d4b6a7e8a4c6702f125aefe7394683e11f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe2741bfde9e69de3bc5a341dc7cd5d4b6a7e8a4c6702f125aefe7394683e11f", kill_on_drop: false }` [INFO] [stdout] fe2741bfde9e69de3bc5a341dc7cd5d4b6a7e8a4c6702f125aefe7394683e11f [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" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9eb2cb3d724e82d77e9f436ed74bbd29ad0a9aca7f1f8eb02cf580e79196d390 [INFO] running `Command { std: "docker" "start" "-a" "9eb2cb3d724e82d77e9f436ed74bbd29ad0a9aca7f1f8eb02cf580e79196d390", kill_on_drop: false }` [INFO] [stderr] Checking learn-compilers-with-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::automaton::Automaton` [INFO] [stdout] --> src/nfa_regexp.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::automaton::Automaton; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group` [INFO] [stdout] --> src/dfa.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | for (group, old_ids) in parti.group_ids_map.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_group` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group` [INFO] [stdout] --> src/dfa.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | for (group, old_ids) in parti.group_ids_map.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_group` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AutomatonRunner` is never constructed [INFO] [stdout] --> src/automaton.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct AutomatonRunner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `is_dead`, `is_accept`, and `next` are never used [INFO] [stdout] --> src/automaton.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 29 | impl AutomatonRunner { [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] 30 | fn new(automaton: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn is_dead(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn is_accept(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn next(&mut self, chr: char) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `init_state`, `is_dead`, `is_accept`, `transition`, and `test` are never used [INFO] [stdout] --> src/automaton.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Automaton { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 4 | fn init_state(&self) -> Self::State; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | fn is_dead(&self, s: &Self::State) -> bool; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | fn is_accept(&self, s: &Self::State) -> bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | fn transition(&self, s: &Self::State, chr: char) -> Self::State; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AutomatonRunner` is never constructed [INFO] [stdout] --> src/automaton.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct AutomatonRunner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `is_dead`, `is_accept`, and `next` are never used [INFO] [stdout] --> src/automaton.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 29 | impl AutomatonRunner { [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] 30 | fn new(automaton: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn is_dead(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn is_accept(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn next(&mut self, chr: char) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `states_size` is never read [INFO] [stdout] --> src/dfa.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct DFAOne { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | pub states_size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Partition` is never constructed [INFO] [stdout] --> src/dfa.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Partition { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `split`, and `which_group` are never used [INFO] [stdout] --> src/dfa.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 16 | impl Partition { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 17 | fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn split(&mut self, group: usize, new_color: &[usize]) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn which_group(&self, id: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_at_least_two_elements` is never used [INFO] [stdout] --> src/dfa.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn has_at_least_two_elements(color: &[usize]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `state_minimization` is never used [INFO] [stdout] --> src/dfa.rs:58:6 [INFO] [stdout] | [INFO] [stdout] 57 | impl DFAOne { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 58 | fn state_minimization(&self, input: &str) -> DFAOne { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_nfa_to_dfa` is never used [INFO] [stdout] --> src/convert_nfa_to_dfa.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn convert_nfa_to_dfa(nfa: NFAOne, input_set: &str) -> DFAOne { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NFABasic` is never constructed [INFO] [stdout] --> src/nfa_regexp.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct NFABasic { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TransitionMapType` is never used [INFO] [stdout] --> src/nfa_regexp.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | type TransitionMapType = HashMap<(usize, Option), Vec>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NFAConstructor` is never constructed [INFO] [stdout] --> src/nfa_regexp.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct NFAConstructor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/nfa_regexp.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 19 | impl NFAConstructor { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 20 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn gen_new_state_idx(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn add_new_transition(&mut self, from: usize, by: Option, to: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn construct_singleton(&mut self, input: Option) -> NFABasic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn construct_e(&mut self) -> NFABasic { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn construct_single_char(&mut self, chr: char) -> NFABasic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn union(&mut self, nfa_a: NFABasic, nfa_b: NFABasic) -> NFABasic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn concat(&mut self, nfa_a: NFABasic, nfa_b: NFABasic) -> NFABasic { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn closure_basic( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | fn closure(&mut self, nfa: NFABasic) -> NFABasic { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn closure_plus(&mut self, nfa: NFABasic) -> NFABasic { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn question_mark(&mut self, nfa: NFABasic) -> NFABasic { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StackFrame` is never constructed [INFO] [stdout] --> src/nfa_regexp.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | struct StackFrame { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_regexp` is never used [INFO] [stdout] --> src/nfa_regexp.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 117 | impl NFAOne { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 118 | pub fn from_regexp(reg_exp: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NodeType` is never used [INFO] [stdout] --> src/dfa_regexp.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum NodeType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeType` 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 `RegASTNode` is never used [INFO] [stdout] --> src/dfa_regexp.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum RegASTNode { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegASTNode` 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: struct `StackFrame` is never constructed [INFO] [stdout] --> src/dfa_regexp.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct StackFrame { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_ast_regexp` is never used [INFO] [stdout] --> src/dfa_regexp.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn parse_ast_regexp(reg_exp: &str) -> RegASTNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DFABuilder` is never constructed [INFO] [stdout] --> src/dfa_regexp.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | struct DFABuilder { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `gen_new_idx`, `acquire_new_pos_idx`, `acquire_end_pos_idx`, and `register_new_follow_pos` are never used [INFO] [stdout] --> src/dfa_regexp.rs:158:6 [INFO] [stdout] | [INFO] [stdout] 157 | impl DFABuilder { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 158 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | fn gen_new_idx(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | fn acquire_new_pos_idx(&mut self, chr: char) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | fn acquire_end_pos_idx(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | fn register_new_follow_pos(&mut self, ns: &[usize], fs: &[usize]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TraverseInfo` is never constructed [INFO] [stdout] --> src/dfa_regexp.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 198 | struct TraverseInfo { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_empty` and `new_singleton` are never used [INFO] [stdout] --> src/dfa_regexp.rs:205:6 [INFO] [stdout] | [INFO] [stdout] 204 | impl TraverseInfo { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 205 | fn new_empty() -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | fn new_singleton(idx: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_union` is never used [INFO] [stdout] --> src/dfa_regexp.rs:223:4 [INFO] [stdout] | [INFO] [stdout] 223 | fn set_union(set_a: Vec, set_b: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_regexp` is never used [INFO] [stdout] --> src/dfa_regexp.rs:228:10 [INFO] [stdout] | [INFO] [stdout] 227 | impl DFAOne { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 228 | pub fn from_regexp(reg_exp: &str, input: &str) -> DFAOne { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RegOp` is never used [INFO] [stdout] --> src/regop.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum RegOp { Eof, Paren, Union, Concat, Closure, Plus, Question } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegOp` 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: method `get_priority` is never used [INFO] [stdout] --> src/regop.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 4 | impl RegOp { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 5 | pub fn get_priority(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/escape_chars.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 5 | impl<'a> EscapeChars<'a> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 6 | pub fn new(char_iterator: Chars<'a>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_chr` is never used [INFO] [stdout] --> src/escape_chars.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 17 | impl MaybeEsc { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 18 | pub fn get_chr(&self) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "9eb2cb3d724e82d77e9f436ed74bbd29ad0a9aca7f1f8eb02cf580e79196d390", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9eb2cb3d724e82d77e9f436ed74bbd29ad0a9aca7f1f8eb02cf580e79196d390", kill_on_drop: false }` [INFO] [stdout] 9eb2cb3d724e82d77e9f436ed74bbd29ad0a9aca7f1f8eb02cf580e79196d390