[INFO] updating cached repository Aceeri/kattis [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Aceeri/kattis [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Aceeri/kattis" "work/ex/clippy-test-run/sources/stable/gh/Aceeri/kattis"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/Aceeri/kattis'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Aceeri/kattis" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Aceeri/kattis"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Aceeri/kattis'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] cb746ffaa89d89b7366a949d5f22a0b9c870deed [INFO] sha for GitHub repo Aceeri/kattis: cb746ffaa89d89b7366a949d5f22a0b9c870deed [INFO] validating manifest of Aceeri/kattis 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 Aceeri/kattis 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 Aceeri/kattis [INFO] finished frobbing Aceeri/kattis [INFO] frobbed toml for Aceeri/kattis written to work/ex/clippy-test-run/sources/stable/gh/Aceeri/kattis/Cargo.toml [INFO] started frobbing Aceeri/kattis [INFO] finished frobbing Aceeri/kattis [INFO] frobbed toml for Aceeri/kattis written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Aceeri/kattis/Cargo.toml [INFO] crate Aceeri/kattis 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 Aceeri/kattis 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-6/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/Aceeri/kattis:/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] 2de163c5a916f39584c13ac1a6c31d7e5e28efa76f46acf78b0641e9b4deb34c [INFO] running `"docker" "start" "-a" "2de163c5a916f39584c13ac1a6c31d7e5e28efa76f46acf78b0641e9b4deb34c"` [INFO] [stderr] Checking kattis v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/bin/hopper.rs:50:4 [INFO] [stderr] | [INFO] [stderr] 50 | array: array, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `array` [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/bin/hopper.rs:51:4 [INFO] [stderr] | [INFO] [stderr] 51 | jump: jump, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `jump` [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/bin/hopper.rs:52:4 [INFO] [stderr] | [INFO] [stderr] 52 | diff: diff, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `diff` [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/bin/hopper.rs:50:4 [INFO] [stderr] | [INFO] [stderr] 50 | array: array, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `array` [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/bin/hopper.rs:51:4 [INFO] [stderr] | [INFO] [stderr] 51 | jump: jump, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `jump` [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/bin/hopper.rs:52:4 [INFO] [stderr] | [INFO] [stderr] 52 | diff: diff, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `diff` [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] error[E0425]: cannot find value `path` in this scope [INFO] [stderr] --> src/bin/hopper.rs:87:24 [INFO] [stderr] | [INFO] [stderr] 87 | let mut new_path = path.clone(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `length` in this scope [INFO] [stderr] --> src/bin/hopper.rs:89:21 [INFO] [stderr] | [INFO] [stderr] 89 | (sub, new_path, length + 1) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HashMap`, `HashSet` [INFO] [stderr] --> src/bin/hopper.rs:1:24 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::mpsc::channel` [INFO] [stderr] --> src/bin/hopper.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::sync::mpsc::channel; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> src/bin/hopper.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Cache: std::clone::Clone` is not satisfied [INFO] [stderr] --> src/bin/hopper.rs:54:11 [INFO] [stderr] | [INFO] [stderr] 54 | cache: vec![Vec::new(); 1000].into_boxed_slice(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `std::clone::Clone` is not implemented for `Cache` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `std::clone::Clone` for `std::vec::Vec` [INFO] [stderr] = note: required by `std::vec::from_elem` [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[E0308]: mismatched types [INFO] [stderr] --> src/bin/hopper.rs:65:7 [INFO] [stderr] | [INFO] [stderr] 65 | for (path, length) in &self.cache[possibility] { [INFO] [stderr] | ^^^^^^^^^^^^^^ expected enum `Cache`, found tuple [INFO] [stderr] | [INFO] [stderr] = note: expected type `Cache` [INFO] [stderr] found type `(_, _)` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/bin/hopper.rs:111:8 [INFO] [stderr] | [INFO] [stderr] 111 | for (jump, path, length) in &self.cache[possibility] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ expected enum `Cache`, found tuple [INFO] [stderr] | [INFO] [stderr] = note: expected type `Cache` [INFO] [stderr] found type `(_, _, _)` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0277, E0308, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `kattis`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0425]: cannot find value `path` in this scope [INFO] [stderr] --> src/bin/hopper.rs:87:24 [INFO] [stderr] | [INFO] [stderr] 87 | let mut new_path = path.clone(); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `length` in this scope [INFO] [stderr] --> src/bin/hopper.rs:89:21 [INFO] [stderr] | [INFO] [stderr] 89 | (sub, new_path, length + 1) [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: handle written amount returned or use `Write::write_all` instead [INFO] [stderr] --> src/bin/sibice.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | stdout_handle.write(b"DA\n")?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::unused_io_amount)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount [INFO] [stderr] [INFO] [stderr] error: handle written amount returned or use `Write::write_all` instead [INFO] [stderr] --> src/bin/sibice.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | stdout_handle.write(b"NE\n")?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `kattis`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unused imports: `HashMap`, `HashSet` [INFO] [stderr] --> src/bin/hopper.rs:1:24 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::mpsc::channel` [INFO] [stderr] --> src/bin/hopper.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::sync::mpsc::channel; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> src/bin/hopper.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: handle written amount returned or use `Write::write_all` instead [INFO] [stderr] --> src/bin/sibice.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | stdout_handle.write(b"DA\n")?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::unused_io_amount)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount [INFO] [stderr] [INFO] [stderr] error: handle written amount returned or use `Write::write_all` instead [INFO] [stderr] --> src/bin/sibice.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | stdout_handle.write(b"NE\n")?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Cache: std::clone::Clone` is not satisfied [INFO] [stderr] --> src/bin/hopper.rs:54:11 [INFO] [stderr] | [INFO] [stderr] 54 | cache: vec![Vec::new(); 1000].into_boxed_slice(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `std::clone::Clone` is not implemented for `Cache` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `std::clone::Clone` for `std::vec::Vec` [INFO] [stderr] = note: required by `std::vec::from_elem` [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[E0308]: mismatched types [INFO] [stderr] --> src/bin/hopper.rs:65:7 [INFO] [stderr] | [INFO] [stderr] 65 | for (path, length) in &self.cache[possibility] { [INFO] [stderr] | ^^^^^^^^^^^^^^ expected enum `Cache`, found tuple [INFO] [stderr] | [INFO] [stderr] = note: expected type `Cache` [INFO] [stderr] found type `(_, _)` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `kattis`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/bin/hopper.rs:111:8 [INFO] [stderr] | [INFO] [stderr] 111 | for (jump, path, length) in &self.cache[possibility] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ expected enum `Cache`, found tuple [INFO] [stderr] | [INFO] [stderr] = note: expected type `Cache` [INFO] [stderr] found type `(_, _, _)` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0277, E0308, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `kattis`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "2de163c5a916f39584c13ac1a6c31d7e5e28efa76f46acf78b0641e9b4deb34c"` [INFO] running `"docker" "rm" "-f" "2de163c5a916f39584c13ac1a6c31d7e5e28efa76f46acf78b0641e9b4deb34c"` [INFO] [stdout] 2de163c5a916f39584c13ac1a6c31d7e5e28efa76f46acf78b0641e9b4deb34c