[INFO] crate config_file_handler 0.11.0 is already in cache [INFO] extracting crate config_file_handler 0.11.0 into work/ex/clippy-test-run/sources/stable/reg/config_file_handler/0.11.0 [INFO] extracting crate config_file_handler 0.11.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/config_file_handler/0.11.0 [INFO] validating manifest of config_file_handler-0.11.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 config_file_handler-0.11.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 config_file_handler-0.11.0 [INFO] finished frobbing config_file_handler-0.11.0 [INFO] frobbed toml for config_file_handler-0.11.0 written to work/ex/clippy-test-run/sources/stable/reg/config_file_handler/0.11.0/Cargo.toml [INFO] started frobbing config_file_handler-0.11.0 [INFO] finished frobbing config_file_handler-0.11.0 [INFO] frobbed toml for config_file_handler-0.11.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/config_file_handler/0.11.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 config_file_handler-0.11.0 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-1/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/config_file_handler/0.11.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] cf19b01274cec0bfc8b593ccb171db6242e8152562f089ac2bf8affbb48d0143 [INFO] running `"docker" "start" "-a" "cf19b01274cec0bfc8b593ccb171db6242e8152562f089ac2bf8affbb48d0143"` [INFO] [stderr] Checking config_file_handler v0.11.0 (/opt/crater/workdir) [INFO] [stderr] error: lint `private_no_mangle_fns` has been removed: `no longer an warning, #[no_mangle] functions always exported` [INFO] [stderr] --> src/lib.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | private_no_mangle_fns, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | warnings [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[forbid(renamed_and_removed_lints)] implied by #[forbid(warnings)] [INFO] [stderr] [INFO] [stderr] error: lint `private_no_mangle_statics` has been removed: `no longer an warning, #[no_mangle] statics always exported` [INFO] [stderr] --> src/lib.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | private_no_mangle_statics, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: lint `private_no_mangle_fns` has been removed: `no longer an warning, #[no_mangle] functions always exported` [INFO] [stderr] --> src/lib.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | private_no_mangle_fns, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | warnings [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[forbid(renamed_and_removed_lints)] implied by #[forbid(warnings)] [INFO] [stderr] [INFO] [stderr] error: lint `private_no_mangle_statics` has been removed: `no longer an warning, #[no_mangle] statics always exported` [INFO] [stderr] --> src/lib.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | private_no_mangle_statics, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: lint name `redundant_closure` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/file_handler.rs:267:48 [INFO] [stderr] | [INFO] [stderr] 267 | #[cfg_attr(feature = "cargo-clippy", allow(redundant_closure))] // because of lifetimes [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: change it to: `clippy::redundant_closure` [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/file_handler.rs:421:24 [INFO] [stderr] | [INFO] [stderr] 421 | let mut home_dir = env::home_dir() [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | deprecated, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `config_file_handler`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: lint name `redundant_closure` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/file_handler.rs:267:48 [INFO] [stderr] | [INFO] [stderr] 267 | #[cfg_attr(feature = "cargo-clippy", allow(redundant_closure))] // because of lifetimes [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: change it to: `clippy::redundant_closure` [INFO] [stderr] [INFO] [stderr] error: lint name `ifs_same_cond` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/file_handler.rs:652:48 [INFO] [stderr] | [INFO] [stderr] 652 | #[cfg_attr(feature = "cargo-clippy", allow(ifs_same_cond))] [INFO] [stderr] | ^^^^^^^^^^^^^ help: change it to: `clippy::ifs_same_cond` [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/file_handler.rs:421:24 [INFO] [stderr] | [INFO] [stderr] 421 | let mut home_dir = env::home_dir() [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | deprecated, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `config_file_handler`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "cf19b01274cec0bfc8b593ccb171db6242e8152562f089ac2bf8affbb48d0143"` [INFO] running `"docker" "rm" "-f" "cf19b01274cec0bfc8b593ccb171db6242e8152562f089ac2bf8affbb48d0143"` [INFO] [stdout] cf19b01274cec0bfc8b593ccb171db6242e8152562f089ac2bf8affbb48d0143