[INFO] updating cached repository Sam-Jeston/network_monitor [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Sam-Jeston/network_monitor [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Sam-Jeston/network_monitor" "work/ex/clippy-test-run/sources/stable/gh/Sam-Jeston/network_monitor"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/Sam-Jeston/network_monitor'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Sam-Jeston/network_monitor" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Sam-Jeston/network_monitor"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Sam-Jeston/network_monitor'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] fb4433b27c83d4ed7c5ee3663ab95ff36dea624c [INFO] sha for GitHub repo Sam-Jeston/network_monitor: fb4433b27c83d4ed7c5ee3663ab95ff36dea624c [INFO] validating manifest of Sam-Jeston/network_monitor 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 Sam-Jeston/network_monitor 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 Sam-Jeston/network_monitor [INFO] finished frobbing Sam-Jeston/network_monitor [INFO] frobbed toml for Sam-Jeston/network_monitor written to work/ex/clippy-test-run/sources/stable/gh/Sam-Jeston/network_monitor/Cargo.toml [INFO] started frobbing Sam-Jeston/network_monitor [INFO] finished frobbing Sam-Jeston/network_monitor [INFO] frobbed toml for Sam-Jeston/network_monitor written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/Sam-Jeston/network_monitor/Cargo.toml [INFO] crate Sam-Jeston/network_monitor 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 Sam-Jeston/network_monitor against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-0/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/Sam-Jeston/network_monitor:/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] bf4918348c7258605684cb56566c66d4eb99da8308de8078fb041873da996aa3 [INFO] running `"docker" "start" "-a" "bf4918348c7258605684cb56566c66d4eb99da8308de8078fb041873da996aa3"` [INFO] [stderr] Compiling term v0.4.5 [INFO] [stderr] Checking pnet_macros_support v0.1.1 [INFO] [stderr] Checking ipnetwork v0.12.3 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling thread-id v3.1.0 [INFO] [stderr] Checking syntex_errors v0.42.0 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Checking regex v0.2.1 [INFO] [stderr] Checking syntex_syntax v0.42.0 [INFO] [stderr] Checking syntex v0.42.2 [INFO] [stderr] Checking pnet_macros v0.13.1 [INFO] [stderr] Compiling pnet v0.17.1 [INFO] [stderr] Checking network_monitor v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused imports: `MutablePacket`, `Packet` [INFO] [stderr] --> src/main.rs:8:20 [INFO] [stderr] | [INFO] [stderr] 8 | use pnet::packet::{Packet, MutablePacket, PacketSize}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: called `filter(p).next()` on an `Iterator`. This is more succinctly expressed by calling `.find(p)` instead. [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | / datalink::interfaces() [INFO] [stderr] 23 | | .into_iter() [INFO] [stderr] 24 | | .filter(interface_names_match) [INFO] [stderr] 25 | | .next() [INFO] [stderr] | |_______________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::filter_next)] on by default [INFO] [stderr] = note: replace `filter(interface_names_match).next()` with `find(interface_names_match)` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#filter_next [INFO] [stderr] [INFO] [stderr] warning: Err(_) will match all errors, maybe not a good idea [INFO] [stderr] --> src/main.rs:71:13 [INFO] [stderr] | [INFO] [stderr] 71 | Err(_) => { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::match_wild_err_arm)] on by default [INFO] [stderr] = note: to remove this warning, match each error separately or use unreachable macro [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_wild_err_arm [INFO] [stderr] [INFO] [stderr] warning: unused imports: `MutablePacket`, `Packet` [INFO] [stderr] --> src/main.rs:8:20 [INFO] [stderr] | [INFO] [stderr] 8 | use pnet::packet::{Packet, MutablePacket, PacketSize}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: called `filter(p).next()` on an `Iterator`. This is more succinctly expressed by calling `.find(p)` instead. [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | / datalink::interfaces() [INFO] [stderr] 23 | | .into_iter() [INFO] [stderr] 24 | | .filter(interface_names_match) [INFO] [stderr] 25 | | .next() [INFO] [stderr] | |_______________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::filter_next)] on by default [INFO] [stderr] = note: replace `filter(interface_names_match).next()` with `find(interface_names_match)` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#filter_next [INFO] [stderr] [INFO] [stderr] warning: Err(_) will match all errors, maybe not a good idea [INFO] [stderr] --> src/main.rs:71:13 [INFO] [stderr] | [INFO] [stderr] 71 | Err(_) => { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::match_wild_err_arm)] on by default [INFO] [stderr] = note: to remove this warning, match each error separately or use unreachable macro [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_wild_err_arm [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 57.63s [INFO] running `"docker" "inspect" "bf4918348c7258605684cb56566c66d4eb99da8308de8078fb041873da996aa3"` [INFO] running `"docker" "rm" "-f" "bf4918348c7258605684cb56566c66d4eb99da8308de8078fb041873da996aa3"` [INFO] [stdout] bf4918348c7258605684cb56566c66d4eb99da8308de8078fb041873da996aa3