[INFO] fetching crate mosaic-lang 0.1.0...
[INFO] checking mosaic-lang-0.1.0 against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] extracting crate mosaic-lang 0.1.0 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate mosaic-lang 0.1.0
[INFO] finished tweaking crates.io crate mosaic-lang 0.1.0
[INFO] tweaked toml for crates.io crate mosaic-lang 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate mosaic-lang 0.1.0 on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate mosaic-lang 0.1.0 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e2d4dac131aebf5a43dbbb3a34a694c73d120f5e42a16c36cf2d86373fe07d63
[INFO] running `Command { std: "docker" "start" "-a" "e2d4dac131aebf5a43dbbb3a34a694c73d120f5e42a16c36cf2d86373fe07d63", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e2d4dac131aebf5a43dbbb3a34a694c73d120f5e42a16c36cf2d86373fe07d63", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2d4dac131aebf5a43dbbb3a34a694c73d120f5e42a16c36cf2d86373fe07d63", kill_on_drop: false }`
[INFO] [stdout] e2d4dac131aebf5a43dbbb3a34a694c73d120f5e42a16c36cf2d86373fe07d63
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f1e8733a0f9f22eeda4d7ed6d2229b94cf65d628474331cfcf76d58893360404
[INFO] running `Command { std: "docker" "start" "-a" "f1e8733a0f9f22eeda4d7ed6d2229b94cf65d628474331cfcf76d58893360404", kill_on_drop: false }`
[INFO] [stderr]    Compiling cranelift-srcgen v0.127.1
[INFO] [stderr]    Compiling cranelift-isle v0.127.1
[INFO] [stderr]    Compiling cranelift-codegen-shared v0.127.1
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling libc v0.2.179
[INFO] [stderr]     Checking cranelift-bitset v0.127.1
[INFO] [stderr]     Checking bumpalo v3.19.1
[INFO] [stderr]    Compiling cranelift-assembler-x64-meta v0.127.1
[INFO] [stderr]     Checking cranelift-entity v0.127.1
[INFO] [stderr]    Compiling target-lexicon v0.13.4
[INFO] [stderr]     Checking arbitrary v1.4.2
[INFO] [stderr]    Compiling nix v0.30.1
[INFO] [stderr]     Checking cranelift-bforest v0.127.1
[INFO] [stderr]     Checking wasmtime-internal-math v40.0.1
[INFO] [stderr]     Checking regalloc2 v0.13.4
[INFO] [stderr]     Checking gimli v0.32.3
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]     Checking cranelift-control v0.127.1
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling object v0.37.3
[INFO] [stderr]     Checking clap_builder v4.5.54
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]    Compiling cranelift-codegen-meta v0.127.1
[INFO] [stderr]     Checking downcast-rs v2.0.2
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling cranelift-assembler-x64 v0.127.1
[INFO] [stderr]     Checking homedir v0.3.6
[INFO] [stderr]    Compiling cranelift-codegen v0.127.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling enum-as-inner v0.6.1
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]     Checking tokio v1.49.0
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking sysctl v0.6.0
[INFO] [stderr]     Checking thiserror v2.0.17
[INFO] [stderr]     Checking clap v4.5.54
[INFO] [stderr]     Checking mmap-rs v0.7.0
[INFO] [stderr]     Checking cranelift-module v0.127.1
[INFO] [stderr]     Checking cranelift-frontend v0.127.1
[INFO] [stderr]     Checking cranelift-object v0.127.1
[INFO] [stderr]     Checking mosaic-lang v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::alloc::alloc`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::alloc::alloc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::null`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::ptr::null;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::thread;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cranelift_codegen::gimli`
[INFO] [stdout]   --> src/main.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use cranelift_codegen::gimli;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Architecture`
[INFO] [stdout]   --> src/main.rs:24:22
[INFO] [stdout]    |
[INFO] [stdout] 24 | use target_lexicon::{Architecture, Triple};
[INFO] [stdout]    |                      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::compiler::cranelift::ast::flatten_ast`
[INFO] [stdout]  --> src/compiler/cranelift/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::compiler::cranelift::ast::flatten_ast;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::parser::TypeBound`
[INFO] [stdout]  --> src/compiler/cranelift/mangle.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::parser::TypeBound;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `mangle_function`, `mangle_method`, and `mangle_type`
[INFO] [stdout]   --> src/compiler/cranelift/mangle.rs:79:46
[INFO] [stdout]    |
[INFO] [stdout] 79 |     use crate::compiler::cranelift::mangle::{mangle_function, mangle_method, mangle_type};
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::compiler::cranelift::types::CraneliftType`
[INFO] [stdout]   --> src/compiler/cranelift/mangle.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |     use crate::compiler::cranelift::types::CraneliftType;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::Indirection`
[INFO] [stdout]   --> src/compiler/cranelift/mangle.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     use crate::utils::Indirection;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/compiler/cranelift/meta.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::compiler::traits::CompilationType`
[INFO] [stdout]  --> src/compiler/cranelift/meta.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::compiler::traits::CompilationType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CompilationType`
[INFO] [stdout]  --> src/compiler/cranelift/module.rs:4:50
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::compiler::traits::{CompilationModule, CompilationType};
[INFO] [stdout]   |                                                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/compiler/cranelift/module.rs:6:43
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::{BTreeSet, HashMap, HashSet};
[INFO] [stdout]   |                                           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Debug`
[INFO] [stdout]  --> src/compiler/cranelift/module.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::fmt::Debug;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AstNode`
[INFO] [stdout]  --> src/compiler/cranelift/types.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::parser::{AstNode, ParseType, TypeBound};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/compiler/cranelift/types.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::rc::Rc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Indirection`
[INFO] [stdout]  --> src/compiler/cranelift/value.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::utils::{Indirection, OneOf};
[INFO] [stdout]   |                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ExtFuncData`, `ExternalName`, `FuncRef`, `GlobalValueData`, `UserExternalNameRef`, and `UserExternalName`
[INFO] [stdout]   --> src/compiler/cranelift/mod.rs:37:56
[INFO] [stdout]    |
[INFO] [stdout] 37 | ...g, ExtFuncData, ExternalName, FuncRef, Function, GlobalValue, GlobalValueData, InstBuilder, MemFlags, Signature, StackSlot, StackSlotData, StackSlotKind, UserExternalName, UserExternalNameRef, U...
[INFO] [stdout]    |       ^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^                         ^^^^^^^^^^^^^^^                                                                             ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Init`
[INFO] [stdout]   --> src/compiler/cranelift/mod.rs:42:72
[INFO] [stdout]    |
[INFO] [stdout] 42 | use cranelift_module::{default_libcall_names, DataDescription, FuncId, Init, Linkage, Module};
[INFO] [stdout]    |                                                                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BTreeMap`
[INFO] [stdout]   --> src/compiler/cranelift/mod.rs:44:24
[INFO] [stdout]    |
[INFO] [stdout] 44 | use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet};
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::compiler::indexing::FileIndexer`
[INFO] [stdout]   --> src/compiler/cranelift/mod.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | use crate::compiler::indexing::FileIndexer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/compiler/traits.rs:2:43
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::{BTreeSet, HashMap, HashSet};
[INFO] [stdout]   |                                           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/compiler/traits.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DowncastSync`
[INFO] [stdout]  --> src/compiler/traits.rs:9:44
[INFO] [stdout]   |
[INFO] [stdout] 9 | use downcast_rs::{impl_downcast, Downcast, DowncastSync};
[INFO] [stdout]   |                                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ArmArchitecture`
[INFO] [stdout]   --> src/compiler/align.rs:10:57
[INFO] [stdout]    |
[INFO] [stdout] 10 | use target_lexicon::{Aarch64Architecture, Architecture, ArmArchitecture, CDataModel, Triple};
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `target_lexicon::Triple`
[INFO] [stdout]   --> src/compiler/align.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 64 |     use target_lexicon::Triple;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `alignment_of_cranelift_type_on_architecture` and `calculate_data_cranelift`
[INFO] [stdout]   --> src/compiler/align.rs:65:34
[INFO] [stdout]    |
[INFO] [stdout] 65 |     use crate::compiler::align::{alignment_of_cranelift_type_on_architecture, calculate_data_cranelift};
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::compiler::cranelift::types::CraneliftType`
[INFO] [stdout]   --> src/compiler/align.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     use crate::compiler::cranelift::types::CraneliftType;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::Indirection`
[INFO] [stdout]   --> src/compiler/align.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |     use crate::utils::Indirection;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::parser::AstNode`
[INFO] [stdout]  --> src/compiler/indexing.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::parser::AstNode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::alloc::alloc`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::alloc::alloc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::null`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::ptr::null;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::thread;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cranelift_codegen::gimli`
[INFO] [stdout]   --> src/main.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use cranelift_codegen::gimli;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Architecture`
[INFO] [stdout]   --> src/main.rs:24:22
[INFO] [stdout]    |
[INFO] [stdout] 24 | use target_lexicon::{Architecture, Triple};
[INFO] [stdout]    |                      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::compiler::cranelift::ast::flatten_ast`
[INFO] [stdout]  --> src/compiler/cranelift/mod.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::compiler::cranelift::ast::flatten_ast;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::parser::TypeBound`
[INFO] [stdout]  --> src/compiler/cranelift/mangle.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::parser::TypeBound;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `mangle_function` and `mangle_method`
[INFO] [stdout]   --> src/compiler/cranelift/mangle.rs:79:46
[INFO] [stdout]    |
[INFO] [stdout] 79 |     use crate::compiler::cranelift::mangle::{mangle_function, mangle_method, mangle_type};
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/compiler/cranelift/meta.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::compiler::traits::CompilationType`
[INFO] [stdout]  --> src/compiler/cranelift/meta.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::compiler::traits::CompilationType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CompilationType`
[INFO] [stdout]  --> src/compiler/cranelift/module.rs:4:50
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::compiler::traits::{CompilationModule, CompilationType};
[INFO] [stdout]   |                                                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/compiler/cranelift/module.rs:6:43
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::{BTreeSet, HashMap, HashSet};
[INFO] [stdout]   |                                           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Debug`
[INFO] [stdout]  --> src/compiler/cranelift/module.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::fmt::Debug;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AstNode`
[INFO] [stdout]  --> src/compiler/cranelift/types.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::parser::{AstNode, ParseType, TypeBound};
[INFO] [stdout]   |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/compiler/cranelift/types.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::rc::Rc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Indirection`
[INFO] [stdout]  --> src/compiler/cranelift/value.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::utils::{Indirection, OneOf};
[INFO] [stdout]   |                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ExtFuncData`, `ExternalName`, `FuncRef`, `GlobalValueData`, `UserExternalNameRef`, and `UserExternalName`
[INFO] [stdout]   --> src/compiler/cranelift/mod.rs:37:56
[INFO] [stdout]    |
[INFO] [stdout] 37 | ...g, ExtFuncData, ExternalName, FuncRef, Function, GlobalValue, GlobalValueData, InstBuilder, MemFlags, Signature, StackSlot, StackSlotData, StackSlotKind, UserExternalName, UserExternalNameRef, U...
[INFO] [stdout]    |       ^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^                         ^^^^^^^^^^^^^^^                                                                             ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Init`
[INFO] [stdout]   --> src/compiler/cranelift/mod.rs:42:72
[INFO] [stdout]    |
[INFO] [stdout] 42 | use cranelift_module::{default_libcall_names, DataDescription, FuncId, Init, Linkage, Module};
[INFO] [stdout]    |                                                                        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BTreeMap`
[INFO] [stdout]   --> src/compiler/cranelift/mod.rs:44:24
[INFO] [stdout]    |
[INFO] [stdout] 44 | use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet};
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::compiler::indexing::FileIndexer`
[INFO] [stdout]   --> src/compiler/cranelift/mod.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | use crate::compiler::indexing::FileIndexer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/compiler/traits.rs:2:43
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::{BTreeSet, HashMap, HashSet};
[INFO] [stdout]   |                                           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/compiler/traits.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DowncastSync`
[INFO] [stdout]  --> src/compiler/traits.rs:9:44
[INFO] [stdout]   |
[INFO] [stdout] 9 | use downcast_rs::{impl_downcast, Downcast, DowncastSync};
[INFO] [stdout]   |                                            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ArmArchitecture`
[INFO] [stdout]   --> src/compiler/align.rs:10:57
[INFO] [stdout]    |
[INFO] [stdout] 10 | use target_lexicon::{Aarch64Architecture, Architecture, ArmArchitecture, CDataModel, Triple};
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::parser::AstNode`
[INFO] [stdout]  --> src/compiler/indexing.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::parser::AstNode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cranelift_codegen::entity::EntityRef`
[INFO] [stdout]  --> src/compiler/cranelift/builders.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use cranelift_codegen::entity::EntityRef;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cranelift_codegen::entity::EntityRef`
[INFO] [stdout]  --> src/compiler/cranelift/builders.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use cranelift_codegen::entity::EntityRef;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/compiler/analyser/mod.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |             AstNode::MemberExpr(_, r, _) => {
[INFO] [stdout]    |             ---------------------------- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 62 |             AstNode::MemberExpr(..) => continue,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/compiler/analyser/mod.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |             AstNode::MemberExpr(_, r, _) => {
[INFO] [stdout]    |             ---------------------------- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 62 |             AstNode::MemberExpr(..) => continue,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/compiler/cranelift/linker.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |             ref file,
[INFO] [stdout]    |             ^^^^^^^^ help: try ignoring the field: `file: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]   --> src/compiler/cranelift/linker.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |             ref target,
[INFO] [stdout]    |             ^^^^^^^^^^ help: try ignoring the field: `target: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/compiler/cranelift/linker.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |             ref file,
[INFO] [stdout]    |             ^^^^^^^^ help: try ignoring the field: `file: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]   --> src/compiler/cranelift/linker.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |             ref target,
[INFO] [stdout]    |             ^^^^^^^^^^ help: try ignoring the field: `target: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/compiler/cranelift/mod.rs:196:13
[INFO] [stdout]     |
[INFO] [stdout] 196 |         let mut obj_builder =
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/compiler/cranelift/mod.rs:196:13
[INFO] [stdout]     |
[INFO] [stdout] 196 |         let mut obj_builder =
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]    --> src/compiler/cranelift/mod.rs:633:49
[INFO] [stdout]     |
[INFO] [stdout] 633 |                         let Some((offset, _, _, ty)) = meta.fields.iter().find(|(_, _, name, _)| name == prop) else {
[INFO] [stdout]     |                                                 ^^ help: if this is intentional, prefix it with an underscore: `_ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]    --> src/compiler/cranelift/mod.rs:633:49
[INFO] [stdout]     |
[INFO] [stdout] 633 |                         let Some((offset, _, _, ty)) = meta.fields.iter().find(|(_, _, name, _)| name == prop) else {
[INFO] [stdout]     |                                                 ^^ help: if this is intentional, prefix it with an underscore: `_ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line_info`
[INFO] [stdout]    --> src/compiler/cranelift/mod.rs:732:63
[INFO] [stdout]     |
[INFO] [stdout] 732 |             AstNode::DataInitExpr { name, fields: raw_fields, line_info } => {
[INFO] [stdout]     |                                                               ^^^^^^^^^ help: try ignoring the field: `line_info: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> src/compiler/cranelift/mod.rs:950:34
[INFO] [stdout]     |
[INFO] [stdout] 950 | ...                   let (f, fty) = self
[INFO] [stdout]     |                            ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]     --> src/compiler/cranelift/mod.rs:1284:28
[INFO] [stdout]      |
[INFO] [stdout] 1284 |                     (from, to) => Err(Box::new([CompilationError::InvalidCast(
[INFO] [stdout]      |                            ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line_info`
[INFO] [stdout]    --> src/compiler/cranelift/mod.rs:732:63
[INFO] [stdout]     |
[INFO] [stdout] 732 |             AstNode::DataInitExpr { name, fields: raw_fields, line_info } => {
[INFO] [stdout]     |                                                               ^^^^^^^^^ help: try ignoring the field: `line_info: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> src/compiler/cranelift/mod.rs:950:34
[INFO] [stdout]     |
[INFO] [stdout] 950 | ...                   let (f, fty) = self
[INFO] [stdout]     |                            ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]     --> src/compiler/cranelift/mod.rs:1284:28
[INFO] [stdout]      |
[INFO] [stdout] 1284 |                     (from, to) => Err(Box::new([CompilationError::InvalidCast(
[INFO] [stdout]      |                            ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]     --> src/compiler/cranelift/mod.rs:1763:39
[INFO] [stdout]      |
[INFO] [stdout] 1763 |             AstNode::NumberLiteral(_, n) => Some(Type::Int32),
[INFO] [stdout]      |                                       ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inner`
[INFO] [stdout]     --> src/compiler/cranelift/mod.rs:1816:34
[INFO] [stdout]      |
[INFO] [stdout] 1816 |                     (Type::Slice(inner, len, m1, n1), Type::FatPtr(_, m2, n2)) if (m1 == m2 || (m1 && !m2)) && n1 == n2 => ty,
[INFO] [stdout]      |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]     --> src/compiler/cranelift/mod.rs:1816:41
[INFO] [stdout]      |
[INFO] [stdout] 1816 |                     (Type::Slice(inner, len, m1, n1), Type::FatPtr(_, m2, n2)) if (m1 == m2 || (m1 && !m2)) && n1 == n2 => ty,
[INFO] [stdout]      |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]     --> src/compiler/cranelift/mod.rs:1823:22
[INFO] [stdout]      |
[INFO] [stdout] 1823 |                     (from, to) => return None,
[INFO] [stdout]      |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]     --> src/compiler/cranelift/mod.rs:1823:28
[INFO] [stdout]      |
[INFO] [stdout] 1823 |                     (from, to) => return None,
[INFO] [stdout]      |                            ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]     --> src/compiler/cranelift/mod.rs:1763:39
[INFO] [stdout]      |
[INFO] [stdout] 1763 |             AstNode::NumberLiteral(_, n) => Some(Type::Int32),
[INFO] [stdout]      |                                       ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inner`
[INFO] [stdout]     --> src/compiler/cranelift/mod.rs:1816:34
[INFO] [stdout]      |
[INFO] [stdout] 1816 |                     (Type::Slice(inner, len, m1, n1), Type::FatPtr(_, m2, n2)) if (m1 == m2 || (m1 && !m2)) && n1 == n2 => ty,
[INFO] [stdout]      |                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]     --> src/compiler/cranelift/mod.rs:1816:41
[INFO] [stdout]      |
[INFO] [stdout] 1816 |                     (Type::Slice(inner, len, m1, n1), Type::FatPtr(_, m2, n2)) if (m1 == m2 || (m1 && !m2)) && n1 == n2 => ty,
[INFO] [stdout]      |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `from`
[INFO] [stdout]     --> src/compiler/cranelift/mod.rs:1823:22
[INFO] [stdout]      |
[INFO] [stdout] 1823 |                     (from, to) => return None,
[INFO] [stdout]      |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]     --> src/compiler/cranelift/mod.rs:1823:28
[INFO] [stdout]      |
[INFO] [stdout] 1823 |                     (from, to) => return None,
[INFO] [stdout]      |                            ^^ help: if this is intentional, prefix it with an underscore: `_to`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trace`
[INFO] [stdout]    --> src/errors.rs:263:51
[INFO] [stdout]     |
[INFO] [stdout] 263 |             CompilationError::UnknownModule(file, trace, modules) => {
[INFO] [stdout]     |                                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trace`
[INFO] [stdout]    --> src/errors.rs:314:55
[INFO] [stdout]     |
[INFO] [stdout] 314 |             CompilationError::UndefinedVariable(file, trace, name) => {
[INFO] [stdout]     |                                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trace`
[INFO] [stdout]    --> src/errors.rs:338:51
[INFO] [stdout]     |
[INFO] [stdout] 338 |             CompilationError::UndefinedData(file, trace, name) => {
[INFO] [stdout]     |                                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trace`
[INFO] [stdout]    --> src/errors.rs:381:52
[INFO] [stdout]     |
[INFO] [stdout] 381 |             CompilationError::DualDefinition(file, trace, name) => {
[INFO] [stdout]     |                                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trace`
[INFO] [stdout]    --> src/errors.rs:404:55
[INFO] [stdout]     |
[INFO] [stdout] 404 |             CompilationError::UndefinedOperator(file, trace, op) => {
[INFO] [stdout]     |                                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trace`
[INFO] [stdout]    --> src/errors.rs:420:50
[INFO] [stdout]     |
[INFO] [stdout] 420 |             CompilationError::CannotMutate(file, trace, name) => {
[INFO] [stdout]     |                                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trace`
[INFO] [stdout]    --> src/errors.rs:436:57
[INFO] [stdout]     |
[INFO] [stdout] 436 |             CompilationError::MismatchedTypeInDef(file, trace, name, expected, got) => {
[INFO] [stdout]     |                                                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trace`
[INFO] [stdout]    --> src/errors.rs:482:49
[INFO] [stdout]     |
[INFO] [stdout] 482 |             CompilationError::InvalidCast(file, trace, from, to) => {
[INFO] [stdout]     |                                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trace`
[INFO] [stdout]    --> src/errors.rs:501:55
[INFO] [stdout]     |
[INFO] [stdout] 501 |             CompilationError::CannotMakePointer(file, trace, to) => {
[INFO] [stdout]     |                                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trace`
[INFO] [stdout]    --> src/errors.rs:529:46
[INFO] [stdout]     |
[INFO] [stdout] 529 |             CompilationError::NotFreed(file, trace, item) => {
[INFO] [stdout]     |                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trace`
[INFO] [stdout]    --> src/errors.rs:263:51
[INFO] [stdout]     |
[INFO] [stdout] 263 |             CompilationError::UnknownModule(file, trace, modules) => {
[INFO] [stdout]     |                                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trace`
[INFO] [stdout]    --> src/errors.rs:314:55
[INFO] [stdout]     |
[INFO] [stdout] 314 |             CompilationError::UndefinedVariable(file, trace, name) => {
[INFO] [stdout]     |                                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trace`
[INFO] [stdout]    --> src/errors.rs:338:51
[INFO] [stdout]     |
[INFO] [stdout] 338 |             CompilationError::UndefinedData(file, trace, name) => {
[INFO] [stdout]     |                                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trace`
[INFO] [stdout]    --> src/errors.rs:381:52
[INFO] [stdout]     |
[INFO] [stdout] 381 |             CompilationError::DualDefinition(file, trace, name) => {
[INFO] [stdout]     |                                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trace`
[INFO] [stdout]    --> src/errors.rs:404:55
[INFO] [stdout]     |
[INFO] [stdout] 404 |             CompilationError::UndefinedOperator(file, trace, op) => {
[INFO] [stdout]     |                                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trace`
[INFO] [stdout]    --> src/errors.rs:420:50
[INFO] [stdout]     |
[INFO] [stdout] 420 |             CompilationError::CannotMutate(file, trace, name) => {
[INFO] [stdout]     |                                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trace`
[INFO] [stdout]    --> src/errors.rs:436:57
[INFO] [stdout]     |
[INFO] [stdout] 436 |             CompilationError::MismatchedTypeInDef(file, trace, name, expected, got) => {
[INFO] [stdout]     |                                                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trace`
[INFO] [stdout]    --> src/errors.rs:482:49
[INFO] [stdout]     |
[INFO] [stdout] 482 |             CompilationError::InvalidCast(file, trace, from, to) => {
[INFO] [stdout]     |                                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trace`
[INFO] [stdout]    --> src/errors.rs:501:55
[INFO] [stdout]     |
[INFO] [stdout] 501 |             CompilationError::CannotMakePointer(file, trace, to) => {
[INFO] [stdout]     |                                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `trace`
[INFO] [stdout]    --> src/errors.rs:529:46
[INFO] [stdout]     |
[INFO] [stdout] 529 |             CompilationError::NotFreed(file, trace, item) => {
[INFO] [stdout]     |                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_trace`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parser.rs:599:27
[INFO] [stdout]     |
[INFO] [stdout] 599 |     pub fn parse_complete(mut self) -> Result<ParsedFile, Vec<ParseError>> {
[INFO] [stdout]     |                           ----^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parser.rs:599:27
[INFO] [stdout]     |
[INFO] [stdout] 599 |     pub fn parse_complete(mut self) -> Result<ParsedFile, Vec<ParseError>> {
[INFO] [stdout]     |                           ----^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/parser.rs:920:30
[INFO] [stdout]     |
[INFO] [stdout] 920 |                     Some(Err(e)) => match self.parse_type() {
[INFO] [stdout]     |                              ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/parser.rs:940:26
[INFO] [stdout]     |
[INFO] [stdout] 940 |                 Some(Err(e)) => match self.parse_type() {
[INFO] [stdout]     |                          ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/parser.rs:920:30
[INFO] [stdout]     |
[INFO] [stdout] 920 |                     Some(Err(e)) => match self.parse_type() {
[INFO] [stdout]     |                              ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/parser.rs:940:26
[INFO] [stdout]     |
[INFO] [stdout] 940 |                 Some(Err(e)) => match self.parse_type() {
[INFO] [stdout]     |                          ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_calls_of_func` is never used
[INFO] [stdout]     --> src/compiler/cranelift/mod.rs:1836:8
[INFO] [stdout]      |
[INFO] [stdout]  173 | impl CraneliftGenerator {
[INFO] [stdout]      | ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1836 |     fn get_calls_of_func(
[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 `owner` is never read
[INFO] [stdout]  --> src/compiler/cranelift/value.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct OwnershipTrace {
[INFO] [stdout]   |            -------------- field in this struct
[INFO] [stdout] 7 |     /// Stores the name of the variable that owns the value, if any
[INFO] [stdout] 8 |     owner: OneOf<String, String, StatementIdentifier>,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `IndexTable` is never constructed
[INFO] [stdout]  --> src/compiler/indexing.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct IndexTable {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]   = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `modifiers_of` is never used
[INFO] [stdout]     --> src/parser.rs:2802:4
[INFO] [stdout]      |
[INFO] [stdout] 2802 | fn modifiers_of(def: &ParsedFunctionDeclaration) -> &Vec<Modifier> {
[INFO] [stdout]      |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generics_of` is never used
[INFO] [stdout]     --> src/parser.rs:2806:4
[INFO] [stdout]      |
[INFO] [stdout] 2806 | fn generics_of(def: &ParsedFunctionDeclaration) -> &HashMap<String, Option<TypeBound>> {
[INFO] [stdout]      |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `argument_types_of` is never used
[INFO] [stdout]     --> src/parser.rs:2810:4
[INFO] [stdout]      |
[INFO] [stdout] 2810 | fn argument_types_of(def: &ParsedFunctionDeclaration) -> &Vec<ParseType> {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `return_type_of` is never used
[INFO] [stdout]     --> src/parser.rs:2814:4
[INFO] [stdout]      |
[INFO] [stdout] 2814 | fn return_type_of(def: &ParsedFunctionDeclaration) -> &ParseType {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_calls_of_func` is never used
[INFO] [stdout]     --> src/compiler/cranelift/mod.rs:1836:8
[INFO] [stdout]      |
[INFO] [stdout]  173 | impl CraneliftGenerator {
[INFO] [stdout]      | ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1836 |     fn get_calls_of_func(
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mosaic-lang` (bin "msc") due to 1 previous error; 64 warnings emitted
[INFO] [stdout] warning: field `owner` is never read
[INFO] [stdout]  --> src/compiler/cranelift/value.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct OwnershipTrace {
[INFO] [stdout]   |            -------------- field in this struct
[INFO] [stdout] 7 |     /// Stores the name of the variable that owns the value, if any
[INFO] [stdout] 8 |     owner: OneOf<String, String, StatementIdentifier>,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: struct `IndexTable` is never constructed
[INFO] [stdout]  --> src/compiler/indexing.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct IndexTable {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]   = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `modifiers_of` is never used
[INFO] [stdout]     --> src/parser.rs:2802:4
[INFO] [stdout]      |
[INFO] [stdout] 2802 | fn modifiers_of(def: &ParsedFunctionDeclaration) -> &Vec<Modifier> {
[INFO] [stdout]      |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generics_of` is never used
[INFO] [stdout]     --> src/parser.rs:2806:4
[INFO] [stdout]      |
[INFO] [stdout] 2806 | fn generics_of(def: &ParsedFunctionDeclaration) -> &HashMap<String, Option<TypeBound>> {
[INFO] [stdout]      |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `argument_types_of` is never used
[INFO] [stdout]     --> src/parser.rs:2810:4
[INFO] [stdout]      |
[INFO] [stdout] 2810 | fn argument_types_of(def: &ParsedFunctionDeclaration) -> &Vec<ParseType> {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `return_type_of` is never used
[INFO] [stdout]     --> src/parser.rs:2814:4
[INFO] [stdout]      |
[INFO] [stdout] 2814 | fn return_type_of(def: &ParsedFunctionDeclaration) -> &ParseType {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mosaic-lang` (bin "msc" test) due to 1 previous error; 58 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f1e8733a0f9f22eeda4d7ed6d2229b94cf65d628474331cfcf76d58893360404", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1e8733a0f9f22eeda4d7ed6d2229b94cf65d628474331cfcf76d58893360404", kill_on_drop: false }`
[INFO] [stdout] f1e8733a0f9f22eeda4d7ed6d2229b94cf65d628474331cfcf76d58893360404
