[INFO] updating cached repository tilacog/specfile-cli [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/tilacog/specfile-cli [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/tilacog/specfile-cli" "work/ex/clippy-test-run/sources/stable/gh/tilacog/specfile-cli"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/tilacog/specfile-cli'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/tilacog/specfile-cli" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/tilacog/specfile-cli"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/tilacog/specfile-cli'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c73ae4e0157f3b864419b393b1f7d99b8cbd509b [INFO] sha for GitHub repo tilacog/specfile-cli: c73ae4e0157f3b864419b393b1f7d99b8cbd509b [INFO] validating manifest of tilacog/specfile-cli 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 tilacog/specfile-cli 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 tilacog/specfile-cli [INFO] finished frobbing tilacog/specfile-cli [INFO] frobbed toml for tilacog/specfile-cli written to work/ex/clippy-test-run/sources/stable/gh/tilacog/specfile-cli/Cargo.toml [INFO] started frobbing tilacog/specfile-cli [INFO] finished frobbing tilacog/specfile-cli [INFO] frobbed toml for tilacog/specfile-cli written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/tilacog/specfile-cli/Cargo.toml [INFO] crate tilacog/specfile-cli 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 tilacog/specfile-cli 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/tilacog/specfile-cli:/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] 3c3d7eba34765e936786fe83ae84914db081183e1ee31ac17535d8a11e9ea600 [INFO] running `"docker" "start" "-a" "3c3d7eba34765e936786fe83ae84914db081183e1ee31ac17535d8a11e9ea600"` [INFO] [stderr] Compiling pq-sys v0.4.4 [INFO] [stderr] Checking peresil v0.3.0 [INFO] [stderr] Checking typed-arena v1.3.0 [INFO] [stderr] Compiling proc-macro2 v0.2.2 [INFO] [stderr] Checking clap v2.30.0 [INFO] [stderr] Compiling diesel_derives v1.1.0 [INFO] [stderr] Checking sxd-document v0.2.6 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling syn v0.12.13 [INFO] [stderr] Checking sxd-xpath v0.4.1 [INFO] [stderr] Checking diesel v1.1.1 [INFO] [stderr] Compiling structopt-derive v0.2.3 [INFO] [stderr] Checking structopt v0.2.3 [INFO] [stderr] Checking specfile-cli v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of `expect` followed by a function call [INFO] [stderr] --> src/main.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | .expect(&format!("Error connecting to {}", &opt.database_url)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Error connecting to {}", &opt.database_url))` [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:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | .expect(&format!("Error connecting to {}", &opt.database_url)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| panic!("Error connecting to {}", &opt.database_url))` [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 33.02s [INFO] running `"docker" "inspect" "3c3d7eba34765e936786fe83ae84914db081183e1ee31ac17535d8a11e9ea600"` [INFO] running `"docker" "rm" "-f" "3c3d7eba34765e936786fe83ae84914db081183e1ee31ac17535d8a11e9ea600"` [INFO] [stdout] 3c3d7eba34765e936786fe83ae84914db081183e1ee31ac17535d8a11e9ea600