[INFO] fetching crate puny2d 0.0.2... [INFO] linting puny2d-0.0.2 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate puny2d 0.0.2 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate puny2d 0.0.2 [INFO] finished tweaking crates.io crate puny2d 0.0.2 [INFO] tweaked toml for crates.io crate puny2d 0.0.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate puny2d 0.0.2 on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 68 packages to latest compatible versions [INFO] [stderr] Adding image v0.23.14 (available: v0.25.10) [INFO] [stderr] Adding lru v0.6.6 (available: v0.16.3) [INFO] [stderr] Adding rayon v1.5.3 (available: v1.11.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded microbench v0.5.0 [INFO] [stderr] Downloaded lru v0.6.6 [INFO] [stderr] Downloaded font-loader v0.11.0 [INFO] [stderr] Downloaded glyph_brush_layout v0.2.4 [INFO] [stderr] Downloaded servo-fontconfig v0.5.1 [INFO] [stderr] Downloaded core-text v19.2.0 [INFO] [stderr] Downloaded xi-unicode v0.3.0 [INFO] [stderr] Downloaded expat-sys v2.1.6 [INFO] [stderr] Downloaded servo-fontconfig-sys v5.1.0 [INFO] [stderr] Downloaded freetype-sys v0.13.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cd817cf1f171ee812c68bc74e827121c46721b14330e122ad414ee3072df09d [INFO] running `Command { std: "docker" "start" "-a" "0cd817cf1f171ee812c68bc74e827121c46721b14330e122ad414ee3072df09d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cd817cf1f171ee812c68bc74e827121c46721b14330e122ad414ee3072df09d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cd817cf1f171ee812c68bc74e827121c46721b14330e122ad414ee3072df09d", kill_on_drop: false }` [INFO] [stdout] 0cd817cf1f171ee812c68bc74e827121c46721b14330e122ad414ee3072df09d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1b0dfaf183c8d1fdf19f7763c45f3952ddcac5ce51452ad9396a745c304b576 [INFO] running `Command { std: "docker" "start" "-a" "a1b0dfaf183c8d1fdf19f7763c45f3952ddcac5ce51452ad9396a745c304b576", kill_on_drop: false }` [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking weezl v0.1.12 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking microbench v0.5.0 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking lru v0.6.6 [INFO] [stderr] Checking servo-fontconfig v0.5.1 [INFO] [stderr] Checking font-loader v0.11.0 [INFO] [stderr] Checking owned_ttf_parser v0.15.2 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Checking glyph_brush_layout v0.2.4 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking puny2d v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `join` [INFO] [stdout] --> src/vector/stroke.rs:20:61 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn stroke_path(path: &Path, width_x: f32, width_y: f32, join: LineJoin, cap: LineCap) -> Path { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_join` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cap` [INFO] [stdout] --> src/vector/stroke.rs:20:77 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn stroke_path(path: &Path, width_x: f32, width_y: f32, join: LineJoin, cap: LineCap) -> Path { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width_weight_x` [INFO] [stdout] --> src/vector/stroke.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | let (width_weight_x, width_weight_y) = if width_x > width_y { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_width_weight_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width_weight_y` [INFO] [stdout] --> src/vector/stroke.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let (width_weight_x, width_weight_y) = if width_x > width_y { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_width_weight_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_path` [INFO] [stdout] --> src/vector/stroke.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | for sub_path in SubPathIterator::new(path.segments()) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of a legacy numeric constant [INFO] [stdout] --> src/math.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | (self - other).abs() <= std::$T::EPSILON [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | impl_float_ext!(f32); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] = note: `#[warn(clippy::legacy_numeric_constants)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_float_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the associated constant instead [INFO] [stdout] | [INFO] [stdout] 19 - (self - other).abs() <= std::$T::EPSILON [INFO] [stdout] 19 + (self - other).abs() <= f32::EPSILON [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of a legacy numeric constant [INFO] [stdout] --> src/math.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | (self - other).abs() <= std::$T::EPSILON [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | impl_float_ext!(f64); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] = note: this warning originates in the macro `impl_float_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the associated constant instead [INFO] [stdout] | [INFO] [stdout] 19 - (self - other).abs() <= std::$T::EPSILON [INFO] [stdout] 19 + (self - other).abs() <= f64::EPSILON [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/raster/scanlines.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / !line.0.y.eq_close(line.1.y) && // Horizontal / zero-length [INFO] [stdout] 49 | | !(line.0.y < 0.0 && line.1.y < 0.0) && // Top-outside [INFO] [stdout] | |___________________________________________^ help: try: `!(line.0.y.eq_close(line.1.y) || line.0.y < 0.0 && line.1.y < 0.0)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to move all elements into a new `Vec` [INFO] [stdout] --> src/raster/scanlines.rs:136:40 [INFO] [stdout] | [INFO] [stdout] 136 | scanlines.insert(*row, other_scanline_ranges.drain(..).collect()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `mem::take`: `std::mem::take(other_scanline_ranges)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#drain_collect [INFO] [stdout] = note: `#[warn(clippy::drain_collect)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider using `sort_by_key` [INFO] [stdout] --> src/raster/scanlines.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | scanline.1.sort_by(|range1, range2| range1.start.cmp(&range2.start) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by [INFO] [stdout] = note: `#[warn(clippy::unnecessary_sort_by)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 142 - scanline.1.sort_by(|range1, range2| range1.start.cmp(&range2.start) ); [INFO] [stdout] 142 + scanline.1.sort_by_key(|range1| range1.start); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking image v0.23.14 [INFO] [stdout] warning: importing a legacy numeric constant [INFO] [stdout] --> tests/font_tests.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | u8::MAX as u8MAX [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove this import and use the associated constant `u8::MAX` from the primitive type instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] = note: `#[warn(clippy::legacy_numeric_constants)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> tests/font_tests.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | assert!(fonts.len() > 0, "Fonts:\n{:?}", fonts); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!fonts.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] = note: `#[warn(clippy::len_zero)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> tests/font_tests.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | assert!(data_regular.len() > 0 && data_regular.len() != data_bold.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: using `!is_empty` is clearer and more explicit: `!data_regular.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of a legacy numeric constant [INFO] [stdout] --> tests/font_tests.rs:78:33 [INFO] [stdout] | [INFO] [stdout] 78 | LumaA( [u8MAX >> 1, (opacity * u8MAX as f32) as u8] ) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] help: use the associated constant instead [INFO] [stdout] | [INFO] [stdout] 78 | LumaA( [u8::MAX >> 1, (opacity * u8MAX as f32) as u8] ) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of a legacy numeric constant [INFO] [stdout] --> tests/font_tests.rs:78:56 [INFO] [stdout] | [INFO] [stdout] 78 | LumaA( [u8MAX >> 1, (opacity * u8MAX as f32) as u8] ) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] help: use the associated constant instead [INFO] [stdout] | [INFO] [stdout] 78 | LumaA( [u8MAX >> 1, (opacity * u8::MAX as f32) as u8] ) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> tests/accel_tests.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `join` [INFO] [stdout] --> src/vector/stroke.rs:20:61 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn stroke_path(path: &Path, width_x: f32, width_y: f32, join: LineJoin, cap: LineCap) -> Path { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_join` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cap` [INFO] [stdout] --> src/vector/stroke.rs:20:77 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn stroke_path(path: &Path, width_x: f32, width_y: f32, join: LineJoin, cap: LineCap) -> Path { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width_weight_x` [INFO] [stdout] --> src/vector/stroke.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | let (width_weight_x, width_weight_y) = if width_x > width_y { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_width_weight_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width_weight_y` [INFO] [stdout] --> src/vector/stroke.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let (width_weight_x, width_weight_y) = if width_x > width_y { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_width_weight_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_path` [INFO] [stdout] --> src/vector/stroke.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | for sub_path in SubPathIterator::new(path.segments()) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of a legacy numeric constant [INFO] [stdout] --> src/math.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | (self - other).abs() <= std::$T::EPSILON [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | impl_float_ext!(f32); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] = note: `#[warn(clippy::legacy_numeric_constants)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_float_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the associated constant instead [INFO] [stdout] | [INFO] [stdout] 19 - (self - other).abs() <= std::$T::EPSILON [INFO] [stdout] 19 + (self - other).abs() <= f32::EPSILON [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of a legacy numeric constant [INFO] [stdout] --> src/math.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | (self - other).abs() <= std::$T::EPSILON [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | impl_float_ext!(f64); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] = note: this warning originates in the macro `impl_float_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the associated constant instead [INFO] [stdout] | [INFO] [stdout] 19 - (self - other).abs() <= std::$T::EPSILON [INFO] [stdout] 19 + (self - other).abs() <= f64::EPSILON [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice` [INFO] [stdout] --> src/vector/path.rs:286:32 [INFO] [stdout] | [INFO] [stdout] 286 | flat_path_segments.into_iter() [INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stdout] = note: `#[warn(clippy::into_iter_on_ref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/raster/scanlines.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / !line.0.y.eq_close(line.1.y) && // Horizontal / zero-length [INFO] [stdout] 49 | | !(line.0.y < 0.0 && line.1.y < 0.0) && // Top-outside [INFO] [stdout] | |___________________________________________^ help: try: `!(line.0.y.eq_close(line.1.y) || line.0.y < 0.0 && line.1.y < 0.0)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you seem to be trying to move all elements into a new `Vec` [INFO] [stdout] --> src/raster/scanlines.rs:136:40 [INFO] [stdout] | [INFO] [stdout] 136 | scanlines.insert(*row, other_scanline_ranges.drain(..).collect()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `mem::take`: `std::mem::take(other_scanline_ranges)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#drain_collect [INFO] [stdout] = note: `#[warn(clippy::drain_collect)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider using `sort_by_key` [INFO] [stdout] --> src/raster/scanlines.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | scanline.1.sort_by(|range1, range2| range1.start.cmp(&range2.start) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by [INFO] [stdout] = note: `#[warn(clippy::unnecessary_sort_by)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 142 - scanline.1.sort_by(|range1, range2| range1.start.cmp(&range2.start) ); [INFO] [stdout] 142 + scanline.1.sort_by_key(|range1| range1.start); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | (1, vec![1..5]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] = note: `#[warn(clippy::single_range_in_vec_init)]` on by default [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 188 - (1, vec![1..5]), [INFO] [stdout] 188 + (1, (1..5).collect::>()), [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 5, try [INFO] [stdout] | [INFO] [stdout] 188 - (1, vec![1..5]), [INFO] [stdout] 188 + (1, vec![1; 5]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | (2, vec![1..5]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 189 - (2, vec![1..5]), [INFO] [stdout] 189 + (2, (1..5).collect::>()), [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 5, try [INFO] [stdout] | [INFO] [stdout] 189 - (2, vec![1..5]), [INFO] [stdout] 189 + (2, vec![1; 5]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | (3, vec![1..5]) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 190 - (3, vec![1..5]) [INFO] [stdout] 190 + (3, (1..5).collect::>()) [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 5, try [INFO] [stdout] | [INFO] [stdout] 190 - (3, vec![1..5]) [INFO] [stdout] 190 + (3, vec![1; 5]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:213:21 [INFO] [stdout] | [INFO] [stdout] 213 | (0, vec![0..9]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 213 - (0, vec![0..9]), [INFO] [stdout] 213 + (0, (0..9).collect::>()), [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 9, try [INFO] [stdout] | [INFO] [stdout] 213 - (0, vec![0..9]), [INFO] [stdout] 213 + (0, vec![0; 9]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | (1, vec![0..9]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 214 - (1, vec![0..9]), [INFO] [stdout] 214 + (1, (0..9).collect::>()), [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 9, try [INFO] [stdout] | [INFO] [stdout] 214 - (1, vec![0..9]), [INFO] [stdout] 214 + (1, vec![0; 9]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 218 | (5, vec![0..9]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 218 - (5, vec![0..9]), [INFO] [stdout] 218 + (5, (0..9).collect::>()), [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 9, try [INFO] [stdout] | [INFO] [stdout] 218 - (5, vec![0..9]), [INFO] [stdout] 218 + (5, vec![0; 9]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | (6, vec![0..9]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 219 - (6, vec![0..9]), [INFO] [stdout] 219 + (6, (0..9).collect::>()), [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 9, try [INFO] [stdout] | [INFO] [stdout] 219 - (6, vec![0..9]), [INFO] [stdout] 219 + (6, vec![0; 9]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | (7, vec![0..9]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 220 - (7, vec![0..9]), [INFO] [stdout] 220 + (7, (0..9).collect::>()), [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 9, try [INFO] [stdout] | [INFO] [stdout] 220 - (7, vec![0..9]), [INFO] [stdout] 220 + (7, vec![0; 9]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | (8, vec![0..9]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 221 - (8, vec![0..9]), [INFO] [stdout] 221 + (8, (0..9).collect::>()), [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 9, try [INFO] [stdout] | [INFO] [stdout] 221 - (8, vec![0..9]), [INFO] [stdout] 221 + (8, vec![0; 9]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | (9, vec![0..9]) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 222 - (9, vec![0..9]) [INFO] [stdout] 222 + (9, (0..9).collect::>()) [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 9, try [INFO] [stdout] | [INFO] [stdout] 222 - (9, vec![0..9]) [INFO] [stdout] 222 + (9, vec![0; 9]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:245:21 [INFO] [stdout] | [INFO] [stdout] 245 | (0, vec![0..9]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 245 - (0, vec![0..9]), [INFO] [stdout] 245 + (0, (0..9).collect::>()), [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 9, try [INFO] [stdout] | [INFO] [stdout] 245 - (0, vec![0..9]), [INFO] [stdout] 245 + (0, vec![0; 9]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:246:21 [INFO] [stdout] | [INFO] [stdout] 246 | (1, vec![0..9]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 246 - (1, vec![0..9]), [INFO] [stdout] 246 + (1, (0..9).collect::>()), [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 9, try [INFO] [stdout] | [INFO] [stdout] 246 - (1, vec![0..9]), [INFO] [stdout] 246 + (1, vec![0; 9]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:247:21 [INFO] [stdout] | [INFO] [stdout] 247 | (2, vec![0..9]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 247 - (2, vec![0..9]), [INFO] [stdout] 247 + (2, (0..9).collect::>()), [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 9, try [INFO] [stdout] | [INFO] [stdout] 247 - (2, vec![0..9]), [INFO] [stdout] 247 + (2, vec![0; 9]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 248 | (3, vec![0..9]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 248 - (3, vec![0..9]), [INFO] [stdout] 248 + (3, (0..9).collect::>()), [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 9, try [INFO] [stdout] | [INFO] [stdout] 248 - (3, vec![0..9]), [INFO] [stdout] 248 + (3, vec![0; 9]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:249:21 [INFO] [stdout] | [INFO] [stdout] 249 | (4, vec![0..9]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 249 - (4, vec![0..9]), [INFO] [stdout] 249 + (4, (0..9).collect::>()), [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 9, try [INFO] [stdout] | [INFO] [stdout] 249 - (4, vec![0..9]), [INFO] [stdout] 249 + (4, vec![0; 9]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 250 | (5, vec![0..9]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 250 - (5, vec![0..9]), [INFO] [stdout] 250 + (5, (0..9).collect::>()), [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 9, try [INFO] [stdout] | [INFO] [stdout] 250 - (5, vec![0..9]), [INFO] [stdout] 250 + (5, vec![0; 9]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | (6, vec![0..9]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 251 - (6, vec![0..9]), [INFO] [stdout] 251 + (6, (0..9).collect::>()), [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 9, try [INFO] [stdout] | [INFO] [stdout] 251 - (6, vec![0..9]), [INFO] [stdout] 251 + (6, vec![0; 9]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:252:21 [INFO] [stdout] | [INFO] [stdout] 252 | (7, vec![0..9]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 252 - (7, vec![0..9]), [INFO] [stdout] 252 + (7, (0..9).collect::>()), [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 9, try [INFO] [stdout] | [INFO] [stdout] 252 - (7, vec![0..9]), [INFO] [stdout] 252 + (7, vec![0; 9]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 253 | (8, vec![0..9]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 253 - (8, vec![0..9]), [INFO] [stdout] 253 + (8, (0..9).collect::>()), [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 9, try [INFO] [stdout] | [INFO] [stdout] 253 - (8, vec![0..9]), [INFO] [stdout] 253 + (8, vec![0; 9]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 254 | (9, vec![0..9]) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 254 - (9, vec![0..9]) [INFO] [stdout] 254 + (9, (0..9).collect::>()) [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 9, try [INFO] [stdout] | [INFO] [stdout] 254 - (9, vec![0..9]) [INFO] [stdout] 254 + (9, vec![0; 9]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | (2, vec![1..10]), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 276 - (2, vec![1..10]), [INFO] [stdout] 276 + (2, (1..10).collect::>()), [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 10, try [INFO] [stdout] | [INFO] [stdout] 276 - (2, vec![1..10]), [INFO] [stdout] 276 + (2, vec![1; 10]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:277:21 [INFO] [stdout] | [INFO] [stdout] 277 | (3, vec![1..10]), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 277 - (3, vec![1..10]), [INFO] [stdout] 277 + (3, (1..10).collect::>()), [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 10, try [INFO] [stdout] | [INFO] [stdout] 277 - (3, vec![1..10]), [INFO] [stdout] 277 + (3, vec![1; 10]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | (4, vec![2..10]), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 278 - (4, vec![2..10]), [INFO] [stdout] 278 + (4, (2..10).collect::>()), [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 10, try [INFO] [stdout] | [INFO] [stdout] 278 - (4, vec![2..10]), [INFO] [stdout] 278 + (4, vec![2; 10]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:279:21 [INFO] [stdout] | [INFO] [stdout] 279 | (5, vec![2..10]), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 279 - (5, vec![2..10]), [INFO] [stdout] 279 + (5, (2..10).collect::>()), [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 10, try [INFO] [stdout] | [INFO] [stdout] 279 - (5, vec![2..10]), [INFO] [stdout] 279 + (5, vec![2; 10]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 280 | (6, vec![2..10]) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 280 - (6, vec![2..10]) [INFO] [stdout] 280 + (6, (2..10).collect::>()) [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 10, try [INFO] [stdout] | [INFO] [stdout] 280 - (6, vec![2..10]) [INFO] [stdout] 280 + (6, vec![2; 10]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:290:25 [INFO] [stdout] | [INFO] [stdout] 290 | (0, vec![0..33]), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 290 - (0, vec![0..33]), [INFO] [stdout] 290 + (0, (0..33).collect::>()), [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 33, try [INFO] [stdout] | [INFO] [stdout] 290 - (0, vec![0..33]), [INFO] [stdout] 290 + (0, vec![0; 33]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:291:25 [INFO] [stdout] | [INFO] [stdout] 291 | (1, vec![1..5]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 291 - (1, vec![1..5]), [INFO] [stdout] 291 + (1, (1..5).collect::>()), [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 5, try [INFO] [stdout] | [INFO] [stdout] 291 - (1, vec![1..5]), [INFO] [stdout] 291 + (1, vec![1; 5]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:295:25 [INFO] [stdout] | [INFO] [stdout] 295 | (1, vec![0..6]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 295 - (1, vec![0..6]), [INFO] [stdout] 295 + (1, (0..6).collect::>()), [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 6, try [INFO] [stdout] | [INFO] [stdout] 295 - (1, vec![0..6]), [INFO] [stdout] 295 + (1, vec![0; 6]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:296:25 [INFO] [stdout] | [INFO] [stdout] 296 | (2, vec![2..8]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 296 - (2, vec![2..8]), [INFO] [stdout] 296 + (2, (2..8).collect::>()), [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 8, try [INFO] [stdout] | [INFO] [stdout] 296 - (2, vec![2..8]), [INFO] [stdout] 296 + (2, vec![2; 8]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:301:21 [INFO] [stdout] | [INFO] [stdout] 301 | (0, vec![0..33]), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 301 - (0, vec![0..33]), [INFO] [stdout] 301 + (0, (0..33).collect::>()), [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 33, try [INFO] [stdout] | [INFO] [stdout] 301 - (0, vec![0..33]), [INFO] [stdout] 301 + (0, vec![0; 33]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a `Vec` of `Range` that is only one element [INFO] [stdout] --> src/raster/scanlines.rs:303:21 [INFO] [stdout] | [INFO] [stdout] 303 | (2, vec![2..8]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_range_in_vec_init [INFO] [stdout] help: if you wanted a `Vec` that contains the entire range, try [INFO] [stdout] | [INFO] [stdout] 303 - (2, vec![2..8]), [INFO] [stdout] 303 + (2, (2..8).collect::>()), [INFO] [stdout] | [INFO] [stdout] help: if you wanted a `Vec` of len 8, try [INFO] [stdout] | [INFO] [stdout] 303 - (2, vec![2..8]), [INFO] [stdout] 303 + (2, vec![2; 8]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.07s [INFO] running `Command { std: "docker" "inspect" "a1b0dfaf183c8d1fdf19f7763c45f3952ddcac5ce51452ad9396a745c304b576", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1b0dfaf183c8d1fdf19f7763c45f3952ddcac5ce51452ad9396a745c304b576", kill_on_drop: false }` [INFO] [stdout] a1b0dfaf183c8d1fdf19f7763c45f3952ddcac5ce51452ad9396a745c304b576