[INFO] updating cached repository p32blo/pl-vm [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/p32blo/pl-vm [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/p32blo/pl-vm" "work/ex/clippy-test-run/sources/stable/gh/p32blo/pl-vm"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/p32blo/pl-vm'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/p32blo/pl-vm" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/p32blo/pl-vm"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/p32blo/pl-vm'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 2c9b4543f64761035fa935ecfc93fc7f68f7cb6e [INFO] sha for GitHub repo p32blo/pl-vm: 2c9b4543f64761035fa935ecfc93fc7f68f7cb6e [INFO] validating manifest of p32blo/pl-vm 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 p32blo/pl-vm 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 p32blo/pl-vm [INFO] finished frobbing p32blo/pl-vm [INFO] frobbed toml for p32blo/pl-vm written to work/ex/clippy-test-run/sources/stable/gh/p32blo/pl-vm/Cargo.toml [INFO] started frobbing p32blo/pl-vm [INFO] finished frobbing p32blo/pl-vm [INFO] frobbed toml for p32blo/pl-vm written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/p32blo/pl-vm/Cargo.toml [INFO] crate p32blo/pl-vm has a lockfile. skipping [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting p32blo/pl-vm against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-6/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/p32blo/pl-vm:/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] 7f458f2f2a3f250592526f3826b946909aa135f307593a7fa43fdc9ec3dead28 [INFO] running `"docker" "start" "-a" "7f458f2f2a3f250592526f3826b946909aa135f307593a7fa43fdc9ec3dead28"` [INFO] [stderr] Checking error-chain v0.7.2 [INFO] [stderr] Checking atty v0.2.8 [INFO] [stderr] Checking clap v2.31.1 [INFO] [stderr] Checking pl-vm v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unneeded unit return type [INFO] [stderr] --> src/vm.rs:494:24 [INFO] [stderr] | [INFO] [stderr] 494 | fn read(&mut self) -> () { [INFO] [stderr] | ^^^^^ help: remove the `-> ()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unused_unit)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stderr] [INFO] [stderr] warning: unneeded unit return type [INFO] [stderr] --> src/vm.rs:494:24 [INFO] [stderr] | [INFO] [stderr] 494 | fn read(&mut self) -> () { [INFO] [stderr] | ^^^^^ help: remove the `-> ()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unused_unit)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stderr] [INFO] [stderr] warning: module has the same name as its containing module [INFO] [stderr] --> src/parser.rs:286:1 [INFO] [stderr] | [INFO] [stderr] 286 | / mod parser { [INFO] [stderr] 287 | | use super::parser_impl::parse; [INFO] [stderr] 288 | | use instructions::Instruction as ins; [INFO] [stderr] 289 | | use std::collections::HashMap; [INFO] [stderr] ... | [INFO] [stderr] 386 | | test!(sep_arg_i_sp_neg, "pushi -2", [ins::Pushi(-2)]); [INFO] [stderr] 387 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::module_inception)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception [INFO] [stderr] [INFO] [stderr] warning: passing a unit value to a function [INFO] [stderr] --> src/vm.rs:514:27 [INFO] [stderr] | [INFO] [stderr] 514 | Ok(val) => Ok(self.pushi(val)), [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] 514 | Ok(val) => Ok(()), [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: unused logical operation that must be used [INFO] [stderr] --> src/parser.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / impl_rdp! { [INFO] [stderr] 29 | | grammar! { [INFO] [stderr] 30 | | // Lexical Rules [INFO] [stderr] 31 | | digit = _{ ['0'..'9'] } [INFO] [stderr] ... | [INFO] [stderr] 249 | | } [INFO] [stderr] 250 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_must_use)] on by default [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: boolean short circuit operator in statement may be clearer using an explicit test [INFO] [stderr] --> src/parser.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / impl_rdp! { [INFO] [stderr] 29 | | grammar! { [INFO] [stderr] 30 | | // Lexical Rules [INFO] [stderr] 31 | | digit = _{ ['0'..'9'] } [INFO] [stderr] ... | [INFO] [stderr] 249 | | } [INFO] [stderr] 250 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::short_circuit_statement)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#short_circuit_statement [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: in an 'if' condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a 'let' [INFO] [stderr] --> src/parser.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / impl_rdp! { [INFO] [stderr] 29 | | grammar! { [INFO] [stderr] 30 | | // Lexical Rules [INFO] [stderr] 31 | | digit = _{ ['0'..'9'] } [INFO] [stderr] ... | [INFO] [stderr] 249 | | } [INFO] [stderr] 250 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::block_in_if_condition_stmt)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#block_in_if_condition_stmt [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: in an 'if' condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a 'let' [INFO] [stderr] --> src/parser.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / impl_rdp! { [INFO] [stderr] 29 | | grammar! { [INFO] [stderr] 30 | | // Lexical Rules [INFO] [stderr] 31 | | digit = _{ ['0'..'9'] } [INFO] [stderr] ... | [INFO] [stderr] 249 | | } [INFO] [stderr] 250 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#block_in_if_condition_stmt [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: in an 'if' condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a 'let' [INFO] [stderr] --> src/parser.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / impl_rdp! { [INFO] [stderr] 29 | | grammar! { [INFO] [stderr] 30 | | // Lexical Rules [INFO] [stderr] 31 | | digit = _{ ['0'..'9'] } [INFO] [stderr] ... | [INFO] [stderr] 249 | | } [INFO] [stderr] 250 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#block_in_if_condition_stmt [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: in an 'if' condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a 'let' [INFO] [stderr] --> src/parser.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / impl_rdp! { [INFO] [stderr] 29 | | grammar! { [INFO] [stderr] 30 | | // Lexical Rules [INFO] [stderr] 31 | | digit = _{ ['0'..'9'] } [INFO] [stderr] ... | [INFO] [stderr] 249 | | } [INFO] [stderr] 250 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#block_in_if_condition_stmt [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: in an 'if' condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a 'let' [INFO] [stderr] --> src/parser.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / impl_rdp! { [INFO] [stderr] 29 | | grammar! { [INFO] [stderr] 30 | | // Lexical Rules [INFO] [stderr] 31 | | digit = _{ ['0'..'9'] } [INFO] [stderr] ... | [INFO] [stderr] 249 | | } [INFO] [stderr] 250 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#block_in_if_condition_stmt [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: in an 'if' condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a 'let' [INFO] [stderr] --> src/parser.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / impl_rdp! { [INFO] [stderr] 29 | | grammar! { [INFO] [stderr] 30 | | // Lexical Rules [INFO] [stderr] 31 | | digit = _{ ['0'..'9'] } [INFO] [stderr] ... | [INFO] [stderr] 249 | | } [INFO] [stderr] 250 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#block_in_if_condition_stmt [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: in an 'if' condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a 'let' [INFO] [stderr] --> src/parser.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / impl_rdp! { [INFO] [stderr] 29 | | grammar! { [INFO] [stderr] 30 | | // Lexical Rules [INFO] [stderr] 31 | | digit = _{ ['0'..'9'] } [INFO] [stderr] ... | [INFO] [stderr] 249 | | } [INFO] [stderr] 250 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#block_in_if_condition_stmt [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: in an 'if' condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a 'let' [INFO] [stderr] --> src/parser.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / impl_rdp! { [INFO] [stderr] 29 | | grammar! { [INFO] [stderr] 30 | | // Lexical Rules [INFO] [stderr] 31 | | digit = _{ ['0'..'9'] } [INFO] [stderr] ... | [INFO] [stderr] 249 | | } [INFO] [stderr] 250 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#block_in_if_condition_stmt [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: in an 'if' condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a 'let' [INFO] [stderr] --> src/parser.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / impl_rdp! { [INFO] [stderr] 29 | | grammar! { [INFO] [stderr] 30 | | // Lexical Rules [INFO] [stderr] 31 | | digit = _{ ['0'..'9'] } [INFO] [stderr] ... | [INFO] [stderr] 249 | | } [INFO] [stderr] 250 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#block_in_if_condition_stmt [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: in an 'if' condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a 'let' [INFO] [stderr] --> src/parser.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / impl_rdp! { [INFO] [stderr] 29 | | grammar! { [INFO] [stderr] 30 | | // Lexical Rules [INFO] [stderr] 31 | | digit = _{ ['0'..'9'] } [INFO] [stderr] ... | [INFO] [stderr] 249 | | } [INFO] [stderr] 250 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#block_in_if_condition_stmt [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: passing a unit value to a function [INFO] [stderr] --> src/vm.rs:514:27 [INFO] [stderr] | [INFO] [stderr] 514 | Ok(val) => Ok(self.pushi(val)), [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] 514 | Ok(val) => Ok(()), [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: unused logical operation that must be used [INFO] [stderr] --> src/parser.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / impl_rdp! { [INFO] [stderr] 29 | | grammar! { [INFO] [stderr] 30 | | // Lexical Rules [INFO] [stderr] 31 | | digit = _{ ['0'..'9'] } [INFO] [stderr] ... | [INFO] [stderr] 249 | | } [INFO] [stderr] 250 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_must_use)] on by default [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: boolean short circuit operator in statement may be clearer using an explicit test [INFO] [stderr] --> src/parser.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / impl_rdp! { [INFO] [stderr] 29 | | grammar! { [INFO] [stderr] 30 | | // Lexical Rules [INFO] [stderr] 31 | | digit = _{ ['0'..'9'] } [INFO] [stderr] ... | [INFO] [stderr] 249 | | } [INFO] [stderr] 250 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::short_circuit_statement)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#short_circuit_statement [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: in an 'if' condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a 'let' [INFO] [stderr] --> src/parser.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / impl_rdp! { [INFO] [stderr] 29 | | grammar! { [INFO] [stderr] 30 | | // Lexical Rules [INFO] [stderr] 31 | | digit = _{ ['0'..'9'] } [INFO] [stderr] ... | [INFO] [stderr] 249 | | } [INFO] [stderr] 250 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::block_in_if_condition_stmt)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#block_in_if_condition_stmt [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: in an 'if' condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a 'let' [INFO] [stderr] --> src/parser.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / impl_rdp! { [INFO] [stderr] 29 | | grammar! { [INFO] [stderr] 30 | | // Lexical Rules [INFO] [stderr] 31 | | digit = _{ ['0'..'9'] } [INFO] [stderr] ... | [INFO] [stderr] 249 | | } [INFO] [stderr] 250 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#block_in_if_condition_stmt [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: in an 'if' condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a 'let' [INFO] [stderr] --> src/parser.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / impl_rdp! { [INFO] [stderr] 29 | | grammar! { [INFO] [stderr] 30 | | // Lexical Rules [INFO] [stderr] 31 | | digit = _{ ['0'..'9'] } [INFO] [stderr] ... | [INFO] [stderr] 249 | | } [INFO] [stderr] 250 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#block_in_if_condition_stmt [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: in an 'if' condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a 'let' [INFO] [stderr] --> src/parser.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / impl_rdp! { [INFO] [stderr] 29 | | grammar! { [INFO] [stderr] 30 | | // Lexical Rules [INFO] [stderr] 31 | | digit = _{ ['0'..'9'] } [INFO] [stderr] ... | [INFO] [stderr] 249 | | } [INFO] [stderr] 250 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#block_in_if_condition_stmt [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: in an 'if' condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a 'let' [INFO] [stderr] --> src/parser.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / impl_rdp! { [INFO] [stderr] 29 | | grammar! { [INFO] [stderr] 30 | | // Lexical Rules [INFO] [stderr] 31 | | digit = _{ ['0'..'9'] } [INFO] [stderr] ... | [INFO] [stderr] 249 | | } [INFO] [stderr] 250 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#block_in_if_condition_stmt [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: in an 'if' condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a 'let' [INFO] [stderr] --> src/parser.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / impl_rdp! { [INFO] [stderr] 29 | | grammar! { [INFO] [stderr] 30 | | // Lexical Rules [INFO] [stderr] 31 | | digit = _{ ['0'..'9'] } [INFO] [stderr] ... | [INFO] [stderr] 249 | | } [INFO] [stderr] 250 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#block_in_if_condition_stmt [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: in an 'if' condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a 'let' [INFO] [stderr] --> src/parser.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / impl_rdp! { [INFO] [stderr] 29 | | grammar! { [INFO] [stderr] 30 | | // Lexical Rules [INFO] [stderr] 31 | | digit = _{ ['0'..'9'] } [INFO] [stderr] ... | [INFO] [stderr] 249 | | } [INFO] [stderr] 250 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#block_in_if_condition_stmt [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: in an 'if' condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a 'let' [INFO] [stderr] --> src/parser.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / impl_rdp! { [INFO] [stderr] 29 | | grammar! { [INFO] [stderr] 30 | | // Lexical Rules [INFO] [stderr] 31 | | digit = _{ ['0'..'9'] } [INFO] [stderr] ... | [INFO] [stderr] 249 | | } [INFO] [stderr] 250 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#block_in_if_condition_stmt [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: in an 'if' condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a 'let' [INFO] [stderr] --> src/parser.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / impl_rdp! { [INFO] [stderr] 29 | | grammar! { [INFO] [stderr] 30 | | // Lexical Rules [INFO] [stderr] 31 | | digit = _{ ['0'..'9'] } [INFO] [stderr] ... | [INFO] [stderr] 249 | | } [INFO] [stderr] 250 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#block_in_if_condition_stmt [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: in an 'if' condition, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a 'let' [INFO] [stderr] --> src/parser.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | / impl_rdp! { [INFO] [stderr] 29 | | grammar! { [INFO] [stderr] 30 | | // Lexical Rules [INFO] [stderr] 31 | | digit = _{ ['0'..'9'] } [INFO] [stderr] ... | [INFO] [stderr] 249 | | } [INFO] [stderr] 250 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#block_in_if_condition_stmt [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.51s [INFO] running `"docker" "inspect" "7f458f2f2a3f250592526f3826b946909aa135f307593a7fa43fdc9ec3dead28"` [INFO] running `"docker" "rm" "-f" "7f458f2f2a3f250592526f3826b946909aa135f307593a7fa43fdc9ec3dead28"` [INFO] [stdout] 7f458f2f2a3f250592526f3826b946909aa135f307593a7fa43fdc9ec3dead28