[INFO] updating cached repository buffet/carbot [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/buffet/carbot [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/buffet/carbot" "work/ex/clippy-test-run/sources/stable/gh/buffet/carbot"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/buffet/carbot'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/buffet/carbot" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/buffet/carbot"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/buffet/carbot'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f5e1e5b64b47b124633f2bc1c53304c1fd392f22 [INFO] sha for GitHub repo buffet/carbot: f5e1e5b64b47b124633f2bc1c53304c1fd392f22 [INFO] validating manifest of buffet/carbot 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 buffet/carbot 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 buffet/carbot [INFO] finished frobbing buffet/carbot [INFO] frobbed toml for buffet/carbot written to work/ex/clippy-test-run/sources/stable/gh/buffet/carbot/Cargo.toml [INFO] started frobbing buffet/carbot [INFO] finished frobbing buffet/carbot [INFO] frobbed toml for buffet/carbot written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/buffet/carbot/Cargo.toml [INFO] crate buffet/carbot 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 buffet/carbot 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/buffet/carbot:/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] 87cdb276c7e46ae2770a84a7a1cc50417dc316e2966e515190284b0806f9dc67 [INFO] running `"docker" "start" "-a" "87cdb276c7e46ae2770a84a7a1cc50417dc316e2966e515190284b0806f9dc67"` [INFO] [stderr] Compiling flate2-crc v0.1.1 [INFO] [stderr] Checking kankyo v0.2.0 [INFO] [stderr] Checking base64 v0.8.0 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Checking hyper v0.10.15 [INFO] [stderr] Checking uuid v0.5.1 [INFO] [stderr] Compiling mime_guess v1.8.6 [INFO] [stderr] Checking parking_lot v0.5.5 [INFO] [stderr] Checking flate2 v1.0.5 [INFO] [stderr] Checking evzht9h3nznqzwl v0.0.3 [INFO] [stderr] Checking hyper-native-tls v0.2.4 [INFO] [stderr] Checking multipart v0.13.6 [INFO] [stderr] Checking serenity v0.5.11 [INFO] [stderr] Checking carbot v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: use of `unwrap_or` followed by a function call [INFO] [stderr] --> src/main.rs:36:45 [INFO] [stderr] | [INFO] [stderr] 36 | let prefix = env::var("DISCORD_PREFIX").unwrap_or(String::from("./")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| String::from("./"))` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::or_fun_call)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call [INFO] [stderr] [INFO] [stderr] warning: use of `unwrap_or` followed by a function call [INFO] [stderr] --> src/main.rs:36:45 [INFO] [stderr] | [INFO] [stderr] 36 | let prefix = env::var("DISCORD_PREFIX").unwrap_or(String::from("./")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `unwrap_or_else(|_| String::from("./"))` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::or_fun_call)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 45.58s [INFO] running `"docker" "inspect" "87cdb276c7e46ae2770a84a7a1cc50417dc316e2966e515190284b0806f9dc67"` [INFO] running `"docker" "rm" "-f" "87cdb276c7e46ae2770a84a7a1cc50417dc316e2966e515190284b0806f9dc67"` [INFO] [stdout] 87cdb276c7e46ae2770a84a7a1cc50417dc316e2966e515190284b0806f9dc67