[INFO] cloning repository https://github.com/SPF-OST/trnsys-deck-parser-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SPF-OST/trnsys-deck-parser-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSPF-OST%2Ftrnsys-deck-parser-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSPF-OST%2Ftrnsys-deck-parser-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a4ccc0311bcc5e835e0b29be5dcde17ef647a83 [INFO] checking SPF-OST/trnsys-deck-parser-rs/9a4ccc0311bcc5e835e0b29be5dcde17ef647a83 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSPF-OST%2Ftrnsys-deck-parser-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SPF-OST/trnsys-deck-parser-rs on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/SPF-OST/trnsys-deck-parser-rs [INFO] finished tweaking git repo https://github.com/SPF-OST/trnsys-deck-parser-rs [INFO] tweaked toml for git repo https://github.com/SPF-OST/trnsys-deck-parser-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SPF-OST/trnsys-deck-parser-rs 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5855364ce20afecc843f7fd7984dc4fa7d70f5fe83118e95bddaf57bef340823 [INFO] running `Command { std: "docker" "start" "-a" "5855364ce20afecc843f7fd7984dc4fa7d70f5fe83118e95bddaf57bef340823", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5855364ce20afecc843f7fd7984dc4fa7d70f5fe83118e95bddaf57bef340823", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5855364ce20afecc843f7fd7984dc4fa7d70f5fe83118e95bddaf57bef340823", kill_on_drop: false }` [INFO] [stdout] 5855364ce20afecc843f7fd7984dc4fa7d70f5fe83118e95bddaf57bef340823 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3cc116e7a452a9565edb6688c981a14cca2ee999ab5a3ed2cea39c058e811bf7 [INFO] running `Command { std: "docker" "start" "-a" "3cc116e7a452a9565edb6688c981a14cca2ee999ab5a3ed2cea39c058e811bf7", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking trnsys-deck-parser-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/parse/lexer.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use super::base::lexer::{self, TokenDefinition}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description` and `regex` are never read [INFO] [stdout] --> src/parse/base/lexer.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct TokenDefinition { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 3 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | regex: regex::Regex, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `definition` and `value` are never read [INFO] [stdout] --> src/parse/base/lexer.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Token<'t, 'i> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 11 | pub definition: &'t TokenDefinition, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | value: &'i str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_custom` and `new` are never used [INFO] [stdout] --> src/parse/base/lexer.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl TokenDefinition { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 16 | pub fn new_custom( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn new(description: &str, regex_pattern: &str) -> TokenDefinition { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input`, `current_pos`, and `token_definitions` are never read [INFO] [stdout] --> src/parse/base/lexer.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Lexer<'t, 'i> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 46 | input: &'i str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | current_pos: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 48 | token_definitions: Vec<&'t TokenDefinition>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `current_pos`, `get_next_token`, and `advance_current_pos` are never used [INFO] [stdout] --> src/parse/base/lexer.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'t, 'i> Lexer<'t, 'i> { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 52 | pub fn new<'ii, 'tt, I>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn current_pos(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn get_next_token<'l>(&'l mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn advance_current_pos(&mut self, new_current_pos: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `remaining_input_string_start_index` are never read [INFO] [stdout] --> src/parse/base/parser.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Success { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 15 | value: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | remaining_input_string_start_index: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Success` 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 `parse` is never used [INFO] [stdout] --> src/parse/base/parser.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait Parser { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 22 | fn parse(&mut self) -> ParseResult; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lexer` and `current_token` are never read [INFO] [stdout] --> src/parse/base/parser.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ParseState<'t, 'i> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 26 | lexer: lexer::Lexer<'t, 'i>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | current_token: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `accept`, `expect_sub_parser`, `expect`, and `get_current_token` are never used [INFO] [stdout] --> src/parse/base/parser.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl<'t, 'i> ParseState<'t, 'i> { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 31 | pub fn new<'tt, 'ii>(lexer: lexer::Lexer<'tt, 'ii>) -> ParseState<'tt, 'ii> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn accept( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn expect_sub_parser(&mut self, sub_parser: &mut impl Parser) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn expect( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn get_current_token(option: &Option>) -> lexer::Token<'t, 'i> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `variable` is never read [INFO] [stdout] --> src/parse/lexer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct TokenDefinitions { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 4 | variable: TokenDefinition, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `all` are never used [INFO] [stdout] --> src/parse/lexer.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl TokenDefinitions { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 8 | pub fn new() -> TokenDefinitions { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn all(&self) -> Vec<&TokenDefinition> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token_definitions` and `state` are never read [INFO] [stdout] --> src/parse/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Parser<'t, 'i> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | token_definitions: &'t lexer::TokenDefinitions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | state: base::parser::ParseState<'t, 'i>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/parse/parser.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'t, 'i> Parser<'t, 'i> { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 22 | pub fn new<'tt, 'ii>( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParserBuilder` is never constructed [INFO] [stdout] --> src/parse/parser.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct ParserBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `build` are never used [INFO] [stdout] --> src/parse/parser.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl ParserBuilder { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 41 | pub fn new() -> ParserBuilder { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn build<'b, 'i>(&'b self, input: &'i str) -> Parser<'b, 'i> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/parse/base/lexer.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct TokenDefinition { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 3 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/parse/base/lexer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Token<'t, 'i> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 11 | pub definition: &'t TokenDefinition, [INFO] [stdout] 12 | value: &'i str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `current_pos` and `advance_current_pos` are never used [INFO] [stdout] --> src/parse/base/lexer.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'t, 'i> Lexer<'t, 'i> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn current_pos(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn advance_current_pos(&mut self, new_current_pos: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `remaining_input_string_start_index` are never read [INFO] [stdout] --> src/parse/base/parser.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Success { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 15 | value: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | remaining_input_string_start_index: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Success` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lexer` and `current_token` are never read [INFO] [stdout] --> src/parse/base/parser.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ParseState<'t, 'i> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 26 | lexer: lexer::Lexer<'t, 'i>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | current_token: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `accept`, `expect_sub_parser`, `expect`, and `get_current_token` are never used [INFO] [stdout] --> src/parse/base/parser.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl<'t, 'i> ParseState<'t, 'i> { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn accept( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn expect_sub_parser(&mut self, sub_parser: &mut impl Parser) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn expect( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | fn get_current_token(option: &Option>) -> lexer::Token<'t, 'i> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token_definitions` and `state` are never read [INFO] [stdout] --> src/parse/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Parser<'t, 'i> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | token_definitions: &'t lexer::TokenDefinitions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | state: base::parser::ParseState<'t, 'i>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.09s [INFO] running `Command { std: "docker" "inspect" "3cc116e7a452a9565edb6688c981a14cca2ee999ab5a3ed2cea39c058e811bf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cc116e7a452a9565edb6688c981a14cca2ee999ab5a3ed2cea39c058e811bf7", kill_on_drop: false }` [INFO] [stdout] 3cc116e7a452a9565edb6688c981a14cca2ee999ab5a3ed2cea39c058e811bf7