[INFO] crate tokio-codec 0.1.1 is already in cache [INFO] extracting crate tokio-codec 0.1.1 into work/ex/clippy-test-run/sources/stable/reg/tokio-codec/0.1.1 [INFO] extracting crate tokio-codec 0.1.1 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/tokio-codec/0.1.1 [INFO] validating manifest of tokio-codec-0.1.1 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 tokio-codec-0.1.1 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 tokio-codec-0.1.1 [INFO] finished frobbing tokio-codec-0.1.1 [INFO] frobbed toml for tokio-codec-0.1.1 written to work/ex/clippy-test-run/sources/stable/reg/tokio-codec/0.1.1/Cargo.toml [INFO] started frobbing tokio-codec-0.1.1 [INFO] finished frobbing tokio-codec-0.1.1 [INFO] frobbed toml for tokio-codec-0.1.1 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/tokio-codec/0.1.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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 tokio-codec-0.1.1 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/reg/tokio-codec/0.1.1:/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] 0f12675d0eb61750643c7bbae0aed006a0bb29ba4ec234f18327dbfc0b215557 [INFO] running `"docker" "start" "-a" "0f12675d0eb61750643c7bbae0aed006a0bb29ba4ec234f18327dbfc0b215557"` [INFO] [stderr] Checking tokio-codec v0.1.1 (/opt/crater/workdir) [INFO] [stderr] error: you should consider deriving a `Default` implementation for `bytes_codec::BytesCodec` [INFO] [stderr] --> src/bytes_codec.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new() -> BytesCodec { BytesCodec(()) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:1:54 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(missing_docs, missing_debug_implementations, warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::new_without_default_derive)] implied by #[deny(warnings)] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: length comparison to zero [INFO] [stderr] --> src/bytes_codec.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | if buf.len() > 0 { [INFO] [stderr] | ^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!buf.is_empty()` [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:1:54 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(missing_docs, missing_debug_implementations, warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::len_zero)] implied by #[deny(warnings)] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stderr] [INFO] [stderr] error: you should consider deriving a `Default` implementation for `lines_codec::LinesCodec` [INFO] [stderr] --> src/lines_codec.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | / pub fn new() -> LinesCodec { [INFO] [stderr] 36 | | LinesCodec { [INFO] [stderr] 37 | | next_index: 0, [INFO] [stderr] 38 | | max_length: usize::MAX, [INFO] [stderr] 39 | | is_discarding: false, [INFO] [stderr] 40 | | } [INFO] [stderr] 41 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `tokio-codec`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: you should consider deriving a `Default` implementation for `bytes_codec::BytesCodec` [INFO] [stderr] --> src/bytes_codec.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new() -> BytesCodec { BytesCodec(()) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:1:54 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(missing_docs, missing_debug_implementations, warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::new_without_default_derive)] implied by #[deny(warnings)] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: length comparison to zero [INFO] [stderr] --> src/bytes_codec.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | if buf.len() > 0 { [INFO] [stderr] | ^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `!buf.is_empty()` [INFO] [stderr] | [INFO] [stderr] note: lint level defined here [INFO] [stderr] --> src/lib.rs:1:54 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(missing_docs, missing_debug_implementations, warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: #[deny(clippy::len_zero)] implied by #[deny(warnings)] [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stderr] [INFO] [stderr] error: you should consider deriving a `Default` implementation for `lines_codec::LinesCodec` [INFO] [stderr] --> src/lines_codec.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | / pub fn new() -> LinesCodec { [INFO] [stderr] 36 | | LinesCodec { [INFO] [stderr] 37 | | next_index: 0, [INFO] [stderr] 38 | | max_length: usize::MAX, [INFO] [stderr] 39 | | is_discarding: false, [INFO] [stderr] 40 | | } [INFO] [stderr] 41 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive [INFO] [stderr] help: try this [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `tokio-codec`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "0f12675d0eb61750643c7bbae0aed006a0bb29ba4ec234f18327dbfc0b215557"` [INFO] running `"docker" "rm" "-f" "0f12675d0eb61750643c7bbae0aed006a0bb29ba4ec234f18327dbfc0b215557"` [INFO] [stdout] 0f12675d0eb61750643c7bbae0aed006a0bb29ba4ec234f18327dbfc0b215557