[INFO] updating cached repository duvholt/rust-metaheuristic-framework [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/duvholt/rust-metaheuristic-framework [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/duvholt/rust-metaheuristic-framework" "work/ex/clippy-test-run/sources/stable/gh/duvholt/rust-metaheuristic-framework"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable/gh/duvholt/rust-metaheuristic-framework'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/duvholt/rust-metaheuristic-framework" "work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/duvholt/rust-metaheuristic-framework"` [INFO] [stderr] Cloning into 'work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/duvholt/rust-metaheuristic-framework'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 11c125e2a2840aed9b61b2f40b7bc406ec9970f2 [INFO] sha for GitHub repo duvholt/rust-metaheuristic-framework: 11c125e2a2840aed9b61b2f40b7bc406ec9970f2 [INFO] validating manifest of duvholt/rust-metaheuristic-framework 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 duvholt/rust-metaheuristic-framework 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 duvholt/rust-metaheuristic-framework [INFO] finished frobbing duvholt/rust-metaheuristic-framework [INFO] frobbed toml for duvholt/rust-metaheuristic-framework written to work/ex/clippy-test-run/sources/stable/gh/duvholt/rust-metaheuristic-framework/Cargo.toml [INFO] started frobbing duvholt/rust-metaheuristic-framework [INFO] finished frobbing duvholt/rust-metaheuristic-framework [INFO] frobbed toml for duvholt/rust-metaheuristic-framework written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/gh/duvholt/rust-metaheuristic-framework/Cargo.toml [INFO] crate duvholt/rust-metaheuristic-framework 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 duvholt/rust-metaheuristic-framework 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/gh/duvholt/rust-metaheuristic-framework:/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] 4491ead8a291077acdd4f49b3cf685b40beceb8fe7383886af25504bb4dc1bfb [INFO] running `"docker" "start" "-a" "4491ead8a291077acdd4f49b3cf685b40beceb8fe7383886af25504bb4dc1bfb"` [INFO] [stderr] Checking serde v1.0.38 [INFO] [stderr] Checking assert_approx_eq v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.38 [INFO] [stderr] Checking statistical v0.1.1 [INFO] [stderr] Checking serde_json v1.0.14 [INFO] [stderr] Checking rustoa v0.0.1 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/algorithms/mopso.rs:293:13 [INFO] [stderr] | [INFO] [stderr] 293 | velocity: velocity, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `velocity` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/algorithms/pso.rs:196:13 [INFO] [stderr] | [INFO] [stderr] 196 | velocity: velocity, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `velocity` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/problems/multi/dtlz.rs:100:9 [INFO] [stderr] | [INFO] [stderr] 100 | let y = match v { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::many_single_char_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/problems/multi/uf.rs:170:13 [INFO] [stderr] | [INFO] [stderr] 170 | let c = ((20.0 * a * consts::PI) / j.sqrt()).cos(); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/problems/multi/uf.rs:217:13 [INFO] [stderr] | [INFO] [stderr] 217 | let h = 2.0 * a.powi(2) - (4.0 * consts::PI * a).cos() + 1.0; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/problems/multi/uf.rs:246:13 [INFO] [stderr] | [INFO] [stderr] 246 | let b = a.powi(2); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 6th binding whose name is just one char [INFO] [stderr] --> src/problems/multi/uf.rs:247:13 [INFO] [stderr] | [INFO] [stderr] 247 | let c = ((20.0 * a * consts::PI) / j.sqrt()).cos(); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/problems/single/cec2014.rs:137:9 [INFO] [stderr] | [INFO] [stderr] 137 | let d = x.len() as f64; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/statistics/sampler.rs:191:9 [INFO] [stderr] | [INFO] [stderr] 191 | / write!( [INFO] [stderr] 192 | | writer, [INFO] [stderr] 193 | | "Average {} Standard deviation {}\n", [INFO] [stderr] 194 | | Green.paint(format!("{:10.4e}", mean_value)), [INFO] [stderr] 195 | | Green.paint(format!("{:10.4e}", std_dev)), [INFO] [stderr] 196 | | ).unwrap(); [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/statistics/sampler.rs:204:9 [INFO] [stderr] | [INFO] [stderr] 204 | / write!( [INFO] [stderr] 205 | | writer, [INFO] [stderr] 206 | | "Best position: {}\n", [INFO] [stderr] 207 | | Yellow.paint(format!("{:?}", best.x)) [INFO] [stderr] 208 | | ).unwrap(); [INFO] [stderr] | |_________^ [INFO] [stderr] | [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/statistics/sampler.rs:214:13 [INFO] [stderr] | [INFO] [stderr] 214 | / write!( [INFO] [stderr] 215 | | writer, [INFO] [stderr] 216 | | "Min: {}. Max: {}\n", [INFO] [stderr] 217 | | Cyan.paint(format!("{:10.4e}", min)), [INFO] [stderr] 218 | | Red.paint(format!("{:10.4e}", max)), [INFO] [stderr] 219 | | ).unwrap(); [INFO] [stderr] | |_____________^ [INFO] [stderr] | [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/statistics/sampler.rs:253:13 [INFO] [stderr] | [INFO] [stderr] 253 | / write!( [INFO] [stderr] 254 | | &mut writer, [INFO] [stderr] 255 | | "{}: {}\n", [INFO] [stderr] 256 | | measure, [INFO] [stderr] 257 | | Green.paint(format!("{:10.4e}", value)), [INFO] [stderr] 258 | | ).unwrap(); [INFO] [stderr] | |_____________^ [INFO] [stderr] | [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/statistics/sampler.rs:304:13 [INFO] [stderr] | [INFO] [stderr] 304 | / write!( [INFO] [stderr] 305 | | &mut writer, [INFO] [stderr] 306 | | "[{:2}] Fitness: {}\n", [INFO] [stderr] 307 | | i, [INFO] [stderr] 308 | | Green.paint(format!("{:10.4e}", solution.fitness[0])) [INFO] [stderr] 309 | | ).unwrap(); [INFO] [stderr] | |_____________^ [INFO] [stderr] | [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/statistics/sampler.rs:330:17 [INFO] [stderr] | [INFO] [stderr] 330 | / write!( [INFO] [stderr] 331 | | &mut writer, [INFO] [stderr] 332 | | "Mode: Evolution with {} samples\n", [INFO] [stderr] 333 | | self.samples [INFO] [stderr] 334 | | ).unwrap(); [INFO] [stderr] | |_________________^ [INFO] [stderr] | [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/statistics/sampler.rs:338:17 [INFO] [stderr] | [INFO] [stderr] 338 | write!(&mut writer, "Mode: Last Generation\n").unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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/statistics/sampler.rs:342:17 [INFO] [stderr] | [INFO] [stderr] 342 | / write!( [INFO] [stderr] 343 | | &mut writer, [INFO] [stderr] 344 | | "Mode: Best Solution Evolution with {} samples\n", [INFO] [stderr] 345 | | self.samples [INFO] [stderr] 346 | | ).unwrap(); [INFO] [stderr] | |_________________^ [INFO] [stderr] | [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/statistics/sampler.rs:350:17 [INFO] [stderr] | [INFO] [stderr] 350 | write!(&mut writer, "Mode: All fitness evaluations\n").unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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/statistics/sampler.rs:406:9 [INFO] [stderr] | [INFO] [stderr] 406 | write!(&mut writer, "Number of runs: {}\n", runs.len()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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/statistics/sampler.rs:409:13 [INFO] [stderr] | [INFO] [stderr] 409 | / write!( [INFO] [stderr] 410 | | &mut writer, [INFO] [stderr] 411 | | "Measure: {}\n", [INFO] [stderr] 412 | | Yellow.paint(measure.to_string()) [INFO] [stderr] 413 | | ).unwrap(); [INFO] [stderr] | |_____________^ [INFO] [stderr] | [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: redundant field names in struct initialization [INFO] [stderr] --> src/algorithms/mopso.rs:293:13 [INFO] [stderr] | [INFO] [stderr] 293 | velocity: velocity, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `velocity` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/algorithms/pso.rs:196:13 [INFO] [stderr] | [INFO] [stderr] 196 | velocity: velocity, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `velocity` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/problems/multi/dtlz.rs:100:9 [INFO] [stderr] | [INFO] [stderr] 100 | let y = match v { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::many_single_char_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/problems/multi/uf.rs:170:13 [INFO] [stderr] | [INFO] [stderr] 170 | let c = ((20.0 * a * consts::PI) / j.sqrt()).cos(); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/problems/multi/uf.rs:217:13 [INFO] [stderr] | [INFO] [stderr] 217 | let h = 2.0 * a.powi(2) - (4.0 * consts::PI * a).cos() + 1.0; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/problems/multi/uf.rs:246:13 [INFO] [stderr] | [INFO] [stderr] 246 | let b = a.powi(2); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 6th binding whose name is just one char [INFO] [stderr] --> src/problems/multi/uf.rs:247:13 [INFO] [stderr] | [INFO] [stderr] 247 | let c = ((20.0 * a * consts::PI) / j.sqrt()).cos(); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: 5th binding whose name is just one char [INFO] [stderr] --> src/problems/single/cec2014.rs:137:9 [INFO] [stderr] | [INFO] [stderr] 137 | let d = x.len() as f64; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#many_single_char_names [INFO] [stderr] [INFO] [stderr] warning: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead [INFO] [stderr] --> src/statistics/sampler.rs:191:9 [INFO] [stderr] | [INFO] [stderr] 191 | / write!( [INFO] [stderr] 192 | | writer, [INFO] [stderr] 193 | | "Average {} Standard deviation {}\n", [INFO] [stderr] 194 | | Green.paint(format!("{:10.4e}", mean_value)), [INFO] [stderr] 195 | | Green.paint(format!("{:10.4e}", std_dev)), [INFO] [stderr] 196 | | ).unwrap(); [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/statistics/sampler.rs:204:9 [INFO] [stderr] | [INFO] [stderr] 204 | / write!( [INFO] [stderr] 205 | | writer, [INFO] [stderr] 206 | | "Best position: {}\n", [INFO] [stderr] 207 | | Yellow.paint(format!("{:?}", best.x)) [INFO] [stderr] 208 | | ).unwrap(); [INFO] [stderr] | |_________^ [INFO] [stderr] | [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/statistics/sampler.rs:214:13 [INFO] [stderr] | [INFO] [stderr] 214 | / write!( [INFO] [stderr] 215 | | writer, [INFO] [stderr] 216 | | "Min: {}. Max: {}\n", [INFO] [stderr] 217 | | Cyan.paint(format!("{:10.4e}", min)), [INFO] [stderr] 218 | | Red.paint(format!("{:10.4e}", max)), [INFO] [stderr] 219 | | ).unwrap(); [INFO] [stderr] | |_____________^ [INFO] [stderr] | [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/statistics/sampler.rs:253:13 [INFO] [stderr] | [INFO] [stderr] 253 | / write!( [INFO] [stderr] 254 | | &mut writer, [INFO] [stderr] 255 | | "{}: {}\n", [INFO] [stderr] 256 | | measure, [INFO] [stderr] 257 | | Green.paint(format!("{:10.4e}", value)), [INFO] [stderr] 258 | | ).unwrap(); [INFO] [stderr] | |_____________^ [INFO] [stderr] | [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/statistics/sampler.rs:304:13 [INFO] [stderr] | [INFO] [stderr] 304 | / write!( [INFO] [stderr] 305 | | &mut writer, [INFO] [stderr] 306 | | "[{:2}] Fitness: {}\n", [INFO] [stderr] 307 | | i, [INFO] [stderr] 308 | | Green.paint(format!("{:10.4e}", solution.fitness[0])) [INFO] [stderr] 309 | | ).unwrap(); [INFO] [stderr] | |_____________^ [INFO] [stderr] | [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/statistics/sampler.rs:330:17 [INFO] [stderr] | [INFO] [stderr] 330 | / write!( [INFO] [stderr] 331 | | &mut writer, [INFO] [stderr] 332 | | "Mode: Evolution with {} samples\n", [INFO] [stderr] 333 | | self.samples [INFO] [stderr] 334 | | ).unwrap(); [INFO] [stderr] | |_________________^ [INFO] [stderr] | [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/statistics/sampler.rs:338:17 [INFO] [stderr] | [INFO] [stderr] 338 | write!(&mut writer, "Mode: Last Generation\n").unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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/statistics/sampler.rs:342:17 [INFO] [stderr] | [INFO] [stderr] 342 | / write!( [INFO] [stderr] 343 | | &mut writer, [INFO] [stderr] 344 | | "Mode: Best Solution Evolution with {} samples\n", [INFO] [stderr] 345 | | self.samples [INFO] [stderr] 346 | | ).unwrap(); [INFO] [stderr] | |_________________^ [INFO] [stderr] | [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/statistics/sampler.rs:350:17 [INFO] [stderr] | [INFO] [stderr] 350 | write!(&mut writer, "Mode: All fitness evaluations\n").unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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/statistics/sampler.rs:406:9 [INFO] [stderr] | [INFO] [stderr] 406 | write!(&mut writer, "Number of runs: {}\n", runs.len()).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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/statistics/sampler.rs:409:13 [INFO] [stderr] | [INFO] [stderr] 409 | / write!( [INFO] [stderr] 410 | | &mut writer, [INFO] [stderr] 411 | | "Measure: {}\n", [INFO] [stderr] 412 | | Yellow.paint(measure.to_string()) [INFO] [stderr] 413 | | ).unwrap(); [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stderr] [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> src/lib.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(test)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0554`. [INFO] [stderr] error: Could not compile `rustoa`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> src/lib.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(test)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0554`. [INFO] [stderr] error: Could not compile `rustoa`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "4491ead8a291077acdd4f49b3cf685b40beceb8fe7383886af25504bb4dc1bfb"` [INFO] running `"docker" "rm" "-f" "4491ead8a291077acdd4f49b3cf685b40beceb8fe7383886af25504bb4dc1bfb"` [INFO] [stdout] 4491ead8a291077acdd4f49b3cf685b40beceb8fe7383886af25504bb4dc1bfb