[INFO] cloning repository https://github.com/gamcd/chop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gamcd/chop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgamcd%2Fchop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgamcd%2Fchop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 41a7916d1f3e0c6b6921d9d7754a2aad491e2981 [INFO] building gamcd/chop 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%2Fgamcd%2Fchop" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gamcd/chop 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/gamcd/chop [INFO] finished tweaking git repo https://github.com/gamcd/chop [INFO] tweaked toml for git repo https://github.com/gamcd/chop written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gamcd/chop 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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] b343da649b4f9dfdad22807b96b53b18a2375980b9f8e76a9e35914031a2244f [INFO] running `Command { std: "docker" "start" "-a" "b343da649b4f9dfdad22807b96b53b18a2375980b9f8e76a9e35914031a2244f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b343da649b4f9dfdad22807b96b53b18a2375980b9f8e76a9e35914031a2244f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b343da649b4f9dfdad22807b96b53b18a2375980b9f8e76a9e35914031a2244f", kill_on_drop: false }` [INFO] [stdout] b343da649b4f9dfdad22807b96b53b18a2375980b9f8e76a9e35914031a2244f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 992b7e8d7632d2f9f0c9c3390141705f2af331e7b08c9a837986695dab9d1c58 [INFO] running `Command { std: "docker" "start" "-a" "992b7e8d7632d2f9f0c9c3390141705f2af331e7b08c9a837986695dab9d1c58", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling proj v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Parse` [INFO] [stdout] --> src/main.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::{Parse, Parser}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::Iter` [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parser.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 98 | separator => {} [INFO] [stdout] | --------- matches any value [INFO] [stdout] 99 | right => return Ok(list), [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parser.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 98 | separator => {} [INFO] [stdout] | --------- matches any value [INFO] [stdout] 99 | right => return Ok(list), [INFO] [stdout] 100 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `separator` [INFO] [stdout] --> src/parser.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | separator => {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_separator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/parser.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | right => return Ok(list), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/parser.rs:252:14 [INFO] [stdout] | [INFO] [stdout] 252 | fn parse(p: &mut Parser) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/parser.rs:325:14 [INFO] [stdout] | [INFO] [stdout] 325 | fn parse(p: &mut Parser) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/parser.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | let lhs: Expr = if let Some(bp) = ExprOperator::prefix_bp(&first.token_type) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_bp` [INFO] [stdout] --> src/parser.rs:331:33 [INFO] [stdout] | [INFO] [stdout] 331 | fn parse_bp(p: &mut Parser, min_bp: u8) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_bp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/parser.rs:445:14 [INFO] [stdout] | [INFO] [stdout] 445 | fn parse(p: &mut Parser) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/parser.rs:461:14 [INFO] [stdout] | [INFO] [stdout] 461 | fn parse(p: &mut Parser) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_type` [INFO] [stdout] --> src/operator.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | fn prefix_bp(token_type: &TokenType) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_type` [INFO] [stdout] --> src/operator.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | fn infix_bp(token_type: &TokenType) -> Option<(u8, u8)> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_type` [INFO] [stdout] --> src/operator.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | fn postfix_bp(token_type: &TokenType) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_type` [INFO] [stdout] --> src/operator.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | fn prefix_bp(token_type: &TokenType) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_type` [INFO] [stdout] --> src/operator.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | fn infix_bp(token_type: &TokenType) -> Option<(u8, u8)> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_type` [INFO] [stdout] --> src/operator.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | fn postfix_bp(token_type: &TokenType) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parser` [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut parser = Parser::new(token_stream); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut parser = Parser::new(token_stream); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `KwContinue` and `Ident` are never constructed [INFO] [stdout] --> src/tokens.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | KwContinue, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | Ident(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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExprType` is never used [INFO] [stdout] --> src/tokens.rs:175:10 [INFO] [stdout] | [INFO] [stdout] 175 | pub enum ExprType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error_stream` is never read [INFO] [stdout] --> src/parser.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Parser { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 13 | token_stream: VecDeque, [INFO] [stdout] 14 | error_stream: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ast_build` is never used [INFO] [stdout] --> src/parser.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | fn ast_build(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `yank_owned` is never used [INFO] [stdout] --> src/parser.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn yank_owned(next_token: Option) -> Token { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `position` are never read [INFO] [stdout] --> src/parser.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct ParseError { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 152 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 153 | position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | Expr(Expr), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 5 | Expr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | Struct(Struct), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | Struct(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | Enum(Enum), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | Enum(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | Typeclass(Typeclass), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | Typeclass(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | Type(TypeAnnotation), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 9 | Type(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Struct(pub Vec); [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Enum(pub Vec); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct EnumEntry(Field, Option>); [INFO] [stdout] | --------- ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Typeclass(pub Vec); [INFO] [stdout] | --------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Name(pub String); [INFO] [stdout] | ---- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Signature` is never constructed [INFO] [stdout] --> src/abstract_syntax_tree.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Signature { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | Int(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 41 | Int(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 42 | Float(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | Bool(bool), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 43 | Bool(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | List(Vec), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 44 | List(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | Set(Vec), [INFO] [stdout] | --- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 45 | Set(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | Map(Vec<(Expr, Expr)>), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 46 | Map(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | Tuple(Vec), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 47 | Tuple(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `StructInitialization` and `Closure` are never constructed [INFO] [stdout] --> src/abstract_syntax_tree.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum Literal { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 48 | StructInitialization(Name, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | Closure(Box), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | Call(Name, Vec), [INFO] [stdout] | ---- ^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 54 | Call((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | Literal(Literal), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 55 | Literal(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | Reference(Name), [INFO] [stdout] | --------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 56 | Reference(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Sequence`, `FieldAccess`, and `Grouping` are never constructed [INFO] [stdout] --> src/abstract_syntax_tree.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 53 | Sequence(Vec), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | FieldAccess(Box, Field), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 58 | Grouping(TokenType, Box), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Operator`, `Literal`, and `Grouping` are never constructed [INFO] [stdout] --> src/abstract_syntax_tree.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub enum TypeExpr { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 62 | Operator(Token, Vec), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 63 | Literal(Name), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 64 | Grouping, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `field_name` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Field { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 68 | pub field_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:70:27 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct TypeAnnotation(pub Option); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `domain`, `name`, `type_annotation`, and `value` are never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Initialization { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 73 | pub domain: Domain, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 74 | pub name: Name, [INFO] [stdout] | ^^^^ [INFO] [stdout] 75 | pub type_annotation: TypeAnnotation, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 76 | pub value: Value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:80:20 [INFO] [stdout] | [INFO] [stdout] 80 | Initialization(Initialization), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 80 | Initialization(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | Return(Expr), [INFO] [stdout] | ------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 82 | Return(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | For(ForStatement), [INFO] [stdout] | --- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 83 | For(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | While(Conditional), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 84 | While(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | If(Conditional), [INFO] [stdout] | -- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 85 | If(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Statement` is never constructed [INFO] [stdout] --> src/abstract_syntax_tree.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub enum Line { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 80 | Initialization(Initialization), [INFO] [stdout] 81 | Statement(Statement), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct Conditional(pub Expr, pub Vec, pub Option>); [INFO] [stdout] | ----------- ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ForStatement(pub Vec, pub Expr, pub Vec); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `proc_name` and `args` are never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct Statement { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 94 | proc_name: Name, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 95 | args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `infix_bp` and `postfix_bp` are never used [INFO] [stdout] --> src/operator.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait BP { [INFO] [stdout] | -- associated functions in this trait [INFO] [stdout] 75 | fn prefix_bp(token_type: &TokenType) -> Option; [INFO] [stdout] 76 | fn infix_bp(token_type: &TokenType) -> Option<(u8, u8)>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 77 | fn postfix_bp(token_type: &TokenType) -> Option; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.93s [INFO] running `Command { std: "docker" "inspect" "992b7e8d7632d2f9f0c9c3390141705f2af331e7b08c9a837986695dab9d1c58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "992b7e8d7632d2f9f0c9c3390141705f2af331e7b08c9a837986695dab9d1c58", kill_on_drop: false }` [INFO] [stdout] 992b7e8d7632d2f9f0c9c3390141705f2af331e7b08c9a837986695dab9d1c58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 08999bb0053690268983fdfe914d48fdc5a3235979267a19dd708b4af25c9cd6 [INFO] running `Command { std: "docker" "start" "-a" "08999bb0053690268983fdfe914d48fdc5a3235979267a19dd708b4af25c9cd6", kill_on_drop: false }` [INFO] [stderr] Compiling proj v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Parse` [INFO] [stdout] --> src/main.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::{Parse, Parser}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::Iter` [INFO] [stdout] --> src/parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parser.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 98 | separator => {} [INFO] [stdout] | --------- matches any value [INFO] [stdout] 99 | right => return Ok(list), [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parser.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 98 | separator => {} [INFO] [stdout] | --------- matches any value [INFO] [stdout] 99 | right => return Ok(list), [INFO] [stdout] 100 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `separator` [INFO] [stdout] --> src/parser.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | separator => {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_separator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/parser.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | right => return Ok(list), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/parser.rs:252:14 [INFO] [stdout] | [INFO] [stdout] 252 | fn parse(p: &mut Parser) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/parser.rs:325:14 [INFO] [stdout] | [INFO] [stdout] 325 | fn parse(p: &mut Parser) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lhs` [INFO] [stdout] --> src/parser.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | let lhs: Expr = if let Some(bp) = ExprOperator::prefix_bp(&first.token_type) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_bp` [INFO] [stdout] --> src/parser.rs:331:33 [INFO] [stdout] | [INFO] [stdout] 331 | fn parse_bp(p: &mut Parser, min_bp: u8) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_bp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/parser.rs:445:14 [INFO] [stdout] | [INFO] [stdout] 445 | fn parse(p: &mut Parser) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/parser.rs:461:14 [INFO] [stdout] | [INFO] [stdout] 461 | fn parse(p: &mut Parser) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_type` [INFO] [stdout] --> src/operator.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | fn prefix_bp(token_type: &TokenType) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_type` [INFO] [stdout] --> src/operator.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | fn infix_bp(token_type: &TokenType) -> Option<(u8, u8)> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_type` [INFO] [stdout] --> src/operator.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | fn postfix_bp(token_type: &TokenType) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_type` [INFO] [stdout] --> src/operator.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | fn prefix_bp(token_type: &TokenType) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_type` [INFO] [stdout] --> src/operator.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | fn infix_bp(token_type: &TokenType) -> Option<(u8, u8)> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_type` [INFO] [stdout] --> src/operator.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | fn postfix_bp(token_type: &TokenType) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parser` [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut parser = Parser::new(token_stream); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut parser = Parser::new(token_stream); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `KwContinue` and `Ident` are never constructed [INFO] [stdout] --> src/tokens.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | KwContinue, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | Ident(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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ExprType` is never used [INFO] [stdout] --> src/tokens.rs:175:10 [INFO] [stdout] | [INFO] [stdout] 175 | pub enum ExprType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error_stream` is never read [INFO] [stdout] --> src/parser.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Parser { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 13 | token_stream: VecDeque, [INFO] [stdout] 14 | error_stream: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ast_build` is never used [INFO] [stdout] --> src/parser.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | fn ast_build(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `yank_owned` is never used [INFO] [stdout] --> src/parser.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn yank_owned(next_token: Option) -> Token { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `position` are never read [INFO] [stdout] --> src/parser.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct ParseError { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 152 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 153 | position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | Expr(Expr), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 5 | Expr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | Struct(Struct), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | Struct(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | Enum(Enum), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | Enum(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | Typeclass(Typeclass), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | Typeclass(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | Type(TypeAnnotation), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 9 | Type(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Struct(pub Vec); [INFO] [stdout] | ------ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Enum(pub Vec); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct EnumEntry(Field, Option>); [INFO] [stdout] | --------- ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Typeclass(pub Vec); [INFO] [stdout] | --------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Name(pub String); [INFO] [stdout] | ---- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Signature` is never constructed [INFO] [stdout] --> src/abstract_syntax_tree.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Signature { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | Int(i64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 41 | Int(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 42 | Float(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | Bool(bool), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 43 | Bool(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | List(Vec), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 44 | List(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | Set(Vec), [INFO] [stdout] | --- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 45 | Set(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | Map(Vec<(Expr, Expr)>), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 46 | Map(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | Tuple(Vec), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 47 | Tuple(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `StructInitialization` and `Closure` are never constructed [INFO] [stdout] --> src/abstract_syntax_tree.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum Literal { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 48 | StructInitialization(Name, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | Closure(Box), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | Call(Name, Vec), [INFO] [stdout] | ---- ^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 54 | Call((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | Literal(Literal), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 55 | Literal(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | Reference(Name), [INFO] [stdout] | --------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 56 | Reference(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Sequence`, `FieldAccess`, and `Grouping` are never constructed [INFO] [stdout] --> src/abstract_syntax_tree.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 53 | Sequence(Vec), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | FieldAccess(Box, Field), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 58 | Grouping(TokenType, Box), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Operator`, `Literal`, and `Grouping` are never constructed [INFO] [stdout] --> src/abstract_syntax_tree.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub enum TypeExpr { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 62 | Operator(Token, Vec), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 63 | Literal(Name), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 64 | Grouping, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `field_name` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Field { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 68 | pub field_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:70:27 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct TypeAnnotation(pub Option); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `domain`, `name`, `type_annotation`, and `value` are never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Initialization { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 73 | pub domain: Domain, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 74 | pub name: Name, [INFO] [stdout] | ^^^^ [INFO] [stdout] 75 | pub type_annotation: TypeAnnotation, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 76 | pub value: Value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:80:20 [INFO] [stdout] | [INFO] [stdout] 80 | Initialization(Initialization), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 80 | Initialization(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | Return(Expr), [INFO] [stdout] | ------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 82 | Return(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | For(ForStatement), [INFO] [stdout] | --- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 83 | For(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | While(Conditional), [INFO] [stdout] | ----- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 84 | While(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | If(Conditional), [INFO] [stdout] | -- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 85 | If(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Statement` is never constructed [INFO] [stdout] --> src/abstract_syntax_tree.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub enum Line { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 80 | Initialization(Initialization), [INFO] [stdout] 81 | Statement(Statement), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct Conditional(pub Expr, pub Vec, pub Option>); [INFO] [stdout] | ----------- ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ForStatement(pub Vec, pub Expr, pub Vec); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `proc_name` and `args` are never read [INFO] [stdout] --> src/abstract_syntax_tree.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct Statement { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 94 | proc_name: Name, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 95 | args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `infix_bp` and `postfix_bp` are never used [INFO] [stdout] --> src/operator.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait BP { [INFO] [stdout] | -- associated functions in this trait [INFO] [stdout] 75 | fn prefix_bp(token_type: &TokenType) -> Option; [INFO] [stdout] 76 | fn infix_bp(token_type: &TokenType) -> Option<(u8, u8)>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 77 | fn postfix_bp(token_type: &TokenType) -> Option; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "08999bb0053690268983fdfe914d48fdc5a3235979267a19dd708b4af25c9cd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08999bb0053690268983fdfe914d48fdc5a3235979267a19dd708b4af25c9cd6", kill_on_drop: false }` [INFO] [stdout] 08999bb0053690268983fdfe914d48fdc5a3235979267a19dd708b4af25c9cd6