[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] testing jo3-l/yc against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjo3-l%2Fyc" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jo3-l/yc on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded drop_bomb v0.1.5 [INFO] [stderr] Downloaded output_vt100 v0.1.3 [INFO] [stderr] Downloaded wild v2.1.0 [INFO] [stderr] Downloaded indoc v1.0.7 [INFO] [stderr] Downloaded ctor v0.1.23 [INFO] [stderr] Downloaded quickcheck_macros v1.0.0 [INFO] [stderr] Downloaded once_cell v1.13.1 [INFO] [stderr] Downloaded anyhow v1.0.62 [INFO] [stderr] Downloaded clap_derive v3.2.17 [INFO] [stderr] Downloaded pretty_assertions v1.2.1 [INFO] [stderr] Downloaded codespan v0.11.1 [INFO] [stderr] Downloaded clap v3.2.17 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5070ec62bee4cd07af4b85aa8d8233a92a1ca8eab61d620a1caa5d564cb25c52 [INFO] running `Command { std: "docker" "start" "-a" "5070ec62bee4cd07af4b85aa8d8233a92a1ca8eab61d620a1caa5d564cb25c52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5070ec62bee4cd07af4b85aa8d8233a92a1ca8eab61d620a1caa5d564cb25c52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5070ec62bee4cd07af4b85aa8d8233a92a1ca8eab61d620a1caa5d564cb25c52", kill_on_drop: false }` [INFO] [stdout] 5070ec62bee4cd07af4b85aa8d8233a92a1ca8eab61d620a1caa5d564cb25c52 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1385d4d5458d7cf0c88ef9ede18c536c6e063c0007c6cbc161b4451fb90eeddf [INFO] running `Command { std: "docker" "start" "-a" "1385d4d5458d7cf0c88ef9ede18c536c6e063c0007c6cbc161b4451fb90eeddf", 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 unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling lexical-util v0.8.5 [INFO] [stderr] Compiling anyhow v1.0.62 [INFO] [stderr] Compiling os_str_bytes v6.3.0 [INFO] [stderr] Compiling yc-ast v0.1.0 (/opt/rustwide/workdir/yc-ast) [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling drop_bomb v0.1.5 [INFO] [stderr] Compiling once_cell v1.13.1 [INFO] [stderr] Compiling indoc v1.0.7 [INFO] [stderr] Compiling wild v2.1.0 [INFO] [stderr] Compiling yc-formatter v0.1.0 (/opt/rustwide/workdir/yc-formatter) [INFO] [stderr] Compiling 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 `Clone` and `Debug`, 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] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `Break` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling codespan v0.11.1 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling lexical-write-integer v0.8.5 [INFO] [stderr] Compiling lexical-parse-integer v0.8.6 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling lexical-parse-float v0.8.5 [INFO] [stderr] Compiling yc-diagnostics v0.1.0 (/opt/rustwide/workdir/yc-diagnostics) [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling lexical-write-float v0.8.5 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling lexical-core v0.8.5 [INFO] [stderr] Compiling lexical v6.1.1 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.2.17 [INFO] [stderr] Compiling quickcheck_macros v1.0.0 [INFO] [stderr] Compiling 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: 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] = note: `ExprParseMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] = note: `ReadCharContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] = note: `EscapeSequenceKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] = note: `ParseState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `Loop` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] [stderr] Compiling clap v3.2.17 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.34s [INFO] running `Command { std: "docker" "inspect" "1385d4d5458d7cf0c88ef9ede18c536c6e063c0007c6cbc161b4451fb90eeddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1385d4d5458d7cf0c88ef9ede18c536c6e063c0007c6cbc161b4451fb90eeddf", kill_on_drop: false }` [INFO] [stdout] 1385d4d5458d7cf0c88ef9ede18c536c6e063c0007c6cbc161b4451fb90eeddf [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4b98177cecadaa0ccce296df4fba56d266965ac6b9c853bae1bd0666913225b8 [INFO] running `Command { std: "docker" "start" "-a" "4b98177cecadaa0ccce296df4fba56d266965ac6b9c853bae1bd0666913225b8", 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 diff v0.1.13 [INFO] [stderr] Compiling ansi_term v0.12.1 [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 `Clone` and `Debug`, 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] [stderr] Compiling yc-diagnostics v0.1.0 (/opt/rustwide/workdir/yc-diagnostics) [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] [stderr] Compiling yc-ast v0.1.0 (/opt/rustwide/workdir/yc-ast) [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] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling yc-minifier v0.1.0 (/opt/rustwide/workdir/yc-minifier) [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] = note: `Break` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling yc-formatter v0.1.0 (/opt/rustwide/workdir/yc-formatter) [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: 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] = note: `ExprParseMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] = note: `ReadCharContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] = note: `EscapeSequenceKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] = note: `ParseState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling yc-cli v0.1.0 (/opt/rustwide/workdir/yc-cli) [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] = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `Loop` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: 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: 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 `Clone` and `Debug`, 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] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `Break` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] [stderr] Compiling pretty_assertions v1.2.1 [INFO] [stderr] Compiling 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: 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] = note: `ExprParseMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] = note: `ReadCharContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] = note: `EscapeSequenceKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] = note: `ParseState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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] = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] = note: `Loop` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.50s [INFO] running `Command { std: "docker" "inspect" "4b98177cecadaa0ccce296df4fba56d266965ac6b9c853bae1bd0666913225b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b98177cecadaa0ccce296df4fba56d266965ac6b9c853bae1bd0666913225b8", kill_on_drop: false }` [INFO] [stdout] 4b98177cecadaa0ccce296df4fba56d266965ac6b9c853bae1bd0666913225b8 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 749f1d65bd884ec47f74a1f23bd2ac36333d7fb9331c517158a0b7d363f998ee [INFO] running `Command { std: "docker" "start" "-a" "749f1d65bd884ec47f74a1f23bd2ac36333d7fb9331c517158a0b7d363f998ee", 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] warning: variant `Spaces` is never constructed [INFO] [stderr] --> yc-formatter/src/options.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub enum IndentStyle { [INFO] [stderr] | ----------- variant in this enum [INFO] [stderr] 22 | Spaces, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `IndentStyle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `OutputBuffer` is never constructed [INFO] [stderr] --> yc-formatter/src/output_buffer.rs:5:19 [INFO] [stderr] | [INFO] [stderr] 5 | pub(crate) struct OutputBuffer { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> yc-formatter/src/output_buffer.rs:18:19 [INFO] [stderr] | [INFO] [stderr] 17 | impl OutputBuffer { [INFO] [stderr] | ----------------- associated items in this implementation [INFO] [stderr] 18 | pub(crate) fn new(indent: IndentStyle, tab_width: usize) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 28 | pub(crate) fn finish(mut self) -> String { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub(crate) fn indent(&mut self) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | pub(crate) fn dedent(&mut self) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | pub(crate) fn write(&mut self, text: &str) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | pub(crate) fn write_space(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 50 | pub(crate) fn write_newline(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 61 | fn flush_spaces(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `Token` is never used [INFO] [stderr] --> yc-formatter/src/printer.rs:9:6 [INFO] [stderr] | [INFO] [stderr] 9 | enum Token { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `Break` is never constructed [INFO] [stderr] --> yc-formatter/src/printer.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 19 | struct Break { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Break` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `Printer` is never constructed [INFO] [stderr] --> yc-formatter/src/printer.rs:26:19 [INFO] [stderr] | [INFO] [stderr] 26 | pub(crate) struct Printer { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> yc-formatter/src/printer.rs:45:19 [INFO] [stderr] | [INFO] [stderr] 44 | impl Printer { [INFO] [stderr] | ------------ associated items in this implementation [INFO] [stderr] 45 | pub(crate) fn new(options: &PrinterOptions) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 57 | pub(crate) fn finish(mut self) -> String { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 62 | pub(crate) fn start_group(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 66 | pub(crate) fn end_group(&mut self) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 71 | pub(crate) fn print_space(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 75 | pub(crate) fn print(&mut self, text: S) [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 109 | pub(crate) fn unconditional_break(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 116 | pub(crate) fn indent(&mut self) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 120 | pub(crate) fn dedent(&mut self) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 124 | pub(crate) fn optional_break(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 142 | pub(crate) fn connected_break(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 165 | fn discard_breaks(&mut self, mut predicate: F) [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 174 | fn flush(&mut self, range: R) [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `yc-formatter` (lib) generated 7 warnings [INFO] [stderr] warning: `yc-formatter` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] warning: unused import: `Token` [INFO] [stderr] --> yc-parser/src/parse/lit.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | use yc_ast::token::{Token, TokenKind}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> yc-parser/src/parse/mod.rs:32:23 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn parse_root(mut self) -> (ast::Root, Vec) { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `file_id`, `diagnostics`, and `node_id` are never read [INFO] [stderr] --> yc-parser/src/parse/mod.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct Parser<'src> { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 16 | file_id: FileId, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 17 | cursor: TokenCursor<'src>, [INFO] [stderr] 18 | diagnostics: Vec, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 19 | node_id: NodeId, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> yc-parser/src/parse/mod.rs:40:19 [INFO] [stderr] | [INFO] [stderr] 22 | impl<'src> Parser<'src> { [INFO] [stderr] | ----------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 40 | pub(crate) fn error_unexpected( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | pub(crate) fn at(&mut self, pat: impl TokenPattern) -> bool { [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 64 | pub(crate) fn at_ignore_spaces(&mut self, pat: impl TokenPattern) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 68 | pub(crate) fn nth_at(&mut self, n: usize, pat: impl TokenPattern) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 72 | pub(crate) fn nth_at_ignore_spaces(&mut self, n: usize, pat: impl TokenPattern) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 76 | pub(crate) fn eat(&mut self, pat: impl TokenPattern) -> bool { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 85 | pub(crate) fn must_eat(&mut self, pat: impl TokenPattern) -> Token { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 91 | pub(crate) fn eat_skip_spaces(&mut self, pat: impl TokenPattern) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 100 | pub(crate) fn must_eat_skip_spaces(&mut self, pat: impl TokenPattern) -> Token { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 106 | pub(crate) fn add_diagnostic(&mut self, diagnostic: Diagnostic) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 110 | pub(crate) fn next_node_id(&mut self) -> NodeId { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `TokenPattern` is never used [INFO] [stderr] --> yc-parser/src/parse/mod.rs:116:18 [INFO] [stderr] | [INFO] [stderr] 116 | pub(crate) trait TokenPattern { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> yc-parser/src/parse/expr.rs:11:19 [INFO] [stderr] | [INFO] [stderr] 10 | impl Parser<'_> { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] 11 | pub(crate) fn parse_expr(&mut self, state: &mut ParseState) -> ParsedFragment { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | fn parse_non_pipeline_expr( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 120 | fn parse_trailing_field_access_or_method_call( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 155 | fn parse_selector(&mut self) -> ParsedFragment { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 165 | fn parse_var_expr(&mut self, state: &mut ParseState, mode: ExprParseMode) -> Expr { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 218 | fn parse_fn_call(&mut self, state: &mut ParseState, mode: ExprParseMode) -> ast::FnCallExpr { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 237 | fn parse_call_args(&mut self, state: &mut ParseState) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 254 | fn at_expr_terminator(&mut self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 263 | fn tok_to_ident(&self, tok: Token) -> Ident { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 270 | fn tok_to_var_name(&self, tok: Token) -> ast::VarName { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `ExprParseMode` is never used [INFO] [stderr] --> yc-parser/src/parse/expr.rs:280:6 [INFO] [stderr] | [INFO] [stderr] 280 | enum ExprParseMode { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ExprParseMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> yc-parser/src/parse/lit.rs:14:19 [INFO] [stderr] | [INFO] [stderr] 13 | impl<'src> Parser<'src> { [INFO] [stderr] | ----------------------- methods in this implementation [INFO] [stderr] 14 | pub(crate) fn parse_nil_lit(&mut self) -> ast::NilLit { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 22 | pub(crate) fn parse_bool_lit(&mut self) -> ast::BoolLit { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | pub(crate) fn parse_raw_string_lit(&mut self) -> ast::StringLit { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 57 | pub(crate) fn parse_float_lit(&mut self) -> ParsedFragment { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 76 | pub(crate) fn parse_int_lit(&mut self) -> ParsedFragment { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 92 | fn error_invalid_number_syntax(&mut self, span: Span, err: lexical::Error) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 106 | pub(crate) fn parse_char_lit(&mut self) -> ParsedFragment { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 128 | pub(crate) fn parse_quoted_string_lit(&mut self) -> ast::StringLit { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 153 | fn read_char( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 219 | fn read_multi_digit_escape( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `ReadCharContext` is never used [INFO] [stderr] --> yc-parser/src/parse/lit.rs:257:6 [INFO] [stderr] | [INFO] [stderr] 257 | enum ReadCharContext { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ReadCharContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `close_delim` is never used [INFO] [stderr] --> yc-parser/src/parse/lit.rs:263:8 [INFO] [stderr] | [INFO] [stderr] 262 | impl ReadCharContext { [INFO] [stderr] | -------------------- method in this implementation [INFO] [stderr] 263 | fn close_delim(&self) -> char { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `EscapeSequenceKind` is never used [INFO] [stderr] --> yc-parser/src/parse/lit.rs:283:6 [INFO] [stderr] | [INFO] [stderr] 283 | enum EscapeSequenceKind { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `EscapeSequenceKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `expected_digits` and `digit_radix` are never used [INFO] [stderr] --> yc-parser/src/parse/lit.rs:291:8 [INFO] [stderr] | [INFO] [stderr] 290 | impl EscapeSequenceKind { [INFO] [stderr] | ----------------------- methods in this implementation [INFO] [stderr] 291 | fn expected_digits(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 301 | fn digit_radix(&self) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ParseState` is never constructed [INFO] [stderr] --> yc-parser/src/parse/state.rs:4:19 [INFO] [stderr] | [INFO] [stderr] 4 | pub(crate) struct ParseState { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ParseState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `enter_scope`, `enter_loop`, `in_loop`, `has_var`, and `push_var` are never used [INFO] [stderr] --> yc-parser/src/parse/state.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 9 | impl ParseState { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] 10 | pub(crate) fn enter_scope(&mut self) -> Scope { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 14 | pub(crate) fn enter_loop(&mut self) -> Loop { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 18 | pub(crate) fn in_loop(&self) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 22 | pub(crate) fn has_var(&self, var: &str) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | pub(crate) fn push_var(&mut self, var: &str) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Scope` is never constructed [INFO] [stderr] --> yc-parser/src/parse/state.rs:32:19 [INFO] [stderr] | [INFO] [stderr] 32 | pub(crate) struct Scope { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `exit` are never used [INFO] [stderr] --> yc-parser/src/parse/state.rs:38:8 [INFO] [stderr] | [INFO] [stderr] 37 | impl Scope { [INFO] [stderr] | ---------- associated items in this implementation [INFO] [stderr] 38 | fn new(orig_stack_depth: usize) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 48 | pub(crate) fn exit(&mut self, state: &mut ParseState) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Loop` is never constructed [INFO] [stderr] --> yc-parser/src/parse/state.rs:55:19 [INFO] [stderr] | [INFO] [stderr] 55 | pub(crate) struct Loop { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Loop` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `exit` are never used [INFO] [stderr] --> yc-parser/src/parse/state.rs:62:8 [INFO] [stderr] | [INFO] [stderr] 61 | impl Loop { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] 62 | fn new(orig_loop_depth: usize, orig_stack_depth: usize) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 73 | pub(crate) fn exit(mut self, state: &mut ParseState) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `lookahead` is never read [INFO] [stderr] --> yc-parser/src/parse/token_cursor.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub(crate) struct TokenCursor<'src> { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 9 | lexer: Lexer<'src>, [INFO] [stderr] 10 | lookahead: VecDeque, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> yc-parser/src/parse/token_cursor.rs:25:19 [INFO] [stderr] | [INFO] [stderr] 13 | impl<'src> TokenCursor<'src> { [INFO] [stderr] | ---------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 25 | pub(crate) fn pos(&mut self) -> BytePos { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | pub(crate) fn first(&mut self) -> Token { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub(crate) fn pos_ignore_spaces(&mut self) -> BytePos { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | pub(crate) fn first_non_space(&mut self) -> Token { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | pub(crate) fn nth(&mut self, n: usize) -> Token { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | pub(crate) fn nth_non_space(&mut self, n: usize) -> Token { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 84 | pub(crate) fn bump(&mut self) { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 88 | pub(crate) fn bump_skip_spaces(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 96 | fn next_valid_token(&mut self) -> Token { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `yc-parser` (lib) generated 20 warnings (run `cargo fix --lib -p yc-parser` to apply 2 suggestions) [INFO] [stderr] warning: `yc-parser` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] warning: unused import: `yc_ast::token::TokenKind` [INFO] [stderr] --> yc-cli/src/check.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use yc_ast::token::TokenKind; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `yc-cli` (bin "yc-cli" test) generated 1 warning (run `cargo fix --bin "yc-cli" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/yc_ast-973a6cd8adaca683) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/yc_cli-84739095281c13ff) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/yc_diagnostics-f26416d1394669be) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/yc_formatter-cdfad2333b1a0fc1) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/yc_minifier-e5654402fa70caf4) [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/yc_parser-244d9c12e5f503f1) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test lex::tests::empty ... ok [INFO] [stdout] test lex::tests::empty_action ... ok [INFO] [stdout] test lex::tests::identifier ... ok [INFO] [stdout] test lex::tests::block ... ok [INFO] [stdout] test lex::tests::interpreted_string ... ok [INFO] [stdout] test lex::tests::parens ... ok [INFO] [stdout] test lex::tests::raw_string ... ok [INFO] [stdout] test lex::tests::text ... ok [INFO] [stdout] test lex::tests::text_with_comment ... ok [INFO] [stdout] test lex::tests::raw_string_with_newline ... ok [INFO] [stdout] test lex::tests::spaces_in_text ... ok [INFO] [stdout] test lex::tests::lexer_is_lossless ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "749f1d65bd884ec47f74a1f23bd2ac36333d7fb9331c517158a0b7d363f998ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "749f1d65bd884ec47f74a1f23bd2ac36333d7fb9331c517158a0b7d363f998ee", kill_on_drop: false }` [INFO] [stdout] 749f1d65bd884ec47f74a1f23bd2ac36333d7fb9331c517158a0b7d363f998ee