[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] building fetttttjoe/Compiler against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffetttttjoe%2FCompiler" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fetttttjoe/Compiler on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc1/source/Cargo.toml [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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 982d603b49a50ab8ce06c00a0229c0e42106db025eda7127d6acafc4b75c3290 [INFO] running `Command { std: "docker" "start" "-a" "982d603b49a50ab8ce06c00a0229c0e42106db025eda7127d6acafc4b75c3290", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "982d603b49a50ab8ce06c00a0229c0e42106db025eda7127d6acafc4b75c3290", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "982d603b49a50ab8ce06c00a0229c0e42106db025eda7127d6acafc4b75c3290", kill_on_drop: false }` [INFO] [stdout] 982d603b49a50ab8ce06c00a0229c0e42106db025eda7127d6acafc4b75c3290 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffaf1ced8275d55be386177607277014ab697adf2efdf050735c17f288774a78 [INFO] running `Command { std: "docker" "start" "-a" "ffaf1ced8275d55be386177607277014ab697adf2efdf050735c17f288774a78", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` 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(()), [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(()), [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(()), [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 `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(()), [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(()), [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.62s [INFO] running `Command { std: "docker" "inspect" "ffaf1ced8275d55be386177607277014ab697adf2efdf050735c17f288774a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffaf1ced8275d55be386177607277014ab697adf2efdf050735c17f288774a78", kill_on_drop: false }` [INFO] [stdout] ffaf1ced8275d55be386177607277014ab697adf2efdf050735c17f288774a78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffd1276abe2fe056e84b9c12adce4ea12a15768427022325efdda2ba3e464a14 [INFO] running `Command { std: "docker" "start" "-a" "ffd1276abe2fe056e84b9c12adce4ea12a15768427022325efdda2ba3e464a14", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` 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(()), [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(()), [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(()), [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 `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(()), [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(()), [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 `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "ffd1276abe2fe056e84b9c12adce4ea12a15768427022325efdda2ba3e464a14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffd1276abe2fe056e84b9c12adce4ea12a15768427022325efdda2ba3e464a14", kill_on_drop: false }` [INFO] [stdout] ffd1276abe2fe056e84b9c12adce4ea12a15768427022325efdda2ba3e464a14