[INFO] crate topological-sort 0.1.0 is already in cache [INFO] extracting crate topological-sort 0.1.0 into work/ex/clippy-test-run/sources/stable/reg/topological-sort/0.1.0 [INFO] extracting crate topological-sort 0.1.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/topological-sort/0.1.0 [INFO] validating manifest of topological-sort-0.1.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 topological-sort-0.1.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 topological-sort-0.1.0 [INFO] finished frobbing topological-sort-0.1.0 [INFO] frobbed toml for topological-sort-0.1.0 written to work/ex/clippy-test-run/sources/stable/reg/topological-sort/0.1.0/Cargo.toml [INFO] started frobbing topological-sort-0.1.0 [INFO] finished frobbing topological-sort-0.1.0 [INFO] frobbed toml for topological-sort-0.1.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/topological-sort/0.1.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 topological-sort-0.1.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/topological-sort/0.1.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] 050c91721dd172f543567982f5d3a80b0a425e2e60e9ce931cfefb189a584da5 [INFO] running `"docker" "start" "-a" "050c91721dd172f543567982f5d3a80b0a425e2e60e9ce931cfefb189a584da5"` [INFO] [stderr] Checking topological-sort v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: lint name `if_not_else` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:21:44 [INFO] [stderr] | [INFO] [stderr] 21 | #![cfg_attr(feature = "cargo-clippy", warn(if_not_else))] [INFO] [stderr] | ^^^^^^^^^^^ help: change it to: `clippy::if_not_else` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `invalid_upcast_comparisons` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:22:44 [INFO] [stderr] | [INFO] [stderr] 22 | #![cfg_attr(feature = "cargo-clippy", warn(invalid_upcast_comparisons))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::invalid_upcast_comparisons` [INFO] [stderr] [INFO] [stderr] warning: lint name `items_after_statements` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:23:44 [INFO] [stderr] | [INFO] [stderr] 23 | #![cfg_attr(feature = "cargo-clippy", warn(items_after_statements))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::items_after_statements` [INFO] [stderr] [INFO] [stderr] warning: lint name `mut_mut` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:24:44 [INFO] [stderr] | [INFO] [stderr] 24 | #![cfg_attr(feature = "cargo-clippy", warn(mut_mut))] [INFO] [stderr] | ^^^^^^^ help: change it to: `clippy::mut_mut` [INFO] [stderr] [INFO] [stderr] warning: lint name `never_loop` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:25:44 [INFO] [stderr] | [INFO] [stderr] 25 | #![cfg_attr(feature = "cargo-clippy", warn(never_loop))] [INFO] [stderr] | ^^^^^^^^^^ help: change it to: `clippy::never_loop` [INFO] [stderr] [INFO] [stderr] warning: lint name `nonminimal_bool` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:26:44 [INFO] [stderr] | [INFO] [stderr] 26 | #![cfg_attr(feature = "cargo-clippy", warn(nonminimal_bool))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::nonminimal_bool` [INFO] [stderr] [INFO] [stderr] warning: lint name `option_map_unwrap_or` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:27:44 [INFO] [stderr] | [INFO] [stderr] 27 | #![cfg_attr(feature = "cargo-clippy", warn(option_map_unwrap_or))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::option_map_unwrap_or` [INFO] [stderr] [INFO] [stderr] warning: lint name `option_map_unwrap_or_else` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:28:44 [INFO] [stderr] | [INFO] [stderr] 28 | #![cfg_attr(feature = "cargo-clippy", warn(option_map_unwrap_or_else))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::option_map_unwrap_or_else` [INFO] [stderr] [INFO] [stderr] warning: lint name `option_unwrap_used` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:29:44 [INFO] [stderr] | [INFO] [stderr] 29 | #![cfg_attr(feature = "cargo-clippy", warn(option_unwrap_used))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::option_unwrap_used` [INFO] [stderr] [INFO] [stderr] warning: lint name `result_unwrap_used` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:30:44 [INFO] [stderr] | [INFO] [stderr] 30 | #![cfg_attr(feature = "cargo-clippy", warn(result_unwrap_used))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::result_unwrap_used` [INFO] [stderr] [INFO] [stderr] warning: lint name `used_underscore_binding` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:31:44 [INFO] [stderr] | [INFO] [stderr] 31 | #![cfg_attr(feature = "cargo-clippy", warn(used_underscore_binding))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::used_underscore_binding` [INFO] [stderr] [INFO] [stderr] warning: lint name `if_not_else` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:21:44 [INFO] [stderr] | [INFO] [stderr] 21 | #![cfg_attr(feature = "cargo-clippy", warn(if_not_else))] [INFO] [stderr] | ^^^^^^^^^^^ help: change it to: `clippy::if_not_else` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `invalid_upcast_comparisons` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:22:44 [INFO] [stderr] | [INFO] [stderr] 22 | #![cfg_attr(feature = "cargo-clippy", warn(invalid_upcast_comparisons))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::invalid_upcast_comparisons` [INFO] [stderr] [INFO] [stderr] warning: lint name `items_after_statements` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:23:44 [INFO] [stderr] | [INFO] [stderr] 23 | #![cfg_attr(feature = "cargo-clippy", warn(items_after_statements))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::items_after_statements` [INFO] [stderr] [INFO] [stderr] warning: lint name `mut_mut` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:24:44 [INFO] [stderr] | [INFO] [stderr] 24 | #![cfg_attr(feature = "cargo-clippy", warn(mut_mut))] [INFO] [stderr] | ^^^^^^^ help: change it to: `clippy::mut_mut` [INFO] [stderr] [INFO] [stderr] warning: lint name `never_loop` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:25:44 [INFO] [stderr] | [INFO] [stderr] 25 | #![cfg_attr(feature = "cargo-clippy", warn(never_loop))] [INFO] [stderr] | ^^^^^^^^^^ help: change it to: `clippy::never_loop` [INFO] [stderr] [INFO] [stderr] warning: lint name `nonminimal_bool` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:26:44 [INFO] [stderr] | [INFO] [stderr] 26 | #![cfg_attr(feature = "cargo-clippy", warn(nonminimal_bool))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::nonminimal_bool` [INFO] [stderr] [INFO] [stderr] warning: lint name `option_map_unwrap_or` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:27:44 [INFO] [stderr] | [INFO] [stderr] 27 | #![cfg_attr(feature = "cargo-clippy", warn(option_map_unwrap_or))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::option_map_unwrap_or` [INFO] [stderr] [INFO] [stderr] warning: lint name `option_map_unwrap_or_else` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:28:44 [INFO] [stderr] | [INFO] [stderr] 28 | #![cfg_attr(feature = "cargo-clippy", warn(option_map_unwrap_or_else))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::option_map_unwrap_or_else` [INFO] [stderr] [INFO] [stderr] warning: lint name `option_unwrap_used` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:29:44 [INFO] [stderr] | [INFO] [stderr] 29 | #![cfg_attr(feature = "cargo-clippy", warn(option_unwrap_used))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::option_unwrap_used` [INFO] [stderr] [INFO] [stderr] warning: lint name `result_unwrap_used` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:30:44 [INFO] [stderr] | [INFO] [stderr] 30 | #![cfg_attr(feature = "cargo-clippy", warn(result_unwrap_used))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::result_unwrap_used` [INFO] [stderr] [INFO] [stderr] warning: lint name `used_underscore_binding` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:31:44 [INFO] [stderr] | [INFO] [stderr] 31 | #![cfg_attr(feature = "cargo-clippy", warn(used_underscore_binding))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::used_underscore_binding` [INFO] [stderr] [INFO] [stderr] warning: lint name `if_not_else` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:21:44 [INFO] [stderr] | [INFO] [stderr] 21 | #![cfg_attr(feature = "cargo-clippy", warn(if_not_else))] [INFO] [stderr] | ^^^^^^^^^^^ help: change it to: `clippy::if_not_else` [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `TopologicalSort` [INFO] [stderr] --> src/lib.rs:85:5 [INFO] [stderr] | [INFO] [stderr] 85 | / pub fn new() -> TopologicalSort { [INFO] [stderr] 86 | | TopologicalSort { [INFO] [stderr] 87 | | top: HashMap::new(), [INFO] [stderr] 88 | | } [INFO] [stderr] 89 | | } [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] 59 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: lint name `if_not_else` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:21:44 [INFO] [stderr] | [INFO] [stderr] 21 | #![cfg_attr(feature = "cargo-clippy", warn(if_not_else))] [INFO] [stderr] | ^^^^^^^^^^^ help: change it to: `clippy::if_not_else` [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `TopologicalSort` [INFO] [stderr] --> src/lib.rs:85:5 [INFO] [stderr] | [INFO] [stderr] 85 | / pub fn new() -> TopologicalSort { [INFO] [stderr] 86 | | TopologicalSort { [INFO] [stderr] 87 | | top: HashMap::new(), [INFO] [stderr] 88 | | } [INFO] [stderr] 89 | | } [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] 59 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.54s [INFO] running `"docker" "inspect" "050c91721dd172f543567982f5d3a80b0a425e2e60e9ce931cfefb189a584da5"` [INFO] running `"docker" "rm" "-f" "050c91721dd172f543567982f5d3a80b0a425e2e60e9ce931cfefb189a584da5"` [INFO] [stdout] 050c91721dd172f543567982f5d3a80b0a425e2e60e9ce931cfefb189a584da5