[INFO] updating cached repository simmons/tokio-aio-examples [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/simmons/tokio-aio-examples [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/simmons/tokio-aio-examples" "work/ex/clippy-test-run/sources/stable/gh/simmons/tokio-aio-examples"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/simmons/tokio-aio-examples'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/simmons/tokio-aio-examples" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/simmons/tokio-aio-examples"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/simmons/tokio-aio-examples'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3e652b5c62960c38f5d3e1ca0ed7c258d92bfa1b [INFO] sha for GitHub repo simmons/tokio-aio-examples: 3e652b5c62960c38f5d3e1ca0ed7c258d92bfa1b [INFO] validating manifest of simmons/tokio-aio-examples 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 simmons/tokio-aio-examples 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 simmons/tokio-aio-examples [INFO] finished frobbing simmons/tokio-aio-examples [INFO] frobbed toml for simmons/tokio-aio-examples written to work/ex/clippy-test-run/sources/stable/gh/simmons/tokio-aio-examples/Cargo.toml [INFO] started frobbing simmons/tokio-aio-examples [INFO] finished frobbing simmons/tokio-aio-examples [INFO] frobbed toml for simmons/tokio-aio-examples written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/simmons/tokio-aio-examples/Cargo.toml [INFO] crate simmons/tokio-aio-examples 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 simmons/tokio-aio-examples against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-7/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/gh/simmons/tokio-aio-examples:/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] 3b8eb89d612148d0db997cb3cf30cf8a3ad8b0cffda521b461b28770874a16cb [INFO] running `"docker" "start" "-a" "3b8eb89d612148d0db997cb3cf30cf8a3ad8b0cffda521b461b28770874a16cb"` [INFO] [stderr] Checking iovec v0.1.1 [INFO] [stderr] Checking net2 v0.2.31 [INFO] [stderr] Checking bytes v0.4.5 [INFO] [stderr] Checking mio v0.6.11 [INFO] [stderr] Checking tokio-io v0.1.4 [INFO] [stderr] Checking tokio-core v0.1.11 [INFO] [stderr] Checking tokio-aio-examples v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/bin/tokio-multisocket-spawn.rs:75:13 [INFO] [stderr] | [INFO] [stderr] 75 | handle: handle, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: replace it with: `handle` [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: unneeded return statement [INFO] [stderr] --> src/bin/echo-tokio-mpsc.rs:115:9 [INFO] [stderr] | [INFO] [stderr] 115 | return Ok(Async::NotReady); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove `return` as shown: `Ok(Async::NotReady)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_return)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: unneeded return statement [INFO] [stderr] --> src/bin/echo-tokio-mpsc.rs:173:9 [INFO] [stderr] | [INFO] [stderr] 173 | return Ok(Async::NotReady); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove `return` as shown: `Ok(Async::NotReady)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stderr] [INFO] [stderr] warning: calling `as_bytes()` on a string literal [INFO] [stderr] --> src/bin/mio-pipe.rs:56:18 [INFO] [stderr] | [INFO] [stderr] 56 | .send_to("hello".as_bytes(), &recv_address) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: consider using a byte string literal instead: `b"hello"` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::string_lit_as_bytes)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#string_lit_as_bytes [INFO] [stderr] [INFO] [stderr] error: calls to `std::mem::drop` with a reference instead of an owned value. Dropping a reference does nothing. [INFO] [stderr] --> src/bin/echo-tokio-mpsc.rs:147:13 [INFO] [stderr] | [INFO] [stderr] 147 | drop(message); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::drop_ref)] on by default [INFO] [stderr] note: argument has type &Message [INFO] [stderr] --> src/bin/echo-tokio-mpsc.rs:147:18 [INFO] [stderr] | [INFO] [stderr] 147 | drop(message); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#drop_ref [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `tokio-aio-examples`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "3b8eb89d612148d0db997cb3cf30cf8a3ad8b0cffda521b461b28770874a16cb"` [INFO] running `"docker" "rm" "-f" "3b8eb89d612148d0db997cb3cf30cf8a3ad8b0cffda521b461b28770874a16cb"` [INFO] [stdout] 3b8eb89d612148d0db997cb3cf30cf8a3ad8b0cffda521b461b28770874a16cb