[INFO] updating cached repository intrepion/example-x-rust-x-rustbyexample-com-x-scope-borrow-ref [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/intrepion/example-x-rust-x-rustbyexample-com-x-scope-borrow-ref [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/intrepion/example-x-rust-x-rustbyexample-com-x-scope-borrow-ref" "work/ex/clippy-test-run/sources/stable/gh/intrepion/example-x-rust-x-rustbyexample-com-x-scope-borrow-ref"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/intrepion/example-x-rust-x-rustbyexample-com-x-scope-borrow-ref'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/intrepion/example-x-rust-x-rustbyexample-com-x-scope-borrow-ref" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/intrepion/example-x-rust-x-rustbyexample-com-x-scope-borrow-ref"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/intrepion/example-x-rust-x-rustbyexample-com-x-scope-borrow-ref'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 7b09d25ef941062fe79f1ae3c749968ef21b8d38 [INFO] sha for GitHub repo intrepion/example-x-rust-x-rustbyexample-com-x-scope-borrow-ref: 7b09d25ef941062fe79f1ae3c749968ef21b8d38 [INFO] validating manifest of intrepion/example-x-rust-x-rustbyexample-com-x-scope-borrow-ref 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 intrepion/example-x-rust-x-rustbyexample-com-x-scope-borrow-ref 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 intrepion/example-x-rust-x-rustbyexample-com-x-scope-borrow-ref [INFO] finished frobbing intrepion/example-x-rust-x-rustbyexample-com-x-scope-borrow-ref [INFO] frobbed toml for intrepion/example-x-rust-x-rustbyexample-com-x-scope-borrow-ref written to work/ex/clippy-test-run/sources/stable/gh/intrepion/example-x-rust-x-rustbyexample-com-x-scope-borrow-ref/Cargo.toml [INFO] started frobbing intrepion/example-x-rust-x-rustbyexample-com-x-scope-borrow-ref [INFO] finished frobbing intrepion/example-x-rust-x-rustbyexample-com-x-scope-borrow-ref [INFO] frobbed toml for intrepion/example-x-rust-x-rustbyexample-com-x-scope-borrow-ref written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/intrepion/example-x-rust-x-rustbyexample-com-x-scope-borrow-ref/Cargo.toml [INFO] crate intrepion/example-x-rust-x-rustbyexample-com-x-scope-borrow-ref has a lockfile. skipping [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 intrepion/example-x-rust-x-rustbyexample-com-x-scope-borrow-ref against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-4/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/intrepion/example-x-rust-x-rustbyexample-com-x-scope-borrow-ref:/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] ba5dc2327ed88b134b1d52ee9cf91b68e7e7e6f1c469a17579fc4973974fa0cb [INFO] running `"docker" "start" "-a" "ba5dc2327ed88b134b1d52ee9cf91b68e7e7e6f1c469a17579fc4973974fa0cb"` [INFO] [stderr] Checking example-x-rust-x-rustbyexample-com-x-scope-borrow-ref v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/main.rs:19:38 [INFO] [stderr] | [INFO] [stderr] 19 | let Point { x: ref ref_to_x, y: _ } = point; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unneeded_field_pattern)] on by default [INFO] [stderr] = help: Try with `Point { x: ref ref_to_x, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/main.rs:30:21 [INFO] [stderr] | [INFO] [stderr] 30 | let Point { x: _, y: ref mut mut_ref_to_y } = mutable_point; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Point { y: ref mut mut_ref_to_y, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/main.rs:19:38 [INFO] [stderr] | [INFO] [stderr] 19 | let Point { x: ref ref_to_x, y: _ } = point; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unneeded_field_pattern)] on by default [INFO] [stderr] = help: Try with `Point { x: ref ref_to_x, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: You matched a field with a wildcard pattern. Consider using `..` instead [INFO] [stderr] --> src/main.rs:30:21 [INFO] [stderr] | [INFO] [stderr] 30 | let Point { x: _, y: ref mut mut_ref_to_y } = mutable_point; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: Try with `Point { y: ref mut mut_ref_to_y, .. }` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern [INFO] [stderr] [INFO] [stderr] warning: `ref` on an entire `let` pattern is discouraged, take a reference with `&` instead [INFO] [stderr] --> src/main.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | let ref ref_c1 = c; [INFO] [stderr] | ----^^^^^^^^^^----- help: try: `let ref_c1 = &c;` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::toplevel_ref_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#toplevel_ref_arg [INFO] [stderr] [INFO] [stderr] warning: `ref` on an entire `let` pattern is discouraged, take a reference with `&` instead [INFO] [stderr] --> src/main.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | let ref ref_c1 = c; [INFO] [stderr] | ----^^^^^^^^^^----- help: try: `let ref_c1 = &c;` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::toplevel_ref_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#toplevel_ref_arg [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `"docker" "inspect" "ba5dc2327ed88b134b1d52ee9cf91b68e7e7e6f1c469a17579fc4973974fa0cb"` [INFO] running `"docker" "rm" "-f" "ba5dc2327ed88b134b1d52ee9cf91b68e7e7e6f1c469a17579fc4973974fa0cb"` [INFO] [stdout] ba5dc2327ed88b134b1d52ee9cf91b68e7e7e6f1c469a17579fc4973974fa0cb