[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 against master#6f40082313d8374bdf962aba943a712d5322fae6 for pr-117967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcatnipan%2Flearn-compilers-with-rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/catnipan/learn-compilers-with-rust on toolchain 6f40082313d8374bdf962aba943a712d5322fae6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6f40082313d8374bdf962aba943a712d5322fae6" "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-4-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" "+6f40082313d8374bdf962aba943a712d5322fae6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking catnipan/learn-compilers-with-rust against try#57fd74335bb14b59b719dc3cc5bc4257e73f33ce for pr-117967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcatnipan%2Flearn-compilers-with-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/catnipan/learn-compilers-with-rust on toolchain 57fd74335bb14b59b719dc3cc5bc4257e73f33ce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "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-4-tc2/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" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking catnipan/learn-compilers-with-rust against try#57fd74335bb14b59b719dc3cc5bc4257e73f33ce for pr-117967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcatnipan%2Flearn-compilers-with-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/catnipan/learn-compilers-with-rust on toolchain 57fd74335bb14b59b719dc3cc5bc4257e73f33ce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "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-4-tc2/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" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9819c857736f6cea3d290fcc19777ab15b158dde2d61fa1931162fea0c1af31 [INFO] running `Command { std: "docker" "start" "-a" "f9819c857736f6cea3d290fcc19777ab15b158dde2d61fa1931162fea0c1af31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9819c857736f6cea3d290fcc19777ab15b158dde2d61fa1931162fea0c1af31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9819c857736f6cea3d290fcc19777ab15b158dde2d61fa1931162fea0c1af31", kill_on_drop: false }` [INFO] [stdout] f9819c857736f6cea3d290fcc19777ab15b158dde2d61fa1931162fea0c1af31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+57fd74335bb14b59b719dc3cc5bc4257e73f33ce" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e68d0804af0944fb2fac00b8ed97cb4b98b72a7a965f7d80ac5e5df57a753798 [INFO] running `Command { std: "docker" "start" "-a" "e68d0804af0944fb2fac00b8ed97cb4b98b72a7a965f7d80ac5e5df57a753798", 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: 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: variants `Closure`, `Concat`, and `Union` are never constructed [INFO] [stdout] --> src/dfa_regexp.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum NodeType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 8 | Closure, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | Concat, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | Union, [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: variants `Endmarker`, `LeafEmpty`, `Leaf`, `Unary`, and `Binary` are never constructed [INFO] [stdout] --> src/dfa_regexp.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum RegASTNode { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 15 | Endmarker, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | LeafEmpty, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | Leaf(char), [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Unary { node_type: NodeType, child: Box }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | Binary { node_type: NodeType, left_child: Box, right_child: Box }, [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: fields `pos_idx`, `follow_pos`, `pos_char_map`, and `end_idx` are never read [INFO] [stdout] --> src/dfa_regexp.rs:151:3 [INFO] [stdout] | [INFO] [stdout] 150 | struct DFABuilder { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 151 | pos_idx: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 152 | follow_pos: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 153 | pos_char_map: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 154 | end_idx: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DFABuilder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: fields `nullable`, `first_pos`, and `last_pos` are never read [INFO] [stdout] --> src/dfa_regexp.rs:199:3 [INFO] [stdout] | [INFO] [stdout] 198 | struct TraverseInfo { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 199 | nullable: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 200 | first_pos: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 201 | last_pos: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TraverseInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: multiple variants are never constructed [INFO] [stdout] --> src/regop.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum RegOp { Eof, Paren, Union, Concat, Closure, Plus, Question } [INFO] [stdout] | ----- ^^^ ^^^^^ ^^^^^ ^^^^^^ ^^^^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variants in this enum [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: 29 warnings emitted [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "e68d0804af0944fb2fac00b8ed97cb4b98b72a7a965f7d80ac5e5df57a753798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e68d0804af0944fb2fac00b8ed97cb4b98b72a7a965f7d80ac5e5df57a753798", kill_on_drop: false }` [INFO] [stdout] e68d0804af0944fb2fac00b8ed97cb4b98b72a7a965f7d80ac5e5df57a753798