[INFO] updating cached repository hashedone/anixe [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/hashedone/anixe [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/hashedone/anixe" "work/ex/clippy-test-run/sources/stable/gh/hashedone/anixe"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/hashedone/anixe'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/hashedone/anixe" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/hashedone/anixe"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/hashedone/anixe'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 80d098d90b91ffe82c11e7fce99487829765f0ca [INFO] sha for GitHub repo hashedone/anixe: 80d098d90b91ffe82c11e7fce99487829765f0ca [INFO] validating manifest of hashedone/anixe 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 hashedone/anixe 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 hashedone/anixe [INFO] finished frobbing hashedone/anixe [INFO] frobbed toml for hashedone/anixe written to work/ex/clippy-test-run/sources/stable/gh/hashedone/anixe/Cargo.toml [INFO] started frobbing hashedone/anixe [INFO] finished frobbing hashedone/anixe [INFO] frobbed toml for hashedone/anixe written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/hashedone/anixe/Cargo.toml [INFO] crate hashedone/anixe 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 hashedone/anixe 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/gh/hashedone/anixe:/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] 17ef48c4f1b5cce0d2a85c9238fd56616add74e54afd96e79c218c80b5ab283d [INFO] running `"docker" "start" "-a" "17ef48c4f1b5cce0d2a85c9238fd56616add74e54afd96e79c218c80b5ab283d"` [INFO] [stderr] Checking memchr v2.0.2 [INFO] [stderr] Checking csv-core v0.1.4 [INFO] [stderr] Checking csv v1.0.1 [INFO] [stderr] Checking anixe v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/main.rs:119:13 [INFO] [stderr] | [INFO] [stderr] 119 | room_name: room_name, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `room_name` [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/main.rs:119:13 [INFO] [stderr] | [INFO] [stderr] 119 | room_name: room_name, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `room_name` [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: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/main.rs:18:30 [INFO] [stderr] | [INFO] [stderr] 18 | fn serialize_price(price: &f32, serializer: S) -> Result [INFO] [stderr] | ^^^^ help: consider passing by value instead: `f32` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::trivially_copy_pass_by_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/main.rs:18:30 [INFO] [stderr] | [INFO] [stderr] 18 | fn serialize_price(price: &f32, serializer: S) -> Result [INFO] [stderr] | ^^^^ help: consider passing by value instead: `f32` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::trivially_copy_pass_by_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.68s [INFO] running `"docker" "inspect" "17ef48c4f1b5cce0d2a85c9238fd56616add74e54afd96e79c218c80b5ab283d"` [INFO] running `"docker" "rm" "-f" "17ef48c4f1b5cce0d2a85c9238fd56616add74e54afd96e79c218c80b5ab283d"` [INFO] [stdout] 17ef48c4f1b5cce0d2a85c9238fd56616add74e54afd96e79c218c80b5ab283d