[INFO] fetching crate nom8 0.2.0... [INFO] linting nom8-0.2.0 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate nom8 0.2.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate nom8 0.2.0 [INFO] removed 6 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate nom8 0.2.0 [INFO] tweaked toml for crates.io crate nom8 0.2.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nom8 0.2.0 on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate nom8 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proptest v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 584e3214e901868324332e9caa4dd653fd67268fa45a0847d70ab00156257ce0 [INFO] running `Command { std: "docker" "start" "-a" "584e3214e901868324332e9caa4dd653fd67268fa45a0847d70ab00156257ce0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "584e3214e901868324332e9caa4dd653fd67268fa45a0847d70ab00156257ce0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "584e3214e901868324332e9caa4dd653fd67268fa45a0847d70ab00156257ce0", kill_on_drop: false }` [INFO] [stdout] 584e3214e901868324332e9caa4dd653fd67268fa45a0847d70ab00156257ce0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 833fc2662ca11d4d661efbeae3fb536c49ef38e839d4848bc64e493b105cf11f [INFO] running `Command { std: "docker" "start" "-a" "833fc2662ca11d4d661efbeae3fb536c49ef38e839d4848bc64e493b105cf11f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.135 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking nom8 v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stdout] warning: `feature = "cargo-clippy"` was replaced by `clippy` [INFO] [stdout] --> src/lib.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::doc_markdown))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `clippy` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_clippy_cfg_attr [INFO] [stdout] = note: `#[warn(clippy::deprecated_clippy_cfg_attr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::doc_markdown))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `std`, and `unstable-doc` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:319:12 [INFO] [stdout] | [INFO] [stdout] 319 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:331:12 [INFO] [stdout] | [INFO] [stdout] 331 | #[cfg_attr(nightly, allow(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:358:14 [INFO] [stdout] | [INFO] [stdout] 358 | #[cfg_attr(nightly, allow(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/error.rs:702:12 [INFO] [stdout] | [INFO] [stdout] 702 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/error.rs:1001:12 [INFO] [stdout] | [INFO] [stdout] 1001 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 255 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:323:12 [INFO] [stdout] | [INFO] [stdout] 323 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:399:12 [INFO] [stdout] | [INFO] [stdout] 399 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:468:12 [INFO] [stdout] | [INFO] [stdout] 468 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:529:12 [INFO] [stdout] | [INFO] [stdout] 529 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:588:12 [INFO] [stdout] | [INFO] [stdout] 588 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:611:12 [INFO] [stdout] | [INFO] [stdout] 611 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:762:12 [INFO] [stdout] | [INFO] [stdout] 762 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:862:12 [INFO] [stdout] | [INFO] [stdout] 862 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:928:12 [INFO] [stdout] | [INFO] [stdout] 928 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:1024:12 [INFO] [stdout] | [INFO] [stdout] 1024 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:1127:12 [INFO] [stdout] | [INFO] [stdout] 1127 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:1165:12 [INFO] [stdout] | [INFO] [stdout] 1165 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:1196:12 [INFO] [stdout] | [INFO] [stdout] 1196 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:1335:12 [INFO] [stdout] | [INFO] [stdout] 1335 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:1364:12 [INFO] [stdout] | [INFO] [stdout] 1364 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/parser.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/parser.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/bytes/complete.rs:744:20 [INFO] [stdout] | [INFO] [stdout] 744 | pub fn escaped<'a, Input: 'a, Error, F, G, O1, O2>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 750 | Input: Clone [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] = note: `#[warn(clippy::multiple_bound_locations)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/bytes/complete.rs:744:20 [INFO] [stdout] | [INFO] [stdout] 744 | pub fn escaped<'a, Input: 'a, Error, F, G, O1, O2>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 757 | Input: IntoOutput, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/bytes/complete.rs:766:36 [INFO] [stdout] | [INFO] [stdout] 766 | pub(crate) fn escaped_internal<'a, Input: 'a, Error, F, G, O1, O2>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 773 | Input: Clone [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/bytes/complete.rs:766:36 [INFO] [stdout] | [INFO] [stdout] 766 | pub(crate) fn escaped_internal<'a, Input: 'a, Error, F, G, O1, O2>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 780 | Input: IntoOutput, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/bytes/mod.rs:806:20 [INFO] [stdout] | [INFO] [stdout] 806 | pub fn escaped<'a, Input: 'a, Error, F, G, O1, O2, const STREAMING: bool>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 812 | Input: Clone [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/bytes/mod.rs:806:20 [INFO] [stdout] | [INFO] [stdout] 806 | pub fn escaped<'a, Input: 'a, Error, F, G, O1, O2, const STREAMING: bool>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 820 | Input: IntoOutput, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking proptest v1.0.0 [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/combinator/mod.rs:272:6 [INFO] [stdout] | [INFO] [stdout] 272 | impl<'a, I, O1, O2, E, F: Parser, G: Fn(O1) -> O2> Parser for Map { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] = note: `#[warn(clippy::extra_unused_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/combinator/mod.rs:485:6 [INFO] [stdout] | [INFO] [stdout] 485 | impl<'a, I, O1, O2, E, F: Parser, G: Parser> Parser [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/combinator/mod.rs:546:6 [INFO] [stdout] | [INFO] [stdout] 546 | impl<'a, I, O1, O2, E, F: Parser, G: Fn(O1) -> H, H: Parser> Parser [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/combinator/mod.rs:600:6 [INFO] [stdout] | [INFO] [stdout] 600 | impl<'a, I, O1, O2, E, F: Parser, G: Parser> Parser [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/combinator/mod.rs:623:6 [INFO] [stdout] | [INFO] [stdout] 623 | impl<'a, I: Clone, O, E: crate::error::ParseError, F: Parser, G: Parser> [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/combinator/mod.rs:1352:6 [INFO] [stdout] | [INFO] [stdout] 1352 | impl<'a, I: Clone, O1, O2: From, E, F: Parser> Parser [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/combinator/mod.rs:1381:6 [INFO] [stdout] | [INFO] [stdout] 1381 | impl<'a, I: Clone, O, E1, E2: crate::error::ParseError + From, F: Parser> [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/combinator/mod.rs:1449:6 [INFO] [stdout] | [INFO] [stdout] 1449 | impl<'a, Input, Output, Error, F> core::iter::Iterator [INFO] [stdout] | ^^ [INFO] [stdout] 1450 | for &'a mut ParserIterator [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] = note: `#[warn(clippy::needless_lifetimes)]` on by default [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 1449 ~ impl core::iter::Iterator [INFO] [stdout] 1450 ~ for &mut ParserIterator [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:407:6 [INFO] [stdout] | [INFO] [stdout] 407 | impl<'a, T> InputIsStreaming for &'a [T] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 407 - impl<'a, T> InputIsStreaming for &'a [T] { [INFO] [stdout] 407 + impl InputIsStreaming for &[T] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:435:6 [INFO] [stdout] | [INFO] [stdout] 435 | impl<'a, T, const L: usize> InputIsStreaming for &'a [T; L] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 435 - impl<'a, T, const L: usize> InputIsStreaming for &'a [T; L] { [INFO] [stdout] 435 + impl InputIsStreaming for &[T; L] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:449:6 [INFO] [stdout] | [INFO] [stdout] 449 | impl<'a> InputIsStreaming for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 449 - impl<'a> InputIsStreaming for &'a str { [INFO] [stdout] 449 + impl InputIsStreaming for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:463:6 [INFO] [stdout] | [INFO] [stdout] 463 | impl<'a> InputIsStreaming for (&'a [u8], usize) { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 463 - impl<'a> InputIsStreaming for (&'a [u8], usize) { [INFO] [stdout] 463 + impl InputIsStreaming for (&[u8], usize) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:526:6 [INFO] [stdout] | [INFO] [stdout] 526 | impl<'a, T> InputLength for &'a [T] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 526 - impl<'a, T> InputLength for &'a [T] { [INFO] [stdout] 526 + impl InputLength for &[T] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:540:6 [INFO] [stdout] | [INFO] [stdout] 540 | impl<'a, const LEN: usize> InputLength for &'a [u8; LEN] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 540 - impl<'a, const LEN: usize> InputLength for &'a [u8; LEN] { [INFO] [stdout] 540 + impl InputLength for &[u8; LEN] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:547:6 [INFO] [stdout] | [INFO] [stdout] 547 | impl<'a> InputLength for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 547 - impl<'a> InputLength for &'a str { [INFO] [stdout] 547 + impl InputLength for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:554:6 [INFO] [stdout] | [INFO] [stdout] 554 | impl<'a> InputLength for (&'a [u8], usize) { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 554 - impl<'a> InputLength for (&'a [u8], usize) { [INFO] [stdout] 554 + impl InputLength for (&[u8], usize) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:604:6 [INFO] [stdout] | [INFO] [stdout] 604 | impl<'a> Offset for &'a [u8] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 604 - impl<'a> Offset for &'a [u8] { [INFO] [stdout] 604 + impl Offset for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:622:6 [INFO] [stdout] | [INFO] [stdout] 622 | impl<'a> Offset for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 622 - impl<'a> Offset for &'a str { [INFO] [stdout] 622 + impl Offset for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:672:6 [INFO] [stdout] | [INFO] [stdout] 672 | impl<'a> AsBytes for &'a [u8] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 672 - impl<'a> AsBytes for &'a [u8] { [INFO] [stdout] 672 + impl AsBytes for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/input.rs:675:5 [INFO] [stdout] | [INFO] [stdout] 675 | *self [INFO] [stdout] | ^^^^^ help: try: `self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] = note: `#[warn(clippy::explicit_auto_deref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:686:6 [INFO] [stdout] | [INFO] [stdout] 686 | impl<'a, const LEN: usize> AsBytes for &'a [u8; LEN] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 686 - impl<'a, const LEN: usize> AsBytes for &'a [u8; LEN] { [INFO] [stdout] 686 + impl AsBytes for &[u8; LEN] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:693:6 [INFO] [stdout] | [INFO] [stdout] 693 | impl<'a> AsBytes for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 693 - impl<'a> AsBytes for &'a str { [INFO] [stdout] 693 + impl AsBytes for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AsChar` has a `len` method but no (possibly inherited) `is_empty` method [INFO] [stdout] --> src/input.rs:708:1 [INFO] [stdout] | [INFO] [stdout] 708 | / pub trait AsChar { [INFO] [stdout] 709 | | /// Makes a char from self [INFO] [stdout] 710 | | /// [INFO] [stdout] 711 | | /// ``` [INFO] [stdout] ... | [INFO] [stdout] 739 | | fn is_newline(self) -> bool; [INFO] [stdout] 740 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [INFO] [stdout] = note: `#[warn(clippy::len_without_is_empty)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `as_*` usually take `self` by reference or `self` by mutable reference [INFO] [stdout] --> src/input.rs:717:14 [INFO] [stdout] | [INFO] [stdout] 717 | fn as_char(self) -> char; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] = note: `#[warn(clippy::wrong_self_convention)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `is_*` usually take `self` by mutable reference or `self` by reference or no `self` [INFO] [stdout] --> src/input.rs:723:15 [INFO] [stdout] | [INFO] [stdout] 723 | fn is_alpha(self) -> bool; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `is_*` usually take `self` by mutable reference or `self` by reference or no `self` [INFO] [stdout] --> src/input.rs:727:18 [INFO] [stdout] | [INFO] [stdout] 727 | fn is_alphanum(self) -> bool; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `is_*` usually take `self` by mutable reference or `self` by reference or no `self` [INFO] [stdout] --> src/input.rs:729:19 [INFO] [stdout] | [INFO] [stdout] 729 | fn is_dec_digit(self) -> bool; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `is_*` usually take `self` by mutable reference or `self` by reference or no `self` [INFO] [stdout] --> src/input.rs:731:19 [INFO] [stdout] | [INFO] [stdout] 731 | fn is_hex_digit(self) -> bool; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `is_*` usually take `self` by mutable reference or `self` by reference or no `self` [INFO] [stdout] --> src/input.rs:733:19 [INFO] [stdout] | [INFO] [stdout] 733 | fn is_oct_digit(self) -> bool; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `is_*` usually take `self` by mutable reference or `self` by reference or no `self` [INFO] [stdout] --> src/input.rs:737:15 [INFO] [stdout] | [INFO] [stdout] 737 | fn is_space(self) -> bool; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `is_*` usually take `self` by mutable reference or `self` by reference or no `self` [INFO] [stdout] --> src/input.rs:739:17 [INFO] [stdout] | [INFO] [stdout] 739 | fn is_newline(self) -> bool; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/input.rs:749:5 [INFO] [stdout] | [INFO] [stdout] 749 | (self >= 0x41 && self <= 0x5A) || (self >= 0x61 && self <= 0x7A) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x41..=0x5A).contains(&self)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] = note: `#[warn(clippy::manual_range_contains)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/input.rs:749:39 [INFO] [stdout] | [INFO] [stdout] 749 | (self >= 0x41 && self <= 0x5A) || (self >= 0x61 && self <= 0x7A) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x61..=0x7A).contains(&self)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/input.rs:757:5 [INFO] [stdout] | [INFO] [stdout] 757 | self >= 0x30 && self <= 0x39 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x30..=0x39).contains(&self)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/input.rs:761:5 [INFO] [stdout] | [INFO] [stdout] 761 | (self >= 0x30 && self <= 0x39) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x30..=0x39).contains(&self)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/input.rs:762:10 [INFO] [stdout] | [INFO] [stdout] 762 | || (self >= 0x41 && self <= 0x46) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x41..=0x46).contains(&self)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/input.rs:763:10 [INFO] [stdout] | [INFO] [stdout] 763 | || (self >= 0x61 && self <= 0x66) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x61..=0x66).contains(&self)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/input.rs:767:5 [INFO] [stdout] | [INFO] [stdout] 767 | self >= 0x30 && self <= 0x37 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x30..=0x37).contains(&self)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:781:6 [INFO] [stdout] | [INFO] [stdout] 781 | impl<'a> AsChar for &'a u8 { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 781 - impl<'a> AsChar for &'a u8 { [INFO] [stdout] 781 + impl AsChar for &u8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:859:6 [INFO] [stdout] | [INFO] [stdout] 859 | impl<'a> AsChar for &'a char { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 859 - impl<'a> AsChar for &'a char { [INFO] [stdout] 859 + impl AsChar for &char { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:1177:6 [INFO] [stdout] | [INFO] [stdout] 1177 | impl<'a> InputTake for &'a [u8] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 1177 - impl<'a> InputTake for &'a [u8] { [INFO] [stdout] 1177 + impl InputTake for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:1189:6 [INFO] [stdout] | [INFO] [stdout] 1189 | impl<'a> InputTake for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 1189 - impl<'a> InputTake for &'a str { [INFO] [stdout] 1189 + impl InputTake for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:1594:6 [INFO] [stdout] | [INFO] [stdout] 1594 | impl<'a> InputTakeAtPosition for &'a [u8] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 1594 - impl<'a> InputTakeAtPosition for &'a [u8] { [INFO] [stdout] 1594 + impl InputTakeAtPosition for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:1660:6 [INFO] [stdout] | [INFO] [stdout] 1660 | impl<'a> InputTakeAtPosition for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 1660 - impl<'a> InputTakeAtPosition for &'a str { [INFO] [stdout] 1660 + impl InputTakeAtPosition for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:1816:6 [INFO] [stdout] | [INFO] [stdout] 1816 | impl<'a, 'b> Compare<&'b [u8]> for &'a [u8] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 1816 - impl<'a, 'b> Compare<&'b [u8]> for &'a [u8] { [INFO] [stdout] 1816 + impl<'b> Compare<&'b [u8]> for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:1849:6 [INFO] [stdout] | [INFO] [stdout] 1849 | impl<'a, 'b, const LEN: usize> Compare<&'b [u8; LEN]> for &'a [u8] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 1849 - impl<'a, 'b, const LEN: usize> Compare<&'b [u8; LEN]> for &'a [u8] { [INFO] [stdout] 1849 + impl<'b, const LEN: usize> Compare<&'b [u8; LEN]> for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:1901:6 [INFO] [stdout] | [INFO] [stdout] 1901 | impl<'a, 'b> Compare<&'b str> for &'a [u8] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 1901 - impl<'a, 'b> Compare<&'b str> for &'a [u8] { [INFO] [stdout] 1901 + impl<'b> Compare<&'b str> for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:1912:6 [INFO] [stdout] | [INFO] [stdout] 1912 | impl<'a, 'b> Compare<&'b str> for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 1912 - impl<'a, 'b> Compare<&'b str> for &'a str { [INFO] [stdout] 1912 + impl<'b> Compare<&'b str> for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:1939:6 [INFO] [stdout] | [INFO] [stdout] 1939 | impl<'a, 'b> Compare<&'b [u8]> for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 1939 - impl<'a, 'b> Compare<&'b [u8]> for &'a str { [INFO] [stdout] 1939 + impl<'b> Compare<&'b [u8]> for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:1950:6 [INFO] [stdout] | [INFO] [stdout] 1950 | impl<'a, const LEN: usize> Compare<[u8; LEN]> for &'a [u8] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 1950 - impl<'a, const LEN: usize> Compare<[u8; LEN]> for &'a [u8] { [INFO] [stdout] 1950 + impl Compare<[u8; LEN]> for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2006:6 [INFO] [stdout] | [INFO] [stdout] 2006 | impl<'a> FindToken<&'a u8> for u8 { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2006 - impl<'a> FindToken<&'a u8> for u8 { [INFO] [stdout] 2006 + impl FindToken<&u8> for u8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2018:6 [INFO] [stdout] | [INFO] [stdout] 2018 | impl<'a> FindToken<&'a char> for u8 { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2018 - impl<'a> FindToken<&'a char> for u8 { [INFO] [stdout] 2018 + impl FindToken<&char> for u8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2079:6 [INFO] [stdout] | [INFO] [stdout] 2079 | impl<'a> FindToken for &'a [u8] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2079 - impl<'a> FindToken for &'a [u8] { [INFO] [stdout] 2079 + impl FindToken for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a, 'b [INFO] [stdout] --> src/input.rs:2085:6 [INFO] [stdout] | [INFO] [stdout] 2085 | impl<'a, 'b> FindToken<&'a u8> for &'b [u8] { [INFO] [stdout] | ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2085 - impl<'a, 'b> FindToken<&'a u8> for &'b [u8] { [INFO] [stdout] 2085 + impl FindToken<&u8> for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2091:6 [INFO] [stdout] | [INFO] [stdout] 2091 | impl<'a> FindToken for &'a [u8] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2091 - impl<'a> FindToken for &'a [u8] { [INFO] [stdout] 2091 + impl FindToken for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a, 'b [INFO] [stdout] --> src/input.rs:2097:6 [INFO] [stdout] | [INFO] [stdout] 2097 | impl<'a, 'b> FindToken<&'a char> for &'b [u8] { [INFO] [stdout] | ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2097 - impl<'a, 'b> FindToken<&'a char> for &'b [u8] { [INFO] [stdout] 2097 + impl FindToken<&char> for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2109:6 [INFO] [stdout] | [INFO] [stdout] 2109 | impl<'a, const LEN: usize> FindToken<&'a u8> for [u8; LEN] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2109 - impl<'a, const LEN: usize> FindToken<&'a u8> for [u8; LEN] { [INFO] [stdout] 2109 + impl FindToken<&u8> for [u8; LEN] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/input.rs:2115:6 [INFO] [stdout] | [INFO] [stdout] 2115 | impl<'a, const LEN: usize> FindToken for [u8; LEN] { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2121:6 [INFO] [stdout] | [INFO] [stdout] 2121 | impl<'a, const LEN: usize> FindToken<&'a char> for [u8; LEN] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2121 - impl<'a, const LEN: usize> FindToken<&'a char> for [u8; LEN] { [INFO] [stdout] 2121 + impl FindToken<&char> for [u8; LEN] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2127:6 [INFO] [stdout] | [INFO] [stdout] 2127 | impl<'a> FindToken for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2127 - impl<'a> FindToken for &'a str { [INFO] [stdout] 2127 + impl FindToken for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a, 'b [INFO] [stdout] --> src/input.rs:2133:6 [INFO] [stdout] | [INFO] [stdout] 2133 | impl<'a, 'b> FindToken<&'a u8> for &'b str { [INFO] [stdout] | ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2133 - impl<'a, 'b> FindToken<&'a u8> for &'b str { [INFO] [stdout] 2133 + impl FindToken<&u8> for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2139:6 [INFO] [stdout] | [INFO] [stdout] 2139 | impl<'a> FindToken for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2139 - impl<'a> FindToken for &'a str { [INFO] [stdout] 2139 + impl FindToken for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a, 'b [INFO] [stdout] --> src/input.rs:2145:6 [INFO] [stdout] | [INFO] [stdout] 2145 | impl<'a, 'b> FindToken<&'a char> for &'b str { [INFO] [stdout] | ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2145 - impl<'a, 'b> FindToken<&'a char> for &'b str { [INFO] [stdout] 2145 + impl FindToken<&char> for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2151:6 [INFO] [stdout] | [INFO] [stdout] 2151 | impl<'a> FindToken for &'a [char] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2151 - impl<'a> FindToken for &'a [char] { [INFO] [stdout] 2151 + impl FindToken for &[char] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a, 'b [INFO] [stdout] --> src/input.rs:2157:6 [INFO] [stdout] | [INFO] [stdout] 2157 | impl<'a, 'b> FindToken<&'a u8> for &'b [char] { [INFO] [stdout] | ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2157 - impl<'a, 'b> FindToken<&'a u8> for &'b [char] { [INFO] [stdout] 2157 + impl FindToken<&u8> for &[char] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2163:6 [INFO] [stdout] | [INFO] [stdout] 2163 | impl<'a> FindToken for &'a [char] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2163 - impl<'a> FindToken for &'a [char] { [INFO] [stdout] 2163 + impl FindToken for &[char] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `contains()` instead of `iter().any()` is more efficient [INFO] [stdout] --> src/input.rs:2165:5 [INFO] [stdout] | [INFO] [stdout] 2165 | self.iter().any(|i| *i == token) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.contains(&token)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_contains [INFO] [stdout] = note: `#[warn(clippy::manual_contains)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a, 'b [INFO] [stdout] --> src/input.rs:2169:6 [INFO] [stdout] | [INFO] [stdout] 2169 | impl<'a, 'b> FindToken<&'a char> for &'b [char] { [INFO] [stdout] | ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2169 - impl<'a, 'b> FindToken<&'a char> for &'b [char] { [INFO] [stdout] 2169 + impl FindToken<&char> for &[char] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2250:6 [INFO] [stdout] | [INFO] [stdout] 2250 | impl<'a, 'b> FindSubstring<&'b [u8]> for &'a [u8] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2250 - impl<'a, 'b> FindSubstring<&'b [u8]> for &'a [u8] { [INFO] [stdout] 2250 + impl<'b> FindSubstring<&'b [u8]> for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2284:6 [INFO] [stdout] | [INFO] [stdout] 2284 | impl<'a, 'b> FindSubstring<&'b str> for &'a [u8] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2284 - impl<'a, 'b> FindSubstring<&'b str> for &'a [u8] { [INFO] [stdout] 2284 + impl<'b> FindSubstring<&'b str> for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2290:6 [INFO] [stdout] | [INFO] [stdout] 2290 | impl<'a, 'b> FindSubstring<&'b str> for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2290 - impl<'a, 'b> FindSubstring<&'b str> for &'a str { [INFO] [stdout] 2290 + impl<'b> FindSubstring<&'b str> for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2334:6 [INFO] [stdout] | [INFO] [stdout] 2334 | impl<'a, R: FromStr> ParseTo for &'a [u8] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2334 - impl<'a, R: FromStr> ParseTo for &'a [u8] { [INFO] [stdout] 2334 + impl ParseTo for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2340:6 [INFO] [stdout] | [INFO] [stdout] 2340 | impl<'a, R: FromStr> ParseTo for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2340 - impl<'a, R: FromStr> ParseTo for &'a str { [INFO] [stdout] 2340 + impl ParseTo for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2489:6 [INFO] [stdout] | [INFO] [stdout] 2489 | impl<'a, T> IntoOutput for &'a [T] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2489 - impl<'a, T> IntoOutput for &'a [T] { [INFO] [stdout] 2489 + impl IntoOutput for &[T] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2513:6 [INFO] [stdout] | [INFO] [stdout] 2513 | impl<'a, const LEN: usize> IntoOutput for &'a [u8; LEN] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2513 - impl<'a, const LEN: usize> IntoOutput for &'a [u8; LEN] { [INFO] [stdout] 2513 + impl IntoOutput for &[u8; LEN] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2525:6 [INFO] [stdout] | [INFO] [stdout] 2525 | impl<'a> IntoOutput for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2525 - impl<'a> IntoOutput for &'a str { [INFO] [stdout] 2525 + impl IntoOutput for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2537:6 [INFO] [stdout] | [INFO] [stdout] 2537 | impl<'a> IntoOutput for (&'a [u8], usize) { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2537 - impl<'a> IntoOutput for (&'a [u8], usize) { [INFO] [stdout] 2537 + impl IntoOutput for (&[u8], usize) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/input.rs:2876:12 [INFO] [stdout] | [INFO] [stdout] 2876 | if (byte >= 32 && byte <= 126) || byte >= 128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(32..=126).contains(&byte)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/multi/mod.rs:650:5 [INFO] [stdout] | [INFO] [stdout] 650 | /// the current accumulator. [INFO] [stdout] | ^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] = note: `#[warn(clippy::doc_overindented_list_items)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/multi/mod.rs:725:5 [INFO] [stdout] | [INFO] [stdout] 725 | /// the current accumulator. [INFO] [stdout] | ^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/multi/mod.rs:811:5 [INFO] [stdout] | [INFO] [stdout] 811 | /// the current accumulator. [INFO] [stdout] | ^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/parser.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | /// for the parser to decide, and you should gather more data before parsing again. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] = note: `#[warn(clippy::doc_lazy_continuation)]` on by default [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 38 | /// for the parser to decide, and you should gather more data before parsing again. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/parser.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | /// Once the parser returns either `Ok(_)`, `Err(Err::Error(_))` or `Err(Err::Failure(_))`, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 39 | /// Once the parser returns either `Ok(_)`, `Err(Err::Error(_))` or `Err(Err::Failure(_))`, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/parser.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | /// you can get out of the parsing loop and call `finish_err()` on the parser's result [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 40 | /// you can get out of the parsing loop and call `finish_err()` on the parser's result [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/parser.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | /// can contain how many additional bytes are necessary. If you are sure your parser [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 165 | /// can contain how many additional bytes are necessary. If you are sure your parser [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/parser.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | /// is working on full data, you can wrap your parser with the `complete` combinator [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 166 | /// is working on full data, you can wrap your parser with the `complete` combinator [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/parser.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | /// to transform that case in `Error` [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 167 | /// to transform that case in `Error` [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/parser.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | /// when testing different branches of an `alt` combinator) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 169 | /// when testing different branches of an `alt` combinator) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/parser.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | /// to decide on the next parser to apply, and that parser fails, you know there's no need [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 171 | /// to decide on the next parser to apply, and that parser fails, you know there's no need [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/parser.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | /// to try other parsers, you were already in the right branch, so the data is invalid [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 172 | /// to try other parsers, you were already in the right branch, so the data is invalid [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let .. else` expression looks like `matches!` macro [INFO] [stdout] --> src/parser.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | / if let Err::Incomplete(_) = self { [INFO] [stdout] 196 | | true [INFO] [stdout] 197 | | } else { [INFO] [stdout] 198 | | false [INFO] [stdout] 199 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] = note: `#[warn(clippy::match_like_matches_macro)]` on by default [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 195 - if let Err::Incomplete(_) = self { [INFO] [stdout] 196 - true [INFO] [stdout] 197 - } else { [INFO] [stdout] 198 - false [INFO] [stdout] 199 - } [INFO] [stdout] 195 + matches!(self, Err::Incomplete(_)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/parser.rs:862:6 [INFO] [stdout] | [INFO] [stdout] 862 | impl<'a, I, O, E, F> Parser for F [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u8` -> `u8`) [INFO] [stdout] --> src/bits/complete.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | ((byte << offset) as u8 >> offset).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `(byte << offset)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`usize` -> `usize`) [INFO] [stdout] --> src/bits/streaming.rs:43:39 [INFO] [stdout] | [INFO] [stdout] 43 | Err(Err::Incomplete(Needed::new(count as usize))) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try: `count` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u8` -> `u8`) [INFO] [stdout] --> src/bits/streaming.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | ((byte << offset) as u8 >> offset).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `(byte << offset)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/character/mod.rs:1141:6 [INFO] [stdout] | [INFO] [stdout] 1141 | ) -> IResult< [INFO] [stdout] | ______^ [INFO] [stdout] 1142 | | T, [INFO] [stdout] 1143 | | ( [INFO] [stdout] 1144 | | bool, [INFO] [stdout] ... | [INFO] [stdout] 1149 | | E, [INFO] [stdout] 1150 | | > [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] = note: `#[warn(clippy::type_complexity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/character/mod.rs:1173:3 [INFO] [stdout] | [INFO] [stdout] 1173 | (chr >= 0x41 && chr <= 0x5A) || (chr >= 0x61 && chr <= 0x7A) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x41..=0x5A).contains(&chr)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/character/mod.rs:1173:35 [INFO] [stdout] | [INFO] [stdout] 1173 | (chr >= 0x41 && chr <= 0x5A) || (chr >= 0x61 && chr <= 0x7A) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x61..=0x7A).contains(&chr)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/character/mod.rs:1180:3 [INFO] [stdout] | [INFO] [stdout] 1180 | chr >= 0x30 && chr <= 0x39 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x30..=0x39).contains(&chr)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/character/mod.rs:1187:3 [INFO] [stdout] | [INFO] [stdout] 1187 | (chr >= 0x30 && chr <= 0x39) || (chr >= 0x41 && chr <= 0x46) || (chr >= 0x61 && chr <= 0x66) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x30..=0x39).contains(&chr)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/character/mod.rs:1187:35 [INFO] [stdout] | [INFO] [stdout] 1187 | (chr >= 0x30 && chr <= 0x39) || (chr >= 0x41 && chr <= 0x46) || (chr >= 0x61 && chr <= 0x66) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x41..=0x46).contains(&chr)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/character/mod.rs:1187:67 [INFO] [stdout] | [INFO] [stdout] 1187 | (chr >= 0x30 && chr <= 0x39) || (chr >= 0x41 && chr <= 0x46) || (chr >= 0x61 && chr <= 0x66) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x61..=0x66).contains(&chr)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/character/mod.rs:1194:3 [INFO] [stdout] | [INFO] [stdout] 1194 | chr >= 0x30 && chr <= 0x37 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x30..=0x37).contains(&chr)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/number/complete.rs:1621:6 [INFO] [stdout] | [INFO] [stdout] 1621 | ) -> IResult< [INFO] [stdout] | ______^ [INFO] [stdout] 1622 | | T, [INFO] [stdout] 1623 | | ( [INFO] [stdout] 1624 | | bool, [INFO] [stdout] ... | [INFO] [stdout] 1629 | | E, [INFO] [stdout] 1630 | | > [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/number/streaming.rs:1718:6 [INFO] [stdout] | [INFO] [stdout] 1718 | ) -> IResult< [INFO] [stdout] | ______^ [INFO] [stdout] 1719 | | T, [INFO] [stdout] 1720 | | ( [INFO] [stdout] 1721 | | bool, [INFO] [stdout] ... | [INFO] [stdout] 1726 | | E, [INFO] [stdout] 1727 | | > [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:404:13 [INFO] [stdout] | [INFO] [stdout] 404 | fn by_ref(&mut self) -> ByRef [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 404 | fn by_ref(&mut self) -> ByRef<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `feature = "cargo-clippy"` was replaced by `clippy` [INFO] [stdout] --> src/lib.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::doc_markdown))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `clippy` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_clippy_cfg_attr [INFO] [stdout] = note: `#[warn(clippy::deprecated_clippy_cfg_attr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `feature = "cargo-clippy"` was replaced by `clippy` [INFO] [stdout] --> tests/issues.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(feature = "cargo-clippy", allow(redundant_closure))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `clippy` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_clippy_cfg_attr [INFO] [stdout] = note: `#[warn(clippy::deprecated_clippy_cfg_attr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/issues.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(feature = "cargo-clippy", allow(redundant_closure))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `std`, and `unstable-doc` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `cfg_attr` is deprecated for rustfmt and got replaced by tool attributes [INFO] [stdout] --> tests/mp4.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_cfg_attr [INFO] [stdout] = note: `#[warn(clippy::deprecated_cfg_attr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `cfg_attr` is deprecated for rustfmt and got replaced by tool attributes [INFO] [stdout] --> tests/mp4.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_cfg_attr [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `cfg_attr` is deprecated for rustfmt and got replaced by tool attributes [INFO] [stdout] --> tests/mp4.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_cfg_attr [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `cfg_attr` is deprecated for rustfmt and got replaced by tool attributes [INFO] [stdout] --> tests/mp4.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_cfg_attr [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `cfg_attr` is deprecated for rustfmt and got replaced by tool attributes [INFO] [stdout] --> tests/mp4.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 150 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_cfg_attr [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `feature = "cargo-clippy"` was replaced by `clippy` [INFO] [stdout] --> tests/overflow.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `clippy` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_clippy_cfg_attr [INFO] [stdout] = note: `#[warn(clippy::deprecated_clippy_cfg_attr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> tests/ini_str.rs:57:38 [INFO] [stdout] | [INFO] [stdout] 57 | fn categories_aggregator(i: &str) -> IResult<&str, Vec<(&str, HashMap<&str, &str>)>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] = note: `#[warn(clippy::type_complexity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> tests/issues.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | let _: IResult, &[u8], (Streaming<&[u8]>, ErrorKind)> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] = note: `#[warn(clippy::type_complexity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'b [INFO] [stdout] --> tests/issues.rs:149:15 [INFO] [stdout] | [INFO] [stdout] 149 | fn list<'a, 'b>( [INFO] [stdout] | ^^ [INFO] [stdout] 150 | input: Input<'a>, [INFO] [stdout] 151 | _cs: &'b f64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] = note: `#[warn(clippy::needless_lifetimes)]` on by default [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 149 ~ fn list<'a>( [INFO] [stdout] 150 | input: Input<'a>, [INFO] [stdout] 151 ~ _cs: &f64, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/overflow.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `std`, and `unstable-doc` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `char::is_digit` with literal radix of 16 [INFO] [stdout] --> tests/css.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | c.is_digit(16) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try: `c.is_ascii_hexdigit()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#is_digit_ascii_radix [INFO] [stdout] = note: `#[warn(clippy::is_digit_ascii_radix)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> tests/overflow.rs:16:37 [INFO] [stdout] | [INFO] [stdout] 16 | fn parser02(i: Streaming<&[u8]>) -> IResult, (&[u8], &[u8])> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] = note: `#[warn(clippy::type_complexity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> tests/overflow.rs:83:36 [INFO] [stdout] | [INFO] [stdout] 83 | fn multi(i: Streaming<&[u8]>) -> IResult, (Vec<&[u8]>, &[u8])> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::doc_markdown))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `alloc`, `default`, `std`, and `unstable-doc` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:319:12 [INFO] [stdout] | [INFO] [stdout] 319 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:331:12 [INFO] [stdout] | [INFO] [stdout] 331 | #[cfg_attr(nightly, allow(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:358:14 [INFO] [stdout] | [INFO] [stdout] 358 | #[cfg_attr(nightly, allow(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/error.rs:702:12 [INFO] [stdout] | [INFO] [stdout] 702 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/error.rs:1001:12 [INFO] [stdout] | [INFO] [stdout] 1001 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 255 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:323:12 [INFO] [stdout] | [INFO] [stdout] 323 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:399:12 [INFO] [stdout] | [INFO] [stdout] 399 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:468:12 [INFO] [stdout] | [INFO] [stdout] 468 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:529:12 [INFO] [stdout] | [INFO] [stdout] 529 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:588:12 [INFO] [stdout] | [INFO] [stdout] 588 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:611:12 [INFO] [stdout] | [INFO] [stdout] 611 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:762:12 [INFO] [stdout] | [INFO] [stdout] 762 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:862:12 [INFO] [stdout] | [INFO] [stdout] 862 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:928:12 [INFO] [stdout] | [INFO] [stdout] 928 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:1024:12 [INFO] [stdout] | [INFO] [stdout] 1024 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:1127:12 [INFO] [stdout] | [INFO] [stdout] 1127 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:1165:12 [INFO] [stdout] | [INFO] [stdout] 1165 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:1196:12 [INFO] [stdout] | [INFO] [stdout] 1196 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:1335:12 [INFO] [stdout] | [INFO] [stdout] 1335 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/combinator/mod.rs:1364:12 [INFO] [stdout] | [INFO] [stdout] 1364 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/parser.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/parser.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: item has both inner and outer attributes [INFO] [stdout] --> src/combinator/tests.rs:175:1 [INFO] [stdout] | [INFO] [stdout] 175 | / #[allow(unused)] [INFO] [stdout] 176 | | fn test_verify_ref() { [INFO] [stdout] 177 | | #![allow(deprecated)] [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mixed_attributes_style [INFO] [stdout] = note: `#[warn(clippy::mixed_attributes_style)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `crate` references the macro call's crate [INFO] [stdout] --> src/parser.rs:1090:15 [INFO] [stdout] | [INFO] [stdout] 1090 | assert!(crate::lib::std::mem::size_of::<$t>() <= $sz, "{} <= {} failed", crate::lib::std::mem::size_of::<$t>(), $sz); [INFO] [stdout] | ^^^^^ help: to reference the macro definition's crate, use: `$crate` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#crate_in_macro_def [INFO] [stdout] = note: `#[warn(clippy::crate_in_macro_def)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/bytes/complete.rs:744:20 [INFO] [stdout] | [INFO] [stdout] 744 | pub fn escaped<'a, Input: 'a, Error, F, G, O1, O2>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 750 | Input: Clone [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] = note: `#[warn(clippy::multiple_bound_locations)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/bytes/complete.rs:744:20 [INFO] [stdout] | [INFO] [stdout] 744 | pub fn escaped<'a, Input: 'a, Error, F, G, O1, O2>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 757 | Input: IntoOutput, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/bytes/complete.rs:766:36 [INFO] [stdout] | [INFO] [stdout] 766 | pub(crate) fn escaped_internal<'a, Input: 'a, Error, F, G, O1, O2>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 773 | Input: Clone [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/bytes/complete.rs:766:36 [INFO] [stdout] | [INFO] [stdout] 766 | pub(crate) fn escaped_internal<'a, Input: 'a, Error, F, G, O1, O2>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 780 | Input: IntoOutput, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/bytes/mod.rs:806:20 [INFO] [stdout] | [INFO] [stdout] 806 | pub fn escaped<'a, Input: 'a, Error, F, G, O1, O2, const STREAMING: bool>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 812 | Input: Clone [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bound is defined in more than one place [INFO] [stdout] --> src/bytes/mod.rs:806:20 [INFO] [stdout] | [INFO] [stdout] 806 | pub fn escaped<'a, Input: 'a, Error, F, G, O1, O2, const STREAMING: bool>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 820 | Input: IntoOutput, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NilError` is never constructed [INFO] [stdout] --> src/multi/tests.rs:345:12 [INFO] [stdout] | [INFO] [stdout] 345 | pub struct NilError; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `B` is never constructed [INFO] [stdout] --> src/sequence/tests.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct B { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `C` is never constructed [INFO] [stdout] --> src/sequence/tests.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | struct C { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/branch/tests.rs:121:35 [INFO] [stdout] | [INFO] [stdout] 121 | fn perm(i: Streaming<&[u8]>) -> IResult, (&[u8], &[u8], &[u8])> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] = note: `#[warn(clippy::type_complexity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/combinator/tests.rs:202:52 [INFO] [stdout] | [INFO] [stdout] 202 | assert_eq!(parser1(&b"abcd"[..]), Ok((&b"d"[..], (&b"abc").to_vec()))); [INFO] [stdout] | ^^^^^^^^^ help: change this to: `b"abc"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/combinator/tests.rs:383:20 [INFO] [stdout] | [INFO] [stdout] 383 | Ok((&b"d"[..], (&b"abc").to_vec())) [INFO] [stdout] | ^^^^^^^^^ help: change this to: `b"abc"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/combinator/mod.rs:272:6 [INFO] [stdout] | [INFO] [stdout] 272 | impl<'a, I, O1, O2, E, F: Parser, G: Fn(O1) -> O2> Parser for Map { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] = note: `#[warn(clippy::extra_unused_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/combinator/mod.rs:485:6 [INFO] [stdout] | [INFO] [stdout] 485 | impl<'a, I, O1, O2, E, F: Parser, G: Parser> Parser [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/combinator/mod.rs:546:6 [INFO] [stdout] | [INFO] [stdout] 546 | impl<'a, I, O1, O2, E, F: Parser, G: Fn(O1) -> H, H: Parser> Parser [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/combinator/mod.rs:600:6 [INFO] [stdout] | [INFO] [stdout] 600 | impl<'a, I, O1, O2, E, F: Parser, G: Parser> Parser [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/combinator/mod.rs:623:6 [INFO] [stdout] | [INFO] [stdout] 623 | impl<'a, I: Clone, O, E: crate::error::ParseError, F: Parser, G: Parser> [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/combinator/mod.rs:1352:6 [INFO] [stdout] | [INFO] [stdout] 1352 | impl<'a, I: Clone, O1, O2: From, E, F: Parser> Parser [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/combinator/mod.rs:1381:6 [INFO] [stdout] | [INFO] [stdout] 1381 | impl<'a, I: Clone, O, E1, E2: crate::error::ParseError + From, F: Parser> [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/combinator/mod.rs:1449:6 [INFO] [stdout] | [INFO] [stdout] 1449 | impl<'a, Input, Output, Error, F> core::iter::Iterator [INFO] [stdout] | ^^ [INFO] [stdout] 1450 | for &'a mut ParserIterator [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] = note: `#[warn(clippy::needless_lifetimes)]` on by default [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 1449 ~ impl core::iter::Iterator [INFO] [stdout] 1450 ~ for &mut ParserIterator [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:407:6 [INFO] [stdout] | [INFO] [stdout] 407 | impl<'a, T> InputIsStreaming for &'a [T] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 407 - impl<'a, T> InputIsStreaming for &'a [T] { [INFO] [stdout] 407 + impl InputIsStreaming for &[T] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:435:6 [INFO] [stdout] | [INFO] [stdout] 435 | impl<'a, T, const L: usize> InputIsStreaming for &'a [T; L] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 435 - impl<'a, T, const L: usize> InputIsStreaming for &'a [T; L] { [INFO] [stdout] 435 + impl InputIsStreaming for &[T; L] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:449:6 [INFO] [stdout] | [INFO] [stdout] 449 | impl<'a> InputIsStreaming for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 449 - impl<'a> InputIsStreaming for &'a str { [INFO] [stdout] 449 + impl InputIsStreaming for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:463:6 [INFO] [stdout] | [INFO] [stdout] 463 | impl<'a> InputIsStreaming for (&'a [u8], usize) { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 463 - impl<'a> InputIsStreaming for (&'a [u8], usize) { [INFO] [stdout] 463 + impl InputIsStreaming for (&[u8], usize) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:526:6 [INFO] [stdout] | [INFO] [stdout] 526 | impl<'a, T> InputLength for &'a [T] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 526 - impl<'a, T> InputLength for &'a [T] { [INFO] [stdout] 526 + impl InputLength for &[T] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:540:6 [INFO] [stdout] | [INFO] [stdout] 540 | impl<'a, const LEN: usize> InputLength for &'a [u8; LEN] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 540 - impl<'a, const LEN: usize> InputLength for &'a [u8; LEN] { [INFO] [stdout] 540 + impl InputLength for &[u8; LEN] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:547:6 [INFO] [stdout] | [INFO] [stdout] 547 | impl<'a> InputLength for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 547 - impl<'a> InputLength for &'a str { [INFO] [stdout] 547 + impl InputLength for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:554:6 [INFO] [stdout] | [INFO] [stdout] 554 | impl<'a> InputLength for (&'a [u8], usize) { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 554 - impl<'a> InputLength for (&'a [u8], usize) { [INFO] [stdout] 554 + impl InputLength for (&[u8], usize) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:604:6 [INFO] [stdout] | [INFO] [stdout] 604 | impl<'a> Offset for &'a [u8] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 604 - impl<'a> Offset for &'a [u8] { [INFO] [stdout] 604 + impl Offset for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:622:6 [INFO] [stdout] | [INFO] [stdout] 622 | impl<'a> Offset for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 622 - impl<'a> Offset for &'a str { [INFO] [stdout] 622 + impl Offset for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:672:6 [INFO] [stdout] | [INFO] [stdout] 672 | impl<'a> AsBytes for &'a [u8] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 672 - impl<'a> AsBytes for &'a [u8] { [INFO] [stdout] 672 + impl AsBytes for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/input.rs:675:5 [INFO] [stdout] | [INFO] [stdout] 675 | *self [INFO] [stdout] | ^^^^^ help: try: `self` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] = note: `#[warn(clippy::explicit_auto_deref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:686:6 [INFO] [stdout] | [INFO] [stdout] 686 | impl<'a, const LEN: usize> AsBytes for &'a [u8; LEN] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 686 - impl<'a, const LEN: usize> AsBytes for &'a [u8; LEN] { [INFO] [stdout] 686 + impl AsBytes for &[u8; LEN] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:693:6 [INFO] [stdout] | [INFO] [stdout] 693 | impl<'a> AsBytes for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 693 - impl<'a> AsBytes for &'a str { [INFO] [stdout] 693 + impl AsBytes for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AsChar` has a `len` method but no (possibly inherited) `is_empty` method [INFO] [stdout] --> src/input.rs:708:1 [INFO] [stdout] | [INFO] [stdout] 708 | / pub trait AsChar { [INFO] [stdout] 709 | | /// Makes a char from self [INFO] [stdout] 710 | | /// [INFO] [stdout] 711 | | /// ``` [INFO] [stdout] ... | [INFO] [stdout] 739 | | fn is_newline(self) -> bool; [INFO] [stdout] 740 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [INFO] [stdout] = note: `#[warn(clippy::len_without_is_empty)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `as_*` usually take `self` by reference or `self` by mutable reference [INFO] [stdout] --> src/input.rs:717:14 [INFO] [stdout] | [INFO] [stdout] 717 | fn as_char(self) -> char; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] = note: `#[warn(clippy::wrong_self_convention)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `is_*` usually take `self` by mutable reference or `self` by reference or no `self` [INFO] [stdout] --> src/input.rs:723:15 [INFO] [stdout] | [INFO] [stdout] 723 | fn is_alpha(self) -> bool; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `is_*` usually take `self` by mutable reference or `self` by reference or no `self` [INFO] [stdout] --> src/input.rs:727:18 [INFO] [stdout] | [INFO] [stdout] 727 | fn is_alphanum(self) -> bool; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `is_*` usually take `self` by mutable reference or `self` by reference or no `self` [INFO] [stdout] --> src/input.rs:729:19 [INFO] [stdout] | [INFO] [stdout] 729 | fn is_dec_digit(self) -> bool; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `is_*` usually take `self` by mutable reference or `self` by reference or no `self` [INFO] [stdout] --> src/input.rs:731:19 [INFO] [stdout] | [INFO] [stdout] 731 | fn is_hex_digit(self) -> bool; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `is_*` usually take `self` by mutable reference or `self` by reference or no `self` [INFO] [stdout] --> src/input.rs:733:19 [INFO] [stdout] | [INFO] [stdout] 733 | fn is_oct_digit(self) -> bool; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `is_*` usually take `self` by mutable reference or `self` by reference or no `self` [INFO] [stdout] --> src/input.rs:737:15 [INFO] [stdout] | [INFO] [stdout] 737 | fn is_space(self) -> bool; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods called `is_*` usually take `self` by mutable reference or `self` by reference or no `self` [INFO] [stdout] --> src/input.rs:739:17 [INFO] [stdout] | [INFO] [stdout] 739 | fn is_newline(self) -> bool; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider choosing a less ambiguous name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/input.rs:749:5 [INFO] [stdout] | [INFO] [stdout] 749 | (self >= 0x41 && self <= 0x5A) || (self >= 0x61 && self <= 0x7A) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x41..=0x5A).contains(&self)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] = note: `#[warn(clippy::manual_range_contains)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/input.rs:749:39 [INFO] [stdout] | [INFO] [stdout] 749 | (self >= 0x41 && self <= 0x5A) || (self >= 0x61 && self <= 0x7A) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x61..=0x7A).contains(&self)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/input.rs:757:5 [INFO] [stdout] | [INFO] [stdout] 757 | self >= 0x30 && self <= 0x39 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x30..=0x39).contains(&self)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/input.rs:761:5 [INFO] [stdout] | [INFO] [stdout] 761 | (self >= 0x30 && self <= 0x39) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x30..=0x39).contains(&self)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/input.rs:762:10 [INFO] [stdout] | [INFO] [stdout] 762 | || (self >= 0x41 && self <= 0x46) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x41..=0x46).contains(&self)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/input.rs:763:10 [INFO] [stdout] | [INFO] [stdout] 763 | || (self >= 0x61 && self <= 0x66) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x61..=0x66).contains(&self)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/input.rs:767:5 [INFO] [stdout] | [INFO] [stdout] 767 | self >= 0x30 && self <= 0x37 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x30..=0x37).contains(&self)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:781:6 [INFO] [stdout] | [INFO] [stdout] 781 | impl<'a> AsChar for &'a u8 { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 781 - impl<'a> AsChar for &'a u8 { [INFO] [stdout] 781 + impl AsChar for &u8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:859:6 [INFO] [stdout] | [INFO] [stdout] 859 | impl<'a> AsChar for &'a char { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 859 - impl<'a> AsChar for &'a char { [INFO] [stdout] 859 + impl AsChar for &char { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:1177:6 [INFO] [stdout] | [INFO] [stdout] 1177 | impl<'a> InputTake for &'a [u8] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 1177 - impl<'a> InputTake for &'a [u8] { [INFO] [stdout] 1177 + impl InputTake for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:1189:6 [INFO] [stdout] | [INFO] [stdout] 1189 | impl<'a> InputTake for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 1189 - impl<'a> InputTake for &'a str { [INFO] [stdout] 1189 + impl InputTake for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:1594:6 [INFO] [stdout] | [INFO] [stdout] 1594 | impl<'a> InputTakeAtPosition for &'a [u8] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 1594 - impl<'a> InputTakeAtPosition for &'a [u8] { [INFO] [stdout] 1594 + impl InputTakeAtPosition for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:1660:6 [INFO] [stdout] | [INFO] [stdout] 1660 | impl<'a> InputTakeAtPosition for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 1660 - impl<'a> InputTakeAtPosition for &'a str { [INFO] [stdout] 1660 + impl InputTakeAtPosition for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:1816:6 [INFO] [stdout] | [INFO] [stdout] 1816 | impl<'a, 'b> Compare<&'b [u8]> for &'a [u8] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 1816 - impl<'a, 'b> Compare<&'b [u8]> for &'a [u8] { [INFO] [stdout] 1816 + impl<'b> Compare<&'b [u8]> for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:1849:6 [INFO] [stdout] | [INFO] [stdout] 1849 | impl<'a, 'b, const LEN: usize> Compare<&'b [u8; LEN]> for &'a [u8] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 1849 - impl<'a, 'b, const LEN: usize> Compare<&'b [u8; LEN]> for &'a [u8] { [INFO] [stdout] 1849 + impl<'b, const LEN: usize> Compare<&'b [u8; LEN]> for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:1901:6 [INFO] [stdout] | [INFO] [stdout] 1901 | impl<'a, 'b> Compare<&'b str> for &'a [u8] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 1901 - impl<'a, 'b> Compare<&'b str> for &'a [u8] { [INFO] [stdout] 1901 + impl<'b> Compare<&'b str> for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:1912:6 [INFO] [stdout] | [INFO] [stdout] 1912 | impl<'a, 'b> Compare<&'b str> for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 1912 - impl<'a, 'b> Compare<&'b str> for &'a str { [INFO] [stdout] 1912 + impl<'b> Compare<&'b str> for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:1939:6 [INFO] [stdout] | [INFO] [stdout] 1939 | impl<'a, 'b> Compare<&'b [u8]> for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 1939 - impl<'a, 'b> Compare<&'b [u8]> for &'a str { [INFO] [stdout] 1939 + impl<'b> Compare<&'b [u8]> for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:1950:6 [INFO] [stdout] | [INFO] [stdout] 1950 | impl<'a, const LEN: usize> Compare<[u8; LEN]> for &'a [u8] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 1950 - impl<'a, const LEN: usize> Compare<[u8; LEN]> for &'a [u8] { [INFO] [stdout] 1950 + impl Compare<[u8; LEN]> for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2006:6 [INFO] [stdout] | [INFO] [stdout] 2006 | impl<'a> FindToken<&'a u8> for u8 { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2006 - impl<'a> FindToken<&'a u8> for u8 { [INFO] [stdout] 2006 + impl FindToken<&u8> for u8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2018:6 [INFO] [stdout] | [INFO] [stdout] 2018 | impl<'a> FindToken<&'a char> for u8 { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2018 - impl<'a> FindToken<&'a char> for u8 { [INFO] [stdout] 2018 + impl FindToken<&char> for u8 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2079:6 [INFO] [stdout] | [INFO] [stdout] 2079 | impl<'a> FindToken for &'a [u8] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2079 - impl<'a> FindToken for &'a [u8] { [INFO] [stdout] 2079 + impl FindToken for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a, 'b [INFO] [stdout] --> src/input.rs:2085:6 [INFO] [stdout] | [INFO] [stdout] 2085 | impl<'a, 'b> FindToken<&'a u8> for &'b [u8] { [INFO] [stdout] | ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2085 - impl<'a, 'b> FindToken<&'a u8> for &'b [u8] { [INFO] [stdout] 2085 + impl FindToken<&u8> for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2091:6 [INFO] [stdout] | [INFO] [stdout] 2091 | impl<'a> FindToken for &'a [u8] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2091 - impl<'a> FindToken for &'a [u8] { [INFO] [stdout] 2091 + impl FindToken for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a, 'b [INFO] [stdout] --> src/input.rs:2097:6 [INFO] [stdout] | [INFO] [stdout] 2097 | impl<'a, 'b> FindToken<&'a char> for &'b [u8] { [INFO] [stdout] | ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2097 - impl<'a, 'b> FindToken<&'a char> for &'b [u8] { [INFO] [stdout] 2097 + impl FindToken<&char> for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2109:6 [INFO] [stdout] | [INFO] [stdout] 2109 | impl<'a, const LEN: usize> FindToken<&'a u8> for [u8; LEN] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2109 - impl<'a, const LEN: usize> FindToken<&'a u8> for [u8; LEN] { [INFO] [stdout] 2109 + impl FindToken<&u8> for [u8; LEN] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/input.rs:2115:6 [INFO] [stdout] | [INFO] [stdout] 2115 | impl<'a, const LEN: usize> FindToken for [u8; LEN] { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2121:6 [INFO] [stdout] | [INFO] [stdout] 2121 | impl<'a, const LEN: usize> FindToken<&'a char> for [u8; LEN] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2121 - impl<'a, const LEN: usize> FindToken<&'a char> for [u8; LEN] { [INFO] [stdout] 2121 + impl FindToken<&char> for [u8; LEN] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2127:6 [INFO] [stdout] | [INFO] [stdout] 2127 | impl<'a> FindToken for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2127 - impl<'a> FindToken for &'a str { [INFO] [stdout] 2127 + impl FindToken for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a, 'b [INFO] [stdout] --> src/input.rs:2133:6 [INFO] [stdout] | [INFO] [stdout] 2133 | impl<'a, 'b> FindToken<&'a u8> for &'b str { [INFO] [stdout] | ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2133 - impl<'a, 'b> FindToken<&'a u8> for &'b str { [INFO] [stdout] 2133 + impl FindToken<&u8> for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2139:6 [INFO] [stdout] | [INFO] [stdout] 2139 | impl<'a> FindToken for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2139 - impl<'a> FindToken for &'a str { [INFO] [stdout] 2139 + impl FindToken for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a, 'b [INFO] [stdout] --> src/input.rs:2145:6 [INFO] [stdout] | [INFO] [stdout] 2145 | impl<'a, 'b> FindToken<&'a char> for &'b str { [INFO] [stdout] | ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2145 - impl<'a, 'b> FindToken<&'a char> for &'b str { [INFO] [stdout] 2145 + impl FindToken<&char> for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2151:6 [INFO] [stdout] | [INFO] [stdout] 2151 | impl<'a> FindToken for &'a [char] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2151 - impl<'a> FindToken for &'a [char] { [INFO] [stdout] 2151 + impl FindToken for &[char] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a, 'b [INFO] [stdout] --> src/input.rs:2157:6 [INFO] [stdout] | [INFO] [stdout] 2157 | impl<'a, 'b> FindToken<&'a u8> for &'b [char] { [INFO] [stdout] | ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2157 - impl<'a, 'b> FindToken<&'a u8> for &'b [char] { [INFO] [stdout] 2157 + impl FindToken<&u8> for &[char] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2163:6 [INFO] [stdout] | [INFO] [stdout] 2163 | impl<'a> FindToken for &'a [char] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2163 - impl<'a> FindToken for &'a [char] { [INFO] [stdout] 2163 + impl FindToken for &[char] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `contains()` instead of `iter().any()` is more efficient [INFO] [stdout] --> src/input.rs:2165:5 [INFO] [stdout] | [INFO] [stdout] 2165 | self.iter().any(|i| *i == token) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.contains(&token)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_contains [INFO] [stdout] = note: `#[warn(clippy::manual_contains)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a, 'b [INFO] [stdout] --> src/input.rs:2169:6 [INFO] [stdout] | [INFO] [stdout] 2169 | impl<'a, 'b> FindToken<&'a char> for &'b [char] { [INFO] [stdout] | ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2169 - impl<'a, 'b> FindToken<&'a char> for &'b [char] { [INFO] [stdout] 2169 + impl FindToken<&char> for &[char] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2250:6 [INFO] [stdout] | [INFO] [stdout] 2250 | impl<'a, 'b> FindSubstring<&'b [u8]> for &'a [u8] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2250 - impl<'a, 'b> FindSubstring<&'b [u8]> for &'a [u8] { [INFO] [stdout] 2250 + impl<'b> FindSubstring<&'b [u8]> for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2284:6 [INFO] [stdout] | [INFO] [stdout] 2284 | impl<'a, 'b> FindSubstring<&'b str> for &'a [u8] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2284 - impl<'a, 'b> FindSubstring<&'b str> for &'a [u8] { [INFO] [stdout] 2284 + impl<'b> FindSubstring<&'b str> for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2290:6 [INFO] [stdout] | [INFO] [stdout] 2290 | impl<'a, 'b> FindSubstring<&'b str> for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2290 - impl<'a, 'b> FindSubstring<&'b str> for &'a str { [INFO] [stdout] 2290 + impl<'b> FindSubstring<&'b str> for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2334:6 [INFO] [stdout] | [INFO] [stdout] 2334 | impl<'a, R: FromStr> ParseTo for &'a [u8] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2334 - impl<'a, R: FromStr> ParseTo for &'a [u8] { [INFO] [stdout] 2334 + impl ParseTo for &[u8] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2340:6 [INFO] [stdout] | [INFO] [stdout] 2340 | impl<'a, R: FromStr> ParseTo for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2340 - impl<'a, R: FromStr> ParseTo for &'a str { [INFO] [stdout] 2340 + impl ParseTo for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2489:6 [INFO] [stdout] | [INFO] [stdout] 2489 | impl<'a, T> IntoOutput for &'a [T] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2489 - impl<'a, T> IntoOutput for &'a [T] { [INFO] [stdout] 2489 + impl IntoOutput for &[T] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2513:6 [INFO] [stdout] | [INFO] [stdout] 2513 | impl<'a, const LEN: usize> IntoOutput for &'a [u8; LEN] { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2513 - impl<'a, const LEN: usize> IntoOutput for &'a [u8; LEN] { [INFO] [stdout] 2513 + impl IntoOutput for &[u8; LEN] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2525:6 [INFO] [stdout] | [INFO] [stdout] 2525 | impl<'a> IntoOutput for &'a str { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2525 - impl<'a> IntoOutput for &'a str { [INFO] [stdout] 2525 + impl IntoOutput for &str { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/input.rs:2537:6 [INFO] [stdout] | [INFO] [stdout] 2537 | impl<'a> IntoOutput for (&'a [u8], usize) { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 2537 - impl<'a> IntoOutput for (&'a [u8], usize) { [INFO] [stdout] 2537 + impl IntoOutput for (&[u8], usize) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/input.rs:2876:12 [INFO] [stdout] | [INFO] [stdout] 2876 | if (byte >= 32 && byte <= 126) || byte >= 128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(32..=126).contains(&byte)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/input.rs:2921:13 [INFO] [stdout] | [INFO] [stdout] 2921 | let a = &s[..]; [INFO] [stdout] | ^^^^^^ help: use the original value instead: `s` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] = note: `#[warn(clippy::redundant_slicing)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/multi/tests.rs:186:25 [INFO] [stdout] | [INFO] [stdout] 186 | fn multi(i: &[u8]) -> IResult<&[u8], (Vec<&[u8]>, &[u8])> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/multi/mod.rs:650:5 [INFO] [stdout] | [INFO] [stdout] 650 | /// the current accumulator. [INFO] [stdout] | ^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] = note: `#[warn(clippy::doc_overindented_list_items)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/multi/mod.rs:725:5 [INFO] [stdout] | [INFO] [stdout] 725 | /// the current accumulator. [INFO] [stdout] | ^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/multi/mod.rs:811:5 [INFO] [stdout] | [INFO] [stdout] 811 | /// the current accumulator. [INFO] [stdout] | ^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/parser.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | /// for the parser to decide, and you should gather more data before parsing again. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] = note: `#[warn(clippy::doc_lazy_continuation)]` on by default [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 38 | /// for the parser to decide, and you should gather more data before parsing again. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/parser.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | /// Once the parser returns either `Ok(_)`, `Err(Err::Error(_))` or `Err(Err::Failure(_))`, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 39 | /// Once the parser returns either `Ok(_)`, `Err(Err::Error(_))` or `Err(Err::Failure(_))`, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/parser.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | /// you can get out of the parsing loop and call `finish_err()` on the parser's result [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 40 | /// you can get out of the parsing loop and call `finish_err()` on the parser's result [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/parser.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | /// can contain how many additional bytes are necessary. If you are sure your parser [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 165 | /// can contain how many additional bytes are necessary. If you are sure your parser [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/parser.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | /// is working on full data, you can wrap your parser with the `complete` combinator [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 166 | /// is working on full data, you can wrap your parser with the `complete` combinator [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/parser.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | /// to transform that case in `Error` [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 167 | /// to transform that case in `Error` [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/parser.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | /// when testing different branches of an `alt` combinator) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 169 | /// when testing different branches of an `alt` combinator) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/parser.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | /// to decide on the next parser to apply, and that parser fails, you know there's no need [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 171 | /// to decide on the next parser to apply, and that parser fails, you know there's no need [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/parser.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | /// to try other parsers, you were already in the right branch, so the data is invalid [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 172 | /// to try other parsers, you were already in the right branch, so the data is invalid [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let .. else` expression looks like `matches!` macro [INFO] [stdout] --> src/parser.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | / if let Err::Incomplete(_) = self { [INFO] [stdout] 196 | | true [INFO] [stdout] 197 | | } else { [INFO] [stdout] 198 | | false [INFO] [stdout] 199 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] = note: `#[warn(clippy::match_like_matches_macro)]` on by default [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 195 - if let Err::Incomplete(_) = self { [INFO] [stdout] 196 - true [INFO] [stdout] 197 - } else { [INFO] [stdout] 198 - false [INFO] [stdout] 199 - } [INFO] [stdout] 195 + matches!(self, Err::Incomplete(_)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this lifetime isn't used in the impl [INFO] [stdout] --> src/parser.rs:862:6 [INFO] [stdout] | [INFO] [stdout] 862 | impl<'a, I, O, E, F> Parser for F [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/parser.rs:1125:40 [INFO] [stdout] | [INFO] [stdout] 1125 | fn tuple_3(i: Streaming<&[u8]>) -> IResult, (u16, &[u8], &[u8])> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/sequence/tests.rs:53:43 [INFO] [stdout] | [INFO] [stdout] 53 | fn pair_abc_def(i: Streaming<&[u8]>) -> IResult, (&[u8], &[u8])> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/sequence/tests.rs:94:47 [INFO] [stdout] | [INFO] [stdout] 94 | fn sep_pair_abc_def(i: Streaming<&[u8]>) -> IResult, (&[u8], &[u8])> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/sequence/tests.rs:270:38 [INFO] [stdout] | [INFO] [stdout] 270 | fn tuple_3(i: Streaming<&[u8]>) -> IResult, (u16, &[u8], &[u8])> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u8` -> `u8`) [INFO] [stdout] --> src/bits/complete.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | ((byte << offset) as u8 >> offset).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `(byte << offset)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`usize` -> `usize`) [INFO] [stdout] --> src/bits/streaming.rs:43:39 [INFO] [stdout] | [INFO] [stdout] 43 | Err(Err::Incomplete(Needed::new(count as usize))) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try: `count` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`u8` -> `u8`) [INFO] [stdout] --> src/bits/streaming.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | ((byte << offset) as u8 >> offset).into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `(byte << offset)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/bytes/complete.rs:1033:14 [INFO] [stdout] | [INFO] [stdout] 1033 | fn unquote<'a>(input: &'a str) -> IResult<&'a str, &'a str> { [INFO] [stdout] | ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 1033 - fn unquote<'a>(input: &'a str) -> IResult<&'a str, &'a str> { [INFO] [stdout] 1033 + fn unquote(input: &str) -> IResult<&str, &str> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/bytes/streaming.rs:1443:38 [INFO] [stdout] | [INFO] [stdout] 1443 | Err(Err::Error(error_position!(&"Hello"[..], ErrorKind::Tag))) [INFO] [stdout] | ^^^^^^^^^^^^ help: use the original value instead: `"Hello"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/bytes/streaming.rs:1447:38 [INFO] [stdout] | [INFO] [stdout] 1447 | Err(Err::Error(error_position!(&"Hel"[..], ErrorKind::Tag))) [INFO] [stdout] | ^^^^^^^^^^ help: use the original value instead: `"Hel"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/bytes/tests.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | fn unquote<'a>(input: &'a str) -> IResult<&'a str, &'a str> { [INFO] [stdout] | ^^ ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 43 - fn unquote<'a>(input: &'a str) -> IResult<&'a str, &'a str> { [INFO] [stdout] 43 + fn unquote(input: &str) -> IResult<&str, &str> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/bytes/tests.rs:324:11 [INFO] [stdout] | [INFO] [stdout] 324 | let a = &"abcd"[..]; [INFO] [stdout] | ^^^^^^^^^^^ help: use the original value instead: `"abcd"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/bytes/tests.rs:330:11 [INFO] [stdout] | [INFO] [stdout] 330 | let b = &"cde"[..]; [INFO] [stdout] | ^^^^^^^^^^ help: use the original value instead: `"cde"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/bytes/tests.rs:331:45 [INFO] [stdout] | [INFO] [stdout] 331 | assert_eq!(f(Streaming(b)), Ok((Streaming(&"de"[..]), 'c'))); [INFO] [stdout] | ^^^^^^^^^ help: use the original value instead: `"de"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/character/complete.rs:1039:61 [INFO] [stdout] | [INFO] [stdout] 1039 | assert_eq!(alpha1::<_, (_, ErrorKind)>(c), Ok((&c[1..], &"a"[..]))); [INFO] [stdout] | ^^^^^^^^ help: use the original value instead: `"a"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/character/complete.rs:1040:59 [INFO] [stdout] | [INFO] [stdout] 1040 | assert_eq!(alpha1::<_, (_, ErrorKind)>(d), Ok(("é12", &"az"[..]))); [INFO] [stdout] | ^^^^^^^^^ help: use the original value instead: `"az"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/character/complete.rs:1048:64 [INFO] [stdout] | [INFO] [stdout] 1048 | assert_eq!(hex_digit1::<_, (_, ErrorKind)>(d), Ok(("zé12", &"a"[..]))); [INFO] [stdout] | ^^^^^^^^ help: use the original value instead: `"a"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/character/complete.rs:1138:20 [INFO] [stdout] | [INFO] [stdout] 1138 | Ok((&[][..], &d[..])) [INFO] [stdout] | ^^^^^^ help: use the original value instead: `d` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/character/complete.rs:1273:38 [INFO] [stdout] | [INFO] [stdout] 1273 | Err(Err::Error(error_position!(&"\r"[..], ErrorKind::CrLf))) [INFO] [stdout] | ^^^^^^^^^ help: use the original value instead: `"\r"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/character/complete.rs:1298:38 [INFO] [stdout] | [INFO] [stdout] 1298 | Err(Err::Error(error_position!(&"\r"[..], ErrorKind::CrLf))) [INFO] [stdout] | ^^^^^^^^^ help: use the original value instead: `"\r"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/character/streaming.rs:1039:61 [INFO] [stdout] | [INFO] [stdout] 1039 | assert_eq!(alpha1::<_, (_, ErrorKind)>(c), Ok((&c[1..], &"a"[..]))); [INFO] [stdout] | ^^^^^^^^ help: use the original value instead: `"a"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/character/streaming.rs:1040:59 [INFO] [stdout] | [INFO] [stdout] 1040 | assert_eq!(alpha1::<_, (_, ErrorKind)>(d), Ok(("é12", &"az"[..]))); [INFO] [stdout] | ^^^^^^^^^ help: use the original value instead: `"az"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/character/streaming.rs:1060:64 [INFO] [stdout] | [INFO] [stdout] 1060 | assert_eq!(hex_digit1::<_, (_, ErrorKind)>(d), Ok(("zé12", &"a"[..]))); [INFO] [stdout] | ^^^^^^^^ help: use the original value instead: `"a"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/character/streaming.rs:1419:13 [INFO] [stdout] | [INFO] [stdout] 1419 | let a = &"abcd"[..]; [INFO] [stdout] | ^^^^^^^^^^^ help: use the original value instead: `"abcd"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/character/streaming.rs:1422:13 [INFO] [stdout] | [INFO] [stdout] 1422 | let b = &"cde"[..]; [INFO] [stdout] | ^^^^^^^^^^ help: use the original value instead: `"cde"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/character/streaming.rs:1423:26 [INFO] [stdout] | [INFO] [stdout] 1423 | assert_eq!(f(b), Ok((&"de"[..], 'c'))); [INFO] [stdout] | ^^^^^^^^^ help: use the original value instead: `"de"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/character/tests.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | Ok((&c[1..], &"a"[..])) [INFO] [stdout] | ^^^^^^^^ help: use the original value instead: `"a"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/character/tests.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 85 | Ok(("é12", &"az"[..])) [INFO] [stdout] | ^^^^^^^^^ help: use the original value instead: `"az"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/character/tests.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | Ok(("zé12", &"a"[..])) [INFO] [stdout] | ^^^^^^^^ help: use the original value instead: `"a"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/character/tests.rs:190:20 [INFO] [stdout] | [INFO] [stdout] 190 | Ok((&[][..], &d[..])) [INFO] [stdout] | ^^^^^^ help: use the original value instead: `d` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/character/tests.rs:311:38 [INFO] [stdout] | [INFO] [stdout] 311 | Err(Err::Error(error_position!(&"\r"[..], ErrorKind::CrLf))) [INFO] [stdout] | ^^^^^^^^^ help: use the original value instead: `"\r"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/character/tests.rs:336:38 [INFO] [stdout] | [INFO] [stdout] 336 | Err(Err::Error(error_position!(&"\r"[..], ErrorKind::CrLf))) [INFO] [stdout] | ^^^^^^^^^ help: use the original value instead: `"\r"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> src/character/tests.rs:434:20 [INFO] [stdout] | [INFO] [stdout] 434 | let larger = format!("{}", test); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `test.to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] = note: `#[warn(clippy::useless_format)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/character/tests.rs:620:31 [INFO] [stdout] | [INFO] [stdout] 620 | Ok((Streaming(&c[1..]), &"a"[..])) [INFO] [stdout] | ^^^^^^^^ help: use the original value instead: `"a"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/character/tests.rs:624:29 [INFO] [stdout] | [INFO] [stdout] 624 | Ok((Streaming("é12"), &"az"[..])) [INFO] [stdout] | ^^^^^^^^^ help: use the original value instead: `"az"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/character/tests.rs:656:30 [INFO] [stdout] | [INFO] [stdout] 656 | Ok((Streaming("zé12"), &"a"[..])) [INFO] [stdout] | ^^^^^^^^ help: use the original value instead: `"a"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/character/tests.rs:864:47 [INFO] [stdout] | [INFO] [stdout] 864 | fn take_full_line(i: Streaming<&[u8]>) -> IResult, (&[u8], &[u8])> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/character/tests.rs:877:47 [INFO] [stdout] | [INFO] [stdout] 877 | fn take_full_line(i: Streaming<&[u8]>) -> IResult, (&[u8], &[u8])> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/character/mod.rs:1141:6 [INFO] [stdout] | [INFO] [stdout] 1141 | ) -> IResult< [INFO] [stdout] | ______^ [INFO] [stdout] 1142 | | T, [INFO] [stdout] 1143 | | ( [INFO] [stdout] 1144 | | bool, [INFO] [stdout] ... | [INFO] [stdout] 1149 | | E, [INFO] [stdout] 1150 | | > [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/character/mod.rs:1173:3 [INFO] [stdout] | [INFO] [stdout] 1173 | (chr >= 0x41 && chr <= 0x5A) || (chr >= 0x61 && chr <= 0x7A) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x41..=0x5A).contains(&chr)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/character/mod.rs:1173:35 [INFO] [stdout] | [INFO] [stdout] 1173 | (chr >= 0x41 && chr <= 0x5A) || (chr >= 0x61 && chr <= 0x7A) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x61..=0x7A).contains(&chr)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/character/mod.rs:1180:3 [INFO] [stdout] | [INFO] [stdout] 1180 | chr >= 0x30 && chr <= 0x39 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x30..=0x39).contains(&chr)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/character/mod.rs:1187:3 [INFO] [stdout] | [INFO] [stdout] 1187 | (chr >= 0x30 && chr <= 0x39) || (chr >= 0x41 && chr <= 0x46) || (chr >= 0x61 && chr <= 0x66) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x30..=0x39).contains(&chr)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/character/mod.rs:1187:35 [INFO] [stdout] | [INFO] [stdout] 1187 | (chr >= 0x30 && chr <= 0x39) || (chr >= 0x41 && chr <= 0x46) || (chr >= 0x61 && chr <= 0x66) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x41..=0x46).contains(&chr)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/character/mod.rs:1187:67 [INFO] [stdout] | [INFO] [stdout] 1187 | (chr >= 0x30 && chr <= 0x39) || (chr >= 0x41 && chr <= 0x46) || (chr >= 0x61 && chr <= 0x66) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x61..=0x66).contains(&chr)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual `RangeInclusive::contains` implementation [INFO] [stdout] --> src/character/mod.rs:1194:3 [INFO] [stdout] | [INFO] [stdout] 1194 | chr >= 0x30 && chr <= 0x37 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(0x30..=0x37).contains(&chr)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/str.rs:173:28 [INFO] [stdout] | [INFO] [stdout] 173 | assert_eq!(f(Streaming(&a[..])), Err(Err::Incomplete(Needed::new(1)))); [INFO] [stdout] | ^^^^^^ help: use the original value instead: `a` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/str.rs:174:28 [INFO] [stdout] | [INFO] [stdout] 174 | assert_eq!(f(Streaming(&b[..])), Err(Err::Incomplete(Needed::new(1)))); [INFO] [stdout] | ^^^^^^ help: use the original value instead: `b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/str.rs:175:28 [INFO] [stdout] | [INFO] [stdout] 175 | assert_eq!(f(Streaming(&c[..])), Ok((Streaming(&d[..]), &b[..]))); [INFO] [stdout] | ^^^^^^ help: use the original value instead: `c` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/str.rs:175:52 [INFO] [stdout] | [INFO] [stdout] 175 | assert_eq!(f(Streaming(&c[..])), Ok((Streaming(&d[..]), &b[..]))); [INFO] [stdout] | ^^^^^^ help: use the original value instead: `d` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/str.rs:175:61 [INFO] [stdout] | [INFO] [stdout] 175 | assert_eq!(f(Streaming(&c[..])), Ok((Streaming(&d[..]), &b[..]))); [INFO] [stdout] | ^^^^^^ help: use the original value instead: `b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/str.rs:176:28 [INFO] [stdout] | [INFO] [stdout] 176 | assert_eq!(f(Streaming(&d[..])), Ok((Streaming(&d[..]), &a[..]))); [INFO] [stdout] | ^^^^^^ help: use the original value instead: `d` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/str.rs:176:52 [INFO] [stdout] | [INFO] [stdout] 176 | assert_eq!(f(Streaming(&d[..])), Ok((Streaming(&d[..]), &a[..]))); [INFO] [stdout] | ^^^^^^ help: use the original value instead: `d` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/str.rs:176:61 [INFO] [stdout] | [INFO] [stdout] 176 | assert_eq!(f(Streaming(&d[..])), Ok((Streaming(&d[..]), &a[..]))); [INFO] [stdout] | ^^^^^^ help: use the original value instead: `a` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/str.rs:189:28 [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!(f(Streaming(&a[..])), Err(Err::Incomplete(Needed::new(1)))); [INFO] [stdout] | ^^^^^^ help: use the original value instead: `a` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/str.rs:190:28 [INFO] [stdout] | [INFO] [stdout] 190 | assert_eq!(f(Streaming(&b[..])), Err(Err::Incomplete(Needed::new(1)))); [INFO] [stdout] | ^^^^^^ help: use the original value instead: `b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/str.rs:191:28 [INFO] [stdout] | [INFO] [stdout] 191 | assert_eq!(f(Streaming(&c[..])), Ok((Streaming(&"123"[..]), &b[..]))); [INFO] [stdout] | ^^^^^^ help: use the original value instead: `c` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/str.rs:191:52 [INFO] [stdout] | [INFO] [stdout] 191 | assert_eq!(f(Streaming(&c[..])), Ok((Streaming(&"123"[..]), &b[..]))); [INFO] [stdout] | ^^^^^^^^^^ help: use the original value instead: `"123"` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/str.rs:191:65 [INFO] [stdout] | [INFO] [stdout] 191 | assert_eq!(f(Streaming(&c[..])), Ok((Streaming(&"123"[..]), &b[..]))); [INFO] [stdout] | ^^^^^^ help: use the original value instead: `b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/str.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | f(Streaming(&d[..])), [INFO] [stdout] | ^^^^^^ help: use the original value instead: `d` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/str.rs:195:19 [INFO] [stdout] | [INFO] [stdout] 195 | Streaming(&d[..]), [INFO] [stdout] | ^^^^^^ help: use the original value instead: `d` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/str.rs:308:7 [INFO] [stdout] | [INFO] [stdout] 308 | / c == 'β' [INFO] [stdout] 309 | | || c == 'è' [INFO] [stdout] 310 | | || c == 'ƒ' [INFO] [stdout] 311 | | || c == 'ô' [INFO] [stdout] ... | [INFO] [stdout] 314 | | || c == 'Â' [INFO] [stdout] 315 | | || c == 'ß' [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 308 - c == 'β' [INFO] [stdout] 309 - || c == 'è' [INFO] [stdout] 310 - || c == 'ƒ' [INFO] [stdout] 311 - || c == 'ô' [INFO] [stdout] 312 - || c == 'ř' [INFO] [stdout] 313 - || c == 'è' [INFO] [stdout] 314 - || c == 'Â' [INFO] [stdout] 315 - || c == 'ß' [INFO] [stdout] 308 + !(c != 'β' && c != 'è' && c != 'ƒ' && c != 'ô' && c != 'ř' && c != 'Â' && c != 'ß') [INFO] [stdout] | [INFO] [stdout] 308 - c == 'β' [INFO] [stdout] 309 - || c == 'è' [INFO] [stdout] 310 - || c == 'ƒ' [INFO] [stdout] 311 - || c == 'ô' [INFO] [stdout] 312 - || c == 'ř' [INFO] [stdout] 313 - || c == 'è' [INFO] [stdout] 314 - || c == 'Â' [INFO] [stdout] 315 - || c == 'ß' [INFO] [stdout] 308 + c == 'β' || c == 'è' || c == 'ƒ' || c == 'ô' || c == 'ř' || c == 'Â' || c == 'ß' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/str.rs:308:7 [INFO] [stdout] | [INFO] [stdout] 308 | / c == 'β' [INFO] [stdout] 309 | | || c == 'è' [INFO] [stdout] 310 | | || c == 'ƒ' [INFO] [stdout] 311 | | || c == 'ô' [INFO] [stdout] 312 | | || c == 'ř' [INFO] [stdout] 313 | | || c == 'è' [INFO] [stdout] 314 | | || c == 'Â' [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 308 - c == 'β' [INFO] [stdout] 309 - || c == 'è' [INFO] [stdout] 310 - || c == 'ƒ' [INFO] [stdout] 311 - || c == 'ô' [INFO] [stdout] 312 - || c == 'ř' [INFO] [stdout] 313 - || c == 'è' [INFO] [stdout] 314 - || c == 'Â' [INFO] [stdout] 308 + !(c != 'β' && c != 'è' && c != 'ƒ' && c != 'ô' && c != 'ř' && c != 'Â') [INFO] [stdout] | [INFO] [stdout] 308 - c == 'β' [INFO] [stdout] 309 - || c == 'è' [INFO] [stdout] 310 - || c == 'ƒ' [INFO] [stdout] 311 - || c == 'ô' [INFO] [stdout] 312 - || c == 'ř' [INFO] [stdout] 313 - || c == 'è' [INFO] [stdout] 314 - || c == 'Â' [INFO] [stdout] 308 + c == 'β' || c == 'è' || c == 'ƒ' || c == 'ô' || c == 'ř' || c == 'Â' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/str.rs:308:7 [INFO] [stdout] | [INFO] [stdout] 308 | / c == 'β' [INFO] [stdout] 309 | | || c == 'è' [INFO] [stdout] 310 | | || c == 'ƒ' [INFO] [stdout] 311 | | || c == 'ô' [INFO] [stdout] 312 | | || c == 'ř' [INFO] [stdout] 313 | | || c == 'è' [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 308 - c == 'β' [INFO] [stdout] 309 - || c == 'è' [INFO] [stdout] 310 - || c == 'ƒ' [INFO] [stdout] 311 - || c == 'ô' [INFO] [stdout] 312 - || c == 'ř' [INFO] [stdout] 313 - || c == 'è' [INFO] [stdout] 308 + !(c != 'β' && c != 'è' && c != 'ƒ' && c != 'ô' && c != 'ř') [INFO] [stdout] | [INFO] [stdout] 308 - c == 'β' [INFO] [stdout] 309 - || c == 'è' [INFO] [stdout] 310 - || c == 'ƒ' [INFO] [stdout] 311 - || c == 'ô' [INFO] [stdout] 312 - || c == 'ř' [INFO] [stdout] 313 - || c == 'è' [INFO] [stdout] 308 + c == 'β' || c == 'è' || c == 'ƒ' || c == 'ô' || c == 'ř' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/str.rs:367:7 [INFO] [stdout] | [INFO] [stdout] 367 | / c == 'β' [INFO] [stdout] 368 | | || c == 'è' [INFO] [stdout] 369 | | || c == 'ƒ' [INFO] [stdout] 370 | | || c == 'ô' [INFO] [stdout] ... | [INFO] [stdout] 373 | | || c == 'Â' [INFO] [stdout] 374 | | || c == 'ß' [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 367 - c == 'β' [INFO] [stdout] 368 - || c == 'è' [INFO] [stdout] 369 - || c == 'ƒ' [INFO] [stdout] 370 - || c == 'ô' [INFO] [stdout] 371 - || c == 'ř' [INFO] [stdout] 372 - || c == 'è' [INFO] [stdout] 373 - || c == 'Â' [INFO] [stdout] 374 - || c == 'ß' [INFO] [stdout] 367 + !(c != 'β' && c != 'è' && c != 'ƒ' && c != 'ô' && c != 'ř' && c != 'Â' && c != 'ß') [INFO] [stdout] | [INFO] [stdout] 367 - c == 'β' [INFO] [stdout] 368 - || c == 'è' [INFO] [stdout] 369 - || c == 'ƒ' [INFO] [stdout] 370 - || c == 'ô' [INFO] [stdout] 371 - || c == 'ř' [INFO] [stdout] 372 - || c == 'è' [INFO] [stdout] 373 - || c == 'Â' [INFO] [stdout] 374 - || c == 'ß' [INFO] [stdout] 367 + c == 'β' || c == 'è' || c == 'ƒ' || c == 'ô' || c == 'ř' || c == 'Â' || c == 'ß' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/str.rs:367:7 [INFO] [stdout] | [INFO] [stdout] 367 | / c == 'β' [INFO] [stdout] 368 | | || c == 'è' [INFO] [stdout] 369 | | || c == 'ƒ' [INFO] [stdout] 370 | | || c == 'ô' [INFO] [stdout] 371 | | || c == 'ř' [INFO] [stdout] 372 | | || c == 'è' [INFO] [stdout] 373 | | || c == 'Â' [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 367 - c == 'β' [INFO] [stdout] 368 - || c == 'è' [INFO] [stdout] 369 - || c == 'ƒ' [INFO] [stdout] 370 - || c == 'ô' [INFO] [stdout] 371 - || c == 'ř' [INFO] [stdout] 372 - || c == 'è' [INFO] [stdout] 373 - || c == 'Â' [INFO] [stdout] 367 + !(c != 'β' && c != 'è' && c != 'ƒ' && c != 'ô' && c != 'ř' && c != 'Â') [INFO] [stdout] | [INFO] [stdout] 367 - c == 'β' [INFO] [stdout] 368 - || c == 'è' [INFO] [stdout] 369 - || c == 'ƒ' [INFO] [stdout] 370 - || c == 'ô' [INFO] [stdout] 371 - || c == 'ř' [INFO] [stdout] 372 - || c == 'è' [INFO] [stdout] 373 - || c == 'Â' [INFO] [stdout] 367 + c == 'β' || c == 'è' || c == 'ƒ' || c == 'ô' || c == 'ř' || c == 'Â' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/str.rs:367:7 [INFO] [stdout] | [INFO] [stdout] 367 | / c == 'β' [INFO] [stdout] 368 | | || c == 'è' [INFO] [stdout] 369 | | || c == 'ƒ' [INFO] [stdout] 370 | | || c == 'ô' [INFO] [stdout] 371 | | || c == 'ř' [INFO] [stdout] 372 | | || c == 'è' [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 367 - c == 'β' [INFO] [stdout] 368 - || c == 'è' [INFO] [stdout] 369 - || c == 'ƒ' [INFO] [stdout] 370 - || c == 'ô' [INFO] [stdout] 371 - || c == 'ř' [INFO] [stdout] 372 - || c == 'è' [INFO] [stdout] 367 + !(c != 'β' && c != 'è' && c != 'ƒ' && c != 'ô' && c != 'ř') [INFO] [stdout] | [INFO] [stdout] 367 - c == 'β' [INFO] [stdout] 368 - || c == 'è' [INFO] [stdout] 369 - || c == 'ƒ' [INFO] [stdout] 370 - || c == 'ô' [INFO] [stdout] 371 - || c == 'ř' [INFO] [stdout] 372 - || c == 'è' [INFO] [stdout] 367 + c == 'β' || c == 'è' || c == 'ƒ' || c == 'ô' || c == 'ř' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/str.rs:516:18 [INFO] [stdout] | [INFO] [stdout] 516 | assert_eq!(f(&a[..]), Ok((&a[6..], &a[..]))); [INFO] [stdout] | ^^^^^^ help: use the original value instead: `a` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/str.rs:516:40 [INFO] [stdout] | [INFO] [stdout] 516 | assert_eq!(f(&a[..]), Ok((&a[6..], &a[..]))); [INFO] [stdout] | ^^^^^^ help: use the original value instead: `a` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/str.rs:517:18 [INFO] [stdout] | [INFO] [stdout] 517 | assert_eq!(f(&b[..]), Ok((&b[4..], &b[..4]))); [INFO] [stdout] | ^^^^^^ help: use the original value instead: `b` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/number/complete.rs:1621:6 [INFO] [stdout] | [INFO] [stdout] 1621 | ) -> IResult< [INFO] [stdout] | ______^ [INFO] [stdout] 1622 | | T, [INFO] [stdout] 1623 | | ( [INFO] [stdout] 1624 | | bool, [INFO] [stdout] ... | [INFO] [stdout] 1629 | | E, [INFO] [stdout] 1630 | | > [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `format!` [INFO] [stdout] --> src/number/complete.rs:2155:20 [INFO] [stdout] | [INFO] [stdout] 2155 | let larger = format!("{}", test); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `test.to_string()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/number/streaming.rs:1718:6 [INFO] [stdout] | [INFO] [stdout] 1718 | ) -> IResult< [INFO] [stdout] | ______^ [INFO] [stdout] 1719 | | T, [INFO] [stdout] 1720 | | ( [INFO] [stdout] 1721 | | bool, [INFO] [stdout] ... | [INFO] [stdout] 1726 | | E, [INFO] [stdout] 1727 | | > [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:404:13 [INFO] [stdout] | [INFO] [stdout] 404 | fn by_ref(&mut self) -> ByRef [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 404 | fn by_ref(&mut self) -> ByRef<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.32s [INFO] running `Command { std: "docker" "inspect" "833fc2662ca11d4d661efbeae3fb536c49ef38e839d4848bc64e493b105cf11f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "833fc2662ca11d4d661efbeae3fb536c49ef38e839d4848bc64e493b105cf11f", kill_on_drop: false }` [INFO] [stdout] 833fc2662ca11d4d661efbeae3fb536c49ef38e839d4848bc64e493b105cf11f