[INFO] cloning repository https://github.com/terrarier2111/MathInterpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/terrarier2111/MathInterpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterrarier2111%2FMathInterpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterrarier2111%2FMathInterpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab7775ec437cde71a64cc227fb4d06a5ab702bc7 [INFO] testing terrarier2111/MathInterpreter against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterrarier2111%2FMathInterpreter" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/terrarier2111/MathInterpreter on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/terrarier2111/MathInterpreter [INFO] finished tweaking git repo https://github.com/terrarier2111/MathInterpreter [INFO] tweaked toml for git repo https://github.com/terrarier2111/MathInterpreter written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/terrarier2111/MathInterpreter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust_decimal v1.19.0 [INFO] [stderr] Downloaded rust_decimal_macros v1.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ed6c1d3c32d6d457bdc2668acbc42317d9b7f5ed6c5d6ec3e3991f8f5b250b3 [INFO] running `Command { std: "docker" "start" "-a" "9ed6c1d3c32d6d457bdc2668acbc42317d9b7f5ed6c5d6ec3e3991f8f5b250b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ed6c1d3c32d6d457bdc2668acbc42317d9b7f5ed6c5d6ec3e3991f8f5b250b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ed6c1d3c32d6d457bdc2668acbc42317d9b7f5ed6c5d6ec3e3991f8f5b250b3", kill_on_drop: false }` [INFO] [stdout] 9ed6c1d3c32d6d457bdc2668acbc42317d9b7f5ed6c5d6ec3e3991f8f5b250b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03aa5135693ab4c23ab9550980fbaa5458741dff5b4e1cfa97b62a0fd0a0d0aa [INFO] running `Command { std: "docker" "start" "-a" "03aa5135693ab4c23ab9550980fbaa5458741dff5b4e1cfa97b62a0fd0a0d0aa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling rust_decimal v1.19.0 [INFO] [stderr] Compiling rust_decimal_macros v1.19.0 [INFO] [stderr] Compiling MathInterpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ANSMode`, `Config`, `DiagnosticsConfig`, `Mode`, `_lib` [INFO] [stdout] --> src/equation_simplifier.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{_lib, parser, shared, ANSMode, Config, DiagnosticsConfig, Mode}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config`, `DiagnosticsConfig`, `_lib` [INFO] [stdout] --> src/parser.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | register_const, ANSMode, Config, DiagnosticsConfig, _lib, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/equation_solver.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn solve_lin_1_arg(tokens: Vec) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rec_eq` is assigned to, but never used [INFO] [stdout] --> src/parser.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let mut rec_eq = NONE; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_rec_eq` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rec_eq` is never read [INFO] [stdout] --> src/parser.rs:153:29 [INFO] [stdout] | [INFO] [stdout] 153 | ... rec_eq = token.0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `diagnostics` [INFO] [stdout] --> src/_lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | diagnostics: DiagnosticsConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `color` [INFO] [stdout] --> src/_lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | color: bool, // FIXME: Currently unsupported [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `printing_order` [INFO] [stdout] --> src/_lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | printing_order: DiagnosticsPrintingOrder, // FIXME: Currently unsupported [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Before` [INFO] [stdout] --> src/_lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Before, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Simplify` [INFO] [stdout] --> src/_lib.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | Simplify, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/_lib.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Solve` [INFO] [stdout] --> src/_lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | Solve, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/_lib.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Never` [INFO] [stdout] --> src/_lib.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | Never, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ANSMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/_lib.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Copy, Clone, Eq, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Always` [INFO] [stdout] --> src/_lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | Always, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ANSMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/_lib.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Copy, Clone, Eq, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve_lin_1_arg` [INFO] [stdout] --> src/equation_solver.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn solve_lin_1_arg(tokens: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shrink_lo` [INFO] [stdout] --> src/error.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn shrink_lo(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shrink_hi` [INFO] [stdout] --> src/error.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn shrink_hi(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expand_lo` [INFO] [stdout] --> src/error.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn expand_lo(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `error` [INFO] [stdout] --> src/error.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn error(&mut self, error: String) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `warn` [INFO] [stdout] --> src/error.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn warn(&mut self, warning: String) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `suggest_spanned` [INFO] [stdout] --> src/error.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn suggest_spanned(&mut self, suggestion: String, span: Span) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_multi_span_string` [INFO] [stdout] --> src/error.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | fn build_multi_span_string(len: usize, spans: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Suggestion` [INFO] [stdout] --> src/error.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | Suggestion(String, Span), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DiagnosticItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_input` [INFO] [stdout] --> src/parser.rs:486:12 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn get_input(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DefineRecFunc` [INFO] [stdout] --> src/parser.rs:751:5 [INFO] [stdout] | [INFO] [stdout] 751 | DefineRecFunc(String, Vec, (usize, usize)), // function name, function arguments, (recursive min idx, recursive min val) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser.rs:747:10 [INFO] [stdout] | [INFO] [stdout] 747 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `kind` [INFO] [stdout] --> src/parser.rs:756:12 [INFO] [stdout] | [INFO] [stdout] 756 | pub fn kind(&self) -> ActionKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DefineVar` [INFO] [stdout] --> src/parser.rs:768:5 [INFO] [stdout] | [INFO] [stdout] 768 | DefineVar, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ActionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser.rs:766:10 [INFO] [stdout] | [INFO] [stdout] 766 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DefineFunc` [INFO] [stdout] --> src/parser.rs:769:5 [INFO] [stdout] | [INFO] [stdout] 769 | DefineFunc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ActionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser.rs:766:10 [INFO] [stdout] | [INFO] [stdout] 766 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DefineRecFunc` [INFO] [stdout] --> src/parser.rs:770:5 [INFO] [stdout] | [INFO] [stdout] 770 | DefineRecFunc, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ActionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser.rs:766:10 [INFO] [stdout] | [INFO] [stdout] 766 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Eval` [INFO] [stdout] --> src/parser.rs:771:5 [INFO] [stdout] | [INFO] [stdout] 771 | Eval, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ActionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser.rs:766:10 [INFO] [stdout] | [INFO] [stdout] 766 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tokens_to_string` [INFO] [stdout] --> src/parser.rs:968:12 [INFO] [stdout] | [INFO] [stdout] 968 | fn tokens_to_string(tokens: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tokens_to_string_ranged` [INFO] [stdout] --> src/parser.rs:976:12 [INFO] [stdout] | [INFO] [stdout] 976 | fn tokens_to_string_ranged(tokens: &Vec, start: usize, end: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner_span` [INFO] [stdout] --> src/parser.rs:1084:5 [INFO] [stdout] | [INFO] [stdout] 1084 | inner_span: Span, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Region` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser.rs:1080:10 [INFO] [stdout] | [INFO] [stdout] 1080 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `replace_in_tokens` [INFO] [stdout] --> src/parser.rs:1098:19 [INFO] [stdout] | [INFO] [stdout] 1098 | pub(crate) fn replace_in_tokens(self, tokens: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_token` [INFO] [stdout] --> src/parser.rs:1106:19 [INFO] [stdout] | [INFO] [stdout] 1106 | pub(crate) fn to_token(self, tokens: Vec) -> Token { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_inner_tokens` [INFO] [stdout] --> src/parser.rs:1110:19 [INFO] [stdout] | [INFO] [stdout] 1110 | pub(crate) fn to_inner_tokens(self, tokens: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_braces` [INFO] [stdout] --> src/parser.rs:1118:19 [INFO] [stdout] | [INFO] [stdout] 1118 | pub(crate) fn pop_braces(&mut self, tokens: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/parser.rs:1209:19 [INFO] [stdout] | [INFO] [stdout] 1209 | pub(crate) fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_ok` [INFO] [stdout] --> src/parser.rs:1253:19 [INFO] [stdout] | [INFO] [stdout] 1253 | pub(crate) fn new_ok(val: T) -> ParseResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `diagnostics` [INFO] [stdout] --> src/parser.rs:1257:12 [INFO] [stdout] | [INFO] [stdout] 1257 | pub fn diagnostics(&self) -> Option<&DiagnosticBuilder> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unwrap` [INFO] [stdout] --> src/parser.rs:1265:19 [INFO] [stdout] | [INFO] [stdout] 1265 | pub(crate) fn unwrap(self) -> (T, Option) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_wrapped` [INFO] [stdout] --> src/parser.rs:1271:8 [INFO] [stdout] | [INFO] [stdout] 1271 | fn to_wrapped(self) -> Result, ParseResult> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/shared.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Left` [INFO] [stdout] --> src/shared.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ArgsKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/shared.rs:248:10 [INFO] [stdout] | [INFO] [stdout] 248 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Right` [INFO] [stdout] --> src/shared.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ArgsKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/shared.rs:248:10 [INFO] [stdout] | [INFO] [stdout] 248 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_mut` [INFO] [stdout] --> src/shared.rs:330:12 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn next_mut(&mut self) -> Option<&mut Token> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `look_back` [INFO] [stdout] --> src/shared.rs:337:12 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn look_back(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `look_back_by` [INFO] [stdout] --> src/shared.rs:341:12 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn look_back_by(&self, by: usize) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `look_ahead` [INFO] [stdout] --> src/shared.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 346 | pub fn look_ahead(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `look_ahead_by` [INFO] [stdout] --> src/shared.rs:350:12 [INFO] [stdout] | [INFO] [stdout] 350 | pub fn look_ahead_by(&self, by: usize) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `look_back_mut` [INFO] [stdout] --> src/shared.rs:355:12 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn look_back_mut(&mut self) -> Option<&mut Token> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `look_back_by_mut` [INFO] [stdout] --> src/shared.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn look_back_by_mut(&mut self, by: usize) -> Option<&mut Token> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `look_ahead_mut` [INFO] [stdout] --> src/shared.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn look_ahead_mut(&mut self) -> Option<&mut Token> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `look_ahead_by_mut` [INFO] [stdout] --> src/shared.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn look_ahead_by_mut(&mut self, by: usize) -> Option<&mut Token> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `MathInterpreter` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `math_interpreter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.03s [INFO] running `Command { std: "docker" "inspect" "03aa5135693ab4c23ab9550980fbaa5458741dff5b4e1cfa97b62a0fd0a0d0aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03aa5135693ab4c23ab9550980fbaa5458741dff5b4e1cfa97b62a0fd0a0d0aa", kill_on_drop: false }` [INFO] [stdout] 03aa5135693ab4c23ab9550980fbaa5458741dff5b4e1cfa97b62a0fd0a0d0aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 483274a5dcc6758e6e1b784cba8dd03e9326ad2bdb82df0d19324b4b595d2885 [INFO] running `Command { std: "docker" "start" "-a" "483274a5dcc6758e6e1b784cba8dd03e9326ad2bdb82df0d19324b4b595d2885", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling MathInterpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/equation_solver.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn solve_lin_1_arg(tokens: Vec) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rec_eq` is assigned to, but never used [INFO] [stdout] --> src/parser.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let mut rec_eq = NONE; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_rec_eq` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rec_eq` is never read [INFO] [stdout] --> src/parser.rs:153:29 [INFO] [stdout] | [INFO] [stdout] 153 | ... rec_eq = token.0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `diagnostics` [INFO] [stdout] --> src/_lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | diagnostics: DiagnosticsConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `color` [INFO] [stdout] --> src/_lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | color: bool, // FIXME: Currently unsupported [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `printing_order` [INFO] [stdout] --> src/_lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | printing_order: DiagnosticsPrintingOrder, // FIXME: Currently unsupported [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Before` [INFO] [stdout] --> src/_lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | Before, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Solve` [INFO] [stdout] --> src/_lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | Solve, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Mode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/_lib.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Always` [INFO] [stdout] --> src/_lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | Always, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ANSMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/_lib.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Copy, Clone, Eq, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve_lin_1_arg` [INFO] [stdout] --> src/equation_solver.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn solve_lin_1_arg(tokens: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shrink_lo` [INFO] [stdout] --> src/error.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn shrink_lo(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shrink_hi` [INFO] [stdout] --> src/error.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn shrink_hi(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expand_lo` [INFO] [stdout] --> src/error.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn expand_lo(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `error` [INFO] [stdout] --> src/error.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn error(&mut self, error: String) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `warn` [INFO] [stdout] --> src/error.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn warn(&mut self, warning: String) -> &mut Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `suggest_spanned` [INFO] [stdout] --> src/error.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn suggest_spanned(&mut self, suggestion: String, span: Span) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build_multi_span_string` [INFO] [stdout] --> src/error.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | fn build_multi_span_string(len: usize, spans: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Suggestion` [INFO] [stdout] --> src/error.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | Suggestion(String, Span), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DiagnosticItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DefineRecFunc` [INFO] [stdout] --> src/parser.rs:751:5 [INFO] [stdout] | [INFO] [stdout] 751 | DefineRecFunc(String, Vec, (usize, usize)), // function name, function arguments, (recursive min idx, recursive min val) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser.rs:747:10 [INFO] [stdout] | [INFO] [stdout] 747 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `kind` [INFO] [stdout] --> src/parser.rs:756:12 [INFO] [stdout] | [INFO] [stdout] 756 | pub fn kind(&self) -> ActionKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DefineVar` [INFO] [stdout] --> src/parser.rs:768:5 [INFO] [stdout] | [INFO] [stdout] 768 | DefineVar, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ActionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser.rs:766:10 [INFO] [stdout] | [INFO] [stdout] 766 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DefineFunc` [INFO] [stdout] --> src/parser.rs:769:5 [INFO] [stdout] | [INFO] [stdout] 769 | DefineFunc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ActionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser.rs:766:10 [INFO] [stdout] | [INFO] [stdout] 766 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DefineRecFunc` [INFO] [stdout] --> src/parser.rs:770:5 [INFO] [stdout] | [INFO] [stdout] 770 | DefineRecFunc, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ActionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser.rs:766:10 [INFO] [stdout] | [INFO] [stdout] 766 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Eval` [INFO] [stdout] --> src/parser.rs:771:5 [INFO] [stdout] | [INFO] [stdout] 771 | Eval, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ActionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser.rs:766:10 [INFO] [stdout] | [INFO] [stdout] 766 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tokens_to_string` [INFO] [stdout] --> src/parser.rs:968:12 [INFO] [stdout] | [INFO] [stdout] 968 | fn tokens_to_string(tokens: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tokens_to_string_ranged` [INFO] [stdout] --> src/parser.rs:976:12 [INFO] [stdout] | [INFO] [stdout] 976 | fn tokens_to_string_ranged(tokens: &Vec, start: usize, end: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner_span` [INFO] [stdout] --> src/parser.rs:1084:5 [INFO] [stdout] | [INFO] [stdout] 1084 | inner_span: Span, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Region` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser.rs:1080:10 [INFO] [stdout] | [INFO] [stdout] 1080 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `replace_in_tokens` [INFO] [stdout] --> src/parser.rs:1098:19 [INFO] [stdout] | [INFO] [stdout] 1098 | pub(crate) fn replace_in_tokens(self, tokens: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_token` [INFO] [stdout] --> src/parser.rs:1106:19 [INFO] [stdout] | [INFO] [stdout] 1106 | pub(crate) fn to_token(self, tokens: Vec) -> Token { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_inner_tokens` [INFO] [stdout] --> src/parser.rs:1110:19 [INFO] [stdout] | [INFO] [stdout] 1110 | pub(crate) fn to_inner_tokens(self, tokens: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_braces` [INFO] [stdout] --> src/parser.rs:1118:19 [INFO] [stdout] | [INFO] [stdout] 1118 | pub(crate) fn pop_braces(&mut self, tokens: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/parser.rs:1209:19 [INFO] [stdout] | [INFO] [stdout] 1209 | pub(crate) fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_ok` [INFO] [stdout] --> src/parser.rs:1253:19 [INFO] [stdout] | [INFO] [stdout] 1253 | pub(crate) fn new_ok(val: T) -> ParseResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `diagnostics` [INFO] [stdout] --> src/parser.rs:1257:12 [INFO] [stdout] | [INFO] [stdout] 1257 | pub fn diagnostics(&self) -> Option<&DiagnosticBuilder> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_wrapped` [INFO] [stdout] --> src/parser.rs:1271:8 [INFO] [stdout] | [INFO] [stdout] 1271 | fn to_wrapped(self) -> Result, ParseResult> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/shared.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Left` [INFO] [stdout] --> src/shared.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ArgsKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/shared.rs:248:10 [INFO] [stdout] | [INFO] [stdout] 248 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Right` [INFO] [stdout] --> src/shared.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ArgsKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/shared.rs:248:10 [INFO] [stdout] | [INFO] [stdout] 248 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_mut` [INFO] [stdout] --> src/shared.rs:330:12 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn next_mut(&mut self) -> Option<&mut Token> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `look_back` [INFO] [stdout] --> src/shared.rs:337:12 [INFO] [stdout] | [INFO] [stdout] 337 | pub fn look_back(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `look_back_by` [INFO] [stdout] --> src/shared.rs:341:12 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn look_back_by(&self, by: usize) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `look_ahead` [INFO] [stdout] --> src/shared.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 346 | pub fn look_ahead(&self) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `look_ahead_by` [INFO] [stdout] --> src/shared.rs:350:12 [INFO] [stdout] | [INFO] [stdout] 350 | pub fn look_ahead_by(&self, by: usize) -> Option<&Token> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `look_back_mut` [INFO] [stdout] --> src/shared.rs:355:12 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn look_back_mut(&mut self) -> Option<&mut Token> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `look_back_by_mut` [INFO] [stdout] --> src/shared.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 359 | pub fn look_back_by_mut(&mut self, by: usize) -> Option<&mut Token> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `look_ahead_mut` [INFO] [stdout] --> src/shared.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 364 | pub fn look_ahead_mut(&mut self) -> Option<&mut Token> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `look_ahead_by_mut` [INFO] [stdout] --> src/shared.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn look_ahead_by_mut(&mut self, by: usize) -> Option<&mut Token> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `MathInterpreter` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `math_interpreter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.52s [INFO] running `Command { std: "docker" "inspect" "483274a5dcc6758e6e1b784cba8dd03e9326ad2bdb82df0d19324b4b595d2885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "483274a5dcc6758e6e1b784cba8dd03e9326ad2bdb82df0d19324b4b595d2885", kill_on_drop: false }` [INFO] [stdout] 483274a5dcc6758e6e1b784cba8dd03e9326ad2bdb82df0d19324b4b595d2885 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 99f62e69d85e062c13031448d516fa58936846ad9b924c628bc4685664fa86a3 [INFO] running `Command { std: "docker" "start" "-a" "99f62e69d85e062c13031448d516fa58936846ad9b924c628bc4685664fa86a3", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `tokens` [INFO] [stderr] --> src/equation_solver.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn solve_lin_1_arg(tokens: Vec) -> Vec { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `rec_eq` is assigned to, but never used [INFO] [stderr] --> src/parser.rs:138:17 [INFO] [stderr] | [INFO] [stderr] 138 | let mut rec_eq = NONE; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_rec_eq` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `rec_eq` is never read [INFO] [stderr] --> src/parser.rs:153:29 [INFO] [stderr] | [INFO] [stderr] 153 | ... rec_eq = token.0; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: field is never read: `diagnostics` [INFO] [stderr] --> src/_lib.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | diagnostics: DiagnosticsConfig, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `color` [INFO] [stderr] --> src/_lib.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | color: bool, // FIXME: Currently unsupported [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `printing_order` [INFO] [stderr] --> src/_lib.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | printing_order: DiagnosticsPrintingOrder, // FIXME: Currently unsupported [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Before` [INFO] [stderr] --> src/_lib.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | Before, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Solve` [INFO] [stderr] --> src/_lib.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | Solve, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Mode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/_lib.rs:42:16 [INFO] [stderr] | [INFO] [stderr] 42 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Always` [INFO] [stderr] --> src/_lib.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | Always, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ANSMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/_lib.rs:50:16 [INFO] [stderr] | [INFO] [stderr] 50 | #[derive(Copy, Clone, Eq, PartialEq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `solve_lin_1_arg` [INFO] [stderr] --> src/equation_solver.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn solve_lin_1_arg(tokens: Vec) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `shrink_lo` [INFO] [stderr] --> src/error.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn shrink_lo(&mut self) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `shrink_hi` [INFO] [stderr] --> src/error.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn shrink_hi(&mut self) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `expand_lo` [INFO] [stderr] --> src/error.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn expand_lo(&mut self) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `error` [INFO] [stderr] --> src/error.rs:110:12 [INFO] [stderr] | [INFO] [stderr] 110 | pub fn error(&mut self, error: String) -> &mut Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `warn` [INFO] [stderr] --> src/error.rs:120:12 [INFO] [stderr] | [INFO] [stderr] 120 | pub fn warn(&mut self, warning: String) -> &mut Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `suggest_spanned` [INFO] [stderr] --> src/error.rs:129:12 [INFO] [stderr] | [INFO] [stderr] 129 | pub fn suggest_spanned(&mut self, suggestion: String, span: Span) -> &mut Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `build_multi_span_string` [INFO] [stderr] --> src/error.rs:139:8 [INFO] [stderr] | [INFO] [stderr] 139 | fn build_multi_span_string(len: usize, spans: &Vec) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Suggestion` [INFO] [stderr] --> src/error.rs:164:5 [INFO] [stderr] | [INFO] [stderr] 164 | Suggestion(String, Span), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DiagnosticItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/error.rs:160:10 [INFO] [stderr] | [INFO] [stderr] 160 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DefineRecFunc` [INFO] [stderr] --> src/parser.rs:751:5 [INFO] [stderr] | [INFO] [stderr] 751 | DefineRecFunc(String, Vec, (usize, usize)), // function name, function arguments, (recursive min idx, recursive min val) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Action` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser.rs:747:10 [INFO] [stderr] | [INFO] [stderr] 747 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `kind` [INFO] [stderr] --> src/parser.rs:756:12 [INFO] [stderr] | [INFO] [stderr] 756 | pub fn kind(&self) -> ActionKind { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DefineVar` [INFO] [stderr] --> src/parser.rs:768:5 [INFO] [stderr] | [INFO] [stderr] 768 | DefineVar, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ActionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser.rs:766:10 [INFO] [stderr] | [INFO] [stderr] 766 | #[derive(Debug, Copy, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DefineFunc` [INFO] [stderr] --> src/parser.rs:769:5 [INFO] [stderr] | [INFO] [stderr] 769 | DefineFunc, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ActionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser.rs:766:10 [INFO] [stderr] | [INFO] [stderr] 766 | #[derive(Debug, Copy, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `DefineRecFunc` [INFO] [stderr] --> src/parser.rs:770:5 [INFO] [stderr] | [INFO] [stderr] 770 | DefineRecFunc, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ActionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser.rs:766:10 [INFO] [stderr] | [INFO] [stderr] 766 | #[derive(Debug, Copy, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Eval` [INFO] [stderr] --> src/parser.rs:771:5 [INFO] [stderr] | [INFO] [stderr] 771 | Eval, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ActionKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser.rs:766:10 [INFO] [stderr] | [INFO] [stderr] 766 | #[derive(Debug, Copy, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `tokens_to_string` [INFO] [stderr] --> src/parser.rs:968:12 [INFO] [stderr] | [INFO] [stderr] 968 | fn tokens_to_string(tokens: &Vec) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `tokens_to_string_ranged` [INFO] [stderr] --> src/parser.rs:976:12 [INFO] [stderr] | [INFO] [stderr] 976 | fn tokens_to_string_ranged(tokens: &Vec, start: usize, end: usize) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `inner_span` [INFO] [stderr] --> src/parser.rs:1084:5 [INFO] [stderr] | [INFO] [stderr] 1084 | inner_span: Span, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Region` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser.rs:1080:10 [INFO] [stderr] | [INFO] [stderr] 1080 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `replace_in_tokens` [INFO] [stderr] --> src/parser.rs:1098:19 [INFO] [stderr] | [INFO] [stderr] 1098 | pub(crate) fn replace_in_tokens(self, tokens: &mut Vec) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `to_token` [INFO] [stderr] --> src/parser.rs:1106:19 [INFO] [stderr] | [INFO] [stderr] 1106 | pub(crate) fn to_token(self, tokens: Vec) -> Token { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `to_inner_tokens` [INFO] [stderr] --> src/parser.rs:1110:19 [INFO] [stderr] | [INFO] [stderr] 1110 | pub(crate) fn to_inner_tokens(self, tokens: &Vec) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `pop_braces` [INFO] [stderr] --> src/parser.rs:1118:19 [INFO] [stderr] | [INFO] [stderr] 1118 | pub(crate) fn pop_braces(&mut self, tokens: &mut Vec) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `len` [INFO] [stderr] --> src/parser.rs:1209:19 [INFO] [stderr] | [INFO] [stderr] 1209 | pub(crate) fn len(&self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new_ok` [INFO] [stderr] --> src/parser.rs:1253:19 [INFO] [stderr] | [INFO] [stderr] 1253 | pub(crate) fn new_ok(val: T) -> ParseResult { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `diagnostics` [INFO] [stderr] --> src/parser.rs:1257:12 [INFO] [stderr] | [INFO] [stderr] 1257 | pub fn diagnostics(&self) -> Option<&DiagnosticBuilder> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `to_wrapped` [INFO] [stderr] --> src/parser.rs:1271:8 [INFO] [stderr] | [INFO] [stderr] 1271 | fn to_wrapped(self) -> Result, ParseResult> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `to_string` [INFO] [stderr] --> src/shared.rs:114:12 [INFO] [stderr] | [INFO] [stderr] 114 | pub fn to_string(&self) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Left` [INFO] [stderr] --> src/shared.rs:251:5 [INFO] [stderr] | [INFO] [stderr] 251 | Left, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ArgsKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/shared.rs:248:10 [INFO] [stderr] | [INFO] [stderr] 248 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Right` [INFO] [stderr] --> src/shared.rs:252:5 [INFO] [stderr] | [INFO] [stderr] 252 | Right, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ArgsKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/shared.rs:248:10 [INFO] [stderr] | [INFO] [stderr] 248 | #[derive(Debug, Copy, Clone, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `next_mut` [INFO] [stderr] --> src/shared.rs:330:12 [INFO] [stderr] | [INFO] [stderr] 330 | pub fn next_mut(&mut self) -> Option<&mut Token> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `look_back` [INFO] [stderr] --> src/shared.rs:337:12 [INFO] [stderr] | [INFO] [stderr] 337 | pub fn look_back(&self) -> Option<&Token> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `look_back_by` [INFO] [stderr] --> src/shared.rs:341:12 [INFO] [stderr] | [INFO] [stderr] 341 | pub fn look_back_by(&self, by: usize) -> Option<&Token> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `look_ahead` [INFO] [stderr] --> src/shared.rs:346:12 [INFO] [stderr] | [INFO] [stderr] 346 | pub fn look_ahead(&self) -> Option<&Token> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `look_ahead_by` [INFO] [stderr] --> src/shared.rs:350:12 [INFO] [stderr] | [INFO] [stderr] 350 | pub fn look_ahead_by(&self, by: usize) -> Option<&Token> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `look_back_mut` [INFO] [stderr] --> src/shared.rs:355:12 [INFO] [stderr] | [INFO] [stderr] 355 | pub fn look_back_mut(&mut self) -> Option<&mut Token> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `look_back_by_mut` [INFO] [stderr] --> src/shared.rs:359:12 [INFO] [stderr] | [INFO] [stderr] 359 | pub fn look_back_by_mut(&mut self, by: usize) -> Option<&mut Token> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `look_ahead_mut` [INFO] [stderr] --> src/shared.rs:364:12 [INFO] [stderr] | [INFO] [stderr] 364 | pub fn look_ahead_mut(&mut self) -> Option<&mut Token> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `look_ahead_by_mut` [INFO] [stderr] --> src/shared.rs:368:12 [INFO] [stderr] | [INFO] [stderr] 368 | pub fn look_ahead_by_mut(&mut self, by: usize) -> Option<&mut Token> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: crate `MathInterpreter` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `math_interpreter` [INFO] [stderr] [INFO] [stderr] warning: `MathInterpreter` (bin "MathInterpreter" test) generated 48 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/MathInterpreter-3ed8b889e391e293) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test equation_simplifier::test ... ok [INFO] [stdout] test parser::test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "99f62e69d85e062c13031448d516fa58936846ad9b924c628bc4685664fa86a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99f62e69d85e062c13031448d516fa58936846ad9b924c628bc4685664fa86a3", kill_on_drop: false }` [INFO] [stdout] 99f62e69d85e062c13031448d516fa58936846ad9b924c628bc4685664fa86a3