[INFO] cloning repository https://github.com/Ometeor-Zheero-OMZ/ota [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ometeor-Zheero-OMZ/ota" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOmeteor-Zheero-OMZ%2Fota", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOmeteor-Zheero-OMZ%2Fota'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e497b6730fead60bad2c1f4338846b999aa8e3e7 [INFO] checking Ometeor-Zheero-OMZ/ota against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOmeteor-Zheero-OMZ%2Fota" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Ometeor-Zheero-OMZ/ota [INFO] finished tweaking git repo https://github.com/Ometeor-Zheero-OMZ/ota [INFO] tweaked toml for git repo https://github.com/Ometeor-Zheero-OMZ/ota written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ometeor-Zheero-OMZ/ota on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Ometeor-Zheero-OMZ/ota 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 626772e57e638e577d9d14007e07b3619ca7a6d66650754f4d522e65c8338a8d [INFO] running `Command { std: "docker" "start" "-a" "626772e57e638e577d9d14007e07b3619ca7a6d66650754f4d522e65c8338a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "626772e57e638e577d9d14007e07b3619ca7a6d66650754f4d522e65c8338a8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "626772e57e638e577d9d14007e07b3619ca7a6d66650754f4d522e65c8338a8d", kill_on_drop: false }` [INFO] [stdout] 626772e57e638e577d9d14007e07b3619ca7a6d66650754f4d522e65c8338a8d [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56e7b945140acf5e749c50074b7a230bf9cb9b2d0e4afae6641ae24aab17078c [INFO] running `Command { std: "docker" "start" "-a" "56e7b945140acf5e749c50074b7a230bf9cb9b2d0e4afae6641ae24aab17078c", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking fd-lock v4.0.4 [INFO] [stderr] Checking rustyline v15.0.0 [INFO] [stderr] Checking ota-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `expressions::*` [INFO] [stdout] --> src/compiler/ast/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use expressions::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/compiler/ast/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `patterns::*` [INFO] [stdout] --> src/compiler/ast/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use patterns::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `memory::*` [INFO] [stdout] --> src/compiler/ast/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use memory::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::*` [INFO] [stdout] --> src/compiler/ast/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use common::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `expressions::*` [INFO] [stdout] --> src/compiler/ast/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use expressions::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/compiler/ast/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `patterns::*` [INFO] [stdout] --> src/compiler/ast/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use patterns::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `memory::*` [INFO] [stdout] --> src/compiler/ast/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use memory::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::*` [INFO] [stdout] --> src/compiler/ast/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use common::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ast` is never constructed [INFO] [stdout] --> src/compiler/ast/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Ast { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Ast { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 25 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expression` is never used [INFO] [stdout] --> src/compiler/ast/expressions.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnaryExpression` is never constructed [INFO] [stdout] --> src/compiler/ast/expressions.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct UnaryExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/expressions.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl UnaryExpression { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 48 | pub fn new(operator: String, right: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateExpression` is never constructed [INFO] [stdout] --> src/compiler/ast/expressions.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct UpdateExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/expressions.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl UpdateExpression { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 60 | pub fn new(operator: String, target_var_name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinaryExpression` is never constructed [INFO] [stdout] --> src/compiler/ast/expressions.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct BinaryExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/expressions.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl BinaryExpression { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 73 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionExpression` is never constructed [INFO] [stdout] --> src/compiler/ast/expressions.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct FunctionExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/expressions.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl FunctionExpression { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 90 | pub fn new(parameters: Vec, body: BlockStatement, lifetimes: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionParameter` is never constructed [INFO] [stdout] --> src/compiler/ast/expressions.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct FunctionParameter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/expressions.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl FunctionParameter { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 102 | pub fn new(name: String, default: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CallExpression` is never constructed [INFO] [stdout] --> src/compiler/ast/expressions.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct CallExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/expressions.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl CallExpression { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 114 | pub fn new(callee: Box, arguments: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObjectExpression` is never constructed [INFO] [stdout] --> src/compiler/ast/expressions.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct ObjectExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/expressions.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl ObjectExpression { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 125 | pub fn new(properties: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObjectProperty` is never constructed [INFO] [stdout] --> src/compiler/ast/expressions.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct ObjectProperty { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/expressions.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 136 | impl ObjectProperty { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 137 | pub fn new(key: String, val: Expression) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemberExpression` is never constructed [INFO] [stdout] --> src/compiler/ast/expressions.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct MemberExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/expressions.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 148 | impl MemberExpression { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 149 | pub fn new(object: Box, property: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArrayExpression` is never constructed [INFO] [stdout] --> src/compiler/ast/expressions.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct ArrayExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/expressions.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 159 | impl ArrayExpression { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 160 | pub fn new(elements: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Statement` is never used [INFO] [stdout] --> src/compiler/ast/statements.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Statement { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ForInit` is never used [INFO] [stdout] --> src/compiler/ast/statements.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum ForInit { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LetStatement` is never constructed [INFO] [stdout] --> src/compiler/ast/statements.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct LetStatement { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/statements.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl LetStatement { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 40 | pub fn new(name: String, val: Expression) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConstStatement` is never constructed [INFO] [stdout] --> src/compiler/ast/statements.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct ConstStatement { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/statements.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl ConstStatement { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 52 | pub fn new(name: String, val: Expression) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockStatement` is never constructed [INFO] [stdout] --> src/compiler/ast/statements.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct BlockStatement { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/statements.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl BlockStatement { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 63 | pub fn new(statement: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IfStatement` is never constructed [INFO] [stdout] --> src/compiler/ast/statements.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct IfStatement { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/statements.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl IfStatement { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 76 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SwitchStatement` is never constructed [INFO] [stdout] --> src/compiler/ast/statements.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct SwitchStatement { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/statements.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl SwitchStatement { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 96 | pub fn new(discriminant: Expression, cases: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SwitchCase` is never constructed [INFO] [stdout] --> src/compiler/ast/statements.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct SwitchCase { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/statements.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl SwitchCase { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 108 | pub fn new(test: Option, consequent: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ForStatement` is never constructed [INFO] [stdout] --> src/compiler/ast/statements.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct ForStatement { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/statements.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl ForStatement { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 122 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WhileStatement` is never constructed [INFO] [stdout] --> src/compiler/ast/statements.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct WhileStatement { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/statements.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 138 | impl WhileStatement { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 139 | pub fn new(condition: Expression, body: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MatchStatement` is never constructed [INFO] [stdout] --> src/compiler/ast/statements.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct MatchStatement { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/statements.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 150 | impl MatchStatement { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 151 | pub fn new(value: Expression, arms: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Precedence` is never used [INFO] [stdout] --> src/compiler/ast/precedence.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Precedence { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Mutability` is never used [INFO] [stdout] --> src/compiler/ast/types.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Mutability { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Type` is never used [INFO] [stdout] --> src/compiler/ast/types.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MatchArm` is never constructed [INFO] [stdout] --> src/compiler/ast/patterns.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MatchArm { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/patterns.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl MatchArm { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(pattern: Pattern, guard: Option, body: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Pattern` is never used [INFO] [stdout] --> src/compiler/ast/patterns.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Pattern { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DestructurePattern` is never constructed [INFO] [stdout] --> src/compiler/ast/patterns.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct DestructurePattern { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DestructureKind` is never used [INFO] [stdout] --> src/compiler/ast/patterns.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum DestructureKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UseStatement` is never constructed [INFO] [stdout] --> src/compiler/ast/declarations.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct UseStatement { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/declarations.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl UseStatement { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(path: Vec, alias: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModuleDeclaration` is never constructed [INFO] [stdout] --> src/compiler/ast/declarations.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ModuleDeclaration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/declarations.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl ModuleDeclaration { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(name: String, statements: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StructDeclaration` is never constructed [INFO] [stdout] --> src/compiler/ast/declarations.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct StructDeclaration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/declarations.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl StructDeclaration { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 38 | pub fn new(name: String, fields: Vec, methods: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StructField` is never constructed [INFO] [stdout] --> src/compiler/ast/declarations.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct StructField { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/declarations.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl StructField { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 51 | pub fn new(name: String, type_: Type, visibility: Visibility) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MethodDeclaration` is never constructed [INFO] [stdout] --> src/compiler/ast/declarations.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct MethodDeclaration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/declarations.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl MethodDeclaration { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 66 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnumDeclaration` is never constructed [INFO] [stdout] --> src/compiler/ast/declarations.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct EnumDeclaration { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/declarations.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl EnumDeclaration { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 85 | pub fn new(name: String, variants: Vec, methods: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnumVariant` is never constructed [INFO] [stdout] --> src/compiler/ast/declarations.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct EnumVariant { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/declarations.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl EnumVariant { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 97 | pub fn new(name: String, fields: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EnumVariantFields` is never used [INFO] [stdout] --> src/compiler/ast/declarations.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | pub enum EnumVariantFields { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TraitDeclaration` is never constructed [INFO] [stdout] --> src/compiler/ast/declarations.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct TraitDeclaration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/declarations.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl TraitDeclaration { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 115 | pub fn new(name: String, method_signatures: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MethodSignature` is never constructed [INFO] [stdout] --> src/compiler/ast/declarations.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct MethodSignature { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/declarations.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 128 | impl MethodSignature { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 129 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TraitImplementation` is never constructed [INFO] [stdout] --> src/compiler/ast/declarations.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct TraitImplementation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/declarations.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 146 | impl TraitImplementation { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 147 | pub fn new(trait_name: String, for_type: Type, methods: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AllocateExpression` is never constructed [INFO] [stdout] --> src/compiler/ast/memory.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AllocateExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/memory.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl AllocateExpression { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(type_: Type, size: Option>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CastExpression` is never constructed [INFO] [stdout] --> src/compiler/ast/memory.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct CastExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/memory.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl CastExpression { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 23 | pub fn new(expression: Box, target_type: Type) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Visibility` is never used [INFO] [stdout] --> src/compiler/ast/common.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Visibility { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lifetime` is never constructed [INFO] [stdout] --> src/compiler/ast/common.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Lifetime { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/common.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Lifetime { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Token` is never constructed [INFO] [stdout] --> src/compiler/lexer/token.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TokenType` is never used [INFO] [stdout] --> src/compiler/lexer/token.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum TokenType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_precedence` are never used [INFO] [stdout] --> src/compiler/lexer/token.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 135 | impl Token { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 136 | pub fn new(token_type: TokenType, literal: String, line: usize, column: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn get_precedence(&self) -> Precedence { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lookup_ident` is never used [INFO] [stdout] --> src/compiler/lexer/token.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn lookup_ident(ident: &str) -> TokenType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ast` is never constructed [INFO] [stdout] --> src/compiler/ast/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Ast { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Ast { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 25 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expression` is never used [INFO] [stdout] --> src/compiler/ast/expressions.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnaryExpression` is never constructed [INFO] [stdout] --> src/compiler/ast/expressions.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct UnaryExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/expressions.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl UnaryExpression { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 48 | pub fn new(operator: String, right: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateExpression` is never constructed [INFO] [stdout] --> src/compiler/ast/expressions.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct UpdateExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/expressions.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl UpdateExpression { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 60 | pub fn new(operator: String, target_var_name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinaryExpression` is never constructed [INFO] [stdout] --> src/compiler/ast/expressions.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct BinaryExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/expressions.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl BinaryExpression { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 73 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionExpression` is never constructed [INFO] [stdout] --> src/compiler/ast/expressions.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct FunctionExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/expressions.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl FunctionExpression { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 90 | pub fn new(parameters: Vec, body: BlockStatement, lifetimes: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionParameter` is never constructed [INFO] [stdout] --> src/compiler/ast/expressions.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct FunctionParameter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/expressions.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl FunctionParameter { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 102 | pub fn new(name: String, default: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CallExpression` is never constructed [INFO] [stdout] --> src/compiler/ast/expressions.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct CallExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/expressions.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl CallExpression { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 114 | pub fn new(callee: Box, arguments: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObjectExpression` is never constructed [INFO] [stdout] --> src/compiler/ast/expressions.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct ObjectExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/expressions.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl ObjectExpression { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 125 | pub fn new(properties: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObjectProperty` is never constructed [INFO] [stdout] --> src/compiler/ast/expressions.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct ObjectProperty { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/expressions.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 136 | impl ObjectProperty { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 137 | pub fn new(key: String, val: Expression) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MemberExpression` is never constructed [INFO] [stdout] --> src/compiler/ast/expressions.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct MemberExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/expressions.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 148 | impl MemberExpression { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 149 | pub fn new(object: Box, property: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArrayExpression` is never constructed [INFO] [stdout] --> src/compiler/ast/expressions.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct ArrayExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/expressions.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 159 | impl ArrayExpression { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 160 | pub fn new(elements: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Statement` is never used [INFO] [stdout] --> src/compiler/ast/statements.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Statement { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ForInit` is never used [INFO] [stdout] --> src/compiler/ast/statements.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum ForInit { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LetStatement` is never constructed [INFO] [stdout] --> src/compiler/ast/statements.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct LetStatement { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/statements.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl LetStatement { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 40 | pub fn new(name: String, val: Expression) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConstStatement` is never constructed [INFO] [stdout] --> src/compiler/ast/statements.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct ConstStatement { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/statements.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl ConstStatement { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 52 | pub fn new(name: String, val: Expression) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockStatement` is never constructed [INFO] [stdout] --> src/compiler/ast/statements.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct BlockStatement { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/statements.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl BlockStatement { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 63 | pub fn new(statement: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IfStatement` is never constructed [INFO] [stdout] --> src/compiler/ast/statements.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct IfStatement { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/statements.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl IfStatement { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 76 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SwitchStatement` is never constructed [INFO] [stdout] --> src/compiler/ast/statements.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct SwitchStatement { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/statements.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl SwitchStatement { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 96 | pub fn new(discriminant: Expression, cases: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SwitchCase` is never constructed [INFO] [stdout] --> src/compiler/ast/statements.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct SwitchCase { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/statements.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl SwitchCase { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 108 | pub fn new(test: Option, consequent: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ForStatement` is never constructed [INFO] [stdout] --> src/compiler/ast/statements.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct ForStatement { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/statements.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl ForStatement { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 122 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WhileStatement` is never constructed [INFO] [stdout] --> src/compiler/ast/statements.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct WhileStatement { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/statements.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 138 | impl WhileStatement { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 139 | pub fn new(condition: Expression, body: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MatchStatement` is never constructed [INFO] [stdout] --> src/compiler/ast/statements.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct MatchStatement { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/statements.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 150 | impl MatchStatement { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 151 | pub fn new(value: Expression, arms: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Precedence` is never used [INFO] [stdout] --> src/compiler/ast/precedence.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Precedence { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Mutability` is never used [INFO] [stdout] --> src/compiler/ast/types.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Mutability { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Type` is never used [INFO] [stdout] --> src/compiler/ast/types.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MatchArm` is never constructed [INFO] [stdout] --> src/compiler/ast/patterns.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MatchArm { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/patterns.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl MatchArm { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(pattern: Pattern, guard: Option, body: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Pattern` is never used [INFO] [stdout] --> src/compiler/ast/patterns.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Pattern { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DestructurePattern` is never constructed [INFO] [stdout] --> src/compiler/ast/patterns.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct DestructurePattern { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DestructureKind` is never used [INFO] [stdout] --> src/compiler/ast/patterns.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum DestructureKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UseStatement` is never constructed [INFO] [stdout] --> src/compiler/ast/declarations.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct UseStatement { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/declarations.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl UseStatement { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(path: Vec, alias: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModuleDeclaration` is never constructed [INFO] [stdout] --> src/compiler/ast/declarations.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ModuleDeclaration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/declarations.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl ModuleDeclaration { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(name: String, statements: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StructDeclaration` is never constructed [INFO] [stdout] --> src/compiler/ast/declarations.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct StructDeclaration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/declarations.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl StructDeclaration { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 38 | pub fn new(name: String, fields: Vec, methods: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StructField` is never constructed [INFO] [stdout] --> src/compiler/ast/declarations.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct StructField { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/declarations.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl StructField { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 51 | pub fn new(name: String, type_: Type, visibility: Visibility) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MethodDeclaration` is never constructed [INFO] [stdout] --> src/compiler/ast/declarations.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct MethodDeclaration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/declarations.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl MethodDeclaration { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 66 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnumDeclaration` is never constructed [INFO] [stdout] --> src/compiler/ast/declarations.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct EnumDeclaration { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/declarations.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 84 | impl EnumDeclaration { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 85 | pub fn new(name: String, variants: Vec, methods: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnumVariant` is never constructed [INFO] [stdout] --> src/compiler/ast/declarations.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct EnumVariant { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/declarations.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl EnumVariant { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 97 | pub fn new(name: String, fields: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EnumVariantFields` is never used [INFO] [stdout] --> src/compiler/ast/declarations.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | pub enum EnumVariantFields { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TraitDeclaration` is never constructed [INFO] [stdout] --> src/compiler/ast/declarations.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct TraitDeclaration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/declarations.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl TraitDeclaration { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 115 | pub fn new(name: String, method_signatures: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MethodSignature` is never constructed [INFO] [stdout] --> src/compiler/ast/declarations.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct MethodSignature { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/declarations.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 128 | impl MethodSignature { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 129 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TraitImplementation` is never constructed [INFO] [stdout] --> src/compiler/ast/declarations.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct TraitImplementation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/declarations.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 146 | impl TraitImplementation { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 147 | pub fn new(trait_name: String, for_type: Type, methods: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AllocateExpression` is never constructed [INFO] [stdout] --> src/compiler/ast/memory.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AllocateExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/memory.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl AllocateExpression { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(type_: Type, size: Option>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CastExpression` is never constructed [INFO] [stdout] --> src/compiler/ast/memory.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct CastExpression { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/memory.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl CastExpression { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 23 | pub fn new(expression: Box, target_type: Type) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Visibility` is never used [INFO] [stdout] --> src/compiler/ast/common.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Visibility { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lifetime` is never constructed [INFO] [stdout] --> src/compiler/ast/common.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Lifetime { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/ast/common.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Lifetime { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Token` is never constructed [INFO] [stdout] --> src/compiler/lexer/token.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TokenType` is never used [INFO] [stdout] --> src/compiler/lexer/token.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum TokenType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_precedence` are never used [INFO] [stdout] --> src/compiler/lexer/token.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 135 | impl Token { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 136 | pub fn new(token_type: TokenType, literal: String, line: usize, column: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn get_precedence(&self) -> Precedence { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lookup_ident` is never used [INFO] [stdout] --> src/compiler/lexer/token.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn lookup_ident(ident: &str) -> TokenType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 7.81s [INFO] running `Command { std: "docker" "inspect" "56e7b945140acf5e749c50074b7a230bf9cb9b2d0e4afae6641ae24aab17078c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56e7b945140acf5e749c50074b7a230bf9cb9b2d0e4afae6641ae24aab17078c", kill_on_drop: false }` [INFO] [stdout] 56e7b945140acf5e749c50074b7a230bf9cb9b2d0e4afae6641ae24aab17078c