[INFO] cloning repository https://github.com/stevenlandis/rust-state-machine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stevenlandis/rust-state-machine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevenlandis%2Frust-state-machine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevenlandis%2Frust-state-machine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0567dd0ebbd777e1b9e20b79a1626320c2c12989 [INFO] testing stevenlandis/rust-state-machine against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevenlandis%2Frust-state-machine" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stevenlandis/rust-state-machine on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stevenlandis/rust-state-machine [INFO] finished tweaking git repo https://github.com/stevenlandis/rust-state-machine [INFO] tweaked toml for git repo https://github.com/stevenlandis/rust-state-machine written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/stevenlandis/rust-state-machine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36ef17f41ea5112eb7f8e0fd9f1feba471c8459929334cb50006f98e6244d472 [INFO] running `Command { std: "docker" "start" "-a" "36ef17f41ea5112eb7f8e0fd9f1feba471c8459929334cb50006f98e6244d472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36ef17f41ea5112eb7f8e0fd9f1feba471c8459929334cb50006f98e6244d472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36ef17f41ea5112eb7f8e0fd9f1feba471c8459929334cb50006f98e6244d472", kill_on_drop: false }` [INFO] [stdout] 36ef17f41ea5112eb7f8e0fd9f1feba471c8459929334cb50006f98e6244d472 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 871ca763395e9ccb2e79a19c03553eb046bafe6ad2bf87b482d40f38d961b002 [INFO] running `Command { std: "docker" "start" "-a" "871ca763395e9ccb2e79a19c03553eb046bafe6ad2bf87b482d40f38d961b002", kill_on_drop: false }` [INFO] [stderr] Compiling rust-state-machine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct is never constructed: `NfaNode` [INFO] [stdout] --> src/binary_fa.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct NfaNode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Empty` [INFO] [stdout] --> src/binary_fa.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `NfaEdgeSymbol` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/binary_fa.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Symbol` [INFO] [stdout] --> src/binary_fa.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | Symbol(bool), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `NfaEdgeSymbol` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/binary_fa.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `NfaEdge` [INFO] [stdout] --> src/binary_fa.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct NfaEdge { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Nfa` [INFO] [stdout] --> src/binary_fa.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct Nfa { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `NfaState` [INFO] [stdout] --> src/binary_fa.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct NfaState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `t_edge` [INFO] [stdout] --> src/binary_fa.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 79 | t_edge: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DfaNode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/binary_fa.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `f_edge` [INFO] [stdout] --> src/binary_fa.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | f_edge: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DfaNode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/binary_fa.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `flags` [INFO] [stdout] --> src/binary_fa.rs:81:3 [INFO] [stdout] | [INFO] [stdout] 81 | flags: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DfaNode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/binary_fa.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DfaEdge` [INFO] [stdout] --> src/binary_fa.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | struct DfaEdge { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Dfa` [INFO] [stdout] --> src/binary_fa.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | struct Dfa { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DfaState` [INFO] [stdout] --> src/binary_fa.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | struct DfaState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/binary_fa.rs:134:6 [INFO] [stdout] | [INFO] [stdout] 134 | fn new() -> Nfa { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_node` [INFO] [stdout] --> src/binary_fa.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn add_node(&mut self, start: bool, end: bool) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_node_with_flags` [INFO] [stdout] --> src/binary_fa.rs:144:10 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn add_node_with_flags(&mut self, start: bool, end: bool, flags: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_edge` [INFO] [stdout] --> src/binary_fa.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn add_edge(&mut self, from: usize, to: usize, symbol: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_empty_edge` [INFO] [stdout] --> src/binary_fa.rs:164:10 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn add_empty_edge(&mut self, from: usize, to: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `take_empty_edges` [INFO] [stdout] --> src/binary_fa.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn take_empty_edges(&self, state: &NfaState) -> NfaState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_initial_state` [INFO] [stdout] --> src/binary_fa.rs:195:6 [INFO] [stdout] | [INFO] [stdout] 195 | fn get_initial_state(&self) -> NfaState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/binary_fa.rs:200:6 [INFO] [stdout] | [INFO] [stdout] 200 | fn step(&self, state: &NfaState, symbol: bool) -> NfaState { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_end` [INFO] [stdout] --> src/binary_fa.rs:216:6 [INFO] [stdout] | [INFO] [stdout] 216 | fn is_end(&self, state: &NfaState) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_flags` [INFO] [stdout] --> src/binary_fa.rs:219:6 [INFO] [stdout] | [INFO] [stdout] 219 | fn get_flags(&self, state: &NfaState) -> HashSet { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_nfa_as_edge` [INFO] [stdout] --> src/binary_fa.rs:228:6 [INFO] [stdout] | [INFO] [stdout] 228 | fn add_nfa_as_edge(&mut self, from: usize, to: usize, nfa: &Nfa) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `repeat` [INFO] [stdout] --> src/binary_fa.rs:248:6 [INFO] [stdout] | [INFO] [stdout] 248 | fn repeat(&self) -> Nfa { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse` [INFO] [stdout] --> src/binary_fa.rs:254:6 [INFO] [stdout] | [INFO] [stdout] 254 | fn reverse(&self) -> Nfa { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `union` [INFO] [stdout] --> src/binary_fa.rs:270:6 [INFO] [stdout] | [INFO] [stdout] 270 | fn union(nfas: &Vec<&Nfa>) -> Nfa { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `concat` [INFO] [stdout] --> src/binary_fa.rs:279:6 [INFO] [stdout] | [INFO] [stdout] 279 | fn concat(nfas: &Vec<&Nfa>) -> Nfa { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_dfa` [INFO] [stdout] --> src/binary_fa.rs:289:6 [INFO] [stdout] | [INFO] [stdout] 289 | fn from_dfa(dfa: &Dfa) -> Nfa { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_dfa` [INFO] [stdout] --> src/binary_fa.rs:304:6 [INFO] [stdout] | [INFO] [stdout] 304 | fn to_dfa(&self) -> Dfa { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `invert` [INFO] [stdout] --> src/binary_fa.rs:307:6 [INFO] [stdout] | [INFO] [stdout] 307 | fn invert(&self) -> Nfa { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/binary_fa.rs:311:6 [INFO] [stdout] | [INFO] [stdout] 311 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_nfa` [INFO] [stdout] --> src/binary_fa.rs:343:6 [INFO] [stdout] | [INFO] [stdout] 343 | fn from_nfa(nfa: &Nfa) -> Dfa { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_nfa` [INFO] [stdout] --> src/binary_fa.rs:428:6 [INFO] [stdout] | [INFO] [stdout] 428 | fn to_nfa(&self) -> Nfa { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_block_dfa` [INFO] [stdout] --> src/binary_fa.rs:431:6 [INFO] [stdout] | [INFO] [stdout] 431 | fn to_block_dfa(&self, size: usize) -> BlockDfa { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_initial_state` [INFO] [stdout] --> src/binary_fa.rs:434:6 [INFO] [stdout] | [INFO] [stdout] 434 | fn get_initial_state(&self) -> DfaState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/binary_fa.rs:439:6 [INFO] [stdout] | [INFO] [stdout] 439 | fn step(&self, state: &DfaState, symbol: bool) -> DfaState { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_end` [INFO] [stdout] --> src/binary_fa.rs:447:6 [INFO] [stdout] | [INFO] [stdout] 447 | fn is_end(&self, state: &DfaState) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_flags` [INFO] [stdout] --> src/binary_fa.rs:450:6 [INFO] [stdout] | [INFO] [stdout] 450 | fn get_flags(&self, state: &DfaState) -> HashSet { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_flag` [INFO] [stdout] --> src/binary_fa.rs:453:6 [INFO] [stdout] | [INFO] [stdout] 453 | fn has_flag(&self, state: &DfaState, flag: &u32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `invert` [INFO] [stdout] --> src/binary_fa.rs:456:6 [INFO] [stdout] | [INFO] [stdout] 456 | fn invert(&self) -> Dfa { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse` [INFO] [stdout] --> src/binary_fa.rs:465:6 [INFO] [stdout] | [INFO] [stdout] 465 | fn reverse(&self) -> Dfa { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `simplify` [INFO] [stdout] --> src/binary_fa.rs:468:6 [INFO] [stdout] | [INFO] [stdout] 468 | fn simplify(&self) -> Dfa { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/binary_fa.rs:474:6 [INFO] [stdout] | [INFO] [stdout] 474 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BlockDfa` [INFO] [stdout] --> src/binary_fa.rs:492:8 [INFO] [stdout] | [INFO] [stdout] 492 | struct BlockDfa { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BlockDfaNode` [INFO] [stdout] --> src/binary_fa.rs:498:8 [INFO] [stdout] | [INFO] [stdout] 498 | struct BlockDfaNode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_dfa` [INFO] [stdout] --> src/binary_fa.rs:502:6 [INFO] [stdout] | [INFO] [stdout] 502 | fn from_dfa(dfa: &Dfa, size: usize) -> BlockDfa { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/binary_fa.rs:581:6 [INFO] [stdout] | [INFO] [stdout] 581 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bit` [INFO] [stdout] --> src/binary_fa.rs:621:3 [INFO] [stdout] | [INFO] [stdout] 621 | Bit(bool), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Component` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/binary_fa.rs:619:10 [INFO] [stdout] | [INFO] [stdout] 619 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `U8` [INFO] [stdout] --> src/binary_fa.rs:622:3 [INFO] [stdout] | [INFO] [stdout] 622 | U8(u8), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Component` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/binary_fa.rs:619:10 [INFO] [stdout] | [INFO] [stdout] 619 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `String` [INFO] [stdout] --> src/binary_fa.rs:623:3 [INFO] [stdout] | [INFO] [stdout] 623 | String(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Component` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/binary_fa.rs:619:10 [INFO] [stdout] | [INFO] [stdout] 619 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Then` [INFO] [stdout] --> src/binary_fa.rs:624:3 [INFO] [stdout] | [INFO] [stdout] 624 | Then(Pattern), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Component` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/binary_fa.rs:619:10 [INFO] [stdout] | [INFO] [stdout] 619 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Maybe` [INFO] [stdout] --> src/binary_fa.rs:625:3 [INFO] [stdout] | [INFO] [stdout] 625 | Maybe(Pattern), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Component` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/binary_fa.rs:619:10 [INFO] [stdout] | [INFO] [stdout] 619 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Repeat` [INFO] [stdout] --> src/binary_fa.rs:626:3 [INFO] [stdout] | [INFO] [stdout] 626 | Repeat(Pattern), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Component` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/binary_fa.rs:619:10 [INFO] [stdout] | [INFO] [stdout] 619 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Or` [INFO] [stdout] --> src/binary_fa.rs:627:3 [INFO] [stdout] | [INFO] [stdout] 627 | Or(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Component` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/binary_fa.rs:619:10 [INFO] [stdout] | [INFO] [stdout] 619 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Flag` [INFO] [stdout] --> src/binary_fa.rs:628:3 [INFO] [stdout] | [INFO] [stdout] 628 | Flag(u32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Component` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/binary_fa.rs:619:10 [INFO] [stdout] | [INFO] [stdout] 619 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `components` [INFO] [stdout] --> src/binary_fa.rs:632:3 [INFO] [stdout] | [INFO] [stdout] 632 | components: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pattern` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/binary_fa.rs:630:10 [INFO] [stdout] | [INFO] [stdout] 630 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/binary_fa.rs:635:6 [INFO] [stdout] | [INFO] [stdout] 635 | fn new() -> Pattern { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `then_bit` [INFO] [stdout] --> src/binary_fa.rs:640:6 [INFO] [stdout] | [INFO] [stdout] 640 | fn then_bit(mut self, bit: bool) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `then_u8` [INFO] [stdout] --> src/binary_fa.rs:644:6 [INFO] [stdout] | [INFO] [stdout] 644 | fn then_u8(mut self, val: u8) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `then_str` [INFO] [stdout] --> src/binary_fa.rs:648:6 [INFO] [stdout] | [INFO] [stdout] 648 | fn then_str(mut self, string: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `then` [INFO] [stdout] --> src/binary_fa.rs:654:6 [INFO] [stdout] | [INFO] [stdout] 654 | fn then(mut self, pattern: &Pattern) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `maybe` [INFO] [stdout] --> src/binary_fa.rs:658:6 [INFO] [stdout] | [INFO] [stdout] 658 | fn maybe(mut self, pattern: &Pattern) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `repeat` [INFO] [stdout] --> src/binary_fa.rs:662:6 [INFO] [stdout] | [INFO] [stdout] 662 | fn repeat(mut self, pattern: &Pattern) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `or` [INFO] [stdout] --> src/binary_fa.rs:666:6 [INFO] [stdout] | [INFO] [stdout] 666 | fn or(mut self, patterns: &Vec) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flag` [INFO] [stdout] --> src/binary_fa.rs:672:6 [INFO] [stdout] | [INFO] [stdout] 672 | fn flag(mut self, flag: u32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_nfa` [INFO] [stdout] --> src/binary_fa.rs:676:6 [INFO] [stdout] | [INFO] [stdout] 676 | fn to_nfa(&self) -> Nfa { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_dfa` [INFO] [stdout] --> src/binary_fa.rs:722:6 [INFO] [stdout] | [INFO] [stdout] 722 | fn to_dfa(&self) -> Dfa { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `feed_dfa` [INFO] [stdout] --> src/binary_fa.rs:727:4 [INFO] [stdout] | [INFO] [stdout] 727 | fn feed_dfa(dfa: &Dfa, symbols: Vec) -> DfaState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `accepts_bits` [INFO] [stdout] --> src/binary_fa.rs:734:4 [INFO] [stdout] | [INFO] [stdout] 734 | fn accepts_bits(dfa: &Dfa, symbols: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `accepts_str` [INFO] [stdout] --> src/binary_fa.rs:737:4 [INFO] [stdout] | [INFO] [stdout] 737 | fn accepts_str(dfa: &Dfa, string: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `String` [INFO] [stdout] --> src/pattern.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | String(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Component` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pattern.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Action` [INFO] [stdout] --> src/pattern.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | Action(u32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Component` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pattern.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Then` [INFO] [stdout] --> src/pattern.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | Then(Pattern), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Component` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pattern.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Maybe` [INFO] [stdout] --> src/pattern.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | Maybe(Pattern), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Component` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pattern.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Repeat` [INFO] [stdout] --> src/pattern.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | Repeat(Pattern), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Component` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pattern.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Or` [INFO] [stdout] --> src/pattern.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | Or(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Component` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pattern.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `components` [INFO] [stdout] --> src/pattern.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | components: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Pattern` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pattern.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `PatternNfa` [INFO] [stdout] --> src/pattern.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | type PatternNfa = fa::nfa::Nfa; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `PatternDfa` [INFO] [stdout] --> src/pattern.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | type PatternDfa = fa::dfa::Dfa; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/pattern.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | fn new() -> Pattern { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `then_str` [INFO] [stdout] --> src/pattern.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | fn then_str(mut self, string: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `then` [INFO] [stdout] --> src/pattern.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | fn then(mut self, pattern: Pattern) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `maybe` [INFO] [stdout] --> src/pattern.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | fn maybe(mut self, pattern: Pattern) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `repeat` [INFO] [stdout] --> src/pattern.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | fn repeat(mut self, pattern: Pattern) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `or` [INFO] [stdout] --> src/pattern.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | fn or(mut self, patterns: &Vec) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `action` [INFO] [stdout] --> src/pattern.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | fn action(mut self, action: u32) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_nfa` [INFO] [stdout] --> src/pattern.rs:56:6 [INFO] [stdout] | [INFO] [stdout] 56 | fn to_nfa(&self) -> PatternNfa { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/pattern.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_pattern` [INFO] [stdout] --> src/pattern.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn from_pattern(pattern: &Pattern) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `feed_str` [INFO] [stdout] --> src/pattern.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn feed_str(&mut self, string: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `drain_actions` [INFO] [stdout] --> src/pattern.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn drain_actions(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_done` [INFO] [stdout] --> src/pattern.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn is_done(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `edges` [INFO] [stdout] --> src/fa.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | edges: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `State` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/fa.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Empty` [INFO] [stdout] --> src/fa.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / Empty { [INFO] [stdout] 13 | | actions: Vec, [INFO] [stdout] 14 | | to: usize, [INFO] [stdout] 15 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Edge` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/fa.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Symbol` [INFO] [stdout] --> src/fa.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / Symbol { [INFO] [stdout] 17 | | actions: Vec, [INFO] [stdout] 18 | | to: usize, [INFO] [stdout] 19 | | symbol: S, [INFO] [stdout] 20 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Edge` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/fa.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `states` [INFO] [stdout] --> src/fa.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | states: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Nfa` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/fa.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start_states` [INFO] [stdout] --> src/fa.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | start_states: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Nfa` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/fa.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end_states` [INFO] [stdout] --> src/fa.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | end_states: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Nfa` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/fa.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `ParseState` [INFO] [stdout] --> src/fa.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | pub type ParseState = HashMap>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_parse_set` [INFO] [stdout] --> src/fa.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_parse_set(state: &ParseState) -> BTreeSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_symbols` [INFO] [stdout] --> src/fa.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn get_symbols( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_common_actions` [INFO] [stdout] --> src/fa.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn get_common_actions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/fa.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn new() -> Nfa { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_state` [INFO] [stdout] --> src/fa.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn add_state(&mut self, initial: bool, terminal: bool) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_edge` [INFO] [stdout] --> src/fa.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn add_edge(&mut self, from: usize, to: usize, symbol: S, actions: Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_empty_edge` [INFO] [stdout] --> src/fa.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn add_empty_edge(&mut self, from: usize, to: usize, actions: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_initial_parse_state` [INFO] [stdout] --> src/fa.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn get_initial_parse_state(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `take_empty_edges` [INFO] [stdout] --> src/fa.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn take_empty_edges(&self, state: &ParseState) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/fa.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn step(&self, state: &ParseState, symbol: S) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_terminal` [INFO] [stdout] --> src/fa.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn is_terminal(&self, state: &ParseState) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_pending_actions` [INFO] [stdout] --> src/fa.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn has_pending_actions(&self, state: &ParseState) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_dfa` [INFO] [stdout] --> src/fa.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn from_dfa(dfa: &dfa::Dfa) -> Nfa { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `repeat` [INFO] [stdout] --> src/fa.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn repeat(&self) -> Nfa { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `import_edges` [INFO] [stdout] --> src/fa.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn import_edges(&mut self, nfa: &Nfa, offset: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `union` [INFO] [stdout] --> src/fa.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn union(nfas: &Vec<&Nfa>) -> Nfa { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `concat` [INFO] [stdout] --> src/fa.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn concat(nfas: &Vec<&Nfa>) -> Nfa { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Edge` [INFO] [stdout] --> src/fa.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | pub struct Edge { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `State` [INFO] [stdout] --> src/fa.rs:295:14 [INFO] [stdout] | [INFO] [stdout] 295 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Dfa` [INFO] [stdout] --> src/fa.rs:298:14 [INFO] [stdout] | [INFO] [stdout] 298 | pub struct Dfa { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ParseState` [INFO] [stdout] --> src/fa.rs:303:14 [INFO] [stdout] | [INFO] [stdout] 303 | pub struct ParseState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_nfa` [INFO] [stdout] --> src/fa.rs:308:12 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn from_nfa(nfa: &nfa::Nfa) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_initial_parse_state` [INFO] [stdout] --> src/fa.rs:396:12 [INFO] [stdout] | [INFO] [stdout] 396 | pub fn get_initial_parse_state(&self) -> ParseState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/fa.rs:402:12 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn step(&self, state: &ParseState, symbol: S) -> Option<(ParseState, &Vec)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_terminal` [INFO] [stdout] --> src/fa.rs:409:12 [INFO] [stdout] | [INFO] [stdout] 409 | pub fn is_terminal(&self, state: &ParseState) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 124 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.81s [INFO] running `Command { std: "docker" "inspect" "871ca763395e9ccb2e79a19c03553eb046bafe6ad2bf87b482d40f38d961b002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "871ca763395e9ccb2e79a19c03553eb046bafe6ad2bf87b482d40f38d961b002", kill_on_drop: false }` [INFO] [stdout] 871ca763395e9ccb2e79a19c03553eb046bafe6ad2bf87b482d40f38d961b002 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 462c636175731929073c2fe537d7b2302de29e0e3b82c1017422ec27d5dca8f5 [INFO] running `Command { std: "docker" "start" "-a" "462c636175731929073c2fe537d7b2302de29e0e3b82c1017422ec27d5dca8f5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rust-state-machine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/binary_fa.rs:856:3 [INFO] [stdout] | [INFO] [stdout] 855 | panic!(); [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 856 | assert!(accepts_str(&dfa, "(123)456-7890")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DfaEdge` [INFO] [stdout] --> src/binary_fa.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | struct DfaEdge { [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: `print` [INFO] [stdout] --> src/binary_fa.rs:311:6 [INFO] [stdout] | [INFO] [stdout] 311 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_flags` [INFO] [stdout] --> src/binary_fa.rs:450:6 [INFO] [stdout] | [INFO] [stdout] 450 | fn get_flags(&self, state: &DfaState) -> HashSet { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/binary_fa.rs:474:6 [INFO] [stdout] | [INFO] [stdout] 474 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/binary_fa.rs:493:3 [INFO] [stdout] | [INFO] [stdout] 493 | size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start_node` [INFO] [stdout] --> src/binary_fa.rs:495:3 [INFO] [stdout] | [INFO] [stdout] 495 | start_node: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Action` [INFO] [stdout] --> src/pattern.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | Action(u32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Component` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pattern.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Then` [INFO] [stdout] --> src/pattern.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | Then(Pattern), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Component` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pattern.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Maybe` [INFO] [stdout] --> src/pattern.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | Maybe(Pattern), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Component` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pattern.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Repeat` [INFO] [stdout] --> src/pattern.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | Repeat(Pattern), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Component` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/pattern.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `then` [INFO] [stdout] --> src/pattern.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | fn then(mut self, pattern: Pattern) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `maybe` [INFO] [stdout] --> src/pattern.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | fn maybe(mut self, pattern: Pattern) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `repeat` [INFO] [stdout] --> src/pattern.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | fn repeat(mut self, pattern: Pattern) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `action` [INFO] [stdout] --> src/pattern.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | fn action(mut self, action: u32) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `drain_actions` [INFO] [stdout] --> src/pattern.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn drain_actions(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_dfa` [INFO] [stdout] --> src/fa.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn from_dfa(dfa: &dfa::Dfa) -> Nfa { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.36s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_state_machine-bc51f32295d5b806) [INFO] running `Command { std: "docker" "inspect" "462c636175731929073c2fe537d7b2302de29e0e3b82c1017422ec27d5dca8f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "462c636175731929073c2fe537d7b2302de29e0e3b82c1017422ec27d5dca8f5", kill_on_drop: false }` [INFO] [stdout] 462c636175731929073c2fe537d7b2302de29e0e3b82c1017422ec27d5dca8f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] deb9ba50c19da60d154eac45d245950233c8bb9a9828933f750f5a881977d804 [INFO] running `Command { std: "docker" "start" "-a" "deb9ba50c19da60d154eac45d245950233c8bb9a9828933f750f5a881977d804", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/binary_fa.rs:856:3 [INFO] [stderr] | [INFO] [stderr] 855 | panic!(); [INFO] [stderr] | -------- any code following this expression is unreachable [INFO] [stderr] 856 | assert!(accepts_str(&dfa, "(123)456-7890")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] = note: this warning originates in the macro `assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `DfaEdge` [INFO] [stderr] --> src/binary_fa.rs:83:8 [INFO] [stderr] | [INFO] [stderr] 83 | struct DfaEdge { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `print` [INFO] [stderr] --> src/binary_fa.rs:311:6 [INFO] [stderr] | [INFO] [stderr] 311 | fn print(&self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_flags` [INFO] [stderr] --> src/binary_fa.rs:450:6 [INFO] [stderr] | [INFO] [stderr] 450 | fn get_flags(&self, state: &DfaState) -> HashSet { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `print` [INFO] [stderr] --> src/binary_fa.rs:474:6 [INFO] [stderr] | [INFO] [stderr] 474 | fn print(&self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `size` [INFO] [stderr] --> src/binary_fa.rs:493:3 [INFO] [stderr] | [INFO] [stderr] 493 | size: usize, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `start_node` [INFO] [stderr] --> src/binary_fa.rs:495:3 [INFO] [stderr] | [INFO] [stderr] 495 | start_node: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Action` [INFO] [stderr] --> src/pattern.rs:6:3 [INFO] [stderr] | [INFO] [stderr] 6 | Action(u32), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Component` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/pattern.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Then` [INFO] [stderr] --> src/pattern.rs:7:3 [INFO] [stderr] | [INFO] [stderr] 7 | Then(Pattern), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Component` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/pattern.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Maybe` [INFO] [stderr] --> src/pattern.rs:8:3 [INFO] [stderr] | [INFO] [stderr] 8 | Maybe(Pattern), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Component` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/pattern.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Repeat` [INFO] [stderr] --> src/pattern.rs:9:3 [INFO] [stderr] | [INFO] [stderr] 9 | Repeat(Pattern), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Component` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/pattern.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `then` [INFO] [stderr] --> src/pattern.rs:33:6 [INFO] [stderr] | [INFO] [stderr] 33 | fn then(mut self, pattern: Pattern) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `maybe` [INFO] [stderr] --> src/pattern.rs:37:6 [INFO] [stderr] | [INFO] [stderr] 37 | fn maybe(mut self, pattern: Pattern) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `repeat` [INFO] [stderr] --> src/pattern.rs:41:6 [INFO] [stderr] | [INFO] [stderr] 41 | fn repeat(mut self, pattern: Pattern) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `action` [INFO] [stderr] --> src/pattern.rs:51:6 [INFO] [stderr] | [INFO] [stderr] 51 | fn action(mut self, action: u32) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `drain_actions` [INFO] [stderr] --> src/pattern.rs:134:10 [INFO] [stderr] | [INFO] [stderr] 134 | pub fn drain_actions(&mut self) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_dfa` [INFO] [stderr] --> src/fa.rs:187:12 [INFO] [stderr] | [INFO] [stderr] 187 | pub fn from_dfa(dfa: &dfa::Dfa) -> Nfa { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust-state-machine` (bin "rust-state-machine" test) generated 17 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.33s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_state_machine-bc51f32295d5b806) [INFO] [stdout] [INFO] [stdout] running 26 tests [INFO] [stdout] test binary_fa::construct_basic_nfa ... ok [INFO] [stdout] test binary_fa::basic_pattern ... ok [INFO] [stdout] test binary_fa::convert_basic_nfa_to_dfa ... ok [INFO] [stdout] test binary_fa::invert_basic_nfa ... ok [INFO] [stdout] test binary_fa::pattern_flag ... ok [INFO] [stdout] test binary_fa::simple_nfa_flag ... ok [INFO] [stdout] test fa::dfa_tests::construct_fail_from_pending_actions_on_end_state ... ok [INFO] [stdout] test fa::dfa_tests::construct_fail_same_state_different_actions ... ok [INFO] [stdout] test fa::dfa_tests::construct_multiple_states ... ok [INFO] [stdout] test binary_fa::pattern_then_u8 ... ok [INFO] [stdout] test fa::nfa_tests::construct ... ok [INFO] [stdout] test fa::dfa_tests::construct_simple_dfa_from_nfa ... ok [INFO] [stdout] test binary_fa::pattern_then_str ... ok [INFO] [stdout] test binary_fa::pattern_repeat ... ok [INFO] [stdout] test fa::nfa_tests::fail_on_action_collision ... ok [INFO] [stdout] test fa::nfa_tests::fail_on_empty_loop ... ok [INFO] [stdout] test fa::nfa_tests::from_concat ... ok [INFO] [stdout] test fa::nfa_tests::nfa_that_cannot_be_dfa_from_actions ... ok [INFO] [stdout] test fa::nfa_tests::from_repeat ... ok [INFO] [stdout] test fa::nfa_tests::from_union ... ok [INFO] [stdout] test fa::nfa_tests::pass_on_empty_loop_without_actions ... ok [INFO] [stdout] test pattern::pattern_tests::make_simple_pattern ... ok [INFO] [stdout] test pattern::pattern_tests::disambiguate_similar_patterns ... ok [INFO] [stdout] test binary_fa::pattern_maybe ... ok [INFO] [stdout] test binary_fa::pattern_or ... ok [INFO] [stdout] test binary_fa::parse_a_phone_number ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- binary_fa::parse_a_phone_number stdout ---- [INFO] [stdout] 0: [INFO] [stdout] 40 -> 2 [INFO] [stdout] else -> 1 [INFO] [stdout] 1: [INFO] [stdout] else -> 1 [INFO] [stdout] 2: [INFO] [stdout] 48 54 53 50 52 49 51 55 56 57 -> 3 [INFO] [stdout] else -> 1 [INFO] [stdout] 3: [INFO] [stdout] 54 53 55 48 49 51 50 56 57 52 -> 4 [INFO] [stdout] else -> 1 [INFO] [stdout] 4: [INFO] [stdout] 49 54 48 56 57 53 52 51 50 55 -> 5 [INFO] [stdout] else -> 1 [INFO] [stdout] 5: [INFO] [stdout] 41 -> 6 [INFO] [stdout] else -> 1 [INFO] [stdout] 6: [INFO] [stdout] 9 10 13 32 -> 6 [INFO] [stdout] 48 49 54 51 55 50 56 57 52 53 -> 7 [INFO] [stdout] else -> 1 [INFO] [stdout] 7: [INFO] [stdout] 57 48 54 50 51 56 49 52 55 53 -> 8 [INFO] [stdout] else -> 1 [INFO] [stdout] 8: [INFO] [stdout] 51 54 56 49 57 55 52 53 48 50 -> 9 [INFO] [stdout] else -> 1 [INFO] [stdout] 9: [INFO] [stdout] 45 -> 10 [INFO] [stdout] 13 9 32 10 -> 9 [INFO] [stdout] else -> 1 [INFO] [stdout] 10: [INFO] [stdout] 13 32 10 9 -> 10 [INFO] [stdout] 56 57 54 50 48 53 52 55 51 49 -> 11 [INFO] [stdout] else -> 1 [INFO] [stdout] 11: [INFO] [stdout] 50 48 51 53 49 54 57 52 55 56 -> 12 [INFO] [stdout] else -> 1 [INFO] [stdout] 12: [INFO] [stdout] 57 48 53 56 49 50 51 52 54 55 -> 13 [INFO] [stdout] else -> 1 [INFO] [stdout] 13: [INFO] [stdout] 57 53 48 52 50 54 55 51 56 49 -> 14 [INFO] [stdout] else -> 1 [INFO] [stdout] 14: end [INFO] [stdout] else -> 1 [INFO] [stdout] thread 'binary_fa::parse_a_phone_number' panicked at 'explicit panic', src/binary_fa.rs:855:3 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55d01e626e4d - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55d01e626e4d - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55d01e626e4d - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55d01e626e4d - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55d01e649abc - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x55d01e623811 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x55d01e628b95 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55d01e628b95 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55d01e628b95 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55d01e628884 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55d01e6290e2 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55d01e577324 - std::panicking::begin_panic::{{closure}}::h05ca152c38309619 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:617:9 [INFO] [stdout] 12: 0x55d01e5719d8 - std::sys_common::backtrace::__rust_end_short_backtrace::he9849db575953ec3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55d01e577274 - std::panicking::begin_panic::hf553f4a6646ae2e0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:616:12 [INFO] [stdout] 14: 0x55d01e5714e6 - rust_state_machine::binary_fa::parse_a_phone_number::hfa3a09560ffd8a49 [INFO] [stdout] at /opt/rustwide/workdir/src/binary_fa.rs:855:3 [INFO] [stdout] 15: 0x55d01e570f1a - rust_state_machine::binary_fa::parse_a_phone_number::{{closure}}::h47d18f755a1ca506 [INFO] [stdout] at /opt/rustwide/workdir/src/binary_fa.rs:820:1 [INFO] [stdout] 16: 0x55d01e5a099e - core::ops::function::FnOnce::call_once::he93d9e0f1d55f2e4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 17: 0x55d01e602bb3 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 18: 0x55d01e602bb3 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 19: 0x55d01e601969 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 20: 0x55d01e601969 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 21: 0x55d01e601969 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 22: 0x55d01e601969 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 23: 0x55d01e601969 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 24: 0x55d01e601969 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 25: 0x55d01e601969 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 26: 0x55d01e5cdb1e - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 27: 0x55d01e5cdb1e - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 28: 0x55d01e5d3088 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 29: 0x55d01e5d3088 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 30: 0x55d01e5d3088 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 31: 0x55d01e5d3088 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 32: 0x55d01e5d3088 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 33: 0x55d01e5d3088 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 34: 0x55d01e5d3088 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 35: 0x55d01e62d8f3 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 36: 0x55d01e62d8f3 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 37: 0x55d01e62d8f3 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 38: 0x7f9c64172609 - start_thread [INFO] [stdout] 39: 0x7f9c63f42163 - clone [INFO] [stdout] 40: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] binary_fa::parse_a_phone_number [INFO] [stdout] [INFO] [stdout] test result: FAILED. 25 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin rust-state-machine' [INFO] running `Command { std: "docker" "inspect" "deb9ba50c19da60d154eac45d245950233c8bb9a9828933f750f5a881977d804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deb9ba50c19da60d154eac45d245950233c8bb9a9828933f750f5a881977d804", kill_on_drop: false }` [INFO] [stdout] deb9ba50c19da60d154eac45d245950233c8bb9a9828933f750f5a881977d804