[INFO] crate byte_channel 0.0.1 is already in cache [INFO] extracting crate byte_channel 0.0.1 into work/ex/clippy-test-run/sources/stable/reg/byte_channel/0.0.1 [INFO] extracting crate byte_channel 0.0.1 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/byte_channel/0.0.1 [INFO] validating manifest of byte_channel-0.0.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 byte_channel-0.0.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 byte_channel-0.0.1 [INFO] finished frobbing byte_channel-0.0.1 [INFO] frobbed toml for byte_channel-0.0.1 written to work/ex/clippy-test-run/sources/stable/reg/byte_channel/0.0.1/Cargo.toml [INFO] started frobbing byte_channel-0.0.1 [INFO] finished frobbing byte_channel-0.0.1 [INFO] frobbed toml for byte_channel-0.0.1 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/byte_channel/0.0.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 byte_channel-0.0.1 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-3/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/byte_channel/0.0.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] 39ed20f8fe07f9d7dcf466c023e9876b755d61dd9c3b0f5106b42ab9326e0430 [INFO] running `"docker" "start" "-a" "39ed20f8fe07f9d7dcf466c023e9876b755d61dd9c3b0f5106b42ab9326e0430"` [INFO] [stderr] Checking test_futures v0.0.1 [INFO] [stderr] Checking byte_channel v0.0.1 (/opt/crater/workdir) [INFO] [stderr] warning: item `sync::chunk::Chunk` has a public `len` method but no corresponding `is_empty` method [INFO] [stderr] --> src/sync/chunk.rs:51:1 [INFO] [stderr] | [INFO] [stderr] 51 | / impl Chunk { [INFO] [stderr] 52 | | pub fn len(&self) -> usize { [INFO] [stderr] 53 | | match self.bytes { [INFO] [stderr] 54 | | ChunkBytes::Zero => 0, [INFO] [stderr] ... | [INFO] [stderr] 68 | | } [INFO] [stderr] 69 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::len_without_is_empty)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [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/sync/chunk.rs:129:21 [INFO] [stderr] | [INFO] [stderr] 129 | drop(bytes); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::drop_ref)] on by default [INFO] [stderr] note: argument has type &mut bytes::Bytes [INFO] [stderr] --> src/sync/chunk.rs:129:26 [INFO] [stderr] | [INFO] [stderr] 129 | drop(bytes); [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 `byte_channel`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:2:18 [INFO] [stderr] | [INFO] [stderr] 2 | #[cfg_attr(test, macro_use)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: item `sync::chunk::Chunk` has a public `len` method but no corresponding `is_empty` method [INFO] [stderr] --> src/sync/chunk.rs:51:1 [INFO] [stderr] | [INFO] [stderr] 51 | / impl Chunk { [INFO] [stderr] 52 | | pub fn len(&self) -> usize { [INFO] [stderr] 53 | | match self.bytes { [INFO] [stderr] 54 | | ChunkBytes::Zero => 0, [INFO] [stderr] ... | [INFO] [stderr] 68 | | } [INFO] [stderr] 69 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::len_without_is_empty)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [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/sync/chunk.rs:129:21 [INFO] [stderr] | [INFO] [stderr] 129 | drop(bytes); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::drop_ref)] on by default [INFO] [stderr] note: argument has type &mut bytes::Bytes [INFO] [stderr] --> src/sync/chunk.rs:129:26 [INFO] [stderr] | [INFO] [stderr] 129 | drop(bytes); [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 `byte_channel`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "39ed20f8fe07f9d7dcf466c023e9876b755d61dd9c3b0f5106b42ab9326e0430"` [INFO] running `"docker" "rm" "-f" "39ed20f8fe07f9d7dcf466c023e9876b755d61dd9c3b0f5106b42ab9326e0430"` [INFO] [stdout] 39ed20f8fe07f9d7dcf466c023e9876b755d61dd9c3b0f5106b42ab9326e0430