[INFO] cloning repository https://github.com/cmilatinov/compiler-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cmilatinov/compiler-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmilatinov%2Fcompiler-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmilatinov%2Fcompiler-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 063c45f86d469da717da049e1ef48e5ad56d5bb1 [INFO] checking cmilatinov/compiler-rust against try#ac4c3613be2acd5395b65d85e5657b81e3c982f0 for pr-154585 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmilatinov%2Fcompiler-rust" "/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/cmilatinov/compiler-rust [INFO] finished tweaking git repo https://github.com/cmilatinov/compiler-rust [INFO] tweaked toml for git repo https://github.com/cmilatinov/compiler-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cmilatinov/compiler-rust on toolchain ac4c3613be2acd5395b65d85e5657b81e3c982f0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cmilatinov/compiler-rust 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" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "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" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc8ffbf42fd1bb36119af6f6516317153b2e2932a3d9b0bb648d3ecd68eed73b [INFO] running `Command { std: "docker" "start" "-a" "cc8ffbf42fd1bb36119af6f6516317153b2e2932a3d9b0bb648d3ecd68eed73b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc8ffbf42fd1bb36119af6f6516317153b2e2932a3d9b0bb648d3ecd68eed73b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc8ffbf42fd1bb36119af6f6516317153b2e2932a3d9b0bb648d3ecd68eed73b", kill_on_drop: false }` [INFO] [stdout] cc8ffbf42fd1bb36119af6f6516317153b2e2932a3d9b0bb648d3ecd68eed73b [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" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 137d43ca798760e9f88dd3a9d5f38ad9ba07ee58475e7da889ed0c24dc78229c [INFO] running `Command { std: "docker" "start" "-a" "137d43ca798760e9f88dd3a9d5f38ad9ba07ee58475e7da889ed0c24dc78229c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling rustix v0.38.15 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking aho-corasick v1.1.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Checking vte v0.14.1 [INFO] [stderr] Checking linux-raw-sys v0.4.8 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Checking ansitok v0.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Checking ansi-str v0.9.0 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking bytecount v0.6.9 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Checking supports-color v3.0.0 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Checking papergrid v0.17.0 [INFO] [stderr] Checking testing_table v0.3.0 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking supports-unicode v3.0.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Checking supports-hyperlinks v3.0.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling colored v2.0.4 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Checking bimap v0.6.3 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Compiling indextree v4.6.1 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking iced-x86 v1.21.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking generational-arena v0.2.9 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking ident_case v1.0.1 [INFO] [stderr] Checking backtrace-ext v0.2.1 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Checking insta v1.41.1 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling tabled_derive v0.11.0 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.1.0 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling derived-deref v2.1.0 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Checking lazy-regex v3.1.0 [INFO] [stderr] Compiling tabled v0.20.0 [INFO] [stderr] Checking num_enum v0.7.4 [INFO] [stderr] Compiling miette v7.2.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Checking lexion_derive v0.1.0 (/opt/rustwide/workdir/lexion_lib/lexion_derive) [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling lexion_lib v0.1.0 (/opt/rustwide/workdir/lexion_lib) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lexion_lib/src/parsers/table.rs:182:23 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn get_action(&self, state_index: usize, symbol: &str) -> Cow { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 182 | pub fn get_action(&self, state_index: usize, symbol: &str) -> Cow<'_, ParseTableAction> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lexion_lib/src/tokenizer/tokenizer.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn from_string(input: Arc, token_types: &[TokenType]) -> Tokenizer { [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn from_string(input: Arc, token_types: &[TokenType]) -> Tokenizer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lexion_lib/src/parsers/table.rs:182:23 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn get_action(&self, state_index: usize, symbol: &str) -> Cow { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 182 | pub fn get_action(&self, state_index: usize, symbol: &str) -> Cow<'_, ParseTableAction> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lexion_lib/src/tokenizer/tokenizer.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn from_string(input: Arc, token_types: &[TokenType]) -> Tokenizer { [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn from_string(input: Arc, token_types: &[TokenType]) -> Tokenizer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking lexion_parsers v0.1.0 (/opt/rustwide/workdir/lexion_parsers) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lexion_lib/src/parsers/table.rs:182:23 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn get_action(&self, state_index: usize, symbol: &str) -> Cow { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 182 | pub fn get_action(&self, state_index: usize, symbol: &str) -> Cow<'_, ParseTableAction> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lexion_lib/src/tokenizer/tokenizer.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn from_string(input: Arc, token_types: &[TokenType]) -> Tokenizer { [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn from_string(input: Arc, token_types: &[TokenType]) -> Tokenizer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lexion_lang v0.1.0 (/opt/rustwide/workdir/lexion_lang) [INFO] [stderr] warning: lexion_lang@0.1.0: Read-only file system (os error 30) [INFO] [stdout] warning: unused variable: `diag` [INFO] [stdout] --> lexion_lang/src/generators/x86/x86.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | fn exec(self, diag: &mut dyn DiagnosticConsumer, opts: Self::Options) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_diag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> lexion_lang/src/generators/x86/x86.rs:29:54 [INFO] [stdout] | [INFO] [stdout] 29 | fn exec(self, diag: &mut dyn DiagnosticConsumer, opts: Self::Options) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> lexion_lang/src/type_checker/type_checker.rs:746:37 [INFO] [stdout] | [INFO] [stdout] 746 | fn begin_struct_stmt(&mut self, stmt: &StructDeclStmt) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bitness` is never read [INFO] [stdout] --> lexion_lang/src/ast/types.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct PrimitiveTypeLayout { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 58 | primitive: PrimitiveType, [INFO] [stdout] 59 | bitness: Bitness, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `members` is never read [INFO] [stdout] --> lexion_lang/src/generators/x86/memory_layout.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct MemoryLayout { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 102 | members: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemoryLayout` 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: field `cfg` is never read [INFO] [stdout] --> lexion_lang/src/generators/x86/register_allocator.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LinearRegisterAllocator<'a> { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | cfg: &'a ControlFlowGraph, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cfg`, `types`, `symbols`, and `assembler` are never read [INFO] [stdout] --> lexion_lang/src/generators/x86/x86.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CodeGeneratorX86<'a> { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 9 | cfg: &'a ControlFlowGraph, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | types: &'a TypeCollection, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | symbols: &'a SymbolTable, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | assembler: CodeAssembler, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lexion_lang/src/ast/types.rs:180:28 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn to_string_index(&self, ty: Index) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 180 | pub fn to_string_index(&self, ty: Index) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `diag` [INFO] [stdout] --> lexion_lang/src/generators/x86/x86.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | fn exec(self, diag: &mut dyn DiagnosticConsumer, opts: Self::Options) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_diag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> lexion_lang/src/generators/x86/x86.rs:29:54 [INFO] [stdout] | [INFO] [stdout] 29 | fn exec(self, diag: &mut dyn DiagnosticConsumer, opts: Self::Options) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt` [INFO] [stdout] --> lexion_lang/src/type_checker/type_checker.rs:746:37 [INFO] [stdout] | [INFO] [stdout] 746 | fn begin_struct_stmt(&mut self, stmt: &StructDeclStmt) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_stmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bitness` is never read [INFO] [stdout] --> lexion_lang/src/ast/types.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct PrimitiveTypeLayout { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 58 | primitive: PrimitiveType, [INFO] [stdout] 59 | bitness: Bitness, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `members` is never read [INFO] [stdout] --> lexion_lang/src/generators/x86/memory_layout.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct MemoryLayout { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 102 | members: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemoryLayout` 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: field `cfg` is never read [INFO] [stdout] --> lexion_lang/src/generators/x86/register_allocator.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LinearRegisterAllocator<'a> { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | cfg: &'a ControlFlowGraph, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cfg`, `types`, `symbols`, and `assembler` are never read [INFO] [stdout] --> lexion_lang/src/generators/x86/x86.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CodeGeneratorX86<'a> { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 9 | cfg: &'a ControlFlowGraph, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | types: &'a TypeCollection, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | symbols: &'a SymbolTable, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | assembler: CodeAssembler, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lexion_lang/src/ast/types.rs:180:28 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn to_string_index(&self, ty: Index) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 180 | pub fn to_string_index(&self, ty: Index) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "137d43ca798760e9f88dd3a9d5f38ad9ba07ee58475e7da889ed0c24dc78229c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "137d43ca798760e9f88dd3a9d5f38ad9ba07ee58475e7da889ed0c24dc78229c", kill_on_drop: false }` [INFO] [stdout] 137d43ca798760e9f88dd3a9d5f38ad9ba07ee58475e7da889ed0c24dc78229c