[INFO] updating cached repository mythmon/rust-gz-csv-test [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/mythmon/rust-gz-csv-test [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/mythmon/rust-gz-csv-test" "work/ex/clippy-test-run/sources/stable/gh/mythmon/rust-gz-csv-test"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/mythmon/rust-gz-csv-test'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/mythmon/rust-gz-csv-test" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/mythmon/rust-gz-csv-test"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/mythmon/rust-gz-csv-test'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3bd8a249c688188986029a42089ca278edca6e18 [INFO] sha for GitHub repo mythmon/rust-gz-csv-test: 3bd8a249c688188986029a42089ca278edca6e18 [INFO] validating manifest of mythmon/rust-gz-csv-test 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 mythmon/rust-gz-csv-test 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 mythmon/rust-gz-csv-test [INFO] finished frobbing mythmon/rust-gz-csv-test [INFO] frobbed toml for mythmon/rust-gz-csv-test written to work/ex/clippy-test-run/sources/stable/gh/mythmon/rust-gz-csv-test/Cargo.toml [INFO] started frobbing mythmon/rust-gz-csv-test [INFO] finished frobbing mythmon/rust-gz-csv-test [INFO] frobbed toml for mythmon/rust-gz-csv-test written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/mythmon/rust-gz-csv-test/Cargo.toml [INFO] crate mythmon/rust-gz-csv-test 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 mythmon/rust-gz-csv-test against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-7/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/mythmon/rust-gz-csv-test:/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] b1a942717a3b2880e394949855247c865135ece24a8663ca33ba8f94a2666a29 [INFO] running `"docker" "start" "-a" "b1a942717a3b2880e394949855247c865135ece24a8663ca33ba8f94a2666a29"` [INFO] [stderr] Compiling libz-sys v1.0.18 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking chrono v0.4.2 [INFO] [stderr] Compiling syn v0.13.1 [INFO] [stderr] Checking csv-core v0.1.4 [INFO] [stderr] Checking csv v1.0.0-beta.5 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Compiling serde_derive_internals v0.23.1 [INFO] [stderr] Compiling serde_derive v1.0.43 [INFO] [stderr] Checking gzcsv v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/rayon.rs:47:50 [INFO] [stderr] | [INFO] [stderr] 47 | .map(|filename| count(&filename, cutoff).expect(&format!("Couldn't read {}", &filename))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Couldn't read {}", &filename))` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::expect_fun_call)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/single_threaded.rs:30:47 [INFO] [stderr] | [INFO] [stderr] 30 | let (t, r) = count(&filename, cutoff).expect(&format!("Couldn't read {}", &filename)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Couldn't read {}", &filename))` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::expect_fun_call)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/single_threaded.rs:30:47 [INFO] [stderr] | [INFO] [stderr] 30 | let (t, r) = count(&filename, cutoff).expect(&format!("Couldn't read {}", &filename)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Couldn't read {}", &filename))` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::expect_fun_call)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/rayon.rs:47:50 [INFO] [stderr] | [INFO] [stderr] 47 | .map(|filename| count(&filename, cutoff).expect(&format!("Couldn't read {}", &filename))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Couldn't read {}", &filename))` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::expect_fun_call)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.69s [INFO] running `"docker" "inspect" "b1a942717a3b2880e394949855247c865135ece24a8663ca33ba8f94a2666a29"` [INFO] running `"docker" "rm" "-f" "b1a942717a3b2880e394949855247c865135ece24a8663ca33ba8f94a2666a29"` [INFO] [stdout] b1a942717a3b2880e394949855247c865135ece24a8663ca33ba8f94a2666a29