[INFO] cloning repository https://github.com/krolikladoshka/loom
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/krolikladoshka/loom" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrolikladoshka%2Floom", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrolikladoshka%2Floom'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d11e44a085c1907f17524e9c3fcafa3c464c04cc
[INFO] checking krolikladoshka/loom against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrolikladoshka%2Floom" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/krolikladoshka/loom
[INFO] finished tweaking git repo https://github.com/krolikladoshka/loom
[INFO] tweaked toml for git repo https://github.com/krolikladoshka/loom written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/krolikladoshka/loom on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/krolikladoshka/loom already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6f2086e3f4a434b5eb23779c62c9f2e8d4e47436bd7f1166cceebd5ad522df5e
[INFO] running `Command { std: "docker" "start" "-a" "6f2086e3f4a434b5eb23779c62c9f2e8d4e47436bd7f1166cceebd5ad522df5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6f2086e3f4a434b5eb23779c62c9f2e8d4e47436bd7f1166cceebd5ad522df5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6f2086e3f4a434b5eb23779c62c9f2e8d4e47436bd7f1166cceebd5ad522df5e", kill_on_drop: false }`
[INFO] [stdout] 6f2086e3f4a434b5eb23779c62c9f2e8d4e47436bd7f1166cceebd5ad522df5e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b3a6936dcc7c75a5581eecab4adf972e0deda37f95cace97ab6e2d164e1c50b5
[INFO] running `Command { std: "docker" "start" "-a" "b3a6936dcc7c75a5581eecab4adf972e0deda37f95cace97ab6e2d164e1c50b5", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling semver v1.0.26
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling winnow v0.7.12
[INFO] [stderr]     Checking slab v0.4.10
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]     Checking pin-project-lite v0.2.16
[INFO] [stderr]     Checking maplit v1.0.2
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling rstest_macros v0.25.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling proc-macro-crate v3.3.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking rstest v0.25.0
[INFO] [stderr]     Checking loom v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Pointer`
[INFO] [stdout]  --> src/compiler/c_transpiler.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::{Debug, Pointer};
[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::io::empty`
[INFO] [stdout]  --> src/compiler/c_transpiler.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::empty;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/compiler/c_transpiler.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AstNode` and `Ast`
[INFO] [stdout]  --> src/parser/parser.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::syntax::ast::{Ast, AstNode, AstNodeIndex, Expression, Function, ImplFunction, Literal, Method, PointerAnnotation, Statemen...
[INFO] [stdout]   |                          ^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/parser/semantics/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AstNodeIndex`, `Ast`, `Context`, and `current_id`
[INFO] [stdout]  --> src/parser/semantics/mod.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::syntax::ast::{current_id, Ast, AstNodeIndex, Context, Statement};
[INFO] [stdout]   |                          ^^^^^^^^^^  ^^^  ^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ImplFunction`
[INFO] [stdout]  --> src/parser/semantics/flow_control.rs:3:139
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... ContinueStatement, DeferStatement, FnStatement, Function, ImplFunction, ImplStatement, Method, ReturnStatement, SelfExpression, S...
[INFO] [stdout]   |                                                               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ast`
[INFO] [stdout]  --> src/parser/semantics/traits.rs:3:63
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::syntax::ast::{ArraySlice, ArrowAccess, Assignment, Ast, Binary, BlockExpression, BreakStatement, Call, Cast, ConstStatemen...
[INFO] [stdout]   |                                                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::Rev`
[INFO] [stdout]  --> src/parser/semantics/name_scoping.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::iter::Rev;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IndexMut`
[INFO] [stdout]  --> src/parser/semantics/name_scoping.rs:7:23
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::ops::{Index, IndexMut};
[INFO] [stdout]   |                       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any::Any`
[INFO] [stdout]  --> src/parser/semantics/scope_resolving.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::any::Any;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BreakStatement`, `ContinueStatement`, `ExpressionStatement`, `Grouping`, `ImplFunction`, and `TypedDeclaration`
[INFO] [stdout]  --> src/parser/semantics/scope_resolving.rs:5:111
[INFO] [stdout]   |
[INFO] [stdout] 5 | ...n, BreakStatement, Call, Cast, ConstStatement, ContinueStatement, DeferStatement, DotAccess, Expression, ExpressionStatement, FnExpression, FnStatement, Function, Grouping, Identifier, IfElseExpression, IfElseStatement, ImplFunction, ImplStatement, InplaceAssignment, LetStatement, LiteralNode, Method, Range, ReturnStatement, SelfExpression, Statement, StaticStatement, StructInitializer, StructStatement, TypeAnnotation, TypeName, TypedDeclaration, U...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^                              ^^^^^^^^^^^^^^^^^                                         ^^^^^^^^^^^^^^^^^^^                                       ^^^^^^^^                                                 ^^^^^^^^^^^^                                                                                                                                                                                                         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::Cell`
[INFO] [stdout]  --> src/parser/semantics/flatten_tree.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cell::Cell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::compiler::c_transpiler::CTranspilerSemantics`
[INFO] [stdout]  --> src/parser/test_parser.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::compiler::c_transpiler::CTranspilerSemantics;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::parser::semantics::scope_resolving::ScopeResolvingSemantics`
[INFO] [stdout]  --> src/parser/test_parser.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::parser::semantics::scope_resolving::ScopeResolvingSemantics;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::syntax::ast::*`
[INFO] [stdout]  --> src/parser/test_parser.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::syntax::ast::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::syntax::tokens::*`
[INFO] [stdout]  --> src/parser/test_parser.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::syntax::tokens::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TypeValidationSemanticsFirstPass` and `TypeValidationSemantics`
[INFO] [stdout]  --> src/parser/test_parser.rs:7:38
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::typing::type_validation::{TypeValidationSemantics, TypeValidationSemanticsFirstPass};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::test_utils::*`
[INFO] [stdout]  --> src/parser/test_parser.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::utils::test_utils::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::*`
[INFO] [stdout]  --> src/parser/test_parser.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::*;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display` and `Formatter`
[INFO] [stdout]  --> src/syntax/traits.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Display, Formatter};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/syntax/traits.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `require`
[INFO] [stdout]  --> src/utils/asserts.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | macro_rules! require {
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Semantics`
[INFO] [stdout]   --> src/main.rs:11:52
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::parser::semantics::traits::{AstContext, Semantics};
[INFO] [stdout]    |                                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Expression` and `Statement`
[INFO] [stdout]   --> src/main.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::syntax::ast::{Expression, Statement};
[INFO] [stdout]    |                          ^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::syntax::traits::TreePrint`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::syntax::traits::TreePrint;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Debug` and `Display`
[INFO] [stdout]   --> src/main.rs:16:16
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::fmt::{Debug, Display};
[INFO] [stdout]    |                ^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Pointer`
[INFO] [stdout]  --> src/compiler/c_transpiler.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::{Debug, Pointer};
[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::io::empty`
[INFO] [stdout]  --> src/compiler/c_transpiler.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::empty;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/compiler/c_transpiler.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AstNode` and `Ast`
[INFO] [stdout]  --> src/parser/parser.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::syntax::ast::{Ast, AstNode, AstNodeIndex, Expression, Function, ImplFunction, Literal, Method, PointerAnnotation, Statemen...
[INFO] [stdout]   |                          ^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/parser/semantics/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AstNodeIndex`, `Ast`, `Context`, and `current_id`
[INFO] [stdout]  --> src/parser/semantics/mod.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::syntax::ast::{current_id, Ast, AstNodeIndex, Context, Statement};
[INFO] [stdout]   |                          ^^^^^^^^^^  ^^^  ^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ImplFunction`
[INFO] [stdout]  --> src/parser/semantics/flow_control.rs:3:139
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... ContinueStatement, DeferStatement, FnStatement, Function, ImplFunction, ImplStatement, Method, ReturnStatement, SelfExpression, S...
[INFO] [stdout]   |                                                               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ast`
[INFO] [stdout]  --> src/parser/semantics/traits.rs:3:63
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::syntax::ast::{ArraySlice, ArrowAccess, Assignment, Ast, Binary, BlockExpression, BreakStatement, Call, Cast, ConstStatemen...
[INFO] [stdout]   |                                                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::Rev`
[INFO] [stdout]  --> src/parser/semantics/name_scoping.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::iter::Rev;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IndexMut`
[INFO] [stdout]  --> src/parser/semantics/name_scoping.rs:7:23
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::ops::{Index, IndexMut};
[INFO] [stdout]   |                       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any::Any`
[INFO] [stdout]  --> src/parser/semantics/scope_resolving.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::any::Any;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BreakStatement`, `ContinueStatement`, `ExpressionStatement`, `Grouping`, `ImplFunction`, and `TypedDeclaration`
[INFO] [stdout]  --> src/parser/semantics/scope_resolving.rs:5:111
[INFO] [stdout]   |
[INFO] [stdout] 5 | ...n, BreakStatement, Call, Cast, ConstStatement, ContinueStatement, DeferStatement, DotAccess, Expression, ExpressionStatement, FnExpression, FnStatement, Function, Grouping, Identifier, IfElseExpression, IfElseStatement, ImplFunction, ImplStatement, InplaceAssignment, LetStatement, LiteralNode, Method, Range, ReturnStatement, SelfExpression, Statement, StaticStatement, StructInitializer, StructStatement, TypeAnnotation, TypeName, TypedDeclaration, U...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^                              ^^^^^^^^^^^^^^^^^                                         ^^^^^^^^^^^^^^^^^^^                                       ^^^^^^^^                                                 ^^^^^^^^^^^^                                                                                                                                                                                                         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::Cell`
[INFO] [stdout]  --> src/parser/semantics/flatten_tree.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cell::Cell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Display` and `Formatter`
[INFO] [stdout]  --> src/syntax/traits.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{Display, Formatter};
[INFO] [stdout]   |                ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/syntax/traits.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `require`
[INFO] [stdout]  --> src/utils/asserts.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | macro_rules! require {
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Semantics`
[INFO] [stdout]   --> src/main.rs:11:52
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::parser::semantics::traits::{AstContext, Semantics};
[INFO] [stdout]    |                                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Expression` and `Statement`
[INFO] [stdout]   --> src/main.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::syntax::ast::{Expression, Statement};
[INFO] [stdout]    |                          ^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::syntax::traits::TreePrint`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::syntax::traits::TreePrint;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Debug` and `Display`
[INFO] [stdout]   --> src/main.rs:16:16
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::fmt::{Debug, Display};
[INFO] [stdout]    |                ^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/compiler/c_transpiler.rs:296:31
[INFO] [stdout]     |
[INFO] [stdout] 296 |     fn add_main_c_file(&self, context: &mut CTranspilerContext) {}
[INFO] [stdout]     |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prefix`
[INFO] [stdout]    --> src/compiler/c_transpiler.rs:437:41
[INFO] [stdout]     |
[INFO] [stdout] 437 |         &self, function: &ImplFunction, prefix: String,
[INFO] [stdout]     |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/compiler/c_transpiler.rs:918:13
[INFO] [stdout]     |
[INFO] [stdout] 918 |             context: &TranspilerPassContext
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `impl_prefix`
[INFO] [stdout]    --> src/compiler/c_transpiler.rs:989:17
[INFO] [stdout]     |
[INFO] [stdout] 989 |             let impl_prefix = impl_statement.implemented_type.literal.clone();
[INFO] [stdout]     |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_impl_prefix`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `define_block_name`
[INFO] [stdout]    --> src/compiler/c_transpiler.rs:979:13
[INFO] [stdout]     |
[INFO] [stdout] 979 |         let define_block_name = format!(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_define_block_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]    --> src/parser/parser.rs:113:13
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let token = self.advance_skipping_comments();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parse_results`
[INFO] [stdout]    --> src/parser/parser.rs:191:29
[INFO] [stdout]     |
[INFO] [stdout] 191 |         let (result, error, parse_results) = self.parse();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parse_results`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pub_token`
[INFO] [stdout]    --> src/parser/parser.rs:307:13
[INFO] [stdout]     |
[INFO] [stdout] 307 |         let pub_token = match self.peek().cloned() {
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pub_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pub_token`
[INFO] [stdout]    --> src/parser/parser.rs:364:13
[INFO] [stdout]     |
[INFO] [stdout] 364 |         let pub_token = self.require(TokenType::Pub, "expected 'pub'")?;
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pub_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `else_token`
[INFO] [stdout]     --> src/parser/parser.rs:1081:38
[INFO] [stdout]      |
[INFO] [stdout] 1081 |         let else_block = if let Some(else_token) = self.match_current(
[INFO] [stdout]      |                                      ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_else_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]     --> src/parser/parser.rs:1407:54
[INFO] [stdout]      |
[INFO] [stdout] 1407 |         T::from_str(token.literal.as_str()).or_else(|err|
[INFO] [stdout]      |                                                      ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/parser/semantics/scope_resolving.rs:17:32
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn get_ast_node(&self, context: &SecondSemanticsPassContext, ast_node: AstNodeIndex) {
[INFO] [stdout]    |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ast_node`
[INFO] [stdout]   --> src/parser/semantics/scope_resolving.rs:17:70
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn get_ast_node(&self, context: &SecondSemanticsPassContext, ast_node: AstNodeIndex) {
[INFO] [stdout]    |                                                                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ast_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/parser/semantics/scope_resolving.rs:58:16
[INFO] [stdout]    |
[INFO] [stdout] 58 |         &self, context: &SecondSemanticsPassContext, expression: &Expression
[INFO] [stdout]    |                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expression`
[INFO] [stdout]   --> src/parser/semantics/scope_resolving.rs:58:54
[INFO] [stdout]    |
[INFO] [stdout] 58 |         &self, context: &SecondSemanticsPassContext, expression: &Expression
[INFO] [stdout]    |                                                      ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expression`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]   --> src/parser/semantics/flatten_tree.rs:95:13
[INFO] [stdout]    |
[INFO] [stdout] 95 |         let q = expression.get_node_id();
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lhs`
[INFO] [stdout]   --> src/typing/type_validation.rs:55:39
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn check_assignment_to_mut(&self, lhs: &Expression, context: &SecondSemanticsPassContext) {
[INFO] [stdout]    |                                       ^^^ help: if this is intentional, prefix it with an underscore: `_lhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/typing/type_validation.rs:55:57
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn check_assignment_to_mut(&self, lhs: &Expression, context: &SecondSemanticsPassContext) {
[INFO] [stdout]    |                                                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scope_index`
[INFO] [stdout]    --> src/typing/type_validation.rs:608:19
[INFO] [stdout]     |
[INFO] [stdout] 608 |         let Some((scope_index, scope)) = context.name_scoping
[INFO] [stdout]     |                   ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scope_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `actual_node`
[INFO] [stdout]    --> src/typing/type_validation.rs:622:13
[INFO] [stdout]     |
[INFO] [stdout] 622 |         let actual_node = context.parser.ast_nodes.get(&reference_node_id).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actual_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `self_expr_scope_id`
[INFO] [stdout]    --> src/typing/type_validation.rs:919:13
[INFO] [stdout]     |
[INFO] [stdout] 919 |         let self_expr_scope_id = context.name_scoping
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_expr_scope_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/syntax/ast.rs:51:14
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let id = unsafe {
[INFO] [stdout]    |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/syntax/ast.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/syntax/ast.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 64 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/main.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let t = Test { field: 1};
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `errors`
[INFO] [stdout]   --> src/main.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let (_, errors, parser_results ) = parser.parse();
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `ScopeError` is more private than the item `ScopeTree::add_const`
[INFO] [stdout]    --> src/parser/semantics/name_scoping.rs:305:5
[INFO] [stdout]     |
[INFO] [stdout] 305 |     pub fn add_const(&mut self, scope_id: usize, const_variable: &ConstStatement) -> ScopeResult {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ScopeTree::add_const` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `ScopeError` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/parser/semantics/name_scoping.rs:241:1
[INFO] [stdout]     |
[INFO] [stdout] 241 | enum ScopeError {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `ScopeError` is more private than the item `ScopeTree::add_static`
[INFO] [stdout]    --> src/parser/semantics/name_scoping.rs:327:5
[INFO] [stdout]     |
[INFO] [stdout] 327 | /     pub fn add_static(
[INFO] [stdout] 328 | |         &mut self,
[INFO] [stdout] 329 | |         scope_id: usize,
[INFO] [stdout] 330 | |         static_variable: &StaticStatement
[INFO] [stdout] 331 | |     ) -> ScopeResult {
[INFO] [stdout]     | |____________________^ method `ScopeTree::add_static` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `ScopeError` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/parser/semantics/name_scoping.rs:241:1
[INFO] [stdout]     |
[INFO] [stdout] 241 | enum ScopeError {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/main.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn test() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Referenced` is never used
[INFO] [stdout]   --> src/main.rs:57:7
[INFO] [stdout]    |
[INFO] [stdout] 57 | trait Referenced<'a> {
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Testq` is never constructed
[INFO] [stdout]   --> src/main.rs:63:8
[INFO] [stdout]    |
[INFO] [stdout] 63 | struct Testq {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `q` is never used
[INFO] [stdout]   --> src/main.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn q() {
[INFO] [stdout]    |    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `transpiled_stack` and `transpile_stack_index` are never read
[INFO] [stdout]    --> src/compiler/c_transpiler.rs:99:5
[INFO] [stdout]     |
[INFO] [stdout]  98 | pub struct CTranspilerContext {
[INFO] [stdout]     |            ------------------ fields in this struct
[INFO] [stdout]  99 |     transpiled_stack: Vec<String>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 100 |     transpile_stack_index: Vec<usize>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CTranspilerContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `push_and_wrap`, `push_and_wrap_indent`, `push_and_indent`, and `push_all_wrapped` are never used
[INFO] [stdout]    --> src/compiler/c_transpiler.rs:176:12
[INFO] [stdout]     |
[INFO] [stdout] 120 | impl TranspileHelper {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 176 |     pub fn push_and_wrap(&mut self, value: &str) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     pub fn push_and_wrap_indent(&mut self, value: &str) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     pub fn push_and_indent(&mut self, value: &str) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub fn push_all_wrapped(&mut self, values: &[&str]) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `transpile_block` is never used
[INFO] [stdout]    --> src/compiler/c_transpiler.rs:267:8
[INFO] [stdout]     |
[INFO] [stdout] 266 | impl TranspilerPassContext {
[INFO] [stdout]     | -------------------------- method in this implementation
[INFO] [stdout] 267 |     fn transpile_block<T>(&mut self, block: T)
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `indent` is never read
[INFO] [stdout]    --> src/compiler/c_transpiler.rs:281:5
[INFO] [stdout]     |
[INFO] [stdout] 280 | pub struct CTranspilerSemantics {
[INFO] [stdout]     |            -------------------- field in this struct
[INFO] [stdout] 281 |     indent: usize,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/compiler/c_transpiler.rs:296:8
[INFO] [stdout]     |
[INFO] [stdout] 295 | impl CTranspilerSemantics {
[INFO] [stdout]     | ------------------------- methods in this implementation
[INFO] [stdout] 296 |     fn add_main_c_file(&self, context: &mut CTranspilerContext) {}
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 345 |     fn get_all_transpiled_statements(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 355 |     fn get_all_transpiled_exprs(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 366 |     fn try_get_transpiled<'a>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 380 |     fn try_get_transpiled_statement<'a>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 387 |     fn try_get_transpiled_expr<'a>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 393 |     fn transpile_typed_declaration(&self, typed_declaration: &TypedDeclaration) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 436 |     fn transpile_function(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 525 |     fn blank(&self) -> String {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_struct_type_from_name` is never used
[INFO] [stdout]    --> src/compiler/c_transpiler.rs:549:8
[INFO] [stdout]     |
[INFO] [stdout] 548 | impl TranspilerPassContext {
[INFO] [stdout]     | -------------------------- method in this implementation
[INFO] [stdout] 549 |     fn find_struct_type_from_name<T: AstNode>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `start_position` is never read
[INFO] [stdout]   --> src/parser/parser.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Parser {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 13 |     pub tokens: Vec<Token>,
[INFO] [stdout] 14 |     start_position: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `next_node_id`, `parse_panic`, and `block_expression` are never used
[INFO] [stdout]     --> src/parser/parser.rs:38:8
[INFO] [stdout]      |
[INFO] [stdout]   21 | impl Parser {
[INFO] [stdout]      | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]   38 |     fn next_node_id(&mut self) -> usize {
[INFO] [stdout]      |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  188 |     pub(crate) fn parse_panic(&mut self) -> Vec<Statement> {
[INFO] [stdout]      |                   ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1256 |     fn block_expression(&mut self) -> ParserResult<Expression> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `ast_node_index`, and `fields` are never read
[INFO] [stdout]   --> src/parser/semantics/name_scoping.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub struct StructDeclaration {
[INFO] [stdout]    |            ----------------- fields in this struct
[INFO] [stdout] 58 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 59 |     ast_node_index: AstNodeIndex,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 60 |     fields: HashMap<String, Type>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StructDeclaration` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `struct_node_index` and `impl_block_node_index` are never read
[INFO] [stdout]    --> src/parser/semantics/name_scoping.rs:529:5
[INFO] [stdout]     |
[INFO] [stdout] 527 | struct StructImplView {
[INFO] [stdout]     |        -------------- fields in this struct
[INFO] [stdout] 528 |     struct_name: String,
[INFO] [stdout] 529 |     struct_node_index: AstNodeIndex,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 530 |     struct_scope_index: usize,
[INFO] [stdout] 531 |     impl_block_node_index: AstNodeIndex,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `StructImplView` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `expression_scope_id`, `statement_scope_id`, and `expression_scope` are never used
[INFO] [stdout]   --> src/parser/semantics/scope_resolving.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl ScopeResolvingSemantics {
[INFO] [stdout]    | ---------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn expression_scope_id(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     fn statement_scope_id(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     fn expression_scope(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `assert_tree_eq` is never used
[INFO] [stdout]   --> src/parser/test_parser.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn assert_tree_eq(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `check_nodes_type_equality` is never used
[INFO] [stdout]   --> src/typing/type_validation.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl TypeValidationContext {
[INFO] [stdout]    | -------------------------- method in this implementation
[INFO] [stdout] 28 |     #[inline(always)]
[INFO] [stdout] 29 |     fn check_nodes_type_equality(&self, left: &AstNodeIndex, right: &AstNodeIndex) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `check_assignment_to_mut` is never used
[INFO] [stdout]   --> src/typing/type_validation.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | impl TypeValidationSemantics {
[INFO] [stdout]    | ---------------------------- method in this implementation
[INFO] [stdout] 55 |     fn check_assignment_to_mut(&self, lhs: &Expression, context: &SecondSemanticsPassContext) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `SizedTypedDeclaration` is never constructed
[INFO] [stdout]    --> src/syntax/ast.rs:403:12
[INFO] [stdout]     |
[INFO] [stdout] 403 | pub struct SizedTypedDeclaration {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]     = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `size` are never read
[INFO] [stdout]    --> src/syntax/ast.rs:405:5
[INFO] [stdout]     |
[INFO] [stdout] 403 | pub struct SizedTypedDeclaration {
[INFO] [stdout]     |            --------------------- fields in this struct
[INFO] [stdout] 404 |     node_id: AstNodeIndex,
[INFO] [stdout] 405 |     name: Token,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 406 |     declared_type: TypedDeclaration,
[INFO] [stdout] 407 |     size: usize,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/parser/parser.rs:236:21
[INFO] [stdout]     |
[INFO] [stdout] 236 |                     self.empty_statement();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 236 |                     let _ = self.empty_statement();
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/parser/semantics/name_scoping.rs:215:43
[INFO] [stdout]     |
[INFO] [stdout] 215 |             index.0 < self.array.len() && index.0 >= 0,
[INFO] [stdout]     |                                           ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `loom` (bin "loom") due to 1 previous error; 76 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/compiler/c_transpiler.rs:296:31
[INFO] [stdout]     |
[INFO] [stdout] 296 |     fn add_main_c_file(&self, context: &mut CTranspilerContext) {}
[INFO] [stdout]     |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prefix`
[INFO] [stdout]    --> src/compiler/c_transpiler.rs:437:41
[INFO] [stdout]     |
[INFO] [stdout] 437 |         &self, function: &ImplFunction, prefix: String,
[INFO] [stdout]     |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/compiler/c_transpiler.rs:918:13
[INFO] [stdout]     |
[INFO] [stdout] 918 |             context: &TranspilerPassContext
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `impl_prefix`
[INFO] [stdout]    --> src/compiler/c_transpiler.rs:989:17
[INFO] [stdout]     |
[INFO] [stdout] 989 |             let impl_prefix = impl_statement.implemented_type.literal.clone();
[INFO] [stdout]     |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_impl_prefix`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `define_block_name`
[INFO] [stdout]    --> src/compiler/c_transpiler.rs:979:13
[INFO] [stdout]     |
[INFO] [stdout] 979 |         let define_block_name = format!(
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_define_block_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]    --> src/parser/parser.rs:113:13
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let token = self.advance_skipping_comments();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parse_results`
[INFO] [stdout]    --> src/parser/parser.rs:191:29
[INFO] [stdout]     |
[INFO] [stdout] 191 |         let (result, error, parse_results) = self.parse();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parse_results`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pub_token`
[INFO] [stdout]    --> src/parser/parser.rs:307:13
[INFO] [stdout]     |
[INFO] [stdout] 307 |         let pub_token = match self.peek().cloned() {
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pub_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pub_token`
[INFO] [stdout]    --> src/parser/parser.rs:364:13
[INFO] [stdout]     |
[INFO] [stdout] 364 |         let pub_token = self.require(TokenType::Pub, "expected 'pub'")?;
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pub_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `else_token`
[INFO] [stdout]     --> src/parser/parser.rs:1081:38
[INFO] [stdout]      |
[INFO] [stdout] 1081 |         let else_block = if let Some(else_token) = self.match_current(
[INFO] [stdout]      |                                      ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_else_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]     --> src/parser/parser.rs:1407:54
[INFO] [stdout]      |
[INFO] [stdout] 1407 |         T::from_str(token.literal.as_str()).or_else(|err|
[INFO] [stdout]      |                                                      ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/parser/semantics/scope_resolving.rs:17:32
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn get_ast_node(&self, context: &SecondSemanticsPassContext, ast_node: AstNodeIndex) {
[INFO] [stdout]    |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ast_node`
[INFO] [stdout]   --> src/parser/semantics/scope_resolving.rs:17:70
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn get_ast_node(&self, context: &SecondSemanticsPassContext, ast_node: AstNodeIndex) {
[INFO] [stdout]    |                                                                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ast_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/parser/semantics/scope_resolving.rs:58:16
[INFO] [stdout]    |
[INFO] [stdout] 58 |         &self, context: &SecondSemanticsPassContext, expression: &Expression
[INFO] [stdout]    |                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expression`
[INFO] [stdout]   --> src/parser/semantics/scope_resolving.rs:58:54
[INFO] [stdout]    |
[INFO] [stdout] 58 |         &self, context: &SecondSemanticsPassContext, expression: &Expression
[INFO] [stdout]    |                                                      ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expression`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]   --> src/parser/semantics/flatten_tree.rs:95:13
[INFO] [stdout]    |
[INFO] [stdout] 95 |         let q = expression.get_node_id();
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lhs`
[INFO] [stdout]   --> src/typing/type_validation.rs:55:39
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn check_assignment_to_mut(&self, lhs: &Expression, context: &SecondSemanticsPassContext) {
[INFO] [stdout]    |                                       ^^^ help: if this is intentional, prefix it with an underscore: `_lhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/typing/type_validation.rs:55:57
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn check_assignment_to_mut(&self, lhs: &Expression, context: &SecondSemanticsPassContext) {
[INFO] [stdout]    |                                                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scope_index`
[INFO] [stdout]    --> src/typing/type_validation.rs:608:19
[INFO] [stdout]     |
[INFO] [stdout] 608 |         let Some((scope_index, scope)) = context.name_scoping
[INFO] [stdout]     |                   ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scope_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `actual_node`
[INFO] [stdout]    --> src/typing/type_validation.rs:622:13
[INFO] [stdout]     |
[INFO] [stdout] 622 |         let actual_node = context.parser.ast_nodes.get(&reference_node_id).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actual_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `self_expr_scope_id`
[INFO] [stdout]    --> src/typing/type_validation.rs:919:13
[INFO] [stdout]     |
[INFO] [stdout] 919 |         let self_expr_scope_id = context.name_scoping
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_expr_scope_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/syntax/ast.rs:51:14
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let id = unsafe {
[INFO] [stdout]    |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/syntax/ast.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/syntax/ast.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 64 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/main.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let t = Test { field: 1};
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `errors`
[INFO] [stdout]   --> src/main.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let (_, errors, parser_results ) = parser.parse();
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `ScopeError` is more private than the item `ScopeTree::add_const`
[INFO] [stdout]    --> src/parser/semantics/name_scoping.rs:305:5
[INFO] [stdout]     |
[INFO] [stdout] 305 |     pub fn add_const(&mut self, scope_id: usize, const_variable: &ConstStatement) -> ScopeResult {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ScopeTree::add_const` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `ScopeError` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/parser/semantics/name_scoping.rs:241:1
[INFO] [stdout]     |
[INFO] [stdout] 241 | enum ScopeError {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `ScopeError` is more private than the item `ScopeTree::add_static`
[INFO] [stdout]    --> src/parser/semantics/name_scoping.rs:327:5
[INFO] [stdout]     |
[INFO] [stdout] 327 | /     pub fn add_static(
[INFO] [stdout] 328 | |         &mut self,
[INFO] [stdout] 329 | |         scope_id: usize,
[INFO] [stdout] 330 | |         static_variable: &StaticStatement
[INFO] [stdout] 331 | |     ) -> ScopeResult {
[INFO] [stdout]     | |____________________^ method `ScopeTree::add_static` is reachable at visibility `pub`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `ScopeError` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/parser/semantics/name_scoping.rs:241:1
[INFO] [stdout]     |
[INFO] [stdout] 241 | enum ScopeError {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/main.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn test() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Referenced` is never used
[INFO] [stdout]   --> src/main.rs:57:7
[INFO] [stdout]    |
[INFO] [stdout] 57 | trait Referenced<'a> {
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Testq` is never constructed
[INFO] [stdout]   --> src/main.rs:63:8
[INFO] [stdout]    |
[INFO] [stdout] 63 | struct Testq {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `q` is never used
[INFO] [stdout]   --> src/main.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn q() {
[INFO] [stdout]    |    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `transpiled_stack` and `transpile_stack_index` are never read
[INFO] [stdout]    --> src/compiler/c_transpiler.rs:99:5
[INFO] [stdout]     |
[INFO] [stdout]  98 | pub struct CTranspilerContext {
[INFO] [stdout]     |            ------------------ fields in this struct
[INFO] [stdout]  99 |     transpiled_stack: Vec<String>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 100 |     transpile_stack_index: Vec<usize>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CTranspilerContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `push_and_wrap`, `push_and_wrap_indent`, `push_and_indent`, and `push_all_wrapped` are never used
[INFO] [stdout]    --> src/compiler/c_transpiler.rs:176:12
[INFO] [stdout]     |
[INFO] [stdout] 120 | impl TranspileHelper {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 176 |     pub fn push_and_wrap(&mut self, value: &str) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     pub fn push_and_wrap_indent(&mut self, value: &str) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     pub fn push_and_indent(&mut self, value: &str) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub fn push_all_wrapped(&mut self, values: &[&str]) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `transpile_block` is never used
[INFO] [stdout]    --> src/compiler/c_transpiler.rs:267:8
[INFO] [stdout]     |
[INFO] [stdout] 266 | impl TranspilerPassContext {
[INFO] [stdout]     | -------------------------- method in this implementation
[INFO] [stdout] 267 |     fn transpile_block<T>(&mut self, block: T)
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `indent` is never read
[INFO] [stdout]    --> src/compiler/c_transpiler.rs:281:5
[INFO] [stdout]     |
[INFO] [stdout] 280 | pub struct CTranspilerSemantics {
[INFO] [stdout]     |            -------------------- field in this struct
[INFO] [stdout] 281 |     indent: usize,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/compiler/c_transpiler.rs:296:8
[INFO] [stdout]     |
[INFO] [stdout] 295 | impl CTranspilerSemantics {
[INFO] [stdout]     | ------------------------- methods in this implementation
[INFO] [stdout] 296 |     fn add_main_c_file(&self, context: &mut CTranspilerContext) {}
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 345 |     fn get_all_transpiled_statements(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 355 |     fn get_all_transpiled_exprs(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 366 |     fn try_get_transpiled<'a>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 380 |     fn try_get_transpiled_statement<'a>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 387 |     fn try_get_transpiled_expr<'a>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 393 |     fn transpile_typed_declaration(&self, typed_declaration: &TypedDeclaration) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 436 |     fn transpile_function(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 525 |     fn blank(&self) -> String {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `find_struct_type_from_name` is never used
[INFO] [stdout]    --> src/compiler/c_transpiler.rs:549:8
[INFO] [stdout]     |
[INFO] [stdout] 548 | impl TranspilerPassContext {
[INFO] [stdout]     | -------------------------- method in this implementation
[INFO] [stdout] 549 |     fn find_struct_type_from_name<T: AstNode>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `start_position` is never read
[INFO] [stdout]   --> src/parser/parser.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Parser {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 13 |     pub tokens: Vec<Token>,
[INFO] [stdout] 14 |     start_position: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `next_node_id` and `block_expression` are never used
[INFO] [stdout]     --> src/parser/parser.rs:38:8
[INFO] [stdout]      |
[INFO] [stdout]   21 | impl Parser {
[INFO] [stdout]      | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]   38 |     fn next_node_id(&mut self) -> usize {
[INFO] [stdout]      |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1256 |     fn block_expression(&mut self) -> ParserResult<Expression> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `ast_node_index`, and `fields` are never read
[INFO] [stdout]   --> src/parser/semantics/name_scoping.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub struct StructDeclaration {
[INFO] [stdout]    |            ----------------- fields in this struct
[INFO] [stdout] 58 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 59 |     ast_node_index: AstNodeIndex,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 60 |     fields: HashMap<String, Type>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `StructDeclaration` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `struct_node_index` and `impl_block_node_index` are never read
[INFO] [stdout]    --> src/parser/semantics/name_scoping.rs:529:5
[INFO] [stdout]     |
[INFO] [stdout] 527 | struct StructImplView {
[INFO] [stdout]     |        -------------- fields in this struct
[INFO] [stdout] 528 |     struct_name: String,
[INFO] [stdout] 529 |     struct_node_index: AstNodeIndex,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 530 |     struct_scope_index: usize,
[INFO] [stdout] 531 |     impl_block_node_index: AstNodeIndex,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `StructImplView` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `expression_scope_id`, `statement_scope_id`, and `expression_scope` are never used
[INFO] [stdout]   --> src/parser/semantics/scope_resolving.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl ScopeResolvingSemantics {
[INFO] [stdout]    | ---------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn expression_scope_id(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     fn statement_scope_id(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     fn expression_scope(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `check_nodes_type_equality` is never used
[INFO] [stdout]   --> src/typing/type_validation.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl TypeValidationContext {
[INFO] [stdout]    | -------------------------- method in this implementation
[INFO] [stdout] 28 |     #[inline(always)]
[INFO] [stdout] 29 |     fn check_nodes_type_equality(&self, left: &AstNodeIndex, right: &AstNodeIndex) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `check_assignment_to_mut` is never used
[INFO] [stdout]   --> src/typing/type_validation.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | impl TypeValidationSemantics {
[INFO] [stdout]    | ---------------------------- method in this implementation
[INFO] [stdout] 55 |     fn check_assignment_to_mut(&self, lhs: &Expression, context: &SecondSemanticsPassContext) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `SizedTypedDeclaration` is never constructed
[INFO] [stdout]    --> src/syntax/ast.rs:403:12
[INFO] [stdout]     |
[INFO] [stdout] 403 | pub struct SizedTypedDeclaration {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]     = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `size` are never read
[INFO] [stdout]    --> src/syntax/ast.rs:405:5
[INFO] [stdout]     |
[INFO] [stdout] 403 | pub struct SizedTypedDeclaration {
[INFO] [stdout]     |            --------------------- fields in this struct
[INFO] [stdout] 404 |     node_id: AstNodeIndex,
[INFO] [stdout] 405 |     name: Token,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 406 |     declared_type: TypedDeclaration,
[INFO] [stdout] 407 |     size: usize,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/parser/parser.rs:236:21
[INFO] [stdout]     |
[INFO] [stdout] 236 |                     self.empty_statement();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 236 |                     let _ = self.empty_statement();
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/parser/semantics/name_scoping.rs:215:43
[INFO] [stdout]     |
[INFO] [stdout] 215 |             index.0 < self.array.len() && index.0 >= 0,
[INFO] [stdout]     |                                           ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `loom` (bin "loom" test) due to 1 previous error; 68 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b3a6936dcc7c75a5581eecab4adf972e0deda37f95cace97ab6e2d164e1c50b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b3a6936dcc7c75a5581eecab4adf972e0deda37f95cace97ab6e2d164e1c50b5", kill_on_drop: false }`
[INFO] [stdout] b3a6936dcc7c75a5581eecab4adf972e0deda37f95cace97ab6e2d164e1c50b5
