[INFO] cloning repository https://github.com/zhangyushao0/seu_lex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhangyushao0/seu_lex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangyushao0%2Fseu_lex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangyushao0%2Fseu_lex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae2ca3eaf52af7b1f67eab547fffc6edb156ca80 [INFO] checking zhangyushao0/seu_lex against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangyushao0%2Fseu_lex" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhangyushao0/seu_lex on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zhangyushao0/seu_lex [INFO] finished tweaking git repo https://github.com/zhangyushao0/seu_lex [INFO] tweaked toml for git repo https://github.com/zhangyushao0/seu_lex written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zhangyushao0/seu_lex 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded display_tree v1.1.2 [INFO] [stderr] Downloaded display_tree_derive v1.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29f3b9db93ef2b4e370487077b51b47dc6a97695a26ccc9c761fea27a1fb9c58 [INFO] running `Command { std: "docker" "start" "-a" "29f3b9db93ef2b4e370487077b51b47dc6a97695a26ccc9c761fea27a1fb9c58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29f3b9db93ef2b4e370487077b51b47dc6a97695a26ccc9c761fea27a1fb9c58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29f3b9db93ef2b4e370487077b51b47dc6a97695a26ccc9c761fea27a1fb9c58", kill_on_drop: false }` [INFO] [stdout] 29f3b9db93ef2b4e370487077b51b47dc6a97695a26ccc9c761fea27a1fb9c58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52bd43c020ce6c0a1010928345b5c2f3cdcca7089054dd1da786b605d2a8b66f [INFO] running `Command { std: "docker" "start" "-a" "52bd43c020ce6c0a1010928345b5c2f3cdcca7089054dd1da786b605d2a8b66f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling display_tree_derive v1.0.3 [INFO] [stderr] Checking display_tree v1.1.2 [INFO] [stderr] Checking seu_lex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AsTree`, `CharSet` [INFO] [stdout] --> src/nfa/ast.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use display_tree::{AsTree, CharSet, DisplayTree, StyleBuilder}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StyleBuilder` [INFO] [stdout] --> src/nfa/ast.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use display_tree::{AsTree, CharSet, DisplayTree, StyleBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `And`, `Or`, `Star`, and `Char` are never constructed [INFO] [stdout] --> src/nfa/ast.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum AstNode { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 5 | And(#[tree] Box, #[tree] Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | Or(#[tree] Box, #[tree] Box), [INFO] [stdout] | ^^ [INFO] [stdout] 7 | Star(#[tree] Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Char(char), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AstNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/nfa/ast.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_dot`, `to_postfix`, `to_ast`, `to_ast_directly`, and `parse` are never used [INFO] [stdout] --> src/nfa/ast.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(pattern: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn add_dot(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn to_postfix(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn to_ast(&mut self) -> AstNode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn to_ast_directly(&mut self) -> AstNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn parse(&mut self) -> AstNode { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Transition` is never used [INFO] [stdout] --> src/nfa/nfa_construct.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum Transition { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NfaState` is never constructed [INFO] [stdout] --> src/nfa/nfa_construct.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct NfaState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Nfa` is never constructed [INFO] [stdout] --> src/nfa/nfa_construct.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Nfa { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_state`, `construct`, and `construct_node` are never used [INFO] [stdout] --> src/nfa/nfa_construct.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl Nfa { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 22 | fn new(pattern: String) -> Nfa { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn get_state(&mut self, state: usize) -> &mut NfaState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn construct(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn construct_node(&mut self, node: ast::AstNode) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.40s [INFO] running `Command { std: "docker" "inspect" "52bd43c020ce6c0a1010928345b5c2f3cdcca7089054dd1da786b605d2a8b66f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52bd43c020ce6c0a1010928345b5c2f3cdcca7089054dd1da786b605d2a8b66f", kill_on_drop: false }` [INFO] [stdout] 52bd43c020ce6c0a1010928345b5c2f3cdcca7089054dd1da786b605d2a8b66f [INFO] checking zhangyushao0/seu_lex against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangyushao0%2Fseu_lex" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhangyushao0/seu_lex on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zhangyushao0/seu_lex [INFO] finished tweaking git repo https://github.com/zhangyushao0/seu_lex [INFO] tweaked toml for git repo https://github.com/zhangyushao0/seu_lex written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/zhangyushao0/seu_lex 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3beb250efd4f9e1a5ae496ee62e0a990457e5aaf817200e91410e7ea9928403 [INFO] running `Command { std: "docker" "start" "-a" "e3beb250efd4f9e1a5ae496ee62e0a990457e5aaf817200e91410e7ea9928403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3beb250efd4f9e1a5ae496ee62e0a990457e5aaf817200e91410e7ea9928403", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3beb250efd4f9e1a5ae496ee62e0a990457e5aaf817200e91410e7ea9928403", kill_on_drop: false }` [INFO] [stdout] e3beb250efd4f9e1a5ae496ee62e0a990457e5aaf817200e91410e7ea9928403 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90728134d8347b08d1925ace551ac9a98948a9cb09339b2adfb7e0dff467bd08 [INFO] running `Command { std: "docker" "start" "-a" "90728134d8347b08d1925ace551ac9a98948a9cb09339b2adfb7e0dff467bd08", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling display_tree_derive v1.0.3 [INFO] [stderr] Checking display_tree v1.1.2 [INFO] [stderr] Checking seu_lex v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/nfa/ast.rs (1 fix) [INFO] [stdout] warning: unused import: `StyleBuilder` [INFO] [stdout] --> src/nfa/ast.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use display_tree::{DisplayTree, StyleBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `And`, `Or`, `Star`, and `Char` are never constructed [INFO] [stdout] --> src/nfa/ast.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum AstNode { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 5 | And(#[tree] Box, #[tree] Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | Or(#[tree] Box, #[tree] Box), [INFO] [stdout] | ^^ [INFO] [stdout] 7 | Star(#[tree] Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Char(char), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AstNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/nfa/ast.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_dot`, `to_postfix`, `to_ast`, `to_ast_directly`, and `parse` are never used [INFO] [stdout] --> src/nfa/ast.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(pattern: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn add_dot(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn to_postfix(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn to_ast(&mut self) -> AstNode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn to_ast_directly(&mut self) -> AstNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn parse(&mut self) -> AstNode { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Transition` is never used [INFO] [stdout] --> src/nfa/nfa_construct.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum Transition { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NfaState` is never constructed [INFO] [stdout] --> src/nfa/nfa_construct.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct NfaState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Nfa` is never constructed [INFO] [stdout] --> src/nfa/nfa_construct.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Nfa { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_state`, `construct`, and `construct_node` are never used [INFO] [stdout] --> src/nfa/nfa_construct.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl Nfa { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 22 | fn new(pattern: String) -> Nfa { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn get_state(&mut self, state: usize) -> &mut NfaState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn construct(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn construct_node(&mut self, node: ast::AstNode) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.17s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking seu_lex v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AsTree` [INFO] [stdout] --> src/nfa/ast.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | AsTree::new(&ast) [INFO] [stdout] | ^^^^^^ use of undeclared type `AsTree` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 173 + use display_tree::AsTree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CharSet` [INFO] [stdout] --> src/nfa/ast.rs:199:27 [INFO] [stdout] | [INFO] [stdout] 199 | .char_set(CharSet::DOUBLE_LINE) [INFO] [stdout] | ^^^^^^^ use of undeclared type `CharSet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 173 + use display_tree::CharSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AsTree` [INFO] [stdout] --> src/nfa/ast.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | AsTree::new(&ast) [INFO] [stdout] | ^^^^^^ use of undeclared type `AsTree` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 173 + use display_tree::AsTree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CharSet` [INFO] [stdout] --> src/nfa/ast.rs:212:27 [INFO] [stdout] | [INFO] [stdout] 212 | .char_set(CharSet::DOUBLE_LINE) [INFO] [stdout] | ^^^^^^^ use of undeclared type `CharSet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 173 + use display_tree::CharSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StyleBuilder` [INFO] [stdout] --> src/nfa/ast.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use display_tree::{DisplayTree, StyleBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StyleBuilder` [INFO] [stdout] --> src/nfa/ast.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use display_tree::{DisplayTree, StyleBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: variants `And`, `Or`, `Star`, and `Char` are never constructed [INFO] [stdout] --> src/nfa/ast.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum AstNode { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 5 | And(#[tree] Box, #[tree] Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | Or(#[tree] Box, #[tree] Box), [INFO] [stdout] | ^^ [INFO] [stdout] 7 | Star(#[tree] Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Char(char), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AstNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/nfa/ast.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_dot`, `to_postfix`, `to_ast`, `to_ast_directly`, and `parse` are never used [INFO] [stdout] --> src/nfa/ast.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(pattern: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn add_dot(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn to_postfix(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn to_ast(&mut self) -> AstNode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn to_ast_directly(&mut self) -> AstNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn parse(&mut self) -> AstNode { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Transition` is never used [INFO] [stdout] --> src/nfa/nfa_construct.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum Transition { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NfaState` is never constructed [INFO] [stdout] --> src/nfa/nfa_construct.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct NfaState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Nfa` is never constructed [INFO] [stdout] --> src/nfa/nfa_construct.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Nfa { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_state`, `construct`, and `construct_node` are never used [INFO] [stdout] --> src/nfa/nfa_construct.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl Nfa { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 22 | fn new(pattern: String) -> Nfa { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn get_state(&mut self, state: usize) -> &mut NfaState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn construct(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn construct_node(&mut self, node: ast::AstNode) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `seu_lex` (bin "seu_lex" test) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "90728134d8347b08d1925ace551ac9a98948a9cb09339b2adfb7e0dff467bd08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90728134d8347b08d1925ace551ac9a98948a9cb09339b2adfb7e0dff467bd08", kill_on_drop: false }` [INFO] [stdout] 90728134d8347b08d1925ace551ac9a98948a9cb09339b2adfb7e0dff467bd08