[INFO] crate titanic 0.1.0 is already in cache [INFO] extracting crate titanic 0.1.0 into work/ex/clippy-test-run/sources/stable/reg/titanic/0.1.0 [INFO] extracting crate titanic 0.1.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/titanic/0.1.0 [INFO] validating manifest of titanic-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 titanic-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 titanic-0.1.0 [INFO] finished frobbing titanic-0.1.0 [INFO] frobbed toml for titanic-0.1.0 written to work/ex/clippy-test-run/sources/stable/reg/titanic/0.1.0/Cargo.toml [INFO] started frobbing titanic-0.1.0 [INFO] finished frobbing titanic-0.1.0 [INFO] frobbed toml for titanic-0.1.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/titanic/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 titanic-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-0/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/titanic/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] 247329f7d827e19b85437dde1777adf62031cb614da6f3964377b6e9739919bf [INFO] running `"docker" "start" "-a" "247329f7d827e19b85437dde1777adf62031cb614da6f3964377b6e9739919bf"` [INFO] [stderr] Checking assert_matches v1.3.0 [INFO] [stderr] Checking titanic v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: lint name `cyclomatic_complexity` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lexer.rs:91:48 [INFO] [stderr] | [INFO] [stderr] 91 | #[cfg_attr(feature = "cargo-clippy", allow(cyclomatic_complexity))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cyclomatic_complexity` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `cyclomatic_complexity` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/parser.rs:140:48 [INFO] [stderr] | [INFO] [stderr] 140 | #[cfg_attr(feature = "cargo-clippy", allow(cyclomatic_complexity))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cyclomatic_complexity` [INFO] [stderr] [INFO] [stderr] warning: lint name `cyclomatic_complexity` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lexer.rs:91:48 [INFO] [stderr] | [INFO] [stderr] 91 | #[cfg_attr(feature = "cargo-clippy", allow(cyclomatic_complexity))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cyclomatic_complexity` [INFO] [stderr] [INFO] [stderr] warning: lint name `cyclomatic_complexity` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lexer.rs:91:48 [INFO] [stderr] | [INFO] [stderr] 91 | #[cfg_attr(feature = "cargo-clippy", allow(cyclomatic_complexity))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cyclomatic_complexity` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `cyclomatic_complexity` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/parser.rs:140:48 [INFO] [stderr] | [INFO] [stderr] 140 | #[cfg_attr(feature = "cargo-clippy", allow(cyclomatic_complexity))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cyclomatic_complexity` [INFO] [stderr] [INFO] [stderr] warning: long literal lacking separators [INFO] [stderr] --> src/parser.rs:558:65 [INFO] [stderr] | [INFO] [stderr] 558 | let expected = NaiveTime::from_hms_nano(23, 59, 59, 999999999); [INFO] [stderr] | ^^^^^^^^^ help: consider: `999_999_999` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::unreadable_literal)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal [INFO] [stderr] [INFO] [stderr] warning: lint name `cyclomatic_complexity` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lexer.rs:91:48 [INFO] [stderr] | [INFO] [stderr] 91 | #[cfg_attr(feature = "cargo-clippy", allow(cyclomatic_complexity))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cyclomatic_complexity` [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/parser.rs:597:48 [INFO] [stderr] | [INFO] [stderr] 597 | assert_matches!(left, Ok(coord) if coord == 180.0); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider comparing them within some error: `(coord - 180.0).abs() < error` [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/parser.rs:597:48 [INFO] [stderr] | [INFO] [stderr] 597 | assert_matches!(left, Ok(coord) if coord == 180.0); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/parser.rs:603:48 [INFO] [stderr] | [INFO] [stderr] 603 | assert_matches!(left, Ok(coord) if coord == 111.0); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: consider comparing them within some error: `(coord - 111.0).abs() < error` [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/parser.rs:603:48 [INFO] [stderr] | [INFO] [stderr] 603 | assert_matches!(left, Ok(coord) if coord == 111.0); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/parser.rs:611:32 [INFO] [stderr] | [INFO] [stderr] 611 | if c == 180.005 && max == 180.0); [INFO] [stderr] | ^^^^^^^^^^^^ help: consider comparing them within some error: `(c - 180.005).abs() < error` [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/parser.rs:611:32 [INFO] [stderr] | [INFO] [stderr] 611 | if c == 180.005 && max == 180.0); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/parser.rs:611:48 [INFO] [stderr] | [INFO] [stderr] 611 | if c == 180.005 && max == 180.0); [INFO] [stderr] | ^^^^^^^^^^^^ help: consider comparing them within some error: `(max - 180.0).abs() < error` [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/parser.rs:611:48 [INFO] [stderr] | [INFO] [stderr] 611 | if c == 180.005 && max == 180.0); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/parser.rs:638:13 [INFO] [stderr] | [INFO] [stderr] 638 | assert_eq!(north, east); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/parser.rs:638:13 [INFO] [stderr] | [INFO] [stderr] 638 | assert_eq!(north, east); [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/parser.rs:639:13 [INFO] [stderr] | [INFO] [stderr] 639 | assert_eq!(south, west); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/parser.rs:639:13 [INFO] [stderr] | [INFO] [stderr] 639 | assert_eq!(south, west); [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/parser.rs:640:13 [INFO] [stderr] | [INFO] [stderr] 640 | assert_eq!(north, south * -1.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/parser.rs:640:13 [INFO] [stderr] | [INFO] [stderr] 640 | assert_eq!(north, south * -1.0); [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/parser.rs:651:52 [INFO] [stderr] | [INFO] [stderr] 651 | assert_matches!(left, Ok(Some(lat)) if lat == 16.20615); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: consider comparing them within some error: `(lat - 16.20615).abs() < error` [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/parser.rs:651:52 [INFO] [stderr] | [INFO] [stderr] 651 | assert_matches!(left, Ok(Some(lat)) if lat == 16.20615); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/parser.rs:659:52 [INFO] [stderr] | [INFO] [stderr] 659 | assert_matches!(left, Ok(Some(lat)) if lat == -16.20615); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: consider comparing them within some error: `(lat - -16.20615).abs() < error` [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/parser.rs:659:52 [INFO] [stderr] | [INFO] [stderr] 659 | assert_matches!(left, Ok(Some(lat)) if lat == -16.20615); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/parser.rs:700:53 [INFO] [stderr] | [INFO] [stderr] 700 | assert_matches!(left, Ok(Some(long)) if long == 16.20615); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: consider comparing them within some error: `(long - 16.20615).abs() < error` [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/parser.rs:700:53 [INFO] [stderr] | [INFO] [stderr] 700 | assert_matches!(left, Ok(Some(long)) if long == 16.20615); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/parser.rs:708:53 [INFO] [stderr] | [INFO] [stderr] 708 | assert_matches!(left, Ok(Some(long)) if long == -16.20615); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: consider comparing them within some error: `(long - -16.20615).abs() < error` [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/parser.rs:708:53 [INFO] [stderr] | [INFO] [stderr] 708 | assert_matches!(left, Ok(Some(long)) if long == -16.20615); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/parser.rs:798:53 [INFO] [stderr] | [INFO] [stderr] 798 | assert_matches!(left, Ok(Some(hdop)) if hdop == 12345.6789); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: consider comparing them within some error: `(hdop - 12345.6789).abs() < error` [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/parser.rs:798:53 [INFO] [stderr] | [INFO] [stderr] 798 | assert_matches!(left, Ok(Some(hdop)) if hdop == 12345.6789); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/parser.rs:809:50 [INFO] [stderr] | [INFO] [stderr] 809 | assert_matches!(left, Ok(Some(f)) if f == 12345.6789); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: consider comparing them within some error: `(f - 12345.6789).abs() < error` [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/parser.rs:809:50 [INFO] [stderr] | [INFO] [stderr] 809 | assert_matches!(left, Ok(Some(f)) if f == 12345.6789); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/parser.rs:820:50 [INFO] [stderr] | [INFO] [stderr] 820 | assert_matches!(left, Ok(Some(f)) if f == 12345.6789); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: consider comparing them within some error: `(f - 12345.6789).abs() < error` [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/parser.rs:820:50 [INFO] [stderr] | [INFO] [stderr] 820 | assert_matches!(left, Ok(Some(f)) if f == 12345.6789); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] [INFO] [stderr] error: strict comparison of f32 or f64 [INFO] [stderr] --> src/parser.rs:831:52 [INFO] [stderr] | [INFO] [stderr] 831 | assert_matches!(left, Ok(Some(age)) if age == 12345.6789); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: consider comparing them within some error: `(age - 12345.6789).abs() < error` [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/parser.rs:831:52 [INFO] [stderr] | [INFO] [stderr] 831 | assert_matches!(left, Ok(Some(age)) if age == 12345.6789); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#float_cmp [INFO] [stderr] [INFO] [stderr] error: aborting due to 15 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `titanic`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "247329f7d827e19b85437dde1777adf62031cb614da6f3964377b6e9739919bf"` [INFO] running `"docker" "rm" "-f" "247329f7d827e19b85437dde1777adf62031cb614da6f3964377b6e9739919bf"` [INFO] [stdout] 247329f7d827e19b85437dde1777adf62031cb614da6f3964377b6e9739919bf