[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 try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevenlandis%2Frust-state-machine" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/stevenlandis/rust-state-machine on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/stevenlandis/rust-state-machine already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a87fac9a8d27dd1e6691055c294475ba6994b9c1a12e98747120ddb913c78a7 [INFO] running `Command { std: "docker" "start" "-a" "2a87fac9a8d27dd1e6691055c294475ba6994b9c1a12e98747120ddb913c78a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a87fac9a8d27dd1e6691055c294475ba6994b9c1a12e98747120ddb913c78a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a87fac9a8d27dd1e6691055c294475ba6994b9c1a12e98747120ddb913c78a7", kill_on_drop: false }` [INFO] [stdout] 2a87fac9a8d27dd1e6691055c294475ba6994b9c1a12e98747120ddb913c78a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cbd58ad81fe29a0186798d18e0b7c487845806d912d3f11caa8cfb25dcabd20 [INFO] running `Command { std: "docker" "start" "-a" "8cbd58ad81fe29a0186798d18e0b7c487845806d912d3f11caa8cfb25dcabd20", kill_on_drop: false }` [INFO] [stderr] Compiling rust-state-machine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `NfaNode` is never constructed [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NfaEdgeSymbol` is never used [INFO] [stdout] --> src/binary_fa.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | enum NfaEdgeSymbol { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NfaEdge` is never constructed [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 `Nfa` is never constructed [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 `NfaState` is never constructed [INFO] [stdout] --> src/binary_fa.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct NfaState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DfaNode` is never constructed [INFO] [stdout] --> src/binary_fa.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | struct DfaNode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DfaEdge` is never constructed [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 `Dfa` is never constructed [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 `DfaState` is never constructed [INFO] [stdout] --> src/binary_fa.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | struct DfaState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/binary_fa.rs:134:6 [INFO] [stdout] | [INFO] [stdout] 133 | impl Nfa { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 134 | fn new() -> Nfa { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn add_node(&mut self, start: bool, end: bool) -> usize { [INFO] [stdout] | ^^^^^^^^ [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] 158 | pub fn add_edge(&mut self, from: usize, to: usize, symbol: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn add_empty_edge(&mut self, from: usize, to: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn take_empty_edges(&self, state: &NfaState) -> NfaState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | fn get_initial_state(&self) -> NfaState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | fn step(&self, state: &NfaState, symbol: bool) -> NfaState { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | fn is_end(&self, state: &NfaState) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | fn get_flags(&self, state: &NfaState) -> HashSet { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | fn add_nfa_as_edge(&mut self, from: usize, to: usize, nfa: &Nfa) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | fn repeat(&self) -> Nfa { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | fn reverse(&self) -> Nfa { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | fn union(nfas: &Vec<&Nfa>) -> Nfa { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | fn concat(nfas: &Vec<&Nfa>) -> Nfa { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | fn from_dfa(dfa: &Dfa) -> Nfa { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 304 | fn to_dfa(&self) -> Dfa { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | fn invert(&self) -> Nfa { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 311 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/binary_fa.rs:343:6 [INFO] [stdout] | [INFO] [stdout] 342 | impl Dfa { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 343 | fn from_nfa(nfa: &Nfa) -> Dfa { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | fn to_nfa(&self) -> Nfa { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 431 | fn to_block_dfa(&self, size: usize) -> BlockDfa { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | fn get_initial_state(&self) -> DfaState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 439 | fn step(&self, state: &DfaState, symbol: bool) -> DfaState { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 447 | fn is_end(&self, state: &DfaState) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 450 | fn get_flags(&self, state: &DfaState) -> HashSet { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | fn has_flag(&self, state: &DfaState, flag: &u32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 456 | fn invert(&self) -> Dfa { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | fn reverse(&self) -> Dfa { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 468 | fn simplify(&self) -> Dfa { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockDfa` is never constructed [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 `BlockDfaNode` is never constructed [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 items `from_dfa` and `print` are never used [INFO] [stdout] --> src/binary_fa.rs:502:6 [INFO] [stdout] | [INFO] [stdout] 501 | impl BlockDfa { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 502 | fn from_dfa(dfa: &Dfa, size: usize) -> BlockDfa { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 581 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Component` is never used [INFO] [stdout] --> src/binary_fa.rs:620:6 [INFO] [stdout] | [INFO] [stdout] 620 | enum Component { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pattern` is never constructed [INFO] [stdout] --> src/binary_fa.rs:631:12 [INFO] [stdout] | [INFO] [stdout] 631 | pub struct Pattern { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/binary_fa.rs:635:6 [INFO] [stdout] | [INFO] [stdout] 634 | impl Pattern { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 635 | fn new() -> Pattern { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 640 | fn then_bit(mut self, bit: bool) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 644 | fn then_u8(mut self, val: u8) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 648 | fn then_str(mut self, string: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 654 | fn then(mut self, pattern: &Pattern) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 658 | fn maybe(mut self, pattern: &Pattern) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 662 | fn repeat(mut self, pattern: &Pattern) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 666 | fn or(mut self, patterns: &Vec) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 672 | fn flag(mut self, flag: u32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 676 | fn to_nfa(&self) -> Nfa { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 722 | fn to_dfa(&self) -> Dfa { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `feed_dfa` is never used [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 `accepts_bits` is never used [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 `accepts_str` is never used [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: struct `State` is never constructed [INFO] [stdout] --> src/fa.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Edge` is never used [INFO] [stdout] --> src/fa.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | enum Edge { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Nfa` is never constructed [INFO] [stdout] --> src/fa.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Nfa { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ParseState` is never used [INFO] [stdout] --> src/fa.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub type ParseState = HashMap>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_parse_set` is never used [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 `get_symbols` is never used [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 `get_common_actions` is never used [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: multiple associated items are never used [INFO] [stdout] --> src/fa.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl Nfa { [INFO] [stdout] | ---------------------------------------------------------- associated items in this implementation [INFO] [stdout] 86 | pub fn new() -> Nfa { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn add_state(&mut self, initial: bool, terminal: bool) -> usize { [INFO] [stdout] | ^^^^^^^^^ [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] 111 | pub fn add_empty_edge(&mut self, from: usize, to: usize, actions: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn get_initial_parse_state(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | fn take_empty_edges(&self, state: &ParseState) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn step(&self, state: &ParseState, symbol: S) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn is_terminal(&self, state: &ParseState) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn has_pending_actions(&self, state: &ParseState) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn from_dfa(dfa: &dfa::Dfa) -> Nfa { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn repeat(&self) -> Nfa { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn import_edges(&mut self, nfa: &Nfa, offset: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn union(nfas: &Vec<&Nfa>) -> Nfa { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | pub fn concat(nfas: &Vec<&Nfa>) -> Nfa { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Edge` is never constructed [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 `State` is never constructed [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 `Dfa` is never constructed [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 `ParseState` is never constructed [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 items `from_nfa`, `get_initial_parse_state`, `step`, and `is_terminal` are never used [INFO] [stdout] --> src/fa.rs:308:12 [INFO] [stdout] | [INFO] [stdout] 307 | impl Dfa { [INFO] [stdout] | -------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 308 | pub fn from_nfa(nfa: &nfa::Nfa) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 396 | pub fn get_initial_parse_state(&self) -> ParseState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn step(&self, state: &ParseState, symbol: S) -> Option<(ParseState, &Vec)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 409 | pub fn is_terminal(&self, state: &ParseState) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Component` is never used [INFO] [stdout] --> src/pattern.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | enum Component { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pattern` is never constructed [INFO] [stdout] --> src/pattern.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Pattern { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PatternNfa` is never used [INFO] [stdout] --> src/pattern.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | type PatternNfa = fa::nfa::Nfa; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PatternDfa` is never used [INFO] [stdout] --> src/pattern.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | type PatternDfa = fa::dfa::Dfa; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/pattern.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 21 | impl Pattern { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 22 | fn new() -> Pattern { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn then_str(mut self, string: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn then(mut self, pattern: Pattern) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn maybe(mut self, pattern: Pattern) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn repeat(mut self, pattern: Pattern) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn or(mut self, patterns: &Vec) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn action(mut self, action: u32) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn to_nfa(&self) -> PatternNfa { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/pattern.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_pattern`, `feed_str`, `drain_actions`, and `is_done` are never used [INFO] [stdout] --> src/pattern.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 101 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 102 | pub fn from_pattern(pattern: &Pattern) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn feed_str(&mut self, string: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn drain_actions(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn is_done(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "8cbd58ad81fe29a0186798d18e0b7c487845806d912d3f11caa8cfb25dcabd20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cbd58ad81fe29a0186798d18e0b7c487845806d912d3f11caa8cfb25dcabd20", kill_on_drop: false }` [INFO] [stdout] 8cbd58ad81fe29a0186798d18e0b7c487845806d912d3f11caa8cfb25dcabd20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03753b1e44d65a24763174986ebd89ad7fbc7b37fce48a1fac11216829c0730d [INFO] running `Command { std: "docker" "start" "-a" "03753b1e44d65a24763174986ebd89ad7fbc7b37fce48a1fac11216829c0730d", kill_on_drop: false }` [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DfaEdge` is never constructed [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/binary_fa.rs:311:6 [INFO] [stdout] | [INFO] [stdout] 133 | impl Nfa { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_flags` and `print` are never used [INFO] [stdout] --> src/binary_fa.rs:450:6 [INFO] [stdout] | [INFO] [stdout] 342 | impl Dfa { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 450 | fn get_flags(&self, state: &DfaState) -> HashSet { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `start_node` are never read [INFO] [stdout] --> src/binary_fa.rs:493:3 [INFO] [stdout] | [INFO] [stdout] 492 | struct BlockDfa { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 493 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 494 | nodes: Vec, [INFO] [stdout] 495 | start_node: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_dfa` is never used [INFO] [stdout] --> src/fa.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl Nfa { [INFO] [stdout] | ---------------------------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn from_dfa(dfa: &dfa::Dfa) -> Nfa { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Action`, `Then`, `Maybe`, and `Repeat` are never constructed [INFO] [stdout] --> src/pattern.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 4 | enum Component { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 5 | String(String), [INFO] [stdout] 6 | Action(u32), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | Then(Pattern), [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Maybe(Pattern), [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] [INFO] [stdout] [INFO] [stdout] warning: methods `then`, `maybe`, `repeat`, and `action` are never used [INFO] [stdout] --> src/pattern.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 21 | impl Pattern { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | fn then(mut self, pattern: Pattern) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn maybe(mut self, pattern: Pattern) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn repeat(mut self, pattern: Pattern) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn action(mut self, action: u32) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `drain_actions` is never used [INFO] [stdout] --> src/pattern.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 101 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn drain_actions(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.50s [INFO] running `Command { std: "docker" "inspect" "03753b1e44d65a24763174986ebd89ad7fbc7b37fce48a1fac11216829c0730d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03753b1e44d65a24763174986ebd89ad7fbc7b37fce48a1fac11216829c0730d", kill_on_drop: false }` [INFO] [stdout] 03753b1e44d65a24763174986ebd89ad7fbc7b37fce48a1fac11216829c0730d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cc8b3b26bbbc2f2c30bdd1bfb70c25b981fc9df49fdf101c1df3d85816d17f98 [INFO] running `Command { std: "docker" "start" "-a" "cc8b3b26bbbc2f2c30bdd1bfb70c25b981fc9df49fdf101c1df3d85816d17f98", kill_on_drop: false }` [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `DfaEdge` is never constructed [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `print` is never used [INFO] [stderr] --> src/binary_fa.rs:311:6 [INFO] [stderr] | [INFO] [stderr] 133 | impl Nfa { [INFO] [stderr] | -------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 311 | fn print(&self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_flags` and `print` are never used [INFO] [stderr] --> src/binary_fa.rs:450:6 [INFO] [stderr] | [INFO] [stderr] 342 | impl Dfa { [INFO] [stderr] | -------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 450 | fn get_flags(&self, state: &DfaState) -> HashSet { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 474 | fn print(&self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `size` and `start_node` are never read [INFO] [stderr] --> src/binary_fa.rs:493:3 [INFO] [stderr] | [INFO] [stderr] 492 | struct BlockDfa { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 493 | size: usize, [INFO] [stderr] | ^^^^ [INFO] [stderr] 494 | nodes: Vec, [INFO] [stderr] 495 | start_node: usize, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_dfa` is never used [INFO] [stderr] --> src/fa.rs:187:12 [INFO] [stderr] | [INFO] [stderr] 85 | impl Nfa { [INFO] [stderr] | ---------------------------------------------------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 187 | pub fn from_dfa(dfa: &dfa::Dfa) -> Nfa { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Action`, `Then`, `Maybe`, and `Repeat` are never constructed [INFO] [stderr] --> src/pattern.rs:6:3 [INFO] [stderr] | [INFO] [stderr] 4 | enum Component { [INFO] [stderr] | --------- variants in this enum [INFO] [stderr] 5 | String(String), [INFO] [stderr] 6 | Action(u32), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 7 | Then(Pattern), [INFO] [stderr] | ^^^^ [INFO] [stderr] 8 | Maybe(Pattern), [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] [INFO] [stderr] warning: methods `then`, `maybe`, `repeat`, and `action` are never used [INFO] [stderr] --> src/pattern.rs:33:6 [INFO] [stderr] | [INFO] [stderr] 21 | impl Pattern { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 33 | fn then(mut self, pattern: Pattern) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | fn maybe(mut self, pattern: Pattern) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | fn repeat(mut self, pattern: Pattern) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 51 | fn action(mut self, action: u32) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `drain_actions` is never used [INFO] [stderr] --> src/pattern.rs:134:10 [INFO] [stderr] | [INFO] [stderr] 101 | impl Parser { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 134 | pub fn drain_actions(&mut self) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust-state-machine` (bin "rust-state-machine" test) generated 9 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_state_machine-d2dbdf6f6fe6f6b6) [INFO] [stdout] [INFO] [stdout] running 26 tests [INFO] [stdout] test binary_fa::construct_basic_nfa ... ok [INFO] [stdout] test binary_fa::invert_basic_nfa ... ok [INFO] [stdout] test binary_fa::pattern_flag ... ok [INFO] [stdout] test binary_fa::convert_basic_nfa_to_dfa ... ok [INFO] [stdout] test binary_fa::basic_pattern ... ok [INFO] [stdout] test fa::dfa_tests::construct_fail_from_pending_actions_on_end_state ... ok [INFO] [stdout] test fa::dfa_tests::construct_multiple_states ... ok [INFO] [stdout] test fa::dfa_tests::construct_fail_same_state_different_actions ... ok [INFO] [stdout] test binary_fa::pattern_then_u8 ... ok [INFO] [stdout] test binary_fa::simple_nfa_flag ... ok [INFO] [stdout] test fa::dfa_tests::construct_simple_dfa_from_nfa ... ok [INFO] [stdout] test fa::nfa_tests::fail_on_action_collision ... ok [INFO] [stdout] test fa::nfa_tests::nfa_that_cannot_be_dfa_from_actions ... ok [INFO] [stdout] test fa::nfa_tests::pass_on_empty_loop_without_actions ... ok [INFO] [stdout] test binary_fa::pattern_then_str ... ok [INFO] [stdout] test pattern::pattern_tests::disambiguate_similar_patterns ... ok [INFO] [stdout] test fa::nfa_tests::from_concat ... ok [INFO] [stdout] test fa::nfa_tests::construct ... ok [INFO] [stdout] test fa::nfa_tests::fail_on_empty_loop ... ok [INFO] [stdout] test fa::nfa_tests::from_repeat ... ok [INFO] [stdout] test fa::nfa_tests::from_union ... ok [INFO] [stdout] test pattern::pattern_tests::make_simple_pattern ... ok [INFO] [stdout] test binary_fa::pattern_repeat ... 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 55 50 51 53 52 54 56 57 49 -> 3 [INFO] [stdout] else -> 1 [INFO] [stdout] 3: [INFO] [stdout] 49 48 57 52 51 54 50 53 55 56 -> 4 [INFO] [stdout] else -> 1 [INFO] [stdout] 4: [INFO] [stderr] error: test failed, to rerun pass `--bin rust-state-machine` [INFO] [stdout] 57 54 50 48 49 55 56 53 52 51 -> 5 [INFO] [stdout] else -> 1 [INFO] [stdout] 5: [INFO] [stdout] 41 -> 6 [INFO] [stdout] else -> 1 [INFO] [stdout] 6: [INFO] [stdout] 9 32 13 10 -> 6 [INFO] [stdout] 52 55 56 54 50 51 49 48 53 57 -> 7 [INFO] [stdout] else -> 1 [INFO] [stdout] 7: [INFO] [stdout] 48 55 50 52 53 56 57 49 54 51 -> 8 [INFO] [stdout] else -> 1 [INFO] [stdout] 8: [INFO] [stdout] 52 53 49 56 57 50 55 51 54 48 -> 9 [INFO] [stdout] else -> 1 [INFO] [stdout] 9: [INFO] [stdout] 45 -> 10 [INFO] [stdout] 10 13 9 32 -> 9 [INFO] [stdout] else -> 1 [INFO] [stdout] 10: [INFO] [stdout] 9 32 13 10 -> 10 [INFO] [stdout] 50 55 49 56 57 48 53 54 51 52 -> 11 [INFO] [stdout] else -> 1 [INFO] [stdout] 11: [INFO] [stdout] 53 50 49 55 52 56 57 51 48 54 -> 12 [INFO] [stdout] else -> 1 [INFO] [stdout] 12: [INFO] [stdout] 49 51 52 55 50 48 53 56 57 54 -> 13 [INFO] [stdout] else -> 1 [INFO] [stdout] 13: [INFO] [stdout] 48 49 52 55 53 51 54 56 50 57 -> 14 [INFO] [stdout] else -> 1 [INFO] [stdout] 14: end [INFO] [stdout] else -> 1 [INFO] [stdout] [INFO] [stdout] thread 'binary_fa::parse_a_phone_number' (29) panicked at src/binary_fa.rs:855:3: [INFO] [stdout] explicit panic [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5aa096cd2802 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5aa096cd2802 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5aa096cd2802 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5aa096cd2802 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5aa096ce288f - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5aa096ce288f - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x5aa096ca0093 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5aa096ca0093 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5aa096cabf62 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5aa096cb0a9f - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5aa096cb0931 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5aa096c73a9e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x5aa096c73a9e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5aa096cb10af - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x5aa096cb10af - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5aa096cb07ac - std::panicking::begin_panic::{{closure}}::hbca37b9370ed1d4e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:771:9 [INFO] [stdout] 16: 0x5aa096cac0a9 - std::sys::backtrace::__rust_end_short_backtrace::h383389d914306e48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5aa096cb077c - std::panicking::begin_panic::hacb00ff898b62556 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:770:5 [INFO] [stdout] 18: 0x5aa096c167e5 - rust_state_machine::binary_fa::parse_a_phone_number::hd2e20267f74316d0 [INFO] [stdout] at /opt/rustwide/workdir/src/binary_fa.rs:855:3 [INFO] [stdout] 19: 0x5aa096c16917 - rust_state_machine::binary_fa::parse_a_phone_number::{{closure}}::h7c7004cdb17b5799 [INFO] [stdout] at /opt/rustwide/workdir/src/binary_fa.rs:820:26 [INFO] [stdout] 20: 0x5aa096c26016 - core::ops::function::FnOnce::call_once::hc71ae339ec63673b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 21: 0x5aa096c738eb - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 22: 0x5aa096c738eb - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 23: 0x5aa096c878fd - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 24: 0x5aa096c878fd - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 25: 0x5aa096c878fd - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 26: 0x5aa096c878fd - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 27: 0x5aa096c878fd - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 28: 0x5aa096c878fd - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 29: 0x5aa096c878fd - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 30: 0x5aa096c60e44 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 31: 0x5aa096c60e44 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 32: 0x5aa096c6477a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 33: 0x5aa096c6477a - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 34: 0x5aa096c6477a - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 35: 0x5aa096c6477a - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 36: 0x5aa096c6477a - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 37: 0x5aa096c6477a - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 38: 0x5aa096c6477a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 39: 0x5aa096ca749f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 40: 0x5aa096ca749f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 41: 0x7904a066baa4 - [INFO] [stdout] 42: 0x7904a06f8a64 - clone [INFO] [stdout] 43: 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.16s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cc8b3b26bbbc2f2c30bdd1bfb70c25b981fc9df49fdf101c1df3d85816d17f98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc8b3b26bbbc2f2c30bdd1bfb70c25b981fc9df49fdf101c1df3d85816d17f98", kill_on_drop: false }` [INFO] [stdout] cc8b3b26bbbc2f2c30bdd1bfb70c25b981fc9df49fdf101c1df3d85816d17f98