[INFO] crate mycroft 0.0.1 is already in cache [INFO] extracting crate mycroft 0.0.1 into work/ex/clippy-test-run/sources/stable/reg/mycroft/0.0.1 [INFO] extracting crate mycroft 0.0.1 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/mycroft/0.0.1 [INFO] validating manifest of mycroft-0.0.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 mycroft-0.0.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 mycroft-0.0.1 [INFO] finished frobbing mycroft-0.0.1 [INFO] frobbed toml for mycroft-0.0.1 written to work/ex/clippy-test-run/sources/stable/reg/mycroft/0.0.1/Cargo.toml [INFO] started frobbing mycroft-0.0.1 [INFO] finished frobbing mycroft-0.0.1 [INFO] frobbed toml for mycroft-0.0.1 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/mycroft/0.0.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] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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 mycroft-0.0.1 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-5/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/mycroft/0.0.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] 3d2a5affb1d12277f76c6f05c48ce18310e22d59150016ae779cf93ac0ed44d1 [INFO] running `"docker" "start" "-a" "3d2a5affb1d12277f76c6f05c48ce18310e22d59150016ae779cf93ac0ed44d1"` [INFO] [stderr] Checking mycroft v0.0.1 (/opt/crater/workdir) [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/ast/printers.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 91 | write!(f, "\n")?; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::write_with_newline)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/ast/printers.rs:93:9 [INFO] [stderr] | [INFO] [stderr] 93 | write!(f, "\n")?; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/ir.rs:133:13 [INFO] [stderr] | [INFO] [stderr] 133 | name: name, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `name` [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/ir.rs:135:13 [INFO] [stderr] | [INFO] [stderr] 135 | names: names, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `names` [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/ir.rs:136:13 [INFO] [stderr] | [INFO] [stderr] 136 | types: types, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `types` [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/ir.rs:137:13 [INFO] [stderr] | [INFO] [stderr] 137 | aggs: aggs, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `aggs` [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/ir.rs:276:13 [INFO] [stderr] | [INFO] [stderr] 276 | func_vars: func_vars, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `func_vars` [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/ir.rs:277:13 [INFO] [stderr] | [INFO] [stderr] 277 | func_types: func_types, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `func_types` [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/ir.rs:278:13 [INFO] [stderr] | [INFO] [stderr] 278 | ast: ast, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `ast` [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/ir.rs:280:13 [INFO] [stderr] | [INFO] [stderr] 280 | head_pred: head_pred, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `head_pred` [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/ir.rs:281:13 [INFO] [stderr] | [INFO] [stderr] 281 | head_vals: head_vals, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `head_vals` [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/ir.rs:480:13 [INFO] [stderr] | [INFO] [stderr] 480 | name: name, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `name` [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/ir.rs:481:13 [INFO] [stderr] | [INFO] [stderr] 481 | ast: ast, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `ast` [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/ir.rs:482:13 [INFO] [stderr] | [INFO] [stderr] 482 | predicates: predicates, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `predicates` [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/ir.rs:483:13 [INFO] [stderr] | [INFO] [stderr] 483 | vars: vars, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `vars` [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/ir.rs:484:13 [INFO] [stderr] | [INFO] [stderr] 484 | matches: matches, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace it with: `matches` [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/ir.rs:485:13 [INFO] [stderr] | [INFO] [stderr] 485 | circumscribed: circumscribed, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `circumscribed` [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/ir.rs:486:13 [INFO] [stderr] | [INFO] [stderr] 486 | types: types, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `types` [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/ir.rs:487:13 [INFO] [stderr] | [INFO] [stderr] 487 | gao: gao, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `gao` [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/ir.rs:543:13 [INFO] [stderr] | [INFO] [stderr] 543 | predicates: predicates, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `predicates` [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/ir.rs:544:13 [INFO] [stderr] | [INFO] [stderr] 544 | queries: queries, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace it with: `queries` [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/ir.rs:545:13 [INFO] [stderr] | [INFO] [stderr] 545 | rules: rules, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `rules` [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: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/ast/printers.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 91 | write!(f, "\n")?; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::write_with_newline)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/ast/printers.rs:93:9 [INFO] [stderr] | [INFO] [stderr] 93 | write!(f, "\n")?; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/ir.rs:133:13 [INFO] [stderr] | [INFO] [stderr] 133 | name: name, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `name` [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/ir.rs:135:13 [INFO] [stderr] | [INFO] [stderr] 135 | names: names, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `names` [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/ir.rs:136:13 [INFO] [stderr] | [INFO] [stderr] 136 | types: types, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `types` [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/ir.rs:137:13 [INFO] [stderr] | [INFO] [stderr] 137 | aggs: aggs, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `aggs` [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/ir.rs:276:13 [INFO] [stderr] | [INFO] [stderr] 276 | func_vars: func_vars, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `func_vars` [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/ir.rs:277:13 [INFO] [stderr] | [INFO] [stderr] 277 | func_types: func_types, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `func_types` [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/ir.rs:278:13 [INFO] [stderr] | [INFO] [stderr] 278 | ast: ast, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `ast` [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/ir.rs:280:13 [INFO] [stderr] | [INFO] [stderr] 280 | head_pred: head_pred, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `head_pred` [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/ir.rs:281:13 [INFO] [stderr] | [INFO] [stderr] 281 | head_vals: head_vals, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `head_vals` [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/ir.rs:480:13 [INFO] [stderr] | [INFO] [stderr] 480 | name: name, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `name` [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/ir.rs:481:13 [INFO] [stderr] | [INFO] [stderr] 481 | ast: ast, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `ast` [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/ir.rs:482:13 [INFO] [stderr] | [INFO] [stderr] 482 | predicates: predicates, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `predicates` [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/ir.rs:483:13 [INFO] [stderr] | [INFO] [stderr] 483 | vars: vars, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `vars` [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/ir.rs:484:13 [INFO] [stderr] | [INFO] [stderr] 484 | matches: matches, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace it with: `matches` [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/ir.rs:485:13 [INFO] [stderr] | [INFO] [stderr] 485 | circumscribed: circumscribed, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `circumscribed` [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/ir.rs:486:13 [INFO] [stderr] | [INFO] [stderr] 486 | types: types, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `types` [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/ir.rs:487:13 [INFO] [stderr] | [INFO] [stderr] 487 | gao: gao, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `gao` [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/ir.rs:543:13 [INFO] [stderr] | [INFO] [stderr] 543 | predicates: predicates, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `predicates` [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/ir.rs:544:13 [INFO] [stderr] | [INFO] [stderr] 544 | queries: queries, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace it with: `queries` [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/ir.rs:545:13 [INFO] [stderr] | [INFO] [stderr] 545 | rules: rules, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `rules` [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: lint name `unneeded_field_pattern` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/parse.rs:2:45 [INFO] [stderr] | [INFO] [stderr] 2 | #![cfg_attr(feature = "cargo-clippy", allow(unneeded_field_pattern))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::unneeded_field_pattern` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `unneeded_field_pattern` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/parse.rs:2:45 [INFO] [stderr] | [INFO] [stderr] 2 | #![cfg_attr(feature = "cargo-clippy", allow(unneeded_field_pattern))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::unneeded_field_pattern` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `unneeded_field_pattern` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/parse.rs:2:45 [INFO] [stderr] | [INFO] [stderr] 2 | #![cfg_attr(feature = "cargo-clippy", allow(unneeded_field_pattern))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::unneeded_field_pattern` [INFO] [stderr] [INFO] [stderr] warning: lint name `unneeded_field_pattern` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/parse.rs:2:45 [INFO] [stderr] | [INFO] [stderr] 2 | #![cfg_attr(feature = "cargo-clippy", allow(unneeded_field_pattern))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::unneeded_field_pattern` [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/ast/printers.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 62 | / match self.aggregator { [INFO] [stderr] 63 | | Some(ref agg) => write!(f, "^{}", agg)?, [INFO] [stderr] 64 | | None => (), [INFO] [stderr] 65 | | } [INFO] [stderr] | |_________^ help: try this: `if let Some(ref agg) = self.aggregator { write!(f, "^{}", agg)? }` [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] [INFO] [stderr] warning: you seem to be trying to use match for destructuring a single pattern. Consider using `if let` [INFO] [stderr] --> src/ast/printers.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 62 | / match self.aggregator { [INFO] [stderr] 63 | | Some(ref agg) => write!(f, "^{}", agg)?, [INFO] [stderr] 64 | | None => (), [INFO] [stderr] 65 | | } [INFO] [stderr] | |_________^ help: try this: `if let Some(ref agg) = self.aggregator { write!(f, "^{}", agg)? }` [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] [INFO] [stderr] warning: length comparison to zero [INFO] [stderr] --> src/codegen/mod.rs:37:20 [INFO] [stderr] | [INFO] [stderr] 37 | if out_chars.len() != 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!out_chars.is_empty()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::len_zero)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 40 [INFO] [stderr] --> src/codegen/mod.rs:53:1 [INFO] [stderr] | [INFO] [stderr] 53 | / pub fn program(prog: &ir::Program) -> quote::Tokens { [INFO] [stderr] 54 | | use std::collections::BTreeSet; [INFO] [stderr] 55 | | // Declarations of predicate fact structs [INFO] [stderr] 56 | | let pred_fact_decls = prog.predicates [INFO] [stderr] ... | [INFO] [stderr] 442 | | } [INFO] [stderr] 443 | | } [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: you don't need to add `&` to all patterns [INFO] [stderr] --> src/codegen/mod.rs:154:17 [INFO] [stderr] | [INFO] [stderr] 154 | / match agg { [INFO] [stderr] 155 | | &Some(ref agg_func) => { [INFO] [stderr] 156 | | let agg_name = Ident::new(agg_func.to_string()); [INFO] [stderr] 157 | | let type_ = &pred.types[idx]; [INFO] [stderr] ... | [INFO] [stderr] 169 | | &None => build_aggs.push(quote! { aggs.push(None) }), [INFO] [stderr] 170 | | } [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::match_ref_pats)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats [INFO] [stderr] help: instead of prefixing all patterns with `&`, you can dereference the expression [INFO] [stderr] | [INFO] [stderr] 154 | match *agg { [INFO] [stderr] 155 | Some(ref agg_func) => { [INFO] [stderr] 156 | let agg_name = Ident::new(agg_func.to_string()); [INFO] [stderr] 157 | let type_ = &pred.types[idx]; [INFO] [stderr] 158 | if typed::is_small(type_) { [INFO] [stderr] 159 | build_aggs.push(quote! { [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: length comparison to zero [INFO] [stderr] --> src/codegen/mod.rs:37:20 [INFO] [stderr] | [INFO] [stderr] 37 | if out_chars.len() != 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!out_chars.is_empty()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::len_zero)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 40 [INFO] [stderr] --> src/codegen/mod.rs:53:1 [INFO] [stderr] | [INFO] [stderr] 53 | / pub fn program(prog: &ir::Program) -> quote::Tokens { [INFO] [stderr] 54 | | use std::collections::BTreeSet; [INFO] [stderr] 55 | | // Declarations of predicate fact structs [INFO] [stderr] 56 | | let pred_fact_decls = prog.predicates [INFO] [stderr] ... | [INFO] [stderr] 442 | | } [INFO] [stderr] 443 | | } [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: use of `or_insert` followed by a function call [INFO] [stderr] --> src/codegen/mod.rs:217:18 [INFO] [stderr] | [INFO] [stderr] 217 | .or_insert(Vec::new()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: try this: `or_insert_with(Vec::new)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::or_fun_call)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call [INFO] [stderr] [INFO] [stderr] warning: you don't need to add `&` to all patterns [INFO] [stderr] --> src/codegen/mod.rs:154:17 [INFO] [stderr] | [INFO] [stderr] 154 | / match agg { [INFO] [stderr] 155 | | &Some(ref agg_func) => { [INFO] [stderr] 156 | | let agg_name = Ident::new(agg_func.to_string()); [INFO] [stderr] 157 | | let type_ = &pred.types[idx]; [INFO] [stderr] ... | [INFO] [stderr] 169 | | &None => build_aggs.push(quote! { aggs.push(None) }), [INFO] [stderr] 170 | | } [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::match_ref_pats)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_ref_pats [INFO] [stderr] help: instead of prefixing all patterns with `&`, you can dereference the expression [INFO] [stderr] | [INFO] [stderr] 154 | match *agg { [INFO] [stderr] 155 | Some(ref agg_func) => { [INFO] [stderr] 156 | let agg_name = Ident::new(agg_func.to_string()); [INFO] [stderr] 157 | let type_ = &pred.types[idx]; [INFO] [stderr] 158 | if typed::is_small(type_) { [INFO] [stderr] 159 | build_aggs.push(quote! { [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: use of `or_insert` followed by a function call [INFO] [stderr] --> src/codegen/mod.rs:217:18 [INFO] [stderr] | [INFO] [stderr] 217 | .or_insert(Vec::new()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: try this: `or_insert_with(Vec::new)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::or_fun_call)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call [INFO] [stderr] [INFO] [stderr] error[E0463]: can't find crate for `mycroft_macros` [INFO] [stderr] --> benches/insert.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | extern crate mycroft_macros; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0463`. [INFO] [stderr] error: Could not compile `mycroft`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0463]: can't find crate for `mycroft_macros` [INFO] [stderr] --> benches/triangle.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | extern crate mycroft_macros; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0463`. [INFO] [stderr] error: Could not compile `mycroft`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0463]: can't find crate for `mycroft_macros` [INFO] [stderr] --> benches/clique.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | extern crate mycroft_macros; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0463`. [INFO] [stderr] error: Could not compile `mycroft`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3d2a5affb1d12277f76c6f05c48ce18310e22d59150016ae779cf93ac0ed44d1"` [INFO] running `"docker" "rm" "-f" "3d2a5affb1d12277f76c6f05c48ce18310e22d59150016ae779cf93ac0ed44d1"` [INFO] [stdout] 3d2a5affb1d12277f76c6f05c48ce18310e22d59150016ae779cf93ac0ed44d1