[INFO] crate chomp 0.3.1 is already in cache [INFO] extracting crate chomp 0.3.1 into work/ex/clippy-test-run/sources/stable/reg/chomp/0.3.1 [INFO] extracting crate chomp 0.3.1 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/chomp/0.3.1 [INFO] validating manifest of chomp-0.3.1 on toolchain stable [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of chomp-0.3.1 on toolchain stable+rustflags=-Dclippy::into_iter_on_array [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing chomp-0.3.1 [INFO] finished frobbing chomp-0.3.1 [INFO] frobbed toml for chomp-0.3.1 written to work/ex/clippy-test-run/sources/stable/reg/chomp/0.3.1/Cargo.toml [INFO] started frobbing chomp-0.3.1 [INFO] finished frobbing chomp-0.3.1 [INFO] frobbed toml for chomp-0.3.1 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/chomp/0.3.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] warning: Package `debugtrace v0.1.0` does not have feature `backtrace`. It has a required dependency with that name, but only optional dependencies can be used as features. This is currently a warning to ease the transition, but it will become an error in the future. [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] warning: Package `debugtrace v0.1.0` does not have feature `backtrace`. It has a required dependency with that name, but only optional dependencies can be used as features. This is currently a warning to ease the transition, but it will become an error in the future. [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: Package `debugtrace v0.1.0` does not have feature `backtrace`. It has a required dependency with that name, but only optional dependencies can be used as features. This is currently a warning to ease the transition, but it will become an error in the future. [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: Package `debugtrace v0.1.0` does not have feature `backtrace`. It has a required dependency with that name, but only optional dependencies can be used as features. This is currently a warning to ease the transition, but it will become an error in the future. [INFO] linting chomp-0.3.1 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-1/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/chomp/0.3.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+stable" "clippy" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 63c1fcca576b4c6a71d8468433da1b14a711bfe5e94a4c297cbfd42032953942 [INFO] running `"docker" "start" "-a" "63c1fcca576b4c6a71d8468433da1b14a711bfe5e94a4c297cbfd42032953942"` [INFO] [stderr] Checking chomp v0.3.1 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/buffer/stateful.rs:72:13 [INFO] [stderr] | [INFO] [stderr] 72 | source: source, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: replace it with: `source` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/buffer/stateful.rs:73:13 [INFO] [stderr] | [INFO] [stderr] 73 | buffer: buffer, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: replace it with: `buffer` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/buffer/slice.rs:49:13 [INFO] [stderr] | [INFO] [stderr] 49 | slice: slice, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `slice` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/buffer/mod.rs:414:13 [INFO] [stderr] | [INFO] [stderr] 414 | limit: limit, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace it with: `limit` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/combinators/bounded.rs:170:25 [INFO] [stderr] | [INFO] [stderr] 170 | (b, Err(e)) => if min == 0 { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::many_single_char_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/combinators/bounded.rs:301:25 [INFO] [stderr] | [INFO] [stderr] 301 | (b, Err(e)) => if min == 0 { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/combinators/bounded.rs:616:25 [INFO] [stderr] | [INFO] [stderr] 616 | (b, Err(e)) => if n == 0 { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/combinators/mod.rs:66:16 [INFO] [stderr] | [INFO] [stderr] 66 | (b, Ok(d)) => b.ret(d), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/combinators/mod.rs:97:10 [INFO] [stderr] | [INFO] [stderr] 97 | (b, Ok(d)) => b.ret(d), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 6th binding whose name is just one char [INFO] [stderr] --> src/combinators/mod.rs:97:16 [INFO] [stderr] | [INFO] [stderr] 97 | (b, Ok(d)) => b.ret(d), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/combinators/mod.rs:98:10 [INFO] [stderr] | [INFO] [stderr] 98 | (b, Err(_)) => g(b.restore(m)), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/combinators/mod.rs:124:10 [INFO] [stderr] | [INFO] [stderr] 124 | (b, Ok(d)) => b.ret(Either::Left(d)), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 6th binding whose name is just one char [INFO] [stderr] --> src/combinators/mod.rs:124:16 [INFO] [stderr] | [INFO] [stderr] 124 | (b, Ok(d)) => b.ret(Either::Left(d)), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/combinators/mod.rs:125:10 [INFO] [stderr] | [INFO] [stderr] 125 | (b, Err(_)) => g(b.restore(m)).map(Either::Right), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/combinators/mod.rs:309:20 [INFO] [stderr] | [INFO] [stderr] 309 | (mut b, Ok(t)) => { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 6th binding whose name is just one char [INFO] [stderr] --> src/combinators/mod.rs:310:17 [INFO] [stderr] | [INFO] [stderr] 310 | let n = b.consume_from(m); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/combinators/mod.rs:314:17 [INFO] [stderr] | [INFO] [stderr] 314 | (b, Err(e)) => b.err(e), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/combinators/mod.rs:334:16 [INFO] [stderr] | [INFO] [stderr] 334 | (b, Ok(t)) => b.restore(m).ret(t), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/combinators/mod.rs:335:17 [INFO] [stderr] | [INFO] [stderr] 335 | (b, Err(t)) => b.restore(m).err(t), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/parsers.rs:329:18 [INFO] [stderr] | [INFO] [stderr] 329 | Some(v) => { state = v; true } [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/types/mod.rs:841:17 [INFO] [stderr] | [INFO] [stderr] 841 | let b = s.consume_while(|_| { n += 1; true }); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/types/mod.rs:906:17 [INFO] [stderr] | [INFO] [stderr] 906 | let b = s.consume_while(|c| { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/buffer/stateful.rs:72:13 [INFO] [stderr] | [INFO] [stderr] 72 | source: source, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: replace it with: `source` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/buffer/stateful.rs:73:13 [INFO] [stderr] | [INFO] [stderr] 73 | buffer: buffer, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: replace it with: `buffer` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/buffer/slice.rs:49:13 [INFO] [stderr] | [INFO] [stderr] 49 | slice: slice, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `slice` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/buffer/mod.rs:414:13 [INFO] [stderr] | [INFO] [stderr] 414 | limit: limit, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace it with: `limit` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/combinators/bounded.rs:170:25 [INFO] [stderr] | [INFO] [stderr] 170 | (b, Err(e)) => if min == 0 { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::many_single_char_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/combinators/bounded.rs:301:25 [INFO] [stderr] | [INFO] [stderr] 301 | (b, Err(e)) => if min == 0 { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/combinators/bounded.rs:616:25 [INFO] [stderr] | [INFO] [stderr] 616 | (b, Err(e)) => if n == 0 { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/combinators/mod.rs:66:16 [INFO] [stderr] | [INFO] [stderr] 66 | (b, Ok(d)) => b.ret(d), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/combinators/mod.rs:97:10 [INFO] [stderr] | [INFO] [stderr] 97 | (b, Ok(d)) => b.ret(d), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 6th binding whose name is just one char [INFO] [stderr] --> src/combinators/mod.rs:97:16 [INFO] [stderr] | [INFO] [stderr] 97 | (b, Ok(d)) => b.ret(d), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/combinators/mod.rs:98:10 [INFO] [stderr] | [INFO] [stderr] 98 | (b, Err(_)) => g(b.restore(m)), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/combinators/mod.rs:124:10 [INFO] [stderr] | [INFO] [stderr] 124 | (b, Ok(d)) => b.ret(Either::Left(d)), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 6th binding whose name is just one char [INFO] [stderr] --> src/combinators/mod.rs:124:16 [INFO] [stderr] | [INFO] [stderr] 124 | (b, Ok(d)) => b.ret(Either::Left(d)), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/combinators/mod.rs:125:10 [INFO] [stderr] | [INFO] [stderr] 125 | (b, Err(_)) => g(b.restore(m)).map(Either::Right), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/combinators/mod.rs:309:20 [INFO] [stderr] | [INFO] [stderr] 309 | (mut b, Ok(t)) => { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 6th binding whose name is just one char [INFO] [stderr] --> src/combinators/mod.rs:310:17 [INFO] [stderr] | [INFO] [stderr] 310 | let n = b.consume_from(m); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/combinators/mod.rs:314:17 [INFO] [stderr] | [INFO] [stderr] 314 | (b, Err(e)) => b.err(e), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/combinators/mod.rs:334:16 [INFO] [stderr] | [INFO] [stderr] 334 | (b, Ok(t)) => b.restore(m).ret(t), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/combinators/mod.rs:335:17 [INFO] [stderr] | [INFO] [stderr] 335 | (b, Err(t)) => b.restore(m).err(t), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/parsers.rs:329:18 [INFO] [stderr] | [INFO] [stderr] 329 | Some(v) => { state = v; true } [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/types/mod.rs:841:17 [INFO] [stderr] | [INFO] [stderr] 841 | let b = s.consume_while(|_| { n += 1; true }); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/types/mod.rs:906:17 [INFO] [stderr] | [INFO] [stderr] 906 | let b = s.consume_while(|c| { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/buffer/stateful.rs:84:13 [INFO] [stderr] | [INFO] [stderr] 84 | let mut buffer = &mut self.buffer; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `read` which has no body [INFO] [stderr] --> src/buffer/data_source.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 21 | | fn read(&mut self, &mut [Self::Item]) -> io::Result; [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::inline_fn_without_body)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `parse` which has no body [INFO] [stderr] --> src/buffer/mod.rs:91:5 [INFO] [stderr] | [INFO] [stderr] 91 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 92 | | fn parse(&'a mut self, f: F) -> Result::Buffer, E>> [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1258 | let r1 = parse!{i1; fail() <|> doit() }; [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_closure_call)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1258 | let r1 = parse!{i1; fail() <|> doit() }; [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1259 | let r2 = parse!{i2; doit() <|> fail() }; [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1259 | let r2 = parse!{i2; doit() <|> fail() }; [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1260 | let r3 = parse!{i3; doit() <|> doit() }; [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1260 | let r3 = parse!{i3; doit() <|> doit() }; [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1261 | let r4 = parse!{i4; fail() <|> fail() }; [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1261 | let r4 = parse!{i4; fail() <|> fail() }; [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1285 | let r1 = parse!{i; fail() <|> fail() <|> doit() }; [INFO] [stderr] | ---------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1285 | let r1 = parse!{i; fail() <|> fail() <|> doit() }; [INFO] [stderr] | ---------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1285 | let r1 = parse!{i; fail() <|> fail() <|> doit() }; [INFO] [stderr] | ---------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1285 | let r1 = parse!{i; fail() <|> fail() <|> doit() }; [INFO] [stderr] | ---------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1313 | let r1 = parse!{i1; fail() <|> doit(); next() }; [INFO] [stderr] | -------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1313 | let r1 = parse!{i1; fail() <|> doit(); next() }; [INFO] [stderr] | -------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1314 | let r2 = parse!{i2; doit() <|> fail(); next() }; [INFO] [stderr] | -------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1314 | let r2 = parse!{i2; doit() <|> fail(); next() }; [INFO] [stderr] | -------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1315 | let r3 = parse!{i3; fail() <|> fail(); next() }; [INFO] [stderr] | -------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1315 | let r3 = parse!{i3; fail() <|> fail(); next() }; [INFO] [stderr] | -------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `fill` which has no body [INFO] [stderr] --> src/buffer/mod.rs:238:5 [INFO] [stderr] | [INFO] [stderr] 238 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 239 | | fn fill>(&mut self, &mut S) -> io::Result; [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `request_space` which has no body [INFO] [stderr] --> src/buffer/mod.rs:242:5 [INFO] [stderr] | [INFO] [stderr] 242 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 243 | | fn request_space(&mut self, usize); [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `consume` which has no body [INFO] [stderr] --> src/buffer/mod.rs:248:5 [INFO] [stderr] | [INFO] [stderr] 248 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 249 | | fn consume(&self, items: usize); [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `len` which has no body [INFO] [stderr] --> src/buffer/mod.rs:252:5 [INFO] [stderr] | [INFO] [stderr] 252 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 253 | | fn len(&self) -> usize; [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `capacity` which has no body [INFO] [stderr] --> src/buffer/mod.rs:262:5 [INFO] [stderr] | [INFO] [stderr] 262 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 263 | | fn capacity(&self) -> usize; [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1420 | let r2 = parse!{i2; a() <* b() <|> c()}; [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1420 | let r2 = parse!{i2; a() <* b() <|> c()}; [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1421 | let r3 = parse!{i3; a() <|> b() <* c()}; [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1421 | let r3 = parse!{i3; a() <|> b() <* c()}; [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1422 | let r4 = parse!{i4; a() <|> b() <|> c()}; [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `buffer::FixedSizeBuffer` [INFO] [stderr] --> src/buffer/mod.rs:285:5 [INFO] [stderr] | [INFO] [stderr] 285 | / pub fn new() -> Self { [INFO] [stderr] 286 | | Self::with_size(DEFAULT_BUFFER_SIZE) [INFO] [stderr] 287 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default_derive)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1422 | let r4 = parse!{i4; a() <|> b() <|> c()}; [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 271 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1422 | let r4 = parse!{i4; a() <|> b() <|> c()}; [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1422 | let r4 = parse!{i4; a() <|> b() <|> c()}; [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1425 | let r6 = parse!{i6; (a() <* b()) <|> c()}; [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1425 | let r6 = parse!{i6; (a() <* b()) <|> c()}; [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1426 | let r7 = parse!{i7; (a() <|> b()) <* c_a()}; [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1426 | let r7 = parse!{i7; (a() <|> b()) <* c_a()}; [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1427 | let r8 = parse!{i_8; (a() <|> b()) <|> c()}; [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1427 | let r8 = parse!{i_8; (a() <|> b()) <|> c()}; [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1427 | let r8 = parse!{i_8; (a() <|> b()) <|> c()}; [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1427 | let r8 = parse!{i_8; (a() <|> b()) <|> c()}; [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1429 | let r10 = parse!{i10; a() <* (b() <|> c())}; [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1429 | let r10 = parse!{i10; a() <* (b() <|> c())}; [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1430 | let r11 = parse!{i11; a() <|> (b() <* c())}; [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1430 | let r11 = parse!{i11; a() <|> (b() <* c())}; [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1431 | let r12 = parse!{i12; a() <|> (b() <|> c())}; [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1431 | let r12 = parse!{i12; a() <|> (b() <|> c())}; [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1431 | let r12 = parse!{i12; a() <|> (b() <|> c())}; [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1431 | let r12 = parse!{i12; a() <|> (b() <|> c())}; [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/buffer/mod.rs:350:27 [INFO] [stderr] | [INFO] [stderr] 350 | ptr::copy(self.buffer.as_ptr().offset(self.used.get() as isize), self.buffer.as_mut_ptr(), self.populated - self.used.get()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.buffer.as_ptr().add(self.used.get())` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::ptr_offset_with_cast)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `buffer::GrowingBuffer` [INFO] [stderr] --> src/buffer/mod.rs:399:5 [INFO] [stderr] | [INFO] [stderr] 399 | / pub fn new() -> Self { [INFO] [stderr] 400 | | Self::with_limit(0) [INFO] [stderr] 401 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 383 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1485 | let r1 = parse!{i1; a() <|> b() <|> c()}; [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1485 | let r1 = parse!{i1; a() <|> b() <|> c()}; [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1485 | let r1 = parse!{i1; a() <|> b() <|> c()}; [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1485 | let r1 = parse!{i1; a() <|> b() <|> c()}; [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1486 | let r2 = parse!{i2; a() <|> b() >> c_a()}; [INFO] [stderr] | -------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1486 | let r2 = parse!{i2; a() <|> b() >> c_a()}; [INFO] [stderr] | -------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1487 | let r3 = parse!{i3; a() >> b() <|> c()}; [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1487 | let r3 = parse!{i3; a() >> b() <|> c()}; [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/buffer/mod.rs:474:27 [INFO] [stderr] | [INFO] [stderr] 474 | ptr::copy(self.buffer.as_ptr().offset(self.used.get() as isize), self.buffer.as_mut_ptr(), self.populated - self.used.get()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.buffer.as_ptr().add(self.used.get())` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1490 | let r5 = parse!{i5; (a() <|> b()) <|> c()}; [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1490 | let r5 = parse!{i5; (a() <|> b()) <|> c()}; [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1490 | let r5 = parse!{i5; (a() <|> b()) <|> c()}; [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1490 | let r5 = parse!{i5; (a() <|> b()) <|> c()}; [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1491 | let r6 = parse!{i6; (a() <|> b()) >> c_a()}; [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1491 | let r6 = parse!{i6; (a() <|> b()) >> c_a()}; [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1492 | let r7 = parse!{i7; (a() >> b()) <|> c()}; [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1492 | let r7 = parse!{i7; (a() >> b()) <|> c()}; [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1494 | let r9 = parse!{i9; a() <|> (b() <|> c())}; [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1494 | let r9 = parse!{i9; a() <|> (b() <|> c())}; [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1494 | let r9 = parse!{i9; a() <|> (b() <|> c())}; [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] error: use of `#[inline]` on trait method `parse_many` which has no body [INFO] [stderr] --> src/combinators/bounded.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 53 | | fn parse_many(self, I, F) -> ParseResult [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1494 | let r9 = parse!{i9; a() <|> (b() <|> c())}; [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1495 | let r10 = parse!{i10; a() <|> (b() >> c_a())}; [INFO] [stderr] error: use of `#[inline]` on trait method `skip_many` which has no body [INFO] [stderr] | ------------------------------------ in this macro invocation [INFO] [stderr] --> src/combinators/bounded.rs:72:5 [INFO] [stderr] | [INFO] [stderr] 72 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 73 | | fn skip_many(self, I, F) -> ParseResult [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `many_till` which has no body [INFO] [stderr] --> src/combinators/bounded.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 92 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 93 | | fn many_till(self, I, R, F) -> ParseResult [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1495 | let r10 = parse!{i10; a() <|> (b() >> c_a())}; [INFO] [stderr] | ------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1496 | let r11 = parse!{i11; a() >> (b() <|> c())}; [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1496 | let r11 = parse!{i11; a() >> (b() <|> c())}; [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1518 | let r: Data<_, ()> = parse!{i; [INFO] [stderr] | ______________________________- [INFO] [stderr] 1519 | | (input -> { [INFO] [stderr] 1520 | | assert_eq!(input, Input(123)); [INFO] [stderr] 1521 | | [INFO] [stderr] ... | [INFO] [stderr] 1527 | | }) [INFO] [stderr] 1528 | | }; [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1518 | let r: Data<_, ()> = parse!{i; [INFO] [stderr] | ______________________________- [INFO] [stderr] 1519 | | (input -> { [INFO] [stderr] 1520 | | assert_eq!(input, Input(123)); [INFO] [stderr] 1521 | | [INFO] [stderr] ... | [INFO] [stderr] 1527 | | }) [INFO] [stderr] 1528 | | }; [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1582 | let r = parse!{i; a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a()}; [INFO] [stderr] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1582 | let r = parse!{i; a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a()}; [INFO] [stderr] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1582 | let r = parse!{i; a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a()}; [INFO] [stderr] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1582 | let r = parse!{i; a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a()}; [INFO] [stderr] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1582 | let r = parse!{i; a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a()}; [INFO] [stderr] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1582 | let r = parse!{i; a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a()}; [INFO] [stderr] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1582 | let r = parse!{i; a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a()}; [INFO] [stderr] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1582 | let r = parse!{i; a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a()}; [INFO] [stderr] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1582 | let r = parse!{i; a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a()}; [INFO] [stderr] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1582 | let r = parse!{i; a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a()}; [INFO] [stderr] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1582 | let r = parse!{i; a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a()}; [INFO] [stderr] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1582 | let r = parse!{i; a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a()}; [INFO] [stderr] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1582 | let r = parse!{i; a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a()}; [INFO] [stderr] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1582 | let r = parse!{i; a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a()}; [INFO] [stderr] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:627:23 [INFO] [stderr] | [INFO] [stderr] 627 | match ($lhs)(Input(i)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1582 | let r = parse!{i; a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a()}; [INFO] [stderr] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: Try not to call a closure in the expression where it is declared. [INFO] [stderr] --> src/macros.rs:629:42 [INFO] [stderr] | [INFO] [stderr] 629 | Data::Error(_, _) => ($rhs)(Input(i)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1582 | let r = parse!{i; a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a() <|> a()}; [INFO] [stderr] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_call [INFO] [stderr] [INFO] [stderr] warning: replacing an `Option` with `None` [INFO] [stderr] --> src/parsers.rs:302:45 [INFO] [stderr] | [INFO] [stderr] 302 | let b = i.consume_while(|c| { state = f(mem::replace(&mut state, None).expect("scan: Failed to obtain state, consume_while most likely called closure after end"), c); state.is_some() }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider `Option::take()` instead: `state.take()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::mem_replace_option_with_none)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_option_with_none [INFO] [stderr] [INFO] [stderr] warning: you should consider adding a `Default` implementation for `parsers::error::Error` [INFO] [stderr] --> src/parsers.rs:514:9 [INFO] [stderr] | [INFO] [stderr] 514 | / pub fn new() -> Self { [INFO] [stderr] 515 | | create_error!(None) [INFO] [stderr] 516 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 509 | impl Default for parsers::error::Error { [INFO] [stderr] 510 | fn default() -> Self { [INFO] [stderr] 511 | Self::new() [INFO] [stderr] 512 | } [INFO] [stderr] 513 | } [INFO] [stderr] 514 | [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `into_inner` which has no body [INFO] [stderr] --> src/primitives.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | #[inline(always)] [INFO] [stderr] | _____-^^^^^^^^^^^^^^^^ [INFO] [stderr] 24 | | fn into_inner(self) -> Self::Inner; [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `_peek` which has no body [INFO] [stderr] --> src/types/mod.rs:212:5 [INFO] [stderr] | [INFO] [stderr] 212 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 213 | | #[doc(hidden)] [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `_pop` which has no body [INFO] [stderr] --> src/types/mod.rs:217:5 [INFO] [stderr] | [INFO] [stderr] 217 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 218 | | #[doc(hidden)] [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `_consume` which has no body [INFO] [stderr] --> src/types/mod.rs:222:5 [INFO] [stderr] | [INFO] [stderr] 222 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 223 | | #[doc(hidden)] [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `_consume_while` which has no body [INFO] [stderr] --> src/types/mod.rs:227:5 [INFO] [stderr] | [INFO] [stderr] 227 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 228 | | #[doc(hidden)] [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `_consume_from` which has no body [INFO] [stderr] --> src/types/mod.rs:233:5 [INFO] [stderr] | [INFO] [stderr] 233 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 234 | | #[doc(hidden)] [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `_consume_remaining` which has no body [INFO] [stderr] --> src/types/mod.rs:238:5 [INFO] [stderr] | [INFO] [stderr] 238 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 239 | | #[doc(hidden)] [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `_mark` which has no body [INFO] [stderr] --> src/types/mod.rs:251:5 [INFO] [stderr] | [INFO] [stderr] 251 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 252 | | #[doc(hidden)] [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `_restore` which has no body [INFO] [stderr] --> src/types/mod.rs:256:5 [INFO] [stderr] | [INFO] [stderr] 256 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 257 | | #[doc(hidden)] [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: aborting due to 19 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `chomp`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/buffer/stateful.rs:84:13 [INFO] [stderr] | [INFO] [stderr] 84 | let mut buffer = &mut self.buffer; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] warning: identical conversion [INFO] [stderr] --> src/macros.rs:665:57 [INFO] [stderr] | [INFO] [stderr] 665 | Data::Error(i, e) => Data::Error(i, From::from(e)), [INFO] [stderr] | ^^^^^^^^^^^^^ help: consider removing `From::from()`: `e` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::identity_conversion)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/macros.rs:468:139 [INFO] [stderr] | [INFO] [stderr] 468 | ( @BIND(($input:expr ; $name:pat) $($exp:tt)+) $($tail:tt)+ ) => { (__parse_internal!{@EXPR($input;) $($exp)* }).bind(|i, $name| __parse_internal!{i; $($tail)* }) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `$func` [INFO] [stderr] ... [INFO] [stderr] 992 | let r1: Data<_, ()> = parse!{i1; let x = something(6, 4); doit(x)}; [INFO] [stderr] | -------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_closure)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: redundant closure found [INFO] [stderr] --> src/macros.rs:468:139 [INFO] [stderr] | [INFO] [stderr] 468 | ( @BIND(($input:expr ; $name:pat) $($exp:tt)+) $($tail:tt)+ ) => { (__parse_internal!{@EXPR($input;) $($exp)* }).bind(|i, $name| __parse_internal!{i; $($tail)* }) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove closure as shown: `$func` [INFO] [stderr] ... [INFO] [stderr] 993 | let r2 = parse!{i2; let x = something(6, 4); doit(x)}; [INFO] [stderr] | -------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stderr] [INFO] [stderr] warning: called `cloned().collect()` on a slice to create a `Vec`. Calling `to_vec()` is both faster and more readable [INFO] [stderr] --> src/parse.rs:78:26 [INFO] [stderr] | [INFO] [stderr] 78 | input = Some(i.iter().cloned().collect()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::iter_cloned_collect)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#iter_cloned_collect [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 50 [INFO] [stderr] --> src/ascii.rs:190:5 [INFO] [stderr] | [INFO] [stderr] 190 | / fn test_to_decimal_u8() { [INFO] [stderr] 191 | | test_to_decimal!(u8, u16, u32, u64, i16, i32, i64); [INFO] [stderr] 192 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cyclomatic_complexity)] on by default [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 31 [INFO] [stderr] --> src/buffer/stateful.rs:307:5 [INFO] [stderr] | [INFO] [stderr] 307 | / fn fill() { [INFO] [stderr] 308 | | let mut n = 0; // Times it has entered the parsing function [INFO] [stderr] 309 | | let mut m = 0; // Times it has managed to get past the request for data [INFO] [stderr] 310 | | let mut b = buf(&b"test"[..], 1); [INFO] [stderr] ... | [INFO] [stderr] 341 | | assert_eq!(m, 4); [INFO] [stderr] 342 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `read` which has no body [INFO] [stderr] --> src/buffer/data_source.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 21 | | fn read(&mut self, &mut [Self::Item]) -> io::Result; [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::inline_fn_without_body)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `parse` which has no body [INFO] [stderr] --> src/buffer/mod.rs:91:5 [INFO] [stderr] | [INFO] [stderr] 91 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 92 | | fn parse(&'a mut self, f: F) -> Result::Buffer, E>> [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `fill` which has no body [INFO] [stderr] --> src/buffer/mod.rs:238:5 [INFO] [stderr] | [INFO] [stderr] 238 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 239 | | fn fill>(&mut self, &mut S) -> io::Result; [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `request_space` which has no body [INFO] [stderr] --> src/buffer/mod.rs:242:5 [INFO] [stderr] | [INFO] [stderr] 242 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 243 | | fn request_space(&mut self, usize); [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `consume` which has no body [INFO] [stderr] --> src/buffer/mod.rs:248:5 [INFO] [stderr] | [INFO] [stderr] 248 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 249 | | fn consume(&self, items: usize); [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `len` which has no body [INFO] [stderr] --> src/buffer/mod.rs:252:5 [INFO] [stderr] | [INFO] [stderr] 252 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 253 | | fn len(&self) -> usize; [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `capacity` which has no body [INFO] [stderr] --> src/buffer/mod.rs:262:5 [INFO] [stderr] | [INFO] [stderr] 262 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 263 | | fn capacity(&self) -> usize; [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `buffer::FixedSizeBuffer` [INFO] [stderr] --> src/buffer/mod.rs:285:5 [INFO] [stderr] | [INFO] [stderr] 285 | / pub fn new() -> Self { [INFO] [stderr] 286 | | Self::with_size(DEFAULT_BUFFER_SIZE) [INFO] [stderr] 287 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default_derive)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 271 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/buffer/mod.rs:350:27 [INFO] [stderr] | [INFO] [stderr] 350 | ptr::copy(self.buffer.as_ptr().offset(self.used.get() as isize), self.buffer.as_mut_ptr(), self.populated - self.used.get()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.buffer.as_ptr().add(self.used.get())` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::ptr_offset_with_cast)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `buffer::GrowingBuffer` [INFO] [stderr] --> src/buffer/mod.rs:399:5 [INFO] [stderr] | [INFO] [stderr] 399 | / pub fn new() -> Self { [INFO] [stderr] 400 | | Self::with_limit(0) [INFO] [stderr] 401 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 383 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/buffer/mod.rs:474:27 [INFO] [stderr] | [INFO] [stderr] 474 | ptr::copy(self.buffer.as_ptr().offset(self.used.get() as isize), self.buffer.as_mut_ptr(), self.populated - self.used.get()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.buffer.as_ptr().add(self.used.get())` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 82 [INFO] [stderr] --> src/buffer/mod.rs:533:5 [INFO] [stderr] | [INFO] [stderr] 533 | / fn test_input_buf() { [INFO] [stderr] 534 | | [INFO] [stderr] 535 | | run_primitives_test(InputBuf::new(b"abc"), |x| x); [INFO] [stderr] 536 | | [INFO] [stderr] ... | [INFO] [stderr] 643 | | assert_eq!(b.is_empty(), true); [INFO] [stderr] 644 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `parse_many` which has no body [INFO] [stderr] --> src/combinators/bounded.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 53 | | fn parse_many(self, I, F) -> ParseResult [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `skip_many` which has no body [INFO] [stderr] --> src/combinators/bounded.rs:72:5 [INFO] [stderr] | [INFO] [stderr] 72 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 73 | | fn skip_many(self, I, F) -> ParseResult [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `many_till` which has no body [INFO] [stderr] --> src/combinators/bounded.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 92 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 93 | | fn many_till(self, I, R, F) -> ParseResult [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 26 [INFO] [stderr] --> src/combinators/bounded.rs:974:5 [INFO] [stderr] | [INFO] [stderr] 974 | / fn many_till_exact() { [INFO] [stderr] 975 | | let r: ParseResult<_, Vec<_>, _> = many_till(&b""[..] , 0, |i| string(i, b"ab"), |i| string(i, b"ac")); assert_eq!(r.into_inner(), (&b""[..], Err(Error::expected(b'a'))) ); [INFO] [stderr] 976 | | let r: ParseResult<_, Vec<_>, _> = many_till(&b"a"[..] , 0, |i| string(i, b"ab"), |i| string(i, b"ac")); assert_eq!(r.into_inner(), (&b""[..], Err(Error::expected(b'c'))) ); [INFO] [stderr] 977 | | let r: ParseResult<_, Vec<_>, _> = many_till(&b"ac"[..] , 0, |i| string(i, b"ab"), |i| string(i, b"ac")); assert_eq!(r.into_inner(), (&b""[..], Ok(vec![])) ); [INFO] [stderr] ... | [INFO] [stderr] 1001 | | let r: ParseResult<_, Vec<_>, _> = many_till(&b"abababac"[..], 2, |i| string(i, b"ab"), |i| string(i, b"ac")); assert_eq!(r.into_inner(), (&b"bac"[..], Err(Error::expected(b'c'))) ); [INFO] [stderr] 1002 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] warning: replacing an `Option` with `None` [INFO] [stderr] --> src/parsers.rs:302:45 [INFO] [stderr] | [INFO] [stderr] 302 | let b = i.consume_while(|c| { state = f(mem::replace(&mut state, None).expect("scan: Failed to obtain state, consume_while most likely called closure after end"), c); state.is_some() }); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider `Option::take()` instead: `state.take()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::mem_replace_option_with_none)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_option_with_none [INFO] [stderr] [INFO] [stderr] warning: you should consider adding a `Default` implementation for `parsers::error::Error` [INFO] [stderr] --> src/parsers.rs:514:9 [INFO] [stderr] | [INFO] [stderr] 514 | / pub fn new() -> Self { [INFO] [stderr] 515 | | create_error!(None) [INFO] [stderr] 516 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 509 | impl Default for parsers::error::Error { [INFO] [stderr] 510 | fn default() -> Self { [INFO] [stderr] 511 | Self::new() [INFO] [stderr] 512 | } [INFO] [stderr] 513 | } [INFO] [stderr] 514 | [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `into_inner` which has no body [INFO] [stderr] --> src/primitives.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | #[inline(always)] [INFO] [stderr] | _____-^^^^^^^^^^^^^^^^ [INFO] [stderr] 24 | | fn into_inner(self) -> Self::Inner; [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `_peek` which has no body [INFO] [stderr] --> src/types/mod.rs:212:5 [INFO] [stderr] | [INFO] [stderr] 212 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 213 | | #[doc(hidden)] [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `_pop` which has no body [INFO] [stderr] --> src/types/mod.rs:217:5 [INFO] [stderr] | [INFO] [stderr] 217 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 218 | | #[doc(hidden)] [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `_consume` which has no body [INFO] [stderr] --> src/types/mod.rs:222:5 [INFO] [stderr] | [INFO] [stderr] 222 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 223 | | #[doc(hidden)] [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `_consume_while` which has no body [INFO] [stderr] --> src/types/mod.rs:227:5 [INFO] [stderr] | [INFO] [stderr] 227 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 228 | | #[doc(hidden)] [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `_consume_from` which has no body [INFO] [stderr] --> src/types/mod.rs:233:5 [INFO] [stderr] | [INFO] [stderr] 233 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 234 | | #[doc(hidden)] [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `_consume_remaining` which has no body [INFO] [stderr] --> src/types/mod.rs:238:5 [INFO] [stderr] | [INFO] [stderr] 238 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 239 | | #[doc(hidden)] [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `_mark` which has no body [INFO] [stderr] --> src/types/mod.rs:251:5 [INFO] [stderr] | [INFO] [stderr] 251 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 252 | | #[doc(hidden)] [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] error: use of `#[inline]` on trait method `_restore` which has no body [INFO] [stderr] --> src/types/mod.rs:256:5 [INFO] [stderr] | [INFO] [stderr] 256 | #[inline] [INFO] [stderr] | _____-^^^^^^^^ [INFO] [stderr] 257 | | #[doc(hidden)] [INFO] [stderr] | |____- help: remove [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body [INFO] [stderr] [INFO] [stderr] warning: casting u32 to u64 may become silently lossy if types change [INFO] [stderr] --> src/types/mod.rs:710:19 [INFO] [stderr] | [INFO] [stderr] 710 | i.ret((num + 1) as u64) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try: `u64::from(num + 1)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cast_lossless)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: passing a unit value to a function [INFO] [stderr] --> src/types/mod.rs:779:53 [INFO] [stderr] | [INFO] [stderr] 779 | let r = i.bind(|i, t| { n_calls += 1; i.ret(t) }); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unit_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg [INFO] [stderr] help: if you intended to pass a unit value, use a unit literal instead [INFO] [stderr] | [INFO] [stderr] 779 | let r = i.bind(|i, t| { n_calls += 1; i.ret(()) }); [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 34 [INFO] [stderr] --> src/types/mod.rs:807:5 [INFO] [stderr] | [INFO] [stderr] 807 | / pub fn run_primitives_test I::Token>(mut s: I, f: F) [INFO] [stderr] 808 | | where I::Token: Debug, [INFO] [stderr] 809 | | I::Buffer: Clone { [INFO] [stderr] 810 | | use primitives::Primitives; [INFO] [stderr] ... | [INFO] [stderr] 923 | | buffer_eq_slice(s.consume_from(m), &b"abc"[..], &f); [INFO] [stderr] 924 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] error: aborting due to 19 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `chomp`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "63c1fcca576b4c6a71d8468433da1b14a711bfe5e94a4c297cbfd42032953942"` [INFO] running `"docker" "rm" "-f" "63c1fcca576b4c6a71d8468433da1b14a711bfe5e94a4c297cbfd42032953942"` [INFO] [stdout] 63c1fcca576b4c6a71d8468433da1b14a711bfe5e94a4c297cbfd42032953942