[INFO] cloning repository https://github.com/devdave/rython3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/devdave/rython3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevdave%2Frython3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevdave%2Frython3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a07b0f81079891d847deba7f4c2e452c8d36c706 [INFO] checking devdave/rython3 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevdave%2Frython3" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/devdave/rython3 [INFO] finished tweaking git repo https://github.com/devdave/rython3 [INFO] tweaked toml for git repo https://github.com/devdave/rython3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/devdave/rython3 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/devdave/rython3 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bdd63bba04cb7a686f70af35860af9e895ff7b9e7dcd0dd0032786acf3c75e10 [INFO] running `Command { std: "docker" "start" "-a" "bdd63bba04cb7a686f70af35860af9e895ff7b9e7dcd0dd0032786acf3c75e10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdd63bba04cb7a686f70af35860af9e895ff7b9e7dcd0dd0032786acf3c75e10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdd63bba04cb7a686f70af35860af9e895ff7b9e7dcd0dd0032786acf3c75e10", kill_on_drop: false }` [INFO] [stdout] bdd63bba04cb7a686f70af35860af9e895ff7b9e7dcd0dd0032786acf3c75e10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13762d8e4978817c0448388b976734583211dc2219f885b07559306f72b647fb [INFO] running `Command { std: "docker" "start" "-a" "13762d8e4978817c0448388b976734583211dc2219f885b07559306f72b647fb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling peg-runtime v0.7.0 (https://github.com/kevinmehall/rust-peg?rev=4b146b4b78a80c07e43d7ace2d97f65bfde279a8#4b146b4b) [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking unicode-segmentation v1.9.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling peg-macros v0.7.0 (https://github.com/kevinmehall/rust-peg?rev=4b146b4b78a80c07e43d7ace2d97f65bfde279a8#4b146b4b) [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking peg v0.7.0 (https://github.com/kevinmehall/rust-peg?rev=4b146b4b78a80c07e43d7ace2d97f65bfde279a8#4b146b4b) [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking rython3 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/tokenizer/processor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/tokenizer/processor.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::TokError`, `managed_line::ManagedLine`, `operators::OPERATOR_RE`, `token::Token`, and `ttype::TType` [INFO] [stdout] --> src/tokenizer/processor.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | token::Token, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | error::TokError, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | ttype::TType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | operators::OPERATOR_RE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | managed_line::ManagedLine, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/tokenizer/processor.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | use std::io::{Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/tokenizer/processor.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | use log::{info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::empty` [INFO] [stdout] --> src/tokenizer/token.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::empty; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StarredElement` [INFO] [stdout] --> src/ast/statement.rs:6:98 [INFO] [stdout] | [INFO] [stdout] 6 | use super::expression::{Arg, AssignTargetExpression, Asynchronous, Expression, From, Parameters, StarredElement, Tuple, List, Subscript, ... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/tokenizer/processor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `py` [INFO] [stdout] --> src/ast/expression.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg_attr(feature = "py", derive(TryIntoPy))] [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `py` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem::swap` [INFO] [stdout] --> src/ast/expression.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{mem::swap, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/tokenizer/processor.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::TokError`, `managed_line::ManagedLine`, `operators::OPERATOR_RE`, `token::Token`, and `ttype::TType` [INFO] [stdout] --> src/tokenizer/processor.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | token::Token, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | error::TokError, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | ttype::TType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | operators::OPERATOR_RE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | managed_line::ManagedLine, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/tokenizer/processor.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | use std::io::{Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/tokenizer/processor.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | use log::{info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::empty` [INFO] [stdout] --> src/tokenizer/token.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::empty; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StarredElement` [INFO] [stdout] --> src/ast/statement.rs:6:98 [INFO] [stdout] | [INFO] [stdout] 6 | use super::expression::{Arg, AssignTargetExpression, Asynchronous, Expression, From, Parameters, StarredElement, Tuple, List, Subscript, ... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `py` [INFO] [stdout] --> src/ast/expression.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg_attr(feature = "py", derive(TryIntoPy))] [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `py` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem::swap` [INFO] [stdout] --> src/ast/expression.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{mem::swap, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LeftParen` and `RightParen` [INFO] [stdout] --> src/ast/traits.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | Comma, LeftParen, RightParen, whitespace::EmptyLine, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LeftParen` and `RightParen` [INFO] [stdout] --> src/ast/traits.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | Comma, LeftParen, RightParen, whitespace::EmptyLine, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/ast/traits.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/ast/traits.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `py` [INFO] [stdout] --> src/ast/whitespace.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg_attr(feature = "py", derive(TryIntoPy))] [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `py` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `py` [INFO] [stdout] --> src/ast/whitespace.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg_attr(feature = "py", derive(TryIntoPy))] [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `py` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `py` [INFO] [stdout] --> src/ast/whitespace.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg_attr(feature = "py", derive(TryIntoPy))] [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `py` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `py` [INFO] [stdout] --> src/ast/whitespace.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | #[cfg_attr(feature = "py", derive(TryIntoPy))] [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `py` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `py` [INFO] [stdout] --> src/ast/whitespace.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg_attr(feature = "py", derive(TryIntoPy))] [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `py` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `py` [INFO] [stdout] --> src/ast/whitespace.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | #[cfg_attr(feature = "py", derive(TryIntoPy))] [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `py` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Binary` and `Hexidecimal` [INFO] [stdout] --> src/ast/mod.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | Comma, Name, Integer, Float, Binary, Hexidecimal, Imaginary, Comparison, ComparisonTarget, Element, StarredElement, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec::IntoIter` [INFO] [stdout] --> src/lexer/lexer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::vec::IntoIter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NLTransformer` [INFO] [stdout] --> src/lexer/lexer.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | use super::NLTransformer::{ String2Vec, NLTransformer}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Position` and `operators::OPERATOR_RE` [INFO] [stdout] --> src/lexer/lexer.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::tokenizer::{Token, TokError, Position, operators::OPERATOR_RE}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FLOATING_POINT` and `NAME_RE` [INFO] [stdout] --> src/lexer/lexer.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | COMMENT, FLOATING_POINT, NAME_RE, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Name as NameType`, `Newline`, and `Op as Operator` [INFO] [stdout] --> src/parser/grammar.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | self, Async, Number, Name as NameType, Name as NameTok, Op as Operator, NL, EndMarker, Newline, Indent, Dedent, Await as AWAIT, Strin... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Binary` and `Hexidecimal` [INFO] [stdout] --> src/ast/mod.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | Comma, Name, Integer, Float, Binary, Hexidecimal, Imaginary, Comparison, ComparisonTarget, Element, StarredElement, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec::IntoIter` [INFO] [stdout] --> src/lexer/lexer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::vec::IntoIter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NLTransformer` [INFO] [stdout] --> src/lexer/lexer.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | use super::NLTransformer::{ String2Vec, NLTransformer}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Position` and `operators::OPERATOR_RE` [INFO] [stdout] --> src/lexer/lexer.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::tokenizer::{Token, TokError, Position, operators::OPERATOR_RE}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FLOATING_POINT` and `NAME_RE` [INFO] [stdout] --> src/lexer/lexer.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | COMMENT, FLOATING_POINT, NAME_RE, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Name as NameType`, `Newline`, and `Op as Operator` [INFO] [stdout] --> src/parser/grammar.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | self, Async, Number, Name as NameType, Name as NameTok, Op as Operator, NL, EndMarker, Newline, Indent, Dedent, Await as AWAIT, Strin... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `trace` [INFO] [stdout] --> src/parser/grammar.rs:1495:23 [INFO] [stdout] | [INFO] [stdout] 1495 | #[cfg(feature = "trace")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `trace` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `trace` [INFO] [stdout] --> src/parser/grammar.rs:1503:23 [INFO] [stdout] | [INFO] [stdout] 1503 | #[cfg(feature = "trace")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `trace` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `python` [INFO] [stdout] --> src/parser/mod.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub use grammar::{python}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokenizer::Processor` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tokenizer::Processor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `trace` [INFO] [stdout] --> src/parser/grammar.rs:1495:23 [INFO] [stdout] | [INFO] [stdout] 1495 | #[cfg(feature = "trace")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `trace` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `trace` [INFO] [stdout] --> src/parser/grammar.rs:1503:23 [INFO] [stdout] | [INFO] [stdout] 1503 | #[cfg(feature = "trace")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `trace` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TokVec`, `TokenRef`, and `python` [INFO] [stdout] --> src/parser/grammar.rs:3125:34 [INFO] [stdout] | [INFO] [stdout] 3125 | use crate::parser::grammar::{python, TokenRef, TokVec}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tokenizer::Token` [INFO] [stdout] --> src/parser/grammar.rs:3126:9 [INFO] [stdout] | [INFO] [stdout] 3126 | use crate::tokenizer::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Number` and `Op` [INFO] [stdout] --> src/parser/grammar.rs:3127:35 [INFO] [stdout] | [INFO] [stdout] 3127 | use crate::tokenizer::TType::{Op, Number}; [INFO] [stdout] | ^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/parser/grammar.rs:3128:9 [INFO] [stdout] | [INFO] [stdout] 3128 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `python` [INFO] [stdout] --> src/parser/mod.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub use grammar::{python}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokenizer::Processor` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tokenizer::Processor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/tokenizer/processor.rs:105:15 [INFO] [stdout] | [INFO] [stdout] 105 | static NLSYM: str = "\n"; [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: statics and constants must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/tokenizer/processor.rs:105:15 [INFO] [stdout] | [INFO] [stdout] 105 | static NLSYM: str = "\n"; [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: statics and constants must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tokenizer/processor.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | static NLSYM: str = "\n"; [INFO] [stdout] | ^^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tokenizer/processor.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | static NLSYM: str = "\n"; [INFO] [stdout] | ^^^^ expected `str`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/ast/statement.rs:442:25 [INFO] [stdout] | [INFO] [stdout] 442 | fn with_comma(self, comma: Comma) -> ImportAlias<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/ast/statement.rs:449:25 [INFO] [stdout] | [INFO] [stdout] 449 | fn with_comma(self, comma: Comma) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/ast/statement.rs:458:25 [INFO] [stdout] | [INFO] [stdout] 458 | fn with_comma(self, comma: Comma) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/ast/statement.rs:467:25 [INFO] [stdout] | [INFO] [stdout] 467 | fn with_comma(self, comma: Comma) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/ast/statement.rs:485:25 [INFO] [stdout] | [INFO] [stdout] 485 | fn with_comma(self, comma: Comma) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/ast/statement.rs:494:25 [INFO] [stdout] | [INFO] [stdout] 494 | fn with_comma(self, comma: Comma) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/ast/expression.rs:517:25 [INFO] [stdout] | [INFO] [stdout] 517 | fn with_comma(self, comma: Comma) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/ast/expression.rs:528:25 [INFO] [stdout] | [INFO] [stdout] 528 | fn with_comma(self, comma: Comma) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast/expression.rs:532:27 [INFO] [stdout] | [INFO] [stdout] 532 | Self::Starred(mut s) => { Self::Starred(s) } [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: variable does not need to be mutable [INFO] [stdout] --> src/lexer/lexer.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn process(mut lines: &mut Vec>, skip_encoding:bool) -> Result>,TokError> { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lexer/lexer.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | for (lineno, mut line) in lines.iter_mut().enumerate() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/lexer/lexer.rs:111:62 [INFO] [stdout] | [INFO] [stdout] 111 | fn tokenize_line<'a>(line: &mut CodeLine<'a>, lineno: usize, state: &mut LexerState) -> Result>,TokError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lexer/lexer.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let mut is_statement: bool = false; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `retstr` [INFO] [stdout] --> src/lexer/lexer.rs:178:16 [INFO] [stdout] | [INFO] [stdout] 129 | Token::quick(TType::Comment, lineno, index, new_idx, &retstr) [INFO] [stdout] | ------- `retstr` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 178 | return Ok(product); [INFO] [stdout] | ^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lexer/code_line.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut remaining: String = self.line.graphemes(true).skip(self.pos).collect(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lineno` [INFO] [stdout] --> src/lexer/code_line.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn process(&mut self, lineno: usize, state: &LexerState) -> Result< Vec, TokError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineno` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/ast/statement.rs:442:25 [INFO] [stdout] | [INFO] [stdout] 442 | fn with_comma(self, comma: Comma) -> ImportAlias<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/lexer/code_line.rs:72:46 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn process(&mut self, lineno: usize, state: &LexerState) -> Result< Vec, TokError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/ast/statement.rs:449:25 [INFO] [stdout] | [INFO] [stdout] 449 | fn with_comma(self, comma: Comma) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/ast/statement.rs:458:25 [INFO] [stdout] | [INFO] [stdout] 458 | fn with_comma(self, comma: Comma) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/ast/statement.rs:467:25 [INFO] [stdout] | [INFO] [stdout] 467 | fn with_comma(self, comma: Comma) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/ast/statement.rs:485:25 [INFO] [stdout] | [INFO] [stdout] 485 | fn with_comma(self, comma: Comma) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/ast/statement.rs:494:25 [INFO] [stdout] | [INFO] [stdout] 494 | fn with_comma(self, comma: Comma) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/ast/expression.rs:517:25 [INFO] [stdout] | [INFO] [stdout] 517 | fn with_comma(self, comma: Comma) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/ast/expression.rs:528:25 [INFO] [stdout] | [INFO] [stdout] 528 | fn with_comma(self, comma: Comma) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast/expression.rs:532:27 [INFO] [stdout] | [INFO] [stdout] 532 | Self::Starred(mut s) => { Self::Starred(s) } [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: variable does not need to be mutable [INFO] [stdout] --> src/lexer/lexer.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn process(mut lines: &mut Vec>, skip_encoding:bool) -> Result>,TokError> { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lexer/lexer.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | for (lineno, mut line) in lines.iter_mut().enumerate() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/lexer/lexer.rs:111:62 [INFO] [stdout] | [INFO] [stdout] 111 | fn tokenize_line<'a>(line: &mut CodeLine<'a>, lineno: usize, state: &mut LexerState) -> Result>,TokError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lexer/lexer.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let mut is_statement: bool = false; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `retstr` [INFO] [stdout] --> src/lexer/lexer.rs:178:16 [INFO] [stdout] | [INFO] [stdout] 129 | Token::quick(TType::Comment, lineno, index, new_idx, &retstr) [INFO] [stdout] | ------- `retstr` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 178 | return Ok(product); [INFO] [stdout] | ^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/lexer/lexer.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | let mut status = lexer.TokenizeFile("test_fixtures/test_float.py"); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lexer/lexer.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | let mut status = lexer.TokenizeFile("test_fixtures/test_float.py"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `lexer.tokens` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/lexer/lexer.rs:191:37 [INFO] [stdout] | [INFO] [stdout] 189 | let mut status = lexer.TokenizeFile("test_fixtures/test_float.py"); [INFO] [stdout] | ----- mutable borrow occurs here [INFO] [stdout] 190 | assert_eq!(lexer.was_error, true); [INFO] [stdout] 191 | println!("I got {} tokens", lexer.tokens.len()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `lexer.was_error` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/lexer/lexer.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 189 | let mut status = lexer.TokenizeFile("test_fixtures/test_float.py"); [INFO] [stdout] | ----- mutable borrow occurs here [INFO] [stdout] 190 | assert_eq!(lexer.was_error, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | mutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lexer/code_line.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut remaining: String = self.line.graphemes(true).skip(self.pos).collect(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lineno` [INFO] [stdout] --> src/lexer/code_line.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn process(&mut self, lineno: usize, state: &LexerState) -> Result< Vec, TokError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lineno` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/lexer/code_line.rs:72:46 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn process(&mut self, lineno: usize, state: &LexerState) -> Result< Vec, TokError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/parser/grammar.rs:1517:20 [INFO] [stdout] | [INFO] [stdout] 1517 | fn make_module<'a>(name: &str, body: Vec>, tok: TokenRef<'a>) -> Module<'a>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `semi` [INFO] [stdout] --> src/parser/grammar.rs:1532:10 [INFO] [stdout] | [INFO] [stdout] 1532 | for (semi, next) in parts.rest { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_semi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_tok` [INFO] [stdout] --> src/parser/grammar.rs:1543:10 [INFO] [stdout] | [INFO] [stdout] 1543 | let (first_tok, body, newline_tok) = _make_simple_statement(parts); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `newline_tok` [INFO] [stdout] --> src/parser/grammar.rs:1543:27 [INFO] [stdout] | [INFO] [stdout] 1543 | let (first_tok, body, newline_tok) = _make_simple_statement(parts); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newline_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def_tok` [INFO] [stdout] --> src/parser/grammar.rs:1569:5 [INFO] [stdout] | [INFO] [stdout] 1569 | def_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_def_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `open_paren_tok` [INFO] [stdout] --> src/parser/grammar.rs:1571:5 [INFO] [stdout] | [INFO] [stdout] 1571 | open_paren_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_open_paren_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `close_paren_tok` [INFO] [stdout] --> src/parser/grammar.rs:1573:5 [INFO] [stdout] | [INFO] [stdout] 1573 | close_paren_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_close_paren_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:1575:5 [INFO] [stdout] | [INFO] [stdout] 1575 | colon_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `at_tok` [INFO] [stdout] --> src/parser/grammar.rs:1590:5 [INFO] [stdout] | [INFO] [stdout] 1590 | at_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_at_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `newline_tok` [INFO] [stdout] --> src/parser/grammar.rs:1592:5 [INFO] [stdout] | [INFO] [stdout] 1592 | newline_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newline_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_tok` [INFO] [stdout] --> src/parser/grammar.rs:1801:10 [INFO] [stdout] | [INFO] [stdout] 1801 | let (first_tok, body, newline_tok) = _make_simple_statement(parts); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `newline_tok` [INFO] [stdout] --> src/parser/grammar.rs:1801:27 [INFO] [stdout] | [INFO] [stdout] 1801 | let (first_tok, body, newline_tok) = _make_simple_statement(parts); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newline_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_tok` [INFO] [stdout] --> src/parser/grammar.rs:1810:10 [INFO] [stdout] | [INFO] [stdout] 1810 | let (first_tok, body, newline_tok) = _make_simple_statement(parts); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `newline_tok` [INFO] [stdout] --> src/parser/grammar.rs:1810:27 [INFO] [stdout] | [INFO] [stdout] 1810 | let (first_tok, body, newline_tok) = _make_simple_statement(parts); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newline_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `if_tok` [INFO] [stdout] --> src/parser/grammar.rs:1818:5 [INFO] [stdout] | [INFO] [stdout] 1818 | if_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_if_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:1820:5 [INFO] [stdout] | [INFO] [stdout] 1820 | colon_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `else_tok` [INFO] [stdout] --> src/parser/grammar.rs:1834:18 [INFO] [stdout] | [INFO] [stdout] 1834 | fn make_else<'a>(else_tok: TokenRef<'a>, colon_tok: TokenRef<'a>, block: Suite<'a>) -> Else<'a> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_else_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:1834:42 [INFO] [stdout] | [INFO] [stdout] 1834 | fn make_else<'a>(else_tok: TokenRef<'a>, colon_tok: TokenRef<'a>, block: Suite<'a>) -> Else<'a> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/parser/grammar.rs:1870:9 [INFO] [stdout] | [INFO] [stdout] 1870 | let comma = comma_tok.map(make_comma); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `star` [INFO] [stdout] --> src/parser/grammar.rs:1883:41 [INFO] [stdout] | [INFO] [stdout] 1883 | fn add_param_star<'a>(param: Param<'a>, star: TokenRef<'a>) -> Param<'a> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_star` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/parser/grammar.rs:1896:15 [INFO] [stdout] | [INFO] [stdout] 1896 | fn make_comma(tok: TokenRef) -> Comma { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dot` [INFO] [stdout] --> src/parser/grammar.rs:1910:13 [INFO] [stdout] | [INFO] [stdout] 1910 | let dot = make_dot(dot); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/parser/grammar.rs:1926:13 [INFO] [stdout] | [INFO] [stdout] 1926 | fn make_dot(tok: TokenRef) -> Dot { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `as_tok` [INFO] [stdout] --> src/parser/grammar.rs:1942:21 [INFO] [stdout] | [INFO] [stdout] 1942 | fn make_as_name<'a>(as_tok: TokenRef<'a>, name: AssignTargetExpression<'a>) -> AsName<'a> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_as_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lpar` [INFO] [stdout] --> src/parser/grammar.rs:1961:10 [INFO] [stdout] | [INFO] [stdout] 1961 | let (lpar, names, rpar) = aliases; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lpar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpar` [INFO] [stdout] --> src/parser/grammar.rs:1961:23 [INFO] [stdout] | [INFO] [stdout] 1961 | let (lpar, names, rpar) = aliases; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rpar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_tok` [INFO] [stdout] --> src/parser/grammar.rs:1955:5 [INFO] [stdout] | [INFO] [stdout] 1955 | from_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `import_tok` [INFO] [stdout] --> src/parser/grammar.rs:1958:5 [INFO] [stdout] | [INFO] [stdout] 1958 | import_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_import_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `import_tok` [INFO] [stdout] --> src/parser/grammar.rs:1970:20 [INFO] [stdout] | [INFO] [stdout] 1970 | fn make_import<'a>(import_tok: TokenRef<'a>, names: Vec>) -> Import<'a> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_import_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/parser/grammar.rs:1982:10 [INFO] [stdout] | [INFO] [stdout] 1982 | for (comma, alias) in tail { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dot` [INFO] [stdout] --> src/parser/grammar.rs:1998:46 [INFO] [stdout] | [INFO] [stdout] 1998 | fn make_attribute<'a>(value: Expression<'a>, dot: TokenRef<'a>, attr: Name<'a>) -> Attribute<'a> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `star_tok` [INFO] [stdout] --> src/parser/grammar.rs:2006:29 [INFO] [stdout] | [INFO] [stdout] 2006 | fn make_starred_element<'a>(star_tok: TokenRef<'a>, rest: Element<'a>) -> StarredElement<'a> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_star_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `equal_tok` [INFO] [stdout] --> src/parser/grammar.rs:2043:18 [INFO] [stdout] | [INFO] [stdout] 2043 | for (target, equal_tok) in lhs { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_equal_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lpar` [INFO] [stdout] --> src/parser/grammar.rs:2067:5 [INFO] [stdout] | [INFO] [stdout] 2067 | lpar: Option>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lpar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpar` [INFO] [stdout] --> src/parser/grammar.rs:2068:5 [INFO] [stdout] | [INFO] [stdout] 2068 | rpar: Option>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rpar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lpar_tok` [INFO] [stdout] --> src/parser/grammar.rs:2109:5 [INFO] [stdout] | [INFO] [stdout] 2109 | lpar_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lpar_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpar_tok` [INFO] [stdout] --> src/parser/grammar.rs:2111:5 [INFO] [stdout] | [INFO] [stdout] 2111 | rpar_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rpar_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/grammar.rs:2122:47 [INFO] [stdout] | [INFO] [stdout] 2122 | fn make_genexp_call<'a>(func: Expression<'a>, mut genexp: GeneratorExp<'a>) -> Call<'a> { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `for_tok` [INFO] [stdout] --> src/parser/grammar.rs:2165:5 [INFO] [stdout] | [INFO] [stdout] 2165 | for_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_for_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_tok` [INFO] [stdout] --> src/parser/grammar.rs:2167:5 [INFO] [stdout] | [INFO] [stdout] 2167 | in_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lbracket` [INFO] [stdout] --> src/parser/grammar.rs:2228:5 [INFO] [stdout] | [INFO] [stdout] 2228 | lbracket: LeftSquareBracket<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lbracket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rbracket` [INFO] [stdout] --> src/parser/grammar.rs:2231:5 [INFO] [stdout] | [INFO] [stdout] 2231 | rbracket: RightSquareBracket<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rbracket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lbrace` [INFO] [stdout] --> src/parser/grammar.rs:2241:5 [INFO] [stdout] | [INFO] [stdout] 2241 | lbrace: LeftCurlyBrace<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lbrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rbrace` [INFO] [stdout] --> src/parser/grammar.rs:2244:5 [INFO] [stdout] | [INFO] [stdout] 2244 | rbrace: RightCurlyBrace<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rbrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:2259:15 [INFO] [stdout] | [INFO] [stdout] 2259 | let (key, colon_tok, value) = kvpair; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lbrace` [INFO] [stdout] --> src/parser/grammar.rs:2254:5 [INFO] [stdout] | [INFO] [stdout] 2254 | lbrace: LeftCurlyBrace<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lbrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rbrace` [INFO] [stdout] --> src/parser/grammar.rs:2257:5 [INFO] [stdout] | [INFO] [stdout] 2257 | rbrace: RightCurlyBrace<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rbrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lbracket` [INFO] [stdout] --> src/parser/grammar.rs:2271:5 [INFO] [stdout] | [INFO] [stdout] 2271 | lbracket: LeftSquareBracket<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lbracket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rbracket` [INFO] [stdout] --> src/parser/grammar.rs:2273:5 [INFO] [stdout] | [INFO] [stdout] 2273 | rbracket: RightSquareBracket<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rbracket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lbrace` [INFO] [stdout] --> src/parser/grammar.rs:2282:5 [INFO] [stdout] | [INFO] [stdout] 2282 | lbrace: LeftCurlyBrace<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lbrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rbrace` [INFO] [stdout] --> src/parser/grammar.rs:2284:5 [INFO] [stdout] | [INFO] [stdout] 2284 | rbrace: RightCurlyBrace<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rbrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lbrace` [INFO] [stdout] --> src/parser/grammar.rs:2313:5 [INFO] [stdout] | [INFO] [stdout] 2313 | lbrace: LeftCurlyBrace<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lbrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rbrace` [INFO] [stdout] --> src/parser/grammar.rs:2315:5 [INFO] [stdout] | [INFO] [stdout] 2315 | rbrace: RightCurlyBrace<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rbrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/parser/grammar.rs:2329:10 [INFO] [stdout] | [INFO] [stdout] 2329 | for (comma, next) in rest { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trailing_comma` [INFO] [stdout] --> src/parser/grammar.rs:2325:5 [INFO] [stdout] | [INFO] [stdout] 2325 | trailing_comma: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trailing_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:2343:15 [INFO] [stdout] | [INFO] [stdout] 2343 | let (key, colon_tok, value) = el; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `star_tok` [INFO] [stdout] --> src/parser/grammar.rs:2351:5 [INFO] [stdout] | [INFO] [stdout] 2351 | star_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_star_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/parser/grammar.rs:2363:15 [INFO] [stdout] | [INFO] [stdout] 2363 | fn make_colon(tok: TokenRef) -> Colon { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_colon` [INFO] [stdout] --> src/parser/grammar.rs:2374:9 [INFO] [stdout] | [INFO] [stdout] 2374 | let first_colon = make_colon(first_colon); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_colon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second_colon` [INFO] [stdout] --> src/parser/grammar.rs:2375:10 [INFO] [stdout] | [INFO] [stdout] 2375 | let (second_colon, step) = if let Some((tok, step)) = rest { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_colon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/parser/grammar.rs:2394:10 [INFO] [stdout] | [INFO] [stdout] 2394 | for (comma, next) in rest { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trailing_comma` [INFO] [stdout] --> src/parser/grammar.rs:2390:5 [INFO] [stdout] | [INFO] [stdout] 2390 | trailing_comma: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trailing_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lbracket_tok` [INFO] [stdout] --> src/parser/grammar.rs:2412:9 [INFO] [stdout] | [INFO] [stdout] 2412 | let lbracket_tok = lbracket.tok.clone(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lbracket_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rbracket` [INFO] [stdout] --> src/parser/grammar.rs:2410:5 [INFO] [stdout] | [INFO] [stdout] 2410 | rbracket: RightSquareBracket<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rbracket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `if_tok` [INFO] [stdout] --> src/parser/grammar.rs:2422:5 [INFO] [stdout] | [INFO] [stdout] 2422 | if_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_if_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `else_tok` [INFO] [stdout] --> src/parser/grammar.rs:2424:5 [INFO] [stdout] | [INFO] [stdout] 2424 | else_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_else_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trailing_comma` [INFO] [stdout] --> src/parser/grammar.rs:2437:5 [INFO] [stdout] | [INFO] [stdout] 2437 | trailing_comma: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trailing_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/grammar.rs:2436:5 [INFO] [stdout] | [INFO] [stdout] 2436 | mut args: Vec>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon` [INFO] [stdout] --> src/parser/grammar.rs:2449:9 [INFO] [stdout] | [INFO] [stdout] 2449 | let colon = make_colon(colon_tok); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_colon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda_tok` [INFO] [stdout] --> src/parser/grammar.rs:2444:5 [INFO] [stdout] | [INFO] [stdout] 2444 | lambda_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/parser/grammar.rs:2457:24 [INFO] [stdout] | [INFO] [stdout] 2457 | fn make_annotation<'a>(tok: TokenRef<'a>, ann: Expression<'a>) -> Annotation<'a> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yield_tok` [INFO] [stdout] --> src/parser/grammar.rs:2466:5 [INFO] [stdout] | [INFO] [stdout] 2466 | yield_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_yield_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/parser/grammar.rs:2482:18 [INFO] [stdout] | [INFO] [stdout] 2482 | fn make_from<'a>(tok: TokenRef<'a>, e: Expression<'a>) -> From<'a> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_tok` [INFO] [stdout] --> src/parser/grammar.rs:2489:20 [INFO] [stdout] | [INFO] [stdout] 2489 | fn make_return<'a>(return_tok: TokenRef<'a>, value: Option>) -> Return<'a> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/parser/grammar.rs:2501:10 [INFO] [stdout] | [INFO] [stdout] 2501 | let (comma, msg) = if let Some((c, msg)) = rest { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `assert_tok` [INFO] [stdout] --> src/parser/grammar.rs:2497:5 [INFO] [stdout] | [INFO] [stdout] 2497 | assert_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_assert_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raise_tok` [INFO] [stdout] --> src/parser/grammar.rs:2515:5 [INFO] [stdout] | [INFO] [stdout] 2515 | raise_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raise_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/parser/grammar.rs:2529:5 [INFO] [stdout] | [INFO] [stdout] 2529 | tok: TokenRef<'a>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/parser/grammar.rs:2535:22 [INFO] [stdout] | [INFO] [stdout] 2535 | .map(|(name, c)| NameItem { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/parser/grammar.rs:2549:5 [INFO] [stdout] | [INFO] [stdout] 2549 | tok: TokenRef<'a>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/parser/grammar.rs:2555:22 [INFO] [stdout] | [INFO] [stdout] 2555 | .map(|(name, c)| NameItem { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `for_tok` [INFO] [stdout] --> src/parser/grammar.rs:2571:5 [INFO] [stdout] | [INFO] [stdout] 2571 | for_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_for_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_tok` [INFO] [stdout] --> src/parser/grammar.rs:2573:5 [INFO] [stdout] | [INFO] [stdout] 2573 | in_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:2575:5 [INFO] [stdout] | [INFO] [stdout] 2575 | colon_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `while_tok` [INFO] [stdout] --> src/parser/grammar.rs:2592:5 [INFO] [stdout] | [INFO] [stdout] 2592 | while_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_while_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:2594:5 [INFO] [stdout] | [INFO] [stdout] 2594 | colon_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `await_tok` [INFO] [stdout] --> src/parser/grammar.rs:2606:19 [INFO] [stdout] | [INFO] [stdout] 2606 | fn make_await<'a>(await_tok: TokenRef<'a>, expression: Expression<'a>) -> Await<'a> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_await_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lpar_` [INFO] [stdout] --> src/parser/grammar.rs:2623:18 [INFO] [stdout] | [INFO] [stdout] 2623 | if let Some((lpar_, args, rpar_)) = args { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lpar_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpar_` [INFO] [stdout] --> src/parser/grammar.rs:2623:31 [INFO] [stdout] | [INFO] [stdout] 2623 | if let Some((lpar_, args, rpar_)) = args { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rpar_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `class_tok` [INFO] [stdout] --> src/parser/grammar.rs:2614:5 [INFO] [stdout] | [INFO] [stdout] 2614 | class_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_class_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:2617:5 [INFO] [stdout] | [INFO] [stdout] 2617 | colon_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/parser/grammar.rs:2665:37 [INFO] [stdout] | [INFO] [stdout] 2665 | strings.fold(first, |acc, (str, tok)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `after_expr_tok` [INFO] [stdout] --> src/parser/grammar.rs:2694:9 [INFO] [stdout] | [INFO] [stdout] 2694 | let after_expr_tok = if equal.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_after_expr_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lbrace_tok` [INFO] [stdout] --> src/parser/grammar.rs:2676:5 [INFO] [stdout] | [INFO] [stdout] 2676 | lbrace_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lbrace_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `finally_tok` [INFO] [stdout] --> src/parser/grammar.rs:2728:5 [INFO] [stdout] | [INFO] [stdout] 2728 | finally_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_finally_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:2729:5 [INFO] [stdout] | [INFO] [stdout] 2729 | colon_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `except_tok` [INFO] [stdout] --> src/parser/grammar.rs:2739:5 [INFO] [stdout] | [INFO] [stdout] 2739 | except_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_except_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:2742:5 [INFO] [stdout] | [INFO] [stdout] 2742 | colon_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `except_tok` [INFO] [stdout] --> src/parser/grammar.rs:2756:5 [INFO] [stdout] | [INFO] [stdout] 2756 | except_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_except_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `star_tok` [INFO] [stdout] --> src/parser/grammar.rs:2757:5 [INFO] [stdout] | [INFO] [stdout] 2757 | star_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_star_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:2760:5 [INFO] [stdout] | [INFO] [stdout] 2760 | colon_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `try_tok` [INFO] [stdout] --> src/parser/grammar.rs:2774:5 [INFO] [stdout] | [INFO] [stdout] 2774 | try_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_try_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `try_tok` [INFO] [stdout] --> src/parser/grammar.rs:2790:5 [INFO] [stdout] | [INFO] [stdout] 2790 | try_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_try_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `with_tok` [INFO] [stdout] --> src/parser/grammar.rs:2856:5 [INFO] [stdout] | [INFO] [stdout] 2856 | with_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_with_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lpar` [INFO] [stdout] --> src/parser/grammar.rs:2857:5 [INFO] [stdout] | [INFO] [stdout] 2857 | lpar: Option>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lpar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpar` [INFO] [stdout] --> src/parser/grammar.rs:2859:5 [INFO] [stdout] | [INFO] [stdout] 2859 | rpar: Option>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rpar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:2860:5 [INFO] [stdout] | [INFO] [stdout] 2860 | colon_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/parser/grammar.rs:2872:17 [INFO] [stdout] | [INFO] [stdout] 2872 | fn make_del<'a>(tok: TokenRef<'a>, target: DelTargetExpression<'a>) -> Del<'a> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lpar` [INFO] [stdout] --> src/parser/grammar.rs:2880:5 [INFO] [stdout] | [INFO] [stdout] 2880 | lpar: Option>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lpar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpar` [INFO] [stdout] --> src/parser/grammar.rs:2882:5 [INFO] [stdout] | [INFO] [stdout] 2882 | rpar: Option>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rpar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/parser/grammar.rs:2890:40 [INFO] [stdout] | [INFO] [stdout] 2890 | fn make_named_expr<'a>(name: Name<'a>, tok: TokenRef<'a>, expr: Expression<'a>) -> NamedExpr<'a> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `match_tok` [INFO] [stdout] --> src/parser/grammar.rs:2899:5 [INFO] [stdout] | [INFO] [stdout] 2899 | match_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_match_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:2901:5 [INFO] [stdout] | [INFO] [stdout] 2901 | colon_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_tok` [INFO] [stdout] --> src/parser/grammar.rs:2902:5 [INFO] [stdout] | [INFO] [stdout] 2902 | indent_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dedent_tok` [INFO] [stdout] --> src/parser/grammar.rs:2904:5 [INFO] [stdout] | [INFO] [stdout] 2904 | dedent_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dedent_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `if_tok` [INFO] [stdout] --> src/parser/grammar.rs:2920:10 [INFO] [stdout] | [INFO] [stdout] 2920 | let (if_tok, guard) = match guard { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_if_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `case_tok` [INFO] [stdout] --> src/parser/grammar.rs:2914:5 [INFO] [stdout] | [INFO] [stdout] 2914 | case_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_case_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:2917:5 [INFO] [stdout] | [INFO] [stdout] 2917 | colon_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lbracket` [INFO] [stdout] --> src/parser/grammar.rs:2941:5 [INFO] [stdout] | [INFO] [stdout] 2941 | lbracket: Option>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lbracket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rbracket` [INFO] [stdout] --> src/parser/grammar.rs:2943:5 [INFO] [stdout] | [INFO] [stdout] 2943 | rbracket: Option>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rbracket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `as_tok` [INFO] [stdout] --> src/parser/grammar.rs:2953:5 [INFO] [stdout] | [INFO] [stdout] 2953 | as_tok: Option>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_as_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/parser/grammar.rs:2963:16 [INFO] [stdout] | [INFO] [stdout] 2963 | fn make_bit_or(tok: TokenRef) -> BitOr { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lpar` [INFO] [stdout] --> src/parser/grammar.rs:3010:5 [INFO] [stdout] | [INFO] [stdout] 3010 | lpar: LeftParen<'a>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lpar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpar` [INFO] [stdout] --> src/parser/grammar.rs:3012:5 [INFO] [stdout] | [INFO] [stdout] 3012 | rpar: RightParen<'a>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rpar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/parser/grammar.rs:3022:5 [INFO] [stdout] | [INFO] [stdout] 3022 | comma: Comma, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `star_tok` [INFO] [stdout] --> src/parser/grammar.rs:3035:24 [INFO] [stdout] | [INFO] [stdout] 3035 | fn make_match_star<'a>(star_tok: TokenRef<'a>, name: Option>) -> MatchStar<'a> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_star_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/parser/grammar.rs:3051:17 [INFO] [stdout] | [INFO] [stdout] 3051 | if let Some(c) = el_comma { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lbrace` [INFO] [stdout] --> src/parser/grammar.rs:3043:5 [INFO] [stdout] | [INFO] [stdout] 3043 | lbrace: LeftCurlyBrace<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lbrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `star_tok` [INFO] [stdout] --> src/parser/grammar.rs:3046:5 [INFO] [stdout] | [INFO] [stdout] 3046 | star_tok: Option>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_star_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trailing_comma` [INFO] [stdout] --> src/parser/grammar.rs:3048:5 [INFO] [stdout] | [INFO] [stdout] 3048 | trailing_comma: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trailing_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rbrace` [INFO] [stdout] --> src/parser/grammar.rs:3049:5 [INFO] [stdout] | [INFO] [stdout] 3049 | rbrace: RightCurlyBrace<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rbrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/grammar.rs:3044:5 [INFO] [stdout] | [INFO] [stdout] 3044 | mut elements: Vec>, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:3064:5 [INFO] [stdout] | [INFO] [stdout] 3064 | colon_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/parser/grammar.rs:3083:17 [INFO] [stdout] | [INFO] [stdout] 3083 | if let Some(c) = pat_comma { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/parser/grammar.rs:3089:17 [INFO] [stdout] | [INFO] [stdout] 3089 | if let Some(c) = kwd_comma { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lpar_tok` [INFO] [stdout] --> src/parser/grammar.rs:3076:5 [INFO] [stdout] | [INFO] [stdout] 3076 | lpar_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lpar_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpar_tok` [INFO] [stdout] --> src/parser/grammar.rs:3081:5 [INFO] [stdout] | [INFO] [stdout] 3081 | rpar_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rpar_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `equal_tok` [INFO] [stdout] --> src/parser/grammar.rs:3105:5 [INFO] [stdout] | [INFO] [stdout] 3105 | equal_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_equal_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut args = env::args(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut args = env::args(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0515. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rython3` (bin "rython3") due to 3 previous errors; 180 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/parser/grammar.rs:1517:20 [INFO] [stdout] | [INFO] [stdout] 1517 | fn make_module<'a>(name: &str, body: Vec>, tok: TokenRef<'a>) -> Module<'a>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `semi` [INFO] [stdout] --> src/parser/grammar.rs:1532:10 [INFO] [stdout] | [INFO] [stdout] 1532 | for (semi, next) in parts.rest { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_semi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_tok` [INFO] [stdout] --> src/parser/grammar.rs:1543:10 [INFO] [stdout] | [INFO] [stdout] 1543 | let (first_tok, body, newline_tok) = _make_simple_statement(parts); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `newline_tok` [INFO] [stdout] --> src/parser/grammar.rs:1543:27 [INFO] [stdout] | [INFO] [stdout] 1543 | let (first_tok, body, newline_tok) = _make_simple_statement(parts); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newline_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def_tok` [INFO] [stdout] --> src/parser/grammar.rs:1569:5 [INFO] [stdout] | [INFO] [stdout] 1569 | def_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_def_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `open_paren_tok` [INFO] [stdout] --> src/parser/grammar.rs:1571:5 [INFO] [stdout] | [INFO] [stdout] 1571 | open_paren_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_open_paren_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `close_paren_tok` [INFO] [stdout] --> src/parser/grammar.rs:1573:5 [INFO] [stdout] | [INFO] [stdout] 1573 | close_paren_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_close_paren_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:1575:5 [INFO] [stdout] | [INFO] [stdout] 1575 | colon_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `at_tok` [INFO] [stdout] --> src/parser/grammar.rs:1590:5 [INFO] [stdout] | [INFO] [stdout] 1590 | at_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_at_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `newline_tok` [INFO] [stdout] --> src/parser/grammar.rs:1592:5 [INFO] [stdout] | [INFO] [stdout] 1592 | newline_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newline_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_tok` [INFO] [stdout] --> src/parser/grammar.rs:1801:10 [INFO] [stdout] | [INFO] [stdout] 1801 | let (first_tok, body, newline_tok) = _make_simple_statement(parts); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `newline_tok` [INFO] [stdout] --> src/parser/grammar.rs:1801:27 [INFO] [stdout] | [INFO] [stdout] 1801 | let (first_tok, body, newline_tok) = _make_simple_statement(parts); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newline_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_tok` [INFO] [stdout] --> src/parser/grammar.rs:1810:10 [INFO] [stdout] | [INFO] [stdout] 1810 | let (first_tok, body, newline_tok) = _make_simple_statement(parts); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `newline_tok` [INFO] [stdout] --> src/parser/grammar.rs:1810:27 [INFO] [stdout] | [INFO] [stdout] 1810 | let (first_tok, body, newline_tok) = _make_simple_statement(parts); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newline_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `if_tok` [INFO] [stdout] --> src/parser/grammar.rs:1818:5 [INFO] [stdout] | [INFO] [stdout] 1818 | if_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_if_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:1820:5 [INFO] [stdout] | [INFO] [stdout] 1820 | colon_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `else_tok` [INFO] [stdout] --> src/parser/grammar.rs:1834:18 [INFO] [stdout] | [INFO] [stdout] 1834 | fn make_else<'a>(else_tok: TokenRef<'a>, colon_tok: TokenRef<'a>, block: Suite<'a>) -> Else<'a> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_else_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:1834:42 [INFO] [stdout] | [INFO] [stdout] 1834 | fn make_else<'a>(else_tok: TokenRef<'a>, colon_tok: TokenRef<'a>, block: Suite<'a>) -> Else<'a> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/parser/grammar.rs:1870:9 [INFO] [stdout] | [INFO] [stdout] 1870 | let comma = comma_tok.map(make_comma); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `star` [INFO] [stdout] --> src/parser/grammar.rs:1883:41 [INFO] [stdout] | [INFO] [stdout] 1883 | fn add_param_star<'a>(param: Param<'a>, star: TokenRef<'a>) -> Param<'a> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_star` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/parser/grammar.rs:1896:15 [INFO] [stdout] | [INFO] [stdout] 1896 | fn make_comma(tok: TokenRef) -> Comma { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dot` [INFO] [stdout] --> src/parser/grammar.rs:1910:13 [INFO] [stdout] | [INFO] [stdout] 1910 | let dot = make_dot(dot); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/parser/grammar.rs:1926:13 [INFO] [stdout] | [INFO] [stdout] 1926 | fn make_dot(tok: TokenRef) -> Dot { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `as_tok` [INFO] [stdout] --> src/parser/grammar.rs:1942:21 [INFO] [stdout] | [INFO] [stdout] 1942 | fn make_as_name<'a>(as_tok: TokenRef<'a>, name: AssignTargetExpression<'a>) -> AsName<'a> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_as_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lpar` [INFO] [stdout] --> src/parser/grammar.rs:1961:10 [INFO] [stdout] | [INFO] [stdout] 1961 | let (lpar, names, rpar) = aliases; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lpar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpar` [INFO] [stdout] --> src/parser/grammar.rs:1961:23 [INFO] [stdout] | [INFO] [stdout] 1961 | let (lpar, names, rpar) = aliases; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rpar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_tok` [INFO] [stdout] --> src/parser/grammar.rs:1955:5 [INFO] [stdout] | [INFO] [stdout] 1955 | from_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `import_tok` [INFO] [stdout] --> src/parser/grammar.rs:1958:5 [INFO] [stdout] | [INFO] [stdout] 1958 | import_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_import_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `import_tok` [INFO] [stdout] --> src/parser/grammar.rs:1970:20 [INFO] [stdout] | [INFO] [stdout] 1970 | fn make_import<'a>(import_tok: TokenRef<'a>, names: Vec>) -> Import<'a> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_import_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/parser/grammar.rs:1982:10 [INFO] [stdout] | [INFO] [stdout] 1982 | for (comma, alias) in tail { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dot` [INFO] [stdout] --> src/parser/grammar.rs:1998:46 [INFO] [stdout] | [INFO] [stdout] 1998 | fn make_attribute<'a>(value: Expression<'a>, dot: TokenRef<'a>, attr: Name<'a>) -> Attribute<'a> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `star_tok` [INFO] [stdout] --> src/parser/grammar.rs:2006:29 [INFO] [stdout] | [INFO] [stdout] 2006 | fn make_starred_element<'a>(star_tok: TokenRef<'a>, rest: Element<'a>) -> StarredElement<'a> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_star_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `equal_tok` [INFO] [stdout] --> src/parser/grammar.rs:2043:18 [INFO] [stdout] | [INFO] [stdout] 2043 | for (target, equal_tok) in lhs { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_equal_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lpar` [INFO] [stdout] --> src/parser/grammar.rs:2067:5 [INFO] [stdout] | [INFO] [stdout] 2067 | lpar: Option>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lpar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpar` [INFO] [stdout] --> src/parser/grammar.rs:2068:5 [INFO] [stdout] | [INFO] [stdout] 2068 | rpar: Option>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rpar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lpar_tok` [INFO] [stdout] --> src/parser/grammar.rs:2109:5 [INFO] [stdout] | [INFO] [stdout] 2109 | lpar_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lpar_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpar_tok` [INFO] [stdout] --> src/parser/grammar.rs:2111:5 [INFO] [stdout] | [INFO] [stdout] 2111 | rpar_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rpar_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/grammar.rs:2122:47 [INFO] [stdout] | [INFO] [stdout] 2122 | fn make_genexp_call<'a>(func: Expression<'a>, mut genexp: GeneratorExp<'a>) -> Call<'a> { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `for_tok` [INFO] [stdout] --> src/parser/grammar.rs:2165:5 [INFO] [stdout] | [INFO] [stdout] 2165 | for_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_for_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_tok` [INFO] [stdout] --> src/parser/grammar.rs:2167:5 [INFO] [stdout] | [INFO] [stdout] 2167 | in_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lbracket` [INFO] [stdout] --> src/parser/grammar.rs:2228:5 [INFO] [stdout] | [INFO] [stdout] 2228 | lbracket: LeftSquareBracket<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lbracket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rbracket` [INFO] [stdout] --> src/parser/grammar.rs:2231:5 [INFO] [stdout] | [INFO] [stdout] 2231 | rbracket: RightSquareBracket<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rbracket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lbrace` [INFO] [stdout] --> src/parser/grammar.rs:2241:5 [INFO] [stdout] | [INFO] [stdout] 2241 | lbrace: LeftCurlyBrace<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lbrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rbrace` [INFO] [stdout] --> src/parser/grammar.rs:2244:5 [INFO] [stdout] | [INFO] [stdout] 2244 | rbrace: RightCurlyBrace<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rbrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:2259:15 [INFO] [stdout] | [INFO] [stdout] 2259 | let (key, colon_tok, value) = kvpair; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lbrace` [INFO] [stdout] --> src/parser/grammar.rs:2254:5 [INFO] [stdout] | [INFO] [stdout] 2254 | lbrace: LeftCurlyBrace<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lbrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rbrace` [INFO] [stdout] --> src/parser/grammar.rs:2257:5 [INFO] [stdout] | [INFO] [stdout] 2257 | rbrace: RightCurlyBrace<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rbrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lbracket` [INFO] [stdout] --> src/parser/grammar.rs:2271:5 [INFO] [stdout] | [INFO] [stdout] 2271 | lbracket: LeftSquareBracket<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lbracket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rbracket` [INFO] [stdout] --> src/parser/grammar.rs:2273:5 [INFO] [stdout] | [INFO] [stdout] 2273 | rbracket: RightSquareBracket<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rbracket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lbrace` [INFO] [stdout] --> src/parser/grammar.rs:2282:5 [INFO] [stdout] | [INFO] [stdout] 2282 | lbrace: LeftCurlyBrace<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lbrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rbrace` [INFO] [stdout] --> src/parser/grammar.rs:2284:5 [INFO] [stdout] | [INFO] [stdout] 2284 | rbrace: RightCurlyBrace<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rbrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lbrace` [INFO] [stdout] --> src/parser/grammar.rs:2313:5 [INFO] [stdout] | [INFO] [stdout] 2313 | lbrace: LeftCurlyBrace<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lbrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rbrace` [INFO] [stdout] --> src/parser/grammar.rs:2315:5 [INFO] [stdout] | [INFO] [stdout] 2315 | rbrace: RightCurlyBrace<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rbrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/parser/grammar.rs:2329:10 [INFO] [stdout] | [INFO] [stdout] 2329 | for (comma, next) in rest { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trailing_comma` [INFO] [stdout] --> src/parser/grammar.rs:2325:5 [INFO] [stdout] | [INFO] [stdout] 2325 | trailing_comma: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trailing_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:2343:15 [INFO] [stdout] | [INFO] [stdout] 2343 | let (key, colon_tok, value) = el; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `star_tok` [INFO] [stdout] --> src/parser/grammar.rs:2351:5 [INFO] [stdout] | [INFO] [stdout] 2351 | star_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_star_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/parser/grammar.rs:2363:15 [INFO] [stdout] | [INFO] [stdout] 2363 | fn make_colon(tok: TokenRef) -> Colon { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_colon` [INFO] [stdout] --> src/parser/grammar.rs:2374:9 [INFO] [stdout] | [INFO] [stdout] 2374 | let first_colon = make_colon(first_colon); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_colon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second_colon` [INFO] [stdout] --> src/parser/grammar.rs:2375:10 [INFO] [stdout] | [INFO] [stdout] 2375 | let (second_colon, step) = if let Some((tok, step)) = rest { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_colon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/parser/grammar.rs:2394:10 [INFO] [stdout] | [INFO] [stdout] 2394 | for (comma, next) in rest { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trailing_comma` [INFO] [stdout] --> src/parser/grammar.rs:2390:5 [INFO] [stdout] | [INFO] [stdout] 2390 | trailing_comma: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trailing_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lbracket_tok` [INFO] [stdout] --> src/parser/grammar.rs:2412:9 [INFO] [stdout] | [INFO] [stdout] 2412 | let lbracket_tok = lbracket.tok.clone(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lbracket_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rbracket` [INFO] [stdout] --> src/parser/grammar.rs:2410:5 [INFO] [stdout] | [INFO] [stdout] 2410 | rbracket: RightSquareBracket<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rbracket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `if_tok` [INFO] [stdout] --> src/parser/grammar.rs:2422:5 [INFO] [stdout] | [INFO] [stdout] 2422 | if_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_if_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `else_tok` [INFO] [stdout] --> src/parser/grammar.rs:2424:5 [INFO] [stdout] | [INFO] [stdout] 2424 | else_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_else_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trailing_comma` [INFO] [stdout] --> src/parser/grammar.rs:2437:5 [INFO] [stdout] | [INFO] [stdout] 2437 | trailing_comma: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trailing_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/grammar.rs:2436:5 [INFO] [stdout] | [INFO] [stdout] 2436 | mut args: Vec>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon` [INFO] [stdout] --> src/parser/grammar.rs:2449:9 [INFO] [stdout] | [INFO] [stdout] 2449 | let colon = make_colon(colon_tok); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_colon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda_tok` [INFO] [stdout] --> src/parser/grammar.rs:2444:5 [INFO] [stdout] | [INFO] [stdout] 2444 | lambda_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/parser/grammar.rs:2457:24 [INFO] [stdout] | [INFO] [stdout] 2457 | fn make_annotation<'a>(tok: TokenRef<'a>, ann: Expression<'a>) -> Annotation<'a> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yield_tok` [INFO] [stdout] --> src/parser/grammar.rs:2466:5 [INFO] [stdout] | [INFO] [stdout] 2466 | yield_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_yield_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/parser/grammar.rs:2482:18 [INFO] [stdout] | [INFO] [stdout] 2482 | fn make_from<'a>(tok: TokenRef<'a>, e: Expression<'a>) -> From<'a> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_tok` [INFO] [stdout] --> src/parser/grammar.rs:2489:20 [INFO] [stdout] | [INFO] [stdout] 2489 | fn make_return<'a>(return_tok: TokenRef<'a>, value: Option>) -> Return<'a> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/parser/grammar.rs:2501:10 [INFO] [stdout] | [INFO] [stdout] 2501 | let (comma, msg) = if let Some((c, msg)) = rest { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `assert_tok` [INFO] [stdout] --> src/parser/grammar.rs:2497:5 [INFO] [stdout] | [INFO] [stdout] 2497 | assert_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_assert_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raise_tok` [INFO] [stdout] --> src/parser/grammar.rs:2515:5 [INFO] [stdout] | [INFO] [stdout] 2515 | raise_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raise_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/parser/grammar.rs:2529:5 [INFO] [stdout] | [INFO] [stdout] 2529 | tok: TokenRef<'a>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/parser/grammar.rs:2535:22 [INFO] [stdout] | [INFO] [stdout] 2535 | .map(|(name, c)| NameItem { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/parser/grammar.rs:2549:5 [INFO] [stdout] | [INFO] [stdout] 2549 | tok: TokenRef<'a>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/parser/grammar.rs:2555:22 [INFO] [stdout] | [INFO] [stdout] 2555 | .map(|(name, c)| NameItem { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `for_tok` [INFO] [stdout] --> src/parser/grammar.rs:2571:5 [INFO] [stdout] | [INFO] [stdout] 2571 | for_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_for_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_tok` [INFO] [stdout] --> src/parser/grammar.rs:2573:5 [INFO] [stdout] | [INFO] [stdout] 2573 | in_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:2575:5 [INFO] [stdout] | [INFO] [stdout] 2575 | colon_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `while_tok` [INFO] [stdout] --> src/parser/grammar.rs:2592:5 [INFO] [stdout] | [INFO] [stdout] 2592 | while_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_while_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:2594:5 [INFO] [stdout] | [INFO] [stdout] 2594 | colon_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `await_tok` [INFO] [stdout] --> src/parser/grammar.rs:2606:19 [INFO] [stdout] | [INFO] [stdout] 2606 | fn make_await<'a>(await_tok: TokenRef<'a>, expression: Expression<'a>) -> Await<'a> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_await_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lpar_` [INFO] [stdout] --> src/parser/grammar.rs:2623:18 [INFO] [stdout] | [INFO] [stdout] 2623 | if let Some((lpar_, args, rpar_)) = args { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lpar_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpar_` [INFO] [stdout] --> src/parser/grammar.rs:2623:31 [INFO] [stdout] | [INFO] [stdout] 2623 | if let Some((lpar_, args, rpar_)) = args { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rpar_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `class_tok` [INFO] [stdout] --> src/parser/grammar.rs:2614:5 [INFO] [stdout] | [INFO] [stdout] 2614 | class_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_class_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:2617:5 [INFO] [stdout] | [INFO] [stdout] 2617 | colon_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/parser/grammar.rs:2665:37 [INFO] [stdout] | [INFO] [stdout] 2665 | strings.fold(first, |acc, (str, tok)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `after_expr_tok` [INFO] [stdout] --> src/parser/grammar.rs:2694:9 [INFO] [stdout] | [INFO] [stdout] 2694 | let after_expr_tok = if equal.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_after_expr_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lbrace_tok` [INFO] [stdout] --> src/parser/grammar.rs:2676:5 [INFO] [stdout] | [INFO] [stdout] 2676 | lbrace_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lbrace_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `finally_tok` [INFO] [stdout] --> src/parser/grammar.rs:2728:5 [INFO] [stdout] | [INFO] [stdout] 2728 | finally_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_finally_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:2729:5 [INFO] [stdout] | [INFO] [stdout] 2729 | colon_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `except_tok` [INFO] [stdout] --> src/parser/grammar.rs:2739:5 [INFO] [stdout] | [INFO] [stdout] 2739 | except_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_except_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:2742:5 [INFO] [stdout] | [INFO] [stdout] 2742 | colon_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `except_tok` [INFO] [stdout] --> src/parser/grammar.rs:2756:5 [INFO] [stdout] | [INFO] [stdout] 2756 | except_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_except_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `star_tok` [INFO] [stdout] --> src/parser/grammar.rs:2757:5 [INFO] [stdout] | [INFO] [stdout] 2757 | star_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_star_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:2760:5 [INFO] [stdout] | [INFO] [stdout] 2760 | colon_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `try_tok` [INFO] [stdout] --> src/parser/grammar.rs:2774:5 [INFO] [stdout] | [INFO] [stdout] 2774 | try_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_try_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `try_tok` [INFO] [stdout] --> src/parser/grammar.rs:2790:5 [INFO] [stdout] | [INFO] [stdout] 2790 | try_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_try_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `with_tok` [INFO] [stdout] --> src/parser/grammar.rs:2856:5 [INFO] [stdout] | [INFO] [stdout] 2856 | with_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_with_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lpar` [INFO] [stdout] --> src/parser/grammar.rs:2857:5 [INFO] [stdout] | [INFO] [stdout] 2857 | lpar: Option>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lpar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpar` [INFO] [stdout] --> src/parser/grammar.rs:2859:5 [INFO] [stdout] | [INFO] [stdout] 2859 | rpar: Option>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rpar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:2860:5 [INFO] [stdout] | [INFO] [stdout] 2860 | colon_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/parser/grammar.rs:2872:17 [INFO] [stdout] | [INFO] [stdout] 2872 | fn make_del<'a>(tok: TokenRef<'a>, target: DelTargetExpression<'a>) -> Del<'a> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lpar` [INFO] [stdout] --> src/parser/grammar.rs:2880:5 [INFO] [stdout] | [INFO] [stdout] 2880 | lpar: Option>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lpar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpar` [INFO] [stdout] --> src/parser/grammar.rs:2882:5 [INFO] [stdout] | [INFO] [stdout] 2882 | rpar: Option>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rpar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/parser/grammar.rs:2890:40 [INFO] [stdout] | [INFO] [stdout] 2890 | fn make_named_expr<'a>(name: Name<'a>, tok: TokenRef<'a>, expr: Expression<'a>) -> NamedExpr<'a> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `match_tok` [INFO] [stdout] --> src/parser/grammar.rs:2899:5 [INFO] [stdout] | [INFO] [stdout] 2899 | match_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_match_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:2901:5 [INFO] [stdout] | [INFO] [stdout] 2901 | colon_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indent_tok` [INFO] [stdout] --> src/parser/grammar.rs:2902:5 [INFO] [stdout] | [INFO] [stdout] 2902 | indent_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indent_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dedent_tok` [INFO] [stdout] --> src/parser/grammar.rs:2904:5 [INFO] [stdout] | [INFO] [stdout] 2904 | dedent_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dedent_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `if_tok` [INFO] [stdout] --> src/parser/grammar.rs:2920:10 [INFO] [stdout] | [INFO] [stdout] 2920 | let (if_tok, guard) = match guard { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_if_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `case_tok` [INFO] [stdout] --> src/parser/grammar.rs:2914:5 [INFO] [stdout] | [INFO] [stdout] 2914 | case_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_case_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:2917:5 [INFO] [stdout] | [INFO] [stdout] 2917 | colon_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lbracket` [INFO] [stdout] --> src/parser/grammar.rs:2941:5 [INFO] [stdout] | [INFO] [stdout] 2941 | lbracket: Option>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lbracket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rbracket` [INFO] [stdout] --> src/parser/grammar.rs:2943:5 [INFO] [stdout] | [INFO] [stdout] 2943 | rbracket: Option>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rbracket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `as_tok` [INFO] [stdout] --> src/parser/grammar.rs:2953:5 [INFO] [stdout] | [INFO] [stdout] 2953 | as_tok: Option>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_as_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok` [INFO] [stdout] --> src/parser/grammar.rs:2963:16 [INFO] [stdout] | [INFO] [stdout] 2963 | fn make_bit_or(tok: TokenRef) -> BitOr { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lpar` [INFO] [stdout] --> src/parser/grammar.rs:3010:5 [INFO] [stdout] | [INFO] [stdout] 3010 | lpar: LeftParen<'a>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lpar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpar` [INFO] [stdout] --> src/parser/grammar.rs:3012:5 [INFO] [stdout] | [INFO] [stdout] 3012 | rpar: RightParen<'a>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rpar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comma` [INFO] [stdout] --> src/parser/grammar.rs:3022:5 [INFO] [stdout] | [INFO] [stdout] 3022 | comma: Comma, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `star_tok` [INFO] [stdout] --> src/parser/grammar.rs:3035:24 [INFO] [stdout] | [INFO] [stdout] 3035 | fn make_match_star<'a>(star_tok: TokenRef<'a>, name: Option>) -> MatchStar<'a> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_star_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/parser/grammar.rs:3051:17 [INFO] [stdout] | [INFO] [stdout] 3051 | if let Some(c) = el_comma { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lbrace` [INFO] [stdout] --> src/parser/grammar.rs:3043:5 [INFO] [stdout] | [INFO] [stdout] 3043 | lbrace: LeftCurlyBrace<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lbrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `star_tok` [INFO] [stdout] --> src/parser/grammar.rs:3046:5 [INFO] [stdout] | [INFO] [stdout] 3046 | star_tok: Option>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_star_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trailing_comma` [INFO] [stdout] --> src/parser/grammar.rs:3048:5 [INFO] [stdout] | [INFO] [stdout] 3048 | trailing_comma: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trailing_comma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rbrace` [INFO] [stdout] --> src/parser/grammar.rs:3049:5 [INFO] [stdout] | [INFO] [stdout] 3049 | rbrace: RightCurlyBrace<'a>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rbrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/grammar.rs:3044:5 [INFO] [stdout] | [INFO] [stdout] 3044 | mut elements: Vec>, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `colon_tok` [INFO] [stdout] --> src/parser/grammar.rs:3064:5 [INFO] [stdout] | [INFO] [stdout] 3064 | colon_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_colon_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/parser/grammar.rs:3083:17 [INFO] [stdout] | [INFO] [stdout] 3083 | if let Some(c) = pat_comma { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/parser/grammar.rs:3089:17 [INFO] [stdout] | [INFO] [stdout] 3089 | if let Some(c) = kwd_comma { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lpar_tok` [INFO] [stdout] --> src/parser/grammar.rs:3076:5 [INFO] [stdout] | [INFO] [stdout] 3076 | lpar_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lpar_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpar_tok` [INFO] [stdout] --> src/parser/grammar.rs:3081:5 [INFO] [stdout] | [INFO] [stdout] 3081 | rpar_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rpar_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `equal_tok` [INFO] [stdout] --> src/parser/grammar.rs:3105:5 [INFO] [stdout] | [INFO] [stdout] 3105 | equal_tok: TokenRef<'a>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_equal_tok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut args = env::args(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut args = env::args(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0502, E0515. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rython3` (bin "rython3" test) due to 5 previous errors; 186 warnings emitted [INFO] running `Command { std: "docker" "inspect" "13762d8e4978817c0448388b976734583211dc2219f885b07559306f72b647fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13762d8e4978817c0448388b976734583211dc2219f885b07559306f72b647fb", kill_on_drop: false }` [INFO] [stdout] 13762d8e4978817c0448388b976734583211dc2219f885b07559306f72b647fb