[INFO] updating cached repository seven-two-eight/fuzzy-match [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/seven-two-eight/fuzzy-match [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/seven-two-eight/fuzzy-match" "work/ex/clippy-test-run/sources/stable/gh/seven-two-eight/fuzzy-match"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/seven-two-eight/fuzzy-match'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/seven-two-eight/fuzzy-match" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/seven-two-eight/fuzzy-match"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/seven-two-eight/fuzzy-match'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 02e76c597369dd4302354b6d65e0f503109d5970 [INFO] sha for GitHub repo seven-two-eight/fuzzy-match: 02e76c597369dd4302354b6d65e0f503109d5970 [INFO] validating manifest of seven-two-eight/fuzzy-match 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 seven-two-eight/fuzzy-match 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 seven-two-eight/fuzzy-match [INFO] finished frobbing seven-two-eight/fuzzy-match [INFO] frobbed toml for seven-two-eight/fuzzy-match written to work/ex/clippy-test-run/sources/stable/gh/seven-two-eight/fuzzy-match/Cargo.toml [INFO] started frobbing seven-two-eight/fuzzy-match [INFO] finished frobbing seven-two-eight/fuzzy-match [INFO] frobbed toml for seven-two-eight/fuzzy-match written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/seven-two-eight/fuzzy-match/Cargo.toml [INFO] crate seven-two-eight/fuzzy-match has a lockfile. skipping [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 seven-two-eight/fuzzy-match 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/gh/seven-two-eight/fuzzy-match:/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] c7d0d11decd64c26d28072d35c4d0a519e07e8ec0abbe54ac20b55ecd2f0534e [INFO] running `"docker" "start" "-a" "c7d0d11decd64c26d28072d35c4d0a519e07e8ec0abbe54ac20b55ecd2f0534e"` [INFO] [stderr] Blocking waiting for file lock on the registry index [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.0 [INFO] [stderr] Checking discard v1.0.4 [INFO] [stderr] Compiling serde v1.0.79 [INFO] [stderr] Compiling syn v0.15.8 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling serde_derive v1.0.79 [INFO] [stderr] Compiling stdweb-derive v0.5.0 [INFO] [stderr] Checking stdweb v0.4.9 [INFO] [stderr] Checking fuzzy-match v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/marks.rs:104:13 [INFO] [stderr] | [INFO] [stderr] 104 | write!(f, "\n")?; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::write_with_newline)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/marks.rs:104:13 [INFO] [stderr] | [INFO] [stderr] 104 | write!(f, "\n")?; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::write_with_newline)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/marks.rs:95:17 [INFO] [stderr] | [INFO] [stderr] 95 | write!(f, " "); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_must_use)] on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [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: unused `std::result::Result` that must be used [INFO] [stderr] --> src/marks.rs:97:17 [INFO] [stderr] | [INFO] [stderr] 97 | write!(f, "{:<4.4}", record_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [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/trigram.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | assert_eq!(0.0, score("", "")); [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/trigram.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | assert_eq!(0.0, score("", "")); [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/trigram.rs:85:9 [INFO] [stderr] | [INFO] [stderr] 85 | assert_eq!(0.0, score("", "abc")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/trigram.rs:85:9 [INFO] [stderr] | [INFO] [stderr] 85 | assert_eq!(0.0, score("", "abc")); [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/trigram.rs:86:9 [INFO] [stderr] | [INFO] [stderr] 86 | assert_eq!(0.0, score("abc", "")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/trigram.rs:86:9 [INFO] [stderr] | [INFO] [stderr] 86 | assert_eq!(0.0, score("abc", "")); [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/trigram.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | assert_eq!(0.0, score("abc", "ef")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/trigram.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | assert_eq!(0.0, score("abc", "ef")); [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/trigram.rs:93:9 [INFO] [stderr] | [INFO] [stderr] 93 | assert_eq!(score(s1, s2), score(s2, s1)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/trigram.rs:93:9 [INFO] [stderr] | [INFO] [stderr] 93 | assert_eq!(score(s1, s2), score(s2, s1)); [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/trigram.rs:99:9 [INFO] [stderr] | [INFO] [stderr] 99 | assert_eq!(score("abac", a4), score("baca", a4)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: std::f32::EPSILON and std::f64::EPSILON are available. [INFO] [stderr] --> src/trigram.rs:99:9 [INFO] [stderr] | [INFO] [stderr] 99 | assert_eq!(score("abac", a4), score("baca", a4)); [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: unused `std::result::Result` that must be used [INFO] [stderr] --> src/marks.rs:95:17 [INFO] [stderr] | [INFO] [stderr] 95 | write!(f, " "); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_must_use)] on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [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: unused `std::result::Result` that must be used [INFO] [stderr] --> src/marks.rs:97:17 [INFO] [stderr] | [INFO] [stderr] 97 | write!(f, "{:<4.4}", record_id); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [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 `fuzzy-match`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "c7d0d11decd64c26d28072d35c4d0a519e07e8ec0abbe54ac20b55ecd2f0534e"` [INFO] running `"docker" "rm" "-f" "c7d0d11decd64c26d28072d35c4d0a519e07e8ec0abbe54ac20b55ecd2f0534e"` [INFO] [stdout] c7d0d11decd64c26d28072d35c4d0a519e07e8ec0abbe54ac20b55ecd2f0534e