[INFO] cloning repository https://github.com/suhanyujie/my-parser-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suhanyujie/my-parser-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhanyujie%2Fmy-parser-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhanyujie%2Fmy-parser-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de42fe38ef283e1827f53380304c8a151374c6a6 [INFO] checking suhanyujie/my-parser-rs against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhanyujie%2Fmy-parser-rs" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/suhanyujie/my-parser-rs on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/suhanyujie/my-parser-rs [INFO] finished tweaking git repo https://github.com/suhanyujie/my-parser-rs [INFO] tweaked toml for git repo https://github.com/suhanyujie/my-parser-rs written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/suhanyujie/my-parser-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nom v7.0.0 [INFO] [stderr] Downloaded minimal-lexical v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30e0a550cc93427109a54dfb27e070a3946a28591a07799b11919ae964510a02 [INFO] running `Command { std: "docker" "start" "-a" "30e0a550cc93427109a54dfb27e070a3946a28591a07799b11919ae964510a02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30e0a550cc93427109a54dfb27e070a3946a28591a07799b11919ae964510a02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30e0a550cc93427109a54dfb27e070a3946a28591a07799b11919ae964510a02", kill_on_drop: false }` [INFO] [stdout] 30e0a550cc93427109a54dfb27e070a3946a28591a07799b11919ae964510a02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fd345646da3bb6101d62a37f3752d436c69b05d50274d8c5fc30eed8dff2121 [INFO] running `Command { std: "docker" "start" "-a" "9fd345646da3bb6101d62a37f3752d436c69b05d50274d8c5fc30eed8dff2121", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling minimal-lexical v0.1.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Checking structopt v0.3.14 [INFO] [stderr] Checking my-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | (0...64, 0...64) | (91...96, 91...96) | (123...255, 123...255) => a == b, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | (0...64, 0...64) | (91...96, 91...96) | (123...255, 123...255) => a == b, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | (0...64, 0...64) | (91...96, 91...96) | (123...255, 123...255) => a == b, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | (0...64, 0...64) | (91...96, 91...96) | (123...255, 123...255) => a == b, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:35:53 [INFO] [stdout] | [INFO] [stdout] 35 | (0...64, 0...64) | (91...96, 91...96) | (123...255, 123...255) => a == b, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:35:64 [INFO] [stdout] | [INFO] [stdout] 35 | (0...64, 0...64) | (91...96, 91...96) | (123...255, 123...255) => a == b, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | (65...90, 65...90) | (97...122, 97...122) | (65...90, 97...122) | (97...122, 65...90) => *a | 0b00_10_00_00 == *b | 0b00_10_00_00, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | (65...90, 65...90) | (97...122, 97...122) | (65...90, 97...122) | (97...122, 65...90) => *a | 0b00_10_00_00 == *b | 0b00_10_00_00, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | (65...90, 65...90) | (97...122, 97...122) | (65...90, 97...122) | (97...122, 65...90) => *a | 0b00_10_00_00 == *b | 0b00_10_00_00, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:36:43 [INFO] [stdout] | [INFO] [stdout] 36 | (65...90, 65...90) | (97...122, 97...122) | (65...90, 97...122) | (97...122, 65...90) => *a | 0b00_10_00_00 == *b | 0b00_10_00_00, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:36:56 [INFO] [stdout] | [INFO] [stdout] 36 | (65...90, 65...90) | (97...122, 97...122) | (65...90, 97...122) | (97...122, 65...90) => *a | 0b00_10_00_00 == *b | 0b00_10_00_00, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:36:65 [INFO] [stdout] | [INFO] [stdout] 36 | (65...90, 65...90) | (97...122, 97...122) | (65...90, 97...122) | (97...122, 65...90) => *a | 0b00_10_00_00 == *b | 0b00_10_00_00, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:36:78 [INFO] [stdout] | [INFO] [stdout] 36 | (65...90, 65...90) | (97...122, 97...122) | (65...90, 97...122) | (97...122, 65...90) => *a | 0b00_10_00_00 == *b | 0b00_10_00_00, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:36:88 [INFO] [stdout] | [INFO] [stdout] 36 | (65...90, 65...90) | (97...122, 97...122) | (65...90, 97...122) | (97...122, 65...90) => *a | 0b00_10_00_00 == *b | 0b00_10_00_00, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/http.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Err`, `ErrorKind`, `VerboseError`, `convert_error` [INFO] [stdout] --> src/json.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | error::{context, convert_error, ContextError, ErrorKind, ParseError, VerboseError}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | Err, IResult, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/json.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/markdown.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextError`, `Err`, `ErrorKind`, `IResult`, `ParseError`, `VerboseError`, `alphanumeric1 as alphanumeric`, `branch::alt`, `char`, `context`, `convert_error`, `cut`, `delimited`, `escaped`, `line_ending`, `many1`, `many_m_n`, `map`, `multispace1`, `not_line_ending`, `number::complete::double`, `one_of`, `opt`, `pair`, `preceded`, `separated_list0`, `separated_pair`, `tag`, `take_while`, `terminated`, `value` [INFO] [stdout] --> src/markdown_nom.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | branch::alt, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | bytes::complete::{escaped, tag, take_while}, [INFO] [stdout] | ^^^^^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] 8 | character::complete::{alphanumeric1 as alphanumeric, char, one_of, multispace1, not_line_ending, line_ending}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 9 | combinator::{cut, map, opt, value}, [INFO] [stdout] | ^^^ ^^^ ^^^ ^^^^^ [INFO] [stdout] 10 | error::{context, convert_error, ContextError, ErrorKind, ParseError, VerboseError}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 11 | multi::{separated_list0,many_m_n, many1}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] 12 | number::complete::double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | sequence::{delimited, preceded, separated_pair, terminated, pair}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^ [INFO] [stdout] 14 | Err, IResult, [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/markdown_nom.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/markdown_nom.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `many0`, `map_parser`, `pair`, `terminated` [INFO] [stdout] --> src/nom1.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | combinator::{map_parser, map_res}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | multi::{many0, many1}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | sequence::{delimited, pair, terminated, tuple}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::whitespace_char` [INFO] [stdout] --> src/nom1.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::whitespace_char; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::combinator::map as nom_map` [INFO] [stdout] --> src/parse_string.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | use nom::combinator::map as nom_map; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Err`, `Parser`, `error::ErrorKind` [INFO] [stdout] --> src/parse_string.rs:296:11 [INFO] [stdout] | [INFO] [stdout] 296 | use nom::{error::ErrorKind, Err, Parser}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufMut`, `BytesMut` [INFO] [stdout] --> src/redis.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::{BufMut, BytesMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::prelude::*` [INFO] [stdout] --> src/redis.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/redis.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse_str_with_escaped_and_combine` [INFO] [stdout] --> src/sql1.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | parse_str_with_escaped_and_combine, parse_str_with_escaped_and_combine_in_single_quote, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `many0`, `preceded`, `take_while1` [INFO] [stdout] --> src/sql1.rs:99:41 [INFO] [stdout] | [INFO] [stdout] 99 | bytes::complete::{tag, tag_no_case, take_while1}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | multi::{fold_many1, many0, many1, many_m_n}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 105 | sequence::{preceded, tuple}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataTypeEnum`, `OneColumn` [INFO] [stdout] --> src/sql2_render.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::sql1::{DataTypeEnum, OneColumn}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/markdown.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(unicode_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | (0...64, 0...64) | (91...96, 91...96) | (123...255, 123...255) => a == b, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | (0...64, 0...64) | (91...96, 91...96) | (123...255, 123...255) => a == b, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | (0...64, 0...64) | (91...96, 91...96) | (123...255, 123...255) => a == b, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | (0...64, 0...64) | (91...96, 91...96) | (123...255, 123...255) => a == b, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:35:53 [INFO] [stdout] | [INFO] [stdout] 35 | (0...64, 0...64) | (91...96, 91...96) | (123...255, 123...255) => a == b, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:35:64 [INFO] [stdout] | [INFO] [stdout] 35 | (0...64, 0...64) | (91...96, 91...96) | (123...255, 123...255) => a == b, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | (65...90, 65...90) | (97...122, 97...122) | (65...90, 97...122) | (97...122, 65...90) => *a | 0b00_10_00_00 == *b | 0b00_10_00_00, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | (65...90, 65...90) | (97...122, 97...122) | (65...90, 97...122) | (97...122, 65...90) => *a | 0b00_10_00_00 == *b | 0b00_10_00_00, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | (65...90, 65...90) | (97...122, 97...122) | (65...90, 97...122) | (97...122, 65...90) => *a | 0b00_10_00_00 == *b | 0b00_10_00_00, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:36:43 [INFO] [stdout] | [INFO] [stdout] 36 | (65...90, 65...90) | (97...122, 97...122) | (65...90, 97...122) | (97...122, 65...90) => *a | 0b00_10_00_00 == *b | 0b00_10_00_00, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:36:56 [INFO] [stdout] | [INFO] [stdout] 36 | (65...90, 65...90) | (97...122, 97...122) | (65...90, 97...122) | (97...122, 65...90) => *a | 0b00_10_00_00 == *b | 0b00_10_00_00, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:36:65 [INFO] [stdout] | [INFO] [stdout] 36 | (65...90, 65...90) | (97...122, 97...122) | (65...90, 97...122) | (97...122, 65...90) => *a | 0b00_10_00_00 == *b | 0b00_10_00_00, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:36:78 [INFO] [stdout] | [INFO] [stdout] 36 | (65...90, 65...90) | (97...122, 97...122) | (65...90, 97...122) | (97...122, 65...90) => *a | 0b00_10_00_00 == *b | 0b00_10_00_00, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/http.rs:36:88 [INFO] [stdout] | [INFO] [stdout] 36 | (65...90, 65...90) | (97...122, 97...122) | (65...90, 97...122) | (97...122, 65...90) => *a | 0b00_10_00_00 == *b | 0b00_10_00_00, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Err`, `VerboseError`, `convert_error` [INFO] [stdout] --> src/json.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | error::{context, convert_error, ContextError, ErrorKind, ParseError, VerboseError}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | Err, IResult, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextError`, `Err`, `ErrorKind`, `IResult`, `ParseError`, `VerboseError`, `alphanumeric1 as alphanumeric`, `branch::alt`, `char`, `context`, `convert_error`, `cut`, `delimited`, `escaped`, `line_ending`, `many1`, `many_m_n`, `map`, `multispace1`, `not_line_ending`, `number::complete::double`, `one_of`, `opt`, `pair`, `preceded`, `separated_list0`, `separated_pair`, `tag`, `take_while`, `terminated`, `value` [INFO] [stdout] --> src/markdown_nom.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | branch::alt, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | bytes::complete::{escaped, tag, take_while}, [INFO] [stdout] | ^^^^^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] 8 | character::complete::{alphanumeric1 as alphanumeric, char, one_of, multispace1, not_line_ending, line_ending}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 9 | combinator::{cut, map, opt, value}, [INFO] [stdout] | ^^^ ^^^ ^^^ ^^^^^ [INFO] [stdout] 10 | error::{context, convert_error, ContextError, ErrorKind, ParseError, VerboseError}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 11 | multi::{separated_list0,many_m_n, many1}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] 12 | number::complete::double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | sequence::{delimited, preceded, separated_pair, terminated, pair}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^ [INFO] [stdout] 14 | Err, IResult, [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/markdown_nom.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/markdown_nom.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `many0`, `map_parser`, `pair`, `terminated` [INFO] [stdout] --> src/nom1.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | combinator::{map_parser, map_res}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | multi::{many0, many1}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | sequence::{delimited, pair, terminated, tuple}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::whitespace_char` [INFO] [stdout] --> src/nom1.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::whitespace_char; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Err`, `Parser`, `error::ErrorKind` [INFO] [stdout] --> src/parse_string.rs:296:11 [INFO] [stdout] | [INFO] [stdout] 296 | use nom::{error::ErrorKind, Err, Parser}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `is_alphabetic`, `is_digit` [INFO] [stdout] --> src/parse_string.rs:402:26 [INFO] [stdout] | [INFO] [stdout] 402 | use nom::character::{is_alphabetic, is_digit}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::map` [INFO] [stdout] --> src/parse_string.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | use crate::map; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufMut`, `BytesMut` [INFO] [stdout] --> src/redis.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::{BufMut, BytesMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::prelude::*` [INFO] [stdout] --> src/redis.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse_str_with_escaped_and_combine` [INFO] [stdout] --> src/sql1.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | parse_str_with_escaped_and_combine, parse_str_with_escaped_and_combine_in_single_quote, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `many0`, `preceded`, `take_while1` [INFO] [stdout] --> src/sql1.rs:99:41 [INFO] [stdout] | [INFO] [stdout] 99 | bytes::complete::{tag, tag_no_case, take_while1}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | multi::{fold_many1, many0, many1, many_m_n}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 105 | sequence::{preceded, tuple}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/markdown.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(unicode_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/redis.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut stream = TcpStream::connect("127.0.0.1:6379").await?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/redis.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut stream = TcpStream::connect("127.0.0.1:6379").await?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `level` is assigned to, but never used [INFO] [stdout] --> src/markdown.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | let mut level: u8 = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_level` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `typ_enum` is never read [INFO] [stdout] --> src/sql1.rs:566:21 [INFO] [stdout] | [INFO] [stdout] 566 | let mut typ_enum = IndexIdxTyeEnum::None; [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: value assigned to `typ_enum` is never read [INFO] [stdout] --> src/sql1.rs:603:21 [INFO] [stdout] | [INFO] [stdout] 603 | let mut typ_enum = IndexIdxTyeEnum::None; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/sql1.rs:672:24 [INFO] [stdout] | [INFO] [stdout] 672 | fn parse_table_options(input: &str) -> IResult<&str, String> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sql1.rs:486:9 [INFO] [stdout] | [INFO] [stdout] 486 | let mut column_define_builder = [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `level` is assigned to, but never used [INFO] [stdout] --> src/markdown.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | let mut level: u8 = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_level` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `typ_enum` is never read [INFO] [stdout] --> src/sql1.rs:566:21 [INFO] [stdout] | [INFO] [stdout] 566 | let mut typ_enum = IndexIdxTyeEnum::None; [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: value assigned to `typ_enum` is never read [INFO] [stdout] --> src/sql1.rs:603:21 [INFO] [stdout] | [INFO] [stdout] 603 | let mut typ_enum = IndexIdxTyeEnum::None; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/sql1.rs:672:24 [INFO] [stdout] | [INFO] [stdout] 672 | fn parse_table_options(input: &str) -> IResult<&str, String> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/parse_num1.rs:228:20 [INFO] [stdout] | [INFO] [stdout] 228 | if let Ok((p1, p2)) = parse_u32("(12345)".as_bytes()) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/redis.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let res = connect(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_arr` [INFO] [stdout] --> src/sql2_render.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let field_arr = vec![f1]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_arr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sql1.rs:641:9 [INFO] [stdout] | [INFO] [stdout] 641 | let mut parse_if_not_exist = tuple(( [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0446]: private type `markdown_nom::Title` in public interface [INFO] [stdout] --> src/markdown_nom.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 19 | struct Title { [INFO] [stdout] | ------------ `markdown_nom::Title` declared as private [INFO] [stdout] ... [INFO] [stdout] 27 | OneTitle(Title), [INFO] [stdout] | ^^^^^ can't leak private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Get` [INFO] [stdout] --> src/http.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | Get, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Post` [INFO] [stdout] --> src/http.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | Post, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Head` [INFO] [stdout] --> src/http.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | Head, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Options` [INFO] [stdout] --> src/http.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | Options, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Put` [INFO] [stdout] --> src/http.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | Put, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Delete` [INFO] [stdout] --> src/http.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | Delete, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Trace` [INFO] [stdout] --> src/http.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | Trace, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Connect` [INFO] [stdout] --> src/http.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | Connect, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Custom` [INFO] [stdout] --> src/http.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | Custom(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/http.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(s: &[u8]) -> Method { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compare_no_case` [INFO] [stdout] --> src/http.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn compare_no_case(left: &[u8], right: &[u8]) ->bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Str` [INFO] [stdout] --> src/json.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Str(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Boolean` [INFO] [stdout] --> src/json.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Boolean(bool), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Num` [INFO] [stdout] --> src/json.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Num(f64), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Array` [INFO] [stdout] --> src/json.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Array(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Object` [INFO] [stdout] --> src/json.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Object(HashMap), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_str` [INFO] [stdout] --> src/json.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn parse_str<'a, E: ParseError<&'a str>>(i: &'a str) -> IResult<&'a str, &'a str, E> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `boolean` [INFO] [stdout] --> src/json.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn boolean<'a, E: ParseError<&'a str>>(input: &'a str) -> IResult<&'a str, bool, E> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `string` [INFO] [stdout] --> src/json.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn string<'a, E: ParseError<&'a str> + ContextError<&'a str>>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `array` [INFO] [stdout] --> src/json.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn array<'a, E: ParseError<&'a str> + ContextError<&'a str>>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `key_value` [INFO] [stdout] --> src/json.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn key_value<'a, E: ParseError<&'a str> + ContextError<&'a str>>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hash` [INFO] [stdout] --> src/json.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn hash<'a, E: ParseError<&'a str> + ContextError<&'a str>>( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `json_value` [INFO] [stdout] --> src/json.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn json_value<'a, E: ParseError<&'a str> + ContextError<&'a str>>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sp` [INFO] [stdout] --> src/json.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn sp<'a, E: ParseError<&'a str>>(i: &'a str) -> IResult<&'a str, &'a str, E> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `root` [INFO] [stdout] --> src/json.rs:122:4 [INFO] [stdout] | [INFO] [stdout] 122 | fn root<'a, E: ParseError<&'a str> + ContextError<&'a str>>( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `level` [INFO] [stdout] --> src/markdown.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | level: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> src/markdown.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | title: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> src/markdown.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | title: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `item_content` [INFO] [stdout] --> src/markdown.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | item_content: Vec<String>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `filename` [INFO] [stdout] --> src/markdown.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | filename: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `content` [INFO] [stdout] --> src/markdown.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | content: ElementList, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `the_letter_a` [INFO] [stdout] --> src/markdown.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn the_letter_a(input: &str) -> Result<(&str, ()), &str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `match_literal` [INFO] [stdout] --> src/markdown.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn match_literal(expected: &'static str) -> impl Fn(&str) -> Result<(&str, ()), &str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `and_then` [INFO] [stdout] --> src/markdown.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn and_then<'a, P, F, A, B, NextP>(parser: P, f: F) -> impl Parser<'a, B> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pair` [INFO] [stdout] --> src/markdown.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn pair<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `left` [INFO] [stdout] --> src/markdown.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn left<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, R1> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `right` [INFO] [stdout] --> src/markdown.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn right<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, R2> [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pred` [INFO] [stdout] --> src/markdown.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn pred<'a, P, A, F>(parser: P, predicate: F) -> impl Parser<'a, A> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `recog_title` [INFO] [stdout] --> src/markdown.rs:161:4 [INFO] [stdout] | [INFO] [stdout] 161 | fn recog_title(input: &str) -> Result<(&str, String), &str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `map` [INFO] [stdout] --> src/markdown.rs:180:4 [INFO] [stdout] | [INFO] [stdout] 180 | fn map<'a, P, F, A, B>(parser: P, map_fn: F) -> impl Parser<'a, B> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/markdown.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | fn new<P>(parser: P) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `recog_title_content` [INFO] [stdout] --> src/markdown.rs:214:4 [INFO] [stdout] | [INFO] [stdout] 214 | fn recog_title_content(input: &str) -> ParseResult<String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `one_or_more` [INFO] [stdout] --> src/markdown.rs:232:4 [INFO] [stdout] | [INFO] [stdout] 232 | fn one_or_more<'a, P, A>(parser: P) -> impl Parser<'a, Vec<A>> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `zero_or_more` [INFO] [stdout] --> src/markdown.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | fn zero_or_more<'a, P, A>(parser: P) -> impl Parser<'a, Vec<A>> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `any_char` [INFO] [stdout] --> src/markdown.rs:266:4 [INFO] [stdout] | [INFO] [stdout] 266 | fn any_char(input: &str) -> ParseResult<char> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `whitespace_str` [INFO] [stdout] --> src/markdown.rs:273:4 [INFO] [stdout] | [INFO] [stdout] 273 | fn whitespace_str<'a>() -> impl Parser<'a, char> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `space0` [INFO] [stdout] --> src/markdown.rs:277:4 [INFO] [stdout] | [INFO] [stdout] 277 | fn space0<'a>() -> impl Parser<'a, Vec<char>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `space1` [INFO] [stdout] --> src/markdown.rs:281:4 [INFO] [stdout] | [INFO] [stdout] 281 | fn space1<'a>() -> impl Parser<'a, Vec<char>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `title_content` [INFO] [stdout] --> src/markdown.rs:285:4 [INFO] [stdout] | [INFO] [stdout] 285 | fn title_content<'a>() -> impl Parser<'a, String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `title_level` [INFO] [stdout] --> src/markdown.rs:299:4 [INFO] [stdout] | [INFO] [stdout] 299 | fn title_level(input: &str) -> ParseResult<String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `title_level2` [INFO] [stdout] --> src/markdown.rs:324:4 [INFO] [stdout] | [INFO] [stdout] 324 | fn title_level2(input: &str) -> ParseResult<u8> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `title_pair` [INFO] [stdout] --> src/markdown.rs:352:4 [INFO] [stdout] | [INFO] [stdout] 352 | fn title_pair<'a>() -> impl Parser<'a, (u8, String)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Section` [INFO] [stdout] --> src/markdown_nom.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Section(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OneTitle` [INFO] [stdout] --> src/markdown_nom.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | OneTitle(Title), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Items` [INFO] [stdout] --> src/markdown_nom.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Items(Vec<MdValue>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Item` [INFO] [stdout] --> src/markdown_nom.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Item(String) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `from_hex` [INFO] [stdout] --> src/nom1.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn from_hex(input: &str) -> Result<u8, std::num::ParseIntError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hex_primary` [INFO] [stdout] --> src/nom1.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn hex_primary(input: &str) -> IResult<&str, u8> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_hex_digit` [INFO] [stdout] --> src/nom1.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn is_hex_digit(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hex_color` [INFO] [stdout] --> src/nom1.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn hex_color(input: &str) -> IResult<&str, Color> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `md_title_level` [INFO] [stdout] --> src/nom1.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn md_title_level(input: &str) -> IResult<&str, (&str, &str)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `md_title_content_part` [INFO] [stdout] --> src/nom1.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn md_title_content_part(input: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `md_title_code_block` [INFO] [stdout] --> src/nom1.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn md_title_code_block(input: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `md_title_content` [INFO] [stdout] --> src/nom1.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn md_title_content(input: &str) -> IResult<&str, Vec<&str>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `md_title_content_dealed` [INFO] [stdout] --> src/nom1.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn md_title_content_dealed(input: &str) -> IResult<&str, Vec<&str>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_u32` [INFO] [stdout] --> src/parse_num1.rs:178:4 [INFO] [stdout] | [INFO] [stdout] 178 | fn parse_u32(input: &[u8]) -> IResult<&[u8], &[u8]> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_u32_ver1` [INFO] [stdout] --> src/parse_num1.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn parse_u32_ver1(input: &[u8]) -> nom::IResult<&[u8], u32> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_normal_str1` [INFO] [stdout] --> src/parse_string.rs:298:4 [INFO] [stdout] | [INFO] [stdout] 298 | fn parse_normal_str1<'a>(input: &'a str) -> IResult<&'a str, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_escaped` [INFO] [stdout] --> src/parse_string.rs:311:4 [INFO] [stdout] | [INFO] [stdout] 311 | fn parse_escaped<'a>(input: &'a str) -> IResult<&'a str, String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_normal` [INFO] [stdout] --> src/parse_string.rs:335:4 [INFO] [stdout] | [INFO] [stdout] 335 | fn parse_normal(input: &str) -> IResult<&str, String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_normal_or_escaped` [INFO] [stdout] --> src/parse_string.rs:349:4 [INFO] [stdout] | [INFO] [stdout] 349 | fn parse_normal_or_escaped(input: &str) -> IResult<&str, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_normal_or_escaped_str` [INFO] [stdout] --> src/parse_string.rs:355:4 [INFO] [stdout] | [INFO] [stdout] 355 | fn parse_normal_or_escaped_str(input: &str) -> IResult<&str, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_str_with_escaped_and_combine` [INFO] [stdout] --> src/parse_string.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 361 | pub fn parse_str_with_escaped_and_combine(input: &str) -> IResult<&str, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_str_with_escaped_and_combine_in_single_quote` [INFO] [stdout] --> src/parse_string.rs:374:8 [INFO] [stdout] | [INFO] [stdout] 374 | pub fn parse_str_with_escaped_and_combine_in_single_quote(input: &str) -> IResult<&str, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Literal` [INFO] [stdout] --> src/parse_string.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | Literal(&'a str), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `demo1` [INFO] [stdout] --> src/parse_string.rs:395:4 [INFO] [stdout] | [INFO] [stdout] 395 | fn demo1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `connect` [INFO] [stdout] --> src/redis.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | async fn connect() -> Result<(), Box<dyn Error>> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_column_definition_of_default` [INFO] [stdout] --> src/sql1.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn parse_column_definition_of_default(input: &str) -> IResult<&str, DefaultEnum> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_column_definition_of_null` [INFO] [stdout] --> src/sql1.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn parse_column_definition_of_null(input: &str) -> IResult<&str, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_column_definition_of_not_null` [INFO] [stdout] --> src/sql1.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | fn parse_column_definition_of_not_null(input: &str) -> IResult<&str, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identifier_char_parser` [INFO] [stdout] --> src/sql1.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn identifier_char_parser(input: &str) -> IResult<&str, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sql_identifier` [INFO] [stdout] --> src/sql1.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn sql_identifier(input: &str) -> IResult<&str, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TinyInt` [INFO] [stdout] --> src/sql1.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | TinyInt, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SmallInt` [INFO] [stdout] --> src/sql1.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | SmallInt, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Int` [INFO] [stdout] --> src/sql1.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | Int, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bigint` [INFO] [stdout] --> src/sql1.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | Bigint, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VarChar` [INFO] [stdout] --> src/sql1.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | VarChar(u32), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DateTime` [INFO] [stdout] --> src/sql1.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | DateTime(u32), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Text` [INFO] [stdout] --> src/sql1.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | Text, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BigText` [INFO] [stdout] --> src/sql1.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | BigText, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Decimal` [INFO] [stdout] --> src/sql1.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | Decimal(u8), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> src/sql1.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DefaultNone` [INFO] [stdout] --> src/sql1.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | DefaultNone, // 没有 default 语句 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DefaultNull` [INFO] [stdout] --> src/sql1.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | DefaultNull, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DefaultInt` [INFO] [stdout] --> src/sql1.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | DefaultInt(u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DefaultStr` [INFO] [stdout] --> src/sql1.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | DefaultStr(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DefaultCurStamp` [INFO] [stdout] --> src/sql1.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | DefaultCurStamp, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DefaultAutoIncrement` [INFO] [stdout] --> src/sql1.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | DefaultAutoIncrement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DefaultCurStampOnUpdateCurStamp` [INFO] [stdout] --> src/sql1.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | DefaultCurStampOnUpdateCurStamp, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DefaultOnUpdateCurStamp` [INFO] [stdout] --> src/sql1.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | DefaultOnUpdateCurStamp, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> src/sql1.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `type_int_size` [INFO] [stdout] --> src/sql1.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn type_int_size(input: &str) -> IResult<&str, u32> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `type_tiny_int` [INFO] [stdout] --> src/sql1.rs:201:4 [INFO] [stdout] | [INFO] [stdout] 201 | fn type_tiny_int(input: &str) -> IResult<&str, DataTypeEnum> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_int_auto_increment` [INFO] [stdout] --> src/sql1.rs:208:4 [INFO] [stdout] | [INFO] [stdout] 208 | fn parse_int_auto_increment(input: &str) -> IResult<&str, DefaultEnum> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_int_is_unsigned` [INFO] [stdout] --> src/sql1.rs:215:4 [INFO] [stdout] | [INFO] [stdout] 215 | fn parse_int_is_unsigned(input: &str) -> IResult<&str, Option<i8>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `type_some_int` [INFO] [stdout] --> src/sql1.rs:222:4 [INFO] [stdout] | [INFO] [stdout] 222 | fn type_some_int(input: &str) -> IResult<&str, DataTypeEnum> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `type_collate` [INFO] [stdout] --> src/sql1.rs:248:4 [INFO] [stdout] | [INFO] [stdout] 248 | fn type_collate(input: &str) -> IResult<&str, String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `type_varchar` [INFO] [stdout] --> src/sql1.rs:256:4 [INFO] [stdout] | [INFO] [stdout] 256 | fn type_varchar(input: &str) -> IResult<&str, DataTypeEnum> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `type_datetime` [INFO] [stdout] --> src/sql1.rs:265:4 [INFO] [stdout] | [INFO] [stdout] 265 | fn type_datetime(input: &str) -> IResult<&str, DataTypeEnum> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `type_text` [INFO] [stdout] --> src/sql1.rs:278:4 [INFO] [stdout] | [INFO] [stdout] 278 | fn type_text(input: &str) -> IResult<&str, DataTypeEnum> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `type_bigtext` [INFO] [stdout] --> src/sql1.rs:285:4 [INFO] [stdout] | [INFO] [stdout] 285 | fn type_bigtext(input: &str) -> IResult<&str, DataTypeEnum> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `type_decimal` [INFO] [stdout] --> src/sql1.rs:294:4 [INFO] [stdout] | [INFO] [stdout] 294 | fn type_decimal(input: &str) -> IResult<&str, DataTypeEnum> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_data_type` [INFO] [stdout] --> src/sql1.rs:301:4 [INFO] [stdout] | [INFO] [stdout] 301 | fn parse_data_type(input: &str) -> IResult<&str, DataTypeEnum> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_default_int` [INFO] [stdout] --> src/sql1.rs:308:4 [INFO] [stdout] | [INFO] [stdout] 308 | fn parse_default_int(input: &str) -> IResult<&str, DefaultEnum> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_default_str` [INFO] [stdout] --> src/sql1.rs:315:4 [INFO] [stdout] | [INFO] [stdout] 315 | fn parse_default_str(input: &str) -> IResult<&str, DefaultEnum> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_comment` [INFO] [stdout] --> src/sql1.rs:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | fn parse_comment(input: &str) -> IResult<&str, String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_default_null` [INFO] [stdout] --> src/sql1.rs:340:4 [INFO] [stdout] | [INFO] [stdout] 340 | fn parse_default_null(input: &str) -> IResult<&str, DefaultEnum> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_default_on_current_timestamp` [INFO] [stdout] --> src/sql1.rs:347:4 [INFO] [stdout] | [INFO] [stdout] 347 | fn parse_default_on_current_timestamp(input: &str) -> IResult<&str, DefaultEnum> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_default_current_timestamp` [INFO] [stdout] --> src/sql1.rs:362:4 [INFO] [stdout] | [INFO] [stdout] 362 | fn parse_default_current_timestamp(input: &str) -> IResult<&str, DefaultEnum> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_default` [INFO] [stdout] --> src/sql1.rs:386:4 [INFO] [stdout] | [INFO] [stdout] 386 | fn parse_default(input: &str) -> IResult<&str, DefaultEnum> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sql1.rs:411:8 [INFO] [stdout] | [INFO] [stdout] 411 | fn new(name: String, typ: DataTypeEnum, comment: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_end_has_comma` [INFO] [stdout] --> src/sql1.rs:416:4 [INFO] [stdout] | [INFO] [stdout] 416 | fn parse_end_has_comma(input: &str) -> IResult<&str, Option<i8>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_end_no_comma` [INFO] [stdout] --> src/sql1.rs:423:4 [INFO] [stdout] | [INFO] [stdout] 423 | fn parse_end_no_comma(input: &str) -> IResult<&str, Option<i8>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_end_comma` [INFO] [stdout] --> src/sql1.rs:432:4 [INFO] [stdout] | [INFO] [stdout] 432 | fn parse_end_comma(input: &str) -> IResult<&str, Option<i8>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_column_definition1` [INFO] [stdout] --> src/sql1.rs:438:4 [INFO] [stdout] | [INFO] [stdout] 438 | fn parse_column_definition1(input: &str) -> IResult<&str, OneColumn> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_column_definition2` [INFO] [stdout] --> src/sql1.rs:461:4 [INFO] [stdout] | [INFO] [stdout] 461 | fn parse_column_definition2(input: &str) -> IResult<&str, OneLineEnum> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_many_column_definition` [INFO] [stdout] --> src/sql1.rs:485:4 [INFO] [stdout] | [INFO] [stdout] 485 | fn parse_many_column_definition(input: &str) -> IResult<&str, Vec<OneColumn>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Column` [INFO] [stdout] --> src/sql1.rs:508:5 [INFO] [stdout] | [INFO] [stdout] 508 | Column(OneColumn), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Index` [INFO] [stdout] --> src/sql1.rs:509:5 [INFO] [stdout] | [INFO] [stdout] 509 | Index(OneIndex), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Primary` [INFO] [stdout] --> src/sql1.rs:514:5 [INFO] [stdout] | [INFO] [stdout] 514 | Primary, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unique` [INFO] [stdout] --> src/sql1.rs:515:5 [INFO] [stdout] | [INFO] [stdout] 515 | Unique, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `None` [INFO] [stdout] --> src/sql1.rs:516:5 [INFO] [stdout] | [INFO] [stdout] 516 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_idx_column_name` [INFO] [stdout] --> src/sql1.rs:520:4 [INFO] [stdout] | [INFO] [stdout] 520 | fn parse_idx_column_name(input: &str) -> IResult<&str, Vec<String>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_idx_using_struct` [INFO] [stdout] --> src/sql1.rs:536:4 [INFO] [stdout] | [INFO] [stdout] 536 | fn parse_idx_using_struct(input: &str) -> IResult<&str, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_idx_line` [INFO] [stdout] --> src/sql1.rs:547:4 [INFO] [stdout] | [INFO] [stdout] 547 | fn parse_idx_line(input: &str) -> IResult<&str, OneIndex> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_idx_line2` [INFO] [stdout] --> src/sql1.rs:584:4 [INFO] [stdout] | [INFO] [stdout] 584 | fn parse_idx_line2(input: &str) -> IResult<&str, OneLineEnum> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_one_define_line` [INFO] [stdout] --> src/sql1.rs:621:4 [INFO] [stdout] | [INFO] [stdout] 621 | fn parse_one_define_line(input: &str) -> IResult<&str, OneLineEnum> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_many1_define_line` [INFO] [stdout] --> src/sql1.rs:626:4 [INFO] [stdout] | [INFO] [stdout] 626 | fn parse_many1_define_line(input: &str) -> IResult<&str, Vec<OneLineEnum>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_create_table` [INFO] [stdout] --> src/sql1.rs:640:4 [INFO] [stdout] | [INFO] [stdout] 640 | fn parse_create_table(input: &str) -> IResult<&str, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_table_options` [INFO] [stdout] --> src/sql1.rs:672:4 [INFO] [stdout] | [INFO] [stdout] 672 | fn parse_table_options(input: &str) -> IResult<&str, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_table_option` [INFO] [stdout] --> src/sql1.rs:675:4 [INFO] [stdout] | [INFO] [stdout] 675 | fn parse_table_option(input: &str) -> IResult<&str, TableOption> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `table_option_engine` [INFO] [stdout] --> src/sql1.rs:697:4 [INFO] [stdout] | [INFO] [stdout] 697 | fn table_option_engine(input: &str) -> IResult<&str, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `table_option_char_set` [INFO] [stdout] --> src/sql1.rs:712:4 [INFO] [stdout] | [INFO] [stdout] 712 | fn table_option_char_set(input: &str) -> IResult<&str, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `table_option_collate` [INFO] [stdout] --> src/sql1.rs:729:4 [INFO] [stdout] | [INFO] [stdout] 729 | fn table_option_collate(input: &str) -> IResult<&str, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `table_option_comment` [INFO] [stdout] --> src/sql1.rs:743:4 [INFO] [stdout] | [INFO] [stdout] 743 | fn table_option_comment(input: &str) -> IResult<&str, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `uppercase_first` [INFO] [stdout] --> src/sql2_render.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn uppercase_first(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_small_case_camel` [INFO] [stdout] --> src/sql2_render.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn to_small_case_camel(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_big_case_camel` [INFO] [stdout] --> src/sql2_render.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn to_big_case_camel(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `the_letter_a` [INFO] [stdout] --> src/lib.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn the_letter_a(input: &str) -> Result<(&str, ()), &str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `match_literal` [INFO] [stdout] --> src/lib.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn match_literal(expected: &'static str) -> impl Fn(&str) -> Result<(&str, ()), &str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identifier_v1` [INFO] [stdout] --> src/lib.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn identifier_v1(input: &str) -> Result<(&str, String), &str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pair_v1` [INFO] [stdout] --> src/lib.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn pair_v1<P1, P2, R1, R2>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `map_v1` [INFO] [stdout] --> src/lib.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn map_v1<P, F, A, B>(parser: P, map_fn: F) -> impl Fn(&str) -> Result<(&str, B), &str> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `map` [INFO] [stdout] --> src/lib.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn map<'a, P, F, A, B>(parser: P, map_fn: F) -> impl Parser<'a, B> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pair_v2` [INFO] [stdout] --> src/lib.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn pair_v2<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pair_v3` [INFO] [stdout] --> src/lib.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn pair_v3<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pair` [INFO] [stdout] --> src/lib.rs:182:4 [INFO] [stdout] | [INFO] [stdout] 182 | fn pair<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `left` [INFO] [stdout] --> src/lib.rs:196:4 [INFO] [stdout] | [INFO] [stdout] 196 | fn left<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, R1> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `right` [INFO] [stdout] --> src/lib.rs:205:4 [INFO] [stdout] | [INFO] [stdout] 205 | fn right<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, R2> [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identifier` [INFO] [stdout] --> src/lib.rs:215:4 [INFO] [stdout] | [INFO] [stdout] 215 | fn identifier(input: &str) -> ParseResult<String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `one_or_more` [INFO] [stdout] --> src/lib.rs:233:4 [INFO] [stdout] | [INFO] [stdout] 233 | fn one_or_more<'a, P, A>(parser: P) -> impl Parser<'a, Vec<A>> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `zero_or_more` [INFO] [stdout] --> src/lib.rs:253:4 [INFO] [stdout] | [INFO] [stdout] 253 | fn zero_or_more<'a, P, A>(parser: P) -> impl Parser<'a, Vec<A>> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `any_char` [INFO] [stdout] --> src/lib.rs:278:4 [INFO] [stdout] | [INFO] [stdout] 278 | fn any_char(input: &str) -> ParseResult<char> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pred` [INFO] [stdout] --> src/lib.rs:285:4 [INFO] [stdout] | [INFO] [stdout] 285 | fn pred<'a, P, A, F>(parser: P, predicate: F) -> impl Parser<'a, A> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `whitespace_char` [INFO] [stdout] --> src/lib.rs:300:4 [INFO] [stdout] | [INFO] [stdout] 300 | fn whitespace_char<'a>() -> impl Parser<'a, char> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `space1` [INFO] [stdout] --> src/lib.rs:305:4 [INFO] [stdout] | [INFO] [stdout] 305 | fn space1<'a>() -> impl Parser<'a, Vec<char>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `space0` [INFO] [stdout] --> src/lib.rs:310:4 [INFO] [stdout] | [INFO] [stdout] 310 | fn space0<'a>() -> impl Parser<'a, Vec<char>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `quoted_string_v1` [INFO] [stdout] --> src/lib.rs:315:4 [INFO] [stdout] | [INFO] [stdout] 315 | fn quoted_string_v1<'a>() -> impl Parser<'a, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `attribute_pair` [INFO] [stdout] --> src/lib.rs:328:4 [INFO] [stdout] | [INFO] [stdout] 328 | fn attribute_pair<'a>() -> impl Parser<'a, (String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `attributes` [INFO] [stdout] --> src/lib.rs:333:4 [INFO] [stdout] | [INFO] [stdout] 333 | fn attributes<'a>() -> impl Parser<'a, Vec<(String, String)>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `element_start` [INFO] [stdout] --> src/lib.rs:337:4 [INFO] [stdout] | [INFO] [stdout] 337 | fn element_start<'a>() -> impl Parser<'a, (String, Vec<(String, String)>)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib.rs:357:8 [INFO] [stdout] | [INFO] [stdout] 357 | fn new<P>(parser: P) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `quoted_string` [INFO] [stdout] --> src/lib.rs:373:4 [INFO] [stdout] | [INFO] [stdout] 373 | fn quoted_string<'a>() -> impl Parser<'a, String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `single_element` [INFO] [stdout] --> src/lib.rs:385:4 [INFO] [stdout] | [INFO] [stdout] 385 | fn single_element<'a>() -> impl Parser<'a, Element> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `open_element` [INFO] [stdout] --> src/lib.rs:393:4 [INFO] [stdout] | [INFO] [stdout] 393 | fn open_element<'a>() -> impl Parser<'a, Element> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `either` [INFO] [stdout] --> src/lib.rs:402:4 [INFO] [stdout] | [INFO] [stdout] 402 | fn either<'a, P1, P2, A>(parser1: P1, parser2: P2) -> impl Parser<'a, A> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `element_v1` [INFO] [stdout] --> src/lib.rs:413:4 [INFO] [stdout] | [INFO] [stdout] 413 | fn element_v1<'a>() -> impl Parser<'a, Element> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `close_element` [INFO] [stdout] --> src/lib.rs:417:4 [INFO] [stdout] | [INFO] [stdout] 417 | fn close_element<'a>(expected_name: String) -> impl Parser<'a, String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `and_then` [INFO] [stdout] --> src/lib.rs:429:4 [INFO] [stdout] | [INFO] [stdout] 429 | fn and_then<'a, P, F, A, B, NextP>(parser: P, f: F) -> impl Parser<'a, B> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parent_element` [INFO] [stdout] --> src/lib.rs:441:4 [INFO] [stdout] | [INFO] [stdout] 441 | fn parent_element<'a>() -> impl Parser<'a, Element> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `whitespace_wrap` [INFO] [stdout] --> src/lib.rs:451:4 [INFO] [stdout] | [INFO] [stdout] 451 | fn whitespace_wrap<'a, P, A>(parser: P) -> impl Parser<'a, A> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `element` [INFO] [stdout] --> src/lib.rs:458:4 [INFO] [stdout] | [INFO] [stdout] 458 | fn element<'a>() -> impl Parser<'a, Element> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sql1.rs:486:9 [INFO] [stdout] | [INFO] [stdout] 486 | let mut column_define_builder = [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 221 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0446`. [INFO] [stdout] [INFO] [stderr] error: could not compile `my-parser` due to 2 previous errors; 221 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sql1.rs:641:9 [INFO] [stdout] | [INFO] [stdout] 641 | let mut parse_if_not_exist = tuple(( [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0446]: private type `markdown_nom::Title` in public interface [INFO] [stdout] --> src/markdown_nom.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 19 | struct Title { [INFO] [stdout] | ------------ `markdown_nom::Title` declared as private [INFO] [stdout] ... [INFO] [stdout] 27 | OneTitle(Title), [INFO] [stdout] | ^^^^^ can't leak private type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Head` [INFO] [stdout] --> src/http.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | Head, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Options` [INFO] [stdout] --> src/http.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | Options, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Put` [INFO] [stdout] --> src/http.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | Put, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Delete` [INFO] [stdout] --> src/http.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | Delete, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Trace` [INFO] [stdout] --> src/http.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | Trace, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Connect` [INFO] [stdout] --> src/http.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | Connect, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `level` [INFO] [stdout] --> src/markdown.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | level: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `title` [INFO] [stdout] --> src/markdown.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | title: Option<Title>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `item_content` [INFO] [stdout] --> src/markdown.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | item_content: Vec<String>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `filename` [INFO] [stdout] --> src/markdown.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | filename: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `content` [INFO] [stdout] --> src/markdown.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | content: ElementList, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `the_letter_a` [INFO] [stdout] --> src/markdown.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn the_letter_a(input: &str) -> Result<(&str, ()), &str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `and_then` [INFO] [stdout] --> src/markdown.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn and_then<'a, P, F, A, B, NextP>(parser: P, f: F) -> impl Parser<'a, B> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `recog_title` [INFO] [stdout] --> src/markdown.rs:161:4 [INFO] [stdout] | [INFO] [stdout] 161 | fn recog_title(input: &str) -> Result<(&str, String), &str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/markdown.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | fn new<P>(parser: P) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `whitespace_str` [INFO] [stdout] --> src/markdown.rs:273:4 [INFO] [stdout] | [INFO] [stdout] 273 | fn whitespace_str<'a>() -> impl Parser<'a, char> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `space0` [INFO] [stdout] --> src/markdown.rs:277:4 [INFO] [stdout] | [INFO] [stdout] 277 | fn space0<'a>() -> impl Parser<'a, Vec<char>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `space1` [INFO] [stdout] --> src/markdown.rs:281:4 [INFO] [stdout] | [INFO] [stdout] 281 | fn space1<'a>() -> impl Parser<'a, Vec<char>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `title_level` [INFO] [stdout] --> src/markdown.rs:299:4 [INFO] [stdout] | [INFO] [stdout] 299 | fn title_level(input: &str) -> ParseResult<String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Section` [INFO] [stdout] --> src/markdown_nom.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Section(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OneTitle` [INFO] [stdout] --> src/markdown_nom.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | OneTitle(Title), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Items` [INFO] [stdout] --> src/markdown_nom.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Items(Vec<MdValue>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Item` [INFO] [stdout] --> src/markdown_nom.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Item(String) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `md_title_content_dealed` [INFO] [stdout] --> src/nom1.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn md_title_content_dealed(input: &str) -> IResult<&str, Vec<&str>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `demo1` [INFO] [stdout] --> src/parse_string.rs:395:4 [INFO] [stdout] | [INFO] [stdout] 395 | fn demo1() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_column_definition_of_null` [INFO] [stdout] --> src/sql1.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn parse_column_definition_of_null(input: &str) -> IResult<&str, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Text` [INFO] [stdout] --> src/sql1.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | Text, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BigText` [INFO] [stdout] --> src/sql1.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | BigText, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unknown` [INFO] [stdout] --> src/sql1.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `type_text` [INFO] [stdout] --> src/sql1.rs:278:4 [INFO] [stdout] | [INFO] [stdout] 278 | fn type_text(input: &str) -> IResult<&str, DataTypeEnum> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `type_bigtext` [INFO] [stdout] --> src/sql1.rs:285:4 [INFO] [stdout] | [INFO] [stdout] 285 | fn type_bigtext(input: &str) -> IResult<&str, DataTypeEnum> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_end_has_comma` [INFO] [stdout] --> src/sql1.rs:416:4 [INFO] [stdout] | [INFO] [stdout] 416 | fn parse_end_has_comma(input: &str) -> IResult<&str, Option<i8>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_end_no_comma` [INFO] [stdout] --> src/sql1.rs:423:4 [INFO] [stdout] | [INFO] [stdout] 423 | fn parse_end_no_comma(input: &str) -> IResult<&str, Option<i8>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_end_comma` [INFO] [stdout] --> src/sql1.rs:432:4 [INFO] [stdout] | [INFO] [stdout] 432 | fn parse_end_comma(input: &str) -> IResult<&str, Option<i8>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_create_table` [INFO] [stdout] --> src/sql1.rs:640:4 [INFO] [stdout] | [INFO] [stdout] 640 | fn parse_create_table(input: &str) -> IResult<&str, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_table_options` [INFO] [stdout] --> src/sql1.rs:672:4 [INFO] [stdout] | [INFO] [stdout] 672 | fn parse_table_options(input: &str) -> IResult<&str, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_small_case_camel` [INFO] [stdout] --> src/sql2_render.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn to_small_case_camel(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identifier_v1` [INFO] [stdout] --> src/lib.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn identifier_v1(input: &str) -> Result<(&str, String), &str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pair_v1` [INFO] [stdout] --> src/lib.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn pair_v1<P1, P2, R1, R2>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `map_v1` [INFO] [stdout] --> src/lib.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn map_v1<P, F, A, B>(parser: P, map_fn: F) -> impl Fn(&str) -> Result<(&str, B), &str> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pair_v2` [INFO] [stdout] --> src/lib.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn pair_v2<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pair_v3` [INFO] [stdout] --> src/lib.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn pair_v3<'a, P1, P2, R1, R2>(parser1: P1, parser2: P2) -> impl Parser<'a, (R1, R2)> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `quoted_string_v1` [INFO] [stdout] --> src/lib.rs:315:4 [INFO] [stdout] | [INFO] [stdout] 315 | fn quoted_string_v1<'a>() -> impl Parser<'a, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `element_v1` [INFO] [stdout] --> src/lib.rs:413:4 [INFO] [stdout] | [INFO] [stdout] 413 | fn element_v1<'a>() -> impl Parser<'a, Element> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 82 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0446`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9fd345646da3bb6101d62a37f3752d436c69b05d50274d8c5fc30eed8dff2121", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fd345646da3bb6101d62a37f3752d436c69b05d50274d8c5fc30eed8dff2121", kill_on_drop: false }` [INFO] [stdout] 9fd345646da3bb6101d62a37f3752d436c69b05d50274d8c5fc30eed8dff2121