[INFO] fetching crate nom_input_aux 0.1.1... [INFO] linting nom_input_aux-0.1.1 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate nom_input_aux 0.1.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate nom_input_aux 0.1.1 [INFO] finished tweaking crates.io crate nom_input_aux 0.1.1 [INFO] tweaked toml for crates.io crate nom_input_aux 0.1.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nom_input_aux 0.1.1 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 nom_input_aux 0.1.1 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] ffcb7859b43513b0adefb9db11dee511ee818ad9b4db60680aa140d89f8576ce [INFO] running `Command { std: "docker" "start" "-a" "ffcb7859b43513b0adefb9db11dee511ee818ad9b4db60680aa140d89f8576ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffcb7859b43513b0adefb9db11dee511ee818ad9b4db60680aa140d89f8576ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffcb7859b43513b0adefb9db11dee511ee818ad9b4db60680aa140d89f8576ce", kill_on_drop: false }` [INFO] [stdout] ffcb7859b43513b0adefb9db11dee511ee818ad9b4db60680aa140d89f8576ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b567ee32ecad03b622412c1a8c613d102821a8a0f9598f907b8db4ba105b6562 [INFO] running `Command { std: "docker" "start" "-a" "b567ee32ecad03b622412c1a8c613d102821a8a0f9598f907b8db4ba105b6562", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking minimal-lexical v0.1.4 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Checking nom_input_aux v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `alloc` [INFO] [stdout] --> src/lib.rs:283:8 [INFO] [stdout] | [INFO] [stdout] 283 | #[cfg(feature = "alloc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `alloc` 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 value: `alloc` [INFO] [stdout] --> src/lib.rs:784:8 [INFO] [stdout] | [INFO] [stdout] 784 | #[cfg(feature = "alloc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `alloc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `alloc` [INFO] [stdout] --> src/lib.rs:806:8 [INFO] [stdout] | [INFO] [stdout] 806 | #[cfg(feature = "alloc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `alloc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> src/lib.rs:173:3 [INFO] [stdout] | [INFO] [stdout] 172 | let r = r.map_err(|e| e.map(|i| E::from_error_kind(self.wrap_with(i.0), i.1))); [INFO] [stdout] | ------------------------------------------------------------------------------- unnecessary `let` binding [INFO] [stdout] 173 | r [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] = note: `#[warn(clippy::let_and_return)]` on by default [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 172 ~ [INFO] [stdout] 173 ~ r.map_err(|e| e.map(|i| E::from_error_kind(self.wrap_with(i.0), i.1))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> src/lib.rs:180:3 [INFO] [stdout] | [INFO] [stdout] 179 | let r = r.map_err(|e| { let ee = e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }); ee }); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------ unnecessary `let` binding [INFO] [stdout] 180 | r [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 179 ~ [INFO] [stdout] 180 ~ r.map_err(|e| { let ee = e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }); ee }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> src/lib.rs:179:111 [INFO] [stdout] | [INFO] [stdout] 179 | let r = r.map_err(|e| { let ee = e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }); ee }); [INFO] [stdout] | ----------------------------------------------------------------------------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | unnecessary `let` binding [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 179 - let r = r.map_err(|e| { let ee = e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }); ee }); [INFO] [stdout] 179 + let r = r.map_err(|e| { e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> src/lib.rs:187:3 [INFO] [stdout] | [INFO] [stdout] 186 | let r = r.map_err(|e| { let ee = e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }); ee }); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------ unnecessary `let` binding [INFO] [stdout] 187 | r [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 186 ~ [INFO] [stdout] 187 ~ r.map_err(|e| { let ee = e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }); ee }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> src/lib.rs:186:111 [INFO] [stdout] | [INFO] [stdout] 186 | let r = r.map_err(|e| { let ee = e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }); ee }); [INFO] [stdout] | ----------------------------------------------------------------------------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | unnecessary `let` binding [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 186 - let r = r.map_err(|e| { let ee = e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }); ee }); [INFO] [stdout] 186 + let r = r.map_err(|e| { e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> src/lib.rs:198:3 [INFO] [stdout] | [INFO] [stdout] 197 | let r = r.map_err(|e| { let ee = e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }); ee }); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------ unnecessary `let` binding [INFO] [stdout] 198 | r [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 197 ~ [INFO] [stdout] 198 ~ r.map_err(|e| { let ee = e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }); ee }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> src/lib.rs:197:111 [INFO] [stdout] | [INFO] [stdout] 197 | let r = r.map_err(|e| { let ee = e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }); ee }); [INFO] [stdout] | ----------------------------------------------------------------------------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | unnecessary `let` binding [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 197 - let r = r.map_err(|e| { let ee = e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }); ee }); [INFO] [stdout] 197 + let r = r.map_err(|e| { e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> src/lib.rs:173:3 [INFO] [stdout] | [INFO] [stdout] 172 | let r = r.map_err(|e| e.map(|i| E::from_error_kind(self.wrap_with(i.0), i.1))); [INFO] [stdout] | ------------------------------------------------------------------------------- unnecessary `let` binding [INFO] [stdout] 173 | r [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] = note: `#[warn(clippy::let_and_return)]` on by default [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 172 ~ [INFO] [stdout] 173 ~ r.map_err(|e| e.map(|i| E::from_error_kind(self.wrap_with(i.0), i.1))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> src/lib.rs:180:3 [INFO] [stdout] | [INFO] [stdout] 179 | let r = r.map_err(|e| { let ee = e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }); ee }); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------ unnecessary `let` binding [INFO] [stdout] 180 | r [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 179 ~ [INFO] [stdout] 180 ~ r.map_err(|e| { let ee = e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }); ee }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> src/lib.rs:179:111 [INFO] [stdout] | [INFO] [stdout] 179 | let r = r.map_err(|e| { let ee = e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }); ee }); [INFO] [stdout] | ----------------------------------------------------------------------------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | unnecessary `let` binding [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 179 - let r = r.map_err(|e| { let ee = e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }); ee }); [INFO] [stdout] 179 + let r = r.map_err(|e| { e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> src/lib.rs:187:3 [INFO] [stdout] | [INFO] [stdout] 186 | let r = r.map_err(|e| { let ee = e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }); ee }); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------ unnecessary `let` binding [INFO] [stdout] 187 | r [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 186 ~ [INFO] [stdout] 187 ~ r.map_err(|e| { let ee = e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }); ee }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> src/lib.rs:186:111 [INFO] [stdout] | [INFO] [stdout] 186 | let r = r.map_err(|e| { let ee = e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }); ee }); [INFO] [stdout] | ----------------------------------------------------------------------------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | unnecessary `let` binding [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 186 - let r = r.map_err(|e| { let ee = e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }); ee }); [INFO] [stdout] 186 + let r = r.map_err(|e| { e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> src/lib.rs:198:3 [INFO] [stdout] | [INFO] [stdout] 197 | let r = r.map_err(|e| { let ee = e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }); ee }); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------ unnecessary `let` binding [INFO] [stdout] 198 | r [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 197 ~ [INFO] [stdout] 198 ~ r.map_err(|e| { let ee = e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }); ee }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> src/lib.rs:197:111 [INFO] [stdout] | [INFO] [stdout] 197 | let r = r.map_err(|e| { let ee = e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }); ee }); [INFO] [stdout] | ----------------------------------------------------------------------------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | unnecessary `let` binding [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 197 - let r = r.map_err(|e| { let ee = e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }); ee }); [INFO] [stdout] 197 + let r = r.map_err(|e| { e.map(|i| { let o: E = E::from_error_kind(self.wrap_with(i.0), i.1); o }) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/lib.rs:451:16 [INFO] [stdout] | [INFO] [stdout] 451 | assert_eq!(f((&a[..]).into()), 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] = note: `#[warn(clippy::redundant_slicing)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/lib.rs:452:16 [INFO] [stdout] | [INFO] [stdout] 452 | assert_eq!(f((&b[..]).into()), 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/lib.rs:453:16 [INFO] [stdout] | [INFO] [stdout] 453 | assert_eq!(f((&c[..]).into()), Ok(((&d[..]).into(), (&b[..]).into()))); [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/lib.rs:453:38 [INFO] [stdout] | [INFO] [stdout] 453 | assert_eq!(f((&c[..]).into()), Ok(((&d[..]).into(), (&b[..]).into()))); [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/lib.rs:453:55 [INFO] [stdout] | [INFO] [stdout] 453 | assert_eq!(f((&c[..]).into()), Ok(((&d[..]).into(), (&b[..]).into()))); [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/lib.rs:454:16 [INFO] [stdout] | [INFO] [stdout] 454 | assert_eq!(f((&d[..]).into()), Ok(((&d[..]).into(), (&a[..]).into()))); [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/lib.rs:454:38 [INFO] [stdout] | [INFO] [stdout] 454 | assert_eq!(f((&d[..]).into()), Ok(((&d[..]).into(), (&a[..]).into()))); [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/lib.rs:454:55 [INFO] [stdout] | [INFO] [stdout] 454 | assert_eq!(f((&d[..]).into()), Ok(((&d[..]).into(), (&a[..]).into()))); [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/lib.rs:469:16 [INFO] [stdout] | [INFO] [stdout] 469 | assert_eq!(f((&a[..]).into()), 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/lib.rs:470:16 [INFO] [stdout] | [INFO] [stdout] 470 | assert_eq!(f((&b[..]).into()), 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/lib.rs:471:16 [INFO] [stdout] | [INFO] [stdout] 471 | assert_eq!(f((&c[..]).into()), Ok(((&"123"[..]).into(), (&b[..]).into()))); [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/lib.rs:471:38 [INFO] [stdout] | [INFO] [stdout] 471 | assert_eq!(f((&c[..]).into()), Ok(((&"123"[..]).into(), (&b[..]).into()))); [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/lib.rs:471:59 [INFO] [stdout] | [INFO] [stdout] 471 | assert_eq!(f((&c[..]).into()), Ok(((&"123"[..]).into(), (&b[..]).into()))); [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/lib.rs:473:6 [INFO] [stdout] | [INFO] [stdout] 473 | f((&d[..]).into()), [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/lib.rs:474:40 [INFO] [stdout] | [INFO] [stdout] 474 | Err(Err::Error(nom::error_position!((&d[..]).into(), ErrorKind::TakeWhile1))) [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/lib.rs:585:4 [INFO] [stdout] | [INFO] [stdout] 585 | / c == 'β' [INFO] [stdout] 586 | | || c == 'è' [INFO] [stdout] 587 | | || c == 'ƒ' [INFO] [stdout] 588 | | || c == 'ô' [INFO] [stdout] ... | [INFO] [stdout] 591 | | || c == 'Â' [INFO] [stdout] 592 | | || 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] 585 - c == 'β' [INFO] [stdout] 586 - || c == 'è' [INFO] [stdout] 587 - || c == 'ƒ' [INFO] [stdout] 588 - || c == 'ô' [INFO] [stdout] 589 - || c == 'ř' [INFO] [stdout] 590 - || c == 'è' [INFO] [stdout] 591 - || c == 'Â' [INFO] [stdout] 592 - || c == 'ß' [INFO] [stdout] 585 + !(c != 'β' && c != 'è' && c != 'ƒ' && c != 'ô' && c != 'ř' && c != 'Â' && c != 'ß') [INFO] [stdout] | [INFO] [stdout] 585 - c == 'β' [INFO] [stdout] 586 - || c == 'è' [INFO] [stdout] 587 - || c == 'ƒ' [INFO] [stdout] 588 - || c == 'ô' [INFO] [stdout] 589 - || c == 'ř' [INFO] [stdout] 590 - || c == 'è' [INFO] [stdout] 591 - || c == 'Â' [INFO] [stdout] 592 - || c == 'ß' [INFO] [stdout] 585 + 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/lib.rs:585:4 [INFO] [stdout] | [INFO] [stdout] 585 | / c == 'β' [INFO] [stdout] 586 | | || c == 'è' [INFO] [stdout] 587 | | || c == 'ƒ' [INFO] [stdout] 588 | | || c == 'ô' [INFO] [stdout] 589 | | || c == 'ř' [INFO] [stdout] 590 | | || c == 'è' [INFO] [stdout] 591 | | || 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] 585 - c == 'β' [INFO] [stdout] 586 - || c == 'è' [INFO] [stdout] 587 - || c == 'ƒ' [INFO] [stdout] 588 - || c == 'ô' [INFO] [stdout] 589 - || c == 'ř' [INFO] [stdout] 590 - || c == 'è' [INFO] [stdout] 591 - || c == 'Â' [INFO] [stdout] 585 + !(c != 'β' && c != 'è' && c != 'ƒ' && c != 'ô' && c != 'ř' && c != 'Â') [INFO] [stdout] | [INFO] [stdout] 585 - c == 'β' [INFO] [stdout] 586 - || c == 'è' [INFO] [stdout] 587 - || c == 'ƒ' [INFO] [stdout] 588 - || c == 'ô' [INFO] [stdout] 589 - || c == 'ř' [INFO] [stdout] 590 - || c == 'è' [INFO] [stdout] 591 - || c == 'Â' [INFO] [stdout] 585 + c == 'β' || c == 'è' || c == 'ƒ' || c == 'ô' || c == 'ř' || c == 'Â' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lib.rs:585:4 [INFO] [stdout] | [INFO] [stdout] 585 | / c == 'β' [INFO] [stdout] 586 | | || c == 'è' [INFO] [stdout] 587 | | || c == 'ƒ' [INFO] [stdout] 588 | | || c == 'ô' [INFO] [stdout] 589 | | || c == 'ř' [INFO] [stdout] 590 | | || 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] 585 - c == 'β' [INFO] [stdout] 586 - || c == 'è' [INFO] [stdout] 587 - || c == 'ƒ' [INFO] [stdout] 588 - || c == 'ô' [INFO] [stdout] 589 - || c == 'ř' [INFO] [stdout] 590 - || c == 'è' [INFO] [stdout] 585 + !(c != 'β' && c != 'è' && c != 'ƒ' && c != 'ô' && c != 'ř') [INFO] [stdout] | [INFO] [stdout] 585 - c == 'β' [INFO] [stdout] 586 - || c == 'è' [INFO] [stdout] 587 - || c == 'ƒ' [INFO] [stdout] 588 - || c == 'ô' [INFO] [stdout] 589 - || c == 'ř' [INFO] [stdout] 590 - || c == 'è' [INFO] [stdout] 585 + c == 'β' || c == 'è' || c == 'ƒ' || c == 'ô' || c == 'ř' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lib.rs:644:4 [INFO] [stdout] | [INFO] [stdout] 644 | / c == 'β' [INFO] [stdout] 645 | | || c == 'è' [INFO] [stdout] 646 | | || c == 'ƒ' [INFO] [stdout] 647 | | || c == 'ô' [INFO] [stdout] ... | [INFO] [stdout] 650 | | || c == 'Â' [INFO] [stdout] 651 | | || 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] 644 - c == 'β' [INFO] [stdout] 645 - || c == 'è' [INFO] [stdout] 646 - || c == 'ƒ' [INFO] [stdout] 647 - || c == 'ô' [INFO] [stdout] 648 - || c == 'ř' [INFO] [stdout] 649 - || c == 'è' [INFO] [stdout] 650 - || c == 'Â' [INFO] [stdout] 651 - || c == 'ß' [INFO] [stdout] 644 + !(c != 'β' && c != 'è' && c != 'ƒ' && c != 'ô' && c != 'ř' && c != 'Â' && c != 'ß') [INFO] [stdout] | [INFO] [stdout] 644 - c == 'β' [INFO] [stdout] 645 - || c == 'è' [INFO] [stdout] 646 - || c == 'ƒ' [INFO] [stdout] 647 - || c == 'ô' [INFO] [stdout] 648 - || c == 'ř' [INFO] [stdout] 649 - || c == 'è' [INFO] [stdout] 650 - || c == 'Â' [INFO] [stdout] 651 - || c == 'ß' [INFO] [stdout] 644 + 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/lib.rs:644:4 [INFO] [stdout] | [INFO] [stdout] 644 | / c == 'β' [INFO] [stdout] 645 | | || c == 'è' [INFO] [stdout] 646 | | || c == 'ƒ' [INFO] [stdout] 647 | | || c == 'ô' [INFO] [stdout] 648 | | || c == 'ř' [INFO] [stdout] 649 | | || c == 'è' [INFO] [stdout] 650 | | || 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] 644 - c == 'β' [INFO] [stdout] 645 - || c == 'è' [INFO] [stdout] 646 - || c == 'ƒ' [INFO] [stdout] 647 - || c == 'ô' [INFO] [stdout] 648 - || c == 'ř' [INFO] [stdout] 649 - || c == 'è' [INFO] [stdout] 650 - || c == 'Â' [INFO] [stdout] 644 + !(c != 'β' && c != 'è' && c != 'ƒ' && c != 'ô' && c != 'ř' && c != 'Â') [INFO] [stdout] | [INFO] [stdout] 644 - c == 'β' [INFO] [stdout] 645 - || c == 'è' [INFO] [stdout] 646 - || c == 'ƒ' [INFO] [stdout] 647 - || c == 'ô' [INFO] [stdout] 648 - || c == 'ř' [INFO] [stdout] 649 - || c == 'è' [INFO] [stdout] 650 - || c == 'Â' [INFO] [stdout] 644 + c == 'β' || c == 'è' || c == 'ƒ' || c == 'ô' || c == 'ř' || c == 'Â' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lib.rs:644:4 [INFO] [stdout] | [INFO] [stdout] 644 | / c == 'β' [INFO] [stdout] 645 | | || c == 'è' [INFO] [stdout] 646 | | || c == 'ƒ' [INFO] [stdout] 647 | | || c == 'ô' [INFO] [stdout] 648 | | || c == 'ř' [INFO] [stdout] 649 | | || 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] 644 - c == 'β' [INFO] [stdout] 645 - || c == 'è' [INFO] [stdout] 646 - || c == 'ƒ' [INFO] [stdout] 647 - || c == 'ô' [INFO] [stdout] 648 - || c == 'ř' [INFO] [stdout] 649 - || c == 'è' [INFO] [stdout] 644 + !(c != 'β' && c != 'è' && c != 'ƒ' && c != 'ô' && c != 'ř') [INFO] [stdout] | [INFO] [stdout] 644 - c == 'β' [INFO] [stdout] 645 - || c == 'è' [INFO] [stdout] 646 - || c == 'ƒ' [INFO] [stdout] 647 - || c == 'ô' [INFO] [stdout] 648 - || c == 'ř' [INFO] [stdout] 649 - || c == 'è' [INFO] [stdout] 644 + c == 'β' || c == 'è' || c == 'ƒ' || c == 'ô' || c == 'ř' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> examples/tracing_json.rs:70:6 [INFO] [stdout] | [INFO] [stdout] 70 | ) -> IResult, (InputAux, JsonValue), E> { [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.38s [INFO] running `Command { std: "docker" "inspect" "b567ee32ecad03b622412c1a8c613d102821a8a0f9598f907b8db4ba105b6562", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b567ee32ecad03b622412c1a8c613d102821a8a0f9598f907b8db4ba105b6562", kill_on_drop: false }` [INFO] [stdout] b567ee32ecad03b622412c1a8c613d102821a8a0f9598f907b8db4ba105b6562