[INFO] updating cached repository elipmoc/RustLambda [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/elipmoc/RustLambda [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/elipmoc/RustLambda" "work/ex/clippy-test-run/sources/stable/gh/elipmoc/RustLambda"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/elipmoc/RustLambda'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/elipmoc/RustLambda" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/elipmoc/RustLambda"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/elipmoc/RustLambda'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 94b33732a57ae0b6a40da336927e46c3bfaa67e5 [INFO] sha for GitHub repo elipmoc/RustLambda: 94b33732a57ae0b6a40da336927e46c3bfaa67e5 [INFO] validating manifest of elipmoc/RustLambda 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 elipmoc/RustLambda 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 elipmoc/RustLambda [INFO] finished frobbing elipmoc/RustLambda [INFO] frobbed toml for elipmoc/RustLambda written to work/ex/clippy-test-run/sources/stable/gh/elipmoc/RustLambda/Cargo.toml [INFO] started frobbing elipmoc/RustLambda [INFO] finished frobbing elipmoc/RustLambda [INFO] frobbed toml for elipmoc/RustLambda written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/elipmoc/RustLambda/Cargo.toml [INFO] crate elipmoc/RustLambda 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 elipmoc/RustLambda against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-3/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/elipmoc/RustLambda:/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] 0d56b7f38c695ab21353133ab7225fd344c78abefe00e557531fb451b631dc8a [INFO] running `"docker" "start" "-a" "0d56b7f38c695ab21353133ab7225fd344c78abefe00e557531fb451b631dc8a"` [INFO] [stderr] Checking libc v0.2.41 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking combine v3.3.0 [INFO] [stderr] Checking rustλ v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | / parser!{ [INFO] [stderr] 27 | | fn expr_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 28 | | where [I: Stream] [INFO] [stderr] 29 | | { [INFO] [stderr] 30 | | apply_parser() [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unneeded_field_pattern)] on by default [INFO] [stderr] = help: Try with `expr_parser { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [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: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | / parser!{ [INFO] [stderr] 27 | | fn expr_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 28 | | where [I: Stream] [INFO] [stderr] 29 | | { [INFO] [stderr] 30 | | apply_parser() [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `expr_parser { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [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: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | / parser!{ [INFO] [stderr] 36 | | fn apply_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 37 | | where [I: Stream] [INFO] [stderr] 38 | | { [INFO] [stderr] ... | [INFO] [stderr] 48 | | } [INFO] [stderr] 49 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `apply_parser { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [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: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | / parser!{ [INFO] [stderr] 36 | | fn apply_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 37 | | where [I: Stream] [INFO] [stderr] 38 | | { [INFO] [stderr] ... | [INFO] [stderr] 48 | | } [INFO] [stderr] 49 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `apply_parser { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [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: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:52:1 [INFO] [stderr] | [INFO] [stderr] 52 | / parser!{ [INFO] [stderr] 53 | | fn def_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 54 | | where [I: Stream] [INFO] [stderr] 55 | | { [INFO] [stderr] ... | [INFO] [stderr] 60 | | } [INFO] [stderr] 61 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `def_parser { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [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: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:52:1 [INFO] [stderr] | [INFO] [stderr] 52 | / parser!{ [INFO] [stderr] 53 | | fn def_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 54 | | where [I: Stream] [INFO] [stderr] 55 | | { [INFO] [stderr] ... | [INFO] [stderr] 60 | | } [INFO] [stderr] 61 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `def_parser { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [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: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:64:1 [INFO] [stderr] | [INFO] [stderr] 64 | / parser!{ [INFO] [stderr] 65 | | fn term_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 66 | | where [I: Stream] [INFO] [stderr] 67 | | { [INFO] [stderr] 68 | | id_parser().then( |s|value(MixtureLambdaAST::Id(s)) ).or(paren_parser()).or(def_parser()) [INFO] [stderr] 69 | | } [INFO] [stderr] 70 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `term_parser { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [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: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:64:1 [INFO] [stderr] | [INFO] [stderr] 64 | / parser!{ [INFO] [stderr] 65 | | fn term_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 66 | | where [I: Stream] [INFO] [stderr] 67 | | { [INFO] [stderr] 68 | | id_parser().then( |s|value(MixtureLambdaAST::Id(s)) ).or(paren_parser()).or(def_parser()) [INFO] [stderr] 69 | | } [INFO] [stderr] 70 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `term_parser { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [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: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:73:1 [INFO] [stderr] | [INFO] [stderr] 73 | / parser!{ [INFO] [stderr] 74 | | fn id_parser[I]()(I) -> String [INFO] [stderr] 75 | | where [I: Stream] [INFO] [stderr] 76 | | { [INFO] [stderr] ... | [INFO] [stderr] 80 | | } [INFO] [stderr] 81 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `id_parser { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [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: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:73:1 [INFO] [stderr] | [INFO] [stderr] 73 | / parser!{ [INFO] [stderr] 74 | | fn id_parser[I]()(I) -> String [INFO] [stderr] 75 | | where [I: Stream] [INFO] [stderr] 76 | | { [INFO] [stderr] ... | [INFO] [stderr] 80 | | } [INFO] [stderr] 81 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `id_parser { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [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: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:84:1 [INFO] [stderr] | [INFO] [stderr] 84 | / parser!{ [INFO] [stderr] 85 | | fn paren_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 86 | | where [I: Stream] [INFO] [stderr] 87 | | { [INFO] [stderr] 88 | | char('(').with(expr_parser()).skip(char(')')) [INFO] [stderr] 89 | | } [INFO] [stderr] 90 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `paren_parser { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [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: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:84:1 [INFO] [stderr] | [INFO] [stderr] 84 | / parser!{ [INFO] [stderr] 85 | | fn paren_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 86 | | where [I: Stream] [INFO] [stderr] 87 | | { [INFO] [stderr] 88 | | char('(').with(expr_parser()).skip(char(')')) [INFO] [stderr] 89 | | } [INFO] [stderr] 90 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `paren_parser { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [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: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | / parser!{ [INFO] [stderr] 27 | | fn expr_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 28 | | where [I: Stream] [INFO] [stderr] 29 | | { [INFO] [stderr] 30 | | apply_parser() [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unneeded_field_pattern)] on by default [INFO] [stderr] = help: Try with `expr_parser { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [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: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | / parser!{ [INFO] [stderr] 27 | | fn expr_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 28 | | where [I: Stream] [INFO] [stderr] 29 | | { [INFO] [stderr] 30 | | apply_parser() [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `expr_parser { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [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: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | / parser!{ [INFO] [stderr] 36 | | fn apply_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 37 | | where [I: Stream] [INFO] [stderr] 38 | | { [INFO] [stderr] ... | [INFO] [stderr] 48 | | } [INFO] [stderr] 49 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `apply_parser { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [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: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | / parser!{ [INFO] [stderr] 36 | | fn apply_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 37 | | where [I: Stream] [INFO] [stderr] 38 | | { [INFO] [stderr] ... | [INFO] [stderr] 48 | | } [INFO] [stderr] 49 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `apply_parser { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [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: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:52:1 [INFO] [stderr] | [INFO] [stderr] 52 | / parser!{ [INFO] [stderr] 53 | | fn def_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 54 | | where [I: Stream] [INFO] [stderr] 55 | | { [INFO] [stderr] ... | [INFO] [stderr] 60 | | } [INFO] [stderr] 61 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `def_parser { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [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: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:52:1 [INFO] [stderr] | [INFO] [stderr] 52 | / parser!{ [INFO] [stderr] 53 | | fn def_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 54 | | where [I: Stream] [INFO] [stderr] 55 | | { [INFO] [stderr] ... | [INFO] [stderr] 60 | | } [INFO] [stderr] 61 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `def_parser { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [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: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:64:1 [INFO] [stderr] | [INFO] [stderr] 64 | / parser!{ [INFO] [stderr] 65 | | fn term_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 66 | | where [I: Stream] [INFO] [stderr] 67 | | { [INFO] [stderr] 68 | | id_parser().then( |s|value(MixtureLambdaAST::Id(s)) ).or(paren_parser()).or(def_parser()) [INFO] [stderr] 69 | | } [INFO] [stderr] 70 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `term_parser { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [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: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:64:1 [INFO] [stderr] | [INFO] [stderr] 64 | / parser!{ [INFO] [stderr] 65 | | fn term_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 66 | | where [I: Stream] [INFO] [stderr] 67 | | { [INFO] [stderr] 68 | | id_parser().then( |s|value(MixtureLambdaAST::Id(s)) ).or(paren_parser()).or(def_parser()) [INFO] [stderr] 69 | | } [INFO] [stderr] 70 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `term_parser { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [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: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:73:1 [INFO] [stderr] | [INFO] [stderr] 73 | / parser!{ [INFO] [stderr] 74 | | fn id_parser[I]()(I) -> String [INFO] [stderr] 75 | | where [I: Stream] [INFO] [stderr] 76 | | { [INFO] [stderr] ... | [INFO] [stderr] 80 | | } [INFO] [stderr] 81 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `id_parser { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [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: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:73:1 [INFO] [stderr] | [INFO] [stderr] 73 | / parser!{ [INFO] [stderr] 74 | | fn id_parser[I]()(I) -> String [INFO] [stderr] 75 | | where [I: Stream] [INFO] [stderr] 76 | | { [INFO] [stderr] ... | [INFO] [stderr] 80 | | } [INFO] [stderr] 81 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `id_parser { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [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: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:84:1 [INFO] [stderr] | [INFO] [stderr] 84 | / parser!{ [INFO] [stderr] 85 | | fn paren_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 86 | | where [I: Stream] [INFO] [stderr] 87 | | { [INFO] [stderr] 88 | | char('(').with(expr_parser()).skip(char(')')) [INFO] [stderr] 89 | | } [INFO] [stderr] 90 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `paren_parser { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [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: All the struct fields are matched to a wildcard pattern, consider using `..`. [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:84:1 [INFO] [stderr] | [INFO] [stderr] 84 | / parser!{ [INFO] [stderr] 85 | | fn paren_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 86 | | where [I: Stream] [INFO] [stderr] 87 | | { [INFO] [stderr] 88 | | char('(').with(expr_parser()).skip(char(')')) [INFO] [stderr] 89 | | } [INFO] [stderr] 90 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `paren_parser { .. }` instead [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [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: `ref` on an entire `let` pattern is discouraged, take a reference with `&` instead [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | / parser!{ [INFO] [stderr] 27 | | fn expr_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 28 | | where [I: Stream] [INFO] [stderr] 29 | | { [INFO] [stderr] 30 | | apply_parser() [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::toplevel_ref_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#toplevel_ref_arg [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: `ref` on an entire `let` pattern is discouraged, take a reference with `&` instead [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | / parser!{ [INFO] [stderr] 36 | | fn apply_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 37 | | where [I: Stream] [INFO] [stderr] 38 | | { [INFO] [stderr] ... | [INFO] [stderr] 48 | | } [INFO] [stderr] 49 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#toplevel_ref_arg [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: `ref` on an entire `let` pattern is discouraged, take a reference with `&` instead [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:52:1 [INFO] [stderr] | [INFO] [stderr] 52 | / parser!{ [INFO] [stderr] 53 | | fn def_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 54 | | where [I: Stream] [INFO] [stderr] 55 | | { [INFO] [stderr] ... | [INFO] [stderr] 60 | | } [INFO] [stderr] 61 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#toplevel_ref_arg [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: `ref` on an entire `let` pattern is discouraged, take a reference with `&` instead [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:64:1 [INFO] [stderr] | [INFO] [stderr] 64 | / parser!{ [INFO] [stderr] 65 | | fn term_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 66 | | where [I: Stream] [INFO] [stderr] 67 | | { [INFO] [stderr] 68 | | id_parser().then( |s|value(MixtureLambdaAST::Id(s)) ).or(paren_parser()).or(def_parser()) [INFO] [stderr] 69 | | } [INFO] [stderr] 70 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#toplevel_ref_arg [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: `ref` on an entire `let` pattern is discouraged, take a reference with `&` instead [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:73:1 [INFO] [stderr] | [INFO] [stderr] 73 | / parser!{ [INFO] [stderr] 74 | | fn id_parser[I]()(I) -> String [INFO] [stderr] 75 | | where [I: Stream] [INFO] [stderr] 76 | | { [INFO] [stderr] ... | [INFO] [stderr] 80 | | } [INFO] [stderr] 81 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#toplevel_ref_arg [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: `ref` on an entire `let` pattern is discouraged, take a reference with `&` instead [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:84:1 [INFO] [stderr] | [INFO] [stderr] 84 | / parser!{ [INFO] [stderr] 85 | | fn paren_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 86 | | where [I: Stream] [INFO] [stderr] 87 | | { [INFO] [stderr] 88 | | char('(').with(expr_parser()).skip(char(')')) [INFO] [stderr] 89 | | } [INFO] [stderr] 90 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#toplevel_ref_arg [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: you seem to be trying to use `&Box`. Consider using just `&T` [INFO] [stderr] --> lambda/mixture_lambda/show.rs:17:35 [INFO] [stderr] | [INFO] [stderr] 17 | fn show_def(arg_name: &str, body: &Box) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `&MixtureLambdaAST` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::borrowed_box)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrowed_box [INFO] [stderr] [INFO] [stderr] warning: you seem to be trying to use `&Box`. Consider using just `&T` [INFO] [stderr] --> lambda/mixture_lambda/show.rs:21:21 [INFO] [stderr] | [INFO] [stderr] 21 | fn show_apply(left: &Box, right: &Box) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `&MixtureLambdaAST` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrowed_box [INFO] [stderr] [INFO] [stderr] warning: you seem to be trying to use `&Box`. Consider using just `&T` [INFO] [stderr] --> lambda/mixture_lambda/show.rs:21:52 [INFO] [stderr] | [INFO] [stderr] 21 | fn show_apply(left: &Box, right: &Box) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `&MixtureLambdaAST` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrowed_box [INFO] [stderr] [INFO] [stderr] warning: equality checks against false can be replaced by a negation [INFO] [stderr] --> lambda/mixture_lambda/to_ski.rs:38:14 [INFO] [stderr] | [INFO] [stderr] 38 | _ if body.def_id_used(&id) == false => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `!body.def_id_used(&id)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::bool_comparison)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: `ref` on an entire `let` pattern is discouraged, take a reference with `&` instead [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | / parser!{ [INFO] [stderr] 27 | | fn expr_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 28 | | where [I: Stream] [INFO] [stderr] 29 | | { [INFO] [stderr] 30 | | apply_parser() [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::toplevel_ref_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#toplevel_ref_arg [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: `ref` on an entire `let` pattern is discouraged, take a reference with `&` instead [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | / parser!{ [INFO] [stderr] 36 | | fn apply_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 37 | | where [I: Stream] [INFO] [stderr] 38 | | { [INFO] [stderr] ... | [INFO] [stderr] 48 | | } [INFO] [stderr] 49 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#toplevel_ref_arg [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: `ref` on an entire `let` pattern is discouraged, take a reference with `&` instead [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:52:1 [INFO] [stderr] | [INFO] [stderr] 52 | / parser!{ [INFO] [stderr] 53 | | fn def_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 54 | | where [I: Stream] [INFO] [stderr] 55 | | { [INFO] [stderr] ... | [INFO] [stderr] 60 | | } [INFO] [stderr] 61 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#toplevel_ref_arg [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: `ref` on an entire `let` pattern is discouraged, take a reference with `&` instead [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:64:1 [INFO] [stderr] | [INFO] [stderr] 64 | / parser!{ [INFO] [stderr] 65 | | fn term_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 66 | | where [I: Stream] [INFO] [stderr] 67 | | { [INFO] [stderr] 68 | | id_parser().then( |s|value(MixtureLambdaAST::Id(s)) ).or(paren_parser()).or(def_parser()) [INFO] [stderr] 69 | | } [INFO] [stderr] 70 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#toplevel_ref_arg [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: `ref` on an entire `let` pattern is discouraged, take a reference with `&` instead [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:73:1 [INFO] [stderr] | [INFO] [stderr] 73 | / parser!{ [INFO] [stderr] 74 | | fn id_parser[I]()(I) -> String [INFO] [stderr] 75 | | where [I: Stream] [INFO] [stderr] 76 | | { [INFO] [stderr] ... | [INFO] [stderr] 80 | | } [INFO] [stderr] 81 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#toplevel_ref_arg [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: `ref` on an entire `let` pattern is discouraged, take a reference with `&` instead [INFO] [stderr] --> lambda/mixture_lambda/parser.rs:84:1 [INFO] [stderr] | [INFO] [stderr] 84 | / parser!{ [INFO] [stderr] 85 | | fn paren_parser[I]()(I) -> MixtureLambdaAST [INFO] [stderr] 86 | | where [I: Stream] [INFO] [stderr] 87 | | { [INFO] [stderr] 88 | | char('(').with(expr_parser()).skip(char(')')) [INFO] [stderr] 89 | | } [INFO] [stderr] 90 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#toplevel_ref_arg [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: you seem to be trying to use `&Box`. Consider using just `&T` [INFO] [stderr] --> lambda/mixture_lambda/show.rs:17:35 [INFO] [stderr] | [INFO] [stderr] 17 | fn show_def(arg_name: &str, body: &Box) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `&MixtureLambdaAST` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::borrowed_box)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrowed_box [INFO] [stderr] [INFO] [stderr] warning: you seem to be trying to use `&Box`. Consider using just `&T` [INFO] [stderr] --> lambda/mixture_lambda/show.rs:21:21 [INFO] [stderr] | [INFO] [stderr] 21 | fn show_apply(left: &Box, right: &Box) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `&MixtureLambdaAST` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrowed_box [INFO] [stderr] [INFO] [stderr] warning: you seem to be trying to use `&Box`. Consider using just `&T` [INFO] [stderr] --> lambda/mixture_lambda/show.rs:21:52 [INFO] [stderr] | [INFO] [stderr] 21 | fn show_apply(left: &Box, right: &Box) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `&MixtureLambdaAST` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrowed_box [INFO] [stderr] [INFO] [stderr] warning: equality checks against false can be replaced by a negation [INFO] [stderr] --> lambda/mixture_lambda/to_ski.rs:38:14 [INFO] [stderr] | [INFO] [stderr] 38 | _ if body.def_id_used(&id) == false => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `!body.def_id_used(&id)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::bool_comparison)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: you seem to be trying to use match for destructuring a single pattern. Consider using `if let` [INFO] [stderr] --> src/main.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | / match expr { [INFO] [stderr] 19 | | //パースしたASTが示すラムダ計算を表示 [INFO] [stderr] 20 | | Ok((value, _)) => { [INFO] [stderr] 21 | | // println!("show: {}", value.show()); [INFO] [stderr] ... | [INFO] [stderr] 31 | | Err(_) => (), [INFO] [stderr] 32 | | }; [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::single_match)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 18 | if let Ok((value, _)) = expr { [INFO] [stderr] 19 | // println!("show: {}", value.show()); [INFO] [stderr] 20 | let beta_convert = value.reduction(); [INFO] [stderr] 21 | let to_ski = beta_convert.to_ski(); [INFO] [stderr] 22 | let to_pure = to_ski.to_pure(); [INFO] [stderr] 23 | let beta_convert2 = to_pure.reduction(); [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: you seem to be trying to use match for destructuring a single pattern. Consider using `if let` [INFO] [stderr] --> src/main.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | / match expr { [INFO] [stderr] 19 | | //パースしたASTが示すラムダ計算を表示 [INFO] [stderr] 20 | | Ok((value, _)) => { [INFO] [stderr] 21 | | // println!("show: {}", value.show()); [INFO] [stderr] ... | [INFO] [stderr] 31 | | Err(_) => (), [INFO] [stderr] 32 | | }; [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::single_match)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 18 | if let Ok((value, _)) = expr { [INFO] [stderr] 19 | // println!("show: {}", value.show()); [INFO] [stderr] 20 | let beta_convert = value.reduction(); [INFO] [stderr] 21 | let to_ski = beta_convert.to_ski(); [INFO] [stderr] 22 | let to_pure = to_ski.to_pure(); [INFO] [stderr] 23 | let beta_convert2 = to_pure.reduction(); [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.27s [INFO] running `"docker" "inspect" "0d56b7f38c695ab21353133ab7225fd344c78abefe00e557531fb451b631dc8a"` [INFO] running `"docker" "rm" "-f" "0d56b7f38c695ab21353133ab7225fd344c78abefe00e557531fb451b631dc8a"` [INFO] [stdout] 0d56b7f38c695ab21353133ab7225fd344c78abefe00e557531fb451b631dc8a