[INFO] cloning repository https://github.com/void-scape/july [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/void-scape/july" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoid-scape%2Fjuly", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoid-scape%2Fjuly'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f1de10591bbc579418b943b244bc22a952d57f29 [INFO] checking void-scape/july against try#0fe3684930279e4d3be3aca66b30f82946ce9ac2 for pr-138340 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoid-scape%2Fjuly" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/void-scape/july on toolchain 0fe3684930279e4d3be3aca66b30f82946ce9ac2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/void-scape/july [INFO] finished tweaking git repo https://github.com/void-scape/july [INFO] tweaked toml for git repo https://github.com/void-scape/july written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/void-scape/july 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" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2289f9e2b34c5050ccce2b3c93ca1a461f5f8e8709d07662d48fc9695bb9f6e5 [INFO] running `Command { std: "docker" "start" "-a" "2289f9e2b34c5050ccce2b3c93ca1a461f5f8e8709d07662d48fc9695bb9f6e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2289f9e2b34c5050ccce2b3c93ca1a461f5f8e8709d07662d48fc9695bb9f6e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2289f9e2b34c5050ccce2b3c93ca1a461f5f8e8709d07662d48fc9695bb9f6e5", kill_on_drop: false }` [INFO] [stdout] 2289f9e2b34c5050ccce2b3c93ca1a461f5f8e8709d07662d48fc9695bb9f6e5 [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fa93dad691b6c3dbbee338b7ca54e5982cffa656211c188aa77515edc7f10f2 [INFO] running `Command { std: "docker" "start" "-a" "9fa93dad691b6c3dbbee338b7ca54e5982cffa656211c188aa77515edc7f10f2", kill_on_drop: false }` [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling cranelift-isle v0.116.1 [INFO] [stderr] Compiling cranelift-codegen-shared v0.116.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling unicode-ident v1.0.15 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling target-lexicon v0.13.1 [INFO] [stderr] Compiling cranelift-codegen-meta v0.116.1 [INFO] [stderr] Checking cranelift-bitset v0.116.1 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking arbitrary v1.4.1 [INFO] [stderr] Checking cranelift-entity v0.116.1 [INFO] [stderr] Checking bumpalo v3.17.0 [INFO] [stderr] Checking rustc-hash v2.1.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking cranelift-bforest v0.116.1 [INFO] [stderr] Checking cranelift-control v0.116.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking regalloc2 v0.11.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling libffi-sys v2.3.0 [INFO] [stderr] Checking clap_builder v4.5.31 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Compiling cranelift-codegen v0.116.1 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Checking annotate-snippets v0.11.5 [INFO] [stderr] Checking winnow v0.6.24 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling variadics_please v1.1.0 [INFO] [stderr] Checking clap v4.5.31 [INFO] [stderr] Checking libffi v3.2.0 [INFO] [stderr] Checking cranelift-module v0.116.1 [INFO] [stderr] Checking cranelift-native v0.116.1 [INFO] [stderr] Checking cranelift-frontend v0.116.1 [INFO] [stderr] Checking cranelift-object v0.116.1 [INFO] [stderr] Checking july v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::PARSE_ERR` [INFO] [stdout] --> src/parse/stream.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::PARSE_ERR; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::PARSE_ERR` [INFO] [stdout] --> src/parse/stream.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::PARSE_ERR; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/air/bin.rs:43:48 [INFO] [stdout] | [INFO] [stdout] 43 | (InferTy::Ty(lhs), InferTy::Ty(rhs)) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> src/air/bin.rs:43:48 [INFO] [stdout] | [INFO] [stdout] 43 | (InferTy::Ty(lhs), InferTy::Ty(rhs)) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr_num` [INFO] [stdout] --> src/interp/mod.rs:697:5 [INFO] [stdout] | [INFO] [stdout] 697 | instr_num: usize, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instr_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr_num` [INFO] [stdout] --> src/interp/mod.rs:697:5 [INFO] [stdout] | [INFO] [stdout] 697 | instr_num: usize, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instr_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev` [INFO] [stdout] --> src/ir/enom.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | prev: Option, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev` [INFO] [stdout] --> src/ir/enom.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | prev: Option, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/air/mod.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl Bits { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn from_u8(bits: u8) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn from_u16(bits: u16) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn from_i8(bits: i8) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn from_i16(bits: i16) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn from_i32(bits: i32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn from_i64(bits: i64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn from_f32(bits: f32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next_block` is never used [INFO] [stdout] --> src/air/mod.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 187 | impl<'a> AirFunc<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn next_block(&self, block: BlockId) -> Option<&[Air<'a>]> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `zero_deref` is never used [INFO] [stdout] --> src/air/mod.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 306 | impl OffsetVar { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 327 | pub fn zero_deref(var: Var) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `BOOL`, `PTR`, and `as_str` are never used [INFO] [stdout] --> src/air/mod.rs:386:15 [INFO] [stdout] | [INFO] [stdout] 384 | impl IntKind { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 385 | // TODO: unify all these types sizes into one place, this is spread out everywhere [INFO] [stdout] 386 | pub const BOOL: Self = IntKind::U8; [INFO] [stdout] | ^^^^ [INFO] [stdout] 387 | pub const PTR: Self = IntKind::I64; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 390 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `call` is never used [INFO] [stdout] --> src/air/ctx.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 222 | impl<'a> AirCtx<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn call(&mut self, sig: &'a Sig, args: Args) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `empty`, `error_span`, `note_span`, `info_span`, and `help_span` are never used [INFO] [stdout] --> src/diagnostic.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl Msg { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn error_span(span: Span) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn note_span(span: Span) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn info_span(span: Span) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn help_span(span: Span) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `new_owned`, `error`, and `note` are never used [INFO] [stdout] --> src/diagnostic.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 186 | impl<'a> Label<'a> { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 187 | pub fn new(label: &'a str, level: Level) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn new_owned(label: String, level: Level) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn error(label: impl Into>) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn note(label: impl Into>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/diagnostic.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 221 | impl Spanned { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 222 | pub fn new(span: Span, inner: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enom` is never used [INFO] [stdout] --> src/ir/mod.rs:413:4 [INFO] [stdout] | [INFO] [stdout] 413 | fn enom<'a>(ctx: &mut Ctx<'a>, enom: &rules::Enum) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `infer_abs` is never used [INFO] [stdout] --> src/ir/mod.rs:849:12 [INFO] [stdout] | [INFO] [stdout] 760 | impl Expr<'_> { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 849 | pub fn infer_abs<'a>(&self, ctx: &AirCtx<'a>) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `output_is_input` is never used [INFO] [stdout] --> src/ir/mod.rs:1077:12 [INFO] [stdout] | [INFO] [stdout] 1076 | impl BinOpKind { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 1077 | pub fn output_is_input(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `enums` is never read [INFO] [stdout] --> src/ir/ctx.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Ctx<'a> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub enums: EnumStore, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ctx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `report_note` and `struct_name` are never used [INFO] [stdout] --> src/ir/ctx.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> Ctx<'a> { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn report_note(&self, span: Span, err: impl Into) -> Diag<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn struct_name(&self, id: StructId) -> &str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span`, `name`, and `variants` are never read [INFO] [stdout] --> src/ir/enom.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Enum { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub variants: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Enum` 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: fields `map`, `layouts`, `variants`, and `buf` are never read [INFO] [stdout] --> src/ir/enom.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct EnumStore { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 57 | pub(super) map: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] 58 | pub(super) layouts: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 59 | pub(super) variants: HashMap>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 60 | pub(super) buf: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumStore` 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 methods are never used [INFO] [stdout] --> src/ir/enom.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl EnumStore { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 64 | pub fn store(&mut self, enom: Enum) -> EnumId { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn enom(&self, id: EnumId) -> &Enum { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn expect_enum_ident(&self, ident: IdentId) -> &Enum { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn enum_id(&self, ident: IdentId) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn expect_enum_id(&self, ident: IdentId) -> EnumId { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn layout(&self, id: EnumId) -> Layout { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub(super) fn build_layouts<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn layout_enum<'a>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_id` is never used [INFO] [stdout] --> src/ir/ident.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a> IdentStore<'a> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_id(&self, str: &str) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_int` is never used [INFO] [stdout] --> src/ir/lit.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl LitKind { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 27 | pub fn is_int(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `align_shift` is never used [INFO] [stdout] --> src/ir/mem.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Layout { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn align_shift(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_external` is never used [INFO] [stdout] --> src/ir/sig.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Sig<'_> { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn is_external(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_external` is never used [INFO] [stdout] --> src/ir/sig.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Linkage<'_> { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 35 | pub fn is_external(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ir/strukt.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Struct { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 10 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Struct` 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 `into_ty_path` is never used [INFO] [stdout] --> src/ir/ty/store.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait IntoTyPath<'a> { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 18 | fn into_ty_path(&self) -> TyPath<'a>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `structs` is never used [INFO] [stdout] --> src/ir/ty/store.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl<'a> TyStore<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn structs(&self) -> &[Struct] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Slash` is never constructed [INFO] [stdout] --> src/lex/kind.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum TokenKind { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 60 | Slash, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenKind` 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 `is_keyword` is never used [INFO] [stdout] --> src/lex/kind.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl TokenKind { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn is_keyword(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse/mod.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | Enum(Enum), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - Enum(Enum), [INFO] [stdout] 17 + Enum(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span`, `name`, and `variants` are never read [INFO] [stdout] --> src/parse/rules/enom.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Enum { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 12 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | pub name: TokenId, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub variants: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Enum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `colon` is never read [INFO] [stdout] --> src/parse/rules/strukt.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Field { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub colon: TokenId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `colon` is never read [INFO] [stdout] --> src/parse/rules/strukt.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct FieldDef { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 141 | pub colon: TokenId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldDef` 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 `eat_to_index` is never used [INFO] [stdout] --> src/parse/stream.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a> TokenStream<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn eat_to_index(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write` is never used [INFO] [stdout] --> src/unit/io.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn write>(path: P, contents: &[u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read` is never used [INFO] [stdout] --> src/unit/io.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn read>(path: P) -> io::Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/air/mod.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl Bits { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn from_u8(bits: u8) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn from_u16(bits: u16) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn from_i8(bits: i8) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn from_i16(bits: i16) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn from_i32(bits: i32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn from_i64(bits: i64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn from_f32(bits: f32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next_block` is never used [INFO] [stdout] --> src/air/mod.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 187 | impl<'a> AirFunc<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn next_block(&self, block: BlockId) -> Option<&[Air<'a>]> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `zero_deref` is never used [INFO] [stdout] --> src/air/mod.rs:327:12 [INFO] [stdout] | [INFO] [stdout] 306 | impl OffsetVar { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 327 | pub fn zero_deref(var: Var) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `BOOL`, `PTR`, and `as_str` are never used [INFO] [stdout] --> src/air/mod.rs:386:15 [INFO] [stdout] | [INFO] [stdout] 384 | impl IntKind { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 385 | // TODO: unify all these types sizes into one place, this is spread out everywhere [INFO] [stdout] 386 | pub const BOOL: Self = IntKind::U8; [INFO] [stdout] | ^^^^ [INFO] [stdout] 387 | pub const PTR: Self = IntKind::I64; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 390 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `call` is never used [INFO] [stdout] --> src/air/ctx.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 222 | impl<'a> AirCtx<'a> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn call(&mut self, sig: &'a Sig, args: Args) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `alloc` is never used [INFO] [stdout] --> src/arena.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl Arena { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 111 | pub fn alloc(&self, item: T) -> &mut T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `empty`, `error_span`, `note_span`, `info_span`, and `help_span` are never used [INFO] [stdout] --> src/diagnostic.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl Msg { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn error_span(span: Span) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn note_span(span: Span) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn info_span(span: Span) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn help_span(span: Span) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `new_owned`, `error`, and `note` are never used [INFO] [stdout] --> src/diagnostic.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 186 | impl<'a> Label<'a> { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 187 | pub fn new(label: &'a str, level: Level) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn new_owned(label: String, level: Level) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn error(label: impl Into>) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn note(label: impl Into>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/diagnostic.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 221 | impl Spanned { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 222 | pub fn new(span: Span, inner: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `enom` is never used [INFO] [stdout] --> src/ir/mod.rs:413:4 [INFO] [stdout] | [INFO] [stdout] 413 | fn enom<'a>(ctx: &mut Ctx<'a>, enom: &rules::Enum) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `infer_abs` is never used [INFO] [stdout] --> src/ir/mod.rs:849:12 [INFO] [stdout] | [INFO] [stdout] 760 | impl Expr<'_> { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 849 | pub fn infer_abs<'a>(&self, ctx: &AirCtx<'a>) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `output_is_input` is never used [INFO] [stdout] --> src/ir/mod.rs:1077:12 [INFO] [stdout] | [INFO] [stdout] 1076 | impl BinOpKind { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 1077 | pub fn output_is_input(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `enums` is never read [INFO] [stdout] --> src/ir/ctx.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Ctx<'a> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub enums: EnumStore, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ctx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `report_note` and `struct_name` are never used [INFO] [stdout] --> src/ir/ctx.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> Ctx<'a> { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn report_note(&self, span: Span, err: impl Into) -> Diag<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn struct_name(&self, id: StructId) -> &str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span`, `name`, and `variants` are never read [INFO] [stdout] --> src/ir/enom.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Enum { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub name: Ident, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub variants: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Enum` 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: fields `map`, `layouts`, `variants`, and `buf` are never read [INFO] [stdout] --> src/ir/enom.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct EnumStore { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 57 | pub(super) map: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] 58 | pub(super) layouts: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 59 | pub(super) variants: HashMap>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 60 | pub(super) buf: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnumStore` 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 methods are never used [INFO] [stdout] --> src/ir/enom.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl EnumStore { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 64 | pub fn store(&mut self, enom: Enum) -> EnumId { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn enom(&self, id: EnumId) -> &Enum { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn expect_enum_ident(&self, ident: IdentId) -> &Enum { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn enum_id(&self, ident: IdentId) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn expect_enum_id(&self, ident: IdentId) -> EnumId { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn layout(&self, id: EnumId) -> Layout { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub(super) fn build_layouts<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn layout_enum<'a>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_id` is never used [INFO] [stdout] --> src/ir/ident.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a> IdentStore<'a> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_id(&self, str: &str) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_int` is never used [INFO] [stdout] --> src/ir/lit.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl LitKind { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 27 | pub fn is_int(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `align_shift` is never used [INFO] [stdout] --> src/ir/mem.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Layout { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn align_shift(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_external` is never used [INFO] [stdout] --> src/ir/sig.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Sig<'_> { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn is_external(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_external` is never used [INFO] [stdout] --> src/ir/sig.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Linkage<'_> { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 35 | pub fn is_external(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ir/strukt.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Struct { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 10 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Struct` 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 `into_ty_path` is never used [INFO] [stdout] --> src/ir/ty/store.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait IntoTyPath<'a> { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 18 | fn into_ty_path(&self) -> TyPath<'a>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `structs` is never used [INFO] [stdout] --> src/ir/ty/store.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl<'a> TyStore<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn structs(&self) -> &[Struct] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Slash` is never constructed [INFO] [stdout] --> src/lex/kind.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum TokenKind { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 60 | Slash, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenKind` 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 `is_keyword` is never used [INFO] [stdout] --> src/lex/kind.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl TokenKind { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn is_keyword(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse/mod.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | Enum(Enum), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - Enum(Enum), [INFO] [stdout] 17 + Enum(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span`, `name`, and `variants` are never read [INFO] [stdout] --> src/parse/rules/enom.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Enum { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 12 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | pub name: TokenId, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub variants: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Enum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `colon` is never read [INFO] [stdout] --> src/parse/rules/strukt.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Field { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub colon: TokenId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `colon` is never read [INFO] [stdout] --> src/parse/rules/strukt.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct FieldDef { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 141 | pub colon: TokenId, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldDef` 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 `eat_to_index` is never used [INFO] [stdout] --> src/parse/stream.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a> TokenStream<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn eat_to_index(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write` is never used [INFO] [stdout] --> src/unit/io.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn write>(path: P, contents: &[u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read` is never used [INFO] [stdout] --> src/unit/io.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn read>(path: P) -> io::Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "9fa93dad691b6c3dbbee338b7ca54e5982cffa656211c188aa77515edc7f10f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fa93dad691b6c3dbbee338b7ca54e5982cffa656211c188aa77515edc7f10f2", kill_on_drop: false }` [INFO] [stdout] 9fa93dad691b6c3dbbee338b7ca54e5982cffa656211c188aa77515edc7f10f2