[INFO] crate error-type 0.1.2 is already in cache [INFO] extracting crate error-type 0.1.2 into work/ex/clippy-test-run/sources/stable/reg/error-type/0.1.2 [INFO] extracting crate error-type 0.1.2 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/error-type/0.1.2 [INFO] validating manifest of error-type-0.1.2 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 error-type-0.1.2 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 error-type-0.1.2 [INFO] finished frobbing error-type-0.1.2 [INFO] frobbed toml for error-type-0.1.2 written to work/ex/clippy-test-run/sources/stable/reg/error-type/0.1.2/Cargo.toml [INFO] started frobbing error-type-0.1.2 [INFO] finished frobbing error-type-0.1.2 [INFO] frobbed toml for error-type-0.1.2 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/error-type/0.1.2/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 error-type-0.1.2 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-7/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/error-type/0.1.2:/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] 074dadc0ae2e7813495fed47557bd20d85ae055c55fede575f5ca3849176f699 [INFO] running `"docker" "start" "-a" "074dadc0ae2e7813495fed47557bd20d85ae055c55fede575f5ca3849176f699"` [INFO] [stderr] Checking error-type v0.1.2 (/opt/crater/workdir) [INFO] [stderr] warning: type alias is never used: `Debug` [INFO] [stderr] --> tests/hygiene.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | type Debug = (); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `Display` [INFO] [stderr] --> tests/hygiene.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | type Display = (); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `Error` [INFO] [stderr] --> tests/hygiene.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | type Error = (); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `From` [INFO] [stderr] --> tests/hygiene.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | type From = (); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `Option` [INFO] [stderr] --> tests/hygiene.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | type Option = (); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `Result` [INFO] [stderr] --> tests/hygiene.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | type Result = (); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> tests/quickie.rs:38:21 [INFO] [stderr] | [INFO] [stderr] 38 | let _: E = err!(format!("Another test string")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `"Another test string".to_string()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::useless_format)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> tests/quickie.rs:43:17 [INFO] [stderr] | [INFO] [stderr] 43 | assert_eq!(&format!("{}", e.description()), "Where's the Kaboom?!"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `e.description().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> tests/quickie.rs:46:17 [INFO] [stderr] | [INFO] [stderr] 46 | assert_eq!(&format!("{}", e.description()), "Where's the Kaboom?!"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `e.description().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: useless use of `format!` [INFO] [stderr] --> tests/quickie.rs:51:16 [INFO] [stderr] | [INFO] [stderr] 51 | assert_eq!(format!("{}", e.description()), "Hello, World!"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): `e.description().to_string()` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.72s [INFO] running `"docker" "inspect" "074dadc0ae2e7813495fed47557bd20d85ae055c55fede575f5ca3849176f699"` [INFO] running `"docker" "rm" "-f" "074dadc0ae2e7813495fed47557bd20d85ae055c55fede575f5ca3849176f699"` [INFO] [stdout] 074dadc0ae2e7813495fed47557bd20d85ae055c55fede575f5ca3849176f699