[INFO] cloning repository https://github.com/totechite/Learning_parser_with_Rustlang
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/totechite/Learning_parser_with_Rustlang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftotechite%2FLearning_parser_with_Rustlang", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftotechite%2FLearning_parser_with_Rustlang'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] da17114a434ca908ed3f134f3692de7f5c3c3a7a
[INFO] checking totechite/Learning_parser_with_Rustlang/da17114a434ca908ed3f134f3692de7f5c3c3a7a against 1.94.0 for beta-1.95-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftotechite%2FLearning_parser_with_Rustlang" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/totechite/Learning_parser_with_Rustlang
[INFO] finished tweaking git repo https://github.com/totechite/Learning_parser_with_Rustlang
[INFO] tweaked toml for git repo https://github.com/totechite/Learning_parser_with_Rustlang written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/totechite/Learning_parser_with_Rustlang on toolchain 1.94.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/totechite/Learning_parser_with_Rustlang 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" "+1.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded lazy_static v1.0.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b5aa92742061cd423fb0a2daf3640b10e4348a9b8ec845a0d8d46f9666ae13f4
[INFO] running `Command { std: "docker" "start" "-a" "b5aa92742061cd423fb0a2daf3640b10e4348a9b8ec845a0d8d46f9666ae13f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b5aa92742061cd423fb0a2daf3640b10e4348a9b8ec845a0d8d46f9666ae13f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b5aa92742061cd423fb0a2daf3640b10e4348a9b8ec845a0d8d46f9666ae13f4", kill_on_drop: false }`
[INFO] [stdout] b5aa92742061cd423fb0a2daf3640b10e4348a9b8ec845a0d8d46f9666ae13f4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 71a9e8e4d26d305b1d10f3fddbba84ca8eb98caabe123c8343394a42ed5a2a2a
[INFO] running `Command { std: "docker" "start" "-a" "71a9e8e4d26d305b1d10f3fddbba84ca8eb98caabe123c8343394a42ed5a2a2a", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking libc v0.2.42
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking lazy_static v1.0.2
[INFO] [stderr]     Checking unreachable v1.0.0
[INFO] [stderr]     Checking thread_local v0.3.5
[INFO] [stderr]     Checking memchr v2.0.1
[INFO] [stderr]     Checking aho-corasick v0.6.6
[INFO] [stderr]     Checking regex v1.0.2
[INFO] [stderr]     Checking rust_lexer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `N_A` should have an upper camel case name
[INFO] [stdout]  --> src/token.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     N_A,
[INFO] [stdout]   |     ^^^ help: convert the identifier to upper camel case: `NA`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `L_BRACKET` should have an upper camel case name
[INFO] [stdout]  --> src/token.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     L_BRACKET,
[INFO] [stdout]   |     ^^^^^^^^^ help: convert the identifier to upper camel case: `LBracket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `R_BRACKET` should have an upper camel case name
[INFO] [stdout]  --> src/token.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     R_BRACKET
[INFO] [stdout]   |     ^^^^^^^^^ help: convert the identifier to upper camel case: `RBracket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LexerBuilder` and `Lexer`
[INFO] [stdout]  --> src/lib.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use lexer::{Lexer, LexerBuilder};
[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: `token::Token`
[INFO] [stdout]  --> src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use token::Token;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `N_A` should have an upper camel case name
[INFO] [stdout]  --> src/token.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     N_A,
[INFO] [stdout]   |     ^^^ help: convert the identifier to upper camel case: `NA`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `L_BRACKET` should have an upper camel case name
[INFO] [stdout]  --> src/token.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     L_BRACKET,
[INFO] [stdout]   |     ^^^^^^^^^ help: convert the identifier to upper camel case: `LBracket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `R_BRACKET` should have an upper camel case name
[INFO] [stdout]  --> src/token.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     R_BRACKET
[INFO] [stdout]   |     ^^^^^^^^^ help: convert the identifier to upper camel case: `RBracket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LexerBuilder` and `Lexer`
[INFO] [stdout]  --> src/lib.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use lexer::{Lexer, LexerBuilder};
[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: `token::Token`
[INFO] [stdout]  --> src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use token::Token;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `theChar` is never read
[INFO] [stdout]   --> src/lexer.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub struct LexerBuilder{
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 86 |     theChar: char,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `theChar` should have a snake case name
[INFO] [stdout]   --> src/lexer.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub theChar: Option<char>,
[INFO] [stdout]    |         ^^^^^^^ help: convert the identifier to snake case: `the_char`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `strV` should have a snake case name
[INFO] [stdout]   --> src/lexer.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let mut strV = "".to_string();
[INFO] [stdout]    |                 ^^^^ help: convert the identifier to snake case: `str_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `theChar` should have a snake case name
[INFO] [stdout]   --> src/lexer.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 86 |     theChar: char,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to snake case: `the_char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `theChar` is never read
[INFO] [stdout]   --> src/lexer.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub struct LexerBuilder{
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 86 |     theChar: char,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `theChar` should have a snake case name
[INFO] [stdout]   --> src/lexer.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub theChar: Option<char>,
[INFO] [stdout]    |         ^^^^^^^ help: convert the identifier to snake case: `the_char`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `strV` should have a snake case name
[INFO] [stdout]   --> src/lexer.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let mut strV = "".to_string();
[INFO] [stdout]    |                 ^^^^ help: convert the identifier to snake case: `str_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `theChar` should have a snake case name
[INFO] [stdout]   --> src/lexer.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 86 |     theChar: char,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to snake case: `the_char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `N_A` should have an upper camel case name
[INFO] [stdout]  --> src/token.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     N_A,
[INFO] [stdout]   |     ^^^ help: convert the identifier to upper camel case: `NA`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `L_BRACKET` should have an upper camel case name
[INFO] [stdout]  --> src/token.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     L_BRACKET,
[INFO] [stdout]   |     ^^^^^^^^^ help: convert the identifier to upper camel case: `LBracket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `R_BRACKET` should have an upper camel case name
[INFO] [stdout]  --> src/token.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     R_BRACKET
[INFO] [stdout]   |     ^^^^^^^^^ help: convert the identifier to upper camel case: `RBracket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `N_A` should have an upper camel case name
[INFO] [stdout]  --> src/token.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     N_A,
[INFO] [stdout]   |     ^^^ help: convert the identifier to upper camel case: `NA`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `L_BRACKET` should have an upper camel case name
[INFO] [stdout]  --> src/token.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     L_BRACKET,
[INFO] [stdout]   |     ^^^^^^^^^ help: convert the identifier to upper camel case: `LBracket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `R_BRACKET` should have an upper camel case name
[INFO] [stdout]  --> src/token.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     R_BRACKET
[INFO] [stdout]   |     ^^^^^^^^^ help: convert the identifier to upper camel case: `RBracket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `theChar` is never read
[INFO] [stdout]   --> src/lexer.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub struct LexerBuilder{
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 86 |     theChar: char,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `theChar` is never read
[INFO] [stdout]   --> src/lexer.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub struct LexerBuilder{
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 86 |     theChar: char,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     file.read_to_string(&mut contents);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let _ = file.read_to_string(&mut contents);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `theChar` should have a snake case name
[INFO] [stdout]   --> src/lexer.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub theChar: Option<char>,
[INFO] [stdout]    |         ^^^^^^^ help: convert the identifier to snake case: `the_char`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `strV` should have a snake case name
[INFO] [stdout]   --> src/lexer.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let mut strV = "".to_string();
[INFO] [stdout]    |                 ^^^^ help: convert the identifier to snake case: `str_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `theChar` should have a snake case name
[INFO] [stdout]   --> src/lexer.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 86 |     theChar: char,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to snake case: `the_char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     file.read_to_string(&mut contents);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let _ = file.read_to_string(&mut contents);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `theChar` should have a snake case name
[INFO] [stdout]   --> src/lexer.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub theChar: Option<char>,
[INFO] [stdout]    |         ^^^^^^^ help: convert the identifier to snake case: `the_char`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `strV` should have a snake case name
[INFO] [stdout]   --> src/lexer.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let mut strV = "".to_string();
[INFO] [stdout]    |                 ^^^^ help: convert the identifier to snake case: `str_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `theChar` should have a snake case name
[INFO] [stdout]   --> src/lexer.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 86 |     theChar: char,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to snake case: `the_char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.98s
[INFO] running `Command { std: "docker" "inspect" "71a9e8e4d26d305b1d10f3fddbba84ca8eb98caabe123c8343394a42ed5a2a2a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "71a9e8e4d26d305b1d10f3fddbba84ca8eb98caabe123c8343394a42ed5a2a2a", kill_on_drop: false }`
[INFO] [stdout] 71a9e8e4d26d305b1d10f3fddbba84ca8eb98caabe123c8343394a42ed5a2a2a
