[INFO] cloning repository https://github.com/bretcope/mot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bretcope/mot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbretcope%2Fmot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbretcope%2Fmot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1300e501bdbe62b04720a54b213d55cec7d98464 [INFO] checking bretcope/mot against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbretcope%2Fmot" "/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/bretcope/mot [INFO] finished tweaking git repo https://github.com/bretcope/mot [INFO] tweaked toml for git repo https://github.com/bretcope/mot written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bretcope/mot on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bretcope/mot 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded arrayvec v0.5.1 [INFO] [stderr] Downloaded redox_users v0.3.4 [INFO] [stderr] Downloaded blake2b_simd v0.5.10 [INFO] [stderr] Downloaded dirs-sys v0.3.4 [INFO] [stderr] Downloaded rust-argon2 v0.7.0 [INFO] [stderr] Downloaded unic-ucd-category v0.9.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7f4c81e41d20411c4d9749bf89527af1743b53f9b8fbc8cadea3c5797587b29 [INFO] running `Command { std: "docker" "start" "-a" "e7f4c81e41d20411c4d9749bf89527af1743b53f9b8fbc8cadea3c5797587b29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7f4c81e41d20411c4d9749bf89527af1743b53f9b8fbc8cadea3c5797587b29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7f4c81e41d20411c4d9749bf89527af1743b53f9b8fbc8cadea3c5797587b29", kill_on_drop: false }` [INFO] [stdout] e7f4c81e41d20411c4d9749bf89527af1743b53f9b8fbc8cadea3c5797587b29 [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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b876eaa6541fb3218e7827321df698d4d1ee2bfcbb7cd78b4a316b91008c3bf1 [INFO] running `Command { std: "docker" "start" "-a" "b876eaa6541fb3218e7827321df698d4d1ee2bfcbb7cd78b4a316b91008c3bf1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking unic-ucd-category v0.9.0 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking cli_mot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `RunMode` is never used [INFO] [stdout] --> src/main.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | enum RunMode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/parsing.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileContent` is never constructed [INFO] [stdout] --> src/parsing/content.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct FileContent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parsing/content.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl FileContent { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 15 | pub fn load(filename: &str) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn filename(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn text(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn iter(&self, start: usize) -> ContentIterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn position_details(&self, byte_offset: usize) -> PositionDetails { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn reset_line_markers(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn mark_line(&self, position: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PositionDetails` is never constructed [INFO] [stdout] --> src/parsing/content.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct PositionDetails<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContentIterator` is never constructed [INFO] [stdout] --> src/parsing/content.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct ContentIterator<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_end_of_input`, `position`, and `current_char` are never used [INFO] [stdout] --> src/parsing/content.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 152 | impl<'a> ContentIterator<'a> { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] 153 | pub fn is_end_of_input(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn position(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn current_char(&self) -> char { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParsingError` is never constructed [INFO] [stdout] --> src/parsing/error.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ParsingError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `fmt_position_line` are never used [INFO] [stdout] --> src/parsing/error.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ParsingError { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 16 | pub fn new(position: &PositionDetails, message: String) -> ParsingError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn fmt_position_line(details: &PositionDetails) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LexerResult` is never used [INFO] [stdout] --> src/parsing/lexer.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type LexerResult<'a> = super::Result>>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lexer` is never constructed [INFO] [stdout] --> src/parsing/lexer.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Lexer<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parsing/lexer.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 18 | pub fn new(file_content: &content::FileContent) -> Lexer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn peek_type(&mut self) -> TokenType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn advance(&'a mut self) -> LexerResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn start_new_line(&mut self, line_start: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn reset_iterator(&mut self, position: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn next_char(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn position(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn current_char(&self) -> char { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn char_at(&self, pos: usize) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn is_end_of_input(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn content_slice(&self, start: usize, end: usize) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn error(&self, pos: usize, message: String) -> super::error::ParsingError { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | fn err_result(&self, pos: usize, message: String) -> super::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn err_unexpected_char(&self) -> super::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn create_start_of_input(&self) -> LexerResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn new_token(&mut self, token_type: TokenType, value: Option) -> LexerResult<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn consume_trivia(&mut self) -> super::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | fn consume_comment(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | fn handle_new_line_sequence(&mut self) -> super::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | fn lex(&mut self) -> LexerResult<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | fn lex_literal_value(&mut self) -> LexerResult<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | fn lex_multiline_value(&mut self) -> LexerResult<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | fn lex_value(&mut self) -> LexerResult<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | fn lex_identifier(&mut self) -> LexerResult<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_identifier_char` is never used [INFO] [stdout] --> src/parsing/lexer.rs:344:4 [INFO] [stdout] | [INFO] [stdout] 344 | fn is_identifier_char(ch: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_whitespace` is never used [INFO] [stdout] --> src/parsing/lexer.rs:376:4 [INFO] [stdout] | [INFO] [stdout] 376 | fn is_whitespace(ch: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_new_line_char` is never used [INFO] [stdout] --> src/parsing/lexer.rs:400:4 [INFO] [stdout] | [INFO] [stdout] 400 | fn is_new_line_char(ch: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TokenType` is never used [INFO] [stdout] --> src/parsing/tokens.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum TokenType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Token` is never constructed [INFO] [stdout] --> src/parsing/tokens.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Token<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `leading_trivia`, `trailing_trivia`, `text`, `value`, and `value_or_text` are never used [INFO] [stdout] --> src/parsing/tokens.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a> Token<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 29 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn leading_trivia(&self) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn trailing_trivia(&self) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn text(&self) -> &'a str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn value(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn value_or_text(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parsing/content.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn iter(&self, start: usize) -> ContentIterator { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | pub fn iter(&self, start: usize) -> ContentIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parsing/content.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn position_details(&self, byte_offset: usize) -> PositionDetails { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | pub fn position_details(&self, byte_offset: usize) -> PositionDetails<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parsing/lexer.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(file_content: &content::FileContent) -> Lexer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(file_content: &content::FileContent) -> Lexer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parsing/lexer.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn advance(&'a mut self) -> LexerResult { [INFO] [stdout] | ^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 51 | pub fn advance(&'a mut self) -> LexerResult<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parsing/lexer.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | fn create_start_of_input(&self) -> LexerResult { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 107 | fn create_start_of_input(&self) -> LexerResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/parsing/lexer.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | self.consume_trivia(); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 116 | let _ = self.consume_trivia(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/parsing/lexer.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | self.handle_new_line_sequence(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 288 | let _ = self.handle_new_line_sequence(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parsing/tokens.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | file_content: &FileContent, [INFO] [stdout] | ^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 36 | value: Option) -> Token { [INFO] [stdout] | ----- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | value: Option) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RunMode` is never used [INFO] [stdout] --> src/main.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | enum RunMode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/parsing.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileContent` is never constructed [INFO] [stdout] --> src/parsing/content.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct FileContent { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parsing/content.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl FileContent { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 15 | pub fn load(filename: &str) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn filename(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn text(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn iter(&self, start: usize) -> ContentIterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn position_details(&self, byte_offset: usize) -> PositionDetails { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn reset_line_markers(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn mark_line(&self, position: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PositionDetails` is never constructed [INFO] [stdout] --> src/parsing/content.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct PositionDetails<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContentIterator` is never constructed [INFO] [stdout] --> src/parsing/content.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct ContentIterator<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_end_of_input`, `position`, and `current_char` are never used [INFO] [stdout] --> src/parsing/content.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 152 | impl<'a> ContentIterator<'a> { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] 153 | pub fn is_end_of_input(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn position(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn current_char(&self) -> char { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParsingError` is never constructed [INFO] [stdout] --> src/parsing/error.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ParsingError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `fmt_position_line` are never used [INFO] [stdout] --> src/parsing/error.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ParsingError { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 16 | pub fn new(position: &PositionDetails, message: String) -> ParsingError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn fmt_position_line(details: &PositionDetails) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LexerResult` is never used [INFO] [stdout] --> src/parsing/lexer.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type LexerResult<'a> = super::Result>>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lexer` is never constructed [INFO] [stdout] --> src/parsing/lexer.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Lexer<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parsing/lexer.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 18 | pub fn new(file_content: &content::FileContent) -> Lexer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn peek_type(&mut self) -> TokenType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn advance(&'a mut self) -> LexerResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn start_new_line(&mut self, line_start: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn reset_iterator(&mut self, position: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn next_char(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn position(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn current_char(&self) -> char { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn char_at(&self, pos: usize) -> char { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn is_end_of_input(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn content_slice(&self, start: usize, end: usize) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn error(&self, pos: usize, message: String) -> super::error::ParsingError { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | fn err_result(&self, pos: usize, message: String) -> super::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn err_unexpected_char(&self) -> super::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn create_start_of_input(&self) -> LexerResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn new_token(&mut self, token_type: TokenType, value: Option) -> LexerResult<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn consume_trivia(&mut self) -> super::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | fn consume_comment(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | fn handle_new_line_sequence(&mut self) -> super::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | fn lex(&mut self) -> LexerResult<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | fn lex_literal_value(&mut self) -> LexerResult<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | fn lex_multiline_value(&mut self) -> LexerResult<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | fn lex_value(&mut self) -> LexerResult<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | fn lex_identifier(&mut self) -> LexerResult<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_identifier_char` is never used [INFO] [stdout] --> src/parsing/lexer.rs:344:4 [INFO] [stdout] | [INFO] [stdout] 344 | fn is_identifier_char(ch: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_whitespace` is never used [INFO] [stdout] --> src/parsing/lexer.rs:376:4 [INFO] [stdout] | [INFO] [stdout] 376 | fn is_whitespace(ch: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_new_line_char` is never used [INFO] [stdout] --> src/parsing/lexer.rs:400:4 [INFO] [stdout] | [INFO] [stdout] 400 | fn is_new_line_char(ch: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TokenType` is never used [INFO] [stdout] --> src/parsing/tokens.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum TokenType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Token` is never constructed [INFO] [stdout] --> src/parsing/tokens.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Token<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `leading_trivia`, `trailing_trivia`, `text`, `value`, and `value_or_text` are never used [INFO] [stdout] --> src/parsing/tokens.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a> Token<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 29 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn leading_trivia(&self) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn trailing_trivia(&self) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn text(&self) -> &'a str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn value(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn value_or_text(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parsing/content.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn iter(&self, start: usize) -> ContentIterator { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | pub fn iter(&self, start: usize) -> ContentIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parsing/content.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn position_details(&self, byte_offset: usize) -> PositionDetails { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | pub fn position_details(&self, byte_offset: usize) -> PositionDetails<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parsing/lexer.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(file_content: &content::FileContent) -> Lexer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(file_content: &content::FileContent) -> Lexer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parsing/lexer.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn advance(&'a mut self) -> LexerResult { [INFO] [stdout] | ^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 51 | pub fn advance(&'a mut self) -> LexerResult<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parsing/lexer.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | fn create_start_of_input(&self) -> LexerResult { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 107 | fn create_start_of_input(&self) -> LexerResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/parsing/lexer.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | self.consume_trivia(); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 116 | let _ = self.consume_trivia(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/parsing/lexer.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | self.handle_new_line_sequence(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 288 | let _ = self.handle_new_line_sequence(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parsing/tokens.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | file_content: &FileContent, [INFO] [stdout] | ^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 36 | value: Option) -> Token { [INFO] [stdout] | ----- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | value: Option) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.07s [INFO] running `Command { std: "docker" "inspect" "b876eaa6541fb3218e7827321df698d4d1ee2bfcbb7cd78b4a316b91008c3bf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b876eaa6541fb3218e7827321df698d4d1ee2bfcbb7cd78b4a316b91008c3bf1", kill_on_drop: false }` [INFO] [stdout] b876eaa6541fb3218e7827321df698d4d1ee2bfcbb7cd78b4a316b91008c3bf1