[INFO] updating cached repository tinco/rust-static_any_map [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/tinco/rust-static_any_map [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/tinco/rust-static_any_map" "work/ex/clippy-test-run/sources/stable/gh/tinco/rust-static_any_map"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/tinco/rust-static_any_map'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/tinco/rust-static_any_map" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/tinco/rust-static_any_map"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/tinco/rust-static_any_map'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 909025e6146137938d43fd01b2f715a990358662 [INFO] sha for GitHub repo tinco/rust-static_any_map: 909025e6146137938d43fd01b2f715a990358662 [INFO] validating manifest of tinco/rust-static_any_map 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 tinco/rust-static_any_map 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 tinco/rust-static_any_map [INFO] finished frobbing tinco/rust-static_any_map [INFO] frobbed toml for tinco/rust-static_any_map written to work/ex/clippy-test-run/sources/stable/gh/tinco/rust-static_any_map/Cargo.toml [INFO] started frobbing tinco/rust-static_any_map [INFO] finished frobbing tinco/rust-static_any_map [INFO] frobbed toml for tinco/rust-static_any_map written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/tinco/rust-static_any_map/Cargo.toml [INFO] crate tinco/rust-static_any_map 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 tinco/rust-static_any_map 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/tinco/rust-static_any_map:/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] 6901f0b5a541f0d1bd0edac316ad372f571d7954c5b9c11d33dced30032c79f2 [INFO] running `"docker" "start" "-a" "6901f0b5a541f0d1bd0edac316ad372f571d7954c5b9c11d33dced30032c79f2"` [INFO] [stderr] Checking poison v0.1.0 [INFO] [stderr] Checking shared-mutex v0.3.1 [INFO] [stderr] Checking static_any_map v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> tests/static_any_map.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | static_any_vec_map! { my_map, String } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::ptr_arg)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> tests/static_any_map.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | static_any_vec_map! { my_map, String } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: writing `&String` instead of `&str` involves a new object where a slice will do. [INFO] [stderr] --> tests/static_any_map.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | static_any_vec_map! { my_map, String } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: called `.get().unwrap()` on a HashMap. Using `[]` is more clear and more concise [INFO] [stderr] --> tests/static_any_map.rs:66:11 [INFO] [stderr] | [INFO] [stderr] 66 | let j = *m.get(&name.clone()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try this: `&m[&name.clone()]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::get_unwrap)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_unwrap [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.53s [INFO] running `"docker" "inspect" "6901f0b5a541f0d1bd0edac316ad372f571d7954c5b9c11d33dced30032c79f2"` [INFO] running `"docker" "rm" "-f" "6901f0b5a541f0d1bd0edac316ad372f571d7954c5b9c11d33dced30032c79f2"` [INFO] [stdout] 6901f0b5a541f0d1bd0edac316ad372f571d7954c5b9c11d33dced30032c79f2