[INFO] crate rss 1.6.1 is already in cache [INFO] extracting crate rss 1.6.1 into work/ex/clippy-test-run/sources/stable/reg/rss/1.6.1 [INFO] extracting crate rss 1.6.1 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/rss/1.6.1 [INFO] validating manifest of rss-1.6.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 rss-1.6.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 rss-1.6.1 [INFO] finished frobbing rss-1.6.1 [INFO] frobbed toml for rss-1.6.1 written to work/ex/clippy-test-run/sources/stable/reg/rss/1.6.1/Cargo.toml [INFO] started frobbing rss-1.6.1 [INFO] finished frobbing rss-1.6.1 [INFO] frobbed toml for rss-1.6.1 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/rss/1.6.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 rss-1.6.1 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-5/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/rss/1.6.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] 858903760f2c24a88ab9991f8657b996de942a4b51b1af698e2034d241a6e472 [INFO] running `"docker" "start" "-a" "858903760f2c24a88ab9991f8657b996de942a4b51b1af698e2034d241a6e472"` [INFO] [stderr] Compiling darling_core v0.8.3 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking quick-xml v0.13.2 [INFO] [stderr] Compiling darling_macro v0.8.3 [INFO] [stderr] Compiling darling v0.8.3 [INFO] [stderr] Compiling derive_builder_core v0.4.0 [INFO] [stderr] Compiling derive_builder v0.7.0 [INFO] [stderr] Checking rss v1.6.1 (/opt/crater/workdir) [INFO] [stderr] error: this .into_iter() call is equivalent to .iter() and will not move the array [INFO] [stderr] --> src/cloud.rs:244:41 [INFO] [stderr] | [INFO] [stderr] 244 | element.extend_attributes(attrs.into_iter().cloned()); [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::into_iter_on_array)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_array [INFO] [stderr] [INFO] [stderr] error: this .into_iter() call is equivalent to .iter() and will not move the array [INFO] [stderr] --> src/enclosure.rs:169:41 [INFO] [stderr] | [INFO] [stderr] 169 | element.extend_attributes(attrs.into_iter().cloned()); [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_array [INFO] [stderr] [INFO] [stderr] error: this .into_iter() call is equivalent to .iter() and will not move the array [INFO] [stderr] --> src/cloud.rs:244:41 [INFO] [stderr] | [INFO] [stderr] 244 | element.extend_attributes(attrs.into_iter().cloned()); [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::into_iter_on_array)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_array [INFO] [stderr] [INFO] [stderr] error: this .into_iter() call is equivalent to .iter() and will not move the array [INFO] [stderr] --> src/enclosure.rs:169:41 [INFO] [stderr] | [INFO] [stderr] 169 | element.extend_attributes(attrs.into_iter().cloned()); [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_array [INFO] [stderr] [INFO] [stderr] warning: you seem to be trying to use `&Box`. Consider using just `&T` [INFO] [stderr] --> src/extension/itunes/itunes_category.rs:72:41 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn subcategory(&self) -> Option<&Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: try: `&ITunesCategory` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::borrowed_box)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrowed_box [INFO] [stderr] [INFO] [stderr] warning: you seem to be trying to use `&Box`. Consider using just `&T` [INFO] [stderr] --> src/extension/itunes/itunes_category.rs:72:41 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn subcategory(&self) -> Option<&Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: try: `&ITunesCategory` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::borrowed_box)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrowed_box [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `rss`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `rss`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "858903760f2c24a88ab9991f8657b996de942a4b51b1af698e2034d241a6e472"` [INFO] running `"docker" "rm" "-f" "858903760f2c24a88ab9991f8657b996de942a4b51b1af698e2034d241a6e472"` [INFO] [stdout] 858903760f2c24a88ab9991f8657b996de942a4b51b1af698e2034d241a6e472