[INFO] crate discord_bots 1.0.0 is already in cache [INFO] extracting crate discord_bots 1.0.0 into work/ex/clippy-test-run/sources/stable/reg/discord_bots/1.0.0 [INFO] extracting crate discord_bots 1.0.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/discord_bots/1.0.0 [INFO] validating manifest of discord_bots-1.0.0 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 discord_bots-1.0.0 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 discord_bots-1.0.0 [INFO] finished frobbing discord_bots-1.0.0 [INFO] frobbed toml for discord_bots-1.0.0 written to work/ex/clippy-test-run/sources/stable/reg/discord_bots/1.0.0/Cargo.toml [INFO] started frobbing discord_bots-1.0.0 [INFO] finished frobbing discord_bots-1.0.0 [INFO] frobbed toml for discord_bots-1.0.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/discord_bots/1.0.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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 discord_bots-1.0.0 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-2/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/discord_bots/1.0.0:/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] ecb57c3b35c5a8b57773003c3649f4c9b0064bb044377ad659f4d00667eb1336 [INFO] running `"docker" "start" "-a" "ecb57c3b35c5a8b57773003c3649f4c9b0064bb044377ad659f4d00667eb1336"` [INFO] [stderr] Checking discord_bots v1.0.0 (/opt/crater/workdir) [INFO] [stderr] warning: long literal lacking separators [INFO] [stderr] --> src/lib.rs:572:27 [INFO] [stderr] | [INFO] [stderr] 572 | let ok = Bot::get(510114241307607051.into()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: consider: `510_114_241_307_607_051` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unreadable_literal)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stderr] [INFO] [stderr] warning: long literal lacking separators [INFO] [stderr] --> src/lib.rs:578:24 [INFO] [stderr] | [INFO] [stderr] 578 | Bot::get_stats(510114241307607051.into()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: consider: `510_114_241_307_607_051` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stderr] [INFO] [stderr] warning: long literal lacking separators [INFO] [stderr] --> src/lib.rs:583:35 [INFO] [stderr] | [INFO] [stderr] 583 | let str = Bot::get_widget(510114241307607051.into(), "svg", None).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: consider: `510_114_241_307_607_051` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stderr] [INFO] [stderr] warning: long literal lacking separators [INFO] [stderr] --> src/lib.rs:594:33 [INFO] [stderr] | [INFO] [stderr] 594 | let s = Bot::get_widget(510114241307607051.into(), "svg", Some(cwig)).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: consider: `510_114_241_307_607_051` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `widget::CustomizeWidget` [INFO] [stderr] --> src/lib.rs:316:9 [INFO] [stderr] | [INFO] [stderr] 316 | / pub fn new() -> Self { [INFO] [stderr] 317 | | CustomizeWidget { color_map: HashMap::new(), widget_type: None, no_avatar: false } [INFO] [stderr] 318 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default_derive)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 302 | #[derive(Default)] [INFO] [stderr] 303 | pub struct CustomizeWidget { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: you should consider adding a `Default` implementation for `listing::BotListing` [INFO] [stderr] --> src/lib.rs:487:9 [INFO] [stderr] | [INFO] [stderr] 487 | / pub fn new() -> Self { [INFO] [stderr] 488 | | BotListing { limit: 50, offset: 0, search: "".to_owned(), sort: BotListingSort::Points, fields: "".to_owned() } [INFO] [stderr] 489 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 486 | impl Default for listing::BotListing { [INFO] [stderr] 487 | fn default() -> Self { [INFO] [stderr] 488 | Self::new() [INFO] [stderr] 489 | } [INFO] [stderr] 490 | } [INFO] [stderr] 491 | [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `widget::CustomizeWidget` [INFO] [stderr] --> src/lib.rs:316:9 [INFO] [stderr] | [INFO] [stderr] 316 | / pub fn new() -> Self { [INFO] [stderr] 317 | | CustomizeWidget { color_map: HashMap::new(), widget_type: None, no_avatar: false } [INFO] [stderr] 318 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default_derive)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 302 | #[derive(Default)] [INFO] [stderr] 303 | pub struct CustomizeWidget { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: you should consider adding a `Default` implementation for `listing::BotListing` [INFO] [stderr] --> src/lib.rs:487:9 [INFO] [stderr] | [INFO] [stderr] 487 | / pub fn new() -> Self { [INFO] [stderr] 488 | | BotListing { limit: 50, offset: 0, search: "".to_owned(), sort: BotListingSort::Points, fields: "".to_owned() } [INFO] [stderr] 489 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 486 | impl Default for listing::BotListing { [INFO] [stderr] 487 | fn default() -> Self { [INFO] [stderr] 488 | Self::new() [INFO] [stderr] 489 | } [INFO] [stderr] 490 | } [INFO] [stderr] 491 | [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.16s [INFO] running `"docker" "inspect" "ecb57c3b35c5a8b57773003c3649f4c9b0064bb044377ad659f4d00667eb1336"` [INFO] running `"docker" "rm" "-f" "ecb57c3b35c5a8b57773003c3649f4c9b0064bb044377ad659f4d00667eb1336"` [INFO] [stdout] ecb57c3b35c5a8b57773003c3649f4c9b0064bb044377ad659f4d00667eb1336