[INFO] updating cached repository kpcyrd/burritun [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/kpcyrd/burritun [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/kpcyrd/burritun" "work/ex/clippy-test-run/sources/stable/gh/kpcyrd/burritun"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/kpcyrd/burritun'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/kpcyrd/burritun" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/kpcyrd/burritun"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/kpcyrd/burritun'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ec830a5e4fbb8590fcf7e4011c1e6100d80cef63 [INFO] sha for GitHub repo kpcyrd/burritun: ec830a5e4fbb8590fcf7e4011c1e6100d80cef63 [INFO] validating manifest of kpcyrd/burritun 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 kpcyrd/burritun 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 kpcyrd/burritun [INFO] finished frobbing kpcyrd/burritun [INFO] frobbed toml for kpcyrd/burritun written to work/ex/clippy-test-run/sources/stable/gh/kpcyrd/burritun/Cargo.toml [INFO] started frobbing kpcyrd/burritun [INFO] finished frobbing kpcyrd/burritun [INFO] frobbed toml for kpcyrd/burritun written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/kpcyrd/burritun/Cargo.toml [INFO] crate kpcyrd/burritun 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 kpcyrd/burritun against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-1/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/kpcyrd/burritun:/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] fba9d8cac0c796c24e76621a7ddc4a62509fc3a7b80e4e04029a68a0d5d5f580 [INFO] running `"docker" "start" "-a" "fba9d8cac0c796c24e76621a7ddc4a62509fc3a7b80e4e04029a68a0d5d5f580"` [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Checking pnet_sys v0.21.0 [INFO] [stderr] Compiling tun-tap v0.1.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Checking nom v4.0.0 [INFO] [stderr] Checking error-chain v0.12.0 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking pnet_datalink v0.21.0 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Compiling aho-corasick v0.6.5 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking pktparse v0.3.0 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Compiling syntex v0.42.2 [INFO] [stderr] Compiling pnet_macros v0.21.0 [INFO] [stderr] Compiling pnet_packet v0.21.0 [INFO] [stderr] Checking pnet_transport v0.21.0 [INFO] [stderr] Checking pnet v0.21.0 [INFO] [stderr] Checking burritun v0.1.1 (/opt/crater/workdir) [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | #[macro_use] extern crate structopt; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | #[macro_use] extern crate structopt; [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:53:21 [INFO] [stderr] | [INFO] [stderr] 53 | let interface = interfaces.into_iter() [INFO] [stderr] | _____________________^ [INFO] [stderr] 54 | | .filter(|iface: &NetworkInterface| iface.name == tun) [INFO] [stderr] 55 | | .next() [INFO] [stderr] | |_______________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::filter_next)] on by default [INFO] [stderr] = note: replace `filter(|iface: &NetworkInterface| iface.name == tun).next()` with `find(|iface: &NetworkInterface| iface.name == tun)` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#filter_next [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:83:21 [INFO] [stderr] | [INFO] [stderr] 83 | let interface = interfaces.into_iter() [INFO] [stderr] | _____________________^ [INFO] [stderr] 84 | | .filter(|iface: &NetworkInterface| iface.name == name) [INFO] [stderr] 85 | | .next() [INFO] [stderr] | |_______________^ [INFO] [stderr] | [INFO] [stderr] = note: replace `filter(|iface: &NetworkInterface| iface.name == name).next()` with `find(|iface: &NetworkInterface| iface.name == name)` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#filter_next [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:53:21 [INFO] [stderr] | [INFO] [stderr] 53 | let interface = interfaces.into_iter() [INFO] [stderr] | _____________________^ [INFO] [stderr] 54 | | .filter(|iface: &NetworkInterface| iface.name == tun) [INFO] [stderr] 55 | | .next() [INFO] [stderr] | |_______________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::filter_next)] on by default [INFO] [stderr] = note: replace `filter(|iface: &NetworkInterface| iface.name == tun).next()` with `find(|iface: &NetworkInterface| iface.name == tun)` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#filter_next [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:83:21 [INFO] [stderr] | [INFO] [stderr] 83 | let interface = interfaces.into_iter() [INFO] [stderr] | _____________________^ [INFO] [stderr] 84 | | .filter(|iface: &NetworkInterface| iface.name == name) [INFO] [stderr] 85 | | .next() [INFO] [stderr] | |_______________^ [INFO] [stderr] | [INFO] [stderr] = note: replace `filter(|iface: &NetworkInterface| iface.name == name).next()` with `find(|iface: &NetworkInterface| iface.name == name)` [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#filter_next [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `"docker" "inspect" "fba9d8cac0c796c24e76621a7ddc4a62509fc3a7b80e4e04029a68a0d5d5f580"` [INFO] running `"docker" "rm" "-f" "fba9d8cac0c796c24e76621a7ddc4a62509fc3a7b80e4e04029a68a0d5d5f580"` [INFO] [stdout] fba9d8cac0c796c24e76621a7ddc4a62509fc3a7b80e4e04029a68a0d5d5f580