[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 try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcatnipan%2Flearn-compilers-with-rust" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/catnipan/learn-compilers-with-rust on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-5/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50990d5db766563d16c63d6bd514fa916cb9c42e14ef9f7203a0be7cf01b1e09 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "50990d5db766563d16c63d6bd514fa916cb9c42e14ef9f7203a0be7cf01b1e09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50990d5db766563d16c63d6bd514fa916cb9c42e14ef9f7203a0be7cf01b1e09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50990d5db766563d16c63d6bd514fa916cb9c42e14ef9f7203a0be7cf01b1e09", kill_on_drop: false }` [INFO] [stdout] 50990d5db766563d16c63d6bd514fa916cb9c42e14ef9f7203a0be7cf01b1e09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37cbec5bf64d27067620d60c25d553c1adef51841edcc4dce05c0abc5518bc3d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "37cbec5bf64d27067620d60c25d553c1adef51841edcc4dce05c0abc5518bc3d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking learn-compilers-with-rust v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/dfa.rs (1 fix) [INFO] [stderr] Fixed src/nfa_regexp.rs (1 fix) [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: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test` found for struct `nfa::NFAOne` in the current scope [INFO] [stdout] --> src/nfa_regexp.rs:241:20 [INFO] [stdout] | [INFO] [stdout] 241 | assert!(regexp.test("ababb")); [INFO] [stdout] | ^^^^ method not found in `nfa::NFAOne` [INFO] [stdout] | [INFO] [stdout] ::: src/nfa.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NFAOne { [INFO] [stdout] | ----------------- method `test` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/automaton.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ---- the method is available for `nfa::NFAOne` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::automaton::Automaton;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test` found for struct `nfa::NFAOne` in the current scope [INFO] [stdout] --> src/nfa_regexp.rs:242:21 [INFO] [stdout] | [INFO] [stdout] 242 | assert!(!regexp.test("abab")); [INFO] [stdout] | ^^^^ method not found in `nfa::NFAOne` [INFO] [stdout] | [INFO] [stdout] ::: src/nfa.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NFAOne { [INFO] [stdout] | ----------------- method `test` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/automaton.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ---- the method is available for `nfa::NFAOne` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::automaton::Automaton;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test` found for struct `nfa::NFAOne` in the current scope [INFO] [stdout] --> src/nfa_regexp.rs:243:20 [INFO] [stdout] | [INFO] [stdout] 243 | assert!(regexp.test("abababababababb")); [INFO] [stdout] | ^^^^ method not found in `nfa::NFAOne` [INFO] [stdout] | [INFO] [stdout] ::: src/nfa.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NFAOne { [INFO] [stdout] | ----------------- method `test` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/automaton.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ---- the method is available for `nfa::NFAOne` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::automaton::Automaton;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test` found for struct `nfa::NFAOne` in the current scope [INFO] [stdout] --> src/nfa_regexp.rs:244:20 [INFO] [stdout] | [INFO] [stdout] 244 | assert!(regexp.test("abb")); [INFO] [stdout] | ^^^^ method not found in `nfa::NFAOne` [INFO] [stdout] | [INFO] [stdout] ::: src/nfa.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NFAOne { [INFO] [stdout] | ----------------- method `test` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/automaton.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ---- the method is available for `nfa::NFAOne` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::automaton::Automaton;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test` found for struct `nfa::NFAOne` in the current scope [INFO] [stdout] --> src/nfa_regexp.rs:245:21 [INFO] [stdout] | [INFO] [stdout] 245 | assert!(!regexp.test("ab")); [INFO] [stdout] | ^^^^ method not found in `nfa::NFAOne` [INFO] [stdout] | [INFO] [stdout] ::: src/nfa.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NFAOne { [INFO] [stdout] | ----------------- method `test` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/automaton.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ---- the method is available for `nfa::NFAOne` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::automaton::Automaton;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test` found for struct `nfa::NFAOne` in the current scope [INFO] [stdout] --> src/nfa_regexp.rs:251:20 [INFO] [stdout] | [INFO] [stdout] 251 | assert!(regexp.test("abcabb")); [INFO] [stdout] | ^^^^ method not found in `nfa::NFAOne` [INFO] [stdout] | [INFO] [stdout] ::: src/nfa.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NFAOne { [INFO] [stdout] | ----------------- method `test` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/automaton.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ---- the method is available for `nfa::NFAOne` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::automaton::Automaton;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test` found for struct `nfa::NFAOne` in the current scope [INFO] [stdout] --> src/nfa_regexp.rs:252:20 [INFO] [stdout] | [INFO] [stdout] 252 | assert!(regexp.test("aabb")); [INFO] [stdout] | ^^^^ method not found in `nfa::NFAOne` [INFO] [stdout] | [INFO] [stdout] ::: src/nfa.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NFAOne { [INFO] [stdout] | ----------------- method `test` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/automaton.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ---- the method is available for `nfa::NFAOne` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::automaton::Automaton;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test` found for struct `nfa::NFAOne` in the current scope [INFO] [stdout] --> src/nfa_regexp.rs:253:20 [INFO] [stdout] | [INFO] [stdout] 253 | assert!(regexp.test("bcabb")); [INFO] [stdout] | ^^^^ method not found in `nfa::NFAOne` [INFO] [stdout] | [INFO] [stdout] ::: src/nfa.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NFAOne { [INFO] [stdout] | ----------------- method `test` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/automaton.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ---- the method is available for `nfa::NFAOne` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::automaton::Automaton;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test` found for struct `nfa::NFAOne` in the current scope [INFO] [stdout] --> src/nfa_regexp.rs:254:20 [INFO] [stdout] | [INFO] [stdout] 254 | assert!(regexp.test("abcaabb")); [INFO] [stdout] | ^^^^ method not found in `nfa::NFAOne` [INFO] [stdout] | [INFO] [stdout] ::: src/nfa.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NFAOne { [INFO] [stdout] | ----------------- method `test` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/automaton.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ---- the method is available for `nfa::NFAOne` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::automaton::Automaton;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test` found for struct `nfa::NFAOne` in the current scope [INFO] [stdout] --> src/nfa_regexp.rs:255:20 [INFO] [stdout] | [INFO] [stdout] 255 | assert!(regexp.test("abcbcaabb")); [INFO] [stdout] | ^^^^ method not found in `nfa::NFAOne` [INFO] [stdout] | [INFO] [stdout] ::: src/nfa.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NFAOne { [INFO] [stdout] | ----------------- method `test` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/automaton.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ---- the method is available for `nfa::NFAOne` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::automaton::Automaton;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test` found for struct `nfa::NFAOne` in the current scope [INFO] [stdout] --> src/nfa_regexp.rs:256:20 [INFO] [stdout] | [INFO] [stdout] 256 | assert!(regexp.test("abcbcabcaabb")); [INFO] [stdout] | ^^^^ method not found in `nfa::NFAOne` [INFO] [stdout] | [INFO] [stdout] ::: src/nfa.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NFAOne { [INFO] [stdout] | ----------------- method `test` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/automaton.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ---- the method is available for `nfa::NFAOne` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::automaton::Automaton;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test` found for struct `nfa::NFAOne` in the current scope [INFO] [stdout] --> src/nfa_regexp.rs:257:21 [INFO] [stdout] | [INFO] [stdout] 257 | assert!(!regexp.test("abcbcabcaabbc")); [INFO] [stdout] | ^^^^ method not found in `nfa::NFAOne` [INFO] [stdout] | [INFO] [stdout] ::: src/nfa.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NFAOne { [INFO] [stdout] | ----------------- method `test` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/automaton.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ---- the method is available for `nfa::NFAOne` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::automaton::Automaton;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test` found for struct `nfa::NFAOne` in the current scope [INFO] [stdout] --> src/nfa_regexp.rs:258:21 [INFO] [stdout] | [INFO] [stdout] 258 | assert!(!regexp.test("abcbcabbc")); [INFO] [stdout] | ^^^^ method not found in `nfa::NFAOne` [INFO] [stdout] | [INFO] [stdout] ::: src/nfa.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NFAOne { [INFO] [stdout] | ----------------- method `test` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/automaton.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ---- the method is available for `nfa::NFAOne` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::automaton::Automaton;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test` found for struct `nfa::NFAOne` in the current scope [INFO] [stdout] --> src/nfa_regexp.rs:264:21 [INFO] [stdout] | [INFO] [stdout] 264 | assert!(num_exp.test("0")); [INFO] [stdout] | ^^^^ method not found in `nfa::NFAOne` [INFO] [stdout] | [INFO] [stdout] ::: src/nfa.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NFAOne { [INFO] [stdout] | ----------------- method `test` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/automaton.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ---- the method is available for `nfa::NFAOne` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::automaton::Automaton;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test` found for struct `nfa::NFAOne` in the current scope [INFO] [stdout] --> src/nfa_regexp.rs:265:21 [INFO] [stdout] | [INFO] [stdout] 265 | assert!(num_exp.test("4")); [INFO] [stdout] | ^^^^ method not found in `nfa::NFAOne` [INFO] [stdout] | [INFO] [stdout] ::: src/nfa.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NFAOne { [INFO] [stdout] | ----------------- method `test` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/automaton.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ---- the method is available for `nfa::NFAOne` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::automaton::Automaton;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test` found for struct `nfa::NFAOne` in the current scope [INFO] [stdout] --> src/nfa_regexp.rs:266:21 [INFO] [stdout] | [INFO] [stdout] 266 | assert!(num_exp.test("10")); [INFO] [stdout] | ^^^^ method not found in `nfa::NFAOne` [INFO] [stdout] | [INFO] [stdout] ::: src/nfa.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NFAOne { [INFO] [stdout] | ----------------- method `test` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/automaton.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ---- the method is available for `nfa::NFAOne` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::automaton::Automaton;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test` found for struct `nfa::NFAOne` in the current scope [INFO] [stdout] --> src/nfa_regexp.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | assert!(num_exp.test("12.34")); [INFO] [stdout] | ^^^^ method not found in `nfa::NFAOne` [INFO] [stdout] | [INFO] [stdout] ::: src/nfa.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NFAOne { [INFO] [stdout] | ----------------- method `test` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/automaton.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ---- the method is available for `nfa::NFAOne` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::automaton::Automaton;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test` found for struct `nfa::NFAOne` in the current scope [INFO] [stdout] --> src/nfa_regexp.rs:268:21 [INFO] [stdout] | [INFO] [stdout] 268 | assert!(num_exp.test("1323423")); [INFO] [stdout] | ^^^^ method not found in `nfa::NFAOne` [INFO] [stdout] | [INFO] [stdout] ::: src/nfa.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NFAOne { [INFO] [stdout] | ----------------- method `test` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/automaton.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ---- the method is available for `nfa::NFAOne` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::automaton::Automaton;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test` found for struct `nfa::NFAOne` in the current scope [INFO] [stdout] --> src/nfa_regexp.rs:269:22 [INFO] [stdout] | [INFO] [stdout] 269 | assert!(!num_exp.test("01323423")); [INFO] [stdout] | ^^^^ method not found in `nfa::NFAOne` [INFO] [stdout] | [INFO] [stdout] ::: src/nfa.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NFAOne { [INFO] [stdout] | ----------------- method `test` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/automaton.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ---- the method is available for `nfa::NFAOne` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::automaton::Automaton;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test` found for struct `nfa::NFAOne` in the current scope [INFO] [stdout] --> src/nfa_regexp.rs:270:22 [INFO] [stdout] | [INFO] [stdout] 270 | assert!(!num_exp.test("00")); [INFO] [stdout] | ^^^^ method not found in `nfa::NFAOne` [INFO] [stdout] | [INFO] [stdout] ::: src/nfa.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NFAOne { [INFO] [stdout] | ----------------- method `test` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/automaton.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ---- the method is available for `nfa::NFAOne` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::automaton::Automaton;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test` found for struct `nfa::NFAOne` in the current scope [INFO] [stdout] --> src/nfa_regexp.rs:271:22 [INFO] [stdout] | [INFO] [stdout] 271 | assert!(!num_exp.test("010")); [INFO] [stdout] | ^^^^ method not found in `nfa::NFAOne` [INFO] [stdout] | [INFO] [stdout] ::: src/nfa.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NFAOne { [INFO] [stdout] | ----------------- method `test` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/automaton.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ---- the method is available for `nfa::NFAOne` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::automaton::Automaton;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test` found for struct `nfa::NFAOne` in the current scope [INFO] [stdout] --> src/nfa_regexp.rs:272:21 [INFO] [stdout] | [INFO] [stdout] 272 | assert!(num_exp.test("0.1")); [INFO] [stdout] | ^^^^ method not found in `nfa::NFAOne` [INFO] [stdout] | [INFO] [stdout] ::: src/nfa.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NFAOne { [INFO] [stdout] | ----------------- method `test` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/automaton.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ---- the method is available for `nfa::NFAOne` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::automaton::Automaton;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test` found for struct `nfa::NFAOne` in the current scope [INFO] [stdout] --> src/nfa_regexp.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 273 | assert!(num_exp.test("0.01")); [INFO] [stdout] | ^^^^ method not found in `nfa::NFAOne` [INFO] [stdout] | [INFO] [stdout] ::: src/nfa.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NFAOne { [INFO] [stdout] | ----------------- method `test` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/automaton.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ---- the method is available for `nfa::NFAOne` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::automaton::Automaton;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test` found for struct `nfa::NFAOne` in the current scope [INFO] [stdout] --> src/nfa_regexp.rs:274:22 [INFO] [stdout] | [INFO] [stdout] 274 | assert!(!num_exp.test("0.")); [INFO] [stdout] | ^^^^ method not found in `nfa::NFAOne` [INFO] [stdout] | [INFO] [stdout] ::: src/nfa.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NFAOne { [INFO] [stdout] | ----------------- method `test` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/automaton.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ---- the method is available for `nfa::NFAOne` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::automaton::Automaton;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test` found for struct `nfa::NFAOne` in the current scope [INFO] [stdout] --> src/nfa_regexp.rs:275:21 [INFO] [stdout] | [INFO] [stdout] 275 | assert!(num_exp.test("0.123")); [INFO] [stdout] | ^^^^ method not found in `nfa::NFAOne` [INFO] [stdout] | [INFO] [stdout] ::: src/nfa.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NFAOne { [INFO] [stdout] | ----------------- method `test` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/automaton.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ---- the method is available for `nfa::NFAOne` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::automaton::Automaton;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test` found for struct `nfa::NFAOne` in the current scope [INFO] [stdout] --> src/nfa_regexp.rs:276:22 [INFO] [stdout] | [INFO] [stdout] 276 | assert!(!num_exp.test("01.123")); [INFO] [stdout] | ^^^^ method not found in `nfa::NFAOne` [INFO] [stdout] | [INFO] [stdout] ::: src/nfa.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NFAOne { [INFO] [stdout] | ----------------- method `test` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/automaton.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ---- the method is available for `nfa::NFAOne` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::automaton::Automaton;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test` found for struct `nfa::NFAOne` in the current scope [INFO] [stdout] --> src/nfa_regexp.rs:277:22 [INFO] [stdout] | [INFO] [stdout] 277 | assert!(!num_exp.test("01.")); [INFO] [stdout] | ^^^^ method not found in `nfa::NFAOne` [INFO] [stdout] | [INFO] [stdout] ::: src/nfa.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NFAOne { [INFO] [stdout] | ----------------- method `test` not found for this [INFO] [stdout] | [INFO] [stdout] ::: src/automaton.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | fn test(&self, s: &str) -> bool { [INFO] [stdout] | ---- the method is available for `nfa::NFAOne` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::automaton::Automaton;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `learn-compilers-with-rust` due to 28 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "37cbec5bf64d27067620d60c25d553c1adef51841edcc4dce05c0abc5518bc3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37cbec5bf64d27067620d60c25d553c1adef51841edcc4dce05c0abc5518bc3d", kill_on_drop: false }` [INFO] [stdout] 37cbec5bf64d27067620d60c25d553c1adef51841edcc4dce05c0abc5518bc3d