[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] c62994c97d43777be71b2ab2c02ec4c446852c87
[INFO] checking zhangyushao0/seu_lex/c62994c97d43777be71b2ab2c02ec4c446852c87 against master#1fe72d35998dea48aeecaf7fc07783b0b553f24f for pr-154992
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhangyushao0%2Fseu_lex" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[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-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/zhangyushao0/seu_lex on toolchain 1fe72d35998dea48aeecaf7fc07783b0b553f24f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "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] [stderr]   Downloaded annotate-snippets v0.11.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cb0163fdc6d7369961eb2616c69bb76eca749e7317b6b98c40f7e38dce2810cf
[INFO] running `Command { std: "docker" "start" "-a" "cb0163fdc6d7369961eb2616c69bb76eca749e7317b6b98c40f7e38dce2810cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cb0163fdc6d7369961eb2616c69bb76eca749e7317b6b98c40f7e38dce2810cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb0163fdc6d7369961eb2616c69bb76eca749e7317b6b98c40f7e38dce2810cf", kill_on_drop: false }`
[INFO] [stdout] cb0163fdc6d7369961eb2616c69bb76eca749e7317b6b98c40f7e38dce2810cf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d3e3eafa849905d5d54b29cc6ed53e20cc58a121cf7cc81bb2e8a5576ad032ed
[INFO] running `Command { std: "docker" "start" "-a" "d3e3eafa849905d5d54b29cc6ed53e20cc58a121cf7cc81bb2e8a5576ad032ed", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]     Checking unicode-width v0.1.11
[INFO] [stderr]     Checking anstyle v1.0.6
[INFO] [stderr]     Checking fixedbitset v0.4.2
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking annotate-snippets v0.11.1
[INFO] [stderr]     Checking indexmap v2.2.5
[INFO] [stderr]     Checking petgraph v0.6.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[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` and `CharSet`
[INFO] [stdout]  --> src/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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Config`
[INFO] [stdout]  --> src/dfa.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use petgraph::dot::{Config, Dot};
[INFO] [stdout]   |                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Config`
[INFO] [stdout]  --> src/nfa.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use petgraph::dot::{Config, Dot};
[INFO] [stdout]   |                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Config`
[INFO] [stdout]  --> src/dfa.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use petgraph::dot::{Config, Dot};
[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: `Config`
[INFO] [stdout]  --> src/nfa.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use petgraph::dot::{Config, Dot};
[INFO] [stdout]   |                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StyleBuilder`
[INFO] [stdout]  --> src/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: unused variable: `next`
[INFO] [stdout]   --> src/dfa.rs:62:21
[INFO] [stdout]    |
[INFO] [stdout] 62 |             for (t, next) in self.nfa.states[s].transitions.iter() {
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_next`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/dfa.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let mut start = self.get_epsilon_closure(self.nfa.start);
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/dfa.rs:305:13
[INFO] [stdout]     |
[INFO] [stdout] 305 |         let mut dot = Dot::new(&graph);
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/nfa.rs:212:13
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let mut dot = Dot::new(&graph);
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/nfa.rs:188:17
[INFO] [stdout]     |
[INFO] [stdout] 188 |         for (i, state) in self.states.iter().enumerate() {
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `line_no` is assigned to, but never used
[INFO] [stdout]   --> src/lib.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let mut line_no = 0;
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_line_no` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `col_no` is assigned to, but never used
[INFO] [stdout]   --> src/lib.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let mut col_no = 0;
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_col_no` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `line_no` is never read
[INFO] [stdout]   --> src/lib.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |                 line_no = i;
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `col_no` is never read
[INFO] [stdout]   --> src/lib.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 col_no = error_pos - pos;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `BackSlash` is never constructed
[INFO] [stdout]   --> src/ast.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | enum CharType {
[INFO] [stdout]    |      -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 24 |     BackSlash,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CharType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `to_postfix` and `to_ast` are never used
[INFO] [stdout]    --> src/ast.rs:66:8
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl Parser {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  66 |     fn to_postfix(&mut self) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     fn to_ast(&mut self) -> AstNode {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_graphviz` is never used
[INFO] [stdout]    --> src/dfa.rs:277:12
[INFO] [stdout]     |
[INFO] [stdout]  23 | impl Dfa {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 277 |     pub fn to_graphviz(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_graphviz` is never used
[INFO] [stdout]    --> src/nfa.rs:185:8
[INFO] [stdout]     |
[INFO] [stdout]  25 | impl Nfa {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 185 |     fn to_graphviz(&self) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `next`
[INFO] [stdout]   --> src/dfa.rs:62:21
[INFO] [stdout]    |
[INFO] [stdout] 62 |             for (t, next) in self.nfa.states[s].transitions.iter() {
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_next`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/dfa.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let mut start = self.get_epsilon_closure(self.nfa.start);
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/dfa.rs:305:13
[INFO] [stdout]     |
[INFO] [stdout] 305 |         let mut dot = Dot::new(&graph);
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/nfa.rs:212:13
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let mut dot = Dot::new(&graph);
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/nfa.rs:188:17
[INFO] [stdout]     |
[INFO] [stdout] 188 |         for (i, state) in self.states.iter().enumerate() {
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `line_no` is assigned to, but never used
[INFO] [stdout]   --> src/lib.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let mut line_no = 0;
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_line_no` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `col_no` is assigned to, but never used
[INFO] [stdout]   --> src/lib.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let mut col_no = 0;
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_col_no` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `line_no` is never read
[INFO] [stdout]   --> src/lib.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |                 line_no = i;
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `col_no` is never read
[INFO] [stdout]   --> src/lib.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 col_no = error_pos - pos;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `BackSlash` is never constructed
[INFO] [stdout]   --> src/ast.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | enum CharType {
[INFO] [stdout]    |      -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 24 |     BackSlash,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CharType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.84s
[INFO] running `Command { std: "docker" "inspect" "d3e3eafa849905d5d54b29cc6ed53e20cc58a121cf7cc81bb2e8a5576ad032ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d3e3eafa849905d5d54b29cc6ed53e20cc58a121cf7cc81bb2e8a5576ad032ed", kill_on_drop: false }`
[INFO] [stdout] d3e3eafa849905d5d54b29cc6ed53e20cc58a121cf7cc81bb2e8a5576ad032ed
