[INFO] crate sdset 0.3.0 is already in cache [INFO] extracting crate sdset 0.3.0 into work/ex/clippy-test-run/sources/stable/reg/sdset/0.3.0 [INFO] extracting crate sdset 0.3.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/sdset/0.3.0 [INFO] validating manifest of sdset-0.3.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 sdset-0.3.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 sdset-0.3.0 [INFO] finished frobbing sdset-0.3.0 [INFO] frobbed toml for sdset-0.3.0 written to work/ex/clippy-test-run/sources/stable/reg/sdset/0.3.0/Cargo.toml [INFO] started frobbing sdset-0.3.0 [INFO] finished frobbing sdset-0.3.0 [INFO] frobbed toml for sdset-0.3.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/sdset/0.3.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 sdset-0.3.0 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-7/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/sdset/0.3.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] c2bc02f13eda64836b00fe9262f75806a26f6d78fc3b25e4a8e49692cb1c3284 [INFO] running `"docker" "start" "-a" "c2bc02f13eda64836b00fe9262f75806a26f6d78fc3b25e4a8e49692cb1c3284"` [INFO] [stderr] Checking sdset v0.3.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/duo/union.rs:102:43 [INFO] [stderr] | [INFO] [stderr] 102 | let union_: SetBuf = Union { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `a` [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/duo/union.rs:102:49 [INFO] [stderr] | [INFO] [stderr] 102 | let union_: SetBuf = Union { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `b` [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/duo/union.rs:112:43 [INFO] [stderr] | [INFO] [stderr] 112 | let union_: SetBuf = Union { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `a` [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/duo/union.rs:112:49 [INFO] [stderr] | [INFO] [stderr] 112 | let union_: SetBuf = Union { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `b` [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/duo/union.rs:122:43 [INFO] [stderr] | [INFO] [stderr] 122 | let union_: SetBuf = Union { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `a` [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/duo/union.rs:122:49 [INFO] [stderr] | [INFO] [stderr] 122 | let union_: SetBuf = Union { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `b` [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/duo/union.rs:132:43 [INFO] [stderr] | [INFO] [stderr] 132 | let union_: SetBuf = Union { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `a` [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/duo/union.rs:132:49 [INFO] [stderr] | [INFO] [stderr] 132 | let union_: SetBuf = Union { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `b` [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/duo/difference.rs:87:48 [INFO] [stderr] | [INFO] [stderr] 87 | let union_: SetBuf = Difference { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `a` [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/duo/difference.rs:87:54 [INFO] [stderr] | [INFO] [stderr] 87 | let union_: SetBuf = Difference { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `b` [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/duo/difference.rs:96:48 [INFO] [stderr] | [INFO] [stderr] 96 | let union_: SetBuf = Difference { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `a` [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/duo/difference.rs:96:54 [INFO] [stderr] | [INFO] [stderr] 96 | let union_: SetBuf = Difference { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `b` [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/duo/difference_by_key.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 61 | f: f, [INFO] [stderr] | ^^^^ help: replace it with: `f` [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/duo/difference_by_key.rs:62:13 [INFO] [stderr] | [INFO] [stderr] 62 | g: g, [INFO] [stderr] | ^^^^ help: replace it with: `g` [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/duo/intersection.rs:87:57 [INFO] [stderr] | [INFO] [stderr] 87 | let intersection_: SetBuf = Intersection { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `a` [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/duo/intersection.rs:87:63 [INFO] [stderr] | [INFO] [stderr] 87 | let intersection_: SetBuf = Intersection { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `b` [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/duo/union.rs:102:43 [INFO] [stderr] | [INFO] [stderr] 102 | let union_: SetBuf = Union { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `a` [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/duo/union.rs:102:49 [INFO] [stderr] | [INFO] [stderr] 102 | let union_: SetBuf = Union { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `b` [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/duo/union.rs:112:43 [INFO] [stderr] | [INFO] [stderr] 112 | let union_: SetBuf = Union { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `a` [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/duo/union.rs:112:49 [INFO] [stderr] | [INFO] [stderr] 112 | let union_: SetBuf = Union { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `b` [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/duo/union.rs:122:43 [INFO] [stderr] | [INFO] [stderr] 122 | let union_: SetBuf = Union { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `a` [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/duo/union.rs:122:49 [INFO] [stderr] | [INFO] [stderr] 122 | let union_: SetBuf = Union { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `b` [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/duo/union.rs:132:43 [INFO] [stderr] | [INFO] [stderr] 132 | let union_: SetBuf = Union { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `a` [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/duo/union.rs:132:49 [INFO] [stderr] | [INFO] [stderr] 132 | let union_: SetBuf = Union { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `b` [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/duo/difference.rs:87:48 [INFO] [stderr] | [INFO] [stderr] 87 | let union_: SetBuf = Difference { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `a` [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/duo/difference.rs:87:54 [INFO] [stderr] | [INFO] [stderr] 87 | let union_: SetBuf = Difference { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `b` [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/duo/difference.rs:96:48 [INFO] [stderr] | [INFO] [stderr] 96 | let union_: SetBuf = Difference { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `a` [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/duo/difference.rs:96:54 [INFO] [stderr] | [INFO] [stderr] 96 | let union_: SetBuf = Difference { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `b` [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/duo/difference_by_key.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 61 | f: f, [INFO] [stderr] | ^^^^ help: replace it with: `f` [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/duo/difference_by_key.rs:62:13 [INFO] [stderr] | [INFO] [stderr] 62 | g: g, [INFO] [stderr] | ^^^^ help: replace it with: `g` [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/duo/intersection.rs:87:57 [INFO] [stderr] | [INFO] [stderr] 87 | let intersection_: SetBuf = Intersection { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `a` [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/duo/intersection.rs:87:63 [INFO] [stderr] | [INFO] [stderr] 87 | let intersection_: SetBuf = Intersection { a: a, b: b }.into_set_buf(); [INFO] [stderr] | ^^^^ help: replace it with: `b` [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: you should consider deriving a `Default` implementation for `multi::OpBuilder<'a, T>` [INFO] [stderr] --> src/multi/mod.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | / pub fn new() -> Self { [INFO] [stderr] 44 | | Self { slices: Vec::new() } [INFO] [stderr] 45 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default_derive)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: defining a method called `add` on this type; consider implementing the `std::ops::Add` trait or choosing a less ambiguous name [INFO] [stderr] --> src/multi/mod.rs:67:5 [INFO] [stderr] | [INFO] [stderr] 67 | / pub fn add(mut self, set: &'a Set) -> Self { [INFO] [stderr] 68 | | self.push(set); [INFO] [stderr] 69 | | self [INFO] [stderr] 70 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::should_implement_trait)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait [INFO] [stderr] [INFO] [stderr] warning: transmute from a reference to a reference [INFO] [stderr] --> src/set.rs:59:18 [INFO] [stderr] | [INFO] [stderr] 59 | unsafe { mem::transmute(slice) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: try: `&*(slice as *const [T] as *const set::Set)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::transmute_ptr_to_ptr)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr [INFO] [stderr] [INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/set.rs:393:56 [INFO] [stderr] | [INFO] [stderr] 393 | pub fn vec_slices_into_sets(vec: Vec<&[T]>) -> Result>, (Vec<&[T]>, Errors)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::type_complexity)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stderr] [INFO] [stderr] warning: transmute from a reference to a reference [INFO] [stderr] --> src/set.rs:448:14 [INFO] [stderr] | [INFO] [stderr] 448 | unsafe { mem::transmute(slice) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: try: `&*(slice as *const [&'a set::Set] as *const [&'a [T]])` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `multi::OpBuilder<'a, T>` [INFO] [stderr] --> src/multi/mod.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | / pub fn new() -> Self { [INFO] [stderr] 44 | | Self { slices: Vec::new() } [INFO] [stderr] 45 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default_derive)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: defining a method called `add` on this type; consider implementing the `std::ops::Add` trait or choosing a less ambiguous name [INFO] [stderr] --> src/multi/mod.rs:67:5 [INFO] [stderr] | [INFO] [stderr] 67 | / pub fn add(mut self, set: &'a Set) -> Self { [INFO] [stderr] 68 | | self.push(set); [INFO] [stderr] 69 | | self [INFO] [stderr] 70 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::should_implement_trait)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait [INFO] [stderr] [INFO] [stderr] warning: transmute from a reference to a reference [INFO] [stderr] --> src/set.rs:59:18 [INFO] [stderr] | [INFO] [stderr] 59 | unsafe { mem::transmute(slice) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: try: `&*(slice as *const [T] as *const set::Set)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::transmute_ptr_to_ptr)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr [INFO] [stderr] [INFO] [stderr] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stderr] --> src/set.rs:393:56 [INFO] [stderr] | [INFO] [stderr] 393 | pub fn vec_slices_into_sets(vec: Vec<&[T]>) -> Result>, (Vec<&[T]>, Errors)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::type_complexity)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stderr] [INFO] [stderr] warning: transmute from a reference to a reference [INFO] [stderr] --> src/set.rs:448:14 [INFO] [stderr] | [INFO] [stderr] 448 | unsafe { mem::transmute(slice) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: try: `&*(slice as *const [&'a set::Set] as *const [&'a [T]])` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.42s [INFO] running `"docker" "inspect" "c2bc02f13eda64836b00fe9262f75806a26f6d78fc3b25e4a8e49692cb1c3284"` [INFO] running `"docker" "rm" "-f" "c2bc02f13eda64836b00fe9262f75806a26f6d78fc3b25e4a8e49692cb1c3284"` [INFO] [stdout] c2bc02f13eda64836b00fe9262f75806a26f6d78fc3b25e4a8e49692cb1c3284