[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] building melbourne2991/rusty-lisp 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%2Fmelbourne2991%2Frusty-lisp" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/melbourne2991/rusty-lisp 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/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-4-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 93ce36ae4cbc2c6e9923d7b28b33f2595172eccac099da0b03697a631f48192f [INFO] running `Command { std: "docker" "start" "-a" "93ce36ae4cbc2c6e9923d7b28b33f2595172eccac099da0b03697a631f48192f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93ce36ae4cbc2c6e9923d7b28b33f2595172eccac099da0b03697a631f48192f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93ce36ae4cbc2c6e9923d7b28b33f2595172eccac099da0b03697a631f48192f", kill_on_drop: false }` [INFO] [stdout] 93ce36ae4cbc2c6e9923d7b28b33f2595172eccac099da0b03697a631f48192f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] fcbe89c49dc07856719d1fd6a5aeafc37742903e9fbf42b0700d5bc0b25fdb8f [INFO] running `Command { std: "docker" "start" "-a" "fcbe89c49dc07856719d1fd6a5aeafc37742903e9fbf42b0700d5bc0b25fdb8f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling 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: 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(()), [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(()), [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(()), [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(()), [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(()), [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(()), [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.74s [INFO] running `Command { std: "docker" "inspect" "fcbe89c49dc07856719d1fd6a5aeafc37742903e9fbf42b0700d5bc0b25fdb8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcbe89c49dc07856719d1fd6a5aeafc37742903e9fbf42b0700d5bc0b25fdb8f", kill_on_drop: false }` [INFO] [stdout] fcbe89c49dc07856719d1fd6a5aeafc37742903e9fbf42b0700d5bc0b25fdb8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] e94a1f2a83bad88f3d4f0f9b21ebe05fc066e11eb928d683848e34d4f88bba95 [INFO] running `Command { std: "docker" "start" "-a" "e94a1f2a83bad88f3d4f0f9b21ebe05fc066e11eb928d683848e34d4f88bba95", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling 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: 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(()), [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(()), [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(()), [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(()), [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(()), [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(()), [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 `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "e94a1f2a83bad88f3d4f0f9b21ebe05fc066e11eb928d683848e34d4f88bba95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e94a1f2a83bad88f3d4f0f9b21ebe05fc066e11eb928d683848e34d4f88bba95", kill_on_drop: false }` [INFO] [stdout] e94a1f2a83bad88f3d4f0f9b21ebe05fc066e11eb928d683848e34d4f88bba95