[INFO] updating cached repository mkatychev/aloxite [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/mkatychev/aloxite [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/mkatychev/aloxite" "work/ex/clippy-test-run/sources/stable/gh/mkatychev/aloxite"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/mkatychev/aloxite'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/mkatychev/aloxite" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/mkatychev/aloxite"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/mkatychev/aloxite'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 7c4df9b1f09bf3a6923feda1b42705ec01f2f795 [INFO] sha for GitHub repo mkatychev/aloxite: 7c4df9b1f09bf3a6923feda1b42705ec01f2f795 [INFO] validating manifest of mkatychev/aloxite 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 mkatychev/aloxite 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 mkatychev/aloxite [INFO] finished frobbing mkatychev/aloxite [INFO] frobbed toml for mkatychev/aloxite written to work/ex/clippy-test-run/sources/stable/gh/mkatychev/aloxite/Cargo.toml [INFO] started frobbing mkatychev/aloxite [INFO] finished frobbing mkatychev/aloxite [INFO] frobbed toml for mkatychev/aloxite written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/mkatychev/aloxite/Cargo.toml [INFO] crate mkatychev/aloxite 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 mkatychev/aloxite against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-6/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/mkatychev/aloxite:/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] 613bc3b25c7267fcc60a5075f403a06cf6328f843a1681acc08589c7a4b09d77 [INFO] running `"docker" "start" "-a" "613bc3b25c7267fcc60a5075f403a06cf6328f843a1681acc08589c7a4b09d77"` [INFO] [stderr] Checking aloxite v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0412]: cannot find type `Beacon` in this scope [INFO] [stderr] --> src/lib.rs:48:27 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn search<'a>(beacon: Beacon, contents: &'a str) -> Vec<&'a str> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Beacon` in this scope [INFO] [stderr] --> src/lib.rs:48:27 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn search<'a>(beacon: Beacon, contents: &'a str) -> Vec<&'a str> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 2 parameters but 3 parameters were supplied [INFO] [stderr] --> src/lib.rs:40:19 [INFO] [stderr] | [INFO] [stderr] 40 | let results = search(&config.start, &config.stop, &contents); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters [INFO] [stderr] ... [INFO] [stderr] 48 | pub fn search<'a>(beacon: Beacon, contents: &'a str) -> Vec<&'a str> { [INFO] [stderr] | -------------------------------------------------------------------- defined here [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 2 parameters but 3 parameters were supplied [INFO] [stderr] --> src/lib.rs:40:19 [INFO] [stderr] | [INFO] [stderr] 40 | let results = search(&config.start, &config.stop, &contents); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters [INFO] [stderr] ... [INFO] [stderr] 48 | pub fn search<'a>(beacon: Beacon, contents: &'a str) -> Vec<&'a str> { [INFO] [stderr] | -------------------------------------------------------------------- defined here [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:48:70 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn search<'a>(beacon: Beacon, contents: &'a str) -> Vec<&'a str> { [INFO] [stderr] | ______________________________________________________________________^ [INFO] [stderr] 49 | | //fn remingon( [INFO] [stderr] 50 | | let split = contents.chars(); [INFO] [stderr] 51 | | //.flat_map(|line| line.split_whitespace()) [INFO] [stderr] 52 | | //.batching(|it| Some(it.take(longest).map(|x| *x).collect::>())); [INFO] [stderr] 53 | | } [INFO] [stderr] | |_^ expected struct `std::vec::Vec`, found () [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::vec::Vec<&'a str>` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0061, E0308, E0412. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:48:70 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn search<'a>(beacon: Beacon, contents: &'a str) -> Vec<&'a str> { [INFO] [stderr] | ______________________________________________________________________^ [INFO] [stderr] 49 | | //fn remingon( [INFO] [stderr] 50 | | let split = contents.chars(); [INFO] [stderr] 51 | | //.flat_map(|line| line.split_whitespace()) [INFO] [stderr] 52 | | //.batching(|it| Some(it.take(longest).map(|x| *x).collect::>())); [INFO] [stderr] 53 | | } [INFO] [stderr] | |_^ expected struct `std::vec::Vec`, found () [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::vec::Vec<&'a str>` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 2 parameters but 3 parameters were supplied [INFO] [stderr] --> src/lib.rs:66:13 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn search<'a>(beacon: Beacon, contents: &'a str) -> Vec<&'a str> { [INFO] [stderr] | -------------------------------------------------------------------- defined here [INFO] [stderr] ... [INFO] [stderr] 66 | search("safe", "all", contents) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters [INFO] [stderr] [INFO] [stderr] error: Could not compile `aloxite`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0061, E0308, E0412. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `aloxite`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "613bc3b25c7267fcc60a5075f403a06cf6328f843a1681acc08589c7a4b09d77"` [INFO] running `"docker" "rm" "-f" "613bc3b25c7267fcc60a5075f403a06cf6328f843a1681acc08589c7a4b09d77"` [INFO] [stdout] 613bc3b25c7267fcc60a5075f403a06cf6328f843a1681acc08589c7a4b09d77