[INFO] crate rotor-capnp 0.1.0 is already in cache [INFO] extracting crate rotor-capnp 0.1.0 into work/ex/clippy-test-run/sources/stable/reg/rotor-capnp/0.1.0 [INFO] extracting crate rotor-capnp 0.1.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/rotor-capnp/0.1.0 [INFO] validating manifest of rotor-capnp-0.1.0 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 rotor-capnp-0.1.0 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 rotor-capnp-0.1.0 [INFO] finished frobbing rotor-capnp-0.1.0 [INFO] frobbed toml for rotor-capnp-0.1.0 written to work/ex/clippy-test-run/sources/stable/reg/rotor-capnp/0.1.0/Cargo.toml [INFO] started frobbing rotor-capnp-0.1.0 [INFO] finished frobbing rotor-capnp-0.1.0 [INFO] frobbed toml for rotor-capnp-0.1.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/rotor-capnp/0.1.0/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 rotor-capnp-0.1.0 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/reg/rotor-capnp/0.1.0:/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] a454d78916b6de749878e3cf78ca795965352558a51a6fd52bbd3ba8f183fb1b [INFO] running `"docker" "start" "-a" "a454d78916b6de749878e3cf78ca795965352558a51a6fd52bbd3ba8f183fb1b"` [INFO] [stderr] Checking quick-error v0.2.2 [INFO] [stderr] Checking netbuf v0.3.8 [INFO] [stderr] Checking capnp v0.6.2 [INFO] [stderr] Checking rotor v0.6.3 [INFO] [stderr] Checking rotor-tools v0.3.2 [INFO] [stderr] Checking rotor-stream v0.5.1 [INFO] [stderr] Checking rotor-capnp v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/serialization.rs:66:9 [INFO] [stderr] | [INFO] [stderr] 66 | segment_slices: segment_slices, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `segment_slices` [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/serialization.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 67 | owned_space: owned_space, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `owned_space` [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/stream.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | fsm: fsm, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `fsm` [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/stream.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | state: state, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `state` [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/serialization.rs:66:9 [INFO] [stderr] | [INFO] [stderr] 66 | segment_slices: segment_slices, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `segment_slices` [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/serialization.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 67 | owned_space: owned_space, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `owned_space` [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/stream.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | fsm: fsm, [INFO] [stderr] | ^^^^^^^^ help: replace it with: `fsm` [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/stream.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | state: state, [INFO] [stderr] | ^^^^^^^^^^^^ help: replace it with: `state` [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: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/serialization.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | / fn get_segment<'a>(&'a self, id: u32) -> Option<&'a [Word]> { [INFO] [stderr] 79 | | if id < self.segment_slices.len() as u32 { [INFO] [stderr] 80 | | let (a, b) = self.segment_slices[id as usize]; [INFO] [stderr] 81 | | Some(&self.owned_space[a..b]) [INFO] [stderr] ... | [INFO] [stderr] 84 | | } [INFO] [stderr] 85 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_lifetimes)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] error: handle written amount returned or use `Write::write_all` instead [INFO] [stderr] --> src/serialization.rs:98:13 [INFO] [stderr] | [INFO] [stderr] 98 | self.0.write(Word::words_to_bytes(segment)).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::unused_io_amount)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `rotor-capnp`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/serialization.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | / fn get_segment<'a>(&'a self, id: u32) -> Option<&'a [Word]> { [INFO] [stderr] 79 | | if id < self.segment_slices.len() as u32 { [INFO] [stderr] 80 | | let (a, b) = self.segment_slices[id as usize]; [INFO] [stderr] 81 | | Some(&self.owned_space[a..b]) [INFO] [stderr] ... | [INFO] [stderr] 84 | | } [INFO] [stderr] 85 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_lifetimes)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] error: handle written amount returned or use `Write::write_all` instead [INFO] [stderr] --> src/serialization.rs:98:13 [INFO] [stderr] | [INFO] [stderr] 98 | self.0.write(Word::words_to_bytes(segment)).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::unused_io_amount)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `rotor-capnp`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a454d78916b6de749878e3cf78ca795965352558a51a6fd52bbd3ba8f183fb1b"` [INFO] running `"docker" "rm" "-f" "a454d78916b6de749878e3cf78ca795965352558a51a6fd52bbd3ba8f183fb1b"` [INFO] [stdout] a454d78916b6de749878e3cf78ca795965352558a51a6fd52bbd3ba8f183fb1b