[INFO] updating cached repository imondrag/showerthoughts [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/imondrag/showerthoughts [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/imondrag/showerthoughts" "work/ex/clippy-test-run/sources/stable/gh/imondrag/showerthoughts"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/imondrag/showerthoughts'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/imondrag/showerthoughts" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/imondrag/showerthoughts"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/imondrag/showerthoughts'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c294f3a999b99699c502a99e00c2794aea0dd980 [INFO] sha for GitHub repo imondrag/showerthoughts: c294f3a999b99699c502a99e00c2794aea0dd980 [INFO] validating manifest of imondrag/showerthoughts 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 imondrag/showerthoughts 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 imondrag/showerthoughts [INFO] finished frobbing imondrag/showerthoughts [INFO] frobbed toml for imondrag/showerthoughts written to work/ex/clippy-test-run/sources/stable/gh/imondrag/showerthoughts/Cargo.toml [INFO] started frobbing imondrag/showerthoughts [INFO] finished frobbing imondrag/showerthoughts [INFO] frobbed toml for imondrag/showerthoughts written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/imondrag/showerthoughts/Cargo.toml [INFO] crate imondrag/showerthoughts 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 imondrag/showerthoughts against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-3/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/imondrag/showerthoughts:/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] 6e5d96648639d3c6d03b8a98bd84984c2f80ea7ac326bd29fab679cbf7636c94 [INFO] running `"docker" "start" "-a" "6e5d96648639d3c6d03b8a98bd84984c2f80ea7ac326bd29fab679cbf7636c94"` [INFO] [stderr] Checking app_dirs v1.2.1 [INFO] [stderr] Checking bincode v1.0.1 [INFO] [stderr] Checking serde_json v0.9.10 [INFO] [stderr] Checking preferences v1.1.0 [INFO] [stderr] Checking showerthoughts v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/lib.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | const REDDIT_URL: &'static str = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/lib.rs:19:30 [INFO] [stderr] | [INFO] [stderr] 19 | const REDDIT_API_PARAMS: &[(&'static str, &'static str)] = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/lib.rs:19:44 [INFO] [stderr] | [INFO] [stderr] 19 | const REDDIT_API_PARAMS: &[(&'static str, &'static str)] = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/lib.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | const REDDIT_URL: &'static str = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/lib.rs:19:30 [INFO] [stderr] | [INFO] [stderr] 19 | const REDDIT_API_PARAMS: &[(&'static str, &'static str)] = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/lib.rs:19:44 [INFO] [stderr] | [INFO] [stderr] 19 | const REDDIT_API_PARAMS: &[(&'static str, &'static str)] = [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: unused import: `APP_INFO` [INFO] [stderr] --> src/main.rs:4:30 [INFO] [stderr] | [INFO] [stderr] 4 | RedditSingletonResponse, APP_INFO, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `APP_INFO` [INFO] [stderr] --> src/main.rs:4:30 [INFO] [stderr] | [INFO] [stderr] 4 | RedditSingletonResponse, APP_INFO, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.20s [INFO] running `"docker" "inspect" "6e5d96648639d3c6d03b8a98bd84984c2f80ea7ac326bd29fab679cbf7636c94"` [INFO] running `"docker" "rm" "-f" "6e5d96648639d3c6d03b8a98bd84984c2f80ea7ac326bd29fab679cbf7636c94"` [INFO] [stdout] 6e5d96648639d3c6d03b8a98bd84984c2f80ea7ac326bd29fab679cbf7636c94