[INFO] crate yew_simple 0.3.0 is already in cache [INFO] extracting crate yew_simple 0.3.0 into work/ex/clippy-test-run/sources/stable/reg/yew_simple/0.3.0 [INFO] extracting crate yew_simple 0.3.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/yew_simple/0.3.0 [INFO] validating manifest of yew_simple-0.3.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 yew_simple-0.3.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 yew_simple-0.3.0 [INFO] finished frobbing yew_simple-0.3.0 [INFO] frobbed toml for yew_simple-0.3.0 written to work/ex/clippy-test-run/sources/stable/reg/yew_simple/0.3.0/Cargo.toml [INFO] started frobbing yew_simple-0.3.0 [INFO] finished frobbing yew_simple-0.3.0 [INFO] frobbed toml for yew_simple-0.3.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/yew_simple/0.3.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 yew_simple-0.3.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/yew_simple/0.3.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] 11c3dfe81779c4f57dd27f0e2fe5db674d7b4b2facb2fb9fc620f5162d87c71d [INFO] running `"docker" "start" "-a" "11c3dfe81779c4f57dd27f0e2fe5db674d7b4b2facb2fb9fc620f5162d87c71d"` [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.3 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling base-x v0.2.4 [INFO] [stderr] Checking expect_macro v0.2.1 [INFO] [stderr] Compiling serde v1.0.85 [INFO] [stderr] Compiling stdweb v0.4.13 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.37 [INFO] [stderr] Compiling stdweb-derive v0.5.1 [INFO] [stderr] Compiling stdweb-internal-macros v0.2.5 [INFO] [stderr] Checking yew v0.4.0 [INFO] [stderr] Checking yew_simple v0.3.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/router.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | url: url, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `url` [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: redundant field names in struct initialization [INFO] [stderr] --> src/router.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | state: state, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `state` [INFO] [stderr] | [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: redundant field names in struct initialization [INFO] [stderr] --> src/router.rs:92:13 [INFO] [stderr] | [INFO] [stderr] 92 | handle2: handle2, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace it with: `handle2` [INFO] [stderr] | [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: redundant field names in struct initialization [INFO] [stderr] --> src/router.rs:93:13 [INFO] [stderr] | [INFO] [stderr] 93 | route_fn: route_fn, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `route_fn` [INFO] [stderr] | [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: redundant field names in struct initialization [INFO] [stderr] --> src/router.rs:95:13 [INFO] [stderr] | [INFO] [stderr] 95 | window: window, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `window` [INFO] [stderr] | [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: redundant field names in struct initialization [INFO] [stderr] --> src/router.rs:111:13 [INFO] [stderr] | [INFO] [stderr] 111 | url: url, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `url` [INFO] [stderr] | [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: redundant field names in struct initialization [INFO] [stderr] --> src/router.rs:112:13 [INFO] [stderr] | [INFO] [stderr] 112 | state: state, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `state` [INFO] [stderr] | [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: redundant field names in struct initialization [INFO] [stderr] --> src/router.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | url: url, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `url` [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: redundant field names in struct initialization [INFO] [stderr] --> src/router.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | state: state, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `state` [INFO] [stderr] | [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: redundant field names in struct initialization [INFO] [stderr] --> src/router.rs:92:13 [INFO] [stderr] | [INFO] [stderr] 92 | handle2: handle2, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: replace it with: `handle2` [INFO] [stderr] | [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: redundant field names in struct initialization [INFO] [stderr] --> src/router.rs:93:13 [INFO] [stderr] | [INFO] [stderr] 93 | route_fn: route_fn, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `route_fn` [INFO] [stderr] | [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: redundant field names in struct initialization [INFO] [stderr] --> src/router.rs:95:13 [INFO] [stderr] | [INFO] [stderr] 95 | window: window, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `window` [INFO] [stderr] | [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: redundant field names in struct initialization [INFO] [stderr] --> src/router.rs:111:13 [INFO] [stderr] | [INFO] [stderr] 111 | url: url, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `url` [INFO] [stderr] | [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: redundant field names in struct initialization [INFO] [stderr] --> src/router.rs:112:13 [INFO] [stderr] | [INFO] [stderr] 112 | state: state, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `state` [INFO] [stderr] | [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: unused imports: `HeaderMap`, `Method`, `StatusCode`, `Uri` [INFO] [stderr] --> src/fetch.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | use http::{HeaderMap, Method, StatusCode, Uri}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unneeded unit return type [INFO] [stderr] --> src/fetch.rs:83:83 [INFO] [stderr] | [INFO] [stderr] 83 | let js_callback = move |success: bool, response: Value, recv_body: String| -> () { [INFO] [stderr] | ^^^^^ help: remove the `-> ()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unused_unit)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stderr] [INFO] [stderr] warning: unused variable: `success` [INFO] [stderr] --> src/fetch.rs:83:32 [INFO] [stderr] | [INFO] [stderr] 83 | let js_callback = move |success: bool, response: Value, recv_body: String| -> () { [INFO] [stderr] | ^^^^^^^ help: consider using `_success` instead [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HeaderMap`, `Method`, `StatusCode`, `Uri` [INFO] [stderr] --> src/fetch.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | use http::{HeaderMap, Method, StatusCode, Uri}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unneeded unit return type [INFO] [stderr] --> src/fetch.rs:83:83 [INFO] [stderr] | [INFO] [stderr] 83 | let js_callback = move |success: bool, response: Value, recv_body: String| -> () { [INFO] [stderr] | ^^^^^ help: remove the `-> ()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unused_unit)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stderr] [INFO] [stderr] warning: unused variable: `success` [INFO] [stderr] --> src/fetch.rs:83:32 [INFO] [stderr] | [INFO] [stderr] 83 | let js_callback = move |success: bool, response: Value, recv_body: String| -> () { [INFO] [stderr] | ^^^^^^^ help: consider using `_success` instead [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 55.99s [INFO] running `"docker" "inspect" "11c3dfe81779c4f57dd27f0e2fe5db674d7b4b2facb2fb9fc620f5162d87c71d"` [INFO] running `"docker" "rm" "-f" "11c3dfe81779c4f57dd27f0e2fe5db674d7b4b2facb2fb9fc620f5162d87c71d"` [INFO] [stdout] 11c3dfe81779c4f57dd27f0e2fe5db674d7b4b2facb2fb9fc620f5162d87c71d