[INFO] cloning repository https://github.com/lovebaihezi/automate
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lovebaihezi/automate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flovebaihezi%2Fautomate", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flovebaihezi%2Fautomate'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f0aa343c802c4d434b41015f1022ed7cd1d648b9
[INFO] checking lovebaihezi/automate against master#1b8f2e46e14b08208a53585570edd9206374aae8 for pr-155418-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flovebaihezi%2Fautomate" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/lovebaihezi/automate
[INFO] finished tweaking git repo https://github.com/lovebaihezi/automate
[INFO] tweaked toml for git repo https://github.com/lovebaihezi/automate written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lovebaihezi/automate on toolchain 1b8f2e46e14b08208a53585570edd9206374aae8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1b8f2e46e14b08208a53585570edd9206374aae8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1b8f2e46e14b08208a53585570edd9206374aae8" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 73 packages to latest compatible versions
[INFO] [stderr]       Adding colored v2.2.0 (available: v3.1.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1b8f2e46e14b08208a53585570edd9206374aae8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1b8f2e46e14b08208a53585570edd9206374aae8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 159694a51c7aa2f69e8ea340b26c853570601c1e8cfaf7841741c03ba7b61354
[INFO] running `Command { std: "docker" "start" "-a" "159694a51c7aa2f69e8ea340b26c853570601c1e8cfaf7841741c03ba7b61354", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "159694a51c7aa2f69e8ea340b26c853570601c1e8cfaf7841741c03ba7b61354", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "159694a51c7aa2f69e8ea340b26c853570601c1e8cfaf7841741c03ba7b61354", kill_on_drop: false }`
[INFO] [stdout] 159694a51c7aa2f69e8ea340b26c853570601c1e8cfaf7841741c03ba7b61354
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1b8f2e46e14b08208a53585570edd9206374aae8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3060148fe443df1603da056b09c40f435ee4c442230cbc2db8403b5e128443c3
[INFO] running `Command { std: "docker" "start" "-a" "3060148fe443df1603da056b09c40f435ee4c442230cbc2db8403b5e128443c3", kill_on_drop: false }`
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking colored v2.2.0
[INFO] [stderr]     Checking crossbeam-queue v0.3.12
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking chrono v0.4.44
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]     Checking crossbeam v0.8.4
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking regex-dfa v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Display` and `VecDeque`
[INFO] [stdout]  --> src/automate/dfa.rs:6:57
[INFO] [stdout]   |
[INFO] [stdout] 6 |     collections::{BTreeMap, BTreeSet, HashMap, HashSet, VecDeque},
[INFO] [stdout]   |                                                         ^^^^^^^^
[INFO] [stdout] 7 |     fmt::{Debug, Display},
[INFO] [stdout]   |                  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `automate::Nfa`
[INFO] [stdout]    --> src/automate/dfa.rs:277:35
[INFO] [stdout]     |
[INFO] [stdout] 277 |     use crate::{matches::Matcher, automate::Nfa};
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `Nfa`
[INFO] [stdout]    --> src/automate/nfa.rs:122:14
[INFO] [stdout]     |
[INFO] [stdout] 122 | macro_rules! Nfa {
[INFO] [stdout]     |              ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display` and `VecDeque`
[INFO] [stdout]  --> src/automate/dfa.rs:6:57
[INFO] [stdout]   |
[INFO] [stdout] 6 |     collections::{BTreeMap, BTreeSet, HashMap, HashSet, VecDeque},
[INFO] [stdout]   |                                                         ^^^^^^^^
[INFO] [stdout] 7 |     fmt::{Debug, Display},
[INFO] [stdout]   |                  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `Nfa`
[INFO] [stdout]    --> src/automate/nfa.rs:122:14
[INFO] [stdout]     |
[INFO] [stdout] 122 | macro_rules! Nfa {
[INFO] [stdout]     |              ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `action::*`
[INFO] [stdout]  --> src/automate/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use action::*;
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `dfa::*`
[INFO] [stdout]  --> src/automate/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use dfa::*;
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Action` is never used
[INFO] [stdout]  --> src/automate/action.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Action<V>
[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 `DfaError` is never used
[INFO] [stdout]   --> src/automate/dfa.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum DfaError {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Dfa` is never constructed
[INFO] [stdout]   --> src/automate/dfa.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct Dfa<S, V>
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_capacity`, `add_edges`, `add_pattern`, `add_end_state`, and `optimize` are never used
[INFO] [stdout]   --> src/automate/dfa.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | / impl<S, V> Dfa<S, V>
[INFO] [stdout] 40 | | where
[INFO] [stdout] 41 | |     S: Hash + Eq + Ord + Copy,
[INFO] [stdout] 42 | |     V: Hash + Eq + Ord + Copy,
[INFO] [stdout]    | |______________________________- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 45 |       pub fn new(start_state: S) -> Self {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |       pub fn with_capacity(start_state: S, end_state_amount: usize) -> Self {
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |       pub fn add_edges(&mut self, from: S, v: V, to: S) -> Result<(), DfaError> {
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |       pub fn add_pattern(&mut self, from: S, v: &[V], to: S) -> Result<(), DfaError> {
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |       pub fn add_end_state(&mut self, node: S) -> bool {
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |       pub fn optimize(&mut self) {
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `closure` is never used
[INFO] [stdout]   --> src/automate/dfa.rs:95:4
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn closure<'a, S: 'a, V>(nfa: &Nfa<S, V>, set: &mut impl Iterator<Item = &'a S>) -> BTreeSet<S>
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `move_t` is never used
[INFO] [stdout]    --> src/automate/dfa.rs:109:4
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn move_t<'a, S: 'a, V>(
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `StateSet` is never used
[INFO] [stdout]   --> src/automate/nfa.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 | type StateSet<T> = BTreeSet<T>;
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Nfa` is never constructed
[INFO] [stdout]   --> src/automate/nfa.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Nfa<S, V>
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/automate/nfa.rs:36:12
[INFO] [stdout]     |
[INFO] [stdout]  30 | / impl<S, V> Nfa<S, V>
[INFO] [stdout]  31 | | where
[INFO] [stdout]  32 | |     S: Hash + Eq + Ord + Copy,
[INFO] [stdout]  33 | |     V: Hash + Eq + Ord + Copy,
[INFO] [stdout]     | |______________________________- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  36 |       pub fn new(start_state: S) -> Self {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] ...
[INFO] [stdout]  46 |       pub fn with_capacity(start_state: S, end_state_amount: usize, all_state_amount: usize) -> Self {
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  56 |       pub fn add_edges(&mut self, from: S, v: Option<V>, to: S) {
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  71 |       pub fn add_states(&mut self, state: S) -> bool {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  75 |       pub fn path_len(&self) -> usize {
[INFO] [stdout]     |              ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  79 |       pub fn add_end_state(&mut self, node: S) -> bool {
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  82 |       fn closure_recursion(&self, state: &S, previous: &mut HashSet<S>) {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  93 |       pub fn closure(&self, state: &S) -> HashSet<S> {
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |       pub fn move_t(&self, state: &S, path: &V) -> HashSet<S> {
[INFO] [stdout]     |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `next_unvisited_state` is never used
[INFO] [stdout]    --> src/automate/nfa.rs:135:8
[INFO] [stdout]     |
[INFO] [stdout] 128 | / impl<S, V> Nfa<S, V>
[INFO] [stdout] 129 | | where
[INFO] [stdout] 130 | |     S: Hash + Eq + Ord + Copy,
[INFO] [stdout] 131 | |     V: Hash + Eq + Ord,
[INFO] [stdout] 132 | |     Self: StateMachine<State = S, V = Option<V>, NextState = StateSet<S>>,
[INFO] [stdout]     | |__________________________________________________________________________- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 135 |       fn next_unvisited_state(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `StateMachine` is never used
[INFO] [stdout]  --> src/automate/state_machine.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait StateMachine {
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `with_capacity`, `add_pattern`, and `optimize` are never used
[INFO] [stdout]   --> src/automate/dfa.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | / impl<S, V> Dfa<S, V>
[INFO] [stdout] 40 | | where
[INFO] [stdout] 41 | |     S: Hash + Eq + Ord + Copy,
[INFO] [stdout] 42 | |     V: Hash + Eq + Ord + Copy,
[INFO] [stdout]    | |______________________________- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |       pub fn with_capacity(start_state: S, end_state_amount: usize) -> Self {
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |       pub fn add_pattern(&mut self, from: S, v: &[V], to: S) -> Result<(), DfaError> {
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |       pub fn optimize(&mut self) {
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/automate/nfa.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | / impl<S, V> Nfa<S, V>
[INFO] [stdout] 31 | | where
[INFO] [stdout] 32 | |     S: Hash + Eq + Ord + Copy,
[INFO] [stdout] 33 | |     V: Hash + Eq + Ord + Copy,
[INFO] [stdout]    | |______________________________- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 36 |       pub fn new(start_state: S) -> Self {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |       pub fn with_capacity(start_state: S, end_state_amount: usize, all_state_amount: usize) -> Self {
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |       pub fn add_edges(&mut self, from: S, v: Option<V>, to: S) {
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |       pub fn add_states(&mut self, state: S) -> bool {
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |       pub fn path_len(&self) -> usize {
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |       pub fn add_end_state(&mut self, node: S) -> bool {
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |       fn closure_recursion(&self, state: &S, previous: &mut HashSet<S>) {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.69s
[INFO] running `Command { std: "docker" "inspect" "3060148fe443df1603da056b09c40f435ee4c442230cbc2db8403b5e128443c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3060148fe443df1603da056b09c40f435ee4c442230cbc2db8403b5e128443c3", kill_on_drop: false }`
[INFO] [stdout] 3060148fe443df1603da056b09c40f435ee4c442230cbc2db8403b5e128443c3
