[INFO] cloning repository https://github.com/fetttttjoe/Compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fetttttjoe/Compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffetttttjoe%2FCompiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffetttttjoe%2FCompiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa49511dccbec08da4030d62bb9c9325eeec7b72 [INFO] checking fetttttjoe/Compiler against try#0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9 for pr-147185 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffetttttjoe%2FCompiler" "/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/fetttttjoe/Compiler [INFO] finished tweaking git repo https://github.com/fetttttjoe/Compiler [INFO] tweaked toml for git repo https://github.com/fetttttjoe/Compiler written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fetttttjoe/Compiler on toolchain 0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fetttttjoe/Compiler 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" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking fetttttjoe/Compiler against try#0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9 for pr-147185 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffetttttjoe%2FCompiler" "/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/fetttttjoe/Compiler [INFO] finished tweaking git repo https://github.com/fetttttjoe/Compiler [INFO] tweaked toml for git repo https://github.com/fetttttjoe/Compiler written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fetttttjoe/Compiler on toolchain 0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fetttttjoe/Compiler 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" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3984cf5a1e30720ac9909d9c604240735a219fc9d4c30a5b4f7b406da9480cd [INFO] running `Command { std: "docker" "start" "-a" "d3984cf5a1e30720ac9909d9c604240735a219fc9d4c30a5b4f7b406da9480cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3984cf5a1e30720ac9909d9c604240735a219fc9d4c30a5b4f7b406da9480cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3984cf5a1e30720ac9909d9c604240735a219fc9d4c30a5b4f7b406da9480cd", kill_on_drop: false }` [INFO] [stdout] d3984cf5a1e30720ac9909d9c604240735a219fc9d4c30a5b4f7b406da9480cd [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c2383afad550288adb5f294a9f6a7b314fe041887dd305d21315df5f0634501 [INFO] running `Command { std: "docker" "start" "-a" "3c2383afad550288adb5f294a9f6a7b314fe041887dd305d21315df5f0634501", kill_on_drop: false }` [INFO] [stderr] Checking Compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `AssignmentNode` is more private than the item `StatementNode::Assignment::0` [INFO] [stdout] --> src/ast.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | Assignment(AssignmentNode), [INFO] [stdout] | ^^^^^^^^^^^^^^ field `StatementNode::Assignment::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `AssignmentNode` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/ast.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | struct AssignmentNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | Struct(StructNode), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AstNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 - Struct(StructNode), [INFO] [stdout] 6 + Struct(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | Function(FunctionNode), [INFO] [stdout] | -------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AstNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - Function(FunctionNode), [INFO] [stdout] 7 + Function(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AssignmentNode` is more private than the item `StatementNode::Assignment::0` [INFO] [stdout] --> src/ast.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | Assignment(AssignmentNode), [INFO] [stdout] | ^^^^^^^^^^^^^^ field `StatementNode::Assignment::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `AssignmentNode` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/ast.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | struct AssignmentNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | MainFunction(MainFunctionNode), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AstNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - MainFunction(MainFunctionNode), [INFO] [stdout] 8 + MainFunction(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `fields` are never read [INFO] [stdout] --> src/ast.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct StructNode { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 14 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | pub fields: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `data_type` are never read [INFO] [stdout] --> src/ast.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct FieldNode { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 20 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | pub data_type: TypeNode, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `parameters`, `return_type`, and `body` are never read [INFO] [stdout] --> src/ast.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct FunctionNode { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 26 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | pub parameters: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | pub return_type: TypeNode, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | Struct(StructNode), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AstNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 - Struct(StructNode), [INFO] [stdout] 6 + Struct(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `function` is never read [INFO] [stdout] --> src/ast.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct MainFunctionNode { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 33 | pub function: FunctionNode, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MainFunctionNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | Function(FunctionNode), [INFO] [stdout] | -------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AstNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - Function(FunctionNode), [INFO] [stdout] 7 + Function(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `data_type` are never read [INFO] [stdout] --> src/ast.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ParameterNode { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 38 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | pub data_type: TypeNode, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParameterNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | Assignment(AssignmentNode), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StatementNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 51 - Assignment(AssignmentNode), [INFO] [stdout] 51 + Assignment(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | MainFunction(MainFunctionNode), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AstNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - MainFunction(MainFunctionNode), [INFO] [stdout] 8 + MainFunction(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | NeedsToBeImplemented(String), [INFO] [stdout] | -------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StatementNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 53 - NeedsToBeImplemented(String), [INFO] [stdout] 53 + NeedsToBeImplemented(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `fields` are never read [INFO] [stdout] --> src/ast.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct StructNode { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 14 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | pub fields: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `variable` and `expressions` are never read [INFO] [stdout] --> src/ast.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | struct AssignmentNode { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 58 | pub variable: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 59 | pub expressions: Vec, // You can replace this with your actual expression node [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssignmentNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `data_type` are never read [INFO] [stdout] --> src/ast.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct FieldNode { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 20 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | pub data_type: TypeNode, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token` and `precedence` are never read [INFO] [stdout] --> src/ast.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | struct Expression { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 63 | token: lexer::Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 64 | precedence: Precedence, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `parameters`, `return_type`, and `body` are never read [INFO] [stdout] --> src/ast.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct FunctionNode { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 26 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | pub parameters: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | pub return_type: TypeNode, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/ast.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 68 | enum Precedence { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 69 | Lowest, [INFO] [stdout] 70 | Assignment, // Lowest precedence [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 71 | Conditional, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | Prefix, // Unary prefix operators [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 75 | Postfix, // Unary postfix operators [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 76 | Call, // Function/method call [INFO] [stdout] | ^^^^ [INFO] [stdout] 77 | Index, // Array/slice indexing [INFO] [stdout] | ^^^^^ [INFO] [stdout] 78 | Braces, // Parentheses (highest precedence) [INFO] [stdout] 79 | Highest, // Highest precedence [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Precedence` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `function` is never read [INFO] [stdout] --> src/ast.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct MainFunctionNode { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 33 | pub function: FunctionNode, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MainFunctionNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `data_type` are never read [INFO] [stdout] --> src/ast.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ParameterNode { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 38 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | pub data_type: TypeNode, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParameterNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | Assignment(AssignmentNode), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StatementNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 51 - Assignment(AssignmentNode), [INFO] [stdout] 51 + Assignment(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | NeedsToBeImplemented(String), [INFO] [stdout] | -------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `StatementNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 53 - NeedsToBeImplemented(String), [INFO] [stdout] 53 + NeedsToBeImplemented(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `variable` and `expressions` are never read [INFO] [stdout] --> src/ast.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | struct AssignmentNode { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 58 | pub variable: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 59 | pub expressions: Vec, // You can replace this with your actual expression node [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssignmentNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token` and `precedence` are never read [INFO] [stdout] --> src/ast.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | struct Expression { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 63 | token: lexer::Token, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 64 | precedence: Precedence, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/ast.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 68 | enum Precedence { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 69 | Lowest, [INFO] [stdout] 70 | Assignment, // Lowest precedence [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 71 | Conditional, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | Prefix, // Unary prefix operators [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 75 | Postfix, // Unary postfix operators [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 76 | Call, // Function/method call [INFO] [stdout] | ^^^^ [INFO] [stdout] 77 | Index, // Array/slice indexing [INFO] [stdout] | ^^^^^ [INFO] [stdout] 78 | Braces, // Parentheses (highest precedence) [INFO] [stdout] 79 | Highest, // Highest precedence [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Precedence` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "3c2383afad550288adb5f294a9f6a7b314fe041887dd305d21315df5f0634501", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c2383afad550288adb5f294a9f6a7b314fe041887dd305d21315df5f0634501", kill_on_drop: false }` [INFO] [stdout] 3c2383afad550288adb5f294a9f6a7b314fe041887dd305d21315df5f0634501