[INFO] updating cached repository FAVEGA/modicocom [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/FAVEGA/modicocom [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/FAVEGA/modicocom" "work/ex/clippy-test-run/sources/stable/gh/FAVEGA/modicocom"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/FAVEGA/modicocom'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/FAVEGA/modicocom" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/FAVEGA/modicocom"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/FAVEGA/modicocom'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 59a94f67760afb98654318b4bc4b553068bf00d6 [INFO] sha for GitHub repo FAVEGA/modicocom: 59a94f67760afb98654318b4bc4b553068bf00d6 [INFO] validating manifest of FAVEGA/modicocom 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 FAVEGA/modicocom 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 FAVEGA/modicocom [INFO] finished frobbing FAVEGA/modicocom [INFO] frobbed toml for FAVEGA/modicocom written to work/ex/clippy-test-run/sources/stable/gh/FAVEGA/modicocom/Cargo.toml [INFO] started frobbing FAVEGA/modicocom [INFO] finished frobbing FAVEGA/modicocom [INFO] frobbed toml for FAVEGA/modicocom written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/FAVEGA/modicocom/Cargo.toml [INFO] crate FAVEGA/modicocom 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 FAVEGA/modicocom 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/FAVEGA/modicocom:/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] 562b8e4ba782873e40fcdec6622cf723f3b2995f6059d26cda16522427a15193 [INFO] running `"docker" "start" "-a" "562b8e4ba782873e40fcdec6622cf723f3b2995f6059d26cda16522427a15193"` [INFO] [stderr] Checking concom v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/main.rs:52:14 [INFO] [stderr] | [INFO] [stderr] 52 | .expect(&format!("Error parsing price `{}` on row {} with product code {}.", [INFO] [stderr] | ______________^ [INFO] [stderr] 53 | | row[CONCOM_PRICE_COLUMN], [INFO] [stderr] 54 | | i, [INFO] [stderr] 55 | | row[CONCOM_CODE_COLUMN])); [INFO] [stderr] | |______________________________________________________^ help: try this: `unwrap_or_else(|_| panic!("Error parsing price `{}` on row {} with product code {}.", row[CONCOM_PRICE_COLUMN]))` [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/main.rs:59:14 [INFO] [stderr] | [INFO] [stderr] 59 | .expect(&format!("Error parsing discount percent `{}` on row {} with product code \ [INFO] [stderr] | ______________^ [INFO] [stderr] 60 | | {}.", [INFO] [stderr] 61 | | row[CONCOM_DISCOUNT_PERCENT_COLUMN], [INFO] [stderr] 62 | | i, [INFO] [stderr] 63 | | row[CONCOM_CODE_COLUMN])); [INFO] [stderr] | |______________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 59 | .unwrap_or_else(|_| panic!("Error parsing discount percent `{}` on row {} with product code \ [INFO] [stderr] 60 | {}.", row[CONCOM_DISCOUNT_PERCENT_COLUMN])); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/main.rs:71:10 [INFO] [stderr] | [INFO] [stderr] 71 | .expect(&format!("Error opening input file {}", file_name)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Error opening input file {}", file_name))` [INFO] [stderr] | [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/main.rs:52:14 [INFO] [stderr] | [INFO] [stderr] 52 | .expect(&format!("Error parsing price `{}` on row {} with product code {}.", [INFO] [stderr] | ______________^ [INFO] [stderr] 53 | | row[CONCOM_PRICE_COLUMN], [INFO] [stderr] 54 | | i, [INFO] [stderr] 55 | | row[CONCOM_CODE_COLUMN])); [INFO] [stderr] | |______________________________________________________^ help: try this: `unwrap_or_else(|_| panic!("Error parsing price `{}` on row {} with product code {}.", row[CONCOM_PRICE_COLUMN]))` [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/main.rs:59:14 [INFO] [stderr] | [INFO] [stderr] 59 | .expect(&format!("Error parsing discount percent `{}` on row {} with product code \ [INFO] [stderr] | ______________^ [INFO] [stderr] 60 | | {}.", [INFO] [stderr] 61 | | row[CONCOM_DISCOUNT_PERCENT_COLUMN], [INFO] [stderr] 62 | | i, [INFO] [stderr] 63 | | row[CONCOM_CODE_COLUMN])); [INFO] [stderr] | |______________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 59 | .unwrap_or_else(|_| panic!("Error parsing discount percent `{}` on row {} with product code \ [INFO] [stderr] 60 | {}.", row[CONCOM_DISCOUNT_PERCENT_COLUMN])); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/main.rs:71:10 [INFO] [stderr] | [INFO] [stderr] 71 | .expect(&format!("Error opening input file {}", file_name)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Error opening input file {}", file_name))` [INFO] [stderr] | [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 2.01s [INFO] running `"docker" "inspect" "562b8e4ba782873e40fcdec6622cf723f3b2995f6059d26cda16522427a15193"` [INFO] running `"docker" "rm" "-f" "562b8e4ba782873e40fcdec6622cf723f3b2995f6059d26cda16522427a15193"` [INFO] [stdout] 562b8e4ba782873e40fcdec6622cf723f3b2995f6059d26cda16522427a15193