[INFO] cloning repository https://github.com/jeremyarde/domino-counter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeremyarde/domino-counter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeremyarde%2Fdomino-counter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeremyarde%2Fdomino-counter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aef2990d9fcaf522de83f92e2fd5dd202f15b725 [INFO] checking jeremyarde/domino-counter against master#50e1dc1536264ab71c0850f346b12309477f29f7 for pr-85073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeremyarde%2Fdomino-counter" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 85% (117/137) Updating files: 86% (118/137) Updating files: 87% (120/137) Updating files: 88% (121/137) Updating files: 89% (122/137) Updating files: 90% (124/137) Updating files: 91% (125/137) Updating files: 92% (127/137) Updating files: 93% (128/137) Updating files: 94% (129/137) Updating files: 95% (131/137) Updating files: 96% (132/137) Updating files: 97% (133/137) Updating files: 98% (135/137) Updating files: 99% (136/137) Updating files: 100% (137/137) Updating files: 100% (137/137), done. [INFO] validating manifest of git repo https://github.com/jeremyarde/domino-counter on toolchain 50e1dc1536264ab71c0850f346b12309477f29f7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jeremyarde/domino-counter [INFO] finished tweaking git repo https://github.com/jeremyarde/domino-counter [INFO] tweaked toml for git repo https://github.com/jeremyarde/domino-counter written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/jeremyarde/domino-counter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec16da0bc434221768bb9b38b8f9f90d68e563fbb04924ea215f71725d5e7e4f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ec16da0bc434221768bb9b38b8f9f90d68e563fbb04924ea215f71725d5e7e4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec16da0bc434221768bb9b38b8f9f90d68e563fbb04924ea215f71725d5e7e4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec16da0bc434221768bb9b38b8f9f90d68e563fbb04924ea215f71725d5e7e4f", kill_on_drop: false }` [INFO] [stdout] ec16da0bc434221768bb9b38b8f9f90d68e563fbb04924ea215f71725d5e7e4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+50e1dc1536264ab71c0850f346b12309477f29f7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fe610ae1c8edd0d86f653df9786da8fd9ba93294ae5412dd81f2daa3be37915 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3fe610ae1c8edd0d86f653df9786da8fd9ba93294ae5412dd81f2daa3be37915", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.73 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.73 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking ryu v1.0.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking matrixmultiply v0.1.15 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rulinalg v0.4.2 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.73 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.73 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.73 [INFO] [stderr] Checking imageproc v0.22.0 [INFO] [stderr] Checking serde v1.0.125 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking js-sys v0.3.50 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking web-sys v0.3.50 [INFO] [stderr] Checking domino-counter v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `GenericImage`, `RgbImage`, `math` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | math, DynamicImage, GenericImage, GenericImageView, ImageBuffer, Luma, Pixel, Rgb, RgbImage, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `contours::find_contours` [INFO] [stdout] --> src/lib.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use imageproc::{contours::find_contours, edges::canny}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `convert::TryInto`, `path::Path` [INFO] [stdout] --> src/lib.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{collections::HashMap, convert::TryInto, ops::Range, path::Path, usize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::set_panic_hook` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use utils::set_panic_hook; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `wasm` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | wasm, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Wasm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `windows` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | windows, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/lib.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GenericImage`, `RgbImage`, `math` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | math, DynamicImage, GenericImage, GenericImageView, ImageBuffer, Luma, Pixel, Rgb, RgbImage, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `contours::find_contours` [INFO] [stdout] --> src/lib.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use imageproc::{contours::find_contours, edges::canny}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `convert::TryInto`, `path::Path` [INFO] [stdout] --> src/lib.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{collections::HashMap, convert::TryInto, ops::Range, path::Path, usize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::set_panic_hook` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use utils::set_panic_hook; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `wasm` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | wasm, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Wasm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `windows` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | windows, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/lib.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:902:13 [INFO] [stdout] | [INFO] [stdout] 902 | 0.0..=80.0 => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:902:19 [INFO] [stdout] | [INFO] [stdout] 902 | 0.0..=80.0 => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_string` [INFO] [stdout] --> src/lib.rs:250:18 [INFO] [stdout] | [INFO] [stdout] 250 | let (result, result_string) = find_dominos(image, Platform::windows, false); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `topedge` [INFO] [stdout] --> src/lib.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | let mut topedge = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_topedge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bottomedge` [INFO] [stdout] --> src/lib.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | let mut bottomedge = 0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bottomedge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ratio` [INFO] [stdout] --> src/lib.rs:694:40 [INFO] [stdout] | [INFO] [stdout] 694 | fn guess_domino(buckets: &[(u8, u32)], ratio: &f32) -> u8 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lib.rs:863:10 [INFO] [stdout] | [INFO] [stdout] 863 | for (x, y, pixel) in img.pixels() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lib.rs:863:13 [INFO] [stdout] | [INFO] [stdout] 863 | for (x, y, pixel) in img.pixels() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lib.rs:319:68 [INFO] [stdout] | [INFO] [stdout] 319 | let reconstructed_image = ImageBuffer::from_fn(width, height, |x, y| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lib.rs:319:71 [INFO] [stdout] | [INFO] [stdout] 319 | let reconstructed_image = ImageBuffer::from_fn(width, height, |x, y| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:902:13 [INFO] [stdout] | [INFO] [stdout] 902 | 0.0..=80.0 => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:902:19 [INFO] [stdout] | [INFO] [stdout] 902 | 0.0..=80.0 => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result_string` [INFO] [stdout] --> src/lib.rs:250:18 [INFO] [stdout] | [INFO] [stdout] 250 | let (result, result_string) = find_dominos(image, Platform::windows, false); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `topedge` [INFO] [stdout] --> src/lib.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | let mut topedge = 0; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_topedge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bottomedge` [INFO] [stdout] --> src/lib.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | let mut bottomedge = 0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bottomedge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ratio` [INFO] [stdout] --> src/lib.rs:694:40 [INFO] [stdout] | [INFO] [stdout] 694 | fn guess_domino(buckets: &[(u8, u32)], ratio: &f32) -> u8 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lib.rs:863:10 [INFO] [stdout] | [INFO] [stdout] 863 | for (x, y, pixel) in img.pixels() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lib.rs:863:13 [INFO] [stdout] | [INFO] [stdout] 863 | for (x, y, pixel) in img.pixels() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lib.rs:319:68 [INFO] [stdout] | [INFO] [stdout] 319 | let reconstructed_image = ImageBuffer::from_fn(width, height, |x, y| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lib.rs:319:71 [INFO] [stdout] | [INFO] [stdout] 319 | let reconstructed_image = ImageBuffer::from_fn(width, height, |x, y| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | let mut topedge = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | let mut bottomedge = 0; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | let mut topedge = 0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | let mut bottomedge = 0; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:902:13 [INFO] [stdout] | [INFO] [stdout] 902 | 0.0..=80.0 => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:887:9 [INFO] [stdout] | [INFO] [stdout] 887 | let mut testblur = [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:211:27 [INFO] [stdout] | [INFO] [stdout] 211 | Platform::wasm => unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `detect_domino_edges_eval_data` [INFO] [stdout] --> src/lib.rs:351:4 [INFO] [stdout] | [INFO] [stdout] 351 | fn detect_domino_edges_eval_data(image: &DynamicImage) -> DominoImageSection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_domino_lines` [INFO] [stdout] --> src/lib.rs:509:4 [INFO] [stdout] | [INFO] [stdout] 509 | fn draw_domino_lines( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_most_common_pixels` [INFO] [stdout] --> src/lib.rs:772:4 [INFO] [stdout] | [INFO] [stdout] 772 | fn count_most_common_pixels(img: &DynamicImage, platform: &Platform) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:902:13 [INFO] [stdout] | [INFO] [stdout] 902 | 0.0..=80.0 => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:887:9 [INFO] [stdout] | [INFO] [stdout] 887 | let mut testblur = [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:211:27 [INFO] [stdout] | [INFO] [stdout] 211 | Platform::wasm => unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `windows` [INFO] [stdout] --> src/lib.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | windows, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/lib.rs:220:4 [INFO] [stdout] | [INFO] [stdout] 220 | fn main(domino_filepath: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `detect_domino_edges_eval_data` [INFO] [stdout] --> src/lib.rs:351:4 [INFO] [stdout] | [INFO] [stdout] 351 | fn detect_domino_edges_eval_data(image: &DynamicImage) -> DominoImageSection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_domino_lines` [INFO] [stdout] --> src/lib.rs:509:4 [INFO] [stdout] | [INFO] [stdout] 509 | fn draw_domino_lines( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_most_common_pixels` [INFO] [stdout] --> src/lib.rs:772:4 [INFO] [stdout] | [INFO] [stdout] 772 | fn count_most_common_pixels(img: &DynamicImage, platform: &Platform) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `testing_new_stuff` [INFO] [stdout] --> src/lib.rs:883:4 [INFO] [stdout] | [INFO] [stdout] 883 | fn testing_new_stuff(domino_filepath: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 50.73s [INFO] running `Command { std: "docker" "inspect" "3fe610ae1c8edd0d86f653df9786da8fd9ba93294ae5412dd81f2daa3be37915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fe610ae1c8edd0d86f653df9786da8fd9ba93294ae5412dd81f2daa3be37915", kill_on_drop: false }` [INFO] [stdout] 3fe610ae1c8edd0d86f653df9786da8fd9ba93294ae5412dd81f2daa3be37915