[INFO] cloning repository https://github.com/devdave/rython4
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/devdave/rython4" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevdave%2Frython4", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevdave%2Frython4'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2464483dac9a3090f9b1046262c05ccdac85e68d
[INFO] checking devdave/rython4 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevdave%2Frython4" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/devdave/rython4 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/devdave/rython4
[INFO] finished tweaking git repo https://github.com/devdave/rython4
[INFO] tweaked toml for git repo https://github.com/devdave/rython4 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/devdave/rython4 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating git repository `https://github.com/kevinmehall/rust-peg`
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded ntest_proc_macro_helper v0.8.0
[INFO] [stderr] Downloaded ntest_test_cases v0.8.0
[INFO] [stderr] Downloaded ntest_timeout v0.8.1
[INFO] [stderr] Downloaded ntest v0.8.1
[INFO] [stderr] Downloaded pretty_env_logger v0.3.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5b6a29dc22b8b906a192a9726f8e7a94826e040c09617f7e6f7a18e9ebfcf203
[INFO] running `Command { std: "docker" "start" "-a" "5b6a29dc22b8b906a192a9726f8e7a94826e040c09617f7e6f7a18e9ebfcf203", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5b6a29dc22b8b906a192a9726f8e7a94826e040c09617f7e6f7a18e9ebfcf203", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b6a29dc22b8b906a192a9726f8e7a94826e040c09617f7e6f7a18e9ebfcf203", kill_on_drop: false }`
[INFO] [stdout] 5b6a29dc22b8b906a192a9726f8e7a94826e040c09617f7e6f7a18e9ebfcf203
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4c68b7848805086d74c9f5b8a9dd99fe7795ef6bfc89fee2393adb37b1b08874
[INFO] running `Command { std: "docker" "start" "-a" "4c68b7848805086d74c9f5b8a9dd99fe7795ef6bfc89fee2393adb37b1b08874", kill_on_drop: false }`
[INFO] [stderr] Compiling proc-macro2 v1.0.43
[INFO] [stderr] Compiling unicode-ident v1.0.4
[INFO] [stderr] Compiling quote v1.0.21
[INFO] [stderr] Compiling syn v1.0.99
[INFO] [stderr] Compiling libc v0.2.132
[INFO] [stderr] Compiling thiserror v1.0.35
[INFO] [stderr] Compiling serde v1.0.147
[INFO] [stderr] Compiling log v0.4.17
[INFO] [stderr] Checking termcolor v1.1.3
[INFO] [stderr] Checking quick-error v1.2.3
[INFO] [stderr] Checking regex-syntax v0.6.27
[INFO] [stderr] Checking os_str_bytes v6.3.0
[INFO] [stderr] Compiling num-traits v0.2.15
[INFO] [stderr] Compiling num-integer v0.1.45
[INFO] [stderr] Checking aho-corasick v0.7.19
[INFO] [stderr] Compiling indexmap v1.9.1
[INFO] [stderr] Checking humantime v1.3.0
[INFO] [stderr] Compiling peg-runtime v0.7.0 (https://github.com/kevinmehall/rust-peg?rev=4b146b4b78a80c07e43d7ace2d97f65bfde279a8#4b146b4b)
[INFO] [stderr] Compiling once_cell v1.14.0
[INFO] [stderr] Compiling heck v0.4.0
[INFO] [stderr] Checking iana-time-zone v0.1.48
[INFO] [stderr] Checking clap_lex v0.2.4
[INFO] [stderr] Compiling ntest_proc_macro_helper v0.8.0
[INFO] [stderr] Checking textwrap v0.15.1
[INFO] [stderr] Checking unicode-segmentation v1.10.0
[INFO] [stderr] Checking atty v0.2.14
[INFO] [stderr] Checking time v0.1.44
[INFO] [stderr] Compiling proc-macro-error-attr v1.0.4
[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 chrono v0.4.22
[INFO] [stderr] Checking peg v0.7.0 (https://github.com/kevinmehall/rust-peg?rev=4b146b4b78a80c07e43d7ace2d97f65bfde279a8#4b146b4b)
[INFO] [stderr] Checking env_logger v0.6.2
[INFO] [stderr] Checking pretty_env_logger v0.3.1
[INFO] [stderr] Compiling proc-macro-error v1.0.4
[INFO] [stderr] Compiling toml v0.5.9
[INFO] [stderr] Compiling thiserror-impl v1.0.35
[INFO] [stderr] Compiling clap_derive v3.2.18
[INFO] [stderr] Compiling ntest_test_cases v0.8.0
[INFO] [stderr] Compiling proc-macro-crate v1.2.1
[INFO] [stderr] Compiling ntest_timeout v0.8.1
[INFO] [stderr] Checking clap v3.2.22
[INFO] [stderr] Checking ntest v0.8.1
[INFO] [stderr] Checking rython4 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `String` is imported redundantly
[INFO] [stdout] --> src/lexer/code_line.rs:3:5
[INFO] [stdout] |
[INFO] [stdout] 3 | use std::string::String;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13
[INFO] [stdout] |
[INFO] [stdout] = note: the item `String` is already defined here
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `once_cell` is imported redundantly
[INFO] [stdout] --> src/tokens/patterns.rs:2:5
[INFO] [stdout] |
[INFO] [stdout] 2 | use clap::__macro_refs::once_cell;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the item `once_cell` is already defined by prelude
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `thiserror` is imported redundantly
[INFO] [stdout] --> src/tokens/error.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use thiserror;
[INFO] [stdout] | ^^^^^^^^^ the item `thiserror` is already defined by prelude
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout] --> src/parser/tests.rs:5:5
[INFO] [stdout] |
[INFO] [stdout] 5 | use std::fs;
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout] --> src/parser/tests.rs:6:5
[INFO] [stdout] |
[INFO] [stdout] 6 | use std::rc::Rc;
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Float`, `Hexidecimal`, `Imaginary`, `Integer`
[INFO] [stdout] --> src/ast/mod.rs:14:19
[INFO] [stdout] |
[INFO] [stdout] 14 | pub use numbers::{Integer, Float, Imaginary, Hexidecimal};
[INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Semicolon`
[INFO] [stdout] --> src/ast/mod.rs:37:5
[INFO] [stdout] |
[INFO] [stdout] 37 | Semicolon, Colon,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `BaseSlice`, `ComparisonTarget`, `Else`, `SimpleStatementSuite`
[INFO] [stdout] --> src/walker/mod.rs:5:109
[INFO] [stdout] |
[INFO] [stdout] 5 | ...p, BaseSlice, BinaryOp, BooleanOp, ComparisonTarget, CompFor, CompOp, CompoundStatement, DelTargetExpression, DictElement, Element, Else, Expression, For, FunctionDef, If, Import, ImportFrom, Match, MatchCase, MatchPattern, MatchSequence, NameOrAttribute, Parameters, Return, SimpleStatementSuite, S...
[INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast::Expression::BooleanOperation`
[INFO] [stdout] --> src/walker/mod.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | use crate::ast::Expression::BooleanOperation;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast`
[INFO] [stdout] --> src/compiler/symbolizer.rs:4:5
[INFO] [stdout] |
[INFO] [stdout] 4 | use crate::ast;
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast::BaseSlice`
[INFO] [stdout] --> src/compiler/symbolizer.rs:13:5
[INFO] [stdout] |
[INFO] [stdout] 13 | use crate::ast::BaseSlice;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast::ComparisonTarget`
[INFO] [stdout] --> src/compiler/symbolizer.rs:16:5
[INFO] [stdout] |
[INFO] [stdout] 16 | use crate::ast::ComparisonTarget;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast::Else`
[INFO] [stdout] --> src/compiler/symbolizer.rs:23:5
[INFO] [stdout] |
[INFO] [stdout] 23 | use crate::ast::Else;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast::SimpleStatementSuite`
[INFO] [stdout] --> src/compiler/symbolizer.rs:37:5
[INFO] [stdout] |
[INFO] [stdout] 37 | use crate::ast::SimpleStatementSuite;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast::Expression::BooleanOperation`
[INFO] [stdout] --> src/compiler/symbolizer.rs:46:5
[INFO] [stdout] |
[INFO] [stdout] 46 | use crate::ast::Expression::BooleanOperation;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `String` is imported redundantly
[INFO] [stdout] --> src/lexer/code_line.rs:3:5
[INFO] [stdout] |
[INFO] [stdout] 3 | use std::string::String;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13
[INFO] [stdout] |
[INFO] [stdout] = note: the item `String` is already defined here
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `once_cell` is imported redundantly
[INFO] [stdout] --> src/tokens/patterns.rs:2:5
[INFO] [stdout] |
[INFO] [stdout] 2 | use clap::__macro_refs::once_cell;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the item `once_cell` is already defined by prelude
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `thiserror` is imported redundantly
[INFO] [stdout] --> src/tokens/error.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use thiserror;
[INFO] [stdout] | ^^^^^^^^^ the item `thiserror` is already defined by prelude
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Float`, `Hexidecimal`, `Imaginary`, `Integer`
[INFO] [stdout] --> src/ast/mod.rs:14:19
[INFO] [stdout] |
[INFO] [stdout] 14 | pub use numbers::{Integer, Float, Imaginary, Hexidecimal};
[INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Semicolon`
[INFO] [stdout] --> src/ast/mod.rs:37:5
[INFO] [stdout] |
[INFO] [stdout] 37 | Semicolon, Colon,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `BaseSlice`, `ComparisonTarget`, `Else`, `SimpleStatementSuite`
[INFO] [stdout] --> src/walker/mod.rs:5:109
[INFO] [stdout] |
[INFO] [stdout] 5 | ...p, BaseSlice, BinaryOp, BooleanOp, ComparisonTarget, CompFor, CompOp, CompoundStatement, DelTargetExpression, DictElement, Element, Else, Expression, For, FunctionDef, If, Import, ImportFrom, Match, MatchCase, MatchPattern, MatchSequence, NameOrAttribute, Parameters, Return, SimpleStatementSuite, S...
[INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast::Expression::BooleanOperation`
[INFO] [stdout] --> src/walker/mod.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | use crate::ast::Expression::BooleanOperation;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast`
[INFO] [stdout] --> src/compiler/symbolizer.rs:4:5
[INFO] [stdout] |
[INFO] [stdout] 4 | use crate::ast;
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast::BaseSlice`
[INFO] [stdout] --> src/compiler/symbolizer.rs:13:5
[INFO] [stdout] |
[INFO] [stdout] 13 | use crate::ast::BaseSlice;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast::ComparisonTarget`
[INFO] [stdout] --> src/compiler/symbolizer.rs:16:5
[INFO] [stdout] |
[INFO] [stdout] 16 | use crate::ast::ComparisonTarget;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast::Else`
[INFO] [stdout] --> src/compiler/symbolizer.rs:23:5
[INFO] [stdout] |
[INFO] [stdout] 23 | use crate::ast::Else;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast::SimpleStatementSuite`
[INFO] [stdout] --> src/compiler/symbolizer.rs:37:5
[INFO] [stdout] |
[INFO] [stdout] 37 | use crate::ast::SimpleStatementSuite;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast::Expression::BooleanOperation`
[INFO] [stdout] --> src/compiler/symbolizer.rs:46:5
[INFO] [stdout] |
[INFO] [stdout] 46 | use crate::ast::Expression::BooleanOperation;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: value assigned to `escaped` is never read
[INFO] [stdout] --> src/lexer/tokenizer.rs:785:21
[INFO] [stdout] |
[INFO] [stdout] 785 | escaped = true;
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `dot`
[INFO] [stdout] --> src/parser/grammar.rs:2086:18
[INFO] [stdout] |
[INFO] [stdout] 2086 | if let Some((dot, name)) = tail.pop() {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dot`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout] --> src/ast/expression.rs:484:25
[INFO] [stdout] |
[INFO] [stdout] 484 | fn with_comma(self, c: Comma) -> Self {
[INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `orelse`
[INFO] [stdout] --> src/walker/mod.rs:54:34
[INFO] [stdout] |
[INFO] [stdout] 54 | If { test, body, orelse, is_elif } => {
[INFO] [stdout] | ^^^^^^ help: try ignoring the field: `orelse: _`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `handler`
[INFO] [stdout] --> src/walker/mod.rs:131:17
[INFO] [stdout] |
[INFO] [stdout] 131 | for handler in try_expr.handlers {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `list`
[INFO] [stdout] --> src/walker/mod.rs:235:42
[INFO] [stdout] |
[INFO] [stdout] 235 | MatchSequence::MatchList(list) => {}
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `tpl`
[INFO] [stdout] --> src/walker/mod.rs:236:43
[INFO] [stdout] |
[INFO] [stdout] 236 | MatchSequence::MatchTuple(tpl) => {}
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tpl`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `mmap`
[INFO] [stdout] --> src/walker/mod.rs:239:31
[INFO] [stdout] |
[INFO] [stdout] 239 | MatchPattern::Mapping(mmap) => {}
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mmap`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `cls`
[INFO] [stdout] --> src/walker/mod.rs:240:29
[INFO] [stdout] |
[INFO] [stdout] 240 | MatchPattern::Class(cls) => {}
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `as_case`
[INFO] [stdout] --> src/walker/mod.rs:241:26
[INFO] [stdout] |
[INFO] [stdout] 241 | MatchPattern::As(as_case) => {}
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_as_case`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `or_case`
[INFO] [stdout] --> src/walker/mod.rs:242:26
[INFO] [stdout] |
[INFO] [stdout] 242 | MatchPattern::Or(or_case) => {}
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_or_case`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `dots`
[INFO] [stdout] --> src/walker/mod.rs:639:13
[INFO] [stdout] |
[INFO] [stdout] 639 | for dots in import.relative {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dots`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `fstring`
[INFO] [stdout] --> src/walker/mod.rs:957:37
[INFO] [stdout] |
[INFO] [stdout] 957 | Expression::FormattedString(fstring) => {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `named`
[INFO] [stdout] --> src/walker/mod.rs:961:31
[INFO] [stdout] |
[INFO] [stdout] 961 | Expression::NamedExpr(named) => {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_named`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `fstring`
[INFO] [stdout] --> src/walker/mod.rs:981:30
[INFO] [stdout] |
[INFO] [stdout] 981 | AstString::Formatted(fstring) => {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `subscript`
[INFO] [stdout] --> src/walker/mod.rs:1010:20
[INFO] [stdout] |
[INFO] [stdout] 1010 | fn parse_subscript(subscript: Subscript, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subscript`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `depth`
[INFO] [stdout] --> src/walker/mod.rs:1010:42
[INFO] [stdout] |
[INFO] [stdout] 1010 | fn parse_subscript(subscript: Subscript, depth: usize) {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `prefix`
[INFO] [stdout] --> src/walker/mod.rs:1029:9
[INFO] [stdout] |
[INFO] [stdout] 1029 | let prefix = INDENT.repeat(depth);
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout] --> src/walker/mod.rs:1031:22
[INFO] [stdout] |
[INFO] [stdout] 1031 | for ImportAlias{ name, asname } in import.names {
[INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `asname`
[INFO] [stdout] --> src/walker/mod.rs:1031:28
[INFO] [stdout] |
[INFO] [stdout] 1031 | for ImportAlias{ name, asname } in import.names {
[INFO] [stdout] | ^^^^^^ help: try ignoring the field: `asname: _`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `handler`
[INFO] [stdout] --> src/compiler/symbolizer.rs:187:17
[INFO] [stdout] |
[INFO] [stdout] 187 | for handler in try_expr.handlers {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `list`
[INFO] [stdout] --> src/compiler/symbolizer.rs:291:42
[INFO] [stdout] |
[INFO] [stdout] 291 | MatchSequence::MatchList(list) => {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `tpl`
[INFO] [stdout] --> src/compiler/symbolizer.rs:294:43
[INFO] [stdout] |
[INFO] [stdout] 294 | MatchSequence::MatchTuple(tpl) => {}
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tpl`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `mmap`
[INFO] [stdout] --> src/compiler/symbolizer.rs:297:31
[INFO] [stdout] |
[INFO] [stdout] 297 | MatchPattern::Mapping(mmap) => {}
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mmap`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `cls`
[INFO] [stdout] --> src/compiler/symbolizer.rs:298:29
[INFO] [stdout] |
[INFO] [stdout] 298 | MatchPattern::Class(cls) => {}
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `as_case`
[INFO] [stdout] --> src/compiler/symbolizer.rs:299:26
[INFO] [stdout] |
[INFO] [stdout] 299 | MatchPattern::As(as_case) => {}
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_as_case`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `or_case`
[INFO] [stdout] --> src/compiler/symbolizer.rs:300:26
[INFO] [stdout] |
[INFO] [stdout] 300 | MatchPattern::Or(or_case) => {}
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_or_case`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `dots`
[INFO] [stdout] --> src/compiler/symbolizer.rs:697:13
[INFO] [stdout] |
[INFO] [stdout] 697 | for dots in import.relative {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dots`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `fstring`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1015:37
[INFO] [stdout] |
[INFO] [stdout] 1015 | Expression::FormattedString(fstring) => {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `named`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1019:31
[INFO] [stdout] |
[INFO] [stdout] 1019 | Expression::NamedExpr(named) => {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_named`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `fstring`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1039:30
[INFO] [stdout] |
[INFO] [stdout] 1039 | AstString::Formatted(fstring) => {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `subscript`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1068:20
[INFO] [stdout] |
[INFO] [stdout] 1068 | fn parse_subscript(subscript: Subscript, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subscript`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `depth`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1068:42
[INFO] [stdout] |
[INFO] [stdout] 1068 | fn parse_subscript(subscript: Subscript, depth: usize) {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `prefix`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1087:9
[INFO] [stdout] |
[INFO] [stdout] 1087 | let prefix = INDENT.repeat(depth);
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1089:9
[INFO] [stdout] |
[INFO] [stdout] 1089 | for name in import.names {}
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `default` is never used
[INFO] [stdout] --> src/lexer/tokenizer.rs:40:12
[INFO] [stdout] |
[INFO] [stdout] 38 | impl TConfig {
[INFO] [stdout] | ------------ associated function in this implementation
[INFO] [stdout] 39 |
[INFO] [stdout] 40 | pub fn default() -> Self {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `tokenize_file`, `process_file`, and `process_single_line` are never used
[INFO] [stdout] --> src/lexer/tokenizer.rs:101:12
[INFO] [stdout] |
[INFO] [stdout] 94 | impl Tokenizer {
[INFO] [stdout] | -------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 101 | pub fn tokenize_file
(filename: P, config: TConfig) -> Result, TokError>
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 | pub fn process_file(&mut self, filename: P) -> Result, TokError>
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 | pub fn process_single_line(&mut self, raw_line: String) -> Result, TokError> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `attempt_parse_file` is never used
[INFO] [stdout] --> src/parser/tests.rs:83:4
[INFO] [stdout] |
[INFO] [stdout] 83 | fn attempt_parse_file(filename:P)
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `encoding` is never read
[INFO] [stdout] --> src/ast/module.rs:11:9
[INFO] [stdout] |
[INFO] [stdout] 8 | pub struct Module {
[INFO] [stdout] | ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 | pub encoding: String,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `Module` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: trait `WithLeadingLines` is never used
[INFO] [stdout] --> src/ast/traits.rs:18:11
[INFO] [stdout] |
[INFO] [stdout] 18 | pub trait WithLeadingLines {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_slice` is never used
[INFO] [stdout] --> src/walker/mod.rs:616:4
[INFO] [stdout] |
[INFO] [stdout] 616 | fn parse_slice(slice: Slice, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_return` is never used
[INFO] [stdout] --> src/walker/mod.rs:657:4
[INFO] [stdout] |
[INFO] [stdout] 657 | fn parse_return(return_st: Return, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `INDENT` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:50:7
[INFO] [stdout] |
[INFO] [stdout] 50 | const INDENT: &str = " ";
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_module` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:53:8
[INFO] [stdout] |
[INFO] [stdout] 53 | pub fn parse_module(start: Module) {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_attribute` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:62:4
[INFO] [stdout] |
[INFO] [stdout] 62 | fn parse_attribute(attr: Attribute, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_statement_enum` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:68:4
[INFO] [stdout] |
[INFO] [stdout] 68 | fn parse_statement_enum(stm: Statement, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `visit_if_expr` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:85:4
[INFO] [stdout] |
[INFO] [stdout] 85 | fn visit_if_expr(If{ test, body, orelse, is_elif}: If, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_compound_statement` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:115:4
[INFO] [stdout] |
[INFO] [stdout] 115 | fn parse_compound_statement(stm_compound: CompoundStatement, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_def` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:231:4
[INFO] [stdout] |
[INFO] [stdout] 231 | fn parse_def(fdef: FunctionDef, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_match` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:258:4
[INFO] [stdout] |
[INFO] [stdout] 258 | fn parse_match(match_statement: Match, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_match_case` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:272:4
[INFO] [stdout] |
[INFO] [stdout] 272 | fn parse_match_case(mcase: &MatchCase, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_match_case_pattern` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:278:4
[INFO] [stdout] |
[INFO] [stdout] 278 | fn parse_match_case_pattern(mpattern: &MatchPattern, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_with_expr` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:305:4
[INFO] [stdout] |
[INFO] [stdout] 305 | fn parse_with_expr(with_expr: With, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_parameters` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:349:4
[INFO] [stdout] |
[INFO] [stdout] 349 | fn parse_parameters(params: Parameters, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_args` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:406:4
[INFO] [stdout] |
[INFO] [stdout] 406 | fn parse_args(args: Vec, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_suite` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:428:4
[INFO] [stdout] |
[INFO] [stdout] 428 | fn parse_suite(body: Suite, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_smallstatement_enum` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:445:4
[INFO] [stdout] |
[INFO] [stdout] 445 | fn parse_smallstatement_enum(small: SmallStatement, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_element` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:581:4
[INFO] [stdout] |
[INFO] [stdout] 581 | fn parse_element(element: Element, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_augassign` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:594:4
[INFO] [stdout] |
[INFO] [stdout] 594 | fn parse_augassign(augassign: AugAssign, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_assign_target_expression` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:641:4
[INFO] [stdout] |
[INFO] [stdout] 641 | fn parse_assign_target_expression(target: AssignTargetExpression, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_slice` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:674:4
[INFO] [stdout] |
[INFO] [stdout] 674 | fn parse_slice(slice: Slice, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_importfrom` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:691:4
[INFO] [stdout] |
[INFO] [stdout] 691 | fn parse_importfrom(import: ImportFrom, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_return` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:715:4
[INFO] [stdout] |
[INFO] [stdout] 715 | fn parse_return(return_st: Return, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_expression` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:723:4
[INFO] [stdout] |
[INFO] [stdout] 723 | fn parse_expression(expr: Expression, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_ast_String` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:1025:4
[INFO] [stdout] |
[INFO] [stdout] 1025 | fn parse_ast_String(ast_string: AstString, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_for_in` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:1048:4
[INFO] [stdout] |
[INFO] [stdout] 1048 | fn parse_for_in(for_in: CompFor, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_subscript` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:1068:4
[INFO] [stdout] |
[INFO] [stdout] 1068 | fn parse_subscript(subscript: Subscript, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_assert` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:1072:4
[INFO] [stdout] |
[INFO] [stdout] 1072 | fn parse_assert(stm: Assert, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_import` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:1086:4
[INFO] [stdout] |
[INFO] [stdout] 1086 | fn parse_import(import: Import, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_ast_String` should have a snake case name
[INFO] [stdout] --> src/walker/mod.rs:967:4
[INFO] [stdout] |
[INFO] [stdout] 967 | fn parse_ast_String(ast_string: AstString, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `parse_ast_string`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_ast_String` should have a snake case name
[INFO] [stdout] --> src/compiler/symbolizer.rs:1025:4
[INFO] [stdout] |
[INFO] [stdout] 1025 | fn parse_ast_String(ast_string: AstString, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `parse_ast_string`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 86 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: value assigned to `escaped` is never read
[INFO] [stdout] --> src/lexer/tokenizer.rs:785:21
[INFO] [stdout] |
[INFO] [stdout] 785 | escaped = true;
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `dot`
[INFO] [stdout] --> src/parser/grammar.rs:2086:18
[INFO] [stdout] |
[INFO] [stdout] 2086 | if let Some((dot, name)) = tail.pop() {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dot`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout] --> src/ast/expression.rs:484:25
[INFO] [stdout] |
[INFO] [stdout] 484 | fn with_comma(self, c: Comma) -> Self {
[INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `orelse`
[INFO] [stdout] --> src/walker/mod.rs:54:34
[INFO] [stdout] |
[INFO] [stdout] 54 | If { test, body, orelse, is_elif } => {
[INFO] [stdout] | ^^^^^^ help: try ignoring the field: `orelse: _`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `handler`
[INFO] [stdout] --> src/walker/mod.rs:131:17
[INFO] [stdout] |
[INFO] [stdout] 131 | for handler in try_expr.handlers {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `list`
[INFO] [stdout] --> src/walker/mod.rs:235:42
[INFO] [stdout] |
[INFO] [stdout] 235 | MatchSequence::MatchList(list) => {}
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `tpl`
[INFO] [stdout] --> src/walker/mod.rs:236:43
[INFO] [stdout] |
[INFO] [stdout] 236 | MatchSequence::MatchTuple(tpl) => {}
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tpl`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `mmap`
[INFO] [stdout] --> src/walker/mod.rs:239:31
[INFO] [stdout] |
[INFO] [stdout] 239 | MatchPattern::Mapping(mmap) => {}
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mmap`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `cls`
[INFO] [stdout] --> src/walker/mod.rs:240:29
[INFO] [stdout] |
[INFO] [stdout] 240 | MatchPattern::Class(cls) => {}
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `as_case`
[INFO] [stdout] --> src/walker/mod.rs:241:26
[INFO] [stdout] |
[INFO] [stdout] 241 | MatchPattern::As(as_case) => {}
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_as_case`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `or_case`
[INFO] [stdout] --> src/walker/mod.rs:242:26
[INFO] [stdout] |
[INFO] [stdout] 242 | MatchPattern::Or(or_case) => {}
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_or_case`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `dots`
[INFO] [stdout] --> src/walker/mod.rs:639:13
[INFO] [stdout] |
[INFO] [stdout] 639 | for dots in import.relative {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dots`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `fstring`
[INFO] [stdout] --> src/walker/mod.rs:957:37
[INFO] [stdout] |
[INFO] [stdout] 957 | Expression::FormattedString(fstring) => {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `named`
[INFO] [stdout] --> src/walker/mod.rs:961:31
[INFO] [stdout] |
[INFO] [stdout] 961 | Expression::NamedExpr(named) => {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_named`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `fstring`
[INFO] [stdout] --> src/walker/mod.rs:981:30
[INFO] [stdout] |
[INFO] [stdout] 981 | AstString::Formatted(fstring) => {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `subscript`
[INFO] [stdout] --> src/walker/mod.rs:1010:20
[INFO] [stdout] |
[INFO] [stdout] 1010 | fn parse_subscript(subscript: Subscript, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subscript`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `depth`
[INFO] [stdout] --> src/walker/mod.rs:1010:42
[INFO] [stdout] |
[INFO] [stdout] 1010 | fn parse_subscript(subscript: Subscript, depth: usize) {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `prefix`
[INFO] [stdout] --> src/walker/mod.rs:1029:9
[INFO] [stdout] |
[INFO] [stdout] 1029 | let prefix = INDENT.repeat(depth);
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout] --> src/walker/mod.rs:1031:22
[INFO] [stdout] |
[INFO] [stdout] 1031 | for ImportAlias{ name, asname } in import.names {
[INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `asname`
[INFO] [stdout] --> src/walker/mod.rs:1031:28
[INFO] [stdout] |
[INFO] [stdout] 1031 | for ImportAlias{ name, asname } in import.names {
[INFO] [stdout] | ^^^^^^ help: try ignoring the field: `asname: _`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `handler`
[INFO] [stdout] --> src/compiler/symbolizer.rs:187:17
[INFO] [stdout] |
[INFO] [stdout] 187 | for handler in try_expr.handlers {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `list`
[INFO] [stdout] --> src/compiler/symbolizer.rs:291:42
[INFO] [stdout] |
[INFO] [stdout] 291 | MatchSequence::MatchList(list) => {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `tpl`
[INFO] [stdout] --> src/compiler/symbolizer.rs:294:43
[INFO] [stdout] |
[INFO] [stdout] 294 | MatchSequence::MatchTuple(tpl) => {}
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tpl`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `mmap`
[INFO] [stdout] --> src/compiler/symbolizer.rs:297:31
[INFO] [stdout] |
[INFO] [stdout] 297 | MatchPattern::Mapping(mmap) => {}
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mmap`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `cls`
[INFO] [stdout] --> src/compiler/symbolizer.rs:298:29
[INFO] [stdout] |
[INFO] [stdout] 298 | MatchPattern::Class(cls) => {}
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `as_case`
[INFO] [stdout] --> src/compiler/symbolizer.rs:299:26
[INFO] [stdout] |
[INFO] [stdout] 299 | MatchPattern::As(as_case) => {}
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_as_case`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `or_case`
[INFO] [stdout] --> src/compiler/symbolizer.rs:300:26
[INFO] [stdout] |
[INFO] [stdout] 300 | MatchPattern::Or(or_case) => {}
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_or_case`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `dots`
[INFO] [stdout] --> src/compiler/symbolizer.rs:697:13
[INFO] [stdout] |
[INFO] [stdout] 697 | for dots in import.relative {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dots`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `fstring`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1015:37
[INFO] [stdout] |
[INFO] [stdout] 1015 | Expression::FormattedString(fstring) => {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `named`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1019:31
[INFO] [stdout] |
[INFO] [stdout] 1019 | Expression::NamedExpr(named) => {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_named`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `fstring`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1039:30
[INFO] [stdout] |
[INFO] [stdout] 1039 | AstString::Formatted(fstring) => {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `subscript`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1068:20
[INFO] [stdout] |
[INFO] [stdout] 1068 | fn parse_subscript(subscript: Subscript, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subscript`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `depth`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1068:42
[INFO] [stdout] |
[INFO] [stdout] 1068 | fn parse_subscript(subscript: Subscript, depth: usize) {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `prefix`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1087:9
[INFO] [stdout] |
[INFO] [stdout] 1087 | let prefix = INDENT.repeat(depth);
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1089:9
[INFO] [stdout] |
[INFO] [stdout] 1089 | for name in import.names {}
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `test_fstring_basic` is never used
[INFO] [stdout] --> src/lexer/tests.rs:1417:8
[INFO] [stdout] |
[INFO] [stdout] 1417 | fn test_fstring_basic() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `encoding` is never read
[INFO] [stdout] --> src/ast/module.rs:11:9
[INFO] [stdout] |
[INFO] [stdout] 8 | pub struct Module {
[INFO] [stdout] | ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 | pub encoding: String,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `Module` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: trait `WithLeadingLines` is never used
[INFO] [stdout] --> src/ast/traits.rs:18:11
[INFO] [stdout] |
[INFO] [stdout] 18 | pub trait WithLeadingLines {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_slice` is never used
[INFO] [stdout] --> src/walker/mod.rs:616:4
[INFO] [stdout] |
[INFO] [stdout] 616 | fn parse_slice(slice: Slice, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_return` is never used
[INFO] [stdout] --> src/walker/mod.rs:657:4
[INFO] [stdout] |
[INFO] [stdout] 657 | fn parse_return(return_st: Return, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `INDENT` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:50:7
[INFO] [stdout] |
[INFO] [stdout] 50 | const INDENT: &str = " ";
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_module` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:53:8
[INFO] [stdout] |
[INFO] [stdout] 53 | pub fn parse_module(start: Module) {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_attribute` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:62:4
[INFO] [stdout] |
[INFO] [stdout] 62 | fn parse_attribute(attr: Attribute, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_statement_enum` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:68:4
[INFO] [stdout] |
[INFO] [stdout] 68 | fn parse_statement_enum(stm: Statement, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `visit_if_expr` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:85:4
[INFO] [stdout] |
[INFO] [stdout] 85 | fn visit_if_expr(If{ test, body, orelse, is_elif}: If, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_compound_statement` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:115:4
[INFO] [stdout] |
[INFO] [stdout] 115 | fn parse_compound_statement(stm_compound: CompoundStatement, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_def` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:231:4
[INFO] [stdout] |
[INFO] [stdout] 231 | fn parse_def(fdef: FunctionDef, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_match` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:258:4
[INFO] [stdout] |
[INFO] [stdout] 258 | fn parse_match(match_statement: Match, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_match_case` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:272:4
[INFO] [stdout] |
[INFO] [stdout] 272 | fn parse_match_case(mcase: &MatchCase, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_match_case_pattern` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:278:4
[INFO] [stdout] |
[INFO] [stdout] 278 | fn parse_match_case_pattern(mpattern: &MatchPattern, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_with_expr` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:305:4
[INFO] [stdout] |
[INFO] [stdout] 305 | fn parse_with_expr(with_expr: With, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_parameters` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:349:4
[INFO] [stdout] |
[INFO] [stdout] 349 | fn parse_parameters(params: Parameters, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_args` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:406:4
[INFO] [stdout] |
[INFO] [stdout] 406 | fn parse_args(args: Vec, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_suite` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:428:4
[INFO] [stdout] |
[INFO] [stdout] 428 | fn parse_suite(body: Suite, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_smallstatement_enum` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:445:4
[INFO] [stdout] |
[INFO] [stdout] 445 | fn parse_smallstatement_enum(small: SmallStatement, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_element` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:581:4
[INFO] [stdout] |
[INFO] [stdout] 581 | fn parse_element(element: Element, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_augassign` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:594:4
[INFO] [stdout] |
[INFO] [stdout] 594 | fn parse_augassign(augassign: AugAssign, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_assign_target_expression` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:641:4
[INFO] [stdout] |
[INFO] [stdout] 641 | fn parse_assign_target_expression(target: AssignTargetExpression, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_slice` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:674:4
[INFO] [stdout] |
[INFO] [stdout] 674 | fn parse_slice(slice: Slice, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_importfrom` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:691:4
[INFO] [stdout] |
[INFO] [stdout] 691 | fn parse_importfrom(import: ImportFrom, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_return` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:715:4
[INFO] [stdout] |
[INFO] [stdout] 715 | fn parse_return(return_st: Return, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_expression` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:723:4
[INFO] [stdout] |
[INFO] [stdout] 723 | fn parse_expression(expr: Expression, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_ast_String` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:1025:4
[INFO] [stdout] |
[INFO] [stdout] 1025 | fn parse_ast_String(ast_string: AstString, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_for_in` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:1048:4
[INFO] [stdout] |
[INFO] [stdout] 1048 | fn parse_for_in(for_in: CompFor, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_subscript` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:1068:4
[INFO] [stdout] |
[INFO] [stdout] 1068 | fn parse_subscript(subscript: Subscript, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_assert` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:1072:4
[INFO] [stdout] |
[INFO] [stdout] 1072 | fn parse_assert(stm: Assert, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_import` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:1086:4
[INFO] [stdout] |
[INFO] [stdout] 1086 | fn parse_import(import: Import, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_ast_String` should have a snake case name
[INFO] [stdout] --> src/walker/mod.rs:967:4
[INFO] [stdout] |
[INFO] [stdout] 967 | fn parse_ast_String(ast_string: AstString, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `parse_ast_string`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_ast_String` should have a snake case name
[INFO] [stdout] --> src/compiler/symbolizer.rs:1025:4
[INFO] [stdout] |
[INFO] [stdout] 1025 | fn parse_ast_String(ast_string: AstString, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `parse_ast_string`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 82 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.49s
[INFO] running `Command { std: "docker" "inspect" "4c68b7848805086d74c9f5b8a9dd99fe7795ef6bfc89fee2393adb37b1b08874", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c68b7848805086d74c9f5b8a9dd99fe7795ef6bfc89fee2393adb37b1b08874", kill_on_drop: false }`
[INFO] [stdout] 4c68b7848805086d74c9f5b8a9dd99fe7795ef6bfc89fee2393adb37b1b08874
[INFO] checking devdave/rython4 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevdave%2Frython4" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/devdave/rython4 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/devdave/rython4
[INFO] finished tweaking git repo https://github.com/devdave/rython4
[INFO] tweaked toml for git repo https://github.com/devdave/rython4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/devdave/rython4 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c3e0b4e2a0124c022429dd961f9bada6fad9b78bf75e9424b1a9b4b5cbfd5e00
[INFO] running `Command { std: "docker" "start" "-a" "c3e0b4e2a0124c022429dd961f9bada6fad9b78bf75e9424b1a9b4b5cbfd5e00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c3e0b4e2a0124c022429dd961f9bada6fad9b78bf75e9424b1a9b4b5cbfd5e00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3e0b4e2a0124c022429dd961f9bada6fad9b78bf75e9424b1a9b4b5cbfd5e00", kill_on_drop: false }`
[INFO] [stdout] c3e0b4e2a0124c022429dd961f9bada6fad9b78bf75e9424b1a9b4b5cbfd5e00
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8f22ba06e98a787d705d0a2005c6396a4e2a6e817e259be8d33ffa52168d9a57
[INFO] running `Command { std: "docker" "start" "-a" "8f22ba06e98a787d705d0a2005c6396a4e2a6e817e259be8d33ffa52168d9a57", kill_on_drop: false }`
[INFO] [stderr] Compiling proc-macro2 v1.0.43
[INFO] [stderr] Compiling unicode-ident v1.0.4
[INFO] [stderr] Compiling quote v1.0.21
[INFO] [stderr] Compiling syn v1.0.99
[INFO] [stderr] Compiling libc v0.2.132
[INFO] [stderr] Compiling thiserror v1.0.35
[INFO] [stderr] Compiling serde v1.0.147
[INFO] [stderr] Compiling log v0.4.17
[INFO] [stderr] Checking quick-error v1.2.3
[INFO] [stderr] Checking termcolor v1.1.3
[INFO] [stderr] Checking regex-syntax v0.6.27
[INFO] [stderr] Compiling heck v0.4.0
[INFO] [stderr] Compiling num-traits v0.2.15
[INFO] [stderr] Compiling num-integer v0.1.45
[INFO] [stderr] Checking aho-corasick v0.7.19
[INFO] [stderr] Compiling indexmap v1.9.1
[INFO] [stderr] Checking humantime v1.3.0
[INFO] [stderr] Checking iana-time-zone v0.1.48
[INFO] [stderr] Compiling once_cell v1.14.0
[INFO] [stderr] Compiling peg-runtime v0.7.0 (https://github.com/kevinmehall/rust-peg?rev=4b146b4b78a80c07e43d7ace2d97f65bfde279a8#4b146b4b)
[INFO] [stderr] Checking os_str_bytes v6.3.0
[INFO] [stderr] Compiling ntest_proc_macro_helper v0.8.0
[INFO] [stderr] Checking textwrap v0.15.1
[INFO] [stderr] Checking unicode-segmentation v1.10.0
[INFO] [stderr] Checking clap_lex v0.2.4
[INFO] [stderr] Checking atty v0.2.14
[INFO] [stderr] Checking time v0.1.44
[INFO] [stderr] Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr] Compiling peg-macros v0.7.0 (https://github.com/kevinmehall/rust-peg?rev=4b146b4b78a80c07e43d7ace2d97f65bfde279a8#4b146b4b)
[INFO] [stderr] Checking chrono v0.4.22
[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 proc-macro-error v1.0.4
[INFO] [stderr] Compiling toml v0.5.9
[INFO] [stderr] Compiling thiserror-impl v1.0.35
[INFO] [stderr] Compiling clap_derive v3.2.18
[INFO] [stderr] Compiling ntest_test_cases v0.8.0
[INFO] [stderr] Compiling proc-macro-crate v1.2.1
[INFO] [stderr] Compiling ntest_timeout v0.8.1
[INFO] [stderr] Checking clap v3.2.22
[INFO] [stderr] Checking ntest v0.8.1
[INFO] [stderr] Checking rython4 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `String` is imported redundantly
[INFO] [stdout] --> src/lexer/code_line.rs:3:5
[INFO] [stdout] |
[INFO] [stdout] 3 | use std::string::String;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:144:13
[INFO] [stdout] |
[INFO] [stdout] = note: the item `String` is already defined here
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `once_cell` is imported redundantly
[INFO] [stdout] --> src/tokens/patterns.rs:2:5
[INFO] [stdout] |
[INFO] [stdout] 2 | use clap::__macro_refs::once_cell;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the item `once_cell` is already defined by prelude
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `thiserror` is imported redundantly
[INFO] [stdout] --> src/tokens/error.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use thiserror;
[INFO] [stdout] | ^^^^^^^^^ the item `thiserror` is already defined by prelude
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout] --> src/parser/tests.rs:5:5
[INFO] [stdout] |
[INFO] [stdout] 5 | use std::fs;
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout] --> src/parser/tests.rs:6:5
[INFO] [stdout] |
[INFO] [stdout] 6 | use std::rc::Rc;
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Float`, `Hexidecimal`, `Imaginary`, `Integer`
[INFO] [stdout] --> src/ast/mod.rs:14:19
[INFO] [stdout] |
[INFO] [stdout] 14 | pub use numbers::{Integer, Float, Imaginary, Hexidecimal};
[INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Semicolon`
[INFO] [stdout] --> src/ast/mod.rs:37:5
[INFO] [stdout] |
[INFO] [stdout] 37 | Semicolon, Colon,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `BaseSlice`, `ComparisonTarget`, `Else`, `SimpleStatementSuite`
[INFO] [stdout] --> src/walker/mod.rs:5:109
[INFO] [stdout] |
[INFO] [stdout] 5 | ...p, BaseSlice, BinaryOp, BooleanOp, ComparisonTarget, CompFor, CompOp, CompoundStatement, DelTargetExpression, DictElement, Element, Else, Expression, For, FunctionDef, If, Import, ImportFrom, Match, MatchCase, MatchPattern, MatchSequence, NameOrAttribute, Parameters, Return, SimpleStatementSuite, S...
[INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast::Expression::BooleanOperation`
[INFO] [stdout] --> src/walker/mod.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | use crate::ast::Expression::BooleanOperation;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast`
[INFO] [stdout] --> src/compiler/symbolizer.rs:4:5
[INFO] [stdout] |
[INFO] [stdout] 4 | use crate::ast;
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast::BaseSlice`
[INFO] [stdout] --> src/compiler/symbolizer.rs:13:5
[INFO] [stdout] |
[INFO] [stdout] 13 | use crate::ast::BaseSlice;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast::ComparisonTarget`
[INFO] [stdout] --> src/compiler/symbolizer.rs:16:5
[INFO] [stdout] |
[INFO] [stdout] 16 | use crate::ast::ComparisonTarget;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast::Else`
[INFO] [stdout] --> src/compiler/symbolizer.rs:23:5
[INFO] [stdout] |
[INFO] [stdout] 23 | use crate::ast::Else;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast::SimpleStatementSuite`
[INFO] [stdout] --> src/compiler/symbolizer.rs:37:5
[INFO] [stdout] |
[INFO] [stdout] 37 | use crate::ast::SimpleStatementSuite;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast::Expression::BooleanOperation`
[INFO] [stdout] --> src/compiler/symbolizer.rs:46:5
[INFO] [stdout] |
[INFO] [stdout] 46 | use crate::ast::Expression::BooleanOperation;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `String` is imported redundantly
[INFO] [stdout] --> src/lexer/code_line.rs:3:5
[INFO] [stdout] |
[INFO] [stdout] 3 | use std::string::String;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:144:13
[INFO] [stdout] |
[INFO] [stdout] = note: the item `String` is already defined here
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `once_cell` is imported redundantly
[INFO] [stdout] --> src/tokens/patterns.rs:2:5
[INFO] [stdout] |
[INFO] [stdout] 2 | use clap::__macro_refs::once_cell;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the item `once_cell` is already defined by prelude
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `thiserror` is imported redundantly
[INFO] [stdout] --> src/tokens/error.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use thiserror;
[INFO] [stdout] | ^^^^^^^^^ the item `thiserror` is already defined by prelude
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Float`, `Hexidecimal`, `Imaginary`, `Integer`
[INFO] [stdout] --> src/ast/mod.rs:14:19
[INFO] [stdout] |
[INFO] [stdout] 14 | pub use numbers::{Integer, Float, Imaginary, Hexidecimal};
[INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Semicolon`
[INFO] [stdout] --> src/ast/mod.rs:37:5
[INFO] [stdout] |
[INFO] [stdout] 37 | Semicolon, Colon,
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `BaseSlice`, `ComparisonTarget`, `Else`, `SimpleStatementSuite`
[INFO] [stdout] --> src/walker/mod.rs:5:109
[INFO] [stdout] |
[INFO] [stdout] 5 | ...p, BaseSlice, BinaryOp, BooleanOp, ComparisonTarget, CompFor, CompOp, CompoundStatement, DelTargetExpression, DictElement, Element, Else, Expression, For, FunctionDef, If, Import, ImportFrom, Match, MatchCase, MatchPattern, MatchSequence, NameOrAttribute, Parameters, Return, SimpleStatementSuite, S...
[INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast::Expression::BooleanOperation`
[INFO] [stdout] --> src/walker/mod.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | use crate::ast::Expression::BooleanOperation;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast`
[INFO] [stdout] --> src/compiler/symbolizer.rs:4:5
[INFO] [stdout] |
[INFO] [stdout] 4 | use crate::ast;
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast::BaseSlice`
[INFO] [stdout] --> src/compiler/symbolizer.rs:13:5
[INFO] [stdout] |
[INFO] [stdout] 13 | use crate::ast::BaseSlice;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast::ComparisonTarget`
[INFO] [stdout] --> src/compiler/symbolizer.rs:16:5
[INFO] [stdout] |
[INFO] [stdout] 16 | use crate::ast::ComparisonTarget;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast::Else`
[INFO] [stdout] --> src/compiler/symbolizer.rs:23:5
[INFO] [stdout] |
[INFO] [stdout] 23 | use crate::ast::Else;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast::SimpleStatementSuite`
[INFO] [stdout] --> src/compiler/symbolizer.rs:37:5
[INFO] [stdout] |
[INFO] [stdout] 37 | use crate::ast::SimpleStatementSuite;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::ast::Expression::BooleanOperation`
[INFO] [stdout] --> src/compiler/symbolizer.rs:46:5
[INFO] [stdout] |
[INFO] [stdout] 46 | use crate::ast::Expression::BooleanOperation;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: value assigned to `escaped` is never read
[INFO] [stdout] --> src/lexer/tokenizer.rs:785:21
[INFO] [stdout] |
[INFO] [stdout] 785 | escaped = true;
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `dot`
[INFO] [stdout] --> src/parser/grammar.rs:2086:18
[INFO] [stdout] |
[INFO] [stdout] 2086 | if let Some((dot, name)) = tail.pop() {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dot`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout] --> src/ast/expression.rs:484:25
[INFO] [stdout] |
[INFO] [stdout] 484 | fn with_comma(self, c: Comma) -> Self {
[INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `orelse`
[INFO] [stdout] --> src/walker/mod.rs:54:34
[INFO] [stdout] |
[INFO] [stdout] 54 | If { test, body, orelse, is_elif } => {
[INFO] [stdout] | ^^^^^^ help: try ignoring the field: `orelse: _`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `handler`
[INFO] [stdout] --> src/walker/mod.rs:131:17
[INFO] [stdout] |
[INFO] [stdout] 131 | for handler in try_expr.handlers {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `list`
[INFO] [stdout] --> src/walker/mod.rs:235:42
[INFO] [stdout] |
[INFO] [stdout] 235 | MatchSequence::MatchList(list) => {}
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `tpl`
[INFO] [stdout] --> src/walker/mod.rs:236:43
[INFO] [stdout] |
[INFO] [stdout] 236 | MatchSequence::MatchTuple(tpl) => {}
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tpl`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `mmap`
[INFO] [stdout] --> src/walker/mod.rs:239:31
[INFO] [stdout] |
[INFO] [stdout] 239 | MatchPattern::Mapping(mmap) => {}
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mmap`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `cls`
[INFO] [stdout] --> src/walker/mod.rs:240:29
[INFO] [stdout] |
[INFO] [stdout] 240 | MatchPattern::Class(cls) => {}
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `as_case`
[INFO] [stdout] --> src/walker/mod.rs:241:26
[INFO] [stdout] |
[INFO] [stdout] 241 | MatchPattern::As(as_case) => {}
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_as_case`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `or_case`
[INFO] [stdout] --> src/walker/mod.rs:242:26
[INFO] [stdout] |
[INFO] [stdout] 242 | MatchPattern::Or(or_case) => {}
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_or_case`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `dots`
[INFO] [stdout] --> src/walker/mod.rs:639:13
[INFO] [stdout] |
[INFO] [stdout] 639 | for dots in import.relative {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dots`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `fstring`
[INFO] [stdout] --> src/walker/mod.rs:957:37
[INFO] [stdout] |
[INFO] [stdout] 957 | Expression::FormattedString(fstring) => {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `named`
[INFO] [stdout] --> src/walker/mod.rs:961:31
[INFO] [stdout] |
[INFO] [stdout] 961 | Expression::NamedExpr(named) => {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_named`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `fstring`
[INFO] [stdout] --> src/walker/mod.rs:981:30
[INFO] [stdout] |
[INFO] [stdout] 981 | AstString::Formatted(fstring) => {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `subscript`
[INFO] [stdout] --> src/walker/mod.rs:1010:20
[INFO] [stdout] |
[INFO] [stdout] 1010 | fn parse_subscript(subscript: Subscript, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subscript`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `depth`
[INFO] [stdout] --> src/walker/mod.rs:1010:42
[INFO] [stdout] |
[INFO] [stdout] 1010 | fn parse_subscript(subscript: Subscript, depth: usize) {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `prefix`
[INFO] [stdout] --> src/walker/mod.rs:1029:9
[INFO] [stdout] |
[INFO] [stdout] 1029 | let prefix = INDENT.repeat(depth);
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout] --> src/walker/mod.rs:1031:22
[INFO] [stdout] |
[INFO] [stdout] 1031 | for ImportAlias{ name, asname } in import.names {
[INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `asname`
[INFO] [stdout] --> src/walker/mod.rs:1031:28
[INFO] [stdout] |
[INFO] [stdout] 1031 | for ImportAlias{ name, asname } in import.names {
[INFO] [stdout] | ^^^^^^ help: try ignoring the field: `asname: _`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `handler`
[INFO] [stdout] --> src/compiler/symbolizer.rs:187:17
[INFO] [stdout] |
[INFO] [stdout] 187 | for handler in try_expr.handlers {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `list`
[INFO] [stdout] --> src/compiler/symbolizer.rs:291:42
[INFO] [stdout] |
[INFO] [stdout] 291 | MatchSequence::MatchList(list) => {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `tpl`
[INFO] [stdout] --> src/compiler/symbolizer.rs:294:43
[INFO] [stdout] |
[INFO] [stdout] 294 | MatchSequence::MatchTuple(tpl) => {}
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tpl`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `mmap`
[INFO] [stdout] --> src/compiler/symbolizer.rs:297:31
[INFO] [stdout] |
[INFO] [stdout] 297 | MatchPattern::Mapping(mmap) => {}
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mmap`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `cls`
[INFO] [stdout] --> src/compiler/symbolizer.rs:298:29
[INFO] [stdout] |
[INFO] [stdout] 298 | MatchPattern::Class(cls) => {}
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `as_case`
[INFO] [stdout] --> src/compiler/symbolizer.rs:299:26
[INFO] [stdout] |
[INFO] [stdout] 299 | MatchPattern::As(as_case) => {}
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_as_case`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `or_case`
[INFO] [stdout] --> src/compiler/symbolizer.rs:300:26
[INFO] [stdout] |
[INFO] [stdout] 300 | MatchPattern::Or(or_case) => {}
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_or_case`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `dots`
[INFO] [stdout] --> src/compiler/symbolizer.rs:697:13
[INFO] [stdout] |
[INFO] [stdout] 697 | for dots in import.relative {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dots`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `fstring`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1015:37
[INFO] [stdout] |
[INFO] [stdout] 1015 | Expression::FormattedString(fstring) => {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `named`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1019:31
[INFO] [stdout] |
[INFO] [stdout] 1019 | Expression::NamedExpr(named) => {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_named`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `fstring`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1039:30
[INFO] [stdout] |
[INFO] [stdout] 1039 | AstString::Formatted(fstring) => {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `subscript`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1068:20
[INFO] [stdout] |
[INFO] [stdout] 1068 | fn parse_subscript(subscript: Subscript, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subscript`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `depth`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1068:42
[INFO] [stdout] |
[INFO] [stdout] 1068 | fn parse_subscript(subscript: Subscript, depth: usize) {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `prefix`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1087:9
[INFO] [stdout] |
[INFO] [stdout] 1087 | let prefix = INDENT.repeat(depth);
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1089:9
[INFO] [stdout] |
[INFO] [stdout] 1089 | for name in import.names {}
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `default` is never used
[INFO] [stdout] --> src/lexer/tokenizer.rs:40:12
[INFO] [stdout] |
[INFO] [stdout] 38 | impl TConfig {
[INFO] [stdout] | ------------ associated function in this implementation
[INFO] [stdout] 39 |
[INFO] [stdout] 40 | pub fn default() -> Self {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `tokenize_file`, `process_file`, and `process_single_line` are never used
[INFO] [stdout] --> src/lexer/tokenizer.rs:101:12
[INFO] [stdout] |
[INFO] [stdout] 94 | impl Tokenizer {
[INFO] [stdout] | -------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 101 | pub fn tokenize_file(filename: P, config: TConfig) -> Result, TokError>
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 | pub fn process_file(&mut self, filename: P) -> Result, TokError>
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 | pub fn process_single_line(&mut self, raw_line: String) -> Result, TokError> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `attempt_parse_file` is never used
[INFO] [stdout] --> src/parser/tests.rs:83:4
[INFO] [stdout] |
[INFO] [stdout] 83 | fn attempt_parse_file(filename:P)
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `encoding` is never read
[INFO] [stdout] --> src/ast/module.rs:11:9
[INFO] [stdout] |
[INFO] [stdout] 8 | pub struct Module {
[INFO] [stdout] | ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 | pub encoding: String,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `Module` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: trait `WithLeadingLines` is never used
[INFO] [stdout] --> src/ast/traits.rs:18:11
[INFO] [stdout] |
[INFO] [stdout] 18 | pub trait WithLeadingLines {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_slice` is never used
[INFO] [stdout] --> src/walker/mod.rs:616:4
[INFO] [stdout] |
[INFO] [stdout] 616 | fn parse_slice(slice: Slice, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_return` is never used
[INFO] [stdout] --> src/walker/mod.rs:657:4
[INFO] [stdout] |
[INFO] [stdout] 657 | fn parse_return(return_st: Return, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `INDENT` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:50:7
[INFO] [stdout] |
[INFO] [stdout] 50 | const INDENT: &str = " ";
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_module` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:53:8
[INFO] [stdout] |
[INFO] [stdout] 53 | pub fn parse_module(start: Module) {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_attribute` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:62:4
[INFO] [stdout] |
[INFO] [stdout] 62 | fn parse_attribute(attr: Attribute, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_statement_enum` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:68:4
[INFO] [stdout] |
[INFO] [stdout] 68 | fn parse_statement_enum(stm: Statement, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `visit_if_expr` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:85:4
[INFO] [stdout] |
[INFO] [stdout] 85 | fn visit_if_expr(If{ test, body, orelse, is_elif}: If, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_compound_statement` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:115:4
[INFO] [stdout] |
[INFO] [stdout] 115 | fn parse_compound_statement(stm_compound: CompoundStatement, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_def` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:231:4
[INFO] [stdout] |
[INFO] [stdout] 231 | fn parse_def(fdef: FunctionDef, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_match` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:258:4
[INFO] [stdout] |
[INFO] [stdout] 258 | fn parse_match(match_statement: Match, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_match_case` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:272:4
[INFO] [stdout] |
[INFO] [stdout] 272 | fn parse_match_case(mcase: &MatchCase, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_match_case_pattern` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:278:4
[INFO] [stdout] |
[INFO] [stdout] 278 | fn parse_match_case_pattern(mpattern: &MatchPattern, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_with_expr` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:305:4
[INFO] [stdout] |
[INFO] [stdout] 305 | fn parse_with_expr(with_expr: With, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_parameters` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:349:4
[INFO] [stdout] |
[INFO] [stdout] 349 | fn parse_parameters(params: Parameters, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_args` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:406:4
[INFO] [stdout] |
[INFO] [stdout] 406 | fn parse_args(args: Vec, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_suite` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:428:4
[INFO] [stdout] |
[INFO] [stdout] 428 | fn parse_suite(body: Suite, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_smallstatement_enum` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:445:4
[INFO] [stdout] |
[INFO] [stdout] 445 | fn parse_smallstatement_enum(small: SmallStatement, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_element` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:581:4
[INFO] [stdout] |
[INFO] [stdout] 581 | fn parse_element(element: Element, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_augassign` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:594:4
[INFO] [stdout] |
[INFO] [stdout] 594 | fn parse_augassign(augassign: AugAssign, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_assign_target_expression` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:641:4
[INFO] [stdout] |
[INFO] [stdout] 641 | fn parse_assign_target_expression(target: AssignTargetExpression, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_slice` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:674:4
[INFO] [stdout] |
[INFO] [stdout] 674 | fn parse_slice(slice: Slice, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_importfrom` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:691:4
[INFO] [stdout] |
[INFO] [stdout] 691 | fn parse_importfrom(import: ImportFrom, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_return` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:715:4
[INFO] [stdout] |
[INFO] [stdout] 715 | fn parse_return(return_st: Return, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_expression` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:723:4
[INFO] [stdout] |
[INFO] [stdout] 723 | fn parse_expression(expr: Expression, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_ast_String` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:1025:4
[INFO] [stdout] |
[INFO] [stdout] 1025 | fn parse_ast_String(ast_string: AstString, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_for_in` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:1048:4
[INFO] [stdout] |
[INFO] [stdout] 1048 | fn parse_for_in(for_in: CompFor, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_subscript` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:1068:4
[INFO] [stdout] |
[INFO] [stdout] 1068 | fn parse_subscript(subscript: Subscript, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_assert` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:1072:4
[INFO] [stdout] |
[INFO] [stdout] 1072 | fn parse_assert(stm: Assert, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_import` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:1086:4
[INFO] [stdout] |
[INFO] [stdout] 1086 | fn parse_import(import: Import, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_ast_String` should have a snake case name
[INFO] [stdout] --> src/walker/mod.rs:967:4
[INFO] [stdout] |
[INFO] [stdout] 967 | fn parse_ast_String(ast_string: AstString, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `parse_ast_string`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_ast_String` should have a snake case name
[INFO] [stdout] --> src/compiler/symbolizer.rs:1025:4
[INFO] [stdout] |
[INFO] [stdout] 1025 | fn parse_ast_String(ast_string: AstString, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `parse_ast_string`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 86 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: value assigned to `escaped` is never read
[INFO] [stdout] --> src/lexer/tokenizer.rs:785:21
[INFO] [stdout] |
[INFO] [stdout] 785 | escaped = true;
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `dot`
[INFO] [stdout] --> src/parser/grammar.rs:2086:18
[INFO] [stdout] |
[INFO] [stdout] 2086 | if let Some((dot, name)) = tail.pop() {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dot`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout] --> src/ast/expression.rs:484:25
[INFO] [stdout] |
[INFO] [stdout] 484 | fn with_comma(self, c: Comma) -> Self {
[INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `orelse`
[INFO] [stdout] --> src/walker/mod.rs:54:34
[INFO] [stdout] |
[INFO] [stdout] 54 | If { test, body, orelse, is_elif } => {
[INFO] [stdout] | ^^^^^^ help: try ignoring the field: `orelse: _`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `handler`
[INFO] [stdout] --> src/walker/mod.rs:131:17
[INFO] [stdout] |
[INFO] [stdout] 131 | for handler in try_expr.handlers {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `list`
[INFO] [stdout] --> src/walker/mod.rs:235:42
[INFO] [stdout] |
[INFO] [stdout] 235 | MatchSequence::MatchList(list) => {}
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `tpl`
[INFO] [stdout] --> src/walker/mod.rs:236:43
[INFO] [stdout] |
[INFO] [stdout] 236 | MatchSequence::MatchTuple(tpl) => {}
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tpl`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `mmap`
[INFO] [stdout] --> src/walker/mod.rs:239:31
[INFO] [stdout] |
[INFO] [stdout] 239 | MatchPattern::Mapping(mmap) => {}
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mmap`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `cls`
[INFO] [stdout] --> src/walker/mod.rs:240:29
[INFO] [stdout] |
[INFO] [stdout] 240 | MatchPattern::Class(cls) => {}
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `as_case`
[INFO] [stdout] --> src/walker/mod.rs:241:26
[INFO] [stdout] |
[INFO] [stdout] 241 | MatchPattern::As(as_case) => {}
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_as_case`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `or_case`
[INFO] [stdout] --> src/walker/mod.rs:242:26
[INFO] [stdout] |
[INFO] [stdout] 242 | MatchPattern::Or(or_case) => {}
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_or_case`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `dots`
[INFO] [stdout] --> src/walker/mod.rs:639:13
[INFO] [stdout] |
[INFO] [stdout] 639 | for dots in import.relative {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dots`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `fstring`
[INFO] [stdout] --> src/walker/mod.rs:957:37
[INFO] [stdout] |
[INFO] [stdout] 957 | Expression::FormattedString(fstring) => {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `named`
[INFO] [stdout] --> src/walker/mod.rs:961:31
[INFO] [stdout] |
[INFO] [stdout] 961 | Expression::NamedExpr(named) => {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_named`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `fstring`
[INFO] [stdout] --> src/walker/mod.rs:981:30
[INFO] [stdout] |
[INFO] [stdout] 981 | AstString::Formatted(fstring) => {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `subscript`
[INFO] [stdout] --> src/walker/mod.rs:1010:20
[INFO] [stdout] |
[INFO] [stdout] 1010 | fn parse_subscript(subscript: Subscript, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subscript`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `depth`
[INFO] [stdout] --> src/walker/mod.rs:1010:42
[INFO] [stdout] |
[INFO] [stdout] 1010 | fn parse_subscript(subscript: Subscript, depth: usize) {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `prefix`
[INFO] [stdout] --> src/walker/mod.rs:1029:9
[INFO] [stdout] |
[INFO] [stdout] 1029 | let prefix = INDENT.repeat(depth);
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout] --> src/walker/mod.rs:1031:22
[INFO] [stdout] |
[INFO] [stdout] 1031 | for ImportAlias{ name, asname } in import.names {
[INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `asname`
[INFO] [stdout] --> src/walker/mod.rs:1031:28
[INFO] [stdout] |
[INFO] [stdout] 1031 | for ImportAlias{ name, asname } in import.names {
[INFO] [stdout] | ^^^^^^ help: try ignoring the field: `asname: _`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `handler`
[INFO] [stdout] --> src/compiler/symbolizer.rs:187:17
[INFO] [stdout] |
[INFO] [stdout] 187 | for handler in try_expr.handlers {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `list`
[INFO] [stdout] --> src/compiler/symbolizer.rs:291:42
[INFO] [stdout] |
[INFO] [stdout] 291 | MatchSequence::MatchList(list) => {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `tpl`
[INFO] [stdout] --> src/compiler/symbolizer.rs:294:43
[INFO] [stdout] |
[INFO] [stdout] 294 | MatchSequence::MatchTuple(tpl) => {}
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tpl`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `mmap`
[INFO] [stdout] --> src/compiler/symbolizer.rs:297:31
[INFO] [stdout] |
[INFO] [stdout] 297 | MatchPattern::Mapping(mmap) => {}
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mmap`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `cls`
[INFO] [stdout] --> src/compiler/symbolizer.rs:298:29
[INFO] [stdout] |
[INFO] [stdout] 298 | MatchPattern::Class(cls) => {}
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `as_case`
[INFO] [stdout] --> src/compiler/symbolizer.rs:299:26
[INFO] [stdout] |
[INFO] [stdout] 299 | MatchPattern::As(as_case) => {}
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_as_case`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `or_case`
[INFO] [stdout] --> src/compiler/symbolizer.rs:300:26
[INFO] [stdout] |
[INFO] [stdout] 300 | MatchPattern::Or(or_case) => {}
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_or_case`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `dots`
[INFO] [stdout] --> src/compiler/symbolizer.rs:697:13
[INFO] [stdout] |
[INFO] [stdout] 697 | for dots in import.relative {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dots`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `fstring`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1015:37
[INFO] [stdout] |
[INFO] [stdout] 1015 | Expression::FormattedString(fstring) => {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `named`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1019:31
[INFO] [stdout] |
[INFO] [stdout] 1019 | Expression::NamedExpr(named) => {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_named`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `fstring`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1039:30
[INFO] [stdout] |
[INFO] [stdout] 1039 | AstString::Formatted(fstring) => {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `subscript`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1068:20
[INFO] [stdout] |
[INFO] [stdout] 1068 | fn parse_subscript(subscript: Subscript, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subscript`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `depth`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1068:42
[INFO] [stdout] |
[INFO] [stdout] 1068 | fn parse_subscript(subscript: Subscript, depth: usize) {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `prefix`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1087:9
[INFO] [stdout] |
[INFO] [stdout] 1087 | let prefix = INDENT.repeat(depth);
[INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout] --> src/compiler/symbolizer.rs:1089:9
[INFO] [stdout] |
[INFO] [stdout] 1089 | for name in import.names {}
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `test_fstring_basic` is never used
[INFO] [stdout] --> src/lexer/tests.rs:1417:8
[INFO] [stdout] |
[INFO] [stdout] 1417 | fn test_fstring_basic() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `encoding` is never read
[INFO] [stdout] --> src/ast/module.rs:11:9
[INFO] [stdout] |
[INFO] [stdout] 8 | pub struct Module {
[INFO] [stdout] | ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 | pub encoding: String,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `Module` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: trait `WithLeadingLines` is never used
[INFO] [stdout] --> src/ast/traits.rs:18:11
[INFO] [stdout] |
[INFO] [stdout] 18 | pub trait WithLeadingLines {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_slice` is never used
[INFO] [stdout] --> src/walker/mod.rs:616:4
[INFO] [stdout] |
[INFO] [stdout] 616 | fn parse_slice(slice: Slice, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_return` is never used
[INFO] [stdout] --> src/walker/mod.rs:657:4
[INFO] [stdout] |
[INFO] [stdout] 657 | fn parse_return(return_st: Return, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `INDENT` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:50:7
[INFO] [stdout] |
[INFO] [stdout] 50 | const INDENT: &str = " ";
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_module` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:53:8
[INFO] [stdout] |
[INFO] [stdout] 53 | pub fn parse_module(start: Module) {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_attribute` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:62:4
[INFO] [stdout] |
[INFO] [stdout] 62 | fn parse_attribute(attr: Attribute, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_statement_enum` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:68:4
[INFO] [stdout] |
[INFO] [stdout] 68 | fn parse_statement_enum(stm: Statement, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `visit_if_expr` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:85:4
[INFO] [stdout] |
[INFO] [stdout] 85 | fn visit_if_expr(If{ test, body, orelse, is_elif}: If, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_compound_statement` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:115:4
[INFO] [stdout] |
[INFO] [stdout] 115 | fn parse_compound_statement(stm_compound: CompoundStatement, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_def` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:231:4
[INFO] [stdout] |
[INFO] [stdout] 231 | fn parse_def(fdef: FunctionDef, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_match` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:258:4
[INFO] [stdout] |
[INFO] [stdout] 258 | fn parse_match(match_statement: Match, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_match_case` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:272:4
[INFO] [stdout] |
[INFO] [stdout] 272 | fn parse_match_case(mcase: &MatchCase, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_match_case_pattern` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:278:4
[INFO] [stdout] |
[INFO] [stdout] 278 | fn parse_match_case_pattern(mpattern: &MatchPattern, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_with_expr` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:305:4
[INFO] [stdout] |
[INFO] [stdout] 305 | fn parse_with_expr(with_expr: With, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_parameters` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:349:4
[INFO] [stdout] |
[INFO] [stdout] 349 | fn parse_parameters(params: Parameters, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_args` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:406:4
[INFO] [stdout] |
[INFO] [stdout] 406 | fn parse_args(args: Vec, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_suite` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:428:4
[INFO] [stdout] |
[INFO] [stdout] 428 | fn parse_suite(body: Suite, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_smallstatement_enum` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:445:4
[INFO] [stdout] |
[INFO] [stdout] 445 | fn parse_smallstatement_enum(small: SmallStatement, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_element` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:581:4
[INFO] [stdout] |
[INFO] [stdout] 581 | fn parse_element(element: Element, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_augassign` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:594:4
[INFO] [stdout] |
[INFO] [stdout] 594 | fn parse_augassign(augassign: AugAssign, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_assign_target_expression` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:641:4
[INFO] [stdout] |
[INFO] [stdout] 641 | fn parse_assign_target_expression(target: AssignTargetExpression, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_slice` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:674:4
[INFO] [stdout] |
[INFO] [stdout] 674 | fn parse_slice(slice: Slice, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_importfrom` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:691:4
[INFO] [stdout] |
[INFO] [stdout] 691 | fn parse_importfrom(import: ImportFrom, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_return` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:715:4
[INFO] [stdout] |
[INFO] [stdout] 715 | fn parse_return(return_st: Return, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_expression` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:723:4
[INFO] [stdout] |
[INFO] [stdout] 723 | fn parse_expression(expr: Expression, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_ast_String` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:1025:4
[INFO] [stdout] |
[INFO] [stdout] 1025 | fn parse_ast_String(ast_string: AstString, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_for_in` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:1048:4
[INFO] [stdout] |
[INFO] [stdout] 1048 | fn parse_for_in(for_in: CompFor, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_subscript` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:1068:4
[INFO] [stdout] |
[INFO] [stdout] 1068 | fn parse_subscript(subscript: Subscript, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_assert` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:1072:4
[INFO] [stdout] |
[INFO] [stdout] 1072 | fn parse_assert(stm: Assert, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_import` is never used
[INFO] [stdout] --> src/compiler/symbolizer.rs:1086:4
[INFO] [stdout] |
[INFO] [stdout] 1086 | fn parse_import(import: Import, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_ast_String` should have a snake case name
[INFO] [stdout] --> src/walker/mod.rs:967:4
[INFO] [stdout] |
[INFO] [stdout] 967 | fn parse_ast_String(ast_string: AstString, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `parse_ast_string`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `parse_ast_String` should have a snake case name
[INFO] [stdout] --> src/compiler/symbolizer.rs:1025:4
[INFO] [stdout] |
[INFO] [stdout] 1025 | fn parse_ast_String(ast_string: AstString, depth: usize) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `parse_ast_string`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 82 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.14s
[INFO] running `Command { std: "docker" "inspect" "8f22ba06e98a787d705d0a2005c6396a4e2a6e817e259be8d33ffa52168d9a57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8f22ba06e98a787d705d0a2005c6396a4e2a6e817e259be8d33ffa52168d9a57", kill_on_drop: false }`
[INFO] [stdout] 8f22ba06e98a787d705d0a2005c6396a4e2a6e817e259be8d33ffa52168d9a57