[INFO] cloning repository https://github.com/mkanilsson/scl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mkanilsson/scl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkanilsson%2Fscl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkanilsson%2Fscl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] faaf28f459755bb06012f9562e9372e467b0ae68 [INFO] checking mkanilsson/scl against try#d7b15db413fd2070daa09a2c5b7f2ab38417429f for pr-144544 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkanilsson%2Fscl" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mkanilsson/scl [INFO] finished tweaking git repo https://github.com/mkanilsson/scl [INFO] tweaked toml for git repo https://github.com/mkanilsson/scl written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mkanilsson/scl on toolchain d7b15db413fd2070daa09a2c5b7f2ab38417429f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mkanilsson/scl 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" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11d454e9fc508752b3ab7cbb0a8c737ffa6bc22b83e32db2e5cd0e32d5a0c764 [INFO] running `Command { std: "docker" "start" "-a" "11d454e9fc508752b3ab7cbb0a8c737ffa6bc22b83e32db2e5cd0e32d5a0c764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11d454e9fc508752b3ab7cbb0a8c737ffa6bc22b83e32db2e5cd0e32d5a0c764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11d454e9fc508752b3ab7cbb0a8c737ffa6bc22b83e32db2e5cd0e32d5a0c764", kill_on_drop: false }` [INFO] [stdout] 11d454e9fc508752b3ab7cbb0a8c737ffa6bc22b83e32db2e5cd0e32d5a0c764 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0970af1c41a22c269649580fe0da2cc81ec7d690987cf00fcdb7c06a0dec8316 [INFO] running `Command { std: "docker" "start" "-a" "0970af1c41a22c269649580fe0da2cc81ec7d690987cf00fcdb7c06a0dec8316", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling logos-codegen v0.15.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling term v1.1.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling ascii-canvas v4.0.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Checking miniz_oxide v0.8.3 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling owo-colors v4.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking supports-color v3.0.2 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking terminal_size v0.4.1 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking supports-hyperlinks v3.1.0 [INFO] [stderr] Checking supports-unicode v3.0.0 [INFO] [stderr] Checking qbe v2.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking lalrpop-util v0.22.2 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking insta v1.43.1 [INFO] [stderr] Compiling lalrpop v0.22.2 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling logos-derive v0.15.0 [INFO] [stderr] Checking logos v0.15.0 [INFO] [stderr] Checking nanoid v0.4.0 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking backtrace-ext v0.2.1 [INFO] [stderr] Checking miette v7.6.0 [INFO] [stderr] Checking strum v0.27.1 [INFO] [stderr] Compiling scl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `StackSlotId` [INFO] [stdout] --> src/typechecker/mod.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use stack::{StackSlotId, StackSlots}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StackSlotId` [INFO] [stdout] --> src/typechecker/mod.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use stack::{StackSlotId, StackSlots}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/parser.rs:44:58 [INFO] [stdout] | [INFO] [stdout] 44 | lalrpop_util::ParseError::InvalidToken { location } => todo!(), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `location: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/parser.rs:45:61 [INFO] [stdout] | [INFO] [stdout] 45 | lalrpop_util::ParseError::UnrecognizedEof { location, expected } => todo!(), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `location: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/parser.rs:45:71 [INFO] [stdout] | [INFO] [stdout] 45 | lalrpop_util::ParseError::UnrecognizedEof { location, expected } => todo!(), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `expected: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser.rs:59:56 [INFO] [stdout] | [INFO] [stdout] 59 | lalrpop_util::ParseError::ExtraToken { token } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/parser.rs:60:50 [INFO] [stdout] | [INFO] [stdout] 60 | lalrpop_util::ParseError::User { error } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `error: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generic_id` [INFO] [stdout] --> src/typechecker/tajp.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | Type::Generic(generic_id) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generic_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `codegen_address_of_rvalue_expr` and `codegen_deref_rvalue_expr` are never used [INFO] [stdout] --> src/codegen.rs:430:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Codegen { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 430 | fn codegen_address_of_rvalue_expr<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | fn codegen_deref_rvalue_expr<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ExpectedOneOfButGot`, `IdentBeforeStructInstantation`, and `ExpectedProcStructExternUse` are never constructed [INFO] [stdout] --> src/error.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | ExpectedOneOfButGot { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | IdentBeforeStructInstantation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | ExpectedProcStructExternUse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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 functions `parse_expr` and `parse_stmt` are never used [INFO] [stdout] --> src/parser.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Parser { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 22 | pub fn parse_expr(expr: &str) -> Box { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn parse_stmt(stmt: &str) -> Stmt { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unit` is never read [INFO] [stdout] --> src/typechecker/mod.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct CheckerContext<'a> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 46 | unit: &'a TranslationUnit, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_id` is never read [INFO] [stdout] --> src/typechecker/ast.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct CheckedProc { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 17 | pub name: String, [INFO] [stdout] 18 | pub type_id: TypeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CheckedProc` 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 `alignment_of`, `size_of`, and `size_of_struct` are never used [INFO] [stdout] --> src/typechecker/tajp.rs:362:12 [INFO] [stdout] | [INFO] [stdout] 138 | impl TypeCollection { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 362 | pub fn alignment_of(&self, type_id: TypeId) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 371 | pub fn size_of(&self, type_id: TypeId) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | fn size_of_struct(&self, fields: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `alignment` are never read [INFO] [stdout] --> src/typechecker/tajp.rs:569:9 [INFO] [stdout] | [INFO] [stdout] 567 | pub struct FieldLayout { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 568 | pub offset: usize, [INFO] [stdout] 569 | pub size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 570 | pub alignment: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldLayout` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codegen.rs:250:32 [INFO] [stdout] | [INFO] [stdout] 250 | fn codegen_identifier_expr(&self, expr: &CheckedExpr, name: &str) -> (Type, Value) { [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] 250 | fn codegen_identifier_expr(&self, expr: &CheckedExpr, name: &str) -> (Type<'_>, Value) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codegen.rs:257:28 [INFO] [stdout] | [INFO] [stdout] 257 | fn codegen_number_expr(&self, expr: &CheckedExpr, value: u64) -> (Type, Value) { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 257 | fn codegen_number_expr(&self, expr: &CheckedExpr, value: u64) -> (Type<'_>, Value) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codegen.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 269 | ) -> (Type, Value) { [INFO] [stdout] | ---- 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 269 | ) -> (Type<'_>, Value) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/parser.rs:44:58 [INFO] [stdout] | [INFO] [stdout] 44 | lalrpop_util::ParseError::InvalidToken { location } => todo!(), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `location: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> src/parser.rs:45:61 [INFO] [stdout] | [INFO] [stdout] 45 | lalrpop_util::ParseError::UnrecognizedEof { location, expected } => todo!(), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `location: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/parser.rs:45:71 [INFO] [stdout] | [INFO] [stdout] 45 | lalrpop_util::ParseError::UnrecognizedEof { location, expected } => todo!(), [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `expected: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser.rs:59:56 [INFO] [stdout] | [INFO] [stdout] 59 | lalrpop_util::ParseError::ExtraToken { token } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/parser.rs:60:50 [INFO] [stdout] | [INFO] [stdout] 60 | lalrpop_util::ParseError::User { error } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `error: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generic_id` [INFO] [stdout] --> src/typechecker/tajp.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | Type::Generic(generic_id) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generic_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `codegen_address_of_rvalue_expr` and `codegen_deref_rvalue_expr` are never used [INFO] [stdout] --> src/codegen.rs:430:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Codegen { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 430 | fn codegen_address_of_rvalue_expr<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | fn codegen_deref_rvalue_expr<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ExpectedOneOfButGot`, `IdentBeforeStructInstantation`, and `ExpectedProcStructExternUse` are never constructed [INFO] [stdout] --> src/error.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | ExpectedOneOfButGot { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | IdentBeforeStructInstantation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | ExpectedProcStructExternUse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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 `unit` is never read [INFO] [stdout] --> src/typechecker/mod.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct CheckerContext<'a> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 46 | unit: &'a TranslationUnit, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `type_id` is never read [INFO] [stdout] --> src/typechecker/ast.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct CheckedProc { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 17 | pub name: String, [INFO] [stdout] 18 | pub type_id: TypeId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CheckedProc` 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 `alignment_of`, `size_of`, and `size_of_struct` are never used [INFO] [stdout] --> src/typechecker/tajp.rs:362:12 [INFO] [stdout] | [INFO] [stdout] 138 | impl TypeCollection { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 362 | pub fn alignment_of(&self, type_id: TypeId) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 371 | pub fn size_of(&self, type_id: TypeId) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | fn size_of_struct(&self, fields: &Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `alignment` are never read [INFO] [stdout] --> src/typechecker/tajp.rs:569:9 [INFO] [stdout] | [INFO] [stdout] 567 | pub struct FieldLayout { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 568 | pub offset: usize, [INFO] [stdout] 569 | pub size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 570 | pub alignment: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldLayout` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codegen.rs:250:32 [INFO] [stdout] | [INFO] [stdout] 250 | fn codegen_identifier_expr(&self, expr: &CheckedExpr, name: &str) -> (Type, Value) { [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] 250 | fn codegen_identifier_expr(&self, expr: &CheckedExpr, name: &str) -> (Type<'_>, Value) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codegen.rs:257:28 [INFO] [stdout] | [INFO] [stdout] 257 | fn codegen_number_expr(&self, expr: &CheckedExpr, value: u64) -> (Type, Value) { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 257 | fn codegen_number_expr(&self, expr: &CheckedExpr, value: u64) -> (Type<'_>, Value) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codegen.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 269 | ) -> (Type, Value) { [INFO] [stdout] | ---- 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 269 | ) -> (Type<'_>, Value) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.04s [INFO] running `Command { std: "docker" "inspect" "0970af1c41a22c269649580fe0da2cc81ec7d690987cf00fcdb7c06a0dec8316", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0970af1c41a22c269649580fe0da2cc81ec7d690987cf00fcdb7c06a0dec8316", kill_on_drop: false }` [INFO] [stdout] 0970af1c41a22c269649580fe0da2cc81ec7d690987cf00fcdb7c06a0dec8316