[INFO] cloning repository https://github.com/ljp-projects/mosaic
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ljp-projects/mosaic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fljp-projects%2Fmosaic", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fljp-projects%2Fmosaic'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 99ea2489d8d64405c40389e8bb4094351e3d0f30
[INFO] checking ljp-projects/mosaic against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fljp-projects%2Fmosaic" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ljp-projects/mosaic
[INFO] finished tweaking git repo https://github.com/ljp-projects/mosaic
[INFO] tweaked toml for git repo https://github.com/ljp-projects/mosaic written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ljp-projects/mosaic on toolchain 507271bc119683008ec719ecee48814e8ac86c65
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ljp-projects/mosaic 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" "+507271bc119683008ec719ecee48814e8ac86c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded proc-macro2 v1.0.105
[INFO] [stderr]   Downloaded mmap-rs v0.7.0
[INFO] [stderr]   Downloaded target-lexicon v0.13.4
[INFO] [stderr]   Downloaded sysctl v0.6.0
[INFO] [stderr]   Downloaded quote v1.0.43
[INFO] [stderr]   Downloaded homedir v0.3.6
[INFO] [stderr]   Downloaded clap v4.5.54
[INFO] [stderr]   Downloaded cranelift-control v0.127.1
[INFO] [stderr]   Downloaded wasmtime-internal-math v40.0.1
[INFO] [stderr]   Downloaded cranelift-codegen-shared v0.127.1
[INFO] [stderr]   Downloaded cranelift-bitset v0.127.1
[INFO] [stderr]   Downloaded cranelift-srcgen v0.127.1
[INFO] [stderr]   Downloaded cranelift-object v0.127.1
[INFO] [stderr]   Downloaded cranelift-entity v0.127.1
[INFO] [stderr]   Downloaded cranelift-module v0.127.1
[INFO] [stderr]   Downloaded colored v3.0.0
[INFO] [stderr]   Downloaded cranelift-bforest v0.127.1
[INFO] [stderr]   Downloaded cranelift-assembler-x64 v0.127.1
[INFO] [stderr]   Downloaded cranelift-assembler-x64-meta v0.127.1
[INFO] [stderr]   Downloaded cranelift-frontend v0.127.1
[INFO] [stderr]   Downloaded cranelift-isle v0.127.1
[INFO] [stderr]   Downloaded regalloc2 v0.13.4
[INFO] [stderr]   Downloaded cranelift-codegen-meta v0.127.1
[INFO] [stderr]   Downloaded clap_builder v4.5.54
[INFO] [stderr]   Downloaded nix v0.30.1
[INFO] [stderr]   Downloaded libc v0.2.179
[INFO] [stderr]   Downloaded cranelift-codegen v0.127.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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b41b5901f41f489e8156244cbb27a80363f2b9c3f36a08865c944bcdb9681f7e
[INFO] running `Command { std: "docker" "start" "-a" "b41b5901f41f489e8156244cbb27a80363f2b9c3f36a08865c944bcdb9681f7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b41b5901f41f489e8156244cbb27a80363f2b9c3f36a08865c944bcdb9681f7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b41b5901f41f489e8156244cbb27a80363f2b9c3f36a08865c944bcdb9681f7e", kill_on_drop: false }`
[INFO] [stdout] b41b5901f41f489e8156244cbb27a80363f2b9c3f36a08865c944bcdb9681f7e
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3d0dec8a076e69dfcbe3af0b7c6baa85548cf7ec9417d9cfc5b7455b1532b753
[INFO] running `Command { std: "docker" "start" "-a" "3d0dec8a076e69dfcbe3af0b7c6baa85548cf7ec9417d9cfc5b7455b1532b753", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.105
[INFO] [stderr]    Compiling quote v1.0.43
[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]    Compiling libm v0.2.15
[INFO] [stderr]     Checking indexmap v2.12.1
[INFO] [stderr]     Checking cranelift-bitset v0.127.1
[INFO] [stderr]    Compiling target-lexicon v0.13.4
[INFO] [stderr]    Compiling libc v0.2.179
[INFO] [stderr]     Checking cranelift-entity v0.127.1
[INFO] [stderr]    Compiling cranelift-assembler-x64-meta v0.127.1
[INFO] [stderr]     Checking bumpalo v3.19.1
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking cranelift-control v0.127.1
[INFO] [stderr]    Compiling nix v0.30.1
[INFO] [stderr]     Checking regalloc2 v0.13.4
[INFO] [stderr]     Checking gimli v0.32.3
[INFO] [stderr]     Checking cranelift-bforest v0.127.1
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]     Checking wasmtime-internal-math v40.0.1
[INFO] [stderr]    Compiling cranelift-codegen-meta v0.127.1
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]     Checking memchr v2.7.6
[INFO] [stderr]     Checking anstyle-parse v0.2.7
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]     Checking colorchoice v1.0.4
[INFO] [stderr]     Checking anstyle v1.0.13
[INFO] [stderr]    Compiling object v0.37.3
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking anstream v0.6.21
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking clap_lex v0.7.6
[INFO] [stderr]    Compiling cranelift-assembler-x64 v0.127.1
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]     Checking clap_builder v4.5.54
[INFO] [stderr]     Checking homedir v0.3.6
[INFO] [stderr]     Checking colored v3.0.0
[INFO] [stderr]     Checking downcast-rs v2.0.2
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling cranelift-codegen v0.127.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling enum-as-inner v0.6.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[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 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` 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: `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: `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: 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 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: 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: 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: `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: `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: `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: 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: `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: `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: 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: `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: 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: 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: 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] 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: 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: 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: 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: 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: 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: 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: 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] 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]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s
[INFO] running `Command { std: "docker" "inspect" "3d0dec8a076e69dfcbe3af0b7c6baa85548cf7ec9417d9cfc5b7455b1532b753", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d0dec8a076e69dfcbe3af0b7c6baa85548cf7ec9417d9cfc5b7455b1532b753", kill_on_drop: false }`
[INFO] [stdout] 3d0dec8a076e69dfcbe3af0b7c6baa85548cf7ec9417d9cfc5b7455b1532b753
