[INFO] updating cached repository thebeekeeper/vc [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/thebeekeeper/vc [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/thebeekeeper/vc" "work/ex/clippy-test-run/sources/stable/gh/thebeekeeper/vc"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/thebeekeeper/vc'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/thebeekeeper/vc" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/thebeekeeper/vc"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/thebeekeeper/vc'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 36ac6a1af5c2ba38f15cf5151e1a5948336c03d3 [INFO] sha for GitHub repo thebeekeeper/vc: 36ac6a1af5c2ba38f15cf5151e1a5948336c03d3 [INFO] validating manifest of thebeekeeper/vc 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 thebeekeeper/vc 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 thebeekeeper/vc [INFO] finished frobbing thebeekeeper/vc [INFO] frobbed toml for thebeekeeper/vc written to work/ex/clippy-test-run/sources/stable/gh/thebeekeeper/vc/Cargo.toml [INFO] started frobbing thebeekeeper/vc [INFO] finished frobbing thebeekeeper/vc [INFO] frobbed toml for thebeekeeper/vc written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/thebeekeeper/vc/Cargo.toml [INFO] crate thebeekeeper/vc 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 thebeekeeper/vc against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-1/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/thebeekeeper/vc:/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] 865b1fbca1748d3600d906b19a4ccffe38fb3f21880fc1fe2c6f06f2cae175a8 [INFO] running `"docker" "start" "-a" "865b1fbca1748d3600d906b19a4ccffe38fb3f21880fc1fe2c6f06f2cae175a8"` [INFO] [stderr] Checking vc v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/main.rs:11:49 [INFO] [stderr] | [INFO] [stderr] 11 | let uval = i32::from_str_radix(&val, radix).expect(&format!("Failed to convert {} to an integer", val)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Failed to convert {} to an integer", val))` [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:11:49 [INFO] [stderr] | [INFO] [stderr] 11 | let uval = i32::from_str_radix(&val, radix).expect(&format!("Failed to convert {} to an integer", val)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Failed to convert {} to an integer", val))` [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 0.33s [INFO] running `"docker" "inspect" "865b1fbca1748d3600d906b19a4ccffe38fb3f21880fc1fe2c6f06f2cae175a8"` [INFO] running `"docker" "rm" "-f" "865b1fbca1748d3600d906b19a4ccffe38fb3f21880fc1fe2c6f06f2cae175a8"` [INFO] [stdout] 865b1fbca1748d3600d906b19a4ccffe38fb3f21880fc1fe2c6f06f2cae175a8