[INFO] cloning repository https://github.com/jo3-l/yc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jo3-l/yc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjo3-l%2Fyc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjo3-l%2Fyc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 332b501a7d909f781ab9984e010eb1ccd8cf7b23 [INFO] checking jo3-l/yc against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjo3-l%2Fyc" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jo3-l/yc on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jo3-l/yc [INFO] finished tweaking git repo https://github.com/jo3-l/yc [INFO] tweaked toml for git repo https://github.com/jo3-l/yc written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jo3-l/yc 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quickcheck_macros v1.0.0 [INFO] [stderr] Downloaded ctor v0.1.23 [INFO] [stderr] Downloaded codespan v0.11.1 [INFO] [stderr] Downloaded indoc v1.0.7 [INFO] [stderr] Downloaded drop_bomb v0.1.5 [INFO] [stderr] Downloaded pretty_assertions v1.2.1 [INFO] [stderr] Downloaded wild v2.1.0 [INFO] [stderr] Downloaded os_str_bytes v6.3.0 [INFO] [stderr] Downloaded quickcheck v1.0.3 [INFO] [stderr] Downloaded clap_derive v3.2.17 [INFO] [stderr] Downloaded once_cell v1.13.1 [INFO] [stderr] Downloaded colored v2.0.0 [INFO] [stderr] Downloaded clap v3.2.17 [INFO] [stderr] Downloaded libc v0.2.131 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7bdeda6f8568d67ecd77e77b8a1c398e593202065fc55a6162f892a52bdc9d4 [INFO] running `Command { std: "docker" "start" "-a" "a7bdeda6f8568d67ecd77e77b8a1c398e593202065fc55a6162f892a52bdc9d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7bdeda6f8568d67ecd77e77b8a1c398e593202065fc55a6162f892a52bdc9d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7bdeda6f8568d67ecd77e77b8a1c398e593202065fc55a6162f892a52bdc9d4", kill_on_drop: false }` [INFO] [stdout] a7bdeda6f8568d67ecd77e77b8a1c398e593202065fc55a6162f892a52bdc9d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6a79a297981ca5e31799ad271bc50c919211d2a4666311539bc1c424783eab4 [INFO] running `Command { std: "docker" "start" "-a" "e6a79a297981ca5e31799ad271bc50c919211d2a4666311539bc1c424783eab4", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling libc v0.2.131 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking yc-ast v0.1.0 (/opt/rustwide/workdir/yc-ast) [INFO] [stderr] Checking drop_bomb v0.1.5 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling indoc v1.0.7 [INFO] [stderr] Compiling anyhow v1.0.62 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking wild v2.1.0 [INFO] [stderr] Checking yc-formatter v0.1.0 (/opt/rustwide/workdir/yc-formatter) [INFO] [stderr] Checking yc-minifier v0.1.0 (/opt/rustwide/workdir/yc-minifier) [INFO] [stdout] warning: variant `Spaces` is never constructed [INFO] [stdout] --> yc-formatter/src/options.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum IndentStyle { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 22 | Spaces, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndentStyle` has derived impls for the traits `Debug` and `Clone`, 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 `OutputBuffer` is never constructed [INFO] [stdout] --> yc-formatter/src/output_buffer.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct OutputBuffer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> yc-formatter/src/output_buffer.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 17 | impl OutputBuffer { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 18 | pub(crate) fn new(indent: IndentStyle, tab_width: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub(crate) fn finish(mut self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) fn indent(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn dedent(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) fn write(&mut self, text: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub(crate) fn write_space(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub(crate) fn write_newline(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn flush_spaces(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Token` is never used [INFO] [stdout] --> yc-formatter/src/printer.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Break` is never constructed [INFO] [stdout] --> yc-formatter/src/printer.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct Break { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Printer` is never constructed [INFO] [stdout] --> yc-formatter/src/printer.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) struct Printer { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> yc-formatter/src/printer.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 44 | impl Printer { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 45 | pub(crate) fn new(options: &PrinterOptions) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub(crate) fn finish(mut self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub(crate) fn start_group(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub(crate) fn end_group(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub(crate) fn print_space(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub(crate) fn print(&mut self, text: S) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub(crate) fn unconditional_break(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub(crate) fn indent(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub(crate) fn dedent(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub(crate) fn optional_break(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub(crate) fn connected_break(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn discard_breaks(&mut self, mut predicate: F) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | fn flush(&mut self, range: R) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Spaces` is never constructed [INFO] [stdout] --> yc-formatter/src/options.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum IndentStyle { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 22 | Spaces, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndentStyle` has derived impls for the traits `Debug` and `Clone`, 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 `OutputBuffer` is never constructed [INFO] [stdout] --> yc-formatter/src/output_buffer.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct OutputBuffer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> yc-formatter/src/output_buffer.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 17 | impl OutputBuffer { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 18 | pub(crate) fn new(indent: IndentStyle, tab_width: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub(crate) fn finish(mut self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) fn indent(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn dedent(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) fn write(&mut self, text: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub(crate) fn write_space(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub(crate) fn write_newline(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn flush_spaces(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Token` is never used [INFO] [stdout] --> yc-formatter/src/printer.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Break` is never constructed [INFO] [stdout] --> yc-formatter/src/printer.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct Break { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Printer` is never constructed [INFO] [stdout] --> yc-formatter/src/printer.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) struct Printer { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> yc-formatter/src/printer.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 44 | impl Printer { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 45 | pub(crate) fn new(options: &PrinterOptions) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub(crate) fn finish(mut self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub(crate) fn start_group(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub(crate) fn end_group(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub(crate) fn print_space(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub(crate) fn print(&mut self, text: S) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub(crate) fn unconditional_break(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub(crate) fn indent(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub(crate) fn dedent(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub(crate) fn optional_break(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub(crate) fn connected_break(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn discard_breaks(&mut self, mut predicate: F) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | fn flush(&mut self, range: R) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pretty_assertions v1.2.1 [INFO] [stderr] Checking codespan v0.11.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking yc-diagnostics v0.1.0 (/opt/rustwide/workdir/yc-diagnostics) [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quickcheck_macros v1.0.0 [INFO] [stderr] Compiling clap_derive v3.2.17 [INFO] [stderr] Checking yc-parser v0.1.0 (/opt/rustwide/workdir/yc-parser) [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> yc-parser/src/parse/lit.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use yc_ast::token::{Token, TokenKind}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> yc-parser/src/parse/lit.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use yc_ast::token::{Token, TokenKind}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> yc-parser/src/parse/mod.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn parse_root(mut self) -> (ast::Root, Vec) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_id`, `diagnostics`, and `node_id` are never read [INFO] [stdout] --> yc-parser/src/parse/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Parser<'src> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 16 | file_id: FileId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | cursor: TokenCursor<'src>, [INFO] [stdout] 18 | diagnostics: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | node_id: NodeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> yc-parser/src/parse/mod.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'src> Parser<'src> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub(crate) fn error_unexpected( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub(crate) fn at(&mut self, pat: impl TokenPattern) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub(crate) fn at_ignore_spaces(&mut self, pat: impl TokenPattern) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub(crate) fn nth_at(&mut self, n: usize, pat: impl TokenPattern) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub(crate) fn nth_at_ignore_spaces(&mut self, n: usize, pat: impl TokenPattern) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub(crate) fn eat(&mut self, pat: impl TokenPattern) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub(crate) fn must_eat(&mut self, pat: impl TokenPattern) -> Token { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub(crate) fn eat_skip_spaces(&mut self, pat: impl TokenPattern) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub(crate) fn must_eat_skip_spaces(&mut self, pat: impl TokenPattern) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub(crate) fn add_diagnostic(&mut self, diagnostic: Diagnostic) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub(crate) fn next_node_id(&mut self) -> NodeId { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TokenPattern` is never used [INFO] [stdout] --> yc-parser/src/parse/mod.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | pub(crate) trait TokenPattern { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> yc-parser/src/parse/expr.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl Parser<'_> { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 11 | pub(crate) fn parse_expr(&mut self, state: &mut ParseState) -> ParsedFragment { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn parse_non_pipeline_expr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn parse_trailing_field_access_or_method_call( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | fn parse_selector(&mut self) -> ParsedFragment { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn parse_var_expr(&mut self, state: &mut ParseState, mode: ExprParseMode) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | fn parse_fn_call(&mut self, state: &mut ParseState, mode: ExprParseMode) -> ast::FnCallExpr { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | fn parse_call_args(&mut self, state: &mut ParseState) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | fn at_expr_terminator(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | fn tok_to_ident(&self, tok: Token) -> Ident { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | fn tok_to_var_name(&self, tok: Token) -> ast::VarName { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExprParseMode` is never used [INFO] [stdout] --> yc-parser/src/parse/expr.rs:280:6 [INFO] [stdout] | [INFO] [stdout] 280 | enum ExprParseMode { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> yc-parser/src/parse/lit.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'src> Parser<'src> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 14 | pub(crate) fn parse_nil_lit(&mut self) -> ast::NilLit { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub(crate) fn parse_bool_lit(&mut self) -> ast::BoolLit { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn parse_raw_string_lit(&mut self) -> ast::StringLit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub(crate) fn parse_float_lit(&mut self) -> ParsedFragment { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub(crate) fn parse_int_lit(&mut self) -> ParsedFragment { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn error_invalid_number_syntax(&mut self, span: Span, err: lexical::Error) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub(crate) fn parse_char_lit(&mut self) -> ParsedFragment { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub(crate) fn parse_quoted_string_lit(&mut self) -> ast::StringLit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn read_char( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | fn read_multi_digit_escape( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ReadCharContext` is never used [INFO] [stdout] --> yc-parser/src/parse/lit.rs:257:6 [INFO] [stdout] | [INFO] [stdout] 257 | enum ReadCharContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `close_delim` is never used [INFO] [stdout] --> yc-parser/src/parse/lit.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 262 | impl ReadCharContext { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 263 | fn close_delim(&self) -> char { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EscapeSequenceKind` is never used [INFO] [stdout] --> yc-parser/src/parse/lit.rs:283:6 [INFO] [stdout] | [INFO] [stdout] 283 | enum EscapeSequenceKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `expected_digits` and `digit_radix` are never used [INFO] [stdout] --> yc-parser/src/parse/lit.rs:291:8 [INFO] [stdout] | [INFO] [stdout] 290 | impl EscapeSequenceKind { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 291 | fn expected_digits(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | fn digit_radix(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParseState` is never constructed [INFO] [stdout] --> yc-parser/src/parse/state.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct ParseState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `enter_scope`, `enter_loop`, `in_loop`, `has_var`, and `push_var` are never used [INFO] [stdout] --> yc-parser/src/parse/state.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl ParseState { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 10 | pub(crate) fn enter_scope(&mut self) -> Scope { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub(crate) fn enter_loop(&mut self) -> Loop { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub(crate) fn in_loop(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub(crate) fn has_var(&self, var: &str) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn push_var(&mut self, var: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scope` is never constructed [INFO] [stdout] --> yc-parser/src/parse/state.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) struct Scope { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `exit` are never used [INFO] [stdout] --> yc-parser/src/parse/state.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl Scope { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 38 | fn new(orig_stack_depth: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub(crate) fn exit(&mut self, state: &mut ParseState) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Loop` is never constructed [INFO] [stdout] --> yc-parser/src/parse/state.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | pub(crate) struct Loop { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `exit` are never used [INFO] [stdout] --> yc-parser/src/parse/state.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 61 | impl Loop { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 62 | fn new(orig_loop_depth: usize, orig_stack_depth: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub(crate) fn exit(mut self, state: &mut ParseState) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lookahead` is never read [INFO] [stdout] --> yc-parser/src/parse/token_cursor.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct TokenCursor<'src> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 9 | lexer: Lexer<'src>, [INFO] [stdout] 10 | lookahead: VecDeque, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> yc-parser/src/parse/token_cursor.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'src> TokenCursor<'src> { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub(crate) fn pos(&mut self) -> BytePos { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub(crate) fn first(&mut self) -> Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) fn pos_ignore_spaces(&mut self) -> BytePos { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn first_non_space(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) fn nth(&mut self, n: usize) -> Token { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub(crate) fn nth_non_space(&mut self, n: usize) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub(crate) fn bump(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub(crate) fn bump_skip_spaces(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn next_valid_token(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> yc-parser/src/parse/mod.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn parse_root(mut self) -> (ast::Root, Vec) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_id`, `diagnostics`, and `node_id` are never read [INFO] [stdout] --> yc-parser/src/parse/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Parser<'src> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 16 | file_id: FileId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | cursor: TokenCursor<'src>, [INFO] [stdout] 18 | diagnostics: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | node_id: NodeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> yc-parser/src/parse/mod.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'src> Parser<'src> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub(crate) fn error_unexpected( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub(crate) fn at(&mut self, pat: impl TokenPattern) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub(crate) fn at_ignore_spaces(&mut self, pat: impl TokenPattern) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub(crate) fn nth_at(&mut self, n: usize, pat: impl TokenPattern) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub(crate) fn nth_at_ignore_spaces(&mut self, n: usize, pat: impl TokenPattern) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub(crate) fn eat(&mut self, pat: impl TokenPattern) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub(crate) fn must_eat(&mut self, pat: impl TokenPattern) -> Token { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub(crate) fn eat_skip_spaces(&mut self, pat: impl TokenPattern) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub(crate) fn must_eat_skip_spaces(&mut self, pat: impl TokenPattern) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub(crate) fn add_diagnostic(&mut self, diagnostic: Diagnostic) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub(crate) fn next_node_id(&mut self) -> NodeId { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TokenPattern` is never used [INFO] [stdout] --> yc-parser/src/parse/mod.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | pub(crate) trait TokenPattern { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> yc-parser/src/parse/expr.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl Parser<'_> { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 11 | pub(crate) fn parse_expr(&mut self, state: &mut ParseState) -> ParsedFragment { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn parse_non_pipeline_expr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn parse_trailing_field_access_or_method_call( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | fn parse_selector(&mut self) -> ParsedFragment { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn parse_var_expr(&mut self, state: &mut ParseState, mode: ExprParseMode) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | fn parse_fn_call(&mut self, state: &mut ParseState, mode: ExprParseMode) -> ast::FnCallExpr { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | fn parse_call_args(&mut self, state: &mut ParseState) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | fn at_expr_terminator(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | fn tok_to_ident(&self, tok: Token) -> Ident { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | fn tok_to_var_name(&self, tok: Token) -> ast::VarName { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExprParseMode` is never used [INFO] [stdout] --> yc-parser/src/parse/expr.rs:280:6 [INFO] [stdout] | [INFO] [stdout] 280 | enum ExprParseMode { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> yc-parser/src/parse/lit.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'src> Parser<'src> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 14 | pub(crate) fn parse_nil_lit(&mut self) -> ast::NilLit { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub(crate) fn parse_bool_lit(&mut self) -> ast::BoolLit { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn parse_raw_string_lit(&mut self) -> ast::StringLit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub(crate) fn parse_float_lit(&mut self) -> ParsedFragment { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub(crate) fn parse_int_lit(&mut self) -> ParsedFragment { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn error_invalid_number_syntax(&mut self, span: Span, err: lexical::Error) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub(crate) fn parse_char_lit(&mut self) -> ParsedFragment { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub(crate) fn parse_quoted_string_lit(&mut self) -> ast::StringLit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn read_char( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | fn read_multi_digit_escape( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ReadCharContext` is never used [INFO] [stdout] --> yc-parser/src/parse/lit.rs:257:6 [INFO] [stdout] | [INFO] [stdout] 257 | enum ReadCharContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `close_delim` is never used [INFO] [stdout] --> yc-parser/src/parse/lit.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 262 | impl ReadCharContext { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 263 | fn close_delim(&self) -> char { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EscapeSequenceKind` is never used [INFO] [stdout] --> yc-parser/src/parse/lit.rs:283:6 [INFO] [stdout] | [INFO] [stdout] 283 | enum EscapeSequenceKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `expected_digits` and `digit_radix` are never used [INFO] [stdout] --> yc-parser/src/parse/lit.rs:291:8 [INFO] [stdout] | [INFO] [stdout] 290 | impl EscapeSequenceKind { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 291 | fn expected_digits(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | fn digit_radix(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParseState` is never constructed [INFO] [stdout] --> yc-parser/src/parse/state.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) struct ParseState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `enter_scope`, `enter_loop`, `in_loop`, `has_var`, and `push_var` are never used [INFO] [stdout] --> yc-parser/src/parse/state.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 9 | impl ParseState { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 10 | pub(crate) fn enter_scope(&mut self) -> Scope { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub(crate) fn enter_loop(&mut self) -> Loop { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub(crate) fn in_loop(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub(crate) fn has_var(&self, var: &str) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn push_var(&mut self, var: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scope` is never constructed [INFO] [stdout] --> yc-parser/src/parse/state.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) struct Scope { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `exit` are never used [INFO] [stdout] --> yc-parser/src/parse/state.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl Scope { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 38 | fn new(orig_stack_depth: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub(crate) fn exit(&mut self, state: &mut ParseState) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Loop` is never constructed [INFO] [stdout] --> yc-parser/src/parse/state.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | pub(crate) struct Loop { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `exit` are never used [INFO] [stdout] --> yc-parser/src/parse/state.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 61 | impl Loop { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 62 | fn new(orig_loop_depth: usize, orig_stack_depth: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub(crate) fn exit(mut self, state: &mut ParseState) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lookahead` is never read [INFO] [stdout] --> yc-parser/src/parse/token_cursor.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct TokenCursor<'src> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 9 | lexer: Lexer<'src>, [INFO] [stdout] 10 | lookahead: VecDeque, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> yc-parser/src/parse/token_cursor.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'src> TokenCursor<'src> { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub(crate) fn pos(&mut self) -> BytePos { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub(crate) fn first(&mut self) -> Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) fn pos_ignore_spaces(&mut self) -> BytePos { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub(crate) fn first_non_space(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub(crate) fn nth(&mut self, n: usize) -> Token { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub(crate) fn nth_non_space(&mut self, n: usize) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub(crate) fn bump(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub(crate) fn bump_skip_spaces(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn next_valid_token(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking clap v3.2.17 [INFO] [stderr] Checking yc-cli v0.1.0 (/opt/rustwide/workdir/yc-cli) [INFO] [stdout] warning: unused import: `yc_ast::token::TokenKind` [INFO] [stdout] --> yc-cli/src/check.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use yc_ast::token::TokenKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yc_ast::token::TokenKind` [INFO] [stdout] --> yc-cli/src/check.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use yc_ast::token::TokenKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.24s [INFO] running `Command { std: "docker" "inspect" "e6a79a297981ca5e31799ad271bc50c919211d2a4666311539bc1c424783eab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6a79a297981ca5e31799ad271bc50c919211d2a4666311539bc1c424783eab4", kill_on_drop: false }` [INFO] [stdout] e6a79a297981ca5e31799ad271bc50c919211d2a4666311539bc1c424783eab4