[INFO] fetching crate rflex 0.8.0...
[INFO] checking rflex-0.8.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] extracting crate rflex 0.8.0 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate rflex 0.8.0 on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rflex 0.8.0
[INFO] finished tweaking crates.io crate rflex 0.8.0
[INFO] tweaked toml for crates.io crate rflex 0.8.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate crates.io crate rflex 0.8.0 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unicode-xid v0.2.1
[INFO] [stderr]   Downloaded fixedbitset v0.1.9
[INFO] [stderr]   Downloaded liquid-interpreter v0.17.1
[INFO] [stderr]   Downloaded matches v0.1.8
[INFO] [stderr]   Downloaded tinyvec_macros v0.1.0
[INFO] [stderr]   Downloaded adler v0.2.3
[INFO] [stderr]   Downloaded time v0.1.44
[INFO] [stderr]   Downloaded rustc-demangle v0.1.18
[INFO] [stderr]   Downloaded memchr v2.3.4
[INFO] [stderr]   Downloaded num-integer v0.1.44
[INFO] [stderr]   Downloaded itertools v0.7.11
[INFO] [stderr]   Downloaded object v0.22.0
[INFO] [stderr]   Downloaded gimli v0.23.0
[INFO] [stderr]   Downloaded libc v0.2.80
[INFO] [stderr]   Downloaded aho-corasick v0.7.15
[INFO] [stderr]   Downloaded regex-syntax v0.6.21
[INFO] [stderr]   Downloaded regex v1.4.2
[INFO] [stderr]   Downloaded syn v1.0.52
[INFO] [stderr]   Downloaded unicode-normalization v0.1.16
[INFO] [stderr]   Downloaded unicode-segmentation v1.7.1
[INFO] [stderr]   Downloaded chrono v0.4.19
[INFO] [stderr]   Downloaded proc-macro2 v1.0.24
[INFO] [stderr]   Downloaded quote v1.0.7
[INFO] [stderr]   Downloaded unicode-bidi v0.3.4
[INFO] [stderr]   Downloaded tinyvec v1.1.0
[INFO] [stderr]   Downloaded miniz_oxide v0.4.3
[INFO] [stderr]   Downloaded addr2line v0.14.0
[INFO] [stderr]   Downloaded backtrace v0.3.55
[INFO] [stderr]   Downloaded serde v1.0.117
[INFO] [stderr]   Downloaded serde_derive v1.0.117
[INFO] [stderr]   Downloaded synstructure v0.12.4
[INFO] [stderr]   Downloaded liquid-value v0.17.1
[INFO] [stderr]   Downloaded liquid-error v0.16.1
[INFO] [stderr]   Downloaded liquid-compiler v0.17.1
[INFO] [stderr]   Downloaded liquid v0.17.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c1c7fb97bbd81ad55efa4179cfba08797cbc331acb9d9abbf7cf72e35fe5f226
[INFO] running `Command { std: "docker" "start" "-a" "c1c7fb97bbd81ad55efa4179cfba08797cbc331acb9d9abbf7cf72e35fe5f226", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c1c7fb97bbd81ad55efa4179cfba08797cbc331acb9d9abbf7cf72e35fe5f226", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c1c7fb97bbd81ad55efa4179cfba08797cbc331acb9d9abbf7cf72e35fe5f226", kill_on_drop: false }`
[INFO] [stdout] c1c7fb97bbd81ad55efa4179cfba08797cbc331acb9d9abbf7cf72e35fe5f226
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7400f051a168467256f24ff7c55ab0138c36859490cd3bdb68dd5bf2d8883189
[INFO] running `Command { std: "docker" "start" "-a" "7400f051a168467256f24ff7c55ab0138c36859490cd3bdb68dd5bf2d8883189", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.52
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]    Compiling serde_derive v1.0.117
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]     Checking liquid-error v0.16.1
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]     Checking gimli v0.23.0
[INFO] [stderr]     Checking adler v0.2.3
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking tinyvec v1.1.0
[INFO] [stderr]     Checking unicode-bidi v0.3.4
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]     Checking regex-syntax v0.6.21
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking object v0.22.0
[INFO] [stderr]     Checking itertools v0.7.11
[INFO] [stderr]     Checking rustc-demangle v0.1.18
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]     Checking unicode-segmentation v1.7.1
[INFO] [stderr]     Checking fixedbitset v0.1.9
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling miniz_oxide v0.4.3
[INFO] [stderr]     Checking aho-corasick v0.7.15
[INFO] [stderr]     Checking unicode-normalization v0.1.16
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]     Checking regex v1.4.2
[INFO] [stderr]     Checking addr2line v0.14.0
[INFO] [stderr]     Checking backtrace v0.3.55
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking liquid-value v0.17.1
[INFO] [stderr]     Checking liquid-interpreter v0.17.1
[INFO] [stderr]     Checking liquid-compiler v0.17.1
[INFO] [stderr]     Checking liquid v0.17.1
[INFO] [stderr]     Checking rflex v0.8.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: methods `set_end` and `set_start` are never used
[INFO] [stdout]   --> src/charclasses.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Interval {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn set_end(&mut self, end: usize) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn set_start(&mut self, start: usize) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_char` is never used
[INFO] [stdout]    --> src/charclasses.rs:155:12
[INFO] [stdout]     |
[INFO] [stdout] 37  | impl IntCharSet {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub fn add_char(&mut self, c: usize) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_max_char_code`, `set_max_char_code`, and `to_string_i` are never used
[INFO] [stdout]    --> src/charclasses.rs:396:12
[INFO] [stdout]     |
[INFO] [stdout] 382 | impl CharClasses {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 396 |     pub fn get_max_char_code(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 400 |     pub fn set_max_char_code(&mut self, max_char_code: usize) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 511 |     pub fn to_string_i(&self, index: usize) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `write_dot` and `dump` are never used
[INFO] [stdout]    --> src/dfa.rs:480:12
[INFO] [stdout]     |
[INFO] [stdout] 16  | impl DFA {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 480 |     pub fn write_dot(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 503 |     pub fn dump(&self) -> String {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `dump_epsilon`, `dump_fixedbit`, `dump_fixedbit_str`, `write_dot`, and `dump_table` are never used
[INFO] [stdout]    --> src/nfa.rs:528:8
[INFO] [stdout]     |
[INFO] [stdout] 33  | impl NFA {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 528 |     fn dump_epsilon(&self, epsilon: Vec<Option<Rc<RefCell<FixedBitSet>>>>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 542 |     fn dump_fixedbit(&self, v: &FixedBitSet) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 546 |     fn dump_fixedbit_str(&self, v: &FixedBitSet) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 559 |     pub fn write_dot(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 594 |     pub fn dump_table(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/nfa.rs:527:12
[INFO] [stdout]     |
[INFO] [stdout] 527 |     #[warn(dead_code)]
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Name` is never constructed
[INFO] [stdout]   --> src/scanner.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub enum Ast {
[INFO] [stdout]    |          --- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 37 |     Name(String),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Ast` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `line_num` is never read
[INFO] [stdout]    --> src/scanner.rs:335:5
[INFO] [stdout]     |
[INFO] [stdout] 333 | pub struct RegexScanner<'a, 'b> {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] 334 |     chars: Chars<'a>,
[INFO] [stdout] 335 |     line_num: usize,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RegexScanner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_char_classes` is never used
[INFO] [stdout]    --> src/scanner.rs:354:12
[INFO] [stdout]     |
[INFO] [stdout] 341 | impl<'a, 'b> RegexScanner<'a, 'b> {
[INFO] [stdout]     | --------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 354 |     pub fn get_char_classes(&self) -> CharClasses {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_regex` is never used
[INFO] [stdout]    --> src/scanner.rs:584:4
[INFO] [stdout]     |
[INFO] [stdout] 584 | fn parse_regex(line_num: usize, line: &String) -> Result<(IR, String), TranslateError> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `num` is never used
[INFO] [stdout]    --> src/scanner.rs:681:12
[INFO] [stdout]     |
[INFO] [stdout] 671 | impl Action {
[INFO] [stdout]     | ----------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 681 |     pub fn num(num: i32) -> Action {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:12:30
[INFO] [stdout]    |
[INFO] [stdout] 12 |                 for cause in failure::Fail::iter_chain(&e) {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 12 |                 for cause in <dyn failure::Fail>::iter_chain(&e) {
[INFO] [stdout]    |                              ++++              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:12:30
[INFO] [stdout]    |
[INFO] [stdout] 12 |                 for cause in failure::Fail::iter_chain(&e) {
[INFO] [stdout]    |                              ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 12 |                 for cause in <dyn failure::Fail>::iter_chain(&e) {
[INFO] [stdout]    |                              ++++              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_end` and `set_start` are never used
[INFO] [stdout]   --> src/charclasses.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Interval {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn set_end(&mut self, end: usize) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn set_start(&mut self, start: usize) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_max_char_code` and `set_max_char_code` are never used
[INFO] [stdout]    --> src/charclasses.rs:396:12
[INFO] [stdout]     |
[INFO] [stdout] 382 | impl CharClasses {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 396 |     pub fn get_max_char_code(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 400 |     pub fn set_max_char_code(&mut self, max_char_code: usize) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `dump` is never used
[INFO] [stdout]    --> src/dfa.rs:503:12
[INFO] [stdout]     |
[INFO] [stdout] 16  | impl DFA {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 503 |     pub fn dump(&self) -> String {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `dump_epsilon`, `dump_fixedbit`, `dump_fixedbit_str`, and `dump_table` are never used
[INFO] [stdout]    --> src/nfa.rs:528:8
[INFO] [stdout]     |
[INFO] [stdout] 33  | impl NFA {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 528 |     fn dump_epsilon(&self, epsilon: Vec<Option<Rc<RefCell<FixedBitSet>>>>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 542 |     fn dump_fixedbit(&self, v: &FixedBitSet) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 546 |     fn dump_fixedbit_str(&self, v: &FixedBitSet) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 594 |     pub fn dump_table(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/nfa.rs:527:12
[INFO] [stdout]     |
[INFO] [stdout] 527 |     #[warn(dead_code)]
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Name` is never constructed
[INFO] [stdout]   --> src/scanner.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub enum Ast {
[INFO] [stdout]    |          --- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 37 |     Name(String),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Ast` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `line_num` is never read
[INFO] [stdout]    --> src/scanner.rs:335:5
[INFO] [stdout]     |
[INFO] [stdout] 333 | pub struct RegexScanner<'a, 'b> {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] 334 |     chars: Chars<'a>,
[INFO] [stdout] 335 |     line_num: usize,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RegexScanner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_char_classes` is never used
[INFO] [stdout]    --> src/scanner.rs:354:12
[INFO] [stdout]     |
[INFO] [stdout] 341 | impl<'a, 'b> RegexScanner<'a, 'b> {
[INFO] [stdout]     | --------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 354 |     pub fn get_char_classes(&self) -> CharClasses {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 10.20s
[INFO] running `Command { std: "docker" "inspect" "7400f051a168467256f24ff7c55ab0138c36859490cd3bdb68dd5bf2d8883189", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7400f051a168467256f24ff7c55ab0138c36859490cd3bdb68dd5bf2d8883189", kill_on_drop: false }`
[INFO] [stdout] 7400f051a168467256f24ff7c55ab0138c36859490cd3bdb68dd5bf2d8883189
[INFO] checking rflex-0.8.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] extracting crate rflex 0.8.0 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate rflex 0.8.0 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rflex 0.8.0
[INFO] finished tweaking crates.io crate rflex 0.8.0
[INFO] tweaked toml for crates.io crate rflex 0.8.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate crates.io crate rflex 0.8.0 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 255221ebd6118210bd241343b9ef395af0fbd8fd7840f216e9baf75b3ab97e3e
[INFO] running `Command { std: "docker" "start" "-a" "255221ebd6118210bd241343b9ef395af0fbd8fd7840f216e9baf75b3ab97e3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "255221ebd6118210bd241343b9ef395af0fbd8fd7840f216e9baf75b3ab97e3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "255221ebd6118210bd241343b9ef395af0fbd8fd7840f216e9baf75b3ab97e3e", kill_on_drop: false }`
[INFO] [stdout] 255221ebd6118210bd241343b9ef395af0fbd8fd7840f216e9baf75b3ab97e3e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d6cec50ccd1b3d70a7e612b8c68d9385934d44a9688e396f6f628bd21212d7c7
[INFO] running `Command { std: "docker" "start" "-a" "d6cec50ccd1b3d70a7e612b8c68d9385934d44a9688e396f6f628bd21212d7c7", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.52
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]    Compiling serde_derive v1.0.117
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking liquid-error v0.16.1
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking adler v0.2.3
[INFO] [stderr]     Checking regex-syntax v0.6.21
[INFO] [stderr]     Checking unicode-bidi v0.3.4
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]     Checking tinyvec v1.1.0
[INFO] [stderr]     Checking gimli v0.23.0
[INFO] [stderr]     Checking itertools v0.7.11
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]     Checking rustc-demangle v0.1.18
[INFO] [stderr]     Checking object v0.22.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking unicode-segmentation v1.7.1
[INFO] [stderr]     Checking fixedbitset v0.1.9
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling miniz_oxide v0.4.3
[INFO] [stderr]     Checking aho-corasick v0.7.15
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]     Checking unicode-normalization v0.1.16
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]     Checking regex v1.4.2
[INFO] [stderr]     Checking addr2line v0.14.0
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]     Checking backtrace v0.3.55
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking liquid-value v0.17.1
[INFO] [stderr]     Checking liquid-interpreter v0.17.1
[INFO] [stderr]     Checking liquid-compiler v0.17.1
[INFO] [stderr]     Checking liquid v0.17.1
[INFO] [stderr]     Checking rflex v0.8.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: methods `set_end` and `set_start` are never used
[INFO] [stdout]   --> src/charclasses.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Interval {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn set_end(&mut self, end: usize) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn set_start(&mut self, start: usize) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_char` is never used
[INFO] [stdout]    --> src/charclasses.rs:155:12
[INFO] [stdout]     |
[INFO] [stdout] 37  | impl IntCharSet {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub fn add_char(&mut self, c: usize) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_max_char_code`, `set_max_char_code`, and `to_string_i` are never used
[INFO] [stdout]    --> src/charclasses.rs:396:12
[INFO] [stdout]     |
[INFO] [stdout] 382 | impl CharClasses {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 396 |     pub fn get_max_char_code(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 400 |     pub fn set_max_char_code(&mut self, max_char_code: usize) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 511 |     pub fn to_string_i(&self, index: usize) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `write_dot` and `dump` are never used
[INFO] [stdout]    --> src/dfa.rs:480:12
[INFO] [stdout]     |
[INFO] [stdout] 16  | impl DFA {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 480 |     pub fn write_dot(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 503 |     pub fn dump(&self) -> String {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `dump_epsilon`, `dump_fixedbit`, `dump_fixedbit_str`, `write_dot`, and `dump_table` are never used
[INFO] [stdout]    --> src/nfa.rs:528:8
[INFO] [stdout]     |
[INFO] [stdout] 33  | impl NFA {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 528 |     fn dump_epsilon(&self, epsilon: Vec<Option<Rc<RefCell<FixedBitSet>>>>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 542 |     fn dump_fixedbit(&self, v: &FixedBitSet) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 546 |     fn dump_fixedbit_str(&self, v: &FixedBitSet) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 559 |     pub fn write_dot(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 594 |     pub fn dump_table(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/nfa.rs:527:12
[INFO] [stdout]     |
[INFO] [stdout] 527 |     #[warn(dead_code)]
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Name` is never constructed
[INFO] [stdout]   --> src/scanner.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub enum Ast {
[INFO] [stdout]    |          --- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 37 |     Name(String),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Ast` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `line_num` is never read
[INFO] [stdout]    --> src/scanner.rs:335:5
[INFO] [stdout]     |
[INFO] [stdout] 333 | pub struct RegexScanner<'a, 'b> {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] 334 |     chars: Chars<'a>,
[INFO] [stdout] 335 |     line_num: usize,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RegexScanner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_char_classes` is never used
[INFO] [stdout]    --> src/scanner.rs:354:12
[INFO] [stdout]     |
[INFO] [stdout] 341 | impl<'a, 'b> RegexScanner<'a, 'b> {
[INFO] [stdout]     | --------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 354 |     pub fn get_char_classes(&self) -> CharClasses {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_regex` is never used
[INFO] [stdout]    --> src/scanner.rs:584:4
[INFO] [stdout]     |
[INFO] [stdout] 584 | fn parse_regex(line_num: usize, line: &String) -> Result<(IR, String), TranslateError> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `num` is never used
[INFO] [stdout]    --> src/scanner.rs:681:12
[INFO] [stdout]     |
[INFO] [stdout] 671 | impl Action {
[INFO] [stdout]     | ----------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 681 |     pub fn num(num: i32) -> Action {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/error.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Fail, Debug)]
[INFO] [stdout]   |          ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_ErrorKind`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]   = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/error.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Fail, Debug)]
[INFO] [stdout]   |          ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorKind`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rflex` (lib) due to 3 previous errors; 10 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: methods `set_end` and `set_start` are never used
[INFO] [stdout]   --> src/charclasses.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Interval {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn set_end(&mut self, end: usize) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn set_start(&mut self, start: usize) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_max_char_code` and `set_max_char_code` are never used
[INFO] [stdout]    --> src/charclasses.rs:396:12
[INFO] [stdout]     |
[INFO] [stdout] 382 | impl CharClasses {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 396 |     pub fn get_max_char_code(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 400 |     pub fn set_max_char_code(&mut self, max_char_code: usize) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `dump` is never used
[INFO] [stdout]    --> src/dfa.rs:503:12
[INFO] [stdout]     |
[INFO] [stdout] 16  | impl DFA {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 503 |     pub fn dump(&self) -> String {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `dump_epsilon`, `dump_fixedbit`, `dump_fixedbit_str`, and `dump_table` are never used
[INFO] [stdout]    --> src/nfa.rs:528:8
[INFO] [stdout]     |
[INFO] [stdout] 33  | impl NFA {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 528 |     fn dump_epsilon(&self, epsilon: Vec<Option<Rc<RefCell<FixedBitSet>>>>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 542 |     fn dump_fixedbit(&self, v: &FixedBitSet) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 546 |     fn dump_fixedbit_str(&self, v: &FixedBitSet) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 594 |     pub fn dump_table(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/nfa.rs:527:12
[INFO] [stdout]     |
[INFO] [stdout] 527 |     #[warn(dead_code)]
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Name` is never constructed
[INFO] [stdout]   --> src/scanner.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub enum Ast {
[INFO] [stdout]    |          --- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 37 |     Name(String),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Ast` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `line_num` is never read
[INFO] [stdout]    --> src/scanner.rs:335:5
[INFO] [stdout]     |
[INFO] [stdout] 333 | pub struct RegexScanner<'a, 'b> {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] 334 |     chars: Chars<'a>,
[INFO] [stdout] 335 |     line_num: usize,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RegexScanner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_char_classes` is never used
[INFO] [stdout]    --> src/scanner.rs:354:12
[INFO] [stdout]     |
[INFO] [stdout] 341 | impl<'a, 'b> RegexScanner<'a, 'b> {
[INFO] [stdout]     | --------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 354 |     pub fn get_char_classes(&self) -> CharClasses {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/error.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Fail, Debug)]
[INFO] [stdout]   |          ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_ErrorKind`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]   = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/error.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Fail, Debug)]
[INFO] [stdout]   |          ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorKind`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rflex` (lib test) due to 3 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d6cec50ccd1b3d70a7e612b8c68d9385934d44a9688e396f6f628bd21212d7c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6cec50ccd1b3d70a7e612b8c68d9385934d44a9688e396f6f628bd21212d7c7", kill_on_drop: false }`
[INFO] [stdout] d6cec50ccd1b3d70a7e612b8c68d9385934d44a9688e396f6f628bd21212d7c7
