[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] 85a93d1b40488bde042b7aefec68223fb7c8f9b9 [INFO] testing lovebaihezi/automate against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flovebaihezi%2Fautomate" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lovebaihezi/automate on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4/source/Cargo.toml [INFO] crate git repo https://github.com/lovebaihezi/automate already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3ff13fbc8880ae22469795656fcdd7024fd3f5e3f109356657f4e9511bdc925 [INFO] running `Command { std: "docker" "start" "-a" "c3ff13fbc8880ae22469795656fcdd7024fd3f5e3f109356657f4e9511bdc925", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3ff13fbc8880ae22469795656fcdd7024fd3f5e3f109356657f4e9511bdc925", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3ff13fbc8880ae22469795656fcdd7024fd3f5e3f109356657f4e9511bdc925", kill_on_drop: false }` [INFO] [stdout] c3ff13fbc8880ae22469795656fcdd7024fd3f5e3f109356657f4e9511bdc925 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5c267fce49414967b6a28d9fd513a6ff4718e4df007907ab515fa69163e0889 [INFO] running `Command { std: "docker" "start" "-a" "f5c267fce49414967b6a28d9fd513a6ff4718e4df007907ab515fa69163e0889", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.105 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling tokio-macros v1.5.1 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling regex-dfa v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/automate/dfa.rs:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | collections::{BTreeMap, BTreeSet, HashMap, HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/automate/dfa.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> src/automate/dfa.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | fn fmt(&self, format: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_state` [INFO] [stdout] --> src/automate/dfa.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | let mut other_state: BTreeSet = self.end_state.union(&self.all_state).copied().collect(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_state_amount` [INFO] [stdout] --> src/automate/nfa.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | start_state_amount: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_state_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/automate/dfa.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut other_state: BTreeSet = self.end_state.union(&self.all_state).copied().collect(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Range` [INFO] [stdout] --> src/automate/action.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Range(V, V), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/automate/action.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Eq, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Single` [INFO] [stdout] --> src/automate/action.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Single(V), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/automate/action.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Eq, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `all_state` [INFO] [stdout] --> src/automate/dfa.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | all_state: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Dfa` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/automate/dfa.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_capacity` [INFO] [stdout] --> src/automate/dfa.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn with_capacity(start_state: S, end_state_amount: usize, all_state_amount: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_pattern` [INFO] [stdout] --> src/automate/dfa.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn add_pattern(&mut self, from: S, v: &[V], to: S) -> Result<(), DfaError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `optimize` [INFO] [stdout] --> src/automate/dfa.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn optimize(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/automate/nfa.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(start_state: S) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_capacity` [INFO] [stdout] --> src/automate/nfa.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn with_capacity( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_edges` [INFO] [stdout] --> src/automate/nfa.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn add_edges(&mut self, from: S, v: Option, to: S) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_states` [INFO] [stdout] --> src/automate/nfa.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn add_states(&mut self, state: S) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `path_len` [INFO] [stdout] --> src/automate/nfa.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn path_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_end_state` [INFO] [stdout] --> src/automate/nfa.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn add_end_state(&mut self, node: S) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.09s [INFO] running `Command { std: "docker" "inspect" "f5c267fce49414967b6a28d9fd513a6ff4718e4df007907ab515fa69163e0889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5c267fce49414967b6a28d9fd513a6ff4718e4df007907ab515fa69163e0889", kill_on_drop: false }` [INFO] [stdout] f5c267fce49414967b6a28d9fd513a6ff4718e4df007907ab515fa69163e0889 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2169df8d01a1bfaea4bb42a541595c0961d9f5229da40b65accf099bdf66fa2a [INFO] running `Command { std: "docker" "start" "-a" "2169df8d01a1bfaea4bb42a541595c0961d9f5229da40b65accf099bdf66fa2a", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/automate/dfa.rs:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | collections::{BTreeMap, BTreeSet, HashMap, HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/automate/dfa.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> src/automate/dfa.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | fn fmt(&self, format: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_state` [INFO] [stdout] --> src/automate/dfa.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | let mut other_state: BTreeSet = self.end_state.union(&self.all_state).copied().collect(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_state_amount` [INFO] [stdout] --> src/automate/nfa.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | start_state_amount: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_state_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/automate/dfa.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut other_state: BTreeSet = self.end_state.union(&self.all_state).copied().collect(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Range` [INFO] [stdout] --> src/automate/action.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Range(V, V), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/automate/action.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Eq, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Single` [INFO] [stdout] --> src/automate/action.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Single(V), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/automate/action.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Eq, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `all_state` [INFO] [stdout] --> src/automate/dfa.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | all_state: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Dfa` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/automate/dfa.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_capacity` [INFO] [stdout] --> src/automate/dfa.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn with_capacity(start_state: S, end_state_amount: usize, all_state_amount: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_pattern` [INFO] [stdout] --> src/automate/dfa.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn add_pattern(&mut self, from: S, v: &[V], to: S) -> Result<(), DfaError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `optimize` [INFO] [stdout] --> src/automate/dfa.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn optimize(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/automate/nfa.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(start_state: S) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_capacity` [INFO] [stdout] --> src/automate/nfa.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn with_capacity( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_edges` [INFO] [stdout] --> src/automate/nfa.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn add_edges(&mut self, from: S, v: Option, to: S) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_states` [INFO] [stdout] --> src/automate/nfa.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn add_states(&mut self, state: S) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `path_len` [INFO] [stdout] --> src/automate/nfa.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn path_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_end_state` [INFO] [stdout] --> src/automate/nfa.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn add_end_state(&mut self, node: S) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex-dfa v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `automata` in the crate root [INFO] [stdout] --> src/automate/dfa.rs:280:45 [INFO] [stdout] | [INFO] [stdout] 280 | let mut dfa = $crate::automata::Dfa::new($start); [INFO] [stdout] | ^^^ not found in `$crate::automata` [INFO] [stdout] ... [INFO] [stdout] 294 | let dfa = Dfa! { [INFO] [stdout] | ___________________- [INFO] [stdout] 295 | | Start:1, [INFO] [stdout] 296 | | End:[2, 1], [INFO] [stdout] 297 | | V: { [INFO] [stdout] ... | [INFO] [stdout] 302 | | } [INFO] [stdout] 303 | | }; [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `Dfa` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 290 | use crate::automate::Dfa; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/automate/dfa.rs:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | collections::{BTreeMap, BTreeSet, HashMap, HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/automate/dfa.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::matches::Matcher` [INFO] [stdout] --> src/automate/dfa.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | use crate::matches::Matcher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `regex-dfa` due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2169df8d01a1bfaea4bb42a541595c0961d9f5229da40b65accf099bdf66fa2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2169df8d01a1bfaea4bb42a541595c0961d9f5229da40b65accf099bdf66fa2a", kill_on_drop: false }` [INFO] [stdout] 2169df8d01a1bfaea4bb42a541595c0961d9f5229da40b65accf099bdf66fa2a