[INFO] cloning repository https://github.com/Somfic/som
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Somfic/som" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSomfic%2Fsom", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSomfic%2Fsom'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 47659bb5722c80a341bbe078f71ce7bbd1794ea4
[INFO] testing Somfic/som against master#cced03bfd61a304243a34504618ecec86c17063f for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSomfic%2Fsom" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Somfic/som
[INFO] finished tweaking git repo https://github.com/Somfic/som
[INFO] tweaked toml for git repo https://github.com/Somfic/som written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Somfic/som on toolchain cced03bfd61a304243a34504618ecec86c17063f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Somfic/som 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" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded logos-derive v0.16.1
[INFO] [stderr]   Downloaded logos v0.16.1
[INFO] [stderr]   Downloaded owo-colors v4.2.3
[INFO] [stderr]   Downloaded logos-codegen v0.16.1
[INFO] [stderr]   Downloaded ena v0.14.4
[INFO] [stderr]   Downloaded tower-lsp-macros v0.9.0
[INFO] [stderr]   Downloaded cranelift-control v0.128.4
[INFO] [stderr]   Downloaded cranelift-bitset v0.128.4
[INFO] [stderr]   Downloaded cranelift-codegen-shared v0.128.4
[INFO] [stderr]   Downloaded wasmtime-internal-math v41.0.4
[INFO] [stderr]   Downloaded cranelift-isle v0.128.4
[INFO] [stderr]   Downloaded cranelift-srcgen v0.128.4
[INFO] [stderr]   Downloaded cranelift v0.128.4
[INFO] [stderr]   Downloaded cranelift-object v0.128.4
[INFO] [stderr]   Downloaded cranelift-entity v0.128.4
[INFO] [stderr]   Downloaded cranelift-assembler-x64 v0.128.4
[INFO] [stderr]   Downloaded cranelift-bforest v0.128.4
[INFO] [stderr]   Downloaded cranelift-module v0.128.4
[INFO] [stderr]   Downloaded cranelift-assembler-x64-meta v0.128.4
[INFO] [stderr]   Downloaded cranelift-codegen-meta v0.128.4
[INFO] [stderr]   Downloaded cranelift-frontend v0.128.4
[INFO] [stderr]   Downloaded tower-lsp v0.20.0
[INFO] [stderr]   Downloaded lsp-types v0.94.1
[INFO] [stderr]   Downloaded regalloc2 v0.13.5
[INFO] [stderr]   Downloaded cranelift-codegen v0.128.4
[INFO] [stderr]   Downloaded logos-display v0.1.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d6e70c830d2b5770d269beae613149b81784f9e1e21e84045930d0a1f0347e07
[INFO] running `Command { std: "docker" "start" "-a" "d6e70c830d2b5770d269beae613149b81784f9e1e21e84045930d0a1f0347e07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d6e70c830d2b5770d269beae613149b81784f9e1e21e84045930d0a1f0347e07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6e70c830d2b5770d269beae613149b81784f9e1e21e84045930d0a1f0347e07", kill_on_drop: false }`
[INFO] [stdout] d6e70c830d2b5770d269beae613149b81784f9e1e21e84045930d0a1f0347e07
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+cced03bfd61a304243a34504618ecec86c17063f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4f223d1c7a9ac46308def6e740b32923f31593b3ddba88a1b2b23890d932a3fa
[INFO] running `Command { std: "docker" "start" "-a" "4f223d1c7a9ac46308def6e740b32923f31593b3ddba88a1b2b23890d932a3fa", kill_on_drop: false }`
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling cranelift-srcgen v0.128.4
[INFO] [stderr]    Compiling libc v0.2.184
[INFO] [stderr]    Compiling cranelift-isle v0.128.4
[INFO] [stderr]    Compiling cranelift-codegen-shared v0.128.4
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling cranelift-bitset v0.128.4
[INFO] [stderr]    Compiling target-lexicon v0.13.5
[INFO] [stderr]    Compiling rustc-hash v2.1.1
[INFO] [stderr]    Compiling arbitrary v1.4.2
[INFO] [stderr]    Compiling bumpalo v3.19.1
[INFO] [stderr]    Compiling gimli v0.32.3
[INFO] [stderr]    Compiling syn v2.0.115
[INFO] [stderr]    Compiling wasmtime-internal-math v41.0.4
[INFO] [stderr]    Compiling anyhow v1.0.101
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling regex-syntax v0.8.9
[INFO] [stderr]    Compiling object v0.37.3
[INFO] [stderr]    Compiling cranelift-entity v0.128.4
[INFO] [stderr]    Compiling cranelift-assembler-x64-meta v0.128.4
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling owo-colors v4.2.3
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling cranelift-bforest v0.128.4
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling ena v0.14.4
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling regalloc2 v0.13.5
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling cranelift-control v0.128.4
[INFO] [stderr]    Compiling cranelift-codegen-meta v0.128.4
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling mio v1.2.0
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling cranelift-assembler-x64 v0.128.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling cranelift-codegen v0.128.4
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling logos-display v0.1.3
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling serde_repr v0.1.20
[INFO] [stderr]    Compiling tower-lsp-macros v0.9.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling logos-codegen v0.16.1
[INFO] [stderr]    Compiling tokio v1.51.0
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling auto_impl v1.3.0
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling logos-derive v0.16.1
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling logos v0.16.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling futures v0.3.32
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling lsp-types v0.94.1
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tower-lsp v0.20.0
[INFO] [stderr]    Compiling cranelift-module v0.128.4
[INFO] [stderr]    Compiling cranelift-frontend v0.128.4
[INFO] [stderr]    Compiling cranelift-object v0.128.4
[INFO] [stderr]    Compiling cranelift v0.128.4
[INFO] [stderr]    Compiling som v0.1.0 (/opt/rustwide/workdir/compiler)
[INFO] [stdout] warning: unused import: `layout`
[INFO] [stdout]  --> compiler/src/code_gen/mod.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 |     codegen::ir::{Function, layout},
[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: `Impl`
[INFO] [stdout]  --> compiler/src/parser/decl.rs:2:68
[INFO] [stdout]   |
[INFO] [stdout] 2 |     Expr, ExternBlock, ExternFunc, Func, FuncParam, FuncTypeParam, Impl, ImplBlock, Struct,
[INFO] [stdout]   |                                                                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TRAIT_ADD`, `TRAIT_DIV`, `TRAIT_EQ`, `TRAIT_GT_EQ`, `TRAIT_GT`, `TRAIT_LT_EQ`, `TRAIT_LT`, `TRAIT_MUL`, `TRAIT_NEQ`, and `TRAIT_SUB`
[INFO] [stdout]  --> compiler/src/type_check/error.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     TRAIT_ADD, TRAIT_DIV, TRAIT_EQ, TRAIT_GT, TRAIT_GT_EQ, TRAIT_LT, TRAIT_LT_EQ, TRAIT_MUL,
[INFO] [stdout]   |     ^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 5 |     TRAIT_NEQ, TRAIT_SUB,
[INFO] [stdout]   |     ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arg_types`
[INFO] [stdout]    --> compiler/src/type_check/error.rs:200:17
[INFO] [stdout]     |
[INFO] [stdout] 200 |                 arg_types,
[INFO] [stdout]     |                 ^^^^^^^^^ help: try ignoring the field: `arg_types: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BUILTIN_TRAIT_COUNT` is never used
[INFO] [stdout]    --> compiler/src/ast/mod.rs:508:7
[INFO] [stdout]     |
[INFO] [stdout] 508 | const BUILTIN_TRAIT_COUNT: u32 = 100;
[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 `mutable` is never read
[INFO] [stdout]   --> compiler/src/borrow_check/mod.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct Loan {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 35 |     at: Id<Place>,
[INFO] [stdout] 36 |     mutable: bool,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `finalize` is never used
[INFO] [stdout]    --> compiler/src/code_gen/mod.rs:969:12
[INFO] [stdout]     |
[INFO] [stdout] 961 | impl<'a> FuncCtx<'a> {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 969 |     pub fn finalize(self) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NoMainFunction` and `NoReturnType` are never constructed
[INFO] [stdout]  --> compiler/src/code_gen/error.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub(super) enum CodegenError {
[INFO] [stdout]   |                 ------------ variants in this enum
[INFO] [stdout] 4 |     NoMainFunction,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 5 |     NoReturnType,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling som-cli v0.1.0 (/opt/rustwide/workdir/cli)
[INFO] [stderr]    Compiling som-lsp v0.1.0 (/opt/rustwide/workdir/lsp)
[INFO] [stdout] warning: unused imports: `Diagnostic`, `Source`, and `parser`
[INFO] [stdout]  --> compiler/src/main.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 |     BorrowChecker, Codegen, Diagnostic, Linker, ProgramLoader, Runner, Source, TypeInferencer,
[INFO] [stdout]   |                             ^^^^^^^^^^                                 ^^^^^^
[INFO] [stdout] 3 |     parser,
[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::sync::Arc`
[INFO] [stdout]  --> compiler/src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> lsp/src/index.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 |     Stmt(Id<Stmt>),
[INFO] [stdout]   |     ---- ^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `NodeRef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 9 -     Stmt(Id<Stmt>),
[INFO] [stdout] 9 +     Stmt(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_module_symbols` is never used
[INFO] [stdout]    --> lsp/src/index.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl AstIndex {
[INFO] [stdout]     | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn get_module_symbols(ast: &Ast, module: &Module) -> Vec<(String, NodeRef, Span)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `diagnostics` is never read
[INFO] [stdout]   --> lsp/src/server.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct AnalysisResult {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 23 |     pub typed_ast: TypedAst,
[INFO] [stdout] 24 |     pub diagnostics: Vec<SomDiagnostic>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.36s
[INFO] running `Command { std: "docker" "inspect" "4f223d1c7a9ac46308def6e740b32923f31593b3ddba88a1b2b23890d932a3fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f223d1c7a9ac46308def6e740b32923f31593b3ddba88a1b2b23890d932a3fa", kill_on_drop: false }`
[INFO] [stdout] 4f223d1c7a9ac46308def6e740b32923f31593b3ddba88a1b2b23890d932a3fa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e0b8a017e44740539c31b91049b0fea9508e7faa141120435d4c41eed9a560a0
[INFO] running `Command { std: "docker" "start" "-a" "e0b8a017e44740539c31b91049b0fea9508e7faa141120435d4c41eed9a560a0", kill_on_drop: false }`
[INFO] [stderr]    Compiling getrandom v0.4.1
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stdout] warning: unused import: `layout`
[INFO] [stdout]  --> compiler/src/code_gen/mod.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 |     codegen::ir::{Function, layout},
[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: `Impl`
[INFO] [stdout]  --> compiler/src/parser/decl.rs:2:68
[INFO] [stdout]   |
[INFO] [stdout] 2 |     Expr, ExternBlock, ExternFunc, Func, FuncParam, FuncTypeParam, Impl, ImplBlock, Struct,
[INFO] [stdout]   |                                                                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TRAIT_ADD`, `TRAIT_DIV`, `TRAIT_EQ`, `TRAIT_GT_EQ`, `TRAIT_GT`, `TRAIT_LT_EQ`, `TRAIT_LT`, `TRAIT_MUL`, `TRAIT_NEQ`, and `TRAIT_SUB`
[INFO] [stdout]  --> compiler/src/type_check/error.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     TRAIT_ADD, TRAIT_DIV, TRAIT_EQ, TRAIT_GT, TRAIT_GT_EQ, TRAIT_LT, TRAIT_LT_EQ, TRAIT_MUL,
[INFO] [stdout]   |     ^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 5 |     TRAIT_NEQ, TRAIT_SUB,
[INFO] [stdout]   |     ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arg_types`
[INFO] [stdout]    --> compiler/src/type_check/error.rs:200:17
[INFO] [stdout]     |
[INFO] [stdout] 200 |                 arg_types,
[INFO] [stdout]     |                 ^^^^^^^^^ help: try ignoring the field: `arg_types: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BUILTIN_TRAIT_COUNT` is never used
[INFO] [stdout]    --> compiler/src/ast/mod.rs:508:7
[INFO] [stdout]     |
[INFO] [stdout] 508 | const BUILTIN_TRAIT_COUNT: u32 = 100;
[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 `mutable` is never read
[INFO] [stdout]   --> compiler/src/borrow_check/mod.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct Loan {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 35 |     at: Id<Place>,
[INFO] [stdout] 36 |     mutable: bool,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `finalize` is never used
[INFO] [stdout]    --> compiler/src/code_gen/mod.rs:969:12
[INFO] [stdout]     |
[INFO] [stdout] 961 | impl<'a> FuncCtx<'a> {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 969 |     pub fn finalize(self) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NoMainFunction` and `NoReturnType` are never constructed
[INFO] [stdout]  --> compiler/src/code_gen/error.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub(super) enum CodegenError {
[INFO] [stdout]   |                 ------------ variants in this enum
[INFO] [stdout] 4 |     NoMainFunction,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 5 |     NoReturnType,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Diagnostic`, `Source`, and `parser`
[INFO] [stdout]  --> compiler/src/main.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 |     BorrowChecker, Codegen, Diagnostic, Linker, ProgramLoader, Runner, Source, TypeInferencer,
[INFO] [stdout]   |                             ^^^^^^^^^^                                 ^^^^^^
[INFO] [stdout] 3 |     parser,
[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::sync::Arc`
[INFO] [stdout]  --> compiler/src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling som-cli v0.1.0 (/opt/rustwide/workdir/cli)
[INFO] [stderr]    Compiling som-lsp v0.1.0 (/opt/rustwide/workdir/lsp)
[INFO] [stderr]    Compiling uuid v1.23.0
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> lsp/src/index.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 |     Stmt(Id<Stmt>),
[INFO] [stdout]   |     ---- ^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `NodeRef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 9 -     Stmt(Id<Stmt>),
[INFO] [stdout] 9 +     Stmt(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_module_symbols` is never used
[INFO] [stdout]    --> lsp/src/index.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl AstIndex {
[INFO] [stdout]     | ------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn get_module_symbols(ast: &Ast, module: &Module) -> Vec<(String, NodeRef, Span)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `diagnostics` is never read
[INFO] [stdout]   --> lsp/src/server.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct AnalysisResult {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 23 |     pub typed_ast: TypedAst,
[INFO] [stdout] 24 |     pub diagnostics: Vec<SomDiagnostic>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tempfile v3.25.0
[INFO] [stderr]    Compiling som v0.1.0 (/opt/rustwide/workdir/compiler)
[INFO] [stdout] warning: unused imports: `Diagnostic`, `Source`, and `parser`
[INFO] [stdout]  --> compiler/src/main.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 |     BorrowChecker, Codegen, Diagnostic, Linker, ProgramLoader, Runner, Source, TypeInferencer,
[INFO] [stdout]   |                             ^^^^^^^^^^                                 ^^^^^^
[INFO] [stdout] 3 |     parser,
[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::sync::Arc`
[INFO] [stdout]  --> compiler/src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `project_name`
[INFO] [stdout]    --> compiler/tests/modules.rs:195:9
[INFO] [stdout]     |
[INFO] [stdout] 195 |     let project_name = project.path().file_name().unwrap().to_str().unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_name`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_lex` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn test_lex(source: &str) -> Vec<Token> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `filter_whitespace` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn filter_whitespace(tokens: &[Token]) -> Vec<&Token> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_parse` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn test_parse(source: &str) -> (som::Ast, Vec<ParseError>) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn parse_or_panic(source: &str) -> som::Ast {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_type_check` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn test_type_check(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `type_check_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn type_check_or_panic(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_borrow_check` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn test_borrow_check(source: &str) -> Vec<BorrowError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_check_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub fn borrow_check_or_panic(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_type_error` is never used
[INFO] [stdout]    --> compiler/tests/common/mod.rs:167:8
[INFO] [stdout]     |
[INFO] [stdout] 167 | pub fn has_type_error<F>(typed_ast: &TypedAst, predicate: F) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_borrow_error` is never used
[INFO] [stdout]    --> compiler/tests/common/mod.rs:175:8
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub fn has_borrow_error<F>(errors: &[BorrowError], predicate: F) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_lex` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn test_lex(source: &str) -> Vec<Token> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `filter_whitespace` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn filter_whitespace(tokens: &[Token]) -> Vec<&Token> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_parse` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn test_parse(source: &str) -> (som::Ast, Vec<ParseError>) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn parse_or_panic(source: &str) -> som::Ast {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_type_check` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn test_type_check(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `type_check_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn type_check_or_panic(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_borrow_check` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn test_borrow_check(source: &str) -> Vec<BorrowError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_check_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub fn borrow_check_or_panic(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_type_error` is never used
[INFO] [stdout]    --> compiler/tests/common/mod.rs:167:8
[INFO] [stdout]     |
[INFO] [stdout] 167 | pub fn has_type_error<F>(typed_ast: &TypedAst, predicate: F) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_borrow_error` is never used
[INFO] [stdout]    --> compiler/tests/common/mod.rs:175:8
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub fn has_borrow_error<F>(errors: &[BorrowError], predicate: F) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_lex` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn test_lex(source: &str) -> Vec<Token> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `filter_whitespace` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn filter_whitespace(tokens: &[Token]) -> Vec<&Token> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_parse` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn test_parse(source: &str) -> (som::Ast, Vec<ParseError>) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn parse_or_panic(source: &str) -> som::Ast {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_type_check` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn test_type_check(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `type_check_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn type_check_or_panic(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_borrow_check` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn test_borrow_check(source: &str) -> Vec<BorrowError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_check_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub fn borrow_check_or_panic(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_type_error` is never used
[INFO] [stdout]    --> compiler/tests/common/mod.rs:167:8
[INFO] [stdout]     |
[INFO] [stdout] 167 | pub fn has_type_error<F>(typed_ast: &TypedAst, predicate: F) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_borrow_error` is never used
[INFO] [stdout]    --> compiler/tests/common/mod.rs:175:8
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub fn has_borrow_error<F>(errors: &[BorrowError], predicate: F) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_parse` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn test_parse(source: &str) -> (som::Ast, Vec<ParseError>) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn parse_or_panic(source: &str) -> som::Ast {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_type_check` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn test_type_check(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `type_check_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn type_check_or_panic(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_borrow_check` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn test_borrow_check(source: &str) -> Vec<BorrowError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_check_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub fn borrow_check_or_panic(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compile_and_run` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:99:8
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub fn compile_and_run(source: Source) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_type_error` is never used
[INFO] [stdout]    --> compiler/tests/common/mod.rs:167:8
[INFO] [stdout]     |
[INFO] [stdout] 167 | pub fn has_type_error<F>(typed_ast: &TypedAst, predicate: F) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_borrow_error` is never used
[INFO] [stdout]    --> compiler/tests/common/mod.rs:175:8
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub fn has_borrow_error<F>(errors: &[BorrowError], predicate: F) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_lex` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn test_lex(source: &str) -> Vec<Token> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `filter_whitespace` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn filter_whitespace(tokens: &[Token]) -> Vec<&Token> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_parse` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn test_parse(source: &str) -> (som::Ast, Vec<ParseError>) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn parse_or_panic(source: &str) -> som::Ast {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_type_check` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn test_type_check(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `type_check_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn type_check_or_panic(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_borrow_check` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn test_borrow_check(source: &str) -> Vec<BorrowError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_check_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub fn borrow_check_or_panic(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_type_error` is never used
[INFO] [stdout]    --> compiler/tests/common/mod.rs:167:8
[INFO] [stdout]     |
[INFO] [stdout] 167 | pub fn has_type_error<F>(typed_ast: &TypedAst, predicate: F) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_borrow_error` is never used
[INFO] [stdout]    --> compiler/tests/common/mod.rs:175:8
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub fn has_borrow_error<F>(errors: &[BorrowError], predicate: F) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_lex` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn test_lex(source: &str) -> Vec<Token> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `filter_whitespace` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn filter_whitespace(tokens: &[Token]) -> Vec<&Token> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_parse` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn test_parse(source: &str) -> (som::Ast, Vec<ParseError>) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn parse_or_panic(source: &str) -> som::Ast {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_type_check` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn test_type_check(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `type_check_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn type_check_or_panic(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_borrow_check` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn test_borrow_check(source: &str) -> Vec<BorrowError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_check_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub fn borrow_check_or_panic(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_type_error` is never used
[INFO] [stdout]    --> compiler/tests/common/mod.rs:167:8
[INFO] [stdout]     |
[INFO] [stdout] 167 | pub fn has_type_error<F>(typed_ast: &TypedAst, predicate: F) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_borrow_error` is never used
[INFO] [stdout]    --> compiler/tests/common/mod.rs:175:8
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub fn has_borrow_error<F>(errors: &[BorrowError], predicate: F) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_lex` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn test_lex(source: &str) -> Vec<Token> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `filter_whitespace` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn filter_whitespace(tokens: &[Token]) -> Vec<&Token> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_check_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub fn borrow_check_or_panic(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compile_and_run` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:99:8
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub fn compile_and_run(source: Source) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_type_error` is never used
[INFO] [stdout]    --> compiler/tests/common/mod.rs:167:8
[INFO] [stdout]     |
[INFO] [stdout] 167 | pub fn has_type_error<F>(typed_ast: &TypedAst, predicate: F) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_lex` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn test_lex(source: &str) -> Vec<Token> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `filter_whitespace` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn filter_whitespace(tokens: &[Token]) -> Vec<&Token> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn parse_or_panic(source: &str) -> som::Ast {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_type_check` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn test_type_check(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `type_check_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn type_check_or_panic(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_borrow_check` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn test_borrow_check(source: &str) -> Vec<BorrowError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_check_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub fn borrow_check_or_panic(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compile_and_run` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:99:8
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub fn compile_and_run(source: Source) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_type_error` is never used
[INFO] [stdout]    --> compiler/tests/common/mod.rs:167:8
[INFO] [stdout]     |
[INFO] [stdout] 167 | pub fn has_type_error<F>(typed_ast: &TypedAst, predicate: F) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_borrow_error` is never used
[INFO] [stdout]    --> compiler/tests/common/mod.rs:175:8
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub fn has_borrow_error<F>(errors: &[BorrowError], predicate: F) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_lex` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn test_lex(source: &str) -> Vec<Token> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `filter_whitespace` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn filter_whitespace(tokens: &[Token]) -> Vec<&Token> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_parse` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn test_parse(source: &str) -> (som::Ast, Vec<ParseError>) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn parse_or_panic(source: &str) -> som::Ast {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_type_check` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn test_type_check(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `type_check_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn type_check_or_panic(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_borrow_check` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn test_borrow_check(source: &str) -> Vec<BorrowError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_check_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub fn borrow_check_or_panic(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_type_error` is never used
[INFO] [stdout]    --> compiler/tests/common/mod.rs:167:8
[INFO] [stdout]     |
[INFO] [stdout] 167 | pub fn has_type_error<F>(typed_ast: &TypedAst, predicate: F) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_borrow_error` is never used
[INFO] [stdout]    --> compiler/tests/common/mod.rs:175:8
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub fn has_borrow_error<F>(errors: &[BorrowError], predicate: F) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_lex` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn test_lex(source: &str) -> Vec<Token> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `filter_whitespace` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn filter_whitespace(tokens: &[Token]) -> Vec<&Token> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `type_check_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn type_check_or_panic(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_borrow_check` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn test_borrow_check(source: &str) -> Vec<BorrowError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_check_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub fn borrow_check_or_panic(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compile_and_run` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:99:8
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub fn compile_and_run(source: Source) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_borrow_error` is never used
[INFO] [stdout]    --> compiler/tests/common/mod.rs:175:8
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub fn has_borrow_error<F>(errors: &[BorrowError], predicate: F) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_lex` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn test_lex(source: &str) -> Vec<Token> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `filter_whitespace` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn filter_whitespace(tokens: &[Token]) -> Vec<&Token> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `type_check_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn type_check_or_panic(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_borrow_check` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub fn test_borrow_check(source: &str) -> Vec<BorrowError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_check_or_panic` is never used
[INFO] [stdout]   --> compiler/tests/common/mod.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub fn borrow_check_or_panic(source: &str) -> TypedAst {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_type_error` is never used
[INFO] [stdout]    --> compiler/tests/common/mod.rs:167:8
[INFO] [stdout]     |
[INFO] [stdout] 167 | pub fn has_type_error<F>(typed_ast: &TypedAst, predicate: F) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_borrow_error` is never used
[INFO] [stdout]    --> compiler/tests/common/mod.rs:175:8
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub fn has_borrow_error<F>(errors: &[BorrowError], predicate: F) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `layout`
[INFO] [stdout]  --> compiler/src/code_gen/mod.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 |     codegen::ir::{Function, layout},
[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: `Impl`
[INFO] [stdout]  --> compiler/src/parser/decl.rs:2:68
[INFO] [stdout]   |
[INFO] [stdout] 2 |     Expr, ExternBlock, ExternFunc, Func, FuncParam, FuncTypeParam, Impl, ImplBlock, Struct,
[INFO] [stdout]   |                                                                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TRAIT_ADD`, `TRAIT_DIV`, `TRAIT_EQ`, `TRAIT_GT_EQ`, `TRAIT_GT`, `TRAIT_LT_EQ`, `TRAIT_LT`, `TRAIT_MUL`, `TRAIT_NEQ`, and `TRAIT_SUB`
[INFO] [stdout]  --> compiler/src/type_check/error.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     TRAIT_ADD, TRAIT_DIV, TRAIT_EQ, TRAIT_GT, TRAIT_GT_EQ, TRAIT_LT, TRAIT_LT_EQ, TRAIT_MUL,
[INFO] [stdout]   |     ^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 5 |     TRAIT_NEQ, TRAIT_SUB,
[INFO] [stdout]   |     ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcKsezm0/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libtempfile-8284d78ebf3e3d75,libgetrandom-929c81e41a867548,liblibc-9017ff0c40a5fc6a,libfastrand-503f12a96d791409,libonce_cell-0ba6aecba7086d38,librustix-5a67670ae100ab3f,libbitflags-a4a524fc7b7b1962,liblinux_raw_sys-693dbac71fe04287,libsom-8e1d91cd64010761,liblogos-4201c21685242e97,libowo_colors-a997fecdc3b2ead1,libcranelift-6b3c2b32773cbb0e,libcranelift_object-b5ad265be961dc9f,libobject-e1f149921eec396d,libcrc32fast-a168475f3cebd277,libcfg_if-5af52f617df93f8f,libmemchr-9b3f20cfb3ebd3b2,libcranelift_module-922154d554292288,libanyhow-68735196a3cbd374,libcranelift_frontend-97abde109955f6f8,libcranelift_codegen-0493b65227d5d3d0,libcranelift_assembler_x64-686f2deea0609a72,libtarget_lexicon-8f4dec7fc7a3392d,libcranelift_codegen_shared-f33a6e8420b229aa,libregalloc2-c77e36890fa40742,libbumpalo-de15098134cdf083,libhashbrown-22a692144023f101,libfoldhash-a84df4cbe8daa3b8,libsmallvec-2a25c8c01d4c2d5b,librustc_hash-d7c9c021d0487117,liballocator_api2-3bc2480ae44878f3,libgimli-126ebf13527a9a03,libindexmap-fb3ae6ea90f53af1,libequivalent-7e0e8cbe6c474a67,libhashbrown-00f937fe1169347c,libcranelift_control-8389084dbce4005a,libarbitrary-690fbdcae6a1595e,libcranelift_bforest-24b8c7c9c1babeb2,libcranelift_entity-55fb2c167f0bd2ac,libcranelift_bitset-f8b500cc54ec7152,libena-06a7f962298892dc,liblog-d269868761ac548a}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/deps/rustcKsezm0/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/control_flow-1160851b28e2bc6a" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: collect2: fatal error: ld terminated with signal 9 [Killed]
[INFO] [stdout]           compilation terminated.
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `som` (test "control_flow") due to 1 previous error; 10 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `arg_types`
[INFO] [stdout]    --> compiler/src/type_check/error.rs:200:17
[INFO] [stdout]     |
[INFO] [stdout] 200 |                 arg_types,
[INFO] [stdout]     |                 ^^^^^^^^^ help: try ignoring the field: `arg_types: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BUILTIN_TRAIT_COUNT` is never used
[INFO] [stdout]    --> compiler/src/ast/mod.rs:508:7
[INFO] [stdout]     |
[INFO] [stdout] 508 | const BUILTIN_TRAIT_COUNT: u32 = 100;
[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 `mutable` is never read
[INFO] [stdout]   --> compiler/src/borrow_check/mod.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct Loan {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 35 |     at: Id<Place>,
[INFO] [stdout] 36 |     mutable: bool,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `finalize` is never used
[INFO] [stdout]    --> compiler/src/code_gen/mod.rs:969:12
[INFO] [stdout]     |
[INFO] [stdout] 961 | impl<'a> FuncCtx<'a> {
[INFO] [stdout]     | -------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 969 |     pub fn finalize(self) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NoMainFunction` and `NoReturnType` are never constructed
[INFO] [stdout]  --> compiler/src/code_gen/error.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub(super) enum CodegenError {
[INFO] [stdout]   |                 ------------ variants in this enum
[INFO] [stdout] 4 |     NoMainFunction,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 5 |     NoReturnType,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "e0b8a017e44740539c31b91049b0fea9508e7faa141120435d4c41eed9a560a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e0b8a017e44740539c31b91049b0fea9508e7faa141120435d4c41eed9a560a0", kill_on_drop: false }`
[INFO] [stdout] e0b8a017e44740539c31b91049b0fea9508e7faa141120435d4c41eed9a560a0
