[INFO] crate typenum 1.10.0 is already in cache [INFO] extracting crate typenum 1.10.0 into work/ex/clippy-test-run/sources/stable/reg/typenum/1.10.0 [INFO] extracting crate typenum 1.10.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/typenum/1.10.0 [INFO] validating manifest of typenum-1.10.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 typenum-1.10.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 typenum-1.10.0 [INFO] finished frobbing typenum-1.10.0 [INFO] frobbed toml for typenum-1.10.0 written to work/ex/clippy-test-run/sources/stable/reg/typenum/1.10.0/Cargo.toml [INFO] started frobbing typenum-1.10.0 [INFO] finished frobbing typenum-1.10.0 [INFO] frobbed toml for typenum-1.10.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/typenum/1.10.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 typenum-1.10.0 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-0/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/typenum/1.10.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] f80376a589565a738bcdf854e6a390a728c8a110151f6c9595c69dcedefe8668 [INFO] running `"docker" "start" "-a" "f80376a589565a738bcdf854e6a390a728c8a110151f6c9595c69dcedefe8668"` [INFO] [stderr] Compiling typenum v1.10.0 (/opt/crater/workdir) [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:51:44 [INFO] [stderr] | [INFO] [stderr] 51 | #![cfg_attr(feature = "cargo-clippy", deny(clippy))] [INFO] [stderr] | ^^^^^^ help: change it to: `clippy::all` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [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:53:19 [INFO] [stderr] | [INFO] [stderr] 53 | allow(type_complexity, len_without_is_empty, new_without_default_derive))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::type_complexity` [INFO] [stderr] [INFO] [stderr] warning: lint name `len_without_is_empty` 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:53:36 [INFO] [stderr] | [INFO] [stderr] 53 | allow(type_complexity, len_without_is_empty, new_without_default_derive))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::len_without_is_empty` [INFO] [stderr] [INFO] [stderr] warning: lint name `new_without_default_derive` 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:53:58 [INFO] [stderr] | [INFO] [stderr] 53 | allow(type_complexity, len_without_is_empty, new_without_default_derive))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::new_without_default_derive` [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:51:44 [INFO] [stderr] | [INFO] [stderr] 51 | #![cfg_attr(feature = "cargo-clippy", deny(clippy))] [INFO] [stderr] | ^^^^^^ help: change it to: `clippy::all` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [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:53:19 [INFO] [stderr] | [INFO] [stderr] 53 | allow(type_complexity, len_without_is_empty, new_without_default_derive))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::type_complexity` [INFO] [stderr] [INFO] [stderr] warning: lint name `len_without_is_empty` 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:53:36 [INFO] [stderr] | [INFO] [stderr] 53 | allow(type_complexity, len_without_is_empty, new_without_default_derive))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::len_without_is_empty` [INFO] [stderr] [INFO] [stderr] warning: lint name `new_without_default_derive` 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:53:58 [INFO] [stderr] | [INFO] [stderr] 53 | allow(type_complexity, len_without_is_empty, new_without_default_derive))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::new_without_default_derive` [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:51:44 [INFO] [stderr] | [INFO] [stderr] 51 | #![cfg_attr(feature = "cargo-clippy", deny(clippy))] [INFO] [stderr] | ^^^^^^ help: change it to: `clippy::all` [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:51:44 [INFO] [stderr] | [INFO] [stderr] 51 | #![cfg_attr(feature = "cargo-clippy", deny(clippy))] [INFO] [stderr] | ^^^^^^ help: change it to: `clippy::all` [INFO] [stderr] [INFO] [stderr] error: the function has a cyclomatic complexity of 31 [INFO] [stderr] --> src/type_operators.rs:215:1 [INFO] [stderr] | [INFO] [stderr] 215 | / fn pow_test() { [INFO] [stderr] 216 | | use consts::*; [INFO] [stderr] 217 | | let z0 = Z0::new(); [INFO] [stderr] 218 | | let p3 = P3::new(); [INFO] [stderr] ... | [INFO] [stderr] 257 | | } [INFO] [stderr] 258 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:51:44 [INFO] [stderr] | [INFO] [stderr] 51 | #![cfg_attr(feature = "cargo-clippy", 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: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `typenum`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "f80376a589565a738bcdf854e6a390a728c8a110151f6c9595c69dcedefe8668"` [INFO] running `"docker" "rm" "-f" "f80376a589565a738bcdf854e6a390a728c8a110151f6c9595c69dcedefe8668"` [INFO] [stdout] f80376a589565a738bcdf854e6a390a728c8a110151f6c9595c69dcedefe8668