[INFO] cloning repository https://github.com/melbourne2991/rusty-lisp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/melbourne2991/rusty-lisp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelbourne2991%2Frusty-lisp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelbourne2991%2Frusty-lisp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7a103349103746bbe05cf57cff9ca13ba32801c [INFO] checking melbourne2991/rusty-lisp against master#4ecd70ddd1039a3954056c1071e40278048476fa for pr-137633 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelbourne2991%2Frusty-lisp" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/melbourne2991/rusty-lisp on toolchain 4ecd70ddd1039a3954056c1071e40278048476fa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4ecd70ddd1039a3954056c1071e40278048476fa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/melbourne2991/rusty-lisp [INFO] finished tweaking git repo https://github.com/melbourne2991/rusty-lisp [INFO] tweaked toml for git repo https://github.com/melbourne2991/rusty-lisp written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/melbourne2991/rusty-lisp 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" "+4ecd70ddd1039a3954056c1071e40278048476fa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+4ecd70ddd1039a3954056c1071e40278048476fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df4613ffcd46c4937ce9776c8f8af949df45ef8e04ae0740a5c9db227e820228 [INFO] running `Command { std: "docker" "start" "-a" "df4613ffcd46c4937ce9776c8f8af949df45ef8e04ae0740a5c9db227e820228", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df4613ffcd46c4937ce9776c8f8af949df45ef8e04ae0740a5c9db227e820228", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df4613ffcd46c4937ce9776c8f8af949df45ef8e04ae0740a5c9db227e820228", kill_on_drop: false }` [INFO] [stdout] df4613ffcd46c4937ce9776c8f8af949df45ef8e04ae0740a5c9db227e820228 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+4ecd70ddd1039a3954056c1071e40278048476fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73a34b094ea3bfdba7e608965c97ff9d3c80a9d735ffedb71ca048291d8f141c [INFO] running `Command { std: "docker" "start" "-a" "73a34b094ea3bfdba7e608965c97ff9d3c80a9d735ffedb71ca048291d8f141c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking rusticle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compiler/errors.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compiler/errors.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let ast = compiler::parse(filenames); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/parse_tree.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | Terminal(Token), [INFO] [stdout] | -------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PTNodeType` 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] 11 - Terminal(Token), [INFO] [stdout] 11 + Terminal(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_non_terminal` is never used [INFO] [stdout] --> src/compiler/parse_tree.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 33 | impl<'a> PTDynamicNode<'a> { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn as_non_terminal(&self) -> PTParentNode<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_terminal` is never used [INFO] [stdout] --> src/compiler/parse_tree.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 96 | impl PTree { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn get_terminal(&self, node_ref: usize) -> &Token { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Declaration` is never constructed [INFO] [stdout] --> src/compiler/source_ast.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum NodeType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | Declaration, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeType` 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/compiler/source_ast.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | Expression(ExpressionNode), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FileBody` 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] 18 - Expression(ExpressionNode), [INFO] [stdout] 18 + Expression(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DeclarationBody` is never used [INFO] [stdout] --> src/compiler/source_ast.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum DeclarationBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeclarationBody` 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/compiler/source_ast.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | Expression(ExpressionNode), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionArg` 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] 28 - Expression(ExpressionNode), [INFO] [stdout] 28 + Expression(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/source_ast.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | Symbol(SymbolNode), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionArg` 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] 29 - Symbol(SymbolNode), [INFO] [stdout] 29 + Symbol(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/source_ast.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | Str(StringNode), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionArg` 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] 30 - Str(StringNode), [INFO] [stdout] 30 + Str(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/source_ast.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | File(FileNode), [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ASTBody` 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] 36 - File(FileNode), [INFO] [stdout] 36 + File(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_type` and `value` are never read [INFO] [stdout] --> src/compiler/source_ast.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct StringNode { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 41 | pub node_type: NodeType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 42 | pub value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringNode` 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 `node_type` and `value` are never read [INFO] [stdout] --> src/compiler/source_ast.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct SymbolNode { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 47 | pub node_type: NodeType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 48 | pub value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolNode` 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 `node_type` and `value` are never read [INFO] [stdout] --> src/compiler/source_ast.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct IdentNode { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 53 | pub node_type: NodeType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 54 | pub value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdentNode` 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 `node_type`, `callee`, and `args` are never read [INFO] [stdout] --> src/compiler/source_ast.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct ExpressionNode { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 59 | pub node_type: NodeType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 60 | pub callee: IdentNode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | pub args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeclarationNode` is never constructed [INFO] [stdout] --> src/compiler/source_ast.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct DeclarationNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeclarationNode` 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 `node_type`, `filename`, and `body` are never read [INFO] [stdout] --> src/compiler/source_ast.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct FileNode { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 74 | pub node_type: NodeType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 75 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 76 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileNode` 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 `node_type` and `body` are never read [INFO] [stdout] --> src/compiler/source_ast.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct AST { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 81 | pub node_type: NodeType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 82 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Number` is never constructed [INFO] [stdout] --> src/compiler/lexer.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum TokenType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | Number(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_line`, `start_col`, `end_line`, and `end_col` are never read [INFO] [stdout] --> src/compiler/lexer.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct TokenMetadata { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 22 | start_line: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | start_col: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | end_line: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | end_col: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenMetadata` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ast` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let ast = compiler::parse(filenames); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ast` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/parse_tree.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | Terminal(Token), [INFO] [stdout] | -------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PTNodeType` 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] 11 - Terminal(Token), [INFO] [stdout] 11 + Terminal(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_non_terminal` is never used [INFO] [stdout] --> src/compiler/parse_tree.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 33 | impl<'a> PTDynamicNode<'a> { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn as_non_terminal(&self) -> PTParentNode<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_terminal` is never used [INFO] [stdout] --> src/compiler/parse_tree.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 96 | impl PTree { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn get_terminal(&self, node_ref: usize) -> &Token { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Declaration` is never constructed [INFO] [stdout] --> src/compiler/source_ast.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum NodeType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | Declaration, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeType` 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/compiler/source_ast.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | Expression(ExpressionNode), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FileBody` 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] 18 - Expression(ExpressionNode), [INFO] [stdout] 18 + Expression(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DeclarationBody` is never used [INFO] [stdout] --> src/compiler/source_ast.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum DeclarationBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeclarationBody` 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/compiler/source_ast.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | Expression(ExpressionNode), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionArg` 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] 28 - Expression(ExpressionNode), [INFO] [stdout] 28 + Expression(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/source_ast.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | Symbol(SymbolNode), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionArg` 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] 29 - Symbol(SymbolNode), [INFO] [stdout] 29 + Symbol(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/source_ast.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | Str(StringNode), [INFO] [stdout] | --- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionArg` 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] 30 - Str(StringNode), [INFO] [stdout] 30 + Str(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/compiler/source_ast.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | File(FileNode), [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ASTBody` 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] 36 - File(FileNode), [INFO] [stdout] 36 + File(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_type` and `value` are never read [INFO] [stdout] --> src/compiler/source_ast.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct StringNode { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 41 | pub node_type: NodeType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 42 | pub value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringNode` 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 `node_type` and `value` are never read [INFO] [stdout] --> src/compiler/source_ast.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct SymbolNode { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 47 | pub node_type: NodeType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 48 | pub value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolNode` 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 `node_type` and `value` are never read [INFO] [stdout] --> src/compiler/source_ast.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct IdentNode { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 53 | pub node_type: NodeType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 54 | pub value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdentNode` 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 `node_type`, `callee`, and `args` are never read [INFO] [stdout] --> src/compiler/source_ast.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct ExpressionNode { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 59 | pub node_type: NodeType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 60 | pub callee: IdentNode, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | pub args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeclarationNode` is never constructed [INFO] [stdout] --> src/compiler/source_ast.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct DeclarationNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeclarationNode` 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 `node_type`, `filename`, and `body` are never read [INFO] [stdout] --> src/compiler/source_ast.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct FileNode { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 74 | pub node_type: NodeType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 75 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 76 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileNode` 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 `node_type` and `body` are never read [INFO] [stdout] --> src/compiler/source_ast.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct AST { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 81 | pub node_type: NodeType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 82 | pub body: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Number` is never constructed [INFO] [stdout] --> src/compiler/lexer.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum TokenType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | Number(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_line`, `start_col`, `end_line`, and `end_col` are never read [INFO] [stdout] --> src/compiler/lexer.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct TokenMetadata { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 22 | start_line: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | start_col: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | end_line: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | end_col: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenMetadata` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "73a34b094ea3bfdba7e608965c97ff9d3c80a9d735ffedb71ca048291d8f141c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73a34b094ea3bfdba7e608965c97ff9d3c80a9d735ffedb71ca048291d8f141c", kill_on_drop: false }` [INFO] [stdout] 73a34b094ea3bfdba7e608965c97ff9d3c80a9d735ffedb71ca048291d8f141c