[INFO] crate linal 0.2.0 is already in cache [INFO] extracting crate linal 0.2.0 into work/ex/clippy-test-run/sources/stable/reg/linal/0.2.0 [INFO] extracting crate linal 0.2.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/linal/0.2.0 [INFO] validating manifest of linal-0.2.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 linal-0.2.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 linal-0.2.0 [INFO] removed 2 missing examples [INFO] finished frobbing linal-0.2.0 [INFO] frobbed toml for linal-0.2.0 written to work/ex/clippy-test-run/sources/stable/reg/linal/0.2.0/Cargo.toml [INFO] started frobbing linal-0.2.0 [INFO] removed 2 missing examples [INFO] finished frobbing linal-0.2.0 [INFO] frobbed toml for linal-0.2.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/linal/0.2.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 linal-0.2.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/linal/0.2.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] cfd47b6ccf9fa04563c461f827a7ce0f43cc65fddaebfccf98aaa88c398856e0 [INFO] running `"docker" "start" "-a" "cfd47b6ccf9fa04563c461f827a7ce0f43cc65fddaebfccf98aaa88c398856e0"` [INFO] [stderr] warning: An explicit [[example]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other example targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a example target: [INFO] [stderr] [INFO] [stderr] * /opt/crater/workdir/examples/vector2.rs [INFO] [stderr] * /opt/crater/workdir/examples/vector3.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a example target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autoexamples = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Checking linal v0.2.0 (/opt/crater/workdir) [INFO] [stderr] warning: item `vec2::Vec2` has a public `len` method but no corresponding `is_empty` method [INFO] [stderr] --> src/vec2.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | / impl Vec2 { [INFO] [stderr] 18 | | /// Constructs a new `Vec2`. [INFO] [stderr] 19 | | pub fn new>(x: I, y: I) -> Vec2 { [INFO] [stderr] 20 | | Vec2 { [INFO] [stderr] ... | [INFO] [stderr] 82 | | } [INFO] [stderr] 83 | | } [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: item `vec3::Vec3` has a public `len` method but no corresponding `is_empty` method [INFO] [stderr] --> src/vec3.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / impl Vec3 { [INFO] [stderr] 20 | | /// Constructs a new `Vec3`. [INFO] [stderr] 21 | | pub fn new>(x: I, y: I, z: I) -> Vec3 { [INFO] [stderr] 22 | | Vec3 { [INFO] [stderr] ... | [INFO] [stderr] 90 | | } [INFO] [stderr] 91 | | } [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 `vec2::Vec2` has a public `len` method but no corresponding `is_empty` method [INFO] [stderr] --> src/vec2.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | / impl Vec2 { [INFO] [stderr] 18 | | /// Constructs a new `Vec2`. [INFO] [stderr] 19 | | pub fn new>(x: I, y: I) -> Vec2 { [INFO] [stderr] 20 | | Vec2 { [INFO] [stderr] ... | [INFO] [stderr] 82 | | } [INFO] [stderr] 83 | | } [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/vec2.rs:207:9 [INFO] [stderr] | [INFO] [stderr] 207 | assert_eq!(a.dot(b), c); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [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/vec2.rs:207:9 [INFO] [stderr] | [INFO] [stderr] 207 | assert_eq!(a.dot(b), c); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [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/vec2.rs:208:9 [INFO] [stderr] | [INFO] [stderr] 208 | assert_eq!(b.dot(a), c); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/vec2.rs:208:9 [INFO] [stderr] | [INFO] [stderr] 208 | assert_eq!(b.dot(a), c); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [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/vec2.rs:216:9 [INFO] [stderr] | [INFO] [stderr] 216 | assert_eq!(a.area(b), c); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/vec2.rs:216:9 [INFO] [stderr] | [INFO] [stderr] 216 | assert_eq!(a.area(b), c); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [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/vec2.rs:217:9 [INFO] [stderr] | [INFO] [stderr] 217 | assert_eq!(b.area(a), -c); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/vec2.rs:217:9 [INFO] [stderr] | [INFO] [stderr] 217 | assert_eq!(b.area(a), -c); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: item `vec3::Vec3` has a public `len` method but no corresponding `is_empty` method [INFO] [stderr] --> src/vec3.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / impl Vec3 { [INFO] [stderr] 20 | | /// Constructs a new `Vec3`. [INFO] [stderr] 21 | | pub fn new>(x: I, y: I, z: I) -> Vec3 { [INFO] [stderr] 22 | | Vec3 { [INFO] [stderr] ... | [INFO] [stderr] 90 | | } [INFO] [stderr] 91 | | } [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: strict comparison of f32 or f64 [INFO] [stderr] --> src/vec3.rs:218:9 [INFO] [stderr] | [INFO] [stderr] 218 | assert_eq!(a.dot(b), c); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/vec3.rs:218:9 [INFO] [stderr] | [INFO] [stderr] 218 | assert_eq!(a.dot(b), c); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [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/vec3.rs:219:9 [INFO] [stderr] | [INFO] [stderr] 219 | assert_eq!(b.dot(a), c); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/vec3.rs:219:9 [INFO] [stderr] | [INFO] [stderr] 219 | assert_eq!(b.dot(a), c); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [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: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `linal`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "cfd47b6ccf9fa04563c461f827a7ce0f43cc65fddaebfccf98aaa88c398856e0"` [INFO] running `"docker" "rm" "-f" "cfd47b6ccf9fa04563c461f827a7ce0f43cc65fddaebfccf98aaa88c398856e0"` [INFO] [stdout] cfd47b6ccf9fa04563c461f827a7ce0f43cc65fddaebfccf98aaa88c398856e0