[INFO] crate jsonrpc_client 0.2.0 is already in cache [INFO] extracting crate jsonrpc_client 0.2.0 into work/ex/clippy-test-run/sources/stable/reg/jsonrpc_client/0.2.0 [INFO] extracting crate jsonrpc_client 0.2.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/jsonrpc_client/0.2.0 [INFO] validating manifest of jsonrpc_client-0.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 jsonrpc_client-0.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 jsonrpc_client-0.2.0 [INFO] finished frobbing jsonrpc_client-0.2.0 [INFO] frobbed toml for jsonrpc_client-0.2.0 written to work/ex/clippy-test-run/sources/stable/reg/jsonrpc_client/0.2.0/Cargo.toml [INFO] started frobbing jsonrpc_client-0.2.0 [INFO] finished frobbing jsonrpc_client-0.2.0 [INFO] frobbed toml for jsonrpc_client-0.2.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/jsonrpc_client/0.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 jsonrpc_client-0.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/jsonrpc_client/0.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] 8f2aa38f5d9cd068fe29b5779ca6f525f8297c7f67a85c1e27e9076c0f8db109 [INFO] running `"docker" "start" "-a" "8f2aa38f5d9cd068fe29b5779ca6f525f8297c7f67a85c1e27e9076c0f8db109"` [INFO] [stderr] Checking globset v0.1.4 [INFO] [stderr] Checking jsonrpc-core v8.0.1 [INFO] [stderr] Checking spectral v0.6.0 [INFO] [stderr] Checking reqwest v0.9.9 [INFO] [stderr] Checking jsonrpc-server-utils v8.0.0 [INFO] [stderr] Checking jsonrpc_client v0.2.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/request.rs:130:13 [INFO] [stderr] | [INFO] [stderr] 130 | params: params, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `params` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] Checking jsonrpc-http-server v8.0.0 [INFO] [stderr] warning: this function has too many arguments (8/7) [INFO] [stderr] --> src/request.rs:75:5 [INFO] [stderr] | [INFO] [stderr] 75 | / pub fn new5( [INFO] [stderr] 76 | | version: JsonRpcVersion, [INFO] [stderr] 77 | | id: &str, [INFO] [stderr] 78 | | method: &str, [INFO] [stderr] ... | [INFO] [stderr] 92 | | RpcRequest::new(version, id, method, (first, second, third, fourth, fifth)) [INFO] [stderr] 93 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::too_many_arguments)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stderr] [INFO] [stderr] warning: this function has too many arguments (9/7) [INFO] [stderr] --> src/request.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | / pub fn new6( [INFO] [stderr] 96 | | version: JsonRpcVersion, [INFO] [stderr] 97 | | id: &str, [INFO] [stderr] 98 | | method: &str, [INFO] [stderr] ... | [INFO] [stderr] 119 | | ) [INFO] [stderr] 120 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stderr] [INFO] [stderr] warning: methods called `new` usually return `Self` [INFO] [stderr] --> src/request.rs:122:5 [INFO] [stderr] | [INFO] [stderr] 122 | / fn new

(version: JsonRpcVersion, id: &str, method: &str, params: P) -> RpcRequest

[INFO] [stderr] 123 | | where [INFO] [stderr] 124 | | P: Serialize, [INFO] [stderr] 125 | | { [INFO] [stderr] ... | [INFO] [stderr] 131 | | } [INFO] [stderr] 132 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_ret_no_self)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_ret_no_self [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/request.rs:130:13 [INFO] [stderr] | [INFO] [stderr] 130 | params: params, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `params` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: long literal lacking separators [INFO] [stderr] --> src/response.rs:60:60 [INFO] [stderr] | [INFO] [stderr] 60 | assert_eq!(deserialized_response.into_result(), Ok(519521)); [INFO] [stderr] | ^^^^^^ help: consider: `519_521` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unreadable_literal)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stderr] [INFO] [stderr] warning: this function has too many arguments (8/7) [INFO] [stderr] --> src/request.rs:75:5 [INFO] [stderr] | [INFO] [stderr] 75 | / pub fn new5( [INFO] [stderr] 76 | | version: JsonRpcVersion, [INFO] [stderr] 77 | | id: &str, [INFO] [stderr] 78 | | method: &str, [INFO] [stderr] ... | [INFO] [stderr] 92 | | RpcRequest::new(version, id, method, (first, second, third, fourth, fifth)) [INFO] [stderr] 93 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::too_many_arguments)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stderr] [INFO] [stderr] warning: this function has too many arguments (9/7) [INFO] [stderr] --> src/request.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | / pub fn new6( [INFO] [stderr] 96 | | version: JsonRpcVersion, [INFO] [stderr] 97 | | id: &str, [INFO] [stderr] 98 | | method: &str, [INFO] [stderr] ... | [INFO] [stderr] 119 | | ) [INFO] [stderr] 120 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stderr] [INFO] [stderr] warning: methods called `new` usually return `Self` [INFO] [stderr] --> src/request.rs:122:5 [INFO] [stderr] | [INFO] [stderr] 122 | / fn new

(version: JsonRpcVersion, id: &str, method: &str, params: P) -> RpcRequest

[INFO] [stderr] 123 | | where [INFO] [stderr] 124 | | P: Serialize, [INFO] [stderr] 125 | | { [INFO] [stderr] ... | [INFO] [stderr] 131 | | } [INFO] [stderr] 132 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_ret_no_self)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_ret_no_self [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.90s [INFO] running `"docker" "inspect" "8f2aa38f5d9cd068fe29b5779ca6f525f8297c7f67a85c1e27e9076c0f8db109"` [INFO] running `"docker" "rm" "-f" "8f2aa38f5d9cd068fe29b5779ca6f525f8297c7f67a85c1e27e9076c0f8db109"` [INFO] [stdout] 8f2aa38f5d9cd068fe29b5779ca6f525f8297c7f67a85c1e27e9076c0f8db109