[INFO] crate can-utils 0.1.4 is already in cache [INFO] extracting crate can-utils 0.1.4 into work/ex/clippy-test-run/sources/stable/reg/can-utils/0.1.4 [INFO] extracting crate can-utils 0.1.4 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/can-utils/0.1.4 [INFO] validating manifest of can-utils-0.1.4 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 can-utils-0.1.4 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 can-utils-0.1.4 [INFO] finished frobbing can-utils-0.1.4 [INFO] frobbed toml for can-utils-0.1.4 written to work/ex/clippy-test-run/sources/stable/reg/can-utils/0.1.4/Cargo.toml [INFO] started frobbing can-utils-0.1.4 [INFO] finished frobbing can-utils-0.1.4 [INFO] frobbed toml for can-utils-0.1.4 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/can-utils/0.1.4/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 can-utils-0.1.4 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-2/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/can-utils/0.1.4:/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] 280a1a312d1aa4e619fc8adb833c65e47ee9217bf98a4b167177cf1a9fddb3f7 [INFO] running `"docker" "start" "-a" "280a1a312d1aa4e619fc8adb833c65e47ee9217bf98a4b167177cf1a9fddb3f7"` [INFO] [stderr] Checking can-utils v0.1.4 (/opt/crater/workdir) [INFO] [stderr] error: some ranges overlap [INFO] [stderr] --> src/frames.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | 25...32 => 0b1101, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::match_overlapping_arm)] implied by #[deny(warnings)] [INFO] [stderr] note: overlaps with this [INFO] [stderr] --> src/frames.rs:98:5 [INFO] [stderr] | [INFO] [stderr] 98 | 32...48 => 0b1110, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_overlapping_arm [INFO] [stderr] [INFO] [stderr] error: casting u16 to u32 may become silently lossy if types change [INFO] [stderr] --> src/timing_calculator.rs:90:32 [INFO] [stderr] | [INFO] [stderr] 90 | let sample = tq * 1000 / (self.target_sample_point as u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `u32::from(self.target_sample_point)` [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::cast_lossless)] implied by #[deny(warnings)] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/timing_calculator.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | / pub fn compute_timing_parameters<'a>(clock_speed: MegaHertz, [INFO] [stderr] 113 | | nominal_bitrate: BitsPerSecond, [INFO] [stderr] 114 | | target_sample_point: BitSamplePoint, [INFO] [stderr] 115 | | jump_width: SegmentLength, [INFO] [stderr] ... | [INFO] [stderr] 123 | | } [INFO] [stderr] 124 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::needless_lifetimes)] implied by #[deny(warnings)] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `can-utils`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: some ranges overlap [INFO] [stderr] --> src/frames.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | 25...32 => 0b1101, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::match_overlapping_arm)] implied by #[deny(warnings)] [INFO] [stderr] note: overlaps with this [INFO] [stderr] --> src/frames.rs:98:5 [INFO] [stderr] | [INFO] [stderr] 98 | 32...48 => 0b1110, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_overlapping_arm [INFO] [stderr] [INFO] [stderr] error: casting u16 to u32 may become silently lossy if types change [INFO] [stderr] --> src/timing_calculator.rs:90:32 [INFO] [stderr] | [INFO] [stderr] 90 | let sample = tq * 1000 / (self.target_sample_point as u32); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `u32::from(self.target_sample_point)` [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::cast_lossless)] implied by #[deny(warnings)] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] error: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/timing_calculator.rs:112:1 [INFO] [stderr] | [INFO] [stderr] 112 | / pub fn compute_timing_parameters<'a>(clock_speed: MegaHertz, [INFO] [stderr] 113 | | nominal_bitrate: BitsPerSecond, [INFO] [stderr] 114 | | target_sample_point: BitSamplePoint, [INFO] [stderr] 115 | | jump_width: SegmentLength, [INFO] [stderr] ... | [INFO] [stderr] 123 | | } [INFO] [stderr] 124 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::needless_lifetimes)] implied by #[deny(warnings)] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `can-utils`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "280a1a312d1aa4e619fc8adb833c65e47ee9217bf98a4b167177cf1a9fddb3f7"` [INFO] running `"docker" "rm" "-f" "280a1a312d1aa4e619fc8adb833c65e47ee9217bf98a4b167177cf1a9fddb3f7"` [INFO] [stdout] 280a1a312d1aa4e619fc8adb833c65e47ee9217bf98a4b167177cf1a9fddb3f7