[INFO] cloning repository https://github.com/rubenjr0/elk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rubenjr0/elk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frubenjr0%2Felk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frubenjr0%2Felk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9979d731a2768101c3839a94640a8f425ca7541a [INFO] checking rubenjr0/elk against master#d49be02cf6d2e2a01264fcdef1e20c826710c0f5 for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frubenjr0%2Felk" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rubenjr0/elk on toolchain d49be02cf6d2e2a01264fcdef1e20c826710c0f5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rubenjr0/elk [INFO] finished tweaking git repo https://github.com/rubenjr0/elk [INFO] tweaked toml for git repo https://github.com/rubenjr0/elk written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rubenjr0/elk 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" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cranelift-entity v0.112.1 [INFO] [stderr] Downloaded cranelift-control v0.112.1 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.112.1 [INFO] [stderr] Downloaded cranelift v0.111.0 [INFO] [stderr] Downloaded cranelift-bitset v0.112.1 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.111.0 [INFO] [stderr] Downloaded cranelift-entity v0.111.0 [INFO] [stderr] Downloaded cranelift-bitset v0.111.0 [INFO] [stderr] Downloaded cranelift-bforest v0.111.0 [INFO] [stderr] Downloaded cranelift-frontend v0.111.0 [INFO] [stderr] Downloaded cranelift-isle v0.111.0 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.111.0 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.112.1 [INFO] [stderr] Downloaded cranelift-control v0.111.0 [INFO] [stderr] Downloaded cranelift-isle v0.112.1 [INFO] [stderr] Downloaded cranelift-module v0.111.0 [INFO] [stderr] Downloaded cranelift-bforest v0.112.1 [INFO] [stderr] Downloaded cranelift-codegen v0.111.0 [INFO] [stderr] Downloaded cranelift-codegen v0.112.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6e1035290a019ecbced70948e0c8f9282b076e4152549c8e86b5b0886ead0ce [INFO] running `Command { std: "docker" "start" "-a" "f6e1035290a019ecbced70948e0c8f9282b076e4152549c8e86b5b0886ead0ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6e1035290a019ecbced70948e0c8f9282b076e4152549c8e86b5b0886ead0ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6e1035290a019ecbced70948e0c8f9282b076e4152549c8e86b5b0886ead0ce", kill_on_drop: false }` [INFO] [stdout] f6e1035290a019ecbced70948e0c8f9282b076e4152549c8e86b5b0886ead0ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9755f6325ad7ff8be5595903f6b8068ae2611de5b86acaced3c8a57dbdff59c8 [INFO] running `Command { std: "docker" "start" "-a" "9755f6325ad7ff8be5595903f6b8068ae2611de5b86acaced3c8a57dbdff59c8", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling cranelift-isle v0.111.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling cranelift-codegen-shared v0.111.0 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking arbitrary v1.3.2 [INFO] [stderr] Checking slice-group-by v0.3.1 [INFO] [stderr] Compiling cranelift-codegen-meta v0.111.0 [INFO] [stderr] Compiling cranelift-isle v0.112.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking cranelift-bitset v0.111.0 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking cranelift-entity v0.111.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.112.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.112.1 [INFO] [stderr] Checking cranelift-bitset v0.112.1 [INFO] [stderr] Checking cranelift-bforest v0.111.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cranelift-control v0.111.0 [INFO] [stderr] Checking cranelift-entity v0.112.1 [INFO] [stderr] Checking regalloc2 v0.9.3 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking regalloc2 v0.10.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking cranelift-bforest v0.112.1 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Checking cranelift-control v0.112.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling cranelift-codegen v0.111.0 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Compiling cranelift-codegen v0.112.1 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking cranelift-frontend v0.111.0 [INFO] [stderr] Checking cranelift v0.111.0 [INFO] [stderr] Checking elk-core v0.1.0 (/opt/rustwide/workdir/compiler-core) [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> compiler-core/src/frontend/analysis.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn analyze(program: &Program) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> compiler-core/src/frontend/analysis.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn analyze(program: &Program) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `F32` and `F64` are never constructed [INFO] [stdout] --> compiler-core/src/frontend/ast/expressions.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Literal { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | F32(f32), [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | F64(f64), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Tuple` is never constructed [INFO] [stdout] --> compiler-core/src/frontend/ast/expressions.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub enum Pattern { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 77 | Tuple(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pattern` 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 `name` and `signature` are never read [INFO] [stdout] --> compiler-core/src/frontend/ast/functions.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct FunctionDefinition { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 5 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | signature: FunctionSignature, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionDefinition` 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 `name`, `arguments`, and `body` are never read [INFO] [stdout] --> compiler-core/src/frontend/ast/functions.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct FunctionImplementation { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 11 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | arguments: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | body: FunctionBody, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionImplementation` 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 `name` and `signature` are never used [INFO] [stdout] --> compiler-core/src/frontend/ast/functions.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl FunctionDefinition { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub const fn signature(&self) -> &FunctionSignature { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `arguments`, and `body` are never used [INFO] [stdout] --> compiler-core/src/frontend/ast/functions.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl FunctionImplementation { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn arguments(&self) -> &[String] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub const fn body(&self) -> &FunctionBody { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function_definitions`, `function_implementations`, `type_definitions`, and `entry_point` are never read [INFO] [stdout] --> compiler-core/src/frontend/ast/program.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Program { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | // imports: Vec, [INFO] [stdout] 11 | function_definitions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | function_implementations: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | type_definitions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | entry_point: Block, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `function_definitions` are never used [INFO] [stdout] --> compiler-core/src/frontend/ast/program.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 17 | impl Program { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 18 | pub const fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn function_definitions(&self) -> &[FunctionDefinition] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `statements` is never used [INFO] [stdout] --> compiler-core/src/frontend/ast/statements.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn statements(&self) -> &[Statement] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Compound` is never constructed [INFO] [stdout] --> compiler-core/src/frontend/ast/types/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Compound(CompoundType), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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: variants `Tuple` and `List` are never constructed [INFO] [stdout] --> compiler-core/src/frontend/ast/types/compound.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum CompoundType { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 5 | Tuple(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | List(Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompoundType` 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 `name` and `content` are never used [INFO] [stdout] --> compiler-core/src/frontend/ast/types/custom.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl CustomType { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub const fn content(&self) -> &CustomTypeContent { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `types` are never used [INFO] [stdout] --> compiler-core/src/frontend/ast/types/custom.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Variant { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub const fn types(&self) -> &Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `arguments` and `return_type` are never used [INFO] [stdout] --> compiler-core/src/frontend/ast/types/function.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl FunctionSignature { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn arguments(&self) -> &[Type] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub const fn return_type(&self) -> &Type { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unit` is never constructed [INFO] [stdout] --> compiler-core/src/frontend/ast/types/primitive.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum PrimitiveType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | Unit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrimitiveType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking elk v0.1.0 (/opt/rustwide/workdir/compiler-cli) [INFO] [stdout] warning: variants `F32` and `F64` are never constructed [INFO] [stdout] --> compiler-core/src/frontend/ast/expressions.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Literal { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | F32(f32), [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | F64(f64), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Tuple` is never constructed [INFO] [stdout] --> compiler-core/src/frontend/ast/expressions.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub enum Pattern { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 77 | Tuple(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pattern` 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 `function_definitions`, `function_implementations`, `type_definitions`, and `entry_point` are never read [INFO] [stdout] --> compiler-core/src/frontend/ast/program.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Program { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | // imports: Vec, [INFO] [stdout] 11 | function_definitions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | function_implementations: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | type_definitions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | entry_point: Block, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `function_definitions` are never used [INFO] [stdout] --> compiler-core/src/frontend/ast/program.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 17 | impl Program { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 18 | pub const fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn function_definitions(&self) -> &[FunctionDefinition] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `statements` is never used [INFO] [stdout] --> compiler-core/src/frontend/ast/statements.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn statements(&self) -> &[Statement] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Compound` is never constructed [INFO] [stdout] --> compiler-core/src/frontend/ast/types/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Compound(CompoundType), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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: variants `Tuple` and `List` are never constructed [INFO] [stdout] --> compiler-core/src/frontend/ast/types/compound.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum CompoundType { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 5 | Tuple(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | List(Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompoundType` 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 `arguments` and `return_type` are never used [INFO] [stdout] --> compiler-core/src/frontend/ast/types/function.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl FunctionSignature { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn arguments(&self) -> &[Type] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub const fn return_type(&self) -> &Type { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unit` is never constructed [INFO] [stdout] --> compiler-core/src/frontend/ast/types/primitive.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum PrimitiveType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | Unit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrimitiveType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "9755f6325ad7ff8be5595903f6b8068ae2611de5b86acaced3c8a57dbdff59c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9755f6325ad7ff8be5595903f6b8068ae2611de5b86acaced3c8a57dbdff59c8", kill_on_drop: false }` [INFO] [stdout] 9755f6325ad7ff8be5595903f6b8068ae2611de5b86acaced3c8a57dbdff59c8