[INFO] updating cached repository peterdelevoryas/what-color-is-tokio [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/peterdelevoryas/what-color-is-tokio [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/peterdelevoryas/what-color-is-tokio" "work/ex/clippy-test-run/sources/stable/gh/peterdelevoryas/what-color-is-tokio"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/peterdelevoryas/what-color-is-tokio'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/peterdelevoryas/what-color-is-tokio" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/peterdelevoryas/what-color-is-tokio"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/peterdelevoryas/what-color-is-tokio'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] fdf116d92519ed8fb063a410bcd1e57de4e3d6e5 [INFO] sha for GitHub repo peterdelevoryas/what-color-is-tokio: fdf116d92519ed8fb063a410bcd1e57de4e3d6e5 [INFO] validating manifest of peterdelevoryas/what-color-is-tokio 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 peterdelevoryas/what-color-is-tokio 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 peterdelevoryas/what-color-is-tokio [INFO] finished frobbing peterdelevoryas/what-color-is-tokio [INFO] frobbed toml for peterdelevoryas/what-color-is-tokio written to work/ex/clippy-test-run/sources/stable/gh/peterdelevoryas/what-color-is-tokio/Cargo.toml [INFO] started frobbing peterdelevoryas/what-color-is-tokio [INFO] finished frobbing peterdelevoryas/what-color-is-tokio [INFO] frobbed toml for peterdelevoryas/what-color-is-tokio written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/peterdelevoryas/what-color-is-tokio/Cargo.toml [INFO] crate peterdelevoryas/what-color-is-tokio 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 peterdelevoryas/what-color-is-tokio 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/peterdelevoryas/what-color-is-tokio:/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] 191ca44067d6247198a053661bdf0881b0565171ddad2de5db4b1119a8ddb9f7 [INFO] running `"docker" "start" "-a" "191ca44067d6247198a053661bdf0881b0565171ddad2de5db4b1119a8ddb9f7"` [INFO] [stderr] Checking net2 v0.2.26 [INFO] [stderr] Checking futures v0.1.9 [INFO] [stderr] Checking openssl-sys v0.9.6 [INFO] [stderr] Checking openssl v0.9.6 [INFO] [stderr] Checking mio v0.6.2 [INFO] [stderr] Checking tokio-core v0.1.3 [INFO] [stderr] Checking native-tls v0.1.1 [INFO] [stderr] Checking what-color-is-tokio v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/bin/async.rs:122:29 [INFO] [stderr] | [INFO] [stderr] 122 | stream: stream, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `stream` [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/bin/async.rs:135:21 [INFO] [stderr] | [INFO] [stderr] 135 | stream: stream, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `stream` [INFO] [stderr] | [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/bin/async.rs:122:29 [INFO] [stderr] | [INFO] [stderr] 122 | stream: stream, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `stream` [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/bin/async.rs:135:21 [INFO] [stderr] | [INFO] [stderr] 135 | stream: stream, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `stream` [INFO] [stderr] | [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: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/bin/recv.rs:9:14 [INFO] [stderr] | [INFO] [stderr] 9 | const ADDR: &'static str = "localhost:8124"; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/bin/send.rs:10:14 [INFO] [stderr] | [INFO] [stderr] 10 | const ADDR: &'static str = "localhost:8124"; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/bin/send.rs:11:14 [INFO] [stderr] | [INFO] [stderr] 11 | const DATA: &'static str = "hello world"; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/bin/sync.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | let result = match read(&stream, &mut buf).wait() { [INFO] [stderr] | ^^^^^^ help: consider using `_result` instead [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/bin/send.rs:10:14 [INFO] [stderr] | [INFO] [stderr] 10 | const ADDR: &'static str = "localhost:8124"; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/bin/send.rs:11:14 [INFO] [stderr] | [INFO] [stderr] 11 | const DATA: &'static str = "hello world"; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/bin/sync.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | let result = match read(&stream, &mut buf).wait() { [INFO] [stderr] | ^^^^^^ help: consider using `_result` instead [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/bin/recv.rs:9:14 [INFO] [stderr] | [INFO] [stderr] 9 | const ADDR: &'static str = "localhost:8124"; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.20s [INFO] running `"docker" "inspect" "191ca44067d6247198a053661bdf0881b0565171ddad2de5db4b1119a8ddb9f7"` [INFO] running `"docker" "rm" "-f" "191ca44067d6247198a053661bdf0881b0565171ddad2de5db4b1119a8ddb9f7"` [INFO] [stdout] 191ca44067d6247198a053661bdf0881b0565171ddad2de5db4b1119a8ddb9f7