[INFO] crate lcms2 5.0.1 is already in cache [INFO] extracting crate lcms2 5.0.1 into work/ex/clippy-test-run/sources/stable/reg/lcms2/5.0.1 [INFO] extracting crate lcms2 5.0.1 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/lcms2/5.0.1 [INFO] validating manifest of lcms2-5.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 lcms2-5.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 lcms2-5.0.1 [INFO] finished frobbing lcms2-5.0.1 [INFO] frobbed toml for lcms2-5.0.1 written to work/ex/clippy-test-run/sources/stable/reg/lcms2/5.0.1/Cargo.toml [INFO] started frobbing lcms2-5.0.1 [INFO] finished frobbing lcms2-5.0.1 [INFO] frobbed toml for lcms2-5.0.1 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/lcms2/5.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 lcms2-5.0.1 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/lcms2/5.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] 22da178130ed9a3ad037f8aadcddd3e1e13e5dd696db3d9c2a50166c4f1172cb [INFO] running `"docker" "start" "-a" "22da178130ed9a3ad037f8aadcddd3e1e13e5dd696db3d9c2a50166c4f1172cb"` [INFO] [stderr] Compiling dunce v0.1.1 [INFO] [stderr] Compiling lcms2-sys v2.4.8 [INFO] [stderr] Checking lcms2 v5.0.1 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/transform.rs:134:17 [INFO] [stderr] | [INFO] [stderr] 134 | handle: handle, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `handle` [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/transform.rs:134:17 [INFO] [stderr] | [INFO] [stderr] 134 | handle: handle, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `handle` [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] error: casting from `*const u8` to a more-strictly-aligned pointer (`*const ffi::CIEXYZ`) [INFO] [stderr] --> src/tag.rs:109:45 [INFO] [stderr] | [INFO] [stderr] 109 | RedColorantTag => Tag::CIEXYZ(&*(data as *const _)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::cast_ptr_alignment)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] error: casting from `*const u8` to a more-strictly-aligned pointer (`*const ffi::CIExyYTRIPLE`) [INFO] [stderr] --> src/tag.rs:119:59 [INFO] [stderr] | [INFO] [stderr] 119 | ChromaticAdaptationTag => Tag::CIExyYTRIPLE(&*(data as *const _)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] error: casting from `*const u8` to a more-strictly-aligned pointer (`*const ffi::ICCData`) [INFO] [stderr] --> src/tag.rs:130:53 [INFO] [stderr] | [INFO] [stderr] 130 | Ps2RenderingIntentTag => Tag::ICCData(&*(data as *const _)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] error: casting from `*const u8` to a more-strictly-aligned pointer (`*const ffi::ColorimetricIntentImageState`) [INFO] [stderr] --> src/tag.rs:154:52 [INFO] [stderr] | [INFO] [stderr] 154 | Tag::ColorimetricIntentImageState(*(data as *const ffi::ColorimetricIntentImageState)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] error: casting from `*const u8` to a more-strictly-aligned pointer (`*const ffi::Intent`) [INFO] [stderr] --> src/tag.rs:158:30 [INFO] [stderr] | [INFO] [stderr] 158 | Tag::Intent(*(data as *const ffi::Intent)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] error: casting from `*const u8` to a more-strictly-aligned pointer (`*const ffi::TechnologySignature`) [INFO] [stderr] --> src/tag.rs:160:47 [INFO] [stderr] | [INFO] [stderr] 160 | TechnologyTag => Tag::Technology(*(data as *const ffi::TechnologySignature)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] error: casting from `*const u8` to a more-strictly-aligned pointer (`*const ffi::ICCMeasurementConditions`) [INFO] [stderr] --> src/tag.rs:161:63 [INFO] [stderr] | [INFO] [stderr] 161 | MeasurementTag => Tag::ICCMeasurementConditions(&*(data as *const _)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] error: casting from `*const u8` to a more-strictly-aligned pointer (`*const ffi::SEQ`) [INFO] [stderr] --> src/tag.rs:163:48 [INFO] [stderr] | [INFO] [stderr] 163 | ProfileSequenceIdTag => Tag::SEQ(&*(data as *const _)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] error: casting from `*const u8` to a more-strictly-aligned pointer (`*const ffi::Screening`) [INFO] [stderr] --> src/tag.rs:164:46 [INFO] [stderr] | [INFO] [stderr] 164 | ScreeningTag => Tag::Screening(&*(data as *const _)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] error: casting from `*const u8` to a more-strictly-aligned pointer (`*const ffi::UcrBg`) [INFO] [stderr] --> src/tag.rs:165:38 [INFO] [stderr] | [INFO] [stderr] 165 | UcrBgTag => Tag::UcrBg(&*(data as *const _)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] error: casting from `*const u8` to a more-strictly-aligned pointer (`*const ffi::ICCViewingConditions`) [INFO] [stderr] --> src/tag.rs:167:45 [INFO] [stderr] | [INFO] [stderr] 167 | Tag::ICCViewingConditions(&*(data as *const _)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/ext.rs:33:26 [INFO] [stderr] | [INFO] [stderr] 33 | fn from_encoded(icc: &[u16; 3]) -> Self; [INFO] [stderr] | ^^^^^^^^^ help: consider passing by value instead: `[u16; 3]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::trivially_copy_pass_by_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/ext.rs:130:26 [INFO] [stderr] | [INFO] [stderr] 130 | fn from_encoded(icc: &[u16; 3]) -> Self; [INFO] [stderr] | ^^^^^^^^^ help: consider passing by value instead: `[u16; 3]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/ext.rs:133:29 [INFO] [stderr] | [INFO] [stderr] 133 | fn from_encoded_v2(icc: &[u16; 3]) -> Self; [INFO] [stderr] | ^^^^^^^^^ help: consider passing by value instead: `[u16; 3]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/locale.rs:38:32 [INFO] [stderr] | [INFO] [stderr] 38 | pub(crate) fn language_ptr(&self) -> *const i8 { [INFO] [stderr] | ^^^^^ help: consider passing by value instead: `self` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/locale.rs:42:31 [INFO] [stderr] | [INFO] [stderr] 42 | pub(crate) fn country_ptr(&self) -> *const i8 { [INFO] [stderr] | ^^^^^ help: consider passing by value instead: `self` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this function has too many arguments (8/7) [INFO] [stderr] --> src/transform.rs:88:5 [INFO] [stderr] | [INFO] [stderr] 88 | / pub fn new_proofing(input: &Profile, in_format: PixelFormat, [INFO] [stderr] 89 | | output: &Profile, out_format: PixelFormat, [INFO] [stderr] 90 | | proofing: &Profile, intent: Intent, proofng_intent: Intent, [INFO] [stderr] 91 | | flags: Flags) [INFO] [stderr] 92 | | -> LCMSResult { [INFO] [stderr] 93 | | Self::new_proofing_context(GlobalContext::new(), input, in_format, output, out_format, proofing, intent, proofng_intent, flags) [INFO] [stderr] 94 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::too_many_arguments)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stderr] [INFO] [stderr] warning: this function has too many arguments (9/7) [INFO] [stderr] --> src/transform.rs:189:5 [INFO] [stderr] | [INFO] [stderr] 189 | / pub fn new_proofing_context(context: Ctx, input: &Profile, in_format: PixelFormat, [INFO] [stderr] 190 | | output: &Profile, out_format: PixelFormat, [INFO] [stderr] 191 | | proofing: &Profile, intent: Intent, proofng_intent: Intent, [INFO] [stderr] 192 | | flags: Flags) [INFO] [stderr] ... | [INFO] [stderr] 199 | | in_format, out_format) [INFO] [stderr] 200 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `lcms2`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/profile.rs:483:5 [INFO] [stderr] | [INFO] [stderr] 483 | / assert_eq!(CIEXYZ::d50().X, match prof.read_tag(TagSignature::MediaWhitePointTag) { [INFO] [stderr] 484 | | Tag::CIEXYZ(xyz) => xyz.X, [INFO] [stderr] 485 | | _ => panic!(), [INFO] [stderr] 486 | | }); [INFO] [stderr] | |_______^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::float_cmp)] on by default [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/profile.rs:483:5 [INFO] [stderr] | [INFO] [stderr] 483 | / assert_eq!(CIEXYZ::d50().X, match prof.read_tag(TagSignature::MediaWhitePointTag) { [INFO] [stderr] 484 | | Tag::CIEXYZ(xyz) => xyz.X, [INFO] [stderr] 485 | | _ => panic!(), [INFO] [stderr] 486 | | }); [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: casting from `*const u8` to a more-strictly-aligned pointer (`*const ffi::CIEXYZ`) [INFO] [stderr] --> src/tag.rs:109:45 [INFO] [stderr] | [INFO] [stderr] 109 | RedColorantTag => Tag::CIEXYZ(&*(data as *const _)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::cast_ptr_alignment)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] error: casting from `*const u8` to a more-strictly-aligned pointer (`*const ffi::CIExyYTRIPLE`) [INFO] [stderr] --> src/tag.rs:119:59 [INFO] [stderr] | [INFO] [stderr] 119 | ChromaticAdaptationTag => Tag::CIExyYTRIPLE(&*(data as *const _)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] error: casting from `*const u8` to a more-strictly-aligned pointer (`*const ffi::ICCData`) [INFO] [stderr] --> src/tag.rs:130:53 [INFO] [stderr] | [INFO] [stderr] 130 | Ps2RenderingIntentTag => Tag::ICCData(&*(data as *const _)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] error: casting from `*const u8` to a more-strictly-aligned pointer (`*const ffi::ColorimetricIntentImageState`) [INFO] [stderr] --> src/tag.rs:154:52 [INFO] [stderr] | [INFO] [stderr] 154 | Tag::ColorimetricIntentImageState(*(data as *const ffi::ColorimetricIntentImageState)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] error: casting from `*const u8` to a more-strictly-aligned pointer (`*const ffi::Intent`) [INFO] [stderr] --> src/tag.rs:158:30 [INFO] [stderr] | [INFO] [stderr] 158 | Tag::Intent(*(data as *const ffi::Intent)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] error: casting from `*const u8` to a more-strictly-aligned pointer (`*const ffi::TechnologySignature`) [INFO] [stderr] --> src/tag.rs:160:47 [INFO] [stderr] | [INFO] [stderr] 160 | TechnologyTag => Tag::Technology(*(data as *const ffi::TechnologySignature)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] error: casting from `*const u8` to a more-strictly-aligned pointer (`*const ffi::ICCMeasurementConditions`) [INFO] [stderr] --> src/tag.rs:161:63 [INFO] [stderr] | [INFO] [stderr] 161 | MeasurementTag => Tag::ICCMeasurementConditions(&*(data as *const _)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] error: casting from `*const u8` to a more-strictly-aligned pointer (`*const ffi::SEQ`) [INFO] [stderr] --> src/tag.rs:163:48 [INFO] [stderr] | [INFO] [stderr] 163 | ProfileSequenceIdTag => Tag::SEQ(&*(data as *const _)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] error: casting from `*const u8` to a more-strictly-aligned pointer (`*const ffi::Screening`) [INFO] [stderr] --> src/tag.rs:164:46 [INFO] [stderr] | [INFO] [stderr] 164 | ScreeningTag => Tag::Screening(&*(data as *const _)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] error: casting from `*const u8` to a more-strictly-aligned pointer (`*const ffi::UcrBg`) [INFO] [stderr] --> src/tag.rs:165:38 [INFO] [stderr] | [INFO] [stderr] 165 | UcrBgTag => Tag::UcrBg(&*(data as *const _)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] error: casting from `*const u8` to a more-strictly-aligned pointer (`*const ffi::ICCViewingConditions`) [INFO] [stderr] --> src/tag.rs:167:45 [INFO] [stderr] | [INFO] [stderr] 167 | Tag::ICCViewingConditions(&*(data as *const _)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_ptr_alignment [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/ext.rs:33:26 [INFO] [stderr] | [INFO] [stderr] 33 | fn from_encoded(icc: &[u16; 3]) -> Self; [INFO] [stderr] | ^^^^^^^^^ help: consider passing by value instead: `[u16; 3]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::trivially_copy_pass_by_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/ext.rs:130:26 [INFO] [stderr] | [INFO] [stderr] 130 | fn from_encoded(icc: &[u16; 3]) -> Self; [INFO] [stderr] | ^^^^^^^^^ help: consider passing by value instead: `[u16; 3]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/ext.rs:133:29 [INFO] [stderr] | [INFO] [stderr] 133 | fn from_encoded_v2(icc: &[u16; 3]) -> Self; [INFO] [stderr] | ^^^^^^^^^ help: consider passing by value instead: `[u16; 3]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/locale.rs:38:32 [INFO] [stderr] | [INFO] [stderr] 38 | pub(crate) fn language_ptr(&self) -> *const i8 { [INFO] [stderr] | ^^^^^ help: consider passing by value instead: `self` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/locale.rs:42:31 [INFO] [stderr] | [INFO] [stderr] 42 | pub(crate) fn country_ptr(&self) -> *const i8 { [INFO] [stderr] | ^^^^^ help: consider passing by value instead: `self` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this function has too many arguments (8/7) [INFO] [stderr] --> src/transform.rs:88:5 [INFO] [stderr] | [INFO] [stderr] 88 | / pub fn new_proofing(input: &Profile, in_format: PixelFormat, [INFO] [stderr] 89 | | output: &Profile, out_format: PixelFormat, [INFO] [stderr] 90 | | proofing: &Profile, intent: Intent, proofng_intent: Intent, [INFO] [stderr] 91 | | flags: Flags) [INFO] [stderr] 92 | | -> LCMSResult { [INFO] [stderr] 93 | | Self::new_proofing_context(GlobalContext::new(), input, in_format, output, out_format, proofing, intent, proofng_intent, flags) [INFO] [stderr] 94 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::too_many_arguments)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stderr] [INFO] [stderr] warning: this function has too many arguments (9/7) [INFO] [stderr] --> src/transform.rs:189:5 [INFO] [stderr] | [INFO] [stderr] 189 | / pub fn new_proofing_context(context: Ctx, input: &Profile, in_format: PixelFormat, [INFO] [stderr] 190 | | output: &Profile, out_format: PixelFormat, [INFO] [stderr] 191 | | proofing: &Profile, intent: Intent, proofng_intent: Intent, [INFO] [stderr] 192 | | flags: Flags) [INFO] [stderr] ... | [INFO] [stderr] 199 | | in_format, out_format) [INFO] [stderr] 200 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/tonecurve.rs:168:5 [INFO] [stderr] | [INFO] [stderr] 168 | assert_eq!(1., g.eval(1.)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/tonecurve.rs:168:5 [INFO] [stderr] | [INFO] [stderr] 168 | assert_eq!(1., g.eval(1.)); [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 13 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `lcms2`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "22da178130ed9a3ad037f8aadcddd3e1e13e5dd696db3d9c2a50166c4f1172cb"` [INFO] running `"docker" "rm" "-f" "22da178130ed9a3ad037f8aadcddd3e1e13e5dd696db3d9c2a50166c4f1172cb"` [INFO] [stdout] 22da178130ed9a3ad037f8aadcddd3e1e13e5dd696db3d9c2a50166c4f1172cb