[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#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcatnipan%2Flearn-compilers-with-rust" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/catnipan/learn-compilers-with-rust on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-9/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: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 97c243ed25f2e9665201b78db90072555e4fa3cc729b8033915fe47b636e9b6e [INFO] running `Command { std: "docker" "start" "-a" "97c243ed25f2e9665201b78db90072555e4fa3cc729b8033915fe47b636e9b6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97c243ed25f2e9665201b78db90072555e4fa3cc729b8033915fe47b636e9b6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97c243ed25f2e9665201b78db90072555e4fa3cc729b8033915fe47b636e9b6e", kill_on_drop: false }` [INFO] [stdout] 97c243ed25f2e9665201b78db90072555e4fa3cc729b8033915fe47b636e9b6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5ec7e624dd606049599b1f731dbfc3fee03ed11d4751214c6727db04c4971b2b [INFO] running `Command { std: "docker" "start" "-a" "5ec7e624dd606049599b1f731dbfc3fee03ed11d4751214c6727db04c4971b2b", 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 is never constructed: `AutomatonRunner` [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 function is never used: `new` [INFO] [stdout] --> src/automaton.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | fn new(automaton: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_dead` [INFO] [stdout] --> src/automaton.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | fn is_dead(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_accept` [INFO] [stdout] --> src/automaton.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | fn is_accept(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/automaton.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | fn next(&mut self, chr: char) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `AutomatonRunner` [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 function is never used: `new` [INFO] [stdout] --> src/automaton.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | fn new(automaton: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_dead` [INFO] [stdout] --> src/automaton.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | fn is_dead(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_accept` [INFO] [stdout] --> src/automaton.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | fn is_accept(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/automaton.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | fn next(&mut self, chr: char) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Partition` [INFO] [stdout] --> src/dfa.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Partition { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dfa.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `split` [INFO] [stdout] --> src/dfa.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | fn split(&mut self, group: usize, new_color: &[usize]) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `which_group` [INFO] [stdout] --> src/dfa.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 43 | fn which_group(&self, id: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `has_at_least_two_elements` [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: associated function is never used: `state_minimization` [INFO] [stdout] --> src/dfa.rs:58:6 [INFO] [stdout] | [INFO] [stdout] 58 | fn state_minimization(&self, input: &str) -> DFAOne { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `convert_nfa_to_dfa` [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 is never constructed: `NFABasic` [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 is never used: `TransitionMapType` [INFO] [stdout] --> src/nfa_regexp.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | type TransitionMapType = HashMap<(usize, Option), Vec>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `NFAConstructor` [INFO] [stdout] --> src/nfa_regexp.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct NFAConstructor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/nfa_regexp.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gen_new_state_idx` [INFO] [stdout] --> src/nfa_regexp.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | fn gen_new_state_idx(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_new_transition` [INFO] [stdout] --> src/nfa_regexp.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | fn add_new_transition(&mut self, from: usize, by: Option, to: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `construct_singleton` [INFO] [stdout] --> src/nfa_regexp.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | fn construct_singleton(&mut self, input: Option) -> NFABasic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `construct_e` [INFO] [stdout] --> src/nfa_regexp.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 47 | fn construct_e(&mut self) -> NFABasic { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `construct_single_char` [INFO] [stdout] --> src/nfa_regexp.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | fn construct_single_char(&mut self, chr: char) -> NFABasic { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `union` [INFO] [stdout] --> src/nfa_regexp.rs:55:6 [INFO] [stdout] | [INFO] [stdout] 55 | fn union(&mut self, nfa_a: NFABasic, nfa_b: NFABasic) -> NFABasic { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `concat` [INFO] [stdout] --> src/nfa_regexp.rs:68:6 [INFO] [stdout] | [INFO] [stdout] 68 | fn concat(&mut self, nfa_a: NFABasic, nfa_b: NFABasic) -> NFABasic { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `closure_basic` [INFO] [stdout] --> src/nfa_regexp.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 76 | fn closure_basic( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `closure` [INFO] [stdout] --> src/nfa_regexp.rs:99:6 [INFO] [stdout] | [INFO] [stdout] 99 | fn closure(&mut self, nfa: NFABasic) -> NFABasic { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `closure_plus` [INFO] [stdout] --> src/nfa_regexp.rs:103:6 [INFO] [stdout] | [INFO] [stdout] 103 | fn closure_plus(&mut self, nfa: NFABasic) -> NFABasic { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `question_mark` [INFO] [stdout] --> src/nfa_regexp.rs:107:6 [INFO] [stdout] | [INFO] [stdout] 107 | fn question_mark(&mut self, nfa: NFABasic) -> NFABasic { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `StackFrame` [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 is never used: `from_regexp` [INFO] [stdout] --> src/nfa_regexp.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn from_regexp(reg_exp: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reduce_frame` [INFO] [stdout] --> src/nfa_regexp.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | fn reduce_frame(frame: &mut StackFrame, nfa_constructor: &mut NFAConstructor, new_op: RegOp) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Closure` [INFO] [stdout] --> src/dfa_regexp.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | Closure, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Concat` [INFO] [stdout] --> src/dfa_regexp.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | Concat, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Union` [INFO] [stdout] --> src/dfa_regexp.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | Union, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Endmarker` [INFO] [stdout] --> src/dfa_regexp.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | Endmarker, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LeafEmpty` [INFO] [stdout] --> src/dfa_regexp.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | LeafEmpty, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Leaf` [INFO] [stdout] --> src/dfa_regexp.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | Leaf(char), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unary` [INFO] [stdout] --> src/dfa_regexp.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | Unary { node_type: NodeType, child: Box }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Binary` [INFO] [stdout] --> src/dfa_regexp.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | Binary { node_type: NodeType, left_child: Box, right_child: Box }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `StackFrame` [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 is never used: `parse_ast_regexp` [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: associated function is never used: `new` [INFO] [stdout] --> src/dfa_regexp.rs:158:6 [INFO] [stdout] | [INFO] [stdout] 158 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gen_new_idx` [INFO] [stdout] --> src/dfa_regexp.rs:167:6 [INFO] [stdout] | [INFO] [stdout] 167 | fn gen_new_idx(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `acquire_new_pos_idx` [INFO] [stdout] --> src/dfa_regexp.rs:174:6 [INFO] [stdout] | [INFO] [stdout] 174 | fn acquire_new_pos_idx(&mut self, chr: char) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `acquire_end_pos_idx` [INFO] [stdout] --> src/dfa_regexp.rs:180:6 [INFO] [stdout] | [INFO] [stdout] 180 | fn acquire_end_pos_idx(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `register_new_follow_pos` [INFO] [stdout] --> src/dfa_regexp.rs:188:6 [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: associated function is never used: `new_empty` [INFO] [stdout] --> src/dfa_regexp.rs:205:6 [INFO] [stdout] | [INFO] [stdout] 205 | fn new_empty() -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_singleton` [INFO] [stdout] --> src/dfa_regexp.rs:213:6 [INFO] [stdout] | [INFO] [stdout] 213 | fn new_singleton(idx: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_union` [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 is never used: `from_regexp` [INFO] [stdout] --> src/dfa_regexp.rs:228:10 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn from_regexp(reg_exp: &str, input: &str) -> DFAOne { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `traverse_ast` [INFO] [stdout] --> src/dfa_regexp.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 229 | fn traverse_ast(node: &RegASTNode, builder: &mut DFABuilder) -> TraverseInfo { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Eof` [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] [INFO] [stdout] warning: variant is never constructed: `Paren` [INFO] [stdout] --> src/regop.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum RegOp { Eof, Paren, Union, Concat, Closure, Plus, Question } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Union` [INFO] [stdout] --> src/regop.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum RegOp { Eof, Paren, Union, Concat, Closure, Plus, Question } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Concat` [INFO] [stdout] --> src/regop.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum RegOp { Eof, Paren, Union, Concat, Closure, Plus, Question } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Closure` [INFO] [stdout] --> src/regop.rs:2:45 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum RegOp { Eof, Paren, Union, Concat, Closure, Plus, Question } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Plus` [INFO] [stdout] --> src/regop.rs:2:54 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum RegOp { Eof, Paren, Union, Concat, Closure, Plus, Question } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Question` [INFO] [stdout] --> src/regop.rs:2:60 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum RegOp { Eof, Paren, Union, Concat, Closure, Plus, Question } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_priority` [INFO] [stdout] --> src/regop.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn get_priority(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/escape_chars.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn new(char_iterator: Chars<'a>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_chr` [INFO] [stdout] --> src/escape_chars.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn get_chr(&self) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 62 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.81s [INFO] running `Command { std: "docker" "inspect" "5ec7e624dd606049599b1f731dbfc3fee03ed11d4751214c6727db04c4971b2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ec7e624dd606049599b1f731dbfc3fee03ed11d4751214c6727db04c4971b2b", kill_on_drop: false }` [INFO] [stdout] 5ec7e624dd606049599b1f731dbfc3fee03ed11d4751214c6727db04c4971b2b