[INFO] crate amq-protocol 1.0.0 is already in cache [INFO] extracting crate amq-protocol 1.0.0 into work/ex/clippy-test-run/sources/stable/reg/amq-protocol/1.0.0 [INFO] extracting crate amq-protocol 1.0.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/amq-protocol/1.0.0 [INFO] validating manifest of amq-protocol-1.0.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 amq-protocol-1.0.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 amq-protocol-1.0.0 [INFO] finished frobbing amq-protocol-1.0.0 [INFO] frobbed toml for amq-protocol-1.0.0 written to work/ex/clippy-test-run/sources/stable/reg/amq-protocol/1.0.0/Cargo.toml [INFO] started frobbing amq-protocol-1.0.0 [INFO] finished frobbing amq-protocol-1.0.0 [INFO] frobbed toml for amq-protocol-1.0.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/amq-protocol/1.0.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 amq-protocol-1.0.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/amq-protocol/1.0.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] dbced47d37f598e4166d68b2f3dba0dedb1fa0c455f353608deca7a431132078 [INFO] running `"docker" "start" "-a" "dbced47d37f598e4166d68b2f3dba0dedb1fa0c455f353608deca7a431132078"` [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling handlebars v1.1.0 [INFO] [stderr] Compiling amq-protocol-types v1.1.0 [INFO] [stderr] Checking amq-protocol-codegen v1.1.0 [INFO] [stderr] Compiling amq-protocol v1.0.0 (/opt/crater/workdir) [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `15` [INFO] [stderr] --> /opt/crater/target/debug/build/amq-protocol-6e8bb0ea12cd1148/out/protocol.rs:2907:52 [INFO] [stderr] | [INFO] [stderr] 2907 | (if self.content_type.is_some() { 1 << (15 - 0) } else { 0 }) + (if self.content_encoding.is_some() { 1 << (15 - 1) } else { 0 }) + (if self.headers.is_some() { 1 << (15 - 2) } else { 0 }) + (if self.delivery_mode.is_some() { 1 << (15 - 3) } else { 0 }) + (if self.priority.is_some() { 1 << (15 - 4) } else { 0 }) + (if self.correlation_id.is_some() { 1 << (15 - 5) } else { 0 }) + (if self.reply_to.is_some() { 1 << (15 - 6) } else { 0 }) + (if self.expiration.is_some() { 1 << (15 - 7) } else { 0 }) + (if self.message_id.is_some() { 1 << (15 - 8) } else { 0 }) + (if self.timestamp.is_some() { 1 << (15 - 9) } else { 0 }) + (if self.type_.is_some() { 1 << (15 - 10) } else { 0 }) + (if self.user_id.is_some() { 1 << (15 - 11) } else { 0 }) + (if self.app_id.is_some() { 1 << (15 - 12) } else { 0 }) + (if self.cluster_id.is_some() { 1 << (15 - 13) } else { 0 }) } [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::identity_op)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `15` [INFO] [stderr] --> /opt/crater/target/debug/build/amq-protocol-6e8bb0ea12cd1148/out/protocol.rs:2912:43 [INFO] [stderr] | [INFO] [stderr] 2912 | content_type: cond!(flags & (1 << (15 - 0)) != 0, parse_short_string) >> [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 29 [INFO] [stderr] --> /opt/crater/target/debug/build/amq-protocol-6e8bb0ea12cd1148/out/protocol.rs:2945:5 [INFO] [stderr] | [INFO] [stderr] 2945 | / pub fn gen_properties<'a>(input:(&'a mut [u8],usize), props: &AMQPProperties) -> Result<(&'a mut [u8],usize),GenError> { [INFO] [stderr] 2946 | | do_gen!(input, [INFO] [stderr] 2947 | | gen_short_uint(&props.bitmask()) [INFO] [stderr] 2948 | | >> gen_cond!(props.content_type.is_some(), gen_call!(gen_short_string, &props.content_type.as_ref().unwrap())) [INFO] [stderr] ... | [INFO] [stderr] 2962 | | ) [INFO] [stderr] 2963 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cyclomatic_complexity)] on by default [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `15` [INFO] [stderr] --> /opt/crater/target/debug/build/amq-protocol-6e8bb0ea12cd1148/out/protocol.rs:2907:52 [INFO] [stderr] | [INFO] [stderr] 2907 | (if self.content_type.is_some() { 1 << (15 - 0) } else { 0 }) + (if self.content_encoding.is_some() { 1 << (15 - 1) } else { 0 }) + (if self.headers.is_some() { 1 << (15 - 2) } else { 0 }) + (if self.delivery_mode.is_some() { 1 << (15 - 3) } else { 0 }) + (if self.priority.is_some() { 1 << (15 - 4) } else { 0 }) + (if self.correlation_id.is_some() { 1 << (15 - 5) } else { 0 }) + (if self.reply_to.is_some() { 1 << (15 - 6) } else { 0 }) + (if self.expiration.is_some() { 1 << (15 - 7) } else { 0 }) + (if self.message_id.is_some() { 1 << (15 - 8) } else { 0 }) + (if self.timestamp.is_some() { 1 << (15 - 9) } else { 0 }) + (if self.type_.is_some() { 1 << (15 - 10) } else { 0 }) + (if self.user_id.is_some() { 1 << (15 - 11) } else { 0 }) + (if self.app_id.is_some() { 1 << (15 - 12) } else { 0 }) + (if self.cluster_id.is_some() { 1 << (15 - 13) } else { 0 }) } [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::identity_op)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the operation is ineffective. Consider reducing it to `15` [INFO] [stderr] --> /opt/crater/target/debug/build/amq-protocol-6e8bb0ea12cd1148/out/protocol.rs:2912:43 [INFO] [stderr] | [INFO] [stderr] 2912 | content_type: cond!(flags & (1 << (15 - 0)) != 0, parse_short_string) >> [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stderr] [INFO] [stderr] warning: the function has a cyclomatic complexity of 29 [INFO] [stderr] --> /opt/crater/target/debug/build/amq-protocol-6e8bb0ea12cd1148/out/protocol.rs:2945:5 [INFO] [stderr] | [INFO] [stderr] 2945 | / pub fn gen_properties<'a>(input:(&'a mut [u8],usize), props: &AMQPProperties) -> Result<(&'a mut [u8],usize),GenError> { [INFO] [stderr] 2946 | | do_gen!(input, [INFO] [stderr] 2947 | | gen_short_uint(&props.bitmask()) [INFO] [stderr] 2948 | | >> gen_cond!(props.content_type.is_some(), gen_call!(gen_short_string, &props.content_type.as_ref().unwrap())) [INFO] [stderr] ... | [INFO] [stderr] 2962 | | ) [INFO] [stderr] 2963 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cyclomatic_complexity)] on by default [INFO] [stderr] = help: you could split it up into multiple smaller functions [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cyclomatic_complexity [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 42.98s [INFO] running `"docker" "inspect" "dbced47d37f598e4166d68b2f3dba0dedb1fa0c455f353608deca7a431132078"` [INFO] running `"docker" "rm" "-f" "dbced47d37f598e4166d68b2f3dba0dedb1fa0c455f353608deca7a431132078"` [INFO] [stdout] dbced47d37f598e4166d68b2f3dba0dedb1fa0c455f353608deca7a431132078