[INFO] updating cached repository Razakhel/rs-ds [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Razakhel/rs-ds [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Razakhel/rs-ds" "work/ex/clippy-test-run/sources/stable/gh/Razakhel/rs-ds"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/Razakhel/rs-ds'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Razakhel/rs-ds" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Razakhel/rs-ds"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Razakhel/rs-ds'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 7fad62cad817e09dbf5244be8a21479d641ec05a [INFO] sha for GitHub repo Razakhel/rs-ds: 7fad62cad817e09dbf5244be8a21479d641ec05a [INFO] validating manifest of Razakhel/rs-ds 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 Razakhel/rs-ds 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 Razakhel/rs-ds [INFO] finished frobbing Razakhel/rs-ds [INFO] frobbed toml for Razakhel/rs-ds written to work/ex/clippy-test-run/sources/stable/gh/Razakhel/rs-ds/Cargo.toml [INFO] started frobbing Razakhel/rs-ds [INFO] finished frobbing Razakhel/rs-ds [INFO] frobbed toml for Razakhel/rs-ds written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Razakhel/rs-ds/Cargo.toml [INFO] crate Razakhel/rs-ds 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 Razakhel/rs-ds against stable+rustflags=-Dclippy::into_iter_on_array for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-4/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Razakhel/rs-ds:/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 -Dclippy::into_iter_on_array" "-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] 47b171da3a682502c11412b676ab3df2a9a40d21e5c7edc5d780c5b22052e014 [INFO] running `"docker" "start" "-a" "47b171da3a682502c11412b676ab3df2a9a40d21e5c7edc5d780c5b22052e014"` [INFO] [stderr] Checking rs-ds v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: struct is never constructed: `IntoIter` [INFO] [stderr] --> src/linked_list.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct IntoIter(List); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `peek` [INFO] [stderr] --> src/linked_list.rs:38:3 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn peek(&self) -> Option<&T> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `peek_mut` [INFO] [stderr] --> src/linked_list.rs:44:3 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn peek_mut(&mut self) -> Option<&mut T> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `into_iter` [INFO] [stderr] --> src/linked_list.rs:50:3 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn into_iter(self) -> IntoIter { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `"docker" "inspect" "47b171da3a682502c11412b676ab3df2a9a40d21e5c7edc5d780c5b22052e014"` [INFO] running `"docker" "rm" "-f" "47b171da3a682502c11412b676ab3df2a9a40d21e5c7edc5d780c5b22052e014"` [INFO] [stdout] 47b171da3a682502c11412b676ab3df2a9a40d21e5c7edc5d780c5b22052e014