[INFO] updating cached repository silppuri/rstrie [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/silppuri/rstrie [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/silppuri/rstrie" "work/ex/clippy-test-run/sources/stable/gh/silppuri/rstrie"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/silppuri/rstrie'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/silppuri/rstrie" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/silppuri/rstrie"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/silppuri/rstrie'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 6469b5e57b8ad2ee8d2d4998f04351d4f43967e7 [INFO] sha for GitHub repo silppuri/rstrie: 6469b5e57b8ad2ee8d2d4998f04351d4f43967e7 [INFO] validating manifest of silppuri/rstrie 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 silppuri/rstrie 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 silppuri/rstrie [INFO] finished frobbing silppuri/rstrie [INFO] frobbed toml for silppuri/rstrie written to work/ex/clippy-test-run/sources/stable/gh/silppuri/rstrie/Cargo.toml [INFO] started frobbing silppuri/rstrie [INFO] finished frobbing silppuri/rstrie [INFO] frobbed toml for silppuri/rstrie written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/silppuri/rstrie/Cargo.toml [INFO] crate silppuri/rstrie has a lockfile. skipping [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 silppuri/rstrie 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/gh/silppuri/rstrie:/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] 4b5185c44cef361448be8f65ee81941a3901c93ae8be6c676b4d315a408db33f [INFO] running `"docker" "start" "-a" "4b5185c44cef361448be8f65ee81941a3901c93ae8be6c676b4d315a408db33f"` [INFO] [stderr] Compiling libcruby-sys v0.7.2 [INFO] [stderr] Checking cslice v0.3.0 [INFO] [stderr] Checking sequence_trie v0.3.5 [INFO] [stderr] Checking helix v0.7.2 [INFO] [stderr] Checking rstrie v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: You are using an explicit closure for cloning elements [INFO] [stderr] --> src/lib.rs:16:37 [INFO] [stderr] | [INFO] [stderr] 16 | let byte_vec: Vec = v.into_iter().map(|b| *b).collect(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: Consider calling the dedicated `cloned` method: `v.into_iter().cloned()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::map_clone)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / ruby! { [INFO] [stderr] 26 | | pub class Rstrie { [INFO] [stderr] 27 | | struct { [INFO] [stderr] 28 | | trie: SequenceTrie [INFO] [stderr] ... | [INFO] [stderr] 55 | | } [INFO] [stderr] 56 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cmp_null)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [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] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / ruby! { [INFO] [stderr] 26 | | pub class Rstrie { [INFO] [stderr] 27 | | struct { [INFO] [stderr] 28 | | trie: SequenceTrie [INFO] [stderr] ... | [INFO] [stderr] 55 | | } [INFO] [stderr] 56 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [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] warning: transmute from a pointer type (`*mut helix::libc::c_void`) to a reference type (`&'a Rstrie`) [INFO] [stderr] --> src/lib.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / ruby! { [INFO] [stderr] 26 | | pub class Rstrie { [INFO] [stderr] 27 | | struct { [INFO] [stderr] 28 | | trie: SequenceTrie [INFO] [stderr] ... | [INFO] [stderr] 55 | | } [INFO] [stderr] 56 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::transmute_ptr_to_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [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] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / ruby! { [INFO] [stderr] 26 | | pub class Rstrie { [INFO] [stderr] 27 | | struct { [INFO] [stderr] 28 | | trie: SequenceTrie [INFO] [stderr] ... | [INFO] [stderr] 55 | | } [INFO] [stderr] 56 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [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] warning: transmute from a pointer type (`*mut helix::libc::c_void`) to a reference type (`&'a mut Rstrie`) [INFO] [stderr] --> src/lib.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / ruby! { [INFO] [stderr] 26 | | pub class Rstrie { [INFO] [stderr] 27 | | struct { [INFO] [stderr] 28 | | trie: SequenceTrie [INFO] [stderr] ... | [INFO] [stderr] 55 | | } [INFO] [stderr] 56 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [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] warning: You are using an explicit closure for cloning elements [INFO] [stderr] --> src/lib.rs:16:37 [INFO] [stderr] | [INFO] [stderr] 16 | let byte_vec: Vec = v.into_iter().map(|b| *b).collect(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: Consider calling the dedicated `cloned` method: `v.into_iter().cloned()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::map_clone)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / ruby! { [INFO] [stderr] 26 | | pub class Rstrie { [INFO] [stderr] 27 | | struct { [INFO] [stderr] 28 | | trie: SequenceTrie [INFO] [stderr] ... | [INFO] [stderr] 55 | | } [INFO] [stderr] 56 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cmp_null)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [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] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / ruby! { [INFO] [stderr] 26 | | pub class Rstrie { [INFO] [stderr] 27 | | struct { [INFO] [stderr] 28 | | trie: SequenceTrie [INFO] [stderr] ... | [INFO] [stderr] 55 | | } [INFO] [stderr] 56 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [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] warning: transmute from a pointer type (`*mut helix::libc::c_void`) to a reference type (`&'a Rstrie`) [INFO] [stderr] --> src/lib.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / ruby! { [INFO] [stderr] 26 | | pub class Rstrie { [INFO] [stderr] 27 | | struct { [INFO] [stderr] 28 | | trie: SequenceTrie [INFO] [stderr] ... | [INFO] [stderr] 55 | | } [INFO] [stderr] 56 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::transmute_ptr_to_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [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] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/lib.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / ruby! { [INFO] [stderr] 26 | | pub class Rstrie { [INFO] [stderr] 27 | | struct { [INFO] [stderr] 28 | | trie: SequenceTrie [INFO] [stderr] ... | [INFO] [stderr] 55 | | } [INFO] [stderr] 56 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [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] warning: transmute from a pointer type (`*mut helix::libc::c_void`) to a reference type (`&'a mut Rstrie`) [INFO] [stderr] --> src/lib.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / ruby! { [INFO] [stderr] 26 | | pub class Rstrie { [INFO] [stderr] 27 | | struct { [INFO] [stderr] 28 | | trie: SequenceTrie [INFO] [stderr] ... | [INFO] [stderr] 55 | | } [INFO] [stderr] 56 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref [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] Finished dev [unoptimized + debuginfo] target(s) in 3.92s [INFO] running `"docker" "inspect" "4b5185c44cef361448be8f65ee81941a3901c93ae8be6c676b4d315a408db33f"` [INFO] running `"docker" "rm" "-f" "4b5185c44cef361448be8f65ee81941a3901c93ae8be6c676b4d315a408db33f"` [INFO] [stdout] 4b5185c44cef361448be8f65ee81941a3901c93ae8be6c676b4d315a408db33f