[INFO] cloning repository https://github.com/metrolung/puffin
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/metrolung/puffin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmetrolung%2Fpuffin", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmetrolung%2Fpuffin'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dbc6ee8579fd7ee1a528576ab18a402325f3929b
[INFO] checking metrolung/puffin against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmetrolung%2Fpuffin" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/metrolung/puffin
[INFO] finished tweaking git repo https://github.com/metrolung/puffin
[INFO] tweaked toml for git repo https://github.com/metrolung/puffin written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/metrolung/puffin on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/metrolung/puffin 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a947568f8fddb14c728ae62e570fc2fa10443261348faa5e0d410fdfeea10476
[INFO] running `Command { std: "docker" "start" "-a" "a947568f8fddb14c728ae62e570fc2fa10443261348faa5e0d410fdfeea10476", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a947568f8fddb14c728ae62e570fc2fa10443261348faa5e0d410fdfeea10476", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a947568f8fddb14c728ae62e570fc2fa10443261348faa5e0d410fdfeea10476", kill_on_drop: false }`
[INFO] [stdout] a947568f8fddb14c728ae62e570fc2fa10443261348faa5e0d410fdfeea10476
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 19f9ce4ccb711865d68e54df7172571307b56d97e3e48d8d1e86decc3d3e3cdc
[INFO] running `Command { std: "docker" "start" "-a" "19f9ce4ccb711865d68e54df7172571307b56d97e3e48d8d1e86decc3d3e3cdc", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.2
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]     Checking anstyle-parse v1.0.0
[INFO] [stderr]     Checking anstyle-query v1.1.5
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking anstyle v1.0.14
[INFO] [stderr]     Checking colorchoice v1.0.5
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]     Checking clap_lex v1.1.0
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]     Checking anstream v1.0.0
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling corosensei v0.3.3
[INFO] [stderr]     Checking clap_builder v4.6.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking ordered-float v5.3.0
[INFO] [stderr]    Compiling enum-assoc v1.3.0
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]     Checking compiler v0.1.0 (/opt/rustwide/workdir/packages/compiler)
[INFO] [stdout] warning: unused import: `std::cell::UnsafeCell`
[INFO] [stdout]  --> packages/compiler/src/compiler/lexer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::UnsafeCell;
[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::cmp::Ordering`
[INFO] [stdout]  --> packages/compiler/src/compiler/lexer.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cmp::Ordering;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> packages/compiler/src/compiler/lexer.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Not`, `RangeToInclusive`, and `RangeTo`
[INFO] [stdout]  --> packages/compiler/src/compiler/lexer.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::{Not, RangeTo, RangeToInclusive};
[INFO] [stdout]   |                ^^^  ^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Mutex`
[INFO] [stdout]  --> packages/compiler/src/compiler/lexer.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::sync::Mutex;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow`
[INFO] [stdout]  --> packages/compiler/src/compiler/lexer.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | use anyhow::{anyhow, bail, Result};
[INFO] [stdout]   |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::Chars`
[INFO] [stdout]  --> packages/compiler/src/compiler/parser.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::str::Chars;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::spawn`
[INFO] [stdout]  --> packages/compiler/src/compiler/parser.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::thread::spawn;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Implementation`
[INFO] [stdout]  --> packages/compiler/src/compiler/semantics.rs:1:88
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::compiler::parser::{AST, Statement, StatementKind, ValueExpr, ValueExprKind, Implementation, BinOpKind, TypeExpr, TypeExprK...
[INFO] [stdout]   |                                                                                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ref`
[INFO] [stdout]  --> packages/compiler/src/compiler/semantics.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cell::{Ref, RefCell, RefMut};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display` and `Formatter`
[INFO] [stdout]  --> packages/compiler/src/compiler/semantics.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fmt::{Debug, Display, Formatter};
[INFO] [stdout]   |                       ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Add` and `DerefMut`
[INFO] [stdout]  --> packages/compiler/src/compiler/semantics.rs:6:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ops::{Add, DerefMut, Index};
[INFO] [stdout]   |                ^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]  --> packages/compiler/src/compiler/semantics.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::pin::Pin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ExitCode` and `Termination`
[INFO] [stdout]  --> packages/compiler/src/compiler/semantics.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::process::{ExitCode, Termination};
[INFO] [stdout]   |                    ^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc` and `Mutex`
[INFO] [stdout]   --> packages/compiler/src/compiler/semantics.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::sync::{Arc, Mutex};
[INFO] [stdout]    |                 ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::scope`
[INFO] [stdout]   --> packages/compiler/src/compiler/semantics.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::thread::scope;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ObjectHeader`
[INFO] [stdout]   --> packages/compiler/src/compiler/semantics.rs:15:29
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::common::value::{ ObjectHeader};
[INFO] [stdout]    |                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::UnsafeCell`
[INFO] [stdout]  --> packages/compiler/src/compiler/codegen.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::UnsafeCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Display`
[INFO] [stdout]  --> packages/compiler/src/compiler/codegen.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::{Debug, Display, Formatter, Write};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ObjectFlag`
[INFO] [stdout]  --> packages/compiler/src/compiler/codegen.rs:4:50
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::common::value::{CallableObjectHeader, ObjectFlag, ObjectHeader, StringObjectHeader};
[INFO] [stdout]   |                                                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BinOpKind` and `UnOpKind`
[INFO] [stdout]  --> packages/compiler/src/compiler/codegen.rs:6:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::compiler::parser::{BinOpKind, UnOpKind};
[INFO] [stdout]   |                               ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::compiler::position::SpanPosition`
[INFO] [stdout]  --> packages/compiler/src/compiler/codegen.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::compiler::position::SpanPosition;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mem`
[INFO] [stdout]  --> packages/compiler/src/common/value.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{mem, ptr};
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicUsize`
[INFO] [stdout]  --> packages/compiler/src/common/value.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::atomic::AtomicUsize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem::MaybeUninit`
[INFO] [stdout]  --> packages/compiler/src/common/raw_value.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::mem::MaybeUninit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Index`
[INFO] [stdout]  --> packages/compiler/src/common/raw_value.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::{Index, Range};
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::UnsafeCell`
[INFO] [stdout]  --> packages/compiler/src/vm/callable.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::UnsafeCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Formatter` and `Write`
[INFO] [stdout]  --> packages/compiler/src/vm/callable.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::{Debug, Formatter, Write};
[INFO] [stdout]   |                       ^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ObjectFlag`
[INFO] [stdout]  --> packages/compiler/src/vm/callable.rs:5:50
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::common::value::{CallableObjectHeader, ObjectFlag, StringObjectHeader};
[INFO] [stdout]   |                                                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> packages/compiler/src/vm/callable.rs:54:78
[INFO] [stdout]    |
[INFO] [stdout] 54 | where T: for <'obj> Fn(CallContext<'_, '_, 'obj>, Vec<StrongValue<'obj>>) -> (Result<Vec<StrongValue<'obj>>, RuntimeError>) {
[INFO] [stdout]    |                                                                              ^                                            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 54 - where T: for <'obj> Fn(CallContext<'_, '_, 'obj>, Vec<StrongValue<'obj>>) -> (Result<Vec<StrongValue<'obj>>, RuntimeError>) {
[INFO] [stdout] 54 + where T: for <'obj> Fn(CallContext<'_, '_, 'obj>, Vec<StrongValue<'obj>>) -> Result<Vec<StrongValue<'obj>>, RuntimeError>  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::write`
[INFO] [stdout]  --> packages/compiler/src/vm/garbage_collector.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::write_volatile`
[INFO] [stdout]  --> packages/compiler/src/vm/garbage_collector.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ptr::write_volatile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ObjectHeader`
[INFO] [stdout]  --> packages/compiler/src/vm/garbage_collector.rs:7:85
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::common::value::{CallableObjectHeader, CompositeObjectHeader, ObjectFlag, ObjectHeader, StringObjectHeader};
[INFO] [stdout]   |                                                                                     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::UnsafeCell`
[INFO] [stdout]  --> packages/compiler/src/compiler/lexer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::UnsafeCell;
[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::cmp::Ordering`
[INFO] [stdout]  --> packages/compiler/src/compiler/lexer.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cmp::Ordering;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> packages/compiler/src/compiler/lexer.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Not`, `RangeToInclusive`, and `RangeTo`
[INFO] [stdout]  --> packages/compiler/src/compiler/lexer.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::{Not, RangeTo, RangeToInclusive};
[INFO] [stdout]   |                ^^^  ^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Mutex`
[INFO] [stdout]  --> packages/compiler/src/compiler/lexer.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::sync::Mutex;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow`
[INFO] [stdout]  --> packages/compiler/src/compiler/lexer.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | use anyhow::{anyhow, bail, Result};
[INFO] [stdout]   |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::Chars`
[INFO] [stdout]  --> packages/compiler/src/compiler/parser.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::str::Chars;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::spawn`
[INFO] [stdout]  --> packages/compiler/src/compiler/parser.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::thread::spawn;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Implementation`
[INFO] [stdout]  --> packages/compiler/src/compiler/semantics.rs:1:88
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::compiler::parser::{AST, Statement, StatementKind, ValueExpr, ValueExprKind, Implementation, BinOpKind, TypeExpr, TypeExprK...
[INFO] [stdout]   |                                                                                        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ref`
[INFO] [stdout]  --> packages/compiler/src/compiler/semantics.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cell::{Ref, RefCell, RefMut};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display` and `Formatter`
[INFO] [stdout]  --> packages/compiler/src/compiler/semantics.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fmt::{Debug, Display, Formatter};
[INFO] [stdout]   |                       ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Add` and `DerefMut`
[INFO] [stdout]  --> packages/compiler/src/compiler/semantics.rs:6:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ops::{Add, DerefMut, Index};
[INFO] [stdout]   |                ^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]  --> packages/compiler/src/compiler/semantics.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::pin::Pin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ExitCode` and `Termination`
[INFO] [stdout]  --> packages/compiler/src/compiler/semantics.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::process::{ExitCode, Termination};
[INFO] [stdout]   |                    ^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc` and `Mutex`
[INFO] [stdout]   --> packages/compiler/src/compiler/semantics.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::sync::{Arc, Mutex};
[INFO] [stdout]    |                 ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::scope`
[INFO] [stdout]   --> packages/compiler/src/compiler/semantics.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::thread::scope;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ObjectHeader`
[INFO] [stdout]   --> packages/compiler/src/compiler/semantics.rs:15:29
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::common::value::{ ObjectHeader};
[INFO] [stdout]    |                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::UnsafeCell`
[INFO] [stdout]  --> packages/compiler/src/compiler/codegen.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::UnsafeCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Display`
[INFO] [stdout]  --> packages/compiler/src/compiler/codegen.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::{Debug, Display, Formatter, Write};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ObjectFlag`
[INFO] [stdout]  --> packages/compiler/src/compiler/codegen.rs:4:50
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::common::value::{CallableObjectHeader, ObjectFlag, ObjectHeader, StringObjectHeader};
[INFO] [stdout]   |                                                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BinOpKind` and `UnOpKind`
[INFO] [stdout]  --> packages/compiler/src/compiler/codegen.rs:6:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::compiler::parser::{BinOpKind, UnOpKind};
[INFO] [stdout]   |                               ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::compiler::position::SpanPosition`
[INFO] [stdout]  --> packages/compiler/src/compiler/codegen.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::compiler::position::SpanPosition;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mem`
[INFO] [stdout]  --> packages/compiler/src/common/value.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{mem, ptr};
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicUsize`
[INFO] [stdout]  --> packages/compiler/src/common/value.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::sync::atomic::AtomicUsize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem::MaybeUninit`
[INFO] [stdout]  --> packages/compiler/src/common/raw_value.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::mem::MaybeUninit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Index`
[INFO] [stdout]  --> packages/compiler/src/common/raw_value.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::{Index, Range};
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::UnsafeCell`
[INFO] [stdout]  --> packages/compiler/src/vm/callable.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::UnsafeCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Formatter` and `Write`
[INFO] [stdout]  --> packages/compiler/src/vm/callable.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::{Debug, Formatter, Write};
[INFO] [stdout]   |                       ^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ObjectFlag`
[INFO] [stdout]  --> packages/compiler/src/vm/callable.rs:5:50
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::common::value::{CallableObjectHeader, ObjectFlag, StringObjectHeader};
[INFO] [stdout]   |                                                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> packages/compiler/src/vm/callable.rs:54:78
[INFO] [stdout]    |
[INFO] [stdout] 54 | where T: for <'obj> Fn(CallContext<'_, '_, 'obj>, Vec<StrongValue<'obj>>) -> (Result<Vec<StrongValue<'obj>>, RuntimeError>) {
[INFO] [stdout]    |                                                                              ^                                            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 54 - where T: for <'obj> Fn(CallContext<'_, '_, 'obj>, Vec<StrongValue<'obj>>) -> (Result<Vec<StrongValue<'obj>>, RuntimeError>) {
[INFO] [stdout] 54 + where T: for <'obj> Fn(CallContext<'_, '_, 'obj>, Vec<StrongValue<'obj>>) -> Result<Vec<StrongValue<'obj>>, RuntimeError>  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::write`
[INFO] [stdout]  --> packages/compiler/src/vm/garbage_collector.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::write_volatile`
[INFO] [stdout]  --> packages/compiler/src/vm/garbage_collector.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ptr::write_volatile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ObjectHeader`
[INFO] [stdout]  --> packages/compiler/src/vm/garbage_collector.rs:7:85
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::common::value::{CallableObjectHeader, CompositeObjectHeader, ObjectFlag, ObjectHeader, StringObjectHeader};
[INFO] [stdout]   |                                                                                     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> packages/compiler/src/compiler/namespace.rs:2:43
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::{Debug, Display, Formatter, Write};
[INFO] [stdout]   |                                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> packages/compiler/src/compiler/codegen.rs:3:43
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::{Debug, Display, Formatter, Write};
[INFO] [stdout]   |                                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Pointer`
[INFO] [stdout]  --> packages/compiler/src/common/value.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Debug, Formatter, Pointer, Write};
[INFO] [stdout]   |                                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> packages/compiler/src/common/value.rs:1:43
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Debug, Formatter, Pointer, Write};
[INFO] [stdout]   |                                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `end_position` is never read
[INFO] [stdout]    --> packages/compiler/src/compiler/lexer.rs:257:28
[INFO] [stdout]     |
[INFO] [stdout] 257 |     let mut end_position = start_cap.pos();
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 266 |         end_position = next.pos();
[INFO] [stdout]     |         ------------------------- `end_position` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pass`
[INFO] [stdout]    --> packages/compiler/src/compiler/semantics.rs:280:16
[INFO] [stdout]     |
[INFO] [stdout] 280 | fn can_cast_to(pass: &DefinitionPass, type_a: &Type, type_b: &Type) -> bool {
[INFO] [stdout]     |                ^^^^ help: if this is intentional, prefix it with an underscore: `_pass`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `left`
[INFO] [stdout]    --> packages/compiler/src/compiler/semantics.rs:604:41
[INFO] [stdout]     |
[INFO] [stdout] 604 |         ValueExprKind::ReassignVariable(left, right) => {
[INFO] [stdout]     |                                         ^^^^ help: if this is intentional, prefix it with an underscore: `_left`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `right`
[INFO] [stdout]    --> packages/compiler/src/compiler/semantics.rs:604:47
[INFO] [stdout]     |
[INFO] [stdout] 604 |         ValueExprKind::ReassignVariable(left, right) => {
[INFO] [stdout]     |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_right`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `span`
[INFO] [stdout]    --> packages/compiler/src/compiler/codegen.rs:131:9
[INFO] [stdout]     |
[INFO] [stdout] 131 |     let span = expr.span;
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_span`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx`
[INFO] [stdout]    --> packages/compiler/src/vm/callable.rs:168:41
[INFO] [stdout]     |
[INFO] [stdout] 168 |                 Instruction::LoadObject(idx) => {
[INFO] [stdout]     |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_next` is never used
[INFO] [stdout]    --> packages/compiler/src/compiler/parser.rs:142:4
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn has_next(ctx: &mut ParseContext) -> bool {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `TypedDefinition` is never constructed
[INFO] [stdout]    --> packages/compiler/src/compiler/semantics.rs:245:12
[INFO] [stdout]     |
[INFO] [stdout] 245 | pub struct TypedDefinition {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]     = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `ObjectVariable` is never constructed
[INFO] [stdout]    --> packages/compiler/src/compiler/semantics.rs:104:5
[INFO] [stdout]     |
[INFO] [stdout] 102 | enum SemanticValue {
[INFO] [stdout]     |      ------------- variant in this enum
[INFO] [stdout] 103 |     LocalVariable(Type, Offset),
[INFO] [stdout] 104 |     ObjectVariable(Type, Offset),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SemanticValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `errors` is never read
[INFO] [stdout]    --> packages/compiler/src/compiler/semantics.rs:195:5
[INFO] [stdout]     |
[INFO] [stdout] 192 | struct SemanticContext {
[INFO] [stdout]     |        --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 195 |     errors: Vec<CompilerError>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SemanticContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_defined` and `get_mut` are never used
[INFO] [stdout]    --> packages/compiler/src/compiler/semantics.rs:203:8
[INFO] [stdout]     |
[INFO] [stdout] 198 | impl SemanticContext {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 203 |     fn is_defined(&self, path: &Path) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 211 |     fn get_mut(&mut self, path: &Path) -> Option<&mut SemanticValue> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `kind` and `span` are never read
[INFO] [stdout]    --> packages/compiler/src/compiler/semantics.rs:246:5
[INFO] [stdout]     |
[INFO] [stdout] 245 | pub struct TypedDefinition {
[INFO] [stdout]     |            --------------- fields in this struct
[INFO] [stdout] 246 |     kind: TypedDefinitionKind,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 247 |     span: SpanPosition,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TypedDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get` is never used
[INFO] [stdout]    --> packages/compiler/src/compiler/semantics.rs:360:4
[INFO] [stdout]     |
[INFO] [stdout] 360 | fn get(pass: &DefinitionPass, name: &Path) -> Option<SemanticValue> {
[INFO] [stdout]     |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `function_table` and `function_lookup` are never read
[INFO] [stdout]    --> packages/compiler/src/compiler/codegen.rs:295:5
[INFO] [stdout]     |
[INFO] [stdout] 293 | struct FunctionGenContext<'a> {
[INFO] [stdout]     |        ------------------ fields in this struct
[INFO] [stdout] 294 |     string_table: &'a mut Vec<StringObjectHeader>,
[INFO] [stdout] 295 |     function_table: &'a Vec<CallableObjectHeader>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] 296 |     string_lookup: &'a mut HashMap<String, usize>,
[INFO] [stdout] 297 |     function_lookup: &'a HashMap<String, usize>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `composite`, `string`, and `callable` are never read
[INFO] [stdout]   --> packages/compiler/src/common/value.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub union AmbiguousObject<'obj> {
[INFO] [stdout]    |           --------------- fields in this union
[INFO] [stdout] 31 |     composite: ManuallyDrop<UnsafeCell<ValueArray<'obj>>>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 32 |     string: ManuallyDrop<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 33 |     callable: ManuallyDrop<Box<dyn PuffinCallable>>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `compiler` (lib test) due to 1 previous error; 51 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> packages/compiler/src/compiler/namespace.rs:2:43
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::{Debug, Display, Formatter, Write};
[INFO] [stdout]   |                                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> packages/compiler/src/compiler/codegen.rs:3:43
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::{Debug, Display, Formatter, Write};
[INFO] [stdout]   |                                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Pointer`
[INFO] [stdout]  --> packages/compiler/src/common/value.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Debug, Formatter, Pointer, Write};
[INFO] [stdout]   |                                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> packages/compiler/src/common/value.rs:1:43
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Debug, Formatter, Pointer, Write};
[INFO] [stdout]   |                                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `end_position` is never read
[INFO] [stdout]    --> packages/compiler/src/compiler/lexer.rs:257:28
[INFO] [stdout]     |
[INFO] [stdout] 257 |     let mut end_position = start_cap.pos();
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 266 |         end_position = next.pos();
[INFO] [stdout]     |         ------------------------- `end_position` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pass`
[INFO] [stdout]    --> packages/compiler/src/compiler/semantics.rs:280:16
[INFO] [stdout]     |
[INFO] [stdout] 280 | fn can_cast_to(pass: &DefinitionPass, type_a: &Type, type_b: &Type) -> bool {
[INFO] [stdout]     |                ^^^^ help: if this is intentional, prefix it with an underscore: `_pass`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `left`
[INFO] [stdout]    --> packages/compiler/src/compiler/semantics.rs:604:41
[INFO] [stdout]     |
[INFO] [stdout] 604 |         ValueExprKind::ReassignVariable(left, right) => {
[INFO] [stdout]     |                                         ^^^^ help: if this is intentional, prefix it with an underscore: `_left`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `right`
[INFO] [stdout]    --> packages/compiler/src/compiler/semantics.rs:604:47
[INFO] [stdout]     |
[INFO] [stdout] 604 |         ValueExprKind::ReassignVariable(left, right) => {
[INFO] [stdout]     |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_right`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `span`
[INFO] [stdout]    --> packages/compiler/src/compiler/codegen.rs:131:9
[INFO] [stdout]     |
[INFO] [stdout] 131 |     let span = expr.span;
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_span`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `idx`
[INFO] [stdout]    --> packages/compiler/src/vm/callable.rs:168:41
[INFO] [stdout]     |
[INFO] [stdout] 168 |                 Instruction::LoadObject(idx) => {
[INFO] [stdout]     |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_idx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `has_next` is never used
[INFO] [stdout]    --> packages/compiler/src/compiler/parser.rs:142:4
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn has_next(ctx: &mut ParseContext) -> bool {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `TypedDefinition` is never constructed
[INFO] [stdout]    --> packages/compiler/src/compiler/semantics.rs:245:12
[INFO] [stdout]     |
[INFO] [stdout] 245 | pub struct TypedDefinition {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]     = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `compiler` (lib) due to 1 previous error; 51 warnings emitted
[INFO] [stdout] warning: variant `ObjectVariable` is never constructed
[INFO] [stdout]    --> packages/compiler/src/compiler/semantics.rs:104:5
[INFO] [stdout]     |
[INFO] [stdout] 102 | enum SemanticValue {
[INFO] [stdout]     |      ------------- variant in this enum
[INFO] [stdout] 103 |     LocalVariable(Type, Offset),
[INFO] [stdout] 104 |     ObjectVariable(Type, Offset),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SemanticValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `errors` is never read
[INFO] [stdout]    --> packages/compiler/src/compiler/semantics.rs:195:5
[INFO] [stdout]     |
[INFO] [stdout] 192 | struct SemanticContext {
[INFO] [stdout]     |        --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 195 |     errors: Vec<CompilerError>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SemanticContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_defined` and `get_mut` are never used
[INFO] [stdout]    --> packages/compiler/src/compiler/semantics.rs:203:8
[INFO] [stdout]     |
[INFO] [stdout] 198 | impl SemanticContext {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 203 |     fn is_defined(&self, path: &Path) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 211 |     fn get_mut(&mut self, path: &Path) -> Option<&mut SemanticValue> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `kind` and `span` are never read
[INFO] [stdout]    --> packages/compiler/src/compiler/semantics.rs:246:5
[INFO] [stdout]     |
[INFO] [stdout] 245 | pub struct TypedDefinition {
[INFO] [stdout]     |            --------------- fields in this struct
[INFO] [stdout] 246 |     kind: TypedDefinitionKind,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 247 |     span: SpanPosition,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TypedDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get` is never used
[INFO] [stdout]    --> packages/compiler/src/compiler/semantics.rs:360:4
[INFO] [stdout]     |
[INFO] [stdout] 360 | fn get(pass: &DefinitionPass, name: &Path) -> Option<SemanticValue> {
[INFO] [stdout]     |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `function_table` and `function_lookup` are never read
[INFO] [stdout]    --> packages/compiler/src/compiler/codegen.rs:295:5
[INFO] [stdout]     |
[INFO] [stdout] 293 | struct FunctionGenContext<'a> {
[INFO] [stdout]     |        ------------------ fields in this struct
[INFO] [stdout] 294 |     string_table: &'a mut Vec<StringObjectHeader>,
[INFO] [stdout] 295 |     function_table: &'a Vec<CallableObjectHeader>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] 296 |     string_lookup: &'a mut HashMap<String, usize>,
[INFO] [stdout] 297 |     function_lookup: &'a HashMap<String, usize>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `composite`, `string`, and `callable` are never read
[INFO] [stdout]   --> packages/compiler/src/common/value.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub union AmbiguousObject<'obj> {
[INFO] [stdout]    |           --------------- fields in this union
[INFO] [stdout] 31 |     composite: ManuallyDrop<UnsafeCell<ValueArray<'obj>>>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 32 |     string: ManuallyDrop<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 33 |     callable: ManuallyDrop<Box<dyn PuffinCallable>>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "19f9ce4ccb711865d68e54df7172571307b56d97e3e48d8d1e86decc3d3e3cdc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "19f9ce4ccb711865d68e54df7172571307b56d97e3e48d8d1e86decc3d3e3cdc", kill_on_drop: false }`
[INFO] [stdout] 19f9ce4ccb711865d68e54df7172571307b56d97e3e48d8d1e86decc3d3e3cdc
