[INFO] updating cached repository guangie88/rust-cli-template [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/guangie88/rust-cli-template [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/guangie88/rust-cli-template" "work/ex/clippy-test-run/sources/stable/gh/guangie88/rust-cli-template"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/guangie88/rust-cli-template'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/guangie88/rust-cli-template" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/guangie88/rust-cli-template"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/guangie88/rust-cli-template'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b66201076a84a508ba7d728a06530794a285d69d [INFO] sha for GitHub repo guangie88/rust-cli-template: b66201076a84a508ba7d728a06530794a285d69d [INFO] validating manifest of guangie88/rust-cli-template 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 guangie88/rust-cli-template 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 guangie88/rust-cli-template [INFO] finished frobbing guangie88/rust-cli-template [INFO] frobbed toml for guangie88/rust-cli-template written to work/ex/clippy-test-run/sources/stable/gh/guangie88/rust-cli-template/Cargo.toml [INFO] started frobbing guangie88/rust-cli-template [INFO] finished frobbing guangie88/rust-cli-template [INFO] frobbed toml for guangie88/rust-cli-template written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/guangie88/rust-cli-template/Cargo.toml [INFO] crate guangie88/rust-cli-template 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 guangie88/rust-cli-template 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/guangie88/rust-cli-template:/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] 32904714ceaf65cc88b0e9aecc849ce12c15bcf0c765ccadcd30536af904d5be [INFO] running `"docker" "start" "-a" "32904714ceaf65cc88b0e9aecc849ce12c15bcf0c765ccadcd30536af904d5be"` [INFO] [stderr] Checking log v0.4.4 [INFO] [stderr] Checking serde_yaml v0.7.5 [INFO] [stderr] Checking toml v0.4.6 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking serde-value v0.5.2 [INFO] [stderr] Checking simple_logger v0.5.0 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling structopt-derive v0.2.10 [INFO] [stderr] Compiling serde_derive v1.0.75 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Checking structopt v0.2.10 [INFO] [stderr] Checking failure v0.1.2 [INFO] [stderr] Checking log4rs v0.8.0 [INFO] [stderr] Checking rust-cli-template v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/main.rs:1:44 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(feature = "cargo-clippy", deny(warnings))] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(unused_imports)] implied by #[deny(warnings)] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `rust-cli-template`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/main.rs:1:44 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(feature = "cargo-clippy", deny(warnings))] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(unused_imports)] implied by #[deny(warnings)] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `rust-cli-template`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "32904714ceaf65cc88b0e9aecc849ce12c15bcf0c765ccadcd30536af904d5be"` [INFO] running `"docker" "rm" "-f" "32904714ceaf65cc88b0e9aecc849ce12c15bcf0c765ccadcd30536af904d5be"` [INFO] [stdout] 32904714ceaf65cc88b0e9aecc849ce12c15bcf0c765ccadcd30536af904d5be