[INFO] cloning repository https://github.com/aauger/Rust-Frame-Interpolation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aauger/Rust-Frame-Interpolation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faauger%2FRust-Frame-Interpolation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faauger%2FRust-Frame-Interpolation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3cb85e96502cc8e4ba3286c2a9d6bde3bc91f499 [INFO] checking aauger/Rust-Frame-Interpolation against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faauger%2FRust-Frame-Interpolation" "/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: 90% (10/11) Updating files: 100% (11/11) Updating files: 100% (11/11), done. [INFO] validating manifest of git repo https://github.com/aauger/Rust-Frame-Interpolation on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aauger/Rust-Frame-Interpolation [INFO] finished tweaking git repo https://github.com/aauger/Rust-Frame-Interpolation [INFO] tweaked toml for git repo https://github.com/aauger/Rust-Frame-Interpolation written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/aauger/Rust-Frame-Interpolation already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tiff v0.2.0 [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 071bf66dc2501193b1a1332d63bfe98e62b0b828e8d6e01210fe567e52883f12 [INFO] running `Command { std: "docker" "start" "-a" "071bf66dc2501193b1a1332d63bfe98e62b0b828e8d6e01210fe567e52883f12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "071bf66dc2501193b1a1332d63bfe98e62b0b828e8d6e01210fe567e52883f12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "071bf66dc2501193b1a1332d63bfe98e62b0b828e8d6e01210fe567e52883f12", kill_on_drop: false }` [INFO] [stdout] 071bf66dc2501193b1a1332d63bfe98e62b0b828e8d6e01210fe567e52883f12 [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1ab4e54fb3363843c2b5b44d072936aaddc9cbd80b882b45fd6abfb627df4aab [INFO] running `Command { std: "docker" "start" "-a" "1ab4e54fb3363843c2b5b44d072936aaddc9cbd80b882b45fd6abfb627df4aab", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking inflate v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking num-iter v0.1.37 [INFO] [stderr] Checking num-rational v0.2.1 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking gif v0.10.0 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking rayon-core v1.4.1 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Checking tiff v0.2.0 [INFO] [stderr] Checking image v0.20.0 [INFO] [stderr] Checking Rust-Frame-Interpolation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/frame_pair.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/frame_pair.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | (rdist + gdist + bdist) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/frame_pair.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | ... if (x < 0 || x > width - 1) { difference += b.max_difference(); continue; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/frame_pair.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 98 | ... if (x + x_off < 0 || x + x_off > width - 1) { difference += b.max_difference(); continue; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/frame_pair.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | ... if (y < 0 || y > height - 1) { difference += b.max_difference(); continue; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/frame_pair.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | ... if (y + y_off < 0 || y + y_off > height - 1) { difference += b.max_difference(); continue; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/frame_pair.rs:117:24 [INFO] [stdout] | [INFO] [stdout] 117 | if (smallest_difference == None || difference < smallest_difference.unwrap()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/frame_pair.rs:132:24 [INFO] [stdout] | [INFO] [stdout] 132 | if (ox + x < 0 || ox + x > width-1) { continue; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/frame_pair.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | if (nx + x < 0 || nx + x > width-1) { continue; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/frame_pair.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | if (bx + x < 0 || bx + x > width-1) { continue; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/frame_pair.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 136 | if (oy + y < 0 || oy + y > height-1) { continue; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/frame_pair.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | if (ny + y < 0 || ny + y > height-1) { continue; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/frame_pair.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | if (by + y < 0 || by + y > height-1) { continue; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/frame_pair.rs:147:61 [INFO] [stdout] | [INFO] [stdout] 147 | let colA : Rgba = self.a.get_pixel( ((nx + x) as u32), ((ny + y) as u32) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/frame_pair.rs:147:80 [INFO] [stdout] | [INFO] [stdout] 147 | let colA : Rgba = self.a.get_pixel( ((nx + x) as u32), ((ny + y) as u32) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/frame_pair.rs:148:61 [INFO] [stdout] | [INFO] [stdout] 148 | let colC : Rgba = self.b.get_pixel( ((nx + x) as u32), ((ny + y) as u32) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/frame_pair.rs:148:80 [INFO] [stdout] | [INFO] [stdout] 148 | let colC : Rgba = self.b.get_pixel( ((nx + x) as u32), ((ny + y) as u32) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/frame_pair.rs:157:23 [INFO] [stdout] | [INFO] [stdout] 157 | if(smallest_difference.unwrap() > self.blkSize*self.blkSize*(b.max_difference()/2)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/frame_pair.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/frame_pair.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | (rdist + gdist + bdist) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/frame_pair.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | ... if (x < 0 || x > width - 1) { difference += b.max_difference(); continue; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/frame_pair.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 98 | ... if (x + x_off < 0 || x + x_off > width - 1) { difference += b.max_difference(); continue; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/frame_pair.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | ... if (y < 0 || y > height - 1) { difference += b.max_difference(); continue; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/frame_pair.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | ... if (y + y_off < 0 || y + y_off > height - 1) { difference += b.max_difference(); continue; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/frame_pair.rs:117:24 [INFO] [stdout] | [INFO] [stdout] 117 | if (smallest_difference == None || difference < smallest_difference.unwrap()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/frame_pair.rs:132:24 [INFO] [stdout] | [INFO] [stdout] 132 | if (ox + x < 0 || ox + x > width-1) { continue; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/frame_pair.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | if (nx + x < 0 || nx + x > width-1) { continue; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/frame_pair.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | if (bx + x < 0 || bx + x > width-1) { continue; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/frame_pair.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 136 | if (oy + y < 0 || oy + y > height-1) { continue; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/frame_pair.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | if (ny + y < 0 || ny + y > height-1) { continue; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/frame_pair.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | if (by + y < 0 || by + y > height-1) { continue; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/frame_pair.rs:147:61 [INFO] [stdout] | [INFO] [stdout] 147 | let colA : Rgba = self.a.get_pixel( ((nx + x) as u32), ((ny + y) as u32) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/frame_pair.rs:147:80 [INFO] [stdout] | [INFO] [stdout] 147 | let colA : Rgba = self.a.get_pixel( ((nx + x) as u32), ((ny + y) as u32) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/frame_pair.rs:148:61 [INFO] [stdout] | [INFO] [stdout] 148 | let colC : Rgba = self.b.get_pixel( ((nx + x) as u32), ((ny + y) as u32) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/frame_pair.rs:148:80 [INFO] [stdout] | [INFO] [stdout] 148 | let colC : Rgba = self.b.get_pixel( ((nx + x) as u32), ((ny + y) as u32) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/frame_pair.rs:157:23 [INFO] [stdout] | [INFO] [stdout] 157 | if(smallest_difference.unwrap() > self.blkSize*self.blkSize*(b.max_difference()/2)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `threshold` [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let threshold: u8 = 255; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/frame_pair.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | let (w,h) = ima.dimensions(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/frame_pair.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | let (w,h) = ima.dimensions(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acMid` [INFO] [stdout] --> src/frame_pair.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | let acMid = Rgba([ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_acMid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `threshold` [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let threshold: u8 = 255; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/frame_pair.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | let (w,h) = ima.dimensions(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/frame_pair.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | let (w,h) = ima.dimensions(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acMid` [INFO] [stdout] --> src/frame_pair.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | let acMid = Rgba([ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_acMid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `invert` [INFO] [stdout] --> src/frame_pair.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn invert(a: Rgba) -> Rgba { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `similarity` [INFO] [stdout] --> src/frame_pair.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn similarity(a: Rgba, b: Rgba) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save_bframe` [INFO] [stdout] --> src/frame_pair.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn save_bframe(&self, path: &Path) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Rust_Frame_Interpolation` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rust_frame_interpolation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `blkSize` should have a snake case name [INFO] [stdout] --> src/frame_pair.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | blkSize: i32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `blk_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `colA` should have a snake case name [INFO] [stdout] --> src/frame_pair.rs:110:33 [INFO] [stdout] | [INFO] [stdout] 110 | ... let colA : Rgba = self.a.get_pixel(ux, uy); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `col_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `colB` should have a snake case name [INFO] [stdout] --> src/frame_pair.rs:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | ... let colB : Rgba = self.b.get_pixel(fx, fy); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `col_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `colA` should have a snake case name [INFO] [stdout] --> src/frame_pair.rs:147:25 [INFO] [stdout] | [INFO] [stdout] 147 | let colA : Rgba = self.a.get_pixel( ((nx + x) as u32), ((ny + y) as u32) ); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `col_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `colC` should have a snake case name [INFO] [stdout] --> src/frame_pair.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | let colC : Rgba = self.b.get_pixel( ((nx + x) as u32), ((ny + y) as u32) ); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `col_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `acMid` should have a snake case name [INFO] [stdout] --> src/frame_pair.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | let acMid = Rgba([ [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `ac_mid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MAGIC` should have a snake case name [INFO] [stdout] --> src/block.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let MAGIC : i32 = 195_075; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `magic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `invert` [INFO] [stdout] --> src/frame_pair.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn invert(a: Rgba) -> Rgba { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `similarity` [INFO] [stdout] --> src/frame_pair.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn similarity(a: Rgba, b: Rgba) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save_bframe` [INFO] [stdout] --> src/frame_pair.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn save_bframe(&self, path: &Path) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Rust_Frame_Interpolation` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rust_frame_interpolation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `blkSize` should have a snake case name [INFO] [stdout] --> src/frame_pair.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | blkSize: i32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `blk_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `colA` should have a snake case name [INFO] [stdout] --> src/frame_pair.rs:110:33 [INFO] [stdout] | [INFO] [stdout] 110 | ... let colA : Rgba = self.a.get_pixel(ux, uy); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `col_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `colB` should have a snake case name [INFO] [stdout] --> src/frame_pair.rs:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | ... let colB : Rgba = self.b.get_pixel(fx, fy); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `col_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `colA` should have a snake case name [INFO] [stdout] --> src/frame_pair.rs:147:25 [INFO] [stdout] | [INFO] [stdout] 147 | let colA : Rgba = self.a.get_pixel( ((nx + x) as u32), ((ny + y) as u32) ); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `col_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `colC` should have a snake case name [INFO] [stdout] --> src/frame_pair.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | let colC : Rgba = self.b.get_pixel( ((nx + x) as u32), ((ny + y) as u32) ); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `col_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `acMid` should have a snake case name [INFO] [stdout] --> src/frame_pair.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | let acMid = Rgba([ [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `ac_mid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MAGIC` should have a snake case name [INFO] [stdout] --> src/block.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let MAGIC : i32 = 195_075; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `magic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.37s [INFO] running `Command { std: "docker" "inspect" "1ab4e54fb3363843c2b5b44d072936aaddc9cbd80b882b45fd6abfb627df4aab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ab4e54fb3363843c2b5b44d072936aaddc9cbd80b882b45fd6abfb627df4aab", kill_on_drop: false }` [INFO] [stdout] 1ab4e54fb3363843c2b5b44d072936aaddc9cbd80b882b45fd6abfb627df4aab