[INFO] cloning repository https://github.com/piderking/mtx [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/piderking/mtx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpiderking%2Fmtx", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpiderking%2Fmtx'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4758b79db599ff77f22a4f1a4704f1e90b8a0e42 [INFO] checking piderking/mtx against master#c756124775121dea0e640652c5ee3c89e3dd0eb4 for pr-154971 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpiderking%2Fmtx" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/piderking/mtx [INFO] finished tweaking git repo https://github.com/piderking/mtx [INFO] tweaked toml for git repo https://github.com/piderking/mtx written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/piderking/mtx on toolchain c756124775121dea0e640652c5ee3c89e3dd0eb4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/piderking/mtx 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" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded malachite-bigint v0.2.3 [INFO] [stderr] Downloaded malachite v0.4.22 [INFO] [stderr] Downloaded actix-files v0.6.9 [INFO] [stderr] Downloaded fs v0.0.5 [INFO] [stderr] Downloaded malachite-q v0.4.22 [INFO] [stderr] Downloaded malachite-base v0.4.22 [INFO] [stderr] Downloaded malachite-nz v0.4.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f324efa6457375fa7de6418299ae250cae93f1b72ad9301c5d91cd314611bc06 [INFO] running `Command { std: "docker" "start" "-a" "f324efa6457375fa7de6418299ae250cae93f1b72ad9301c5d91cd314611bc06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f324efa6457375fa7de6418299ae250cae93f1b72ad9301c5d91cd314611bc06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f324efa6457375fa7de6418299ae250cae93f1b72ad9301c5d91cd314611bc06", kill_on_drop: false }` [INFO] [stdout] f324efa6457375fa7de6418299ae250cae93f1b72ad9301c5d91cd314611bc06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b040ab9e94d952e40088e5e3c4a9171287f10dabac5569750645736a0819c00 [INFO] running `Command { std: "docker" "start" "-a" "8b040ab9e94d952e40088e5e3c4a9171287f10dabac5569750645736a0819c00", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling malachite-nz v0.4.22 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zmij v1.0.2 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Checking bytestring v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Compiling regex-lite v0.1.8 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking rustpython-parser-vendored v0.4.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking malachite-base v0.4.22 [INFO] [stderr] Checking brotli v8.0.2 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Checking unicode-ident v1.0.20 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking inotify v0.11.0 [INFO] [stderr] Checking unic-emoji-char v0.9.0 [INFO] [stderr] Checking unic-ucd-ident v0.9.0 [INFO] [stderr] Checking notify-types v2.0.0 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Checking jiff v0.2.16 [INFO] [stderr] Checking lalrpop-util v0.20.2 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking fs v0.0.5 [INFO] [stderr] Checking notify v8.2.0 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling unicode_names2_generator v1.3.0 [INFO] [stderr] Compiling rustpython-parser v0.4.0 [INFO] [stderr] Checking cookie v0.16.2 [INFO] [stderr] Checking env_filter v0.1.4 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling unicode_names2 v1.3.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking rustpython-parser-core v0.4.0 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking actix-rt v2.11.0 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking malachite-q v0.4.22 [INFO] [stderr] Checking malachite v0.4.22 [INFO] [stderr] Checking malachite-bigint v0.2.3 [INFO] [stderr] Checking actix-http v3.11.2 [INFO] [stderr] Checking rustpython-ast v0.4.0 [INFO] [stderr] Checking actix-web v4.12.1 [INFO] [stderr] Checking actix-files v0.6.9 [INFO] [stderr] Checking mtx v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ExprName` [INFO] [stdout] --> src/ast/base.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use rustpython_parser::ast::{ExprName, Identifier}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `symbols::Symbols` [INFO] [stdout] --> src/ast/expressions.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | symbols::Symbols, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ident` and `Value` [INFO] [stdout] --> src/ast/opperations.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | ast::{base::{Ident, Value}, expressions::Expression}, [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> src/ast/system_func.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Debug, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value` and `symbols::Symbols` [INFO] [stdout] --> src/ast/mod.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | ast::base::{Ident, Value}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | symbols::Symbols, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `many0`, `map`, `pair`, `preceded`, `recognize`, `separated_list0`, `terminated`, and `tuple` [INFO] [stdout] --> src/parser/markdown/mod.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | combinator::{map, opt, recognize}, [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] 7 | multi::{many0, many1, separated_list0}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | sequence::{delimited, pair, preceded, terminated, tuple}, [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/parser/math/expression.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `Error`, `ParseError`, `all_consuming`, `alpha0`, `char`, `context`, `many_till`, `map_res`, `number::complete::f32`, `pair`, and `tuple` [INFO] [stdout] --> src/parser/math/expression.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | character::complete::{alpha0, alpha1, char, digit1, multispace0, satisfy}, [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] 8 | combinator::{all_consuming, map, map_res, peek, recognize}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 9 | error::{Error, ErrorKind, ParseError, context}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 10 | multi::{many_till, many0, separated_list0, separated_list1}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | number::complete::f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | sequence::{delimited, pair, preceded, separated_pair, tuple}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Opperation` and `parse_float_value` [INFO] [stdout] --> src/parser/math/expression.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 19 | opperations::{Add, Exp, Index, Multi, Opperation, Root}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | value::{parse_float_value, parse_value}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `test_expression` [INFO] [stdout] --> src/parser/math/expression.rs:334:14 [INFO] [stdout] | [INFO] [stdout] 334 | macro_rules! test_expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alpha1`, `branch::alt`, `multispace0`, `peek`, `separated_pair`, and `take_while1` [INFO] [stdout] --> src/parser/math/module.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | branch::alt, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | take_while1, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | }, [INFO] [stdout] 12 | character::complete::{alpha1, line_ending, multispace0}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 13 | combinator::{map, opt, peek}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | multi::{many0, separated_list0, separated_list1}, [INFO] [stdout] 15 | sequence::{delimited, separated_pair}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, `Read`, and `self` [INFO] [stdout] --> src/parser/math/module.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | use std::io::{self, BufRead, BufReader, Read}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alpha1`, `preceded`, and `take_until` [INFO] [stdout] --> src/parser/math/statement.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | bytes::complete::{is_not, tag, take_until}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | character::complete::{alpha1, multispace0, newline}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | sequence::{delimited, preceded}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base::Ident` [INFO] [stdout] --> src/parser/math/statement.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | ast::{Comment, Definition, Statement, base::Ident}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `panic_if_err` [INFO] [stdout] --> src/parser/math/statement.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | macro_rules! panic_if_err { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::bytes::complete::take_until` [INFO] [stdout] --> src/parser/math/value.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom::bytes::complete::take_until; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Err`, `Input`, `character::complete::char`, and `number::complete::float` [INFO] [stdout] --> src/parser/math/value.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Err, IResult, Input, branch::alt, bytes::complete::tag, character::complete::char, [INFO] [stdout] | ^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | combinator::map, number::complete::float, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/test/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod test; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::format` [INFO] [stdout] --> src/writer/text/mod.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{char, fmt::format}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `module::Metadata` [INFO] [stdout] --> src/writer/display/html.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | ast::{Statement, module::Metadata}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::Statement` [INFO] [stdout] --> src/writer/display/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use crate::ast::Statement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExprName` [INFO] [stdout] --> src/ast/base.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use rustpython_parser::ast::{ExprName, Identifier}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `symbols::Symbols` [INFO] [stdout] --> src/ast/expressions.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | symbols::Symbols, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ident` and `Value` [INFO] [stdout] --> src/ast/opperations.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | ast::{base::{Ident, Value}, expressions::Expression}, [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> src/ast/system_func.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Debug, path::Path}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value` and `symbols::Symbols` [INFO] [stdout] --> src/ast/mod.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | ast::base::{Ident, Value}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | symbols::Symbols, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/ast/mod.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `many0`, `map`, `pair`, `preceded`, `recognize`, `separated_list0`, `terminated`, and `tuple` [INFO] [stdout] --> src/parser/markdown/mod.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | combinator::{map, opt, recognize}, [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] 7 | multi::{many0, many1, separated_list0}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | sequence::{delimited, pair, preceded, terminated, tuple}, [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/parser/math/expression.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `Error`, `ParseError`, `all_consuming`, `alpha0`, `char`, `context`, `many_till`, `map_res`, `number::complete::f32`, `pair`, and `tuple` [INFO] [stdout] --> src/parser/math/expression.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | character::complete::{alpha0, alpha1, char, digit1, multispace0, satisfy}, [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] 8 | combinator::{all_consuming, map, map_res, peek, recognize}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 9 | error::{Error, ErrorKind, ParseError, context}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 10 | multi::{many_till, many0, separated_list0, separated_list1}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | number::complete::f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | sequence::{delimited, pair, preceded, separated_pair, tuple}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Opperation` and `parse_float_value` [INFO] [stdout] --> src/parser/math/expression.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 19 | opperations::{Add, Exp, Index, Multi, Opperation, Root}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | value::{parse_float_value, parse_value}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alpha1`, `branch::alt`, `multispace0`, `peek`, `separated_pair`, and `take_while1` [INFO] [stdout] --> src/parser/math/module.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | branch::alt, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | take_while1, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | }, [INFO] [stdout] 12 | character::complete::{alpha1, line_ending, multispace0}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 13 | combinator::{map, opt, peek}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | multi::{many0, separated_list0, separated_list1}, [INFO] [stdout] 15 | sequence::{delimited, separated_pair}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, `Read`, and `self` [INFO] [stdout] --> src/parser/math/module.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | use std::io::{self, BufRead, BufReader, Read}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alpha1`, `preceded`, and `take_until` [INFO] [stdout] --> src/parser/math/statement.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | bytes::complete::{is_not, tag, take_until}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | character::complete::{alpha1, multispace0, newline}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | sequence::{delimited, preceded}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `base::Ident` [INFO] [stdout] --> src/parser/math/statement.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | ast::{Comment, Definition, Statement, base::Ident}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::bytes::complete::take_until` [INFO] [stdout] --> src/parser/math/value.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom::bytes::complete::take_until; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Err`, `Input`, `character::complete::char`, and `number::complete::float` [INFO] [stdout] --> src/parser/math/value.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Err, IResult, Input, branch::alt, bytes::complete::tag, character::complete::char, [INFO] [stdout] | ^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | combinator::map, number::complete::float, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/test/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::format` [INFO] [stdout] --> src/writer/text/mod.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{char, fmt::format}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `module::Metadata` [INFO] [stdout] --> src/writer/display/html.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | ast::{Statement, module::Metadata}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::Parser` [INFO] [stdout] --> src/writer/display/html.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | use nom::Parser; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ast::Statement` [INFO] [stdout] --> src/writer/display/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use crate::ast::Statement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nom::sequence::tuple`: `Parser` is directly implemented for tuples [INFO] [stdout] --> src/parser/markdown/mod.rs:8:55 [INFO] [stdout] | [INFO] [stdout] 8 | sequence::{delimited, pair, preceded, terminated, tuple}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nom::sequence::tuple`: `Parser` is directly implemented for tuples [INFO] [stdout] --> src/parser/math/expression.rs:12:59 [INFO] [stdout] | [INFO] [stdout] 12 | sequence::{delimited, pair, preceded, separated_pair, tuple}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nom::sequence::tuple`: `Parser` is directly implemented for tuples [INFO] [stdout] --> src/parser/markdown/mod.rs:8:55 [INFO] [stdout] | [INFO] [stdout] 8 | sequence::{delimited, pair, preceded, terminated, tuple}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nom::sequence::tuple`: `Parser` is directly implemented for tuples [INFO] [stdout] --> src/parser/math/expression.rs:12:59 [INFO] [stdout] | [INFO] [stdout] 12 | sequence::{delimited, pair, preceded, separated_pair, tuple}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/writer/text/mod.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | Expression::System(system) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statements` [INFO] [stdout] --> src/writer/display/html.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | Display::Equation(statements) => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statements` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `statements` is never read [INFO] [stdout] --> src/ast/mod.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct AST { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | statements: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_ident` is never used [INFO] [stdout] --> src/parser/math/expression.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn parse_ident(input: &str) -> IResult<&str, Ident> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_exponentiation` is never used [INFO] [stdout] --> src/parser/math/expression.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn parse_exponentiation(input: &str) -> IResult<&str, Expression> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_string_literal` is never used [INFO] [stdout] --> src/parser/math/expression.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn parse_string_literal(input: &str) -> IResult<&str, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_index` is never used [INFO] [stdout] --> src/parser/math/expression.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn parse_index(input: &str) -> IResult<&str, Expression> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_root` is never used [INFO] [stdout] --> src/parser/math/expression.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn parse_root(input: &str) -> IResult<&str, Expression> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_atom` is never used [INFO] [stdout] --> src/parser/math/expression.rs:239:8 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn parse_atom(input: &str) -> IResult<&str, Expression> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_multiplication` is never used [INFO] [stdout] --> src/parser/math/expression.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn parse_multiplication(input: &str) -> IResult<&str, Expression> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_addition` is never used [INFO] [stdout] --> src/parser/math/expression.rs:288:8 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn parse_addition(input: &str) -> IResult<&str, Expression> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_parens` is never used [INFO] [stdout] --> src/parser/math/expression.rs:308:8 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn parse_parens(input: &str) -> IResult<&str, Expression> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_list` is never used [INFO] [stdout] --> src/parser/math/expression.rs:319:8 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn parse_list(input: &str) -> IResult<&str, Expression> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pexp` is never used [INFO] [stdout] --> src/parser/math/expression.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn pexp(input: &str) -> IResult<&str, Expression> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `comment_ending` is never used [INFO] [stdout] --> src/parser/math/module.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn comment_ending(input: &str) -> IResult<&str, ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nothing` is never used [INFO] [stdout] --> src/parser/math/module.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn nothing(input: &str) -> IResult<&str, ()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_metadata_comment` is never used [INFO] [stdout] --> src/parser/math/module.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn parse_metadata_comment(input: &str) -> IResult<&str, Vec<(&str, &str)>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_metadata` is never used [INFO] [stdout] --> src/parser/math/module.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn parse_metadata(input: &str) -> IResult<&str, Metadata> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_module` is never used [INFO] [stdout] --> src/parser/math/module.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn parse_module(input: &str, is_entry: bool, mode: ParseMode) -> IResult<&str, Module> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FileParseError` is never used [INFO] [stdout] --> src/parser/math/module.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | pub enum FileParseError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_entry_file` is never used [INFO] [stdout] --> src/parser/math/module.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn parse_entry_file(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_function_def` is never used [INFO] [stdout] --> src/parser/math/statement.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn parse_function_def(input: &str) -> IResult<&str, Definition> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_constant_def` is never used [INFO] [stdout] --> src/parser/math/statement.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn parse_constant_def(input: &str) -> IResult<&str, Definition> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_definition` is never used [INFO] [stdout] --> src/parser/math/statement.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn parse_definition(input: &str) -> IResult<&str, Definition> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_single_comment` is never used [INFO] [stdout] --> src/parser/math/statement.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn parse_single_comment(input: &str) -> IResult<&str, Comment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_multi_comment` is never used [INFO] [stdout] --> src/parser/math/statement.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn parse_multi_comment(input: &str) -> IResult<&str, Comment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_comment` is never used [INFO] [stdout] --> src/parser/math/statement.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn parse_comment(input: &str) -> IResult<&str, Comment> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_statement` is never used [INFO] [stdout] --> src/parser/math/statement.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn parse_statement(input: &str) -> IResult<&str, Statement> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_float` is never used [INFO] [stdout] --> src/parser/math/value.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn parse_float(input: &str) -> IResult<&str, f64> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_char` is never used [INFO] [stdout] --> src/parser/math/value.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn parse_char(input: &str) -> IResult<&str, char> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_char_value` is never used [INFO] [stdout] --> src/parser/math/value.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn parse_char_value(input: &str) -> IResult<&str, Value> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_float_value` is never used [INFO] [stdout] --> src/parser/math/value.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn parse_float_value(input: &str) -> IResult<&str, Value> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_value` is never used [INFO] [stdout] --> src/parser/math/value.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn parse_value(input: &str) -> IResult<&str, Value>{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ws` is never used [INFO] [stdout] --> src/parser/math/whitespace.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn ws<'a, O, E: ParseError<&'a str>>( [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_python_code` is never used [INFO] [stdout] --> src/test/mod.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn parse_python_code(python_source: &'static str) -> rustpython_parser::ast::Mod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FILE_TYPE` is never used [INFO] [stdout] --> src/writer/text/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const FILE_TYPE: &'static str = ".mtx"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NamedFile` [INFO] [stdout] --> src/main.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_files::{Files, NamedFile}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Data`, `HttpRequest`, and `get` [INFO] [stdout] --> src/main.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | App, HttpRequest, HttpResponse, HttpServer, Responder, Result, get, [INFO] [stdout] | ^^^^^^^^^^^ ^^^ [INFO] [stdout] 4 | web::{self, Data}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::{StreamExt, lock::Mutex}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `collections::HashMap`, `mpsc`, and `ops::Deref` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | ops::Deref, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | path::Path, [INFO] [stdout] 13 | sync::{Arc, mpsc}, [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `broadcast` and `watch` [INFO] [stdout] --> src/main.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::sync::{broadcast, watch}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NamedFile` [INFO] [stdout] --> src/main.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_files::{Files, NamedFile}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Data`, `HttpRequest`, and `get` [INFO] [stdout] --> src/main.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | App, HttpRequest, HttpResponse, HttpServer, Responder, Result, get, [INFO] [stdout] | ^^^^^^^^^^^ ^^^ [INFO] [stdout] 4 | web::{self, Data}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::{StreamExt, lock::Mutex}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `collections::HashMap`, `mpsc`, and `ops::Deref` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | ops::Deref, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | path::Path, [INFO] [stdout] 13 | sync::{Arc, mpsc}, [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `broadcast` and `watch` [INFO] [stdout] --> src/main.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::sync::{broadcast, watch}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remaining_input` [INFO] [stdout] --> src/parser/math/value.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | let (remaining_input, output): (_, Value) = parse_value("12.0").expect("Should Work"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remaining_input` [INFO] [stdout] --> src/parser/math/value.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | let (remaining_input, output): (_, Value) = parse_value("'a'").expect("Should Work"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/writer/text/mod.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | Expression::System(system) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Watcher` [INFO] [stdout] --> src/main.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | use notify::{Event, RecursiveMode, Watcher}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Watcher` [INFO] [stdout] --> src/main.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | use notify::{Event, RecursiveMode, Watcher}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statements` [INFO] [stdout] --> src/writer/display/html.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | Display::Equation(statements) => todo!(), [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statements` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `statements` is never read [INFO] [stdout] --> src/ast/mod.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct AST { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | statements: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nothing` is never used [INFO] [stdout] --> src/parser/math/module.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn nothing(input: &str) -> IResult<&str, ()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Redaction` and `Unknown` are never constructed [INFO] [stdout] --> src/parser/math/module.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 114 | pub enum FileParseError { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 115 | #[error("the data for key `{0}` is not available")] [INFO] [stdout] 116 | Redaction(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_python_code` is never used [INFO] [stdout] --> src/test/mod.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn parse_python_code(python_source: &'static str) -> rustpython_parser::ast::Mod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FILE_TYPE` is never used [INFO] [stdout] --> src/writer/text/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const FILE_TYPE: &'static str = ".mtx"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `directory` [INFO] [stdout] --> src/main.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | async fn build_project(directory: &str, entry_path: &str) -> () {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_directory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_path` [INFO] [stdout] --> src/main.rs:92:41 [INFO] [stdout] | [INFO] [stdout] 92 | async fn build_project(directory: &str, entry_path: &str) -> () {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `directory` [INFO] [stdout] --> src/main.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | async fn build_project(directory: &str, entry_path: &str) -> () {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_directory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_path` [INFO] [stdout] --> src/main.rs:92:41 [INFO] [stdout] | [INFO] [stdout] 92 | async fn build_project(directory: &str, entry_path: &str) -> () {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `access_kind` [INFO] [stdout] --> src/main.rs:169:47 [INFO] [stdout] | [INFO] [stdout] 169 | notify::EventKind::Access(access_kind) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_access_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `create_kind` [INFO] [stdout] --> src/main.rs:173:47 [INFO] [stdout] | [INFO] [stdout] 173 | notify::EventKind::Create(create_kind) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_create_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modify_kind` [INFO] [stdout] --> src/main.rs:179:47 [INFO] [stdout] | [INFO] [stdout] 179 | notify::EventKind::Modify(modify_kind) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modify_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remove_kind` [INFO] [stdout] --> src/main.rs:184:47 [INFO] [stdout] | [INFO] [stdout] 184 | notify::EventKind::Remove(remove_kind) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remove_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entr` [INFO] [stdout] --> src/main.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | let (entr, build_directory, port, host, reload_enabled) = match args.command { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_entr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `access_kind` [INFO] [stdout] --> src/main.rs:169:47 [INFO] [stdout] | [INFO] [stdout] 169 | notify::EventKind::Access(access_kind) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_access_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `create_kind` [INFO] [stdout] --> src/main.rs:173:47 [INFO] [stdout] | [INFO] [stdout] 173 | notify::EventKind::Create(create_kind) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_create_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modify_kind` [INFO] [stdout] --> src/main.rs:179:47 [INFO] [stdout] | [INFO] [stdout] 179 | notify::EventKind::Modify(modify_kind) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modify_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remove_kind` [INFO] [stdout] --> src/main.rs:184:47 [INFO] [stdout] | [INFO] [stdout] 184 | notify::EventKind::Remove(remove_kind) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remove_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entr` [INFO] [stdout] --> src/main.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | let (entr, build_directory, port, host, reload_enabled) = match args.command { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_entr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_project` is never used [INFO] [stdout] --> src/main.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | async fn build_project(directory: &str, entry_path: &str) -> () {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_project` is never used [INFO] [stdout] --> src/main.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | async fn build_project(directory: &str, entry_path: &str) -> () {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.24s [INFO] running `Command { std: "docker" "inspect" "8b040ab9e94d952e40088e5e3c4a9171287f10dabac5569750645736a0819c00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b040ab9e94d952e40088e5e3c4a9171287f10dabac5569750645736a0819c00", kill_on_drop: false }` [INFO] [stdout] 8b040ab9e94d952e40088e5e3c4a9171287f10dabac5569750645736a0819c00