[INFO] crate websocat 1.2.0 is already in cache [INFO] extracting crate websocat 1.2.0 into work/ex/clippy-test-run/sources/stable/reg/websocat/1.2.0 [INFO] extracting crate websocat 1.2.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/websocat/1.2.0 [INFO] validating manifest of websocat-1.2.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 websocat-1.2.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 websocat-1.2.0 [INFO] finished frobbing websocat-1.2.0 [INFO] frobbed toml for websocat-1.2.0 written to work/ex/clippy-test-run/sources/stable/reg/websocat/1.2.0/Cargo.toml [INFO] started frobbing websocat-1.2.0 [INFO] finished frobbing websocat-1.2.0 [INFO] frobbed toml for websocat-1.2.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/websocat/1.2.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 websocat-1.2.0 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-6/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/websocat/1.2.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] 3e4d56c25edc1ba95992d0cba049e20e0d78e18a0b269f53415f1269929068bd [INFO] running `"docker" "start" "-a" "3e4d56c25edc1ba95992d0cba049e20e0d78e18a0b269f53415f1269929068bd"` [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking slab_typesafe v0.1.3 [INFO] [stderr] Compiling structopt-derive v0.2.14 [INFO] [stderr] Checking tokio-io v0.1.11 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking tokio-threadpool v0.1.11 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking hyper v0.10.15 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-stdin-stdout v0.1.5 [INFO] [stderr] Checking tokio-reactor v0.1.8 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-fs v0.1.5 [INFO] [stderr] Checking structopt v0.2.14 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio v0.1.15 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking tokio-signal v0.1.5 [INFO] [stderr] Checking tokio-uds v0.1.5 [INFO] [stderr] Checking websocket v0.21.1 [INFO] [stderr] Checking tokio-file-unix v0.4.2 [INFO] [stderr] Checking tokio-process v0.1.6 [INFO] [stderr] Checking websocat v1.2.0 (/opt/crater/workdir) [INFO] [stderr] warning: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes [INFO] [stderr] --> src/lints.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::deprecated_cfg_attr)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_cfg_attr [INFO] [stderr] [INFO] [stderr] warning: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes [INFO] [stderr] --> src/lints.rs:145:5 [INFO] [stderr] | [INFO] [stderr] 145 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_cfg_attr [INFO] [stderr] [INFO] [stderr] warning: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes [INFO] [stderr] --> src/lints.rs:155:5 [INFO] [stderr] | [INFO] [stderr] 155 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_cfg_attr [INFO] [stderr] [INFO] [stderr] warning: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes [INFO] [stderr] --> src/lints.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::deprecated_cfg_attr)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_cfg_attr [INFO] [stderr] [INFO] [stderr] warning: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes [INFO] [stderr] --> src/lints.rs:145:5 [INFO] [stderr] | [INFO] [stderr] 145 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_cfg_attr [INFO] [stderr] [INFO] [stderr] warning: `cfg_attr` is deprecated for rustfmt and got replaced by tool_attributes [INFO] [stderr] --> src/lints.rs:155:5 [INFO] [stderr] | [INFO] [stderr] 155 | #[cfg_attr(rustfmt, rustfmt_skip)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `#[rustfmt::skip]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#deprecated_cfg_attr [INFO] [stderr] [INFO] [stderr] warning: lint name `collapsible_if` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lints.rs:1:43 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(feature="cargo-clippy", allow(collapsible_if,needless_pass_by_value))] [INFO] [stderr] | ^^^^^^^^^^^^^^ help: change it to: `clippy::collapsible_if` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `needless_pass_by_value` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lints.rs:1:58 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(feature="cargo-clippy", allow(collapsible_if,needless_pass_by_value))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::needless_pass_by_value` [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/lints.rs:146:46 [INFO] [stderr] | [INFO] [stderr] 146 | #[cfg_attr(feature="cargo-clippy", allow(nonminimal_bool))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::nonminimal_bool` [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/lints.rs:156:46 [INFO] [stderr] | [INFO] [stderr] 156 | #[cfg_attr(feature="cargo-clippy", allow(nonminimal_bool))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::nonminimal_bool` [INFO] [stderr] [INFO] [stderr] warning: lint name `needless_pass_by_value` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/http_serve.rs:41:44 [INFO] [stderr] | [INFO] [stderr] 41 | #[cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::needless_pass_by_value` [INFO] [stderr] [INFO] [stderr] warning: lint name `collapsible_if` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/line_peer.rs:172:48 [INFO] [stderr] | [INFO] [stderr] 172 | #[cfg_attr(feature = "cargo-clippy", allow(collapsible_if))] [INFO] [stderr] | ^^^^^^^^^^^^^^ help: change it to: `clippy::collapsible_if` [INFO] [stderr] [INFO] [stderr] warning: lint name `collapsible_if` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/line_peer.rs:206:48 [INFO] [stderr] | [INFO] [stderr] 206 | #[cfg_attr(feature = "cargo-clippy", allow(collapsible_if))] [INFO] [stderr] | ^^^^^^^^^^^^^^ help: change it to: `clippy::collapsible_if` [INFO] [stderr] [INFO] [stderr] warning: lint name `needless_pass_by_value` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/proxy_peer.rs:1:42 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(feature="cargo-clippy",allow(needless_pass_by_value,cast_lossless,identity_op))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::needless_pass_by_value` [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_lossless` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/proxy_peer.rs:1:65 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(feature="cargo-clippy",allow(needless_pass_by_value,cast_lossless,identity_op))] [INFO] [stderr] | ^^^^^^^^^^^^^ help: change it to: `clippy::cast_lossless` [INFO] [stderr] [INFO] [stderr] warning: lint name `identity_op` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/proxy_peer.rs:1:79 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(feature="cargo-clippy",allow(needless_pass_by_value,cast_lossless,identity_op))] [INFO] [stderr] | ^^^^^^^^^^^ help: change it to: `clippy::identity_op` [INFO] [stderr] [INFO] [stderr] warning: lint name `cyclomatic_complexity` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/specparse.rs:49:48 [INFO] [stderr] | [INFO] [stderr] 49 | #[cfg_attr(feature = "cargo-clippy", allow(cyclomatic_complexity))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cyclomatic_complexity` [INFO] [stderr] [INFO] [stderr] warning: 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/util.rs:17:44 [INFO] [stderr] | [INFO] [stderr] 17 | #[cfg_attr(feature = "cargo-clippy", allow(redundant_closure))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: change it to: `clippy::redundant_closure` [INFO] [stderr] [INFO] [stderr] warning: lint name `needless_pass_by_value` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/sessionserve.rs:94:44 [INFO] [stderr] | [INFO] [stderr] 94 | #[cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::needless_pass_by_value` [INFO] [stderr] [INFO] [stderr] warning: lint name `collapsible_if` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lints.rs:1:43 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(feature="cargo-clippy", allow(collapsible_if,needless_pass_by_value))] [INFO] [stderr] | ^^^^^^^^^^^^^^ help: change it to: `clippy::collapsible_if` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_io::codec::Framed': Moved to tokio-codec [INFO] [stderr] --> src/ws_peer.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | tokio_io::codec::Framed>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_io::codec::Framed': Moved to tokio-codec [INFO] [stderr] --> src/ws_peer.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | tokio_io::codec::Framed>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lint name `collapsible_if` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lints.rs:1:43 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(feature="cargo-clippy", allow(collapsible_if,needless_pass_by_value))] [INFO] [stderr] | ^^^^^^^^^^^^^^ help: change it to: `clippy::collapsible_if` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `needless_pass_by_value` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lints.rs:1:58 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(feature="cargo-clippy", allow(collapsible_if,needless_pass_by_value))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::needless_pass_by_value` [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/lints.rs:146:46 [INFO] [stderr] | [INFO] [stderr] 146 | #[cfg_attr(feature="cargo-clippy", allow(nonminimal_bool))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::nonminimal_bool` [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/lints.rs:156:46 [INFO] [stderr] | [INFO] [stderr] 156 | #[cfg_attr(feature="cargo-clippy", allow(nonminimal_bool))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::nonminimal_bool` [INFO] [stderr] [INFO] [stderr] warning: lint name `needless_pass_by_value` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/http_serve.rs:41:44 [INFO] [stderr] | [INFO] [stderr] 41 | #[cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::needless_pass_by_value` [INFO] [stderr] [INFO] [stderr] warning: lint name `collapsible_if` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/line_peer.rs:172:48 [INFO] [stderr] | [INFO] [stderr] 172 | #[cfg_attr(feature = "cargo-clippy", allow(collapsible_if))] [INFO] [stderr] | ^^^^^^^^^^^^^^ help: change it to: `clippy::collapsible_if` [INFO] [stderr] [INFO] [stderr] warning: lint name `collapsible_if` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/line_peer.rs:206:48 [INFO] [stderr] | [INFO] [stderr] 206 | #[cfg_attr(feature = "cargo-clippy", allow(collapsible_if))] [INFO] [stderr] | ^^^^^^^^^^^^^^ help: change it to: `clippy::collapsible_if` [INFO] [stderr] [INFO] [stderr] warning: lint name `needless_pass_by_value` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/proxy_peer.rs:1:42 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(feature="cargo-clippy",allow(needless_pass_by_value,cast_lossless,identity_op))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::needless_pass_by_value` [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_lossless` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/proxy_peer.rs:1:65 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(feature="cargo-clippy",allow(needless_pass_by_value,cast_lossless,identity_op))] [INFO] [stderr] | ^^^^^^^^^^^^^ help: change it to: `clippy::cast_lossless` [INFO] [stderr] [INFO] [stderr] warning: lint name `identity_op` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/proxy_peer.rs:1:79 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(feature="cargo-clippy",allow(needless_pass_by_value,cast_lossless,identity_op))] [INFO] [stderr] | ^^^^^^^^^^^ help: change it to: `clippy::identity_op` [INFO] [stderr] [INFO] [stderr] warning: lint name `cyclomatic_complexity` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/specparse.rs:49:48 [INFO] [stderr] | [INFO] [stderr] 49 | #[cfg_attr(feature = "cargo-clippy", allow(cyclomatic_complexity))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cyclomatic_complexity` [INFO] [stderr] [INFO] [stderr] warning: 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/util.rs:17:44 [INFO] [stderr] | [INFO] [stderr] 17 | #[cfg_attr(feature = "cargo-clippy", allow(redundant_closure))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: change it to: `clippy::redundant_closure` [INFO] [stderr] [INFO] [stderr] warning: lint name `needless_pass_by_value` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/sessionserve.rs:94:44 [INFO] [stderr] | [INFO] [stderr] 94 | #[cfg_attr(feature = "cargo-clippy", allow(needless_pass_by_value))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::needless_pass_by_value` [INFO] [stderr] [INFO] [stderr] warning: lint name `collapsible_if` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lints.rs:1:43 [INFO] [stderr] | [INFO] [stderr] 1 | #![cfg_attr(feature="cargo-clippy", allow(collapsible_if,needless_pass_by_value))] [INFO] [stderr] | ^^^^^^^^^^^^^^ help: change it to: `clippy::collapsible_if` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_io::codec::Framed': Moved to tokio-codec [INFO] [stderr] --> src/ws_peer.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | tokio_io::codec::Framed>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'tokio_io::codec::Framed': Moved to tokio-codec [INFO] [stderr] --> src/ws_peer.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | tokio_io::codec::Framed>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/help.rs:26:44 [INFO] [stderr] | [INFO] [stderr] 26 | #[cfg_attr(feature = "cargo-clippy", allow(nonminimal_bool))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::nonminimal_bool` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: this `else { if .. }` block can be collapsed [INFO] [stderr] --> src/main.rs:572:24 [INFO] [stderr] | [INFO] [stderr] 572 | } else { [INFO] [stderr] | ________________________^ [INFO] [stderr] 573 | | if cmds1.contains(':') { [INFO] [stderr] 574 | | if !quiet { [INFO] [stderr] 575 | | eprintln!("Listening on wss://{}/", cmds1); [INFO] [stderr] ... | [INFO] [stderr] 583 | | } [INFO] [stderr] 584 | | } [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::collapsible_if)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stderr] help: try [INFO] [stderr] | [INFO] [stderr] 572 | } else if cmds1.contains(':') { [INFO] [stderr] 573 | if !quiet { [INFO] [stderr] 574 | eprintln!("Listening on wss://{}/", cmds1); [INFO] [stderr] 575 | } [INFO] [stderr] 576 | (format!("wss-l:{}", cmds1), "-".to_string()) [INFO] [stderr] 577 | } else { [INFO] [stderr] ... [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/help.rs:26:44 [INFO] [stderr] | [INFO] [stderr] 26 | #[cfg_attr(feature = "cargo-clippy", allow(nonminimal_bool))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::nonminimal_bool` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: this `else { if .. }` block can be collapsed [INFO] [stderr] --> src/main.rs:572:24 [INFO] [stderr] | [INFO] [stderr] 572 | } else { [INFO] [stderr] | ________________________^ [INFO] [stderr] 573 | | if cmds1.contains(':') { [INFO] [stderr] 574 | | if !quiet { [INFO] [stderr] 575 | | eprintln!("Listening on wss://{}/", cmds1); [INFO] [stderr] ... | [INFO] [stderr] 583 | | } [INFO] [stderr] 584 | | } [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::collapsible_if)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stderr] help: try [INFO] [stderr] | [INFO] [stderr] 572 | } else if cmds1.contains(':') { [INFO] [stderr] 573 | if !quiet { [INFO] [stderr] 574 | eprintln!("Listening on wss://{}/", cmds1); [INFO] [stderr] 575 | } [INFO] [stderr] 576 | (format!("wss-l:{}", cmds1), "-".to_string()) [INFO] [stderr] 577 | } else { [INFO] [stderr] ... [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/help.rs:26:44 [INFO] [stderr] | [INFO] [stderr] 26 | #[cfg_attr(feature = "cargo-clippy", allow(nonminimal_bool))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::nonminimal_bool` [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/help.rs:26:44 [INFO] [stderr] | [INFO] [stderr] 26 | #[cfg_attr(feature = "cargo-clippy", allow(nonminimal_bool))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::nonminimal_bool` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 58.00s [INFO] running `"docker" "inspect" "3e4d56c25edc1ba95992d0cba049e20e0d78e18a0b269f53415f1269929068bd"` [INFO] running `"docker" "rm" "-f" "3e4d56c25edc1ba95992d0cba049e20e0d78e18a0b269f53415f1269929068bd"` [INFO] [stdout] 3e4d56c25edc1ba95992d0cba049e20e0d78e18a0b269f53415f1269929068bd