[INFO] cloning repository https://github.com/TheBlckbird/waitlang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheBlckbird/waitlang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheBlckbird%2Fwaitlang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheBlckbird%2Fwaitlang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 67fb91a4c5d7c862bc8a86e15372c432d0142edb [INFO] building TheBlckbird/waitlang 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%2FTheBlckbird%2Fwaitlang" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheBlckbird/waitlang 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] removed /workspace/builds/worker-0-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/TheBlckbird/waitlang [INFO] finished tweaking git repo https://github.com/TheBlckbird/waitlang [INFO] tweaked toml for git repo https://github.com/TheBlckbird/waitlang written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/TheBlckbird/waitlang 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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 5d07c2fd4c8811f72eeee41629fd60e7f25be440f28ef8868acb7a5b4887cdb8 [INFO] running `Command { std: "docker" "start" "-a" "5d07c2fd4c8811f72eeee41629fd60e7f25be440f28ef8868acb7a5b4887cdb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d07c2fd4c8811f72eeee41629fd60e7f25be440f28ef8868acb7a5b4887cdb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d07c2fd4c8811f72eeee41629fd60e7f25be440f28ef8868acb7a5b4887cdb8", kill_on_drop: false }` [INFO] [stdout] 5d07c2fd4c8811f72eeee41629fd60e7f25be440f28ef8868acb7a5b4887cdb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 6af1c3725000a35f2355894dc9b7a56e2ecfa03e232eb610a092eba2ab999ddb [INFO] running `Command { std: "docker" "start" "-a" "6af1c3725000a35f2355894dc9b7a56e2ecfa03e232eb610a092eba2ab999ddb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling thin-vec v0.2.13 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling wait v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `process::exit` [INFO] [stdout] --> src/interpreter/expr.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{ops::Deref, process::exit}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/parser/ast/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thin_vec::ThinVec` [INFO] [stdout] --> src/parser/ast/block.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use thin_vec::ThinVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Span` and `Type` [INFO] [stdout] --> src/parser/ast/lit.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Span, Type}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receiver` [INFO] [stdout] --> src/interpreter/expr.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | receiver, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `receiver: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident` [INFO] [stdout] --> src/interpreter/expr.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | ident, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `ident: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/interpreter/expr.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | args, [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_from_tokens` is never used [INFO] [stdout] --> src/build_code.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn build_from_tokens(tokens: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Warning` is never constructed [INFO] [stdout] --> src/error_handling.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum ReportKind { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 9 | Error, [INFO] [stdout] 10 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `warn` is never used [INFO] [stdout] --> src/error_handling.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn warn(token: &Token, message: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> src/interpreter/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Interpreter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn run(&self, ast: Ast) -> Result<(), ()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/interpreter/stack.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Function { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 33 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop` is never used [INFO] [stdout] --> src/interpreter/stack.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Stack { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `User` is never constructed [INFO] [stdout] --> src/parser/ast/mod.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 76 | User, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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: associated function `new` is never used [INFO] [stdout] --> src/parser/ast/block.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Block { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(span: Span, type_: Type) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FnCall`, `MethodCall`, `FieldAcc`, and `Ident` are never constructed [INFO] [stdout] --> src/parser/ast/expr.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum ExprKind { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 46 | FnCall(Ident, Box<[Expr]>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | MethodCall { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | FieldAcc(Box, Ident), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | Ident(Ident), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExprKind` 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: associated items `new` and `as_str` are never used [INFO] [stdout] --> src/parser/ast/expr.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl Ident { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 101 | pub fn new(name: &'static str, span: Span) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_true` is never used [INFO] [stdout] --> src/parser/ast/lit.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Lit { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn is_true(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `VarBind`, `If`, `While`, `FnDef`, and `Return` are never constructed [INFO] [stdout] --> src/parser/ast/stmt.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum StmtKind { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | VarBind { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | If(Box, Box, Option>), [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 60 | While(Box, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | FnDef { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | Return(Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StmtKind` 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 2.83s [INFO] running `Command { std: "docker" "inspect" "6af1c3725000a35f2355894dc9b7a56e2ecfa03e232eb610a092eba2ab999ddb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6af1c3725000a35f2355894dc9b7a56e2ecfa03e232eb610a092eba2ab999ddb", kill_on_drop: false }` [INFO] [stdout] 6af1c3725000a35f2355894dc9b7a56e2ecfa03e232eb610a092eba2ab999ddb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 268070259edc0281645fd9120bbfd41b862911854e2a8df4889623c3cfbd06b1 [INFO] running `Command { std: "docker" "start" "-a" "268070259edc0281645fd9120bbfd41b862911854e2a8df4889623c3cfbd06b1", kill_on_drop: false }` [INFO] [stderr] Compiling wait v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `process::exit` [INFO] [stdout] --> src/interpreter/expr.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{ops::Deref, process::exit}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/parser/ast/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thin_vec::ThinVec` [INFO] [stdout] --> src/parser/ast/block.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use thin_vec::ThinVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Span` and `Type` [INFO] [stdout] --> src/parser/ast/lit.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Span, Type}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receiver` [INFO] [stdout] --> src/interpreter/expr.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | receiver, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `receiver: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident` [INFO] [stdout] --> src/interpreter/expr.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | ident, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `ident: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/interpreter/expr.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | args, [INFO] [stdout] | ^^^^ help: try ignoring the field: `args: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_from_tokens` is never used [INFO] [stdout] --> src/build_code.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn build_from_tokens(tokens: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Warning` is never constructed [INFO] [stdout] --> src/error_handling.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum ReportKind { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 9 | Error, [INFO] [stdout] 10 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `warn` is never used [INFO] [stdout] --> src/error_handling.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn warn(token: &Token, message: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> src/interpreter/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Interpreter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn run(&self, ast: Ast) -> Result<(), ()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/interpreter/stack.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Function { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 33 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pop` is never used [INFO] [stdout] --> src/interpreter/stack.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Stack { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `User` is never constructed [INFO] [stdout] --> src/parser/ast/mod.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 76 | User, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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: associated function `new` is never used [INFO] [stdout] --> src/parser/ast/block.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Block { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(span: Span, type_: Type) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FnCall`, `MethodCall`, `FieldAcc`, and `Ident` are never constructed [INFO] [stdout] --> src/parser/ast/expr.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum ExprKind { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 46 | FnCall(Ident, Box<[Expr]>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | MethodCall { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | FieldAcc(Box, Ident), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | Ident(Ident), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExprKind` 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: associated items `new` and `as_str` are never used [INFO] [stdout] --> src/parser/ast/expr.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl Ident { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 101 | pub fn new(name: &'static str, span: Span) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_true` is never used [INFO] [stdout] --> src/parser/ast/lit.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Lit { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn is_true(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `VarBind`, `If`, `While`, `FnDef`, and `Return` are never constructed [INFO] [stdout] --> src/parser/ast/stmt.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum StmtKind { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | VarBind { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | If(Box, Box, Option>), [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 60 | While(Box, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | FnDef { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | Return(Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StmtKind` 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.37s [INFO] running `Command { std: "docker" "inspect" "268070259edc0281645fd9120bbfd41b862911854e2a8df4889623c3cfbd06b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "268070259edc0281645fd9120bbfd41b862911854e2a8df4889623c3cfbd06b1", kill_on_drop: false }` [INFO] [stdout] 268070259edc0281645fd9120bbfd41b862911854e2a8df4889623c3cfbd06b1