[INFO] crate contrail 0.1.5 is already in cache [INFO] extracting crate contrail 0.1.5 into work/ex/clippy-test-run/sources/stable/reg/contrail/0.1.5 [INFO] extracting crate contrail 0.1.5 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/contrail/0.1.5 [INFO] validating manifest of contrail-0.1.5 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 contrail-0.1.5 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 contrail-0.1.5 [INFO] finished frobbing contrail-0.1.5 [INFO] frobbed toml for contrail-0.1.5 written to work/ex/clippy-test-run/sources/stable/reg/contrail/0.1.5/Cargo.toml [INFO] started frobbing contrail-0.1.5 [INFO] finished frobbing contrail-0.1.5 [INFO] frobbed toml for contrail-0.1.5 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/contrail/0.1.5/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 contrail-0.1.5 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/contrail/0.1.5:/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] de7239aac8c290a24a5a4e1aef0f7605eef330196a5021c731faa6c25ef86318 [INFO] running `"docker" "start" "-a" "de7239aac8c290a24a5a4e1aef0f7605eef330196a5021c731faa6c25ef86318"` [INFO] [stderr] Compiling contrail-derive v0.0.3 [INFO] [stderr] Checking contrail v0.1.5 (/opt/crater/workdir) [INFO] [stderr] warning: item `mem::ArrayPointer` has a public `len` method but no corresponding `is_empty` method [INFO] [stderr] --> src/mem.rs:265:1 [INFO] [stderr] | [INFO] [stderr] 265 | / impl ArrayPointer [INFO] [stderr] 266 | | where [INFO] [stderr] 267 | | T: Bytes, [INFO] [stderr] 268 | | { [INFO] [stderr] ... | [INFO] [stderr] 332 | | } [INFO] [stderr] 333 | | } [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] warning: you should consider deriving a `Default` implementation for `TrailBuilder` [INFO] [stderr] --> src/lib.rs:243:5 [INFO] [stderr] | [INFO] [stderr] 243 | / pub fn new() -> Self { [INFO] [stderr] 244 | | Self { [INFO] [stderr] 245 | | trailed_mem: MemoryBuilder::new(), [INFO] [stderr] 246 | | stable_mem: MemoryBuilder::new(), [INFO] [stderr] 247 | | } [INFO] [stderr] 248 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default_derive)] on by default [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] 236 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: item `Array` has a public `len` method but no corresponding `is_empty` method [INFO] [stderr] --> src/lib.rs:359:1 [INFO] [stderr] | [INFO] [stderr] 359 | / impl Array [INFO] [stderr] 360 | | where [INFO] [stderr] 361 | | M: StorageMode, [INFO] [stderr] 362 | | T: Bytes, [INFO] [stderr] ... | [INFO] [stderr] 394 | | } [INFO] [stderr] 395 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [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] warning: item `mem::ArrayPointer` has a public `len` method but no corresponding `is_empty` method [INFO] [stderr] --> src/mem.rs:265:1 [INFO] [stderr] | [INFO] [stderr] 265 | / impl ArrayPointer [INFO] [stderr] 266 | | where [INFO] [stderr] 267 | | T: Bytes, [INFO] [stderr] 268 | | { [INFO] [stderr] ... | [INFO] [stderr] 332 | | } [INFO] [stderr] 333 | | } [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: strict comparison of f32 or f64 [INFO] [stderr] --> src/mem.rs:451:5 [INFO] [stderr] | [INFO] [stderr] 451 | / roundtrip_all!( [INFO] [stderr] 452 | | [i8, i8], [INFO] [stderr] 453 | | [i16, i16], [INFO] [stderr] 454 | | [i32, i32], [INFO] [stderr] ... | [INFO] [stderr] 468 | | [(), unit], [INFO] [stderr] 469 | | ); [INFO] [stderr] | |______^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: #[deny(clippy::float_cmp)] on by default [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/mem.rs:451:5 [INFO] [stderr] | [INFO] [stderr] 451 | / roundtrip_all!( [INFO] [stderr] 452 | | [i8, i8], [INFO] [stderr] 453 | | [i16, i16], [INFO] [stderr] 454 | | [i32, i32], [INFO] [stderr] ... | [INFO] [stderr] 468 | | [(), unit], [INFO] [stderr] 469 | | ); [INFO] [stderr] | |______^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/mem.rs:451:5 [INFO] [stderr] | [INFO] [stderr] 451 | / roundtrip_all!( [INFO] [stderr] 452 | | [i8, i8], [INFO] [stderr] 453 | | [i16, i16], [INFO] [stderr] 454 | | [i32, i32], [INFO] [stderr] ... | [INFO] [stderr] 468 | | [(), unit], [INFO] [stderr] 469 | | ); [INFO] [stderr] | |______^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/mem.rs:451:5 [INFO] [stderr] | [INFO] [stderr] 451 | / roundtrip_all!( [INFO] [stderr] 452 | | [i8, i8], [INFO] [stderr] 453 | | [i16, i16], [INFO] [stderr] 454 | | [i32, i32], [INFO] [stderr] ... | [INFO] [stderr] 468 | | [(), unit], [INFO] [stderr] 469 | | ); [INFO] [stderr] | |______^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/mem.rs:451:5 [INFO] [stderr] | [INFO] [stderr] 451 | / roundtrip_all!( [INFO] [stderr] 452 | | [i8, i8], [INFO] [stderr] 453 | | [i16, i16], [INFO] [stderr] 454 | | [i32, i32], [INFO] [stderr] ... | [INFO] [stderr] 468 | | [(), unit], [INFO] [stderr] 469 | | ); [INFO] [stderr] | |______^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/mem.rs:451:5 [INFO] [stderr] | [INFO] [stderr] 451 | / roundtrip_all!( [INFO] [stderr] 452 | | [i8, i8], [INFO] [stderr] 453 | | [i16, i16], [INFO] [stderr] 454 | | [i32, i32], [INFO] [stderr] ... | [INFO] [stderr] 468 | | [(), unit], [INFO] [stderr] 469 | | ); [INFO] [stderr] | |______^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/mem.rs:451:5 [INFO] [stderr] | [INFO] [stderr] 451 | / roundtrip_all!( [INFO] [stderr] 452 | | [i8, i8], [INFO] [stderr] 453 | | [i16, i16], [INFO] [stderr] 454 | | [i32, i32], [INFO] [stderr] ... | [INFO] [stderr] 468 | | [(), unit], [INFO] [stderr] 469 | | ); [INFO] [stderr] | |______^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/mem.rs:451:5 [INFO] [stderr] | [INFO] [stderr] 451 | / roundtrip_all!( [INFO] [stderr] 452 | | [i8, i8], [INFO] [stderr] 453 | | [i16, i16], [INFO] [stderr] 454 | | [i32, i32], [INFO] [stderr] ... | [INFO] [stderr] 468 | | [(), unit], [INFO] [stderr] 469 | | ); [INFO] [stderr] | |______^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/mem.rs:451:5 [INFO] [stderr] | [INFO] [stderr] 451 | / roundtrip_all!( [INFO] [stderr] 452 | | [i8, i8], [INFO] [stderr] 453 | | [i16, i16], [INFO] [stderr] 454 | | [i32, i32], [INFO] [stderr] ... | [INFO] [stderr] 468 | | [(), unit], [INFO] [stderr] 469 | | ); [INFO] [stderr] | |______^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/mem.rs:451:5 [INFO] [stderr] | [INFO] [stderr] 451 | / roundtrip_all!( [INFO] [stderr] 452 | | [i8, i8], [INFO] [stderr] 453 | | [i16, i16], [INFO] [stderr] 454 | | [i32, i32], [INFO] [stderr] ... | [INFO] [stderr] 468 | | [(), unit], [INFO] [stderr] 469 | | ); [INFO] [stderr] | |______^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/mem.rs:451:5 [INFO] [stderr] | [INFO] [stderr] 451 | / roundtrip_all!( [INFO] [stderr] 452 | | [i8, i8], [INFO] [stderr] 453 | | [i16, i16], [INFO] [stderr] 454 | | [i32, i32], [INFO] [stderr] ... | [INFO] [stderr] 468 | | [(), unit], [INFO] [stderr] 469 | | ); [INFO] [stderr] | |______^ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/mem.rs:451:5 [INFO] [stderr] | [INFO] [stderr] 451 | / roundtrip_all!( [INFO] [stderr] 452 | | [i8, i8], [INFO] [stderr] 453 | | [i16, i16], [INFO] [stderr] 454 | | [i32, i32], [INFO] [stderr] ... | [INFO] [stderr] 468 | | [(), unit], [INFO] [stderr] 469 | | ); [INFO] [stderr] | |______^ in this macro invocation [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: you should consider deriving a `Default` implementation for `TrailBuilder` [INFO] [stderr] --> src/lib.rs:243:5 [INFO] [stderr] | [INFO] [stderr] 243 | / pub fn new() -> Self { [INFO] [stderr] 244 | | Self { [INFO] [stderr] 245 | | trailed_mem: MemoryBuilder::new(), [INFO] [stderr] 246 | | stable_mem: MemoryBuilder::new(), [INFO] [stderr] 247 | | } [INFO] [stderr] 248 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_without_default_derive)] on by default [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] 236 | #[derive(Default)] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: item `Array` has a public `len` method but no corresponding `is_empty` method [INFO] [stderr] --> src/lib.rs:359:1 [INFO] [stderr] | [INFO] [stderr] 359 | / impl Array [INFO] [stderr] 360 | | where [INFO] [stderr] 361 | | M: StorageMode, [INFO] [stderr] 362 | | T: Bytes, [INFO] [stderr] ... | [INFO] [stderr] 394 | | } [INFO] [stderr] 395 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [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: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `contrail`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "de7239aac8c290a24a5a4e1aef0f7605eef330196a5021c731faa6c25ef86318"` [INFO] running `"docker" "rm" "-f" "de7239aac8c290a24a5a4e1aef0f7605eef330196a5021c731faa6c25ef86318"` [INFO] [stdout] de7239aac8c290a24a5a4e1aef0f7605eef330196a5021c731faa6c25ef86318