[INFO] cloning repository https://github.com/FilaCo/alice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FilaCo/alice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFilaCo%2Falice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFilaCo%2Falice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 58fd8eccfe74252d9af5bc25768735dec00f4537 [INFO] checking FilaCo/alice against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFilaCo%2Falice" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/FilaCo/alice [INFO] finished tweaking git repo https://github.com/FilaCo/alice [INFO] tweaked toml for git repo https://github.com/FilaCo/alice written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FilaCo/alice on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/FilaCo/alice 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6a768952993c2de4db4c2858c07e1c0760530bba3af1cccecabef8e8ba6d398 [INFO] running `Command { std: "docker" "start" "-a" "d6a768952993c2de4db4c2858c07e1c0760530bba3af1cccecabef8e8ba6d398", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6a768952993c2de4db4c2858c07e1c0760530bba3af1cccecabef8e8ba6d398", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6a768952993c2de4db4c2858c07e1c0760530bba3af1cccecabef8e8ba6d398", kill_on_drop: false }` [INFO] [stdout] d6a768952993c2de4db4c2858c07e1c0760530bba3af1cccecabef8e8ba6d398 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4d3b4b2302ed55d791669a6e2b23ac09b7bc59812b82804517e800884fa983c [INFO] running `Command { std: "docker" "start" "-a" "d4d3b4b2302ed55d791669a6e2b23ac09b7bc59812b82804517e800884fa983c", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking inventory v0.3.21 [INFO] [stderr] Checking thin-vec v0.2.14 [INFO] [stderr] Checking boxcar v0.2.14 [INFO] [stderr] Checking salsa-macro-rules v0.25.2 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking clap_lex v0.7.7 [INFO] [stderr] Checking intrusive-collections v0.9.7 [INFO] [stderr] Checking clap_builder v4.5.57 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking ariadne v0.6.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking memmap2 v0.9.9 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling salsa-macros v0.25.2 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking ac_error v0.0.0 (/opt/rustwide/workdir/compiler/ac_error) [INFO] [stderr] Checking clap v4.5.57 [INFO] [stderr] Checking salsa v0.25.2 [INFO] [stderr] Checking ac_ir v0.0.0 (/opt/rustwide/workdir/compiler/ac_ir) [INFO] [stderr] Checking ac_diag v0.0.0 (/opt/rustwide/workdir/compiler/ac_diag) [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> compiler/ac_ir/src/syntax/token.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn glue(&self, other: &Token<'db>, db: &'db dyn Database) -> Option> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> compiler/ac_ir/src/syntax/token.rs:20:44 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn glue(&self, other: &Token<'db>, db: &'db dyn Database) -> Option> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> compiler/ac_ir/src/syntax/token.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn glue(&self, other: &Token<'db>, db: &'db dyn Database) -> Option> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> compiler/ac_ir/src/syntax/token.rs:20:44 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn glue(&self, other: &Token<'db>, db: &'db dyn Database) -> Option> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ac_db v0.0.0 (/opt/rustwide/workdir/compiler/ac_db) [INFO] [stderr] Checking ac_query v0.0.0 (/opt/rustwide/workdir/compiler/ac_query) [INFO] [stderr] Checking ac_interface v0.0.0 (/opt/rustwide/workdir/compiler/ac_interface) [INFO] [stderr] Checking ac_parser v0.0.0 (/opt/rustwide/workdir/compiler/ac_parser) [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> compiler/ac_query/src/compile.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn compile(db: &dyn AcDbTrait, src: SourceFile) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> compiler/ac_query/src/compile.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn compile(db: &dyn AcDbTrait, src: SourceFile) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `source::Span` [INFO] [stdout] --> compiler/ac_parser/src/lexer/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | source::Span, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenKind::*` [INFO] [stdout] --> compiler/ac_parser/src/lexer/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use TokenKind::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> compiler/ac_query/src/parse_file.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn parse_file(db: &dyn AcDbTrait, src: SourceFile) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> compiler/ac_query/src/parse_file.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn parse_file(db: &dyn AcDbTrait, src: SourceFile) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `source::Span` [INFO] [stdout] --> compiler/ac_parser/src/lexer/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | source::Span, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenKind::*` [INFO] [stdout] --> compiler/ac_parser/src/lexer/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use TokenKind::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok_type` [INFO] [stdout] --> compiler/ac_parser/src/parser.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | fn eat(&mut self, tok_type: TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tok_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok_type` [INFO] [stdout] --> compiler/ac_parser/src/parser.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | fn seeing(&mut self, tok_type: TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tok_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `db`, `cursor`, `token`, and `pos` are never read [INFO] [stdout] --> compiler/ac_parser/src/lexer/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Lexer<'db> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 13 | db: &'db dyn AcDbTrait, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | cursor: Cursor<'db>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | token: Token<'db>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `cook` are never used [INFO] [stdout] --> compiler/ac_parser/src/lexer/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'db> Lexer<'db> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(db: &'db dyn AcDbTrait, input: &'db str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn cook(&mut self) -> Token<'db> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `len_remaining` and `chars` are never read [INFO] [stdout] --> compiler/ac_parser/src/lexer/cursor.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Cursor<'src> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | len_remaining: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | /// Iterator over chars. Slightly faster than a &str. [INFO] [stdout] 13 | chars: Chars<'src>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cursor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> compiler/ac_parser/src/lexer/cursor.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'src> Cursor<'src> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(input: &'src str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) fn as_str(&self) -> &'src str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub(crate) fn first(&self) -> char { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub(crate) fn bump(&mut self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub(crate) fn eat_while(&mut self, predicate: impl Fn(char) -> bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub(crate) fn eat_until(&mut self, byte: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub(crate) fn bumped_len(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub(crate) fn reset_len_remaining(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn is_at_eof(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EOF_CHAR` is never used [INFO] [stdout] --> compiler/ac_parser/src/lexer/cursor.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | const EOF_CHAR: char = '\0'; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Parser` is never constructed [INFO] [stdout] --> compiler/ac_parser/src/parser.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Parser<'db> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lexer`, `cur`, and `prev` are never read [INFO] [stdout] --> compiler/ac_parser/src/parser.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Parser<'db> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 12 | db: &'db dyn AcDbTrait, [INFO] [stdout] 13 | lexer: Lexer<'db>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | cur: Token<'db>, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | prev: Token<'db>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `using_namespace` and `eat` are never used [INFO] [stdout] --> compiler/ac_parser/src/parser.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'db> Parser<'db> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | fn using_namespace(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | [INFO] [stdout] 42 | fn eat(&mut self, tok_type: TokenType) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok_type` [INFO] [stdout] --> compiler/ac_parser/src/parser.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | fn eat(&mut self, tok_type: TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tok_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok_type` [INFO] [stdout] --> compiler/ac_parser/src/parser.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | fn seeing(&mut self, tok_type: TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tok_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> compiler/ac_query/src/compile.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn compile(db: &dyn AcDbTrait, src: SourceFile) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> compiler/ac_query/src/compile.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn compile(db: &dyn AcDbTrait, src: SourceFile) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `db`, `cursor`, `token`, and `pos` are never read [INFO] [stdout] --> compiler/ac_parser/src/lexer/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Lexer<'db> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 13 | db: &'db dyn AcDbTrait, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | cursor: Cursor<'db>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | token: Token<'db>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `cook` are never used [INFO] [stdout] --> compiler/ac_parser/src/lexer/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'db> Lexer<'db> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(db: &'db dyn AcDbTrait, input: &'db str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn cook(&mut self) -> Token<'db> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `len_remaining` and `chars` are never read [INFO] [stdout] --> compiler/ac_parser/src/lexer/cursor.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Cursor<'src> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | len_remaining: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | /// Iterator over chars. Slightly faster than a &str. [INFO] [stdout] 13 | chars: Chars<'src>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cursor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> compiler/ac_parser/src/lexer/cursor.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'src> Cursor<'src> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new(input: &'src str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) fn as_str(&self) -> &'src str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub(crate) fn first(&self) -> char { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub(crate) fn bump(&mut self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub(crate) fn eat_while(&mut self, predicate: impl Fn(char) -> bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub(crate) fn eat_until(&mut self, byte: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub(crate) fn bumped_len(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub(crate) fn reset_len_remaining(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn is_at_eof(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EOF_CHAR` is never used [INFO] [stdout] --> compiler/ac_parser/src/lexer/cursor.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | const EOF_CHAR: char = '\0'; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Parser` is never constructed [INFO] [stdout] --> compiler/ac_parser/src/parser.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Parser<'db> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lexer`, `cur`, and `prev` are never read [INFO] [stdout] --> compiler/ac_parser/src/parser.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Parser<'db> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 12 | db: &'db dyn AcDbTrait, [INFO] [stdout] 13 | lexer: Lexer<'db>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | cur: Token<'db>, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | prev: Token<'db>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `using_namespace` and `eat` are never used [INFO] [stdout] --> compiler/ac_parser/src/parser.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'db> Parser<'db> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | fn using_namespace(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | [INFO] [stdout] 42 | fn eat(&mut self, tok_type: TokenType) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ac_parser` (lib) due to 1 previous error; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> compiler/ac_query/src/parse_file.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn parse_file(db: &dyn AcDbTrait, src: SourceFile) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> compiler/ac_query/src/parse_file.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn parse_file(db: &dyn AcDbTrait, src: SourceFile) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ac_parser` (lib test) due to 1 previous error; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d4d3b4b2302ed55d791669a6e2b23ac09b7bc59812b82804517e800884fa983c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4d3b4b2302ed55d791669a6e2b23ac09b7bc59812b82804517e800884fa983c", kill_on_drop: false }` [INFO] [stdout] d4d3b4b2302ed55d791669a6e2b23ac09b7bc59812b82804517e800884fa983c