[INFO] updating cached repository xobs/jig-20-file-logger [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/xobs/jig-20-file-logger [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/xobs/jig-20-file-logger" "work/ex/clippy-test-run/sources/stable/gh/xobs/jig-20-file-logger"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/xobs/jig-20-file-logger'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/xobs/jig-20-file-logger" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/xobs/jig-20-file-logger"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/xobs/jig-20-file-logger'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 7529a5395689a4f80b0dc0b5a3a5b39f61c94ba4 [INFO] sha for GitHub repo xobs/jig-20-file-logger: 7529a5395689a4f80b0dc0b5a3a5b39f61c94ba4 [INFO] validating manifest of xobs/jig-20-file-logger 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 xobs/jig-20-file-logger 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 xobs/jig-20-file-logger [INFO] finished frobbing xobs/jig-20-file-logger [INFO] frobbed toml for xobs/jig-20-file-logger written to work/ex/clippy-test-run/sources/stable/gh/xobs/jig-20-file-logger/Cargo.toml [INFO] started frobbing xobs/jig-20-file-logger [INFO] finished frobbing xobs/jig-20-file-logger [INFO] frobbed toml for xobs/jig-20-file-logger written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/xobs/jig-20-file-logger/Cargo.toml [INFO] crate xobs/jig-20-file-logger 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 xobs/jig-20-file-logger 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/xobs/jig-20-file-logger:/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] cec7c358ebce16ec8fa52d472e526101f40c8a725b6fcbbebfb83fd39f9ef4b8 [INFO] running `"docker" "start" "-a" "cec7c358ebce16ec8fa52d472e526101f40c8a725b6fcbbebfb83fd39f9ef4b8"` [INFO] [stderr] Checking jig-20-file-logger v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: `ref` on an entire `let` pattern is discouraged, take a reference with `&` instead [INFO] [stderr] --> src/main.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | let ref file_name = args[1]; [INFO] [stderr] | ----^^^^^^^^^^^^^----------- help: try: `let file_name = &args[1];` [INFO] [stderr] warning: `ref` on an entire `let` pattern is discouraged, take a reference with `&` instead [INFO] [stderr] --> src/main.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | let ref file_name = args[1]; [INFO] [stderr] | ----^^^^^^^^^^^^^----------- help: try: `let file_name = &args[1];` [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] | [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.63s [INFO] running `"docker" "inspect" "cec7c358ebce16ec8fa52d472e526101f40c8a725b6fcbbebfb83fd39f9ef4b8"` [INFO] running `"docker" "rm" "-f" "cec7c358ebce16ec8fa52d472e526101f40c8a725b6fcbbebfb83fd39f9ef4b8"` [INFO] [stdout] cec7c358ebce16ec8fa52d472e526101f40c8a725b6fcbbebfb83fd39f9ef4b8