[INFO] cloning repository https://github.com/zxcvc/parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zxcvc/parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxcvc%2Fparser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxcvc%2Fparser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 40cea26ebd231e2c0a0c6c628c577f583aa7bf0c [INFO] building zxcvc/parser 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%2Fzxcvc%2Fparser" "/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/zxcvc/parser 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/zxcvc/parser [INFO] finished tweaking git repo https://github.com/zxcvc/parser [INFO] tweaked toml for git repo https://github.com/zxcvc/parser written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zxcvc/parser 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] Blocking waiting for file lock on package cache [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] 524f6b271d33cd65230a98b0b6d2a20b8a9a43d647f046a181c31f8a29cb7826 [INFO] running `Command { std: "docker" "start" "-a" "524f6b271d33cd65230a98b0b6d2a20b8a9a43d647f046a181c31f8a29cb7826", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "524f6b271d33cd65230a98b0b6d2a20b8a9a43d647f046a181c31f8a29cb7826", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "524f6b271d33cd65230a98b0b6d2a20b8a9a43d647f046a181c31f8a29cb7826", kill_on_drop: false }` [INFO] [stdout] 524f6b271d33cd65230a98b0b6d2a20b8a9a43d647f046a181c31f8a29cb7826 [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] dda9a28cbd3f6603c6c5d76e830d5883b9984c62fb963b78d58baa47d8a94c84 [INFO] running `Command { std: "docker" "start" "-a" "dda9a28cbd3f6603c6c5d76e830d5883b9984c62fb963b78d58baa47d8a94c84", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling my-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `StateMent` [INFO] [stdout] --> src/parser/ast.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | use super::{Position, StateMent, Token, TokenRow}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> src/parser/ast.rs:280:26 [INFO] [stdout] | [INFO] [stdout] 280 | use crate::scanner::{Token, TokenRow}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RightValue` [INFO] [stdout] --> src/parser/ast.rs:283:30 [INFO] [stdout] | [INFO] [stdout] 283 | use super::right_value::{RightValue, RightValueExpression}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::right_value::RightValue` [INFO] [stdout] --> src/parser/ast.rs:657:9 [INFO] [stdout] | [INFO] [stdout] 657 | use super::right_value::RightValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `right_value::RightValue` [INFO] [stdout] --> src/parser/mod.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | error::ParseError, right_value::RightValue, Expression::PrimaryRow, StateMent::FunctionCall, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::Value::Value` [INFO] [stdout] --> src/parser/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use ast::Value::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/parser/mod.rs:256:22 [INFO] [stdout] | [INFO] [stdout] 256 | } => (Ok(self.expresson()?.into())), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 256 - } => (Ok(self.expresson()?.into())), [INFO] [stdout] 256 + } => Ok(self.expresson()?.into()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc` [INFO] [stdout] --> src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{cell::RefCell, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/parser/mod.rs:231:48 [INFO] [stdout] | [INFO] [stdout] 231 | Some(Token { token: t, position }) => match t { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `position: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `describe` are never read [INFO] [stdout] --> src/error.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NoContentError { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 6 | pub code: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub describe: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NoContentError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | ScanError(ScanError), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SyntaxError` has derived impls for the traits `Clone` and `Debug`, but these are 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 | ScanError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | ParseError(ParseError), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SyntaxError` has derived impls for the traits `Clone` and `Debug`, but these are 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] 31 | ParseError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | NoContentError(NoContentError), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SyntaxError` has derived impls for the traits `Clone` and `Debug`, but these are 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] 32 | NoContentError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_arguments` is never used [INFO] [stdout] --> src/parser/mod.rs:491:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> Parser { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 491 | pub fn get_arguments(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `describe`, and `position` are never read [INFO] [stdout] --> src/parser/ast.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ParseError { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 8 | pub code: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub describe: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | pub position: super::Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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: field `exp` is never read [INFO] [stdout] --> src/parser/ast.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct PrimaryExpression { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 50 | pub exp: PrimaryRow, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrimaryExpression` 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 `op` and `exp` are never read [INFO] [stdout] --> src/parser/ast.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct UanryExpression { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 57 | pub op: UnaryOperator, [INFO] [stdout] | ^^ [INFO] [stdout] 58 | pub exp: T, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UanryExpression` 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 `op`, `left`, and `right` are never read [INFO] [stdout] --> src/parser/ast.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct BinaryExpression { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 65 | pub op: BinaryOpeator, [INFO] [stdout] | ^^ [INFO] [stdout] 66 | pub left: T, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | pub right: U, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryExpression` 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 `exp` is never read [INFO] [stdout] --> src/parser/ast.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct GroupExpression { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 74 | pub exp: T, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GroupExpression` 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 `op`, `start`, and `end` are never read [INFO] [stdout] --> src/parser/ast.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct BinaryOpeator { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 97 | pub op: BinaryOpeatorRow, [INFO] [stdout] | ^^ [INFO] [stdout] 98 | pub start: Position, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 99 | pub end: Position, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOpeator` 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 `op` and `end` are never read [INFO] [stdout] --> src/parser/ast.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct UnaryOperator { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 117 | pub op: UnaryOperatorRow, [INFO] [stdout] | ^^ [INFO] [stdout] 118 | pub start: Position, [INFO] [stdout] 119 | pub end: Position, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnaryOperator` 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 `exp` is never read [INFO] [stdout] --> src/parser/ast.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 292 | pub struct ExpressionStatement { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 293 | pub exp: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `variable_name` and `value` are never read [INFO] [stdout] --> src/parser/ast.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 299 | pub struct DeclareStatement { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 300 | pub variable_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 301 | pub value: RightValueExpression, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeclareStatement` 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 `condition`, `then_branch`, and `else_branch` are never read [INFO] [stdout] --> src/parser/ast.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub struct IfStatement { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 316 | pub condition: Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 317 | pub then_branch: Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 318 | pub else_branch: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfStatement` 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 `condition` and `body` are never read [INFO] [stdout] --> src/parser/ast.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 324 | pub struct WhileStatement { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 325 | pub condition: Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 326 | pub body: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WhileStatement` 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 `init_statement`, `condition`, `next_statement`, and `body` are never read [INFO] [stdout] --> src/parser/ast.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct ForStatement { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 333 | pub init_statement: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 334 | pub condition: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 335 | pub next_statement: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 336 | pub body: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ForStatement` 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 `exp` is never read [INFO] [stdout] --> src/parser/ast.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 342 | pub struct ReturnStatement { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 343 | pub exp: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReturnStatement` 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 `body` is never read [INFO] [stdout] --> src/parser/ast.rs:350:13 [INFO] [stdout] | [INFO] [stdout] 349 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 350 | pub body: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` 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`, `args`, and `body` are never read [INFO] [stdout] --> src/parser/ast.rs:366:13 [INFO] [stdout] | [INFO] [stdout] 365 | pub struct FunctionDeclareStatement { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 366 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 367 | pub args: Arguments, [INFO] [stdout] | ^^^^ [INFO] [stdout] 368 | pub body: Block, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionDeclareStatement` 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 `args` and `position` are never read [INFO] [stdout] --> src/parser/ast.rs:374:13 [INFO] [stdout] | [INFO] [stdout] 373 | pub struct Arguments { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 374 | pub args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 375 | pub position: Option<(Position, Position)>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arguments` 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 `function_name` and `arguments` are never read [INFO] [stdout] --> src/parser/ast.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 378 | pub struct FunctionCall { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 379 | pub function_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 380 | pub arguments: Arguments, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionCall` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/parser/ast.rs:393:16 [INFO] [stdout] | [INFO] [stdout] 392 | impl DeclareStatement { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 393 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RightValue` is never used [INFO] [stdout] --> src/parser/ast.rs:640:15 [INFO] [stdout] | [INFO] [stdout] 640 | pub trait RightValue: Debug {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Value` is never used [INFO] [stdout] --> src/parser/ast.rs:655:15 [INFO] [stdout] | [INFO] [stdout] 655 | pub trait Value: Sized {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/scanner/mod.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ScanError { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 12 | pub code: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScanError` 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 `Result` that must be used [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | dbg!(res); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Expression` should have a snake case name [INFO] [stdout] --> src/parser/ast.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub mod Expression { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `expression` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `StateMent` should have a snake case name [INFO] [stdout] --> src/parser/ast.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | pub mod StateMent { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `state_ment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Value` should have a snake case name [INFO] [stdout] --> src/parser/ast.rs:654:9 [INFO] [stdout] | [INFO] [stdout] 654 | pub mod Value { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `value` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "dda9a28cbd3f6603c6c5d76e830d5883b9984c62fb963b78d58baa47d8a94c84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dda9a28cbd3f6603c6c5d76e830d5883b9984c62fb963b78d58baa47d8a94c84", kill_on_drop: false }` [INFO] [stdout] dda9a28cbd3f6603c6c5d76e830d5883b9984c62fb963b78d58baa47d8a94c84 [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] 9238db69fc36ca6ac6702d501340ae29569340d79b8a89d0577e8cf60371aa61 [INFO] running `Command { std: "docker" "start" "-a" "9238db69fc36ca6ac6702d501340ae29569340d79b8a89d0577e8cf60371aa61", kill_on_drop: false }` [INFO] [stderr] Compiling my-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `StateMent` [INFO] [stdout] --> src/parser/ast.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | use super::{Position, StateMent, Token, TokenRow}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> src/parser/ast.rs:280:26 [INFO] [stdout] | [INFO] [stdout] 280 | use crate::scanner::{Token, TokenRow}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RightValue` [INFO] [stdout] --> src/parser/ast.rs:283:30 [INFO] [stdout] | [INFO] [stdout] 283 | use super::right_value::{RightValue, RightValueExpression}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::right_value::RightValue` [INFO] [stdout] --> src/parser/ast.rs:657:9 [INFO] [stdout] | [INFO] [stdout] 657 | use super::right_value::RightValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `right_value::RightValue` [INFO] [stdout] --> src/parser/mod.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | error::ParseError, right_value::RightValue, Expression::PrimaryRow, StateMent::FunctionCall, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::Value::Value` [INFO] [stdout] --> src/parser/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use ast::Value::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/parser/mod.rs:256:22 [INFO] [stdout] | [INFO] [stdout] 256 | } => (Ok(self.expresson()?.into())), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 256 - } => (Ok(self.expresson()?.into())), [INFO] [stdout] 256 + } => Ok(self.expresson()?.into()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc` [INFO] [stdout] --> src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{cell::RefCell, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/parser/mod.rs:231:48 [INFO] [stdout] | [INFO] [stdout] 231 | Some(Token { token: t, position }) => match t { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `position: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `describe` are never read [INFO] [stdout] --> src/error.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NoContentError { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 6 | pub code: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | pub describe: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NoContentError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | ScanError(ScanError), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SyntaxError` has derived impls for the traits `Clone` and `Debug`, but these are 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 | ScanError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | ParseError(ParseError), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SyntaxError` has derived impls for the traits `Clone` and `Debug`, but these are 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] 31 | ParseError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | NoContentError(NoContentError), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SyntaxError` has derived impls for the traits `Clone` and `Debug`, but these are 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] 32 | NoContentError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_arguments` is never used [INFO] [stdout] --> src/parser/mod.rs:491:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> Parser { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 491 | pub fn get_arguments(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `describe`, and `position` are never read [INFO] [stdout] --> src/parser/ast.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ParseError { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 8 | pub code: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub describe: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | pub position: super::Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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: field `exp` is never read [INFO] [stdout] --> src/parser/ast.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct PrimaryExpression { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 50 | pub exp: PrimaryRow, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PrimaryExpression` 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 `op` and `exp` are never read [INFO] [stdout] --> src/parser/ast.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct UanryExpression { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 57 | pub op: UnaryOperator, [INFO] [stdout] | ^^ [INFO] [stdout] 58 | pub exp: T, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UanryExpression` 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 `op`, `left`, and `right` are never read [INFO] [stdout] --> src/parser/ast.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct BinaryExpression { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 65 | pub op: BinaryOpeator, [INFO] [stdout] | ^^ [INFO] [stdout] 66 | pub left: T, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | pub right: U, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryExpression` 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 `exp` is never read [INFO] [stdout] --> src/parser/ast.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct GroupExpression { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 74 | pub exp: T, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GroupExpression` 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 `op`, `start`, and `end` are never read [INFO] [stdout] --> src/parser/ast.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct BinaryOpeator { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 97 | pub op: BinaryOpeatorRow, [INFO] [stdout] | ^^ [INFO] [stdout] 98 | pub start: Position, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 99 | pub end: Position, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryOpeator` 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 `op` and `end` are never read [INFO] [stdout] --> src/parser/ast.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct UnaryOperator { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 117 | pub op: UnaryOperatorRow, [INFO] [stdout] | ^^ [INFO] [stdout] 118 | pub start: Position, [INFO] [stdout] 119 | pub end: Position, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnaryOperator` 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 `exp` is never read [INFO] [stdout] --> src/parser/ast.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 292 | pub struct ExpressionStatement { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 293 | pub exp: Box, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionStatement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `variable_name` and `value` are never read [INFO] [stdout] --> src/parser/ast.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 299 | pub struct DeclareStatement { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 300 | pub variable_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 301 | pub value: RightValueExpression, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeclareStatement` 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 `condition`, `then_branch`, and `else_branch` are never read [INFO] [stdout] --> src/parser/ast.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 315 | pub struct IfStatement { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 316 | pub condition: Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 317 | pub then_branch: Box, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 318 | pub else_branch: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfStatement` 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 `condition` and `body` are never read [INFO] [stdout] --> src/parser/ast.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 324 | pub struct WhileStatement { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 325 | pub condition: Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 326 | pub body: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WhileStatement` 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 `init_statement`, `condition`, `next_statement`, and `body` are never read [INFO] [stdout] --> src/parser/ast.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct ForStatement { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 333 | pub init_statement: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 334 | pub condition: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 335 | pub next_statement: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 336 | pub body: Box, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ForStatement` 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 `exp` is never read [INFO] [stdout] --> src/parser/ast.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 342 | pub struct ReturnStatement { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 343 | pub exp: Option>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReturnStatement` 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 `body` is never read [INFO] [stdout] --> src/parser/ast.rs:350:13 [INFO] [stdout] | [INFO] [stdout] 349 | pub struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 350 | pub body: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Block` 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`, `args`, and `body` are never read [INFO] [stdout] --> src/parser/ast.rs:366:13 [INFO] [stdout] | [INFO] [stdout] 365 | pub struct FunctionDeclareStatement { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 366 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 367 | pub args: Arguments, [INFO] [stdout] | ^^^^ [INFO] [stdout] 368 | pub body: Block, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionDeclareStatement` 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 `args` and `position` are never read [INFO] [stdout] --> src/parser/ast.rs:374:13 [INFO] [stdout] | [INFO] [stdout] 373 | pub struct Arguments { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 374 | pub args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 375 | pub position: Option<(Position, Position)>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arguments` 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 `function_name` and `arguments` are never read [INFO] [stdout] --> src/parser/ast.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 378 | pub struct FunctionCall { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 379 | pub function_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 380 | pub arguments: Arguments, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionCall` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/parser/ast.rs:393:16 [INFO] [stdout] | [INFO] [stdout] 392 | impl DeclareStatement { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 393 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RightValue` is never used [INFO] [stdout] --> src/parser/ast.rs:640:15 [INFO] [stdout] | [INFO] [stdout] 640 | pub trait RightValue: Debug {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Value` is never used [INFO] [stdout] --> src/parser/ast.rs:655:15 [INFO] [stdout] | [INFO] [stdout] 655 | pub trait Value: Sized {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `code` is never read [INFO] [stdout] --> src/scanner/mod.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ScanError { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 12 | pub code: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScanError` 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 `Result` that must be used [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | dbg!(res); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Expression` should have a snake case name [INFO] [stdout] --> src/parser/ast.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub mod Expression { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `expression` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `StateMent` should have a snake case name [INFO] [stdout] --> src/parser/ast.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | pub mod StateMent { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `state_ment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Value` should have a snake case name [INFO] [stdout] --> src/parser/ast.rs:654:9 [INFO] [stdout] | [INFO] [stdout] 654 | pub mod Value { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `value` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "9238db69fc36ca6ac6702d501340ae29569340d79b8a89d0577e8cf60371aa61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9238db69fc36ca6ac6702d501340ae29569340d79b8a89d0577e8cf60371aa61", kill_on_drop: false }` [INFO] [stdout] 9238db69fc36ca6ac6702d501340ae29569340d79b8a89d0577e8cf60371aa61