[INFO] crate dimensioned 0.7.0 is already in cache [INFO] extracting crate dimensioned 0.7.0 into work/ex/clippy-test-run/sources/stable/reg/dimensioned/0.7.0 [INFO] extracting crate dimensioned 0.7.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/dimensioned/0.7.0 [INFO] validating manifest of dimensioned-0.7.0 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 dimensioned-0.7.0 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 dimensioned-0.7.0 [INFO] finished frobbing dimensioned-0.7.0 [INFO] frobbed toml for dimensioned-0.7.0 written to work/ex/clippy-test-run/sources/stable/reg/dimensioned/0.7.0/Cargo.toml [INFO] started frobbing dimensioned-0.7.0 [INFO] finished frobbing dimensioned-0.7.0 [INFO] frobbed toml for dimensioned-0.7.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/dimensioned/0.7.0/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 dimensioned-0.7.0 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-4/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/dimensioned/0.7.0:/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] 64be0e3aed3bfb3dff51727033d071b31c5e135458d08d2bbead188b2bc8a7e2 [INFO] running `"docker" "start" "-a" "64be0e3aed3bfb3dff51727033d071b31c5e135458d08d2bbead188b2bc8a7e2"` [INFO] [stderr] Compiling dimensioned v0.7.0 (/opt/crater/workdir) [INFO] [stderr] warning: lint name `type_complexity` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:108:10 [INFO] [stderr] | [INFO] [stderr] 108 | #![allow(type_complexity, float_cmp, useless_attribute, doc_markdown)] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::type_complexity` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `float_cmp` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:108:27 [INFO] [stderr] | [INFO] [stderr] 108 | #![allow(type_complexity, float_cmp, useless_attribute, doc_markdown)] [INFO] [stderr] | ^^^^^^^^^ help: change it to: `clippy::float_cmp` [INFO] [stderr] [INFO] [stderr] warning: lint name `useless_attribute` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:108:38 [INFO] [stderr] | [INFO] [stderr] 108 | #![allow(type_complexity, float_cmp, useless_attribute, doc_markdown)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: change it to: `clippy::useless_attribute` [INFO] [stderr] [INFO] [stderr] warning: lint name `doc_markdown` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:108:57 [INFO] [stderr] | [INFO] [stderr] 108 | #![allow(type_complexity, float_cmp, useless_attribute, doc_markdown)] [INFO] [stderr] | ^^^^^^^^^^^^ help: change it to: `clippy::doc_markdown` [INFO] [stderr] [INFO] [stderr] warning: lint name `clippy` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:109:9 [INFO] [stderr] | [INFO] [stderr] 109 | #![deny(clippy)] [INFO] [stderr] | ^^^^^^ help: change it to: `clippy::all` [INFO] [stderr] [INFO] [stderr] warning: lint name `type_complexity` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 117 | type_complexity, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::type_complexity` [INFO] [stderr] [INFO] [stderr] warning: lint name `transmute_ptr_to_ptr` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:119:5 [INFO] [stderr] | [INFO] [stderr] 119 | transmute_ptr_to_ptr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::transmute_ptr_to_ptr` [INFO] [stderr] [INFO] [stderr] warning: lint name `unreadable_literal` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:122:5 [INFO] [stderr] | [INFO] [stderr] 122 | unreadable_literal, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::unreadable_literal` [INFO] [stderr] [INFO] [stderr] warning: lint name `excessive_precision` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:125:5 [INFO] [stderr] | [INFO] [stderr] 125 | excessive_precision, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::excessive_precision` [INFO] [stderr] [INFO] [stderr] warning: lint name `type_complexity` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:108:10 [INFO] [stderr] | [INFO] [stderr] 108 | #![allow(type_complexity, float_cmp, useless_attribute, doc_markdown)] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::type_complexity` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `float_cmp` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:108:27 [INFO] [stderr] | [INFO] [stderr] 108 | #![allow(type_complexity, float_cmp, useless_attribute, doc_markdown)] [INFO] [stderr] | ^^^^^^^^^ help: change it to: `clippy::float_cmp` [INFO] [stderr] [INFO] [stderr] warning: lint name `useless_attribute` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:108:38 [INFO] [stderr] | [INFO] [stderr] 108 | #![allow(type_complexity, float_cmp, useless_attribute, doc_markdown)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: change it to: `clippy::useless_attribute` [INFO] [stderr] [INFO] [stderr] warning: lint name `doc_markdown` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:108:57 [INFO] [stderr] | [INFO] [stderr] 108 | #![allow(type_complexity, float_cmp, useless_attribute, doc_markdown)] [INFO] [stderr] | ^^^^^^^^^^^^ help: change it to: `clippy::doc_markdown` [INFO] [stderr] [INFO] [stderr] warning: lint name `clippy` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:109:9 [INFO] [stderr] | [INFO] [stderr] 109 | #![deny(clippy)] [INFO] [stderr] | ^^^^^^ help: change it to: `clippy::all` [INFO] [stderr] [INFO] [stderr] warning: lint name `type_complexity` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 117 | type_complexity, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::type_complexity` [INFO] [stderr] [INFO] [stderr] warning: lint name `transmute_ptr_to_ptr` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:119:5 [INFO] [stderr] | [INFO] [stderr] 119 | transmute_ptr_to_ptr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::transmute_ptr_to_ptr` [INFO] [stderr] [INFO] [stderr] warning: lint name `unreadable_literal` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:122:5 [INFO] [stderr] | [INFO] [stderr] 122 | unreadable_literal, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::unreadable_literal` [INFO] [stderr] [INFO] [stderr] warning: lint name `excessive_precision` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:125:5 [INFO] [stderr] | [INFO] [stderr] 125 | excessive_precision, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::excessive_precision` [INFO] [stderr] [INFO] [stderr] warning: lint name `type_complexity` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:108:10 [INFO] [stderr] | [INFO] [stderr] 108 | #![allow(type_complexity, float_cmp, useless_attribute, doc_markdown)] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::type_complexity` [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_lossless` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/traits.rs:234:25 [INFO] [stderr] | [INFO] [stderr] 234 | #[allow(cast_lossless)] [INFO] [stderr] | ^^^^^^^^^^^^^ help: change it to: `clippy::cast_lossless` [INFO] [stderr] ... [INFO] [stderr] 245 | impl_root!(f32, powf32); [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_lossless` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/traits.rs:234:25 [INFO] [stderr] | [INFO] [stderr] 234 | #[allow(cast_lossless)] [INFO] [stderr] | ^^^^^^^^^^^^^ help: change it to: `clippy::cast_lossless` [INFO] [stderr] ... [INFO] [stderr] 246 | impl_root!(f64, powf64); [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] [INFO] [stderr] warning: lint name `type_complexity` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:108:10 [INFO] [stderr] | [INFO] [stderr] 108 | #![allow(type_complexity, float_cmp, useless_attribute, doc_markdown)] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::type_complexity` [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_lossless` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/traits.rs:234:25 [INFO] [stderr] | [INFO] [stderr] 234 | #[allow(cast_lossless)] [INFO] [stderr] | ^^^^^^^^^^^^^ help: change it to: `clippy::cast_lossless` [INFO] [stderr] ... [INFO] [stderr] 245 | impl_root!(f32, powf32); [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_lossless` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/traits.rs:234:25 [INFO] [stderr] | [INFO] [stderr] 234 | #[allow(cast_lossless)] [INFO] [stderr] | ^^^^^^^^^^^^^ help: change it to: `clippy::cast_lossless` [INFO] [stderr] ... [INFO] [stderr] 246 | impl_root!(f64, powf64); [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] [INFO] [stderr] error: the function has a cyclomatic complexity of 36 [INFO] [stderr] --> /opt/crater/target/debug/build/dimensioned-59908b270c60ec2b/out/si.rs:345:5 [INFO] [stderr] | [INFO] [stderr] 345 | / fn test_si_constants() { [INFO] [stderr] 346 | | #[allow(unused_imports)] [INFO] [stderr] 347 | | use f64prefixes::*; [INFO] [stderr] 348 | | #[allow(unused_imports)] [INFO] [stderr] ... | [INFO] [stderr] 385 | | assert_eq!(LBF, 4.4482216152605 * N); [INFO] [stderr] 386 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:109:9 [INFO] [stderr] | [INFO] [stderr] 109 | #![deny(clippy)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] = note: #[deny(clippy::cyclomatic_complexity)] implied by #[deny(clippy::all)] [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] error: the function has a cyclomatic complexity of 217 [INFO] [stderr] --> /opt/crater/target/debug/build/dimensioned-59908b270c60ec2b/out/ucum.rs:654:5 [INFO] [stderr] | [INFO] [stderr] 654 | / fn test_ucum_constants() { [INFO] [stderr] 655 | | #[allow(unused_imports)] [INFO] [stderr] 656 | | use f64prefixes::*; [INFO] [stderr] 657 | | #[allow(unused_imports)] [INFO] [stderr] ... | [INFO] [stderr] 875 | | assert_eq!(SMOOT, 67.0 * IN_I); [INFO] [stderr] 876 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/traits.rs:254:9 [INFO] [stderr] | [INFO] [stderr] 254 | assert_eq!(r, r.root(P1::new())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:109:9 [INFO] [stderr] | [INFO] [stderr] 109 | #![deny(clippy)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] = note: #[deny(clippy::float_cmp)] implied by #[deny(clippy::all)] [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/traits.rs:254:9 [INFO] [stderr] | [INFO] [stderr] 254 | assert_eq!(r, r.root(P1::new())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [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] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/traits.rs:255:9 [INFO] [stderr] | [INFO] [stderr] 255 | assert_eq!(r, (r * r).root(P2::new())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/traits.rs:255:9 [INFO] [stderr] | [INFO] [stderr] 255 | assert_eq!(r, (r * r).root(P2::new())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [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] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/traits.rs:256:9 [INFO] [stderr] | [INFO] [stderr] 256 | assert_eq!(r, (r * r * r).root(P3::new())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/traits.rs:256:9 [INFO] [stderr] | [INFO] [stderr] 256 | assert_eq!(r, (r * r * r).root(P3::new())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [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] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/traits.rs:257:9 [INFO] [stderr] | [INFO] [stderr] 257 | assert_eq!(r, (r * r * r * r * r).root(P5::new())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/traits.rs:257:9 [INFO] [stderr] | [INFO] [stderr] 257 | assert_eq!(r, (r * r * r * r * r).root(P5::new())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [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] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `dimensioned`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "64be0e3aed3bfb3dff51727033d071b31c5e135458d08d2bbead188b2bc8a7e2"` [INFO] running `"docker" "rm" "-f" "64be0e3aed3bfb3dff51727033d071b31c5e135458d08d2bbead188b2bc8a7e2"` [INFO] [stdout] 64be0e3aed3bfb3dff51727033d071b31c5e135458d08d2bbead188b2bc8a7e2