[INFO] cloning repository https://github.com/IoTPanic/thermal-vision [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IoTPanic/thermal-vision" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIoTPanic%2Fthermal-vision", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIoTPanic%2Fthermal-vision'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf9168cc0680af0edc0f5417fc8e5027f77bd1ed [INFO] testing IoTPanic/thermal-vision against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIoTPanic%2Fthermal-vision" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/IoTPanic/thermal-vision on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/IoTPanic/thermal-vision [INFO] finished tweaking git repo https://github.com/IoTPanic/thermal-vision [INFO] tweaked toml for git repo https://github.com/IoTPanic/thermal-vision written to /workspace/builds/worker-21/source/Cargo.toml [INFO] crate git repo https://github.com/IoTPanic/thermal-vision already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded piston2d-graphics v0.37.0 [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.74.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf3a6e49f786d06b65bf1e851cc47cc068f319792439b7158d3095c31d8bfc4c [INFO] running `Command { std: "docker" "start" "-a" "cf3a6e49f786d06b65bf1e851cc47cc068f319792439b7158d3095c31d8bfc4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf3a6e49f786d06b65bf1e851cc47cc068f319792439b7158d3095c31d8bfc4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf3a6e49f786d06b65bf1e851cc47cc068f319792439b7158d3095c31d8bfc4c", kill_on_drop: false }` [INFO] [stdout] cf3a6e49f786d06b65bf1e851cc47cc068f319792439b7158d3095c31d8bfc4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93f137b48a282d97806244ac0f03dc6262618c7c16ffa7429b0c10305dc97124 [INFO] running `Command { std: "docker" "start" "-a" "93f137b48a282d97806244ac0f03dc6262618c7c16ffa7429b0c10305dc97124", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling libloading v0.6.3 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling piston-graphics_api_version v1.0.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling either v1.6.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling bytemuck v1.3.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling shader_version v0.7.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling piston2d-graphics v0.37.0 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling image v0.23.8 [INFO] [stderr] Compiling pistoncore-input v1.0.0 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.74.0 [INFO] [stderr] Compiling pistoncore-window v0.47.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.52.0 [INFO] [stderr] Compiling piston v0.52.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling glutin v0.21.2 [INFO] [stderr] Compiling pistoncore-glutin_window v0.66.0 [INFO] [stderr] Compiling thermal-vision v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `min` [INFO] [stdout] --> src/main.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | fn colorFromValue(val: f32, min: f32, max: f32) -> [f32;4] { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_min` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/main.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | let mut x = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | let mut color = colorFromValue(values[value_y][value_x], 0.0, M); [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: field is never read: `values` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | values: [[f32; 8]; 8], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/main.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let M = self.max_value; [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `colorFromValue` should have a snake case name [INFO] [stdout] --> src/main.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn colorFromValue(val: f32, min: f32, max: f32) -> [f32;4] { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `color_from_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getMaxValue` should have a snake case name [INFO] [stdout] --> src/main.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn getMaxValue(filename: &String, cutoff: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_max_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 48.05s [INFO] running `Command { std: "docker" "inspect" "93f137b48a282d97806244ac0f03dc6262618c7c16ffa7429b0c10305dc97124", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93f137b48a282d97806244ac0f03dc6262618c7c16ffa7429b0c10305dc97124", kill_on_drop: false }` [INFO] [stdout] 93f137b48a282d97806244ac0f03dc6262618c7c16ffa7429b0c10305dc97124 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a08a4bac312b83e165b208acc18af953d616822531e6df01965c729efaaf9ec [INFO] running `Command { std: "docker" "start" "-a" "4a08a4bac312b83e165b208acc18af953d616822531e6df01965c729efaaf9ec", 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] [stderr] Compiling thermal-vision v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `min` [INFO] [stdout] --> src/main.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | fn colorFromValue(val: f32, min: f32, max: f32) -> [f32;4] { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_min` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/main.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | let mut x = 0.0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | let mut color = colorFromValue(values[value_y][value_x], 0.0, M); [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: field is never read: `values` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | values: [[f32; 8]; 8], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/main.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let M = self.max_value; [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `colorFromValue` should have a snake case name [INFO] [stdout] --> src/main.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn colorFromValue(val: f32, min: f32, max: f32) -> [f32;4] { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `color_from_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getMaxValue` should have a snake case name [INFO] [stdout] --> src/main.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn getMaxValue(filename: &String, cutoff: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_max_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.86s [INFO] running `Command { std: "docker" "inspect" "4a08a4bac312b83e165b208acc18af953d616822531e6df01965c729efaaf9ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a08a4bac312b83e165b208acc18af953d616822531e6df01965c729efaaf9ec", kill_on_drop: false }` [INFO] [stdout] 4a08a4bac312b83e165b208acc18af953d616822531e6df01965c729efaaf9ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 52b632f5651e81f5aa85fc6bed874dfcecbac897a74f86ceff8bdebabe5d5636 [INFO] running `Command { std: "docker" "start" "-a" "52b632f5651e81f5aa85fc6bed874dfcecbac897a74f86ceff8bdebabe5d5636", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused variable: `min` [INFO] [stderr] --> src/main.rs:87:29 [INFO] [stderr] | [INFO] [stderr] 87 | fn colorFromValue(val: f32, min: f32, max: f32) -> [f32;4] { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_min` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:130:21 [INFO] [stderr] | [INFO] [stderr] 130 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `x` is never read [INFO] [stderr] --> src/main.rs:35:21 [INFO] [stderr] | [INFO] [stderr] 35 | let mut x = 0.0; [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:46:25 [INFO] [stderr] | [INFO] [stderr] 46 | let mut color = colorFromValue(values[value_y][value_x], 0.0, M); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `values` [INFO] [stderr] --> src/main.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | values: [[f32; 8]; 8], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `M` should have a snake case name [INFO] [stderr] --> src/main.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | let M = self.max_value; [INFO] [stderr] | ^ help: convert the identifier to snake case: `m` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `colorFromValue` should have a snake case name [INFO] [stderr] --> src/main.rs:87:4 [INFO] [stderr] | [INFO] [stderr] 87 | fn colorFromValue(val: f32, min: f32, max: f32) -> [f32;4] { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `color_from_value` [INFO] [stderr] [INFO] [stderr] warning: function `getMaxValue` should have a snake case name [INFO] [stderr] --> src/main.rs:142:4 [INFO] [stderr] | [INFO] [stderr] 142 | fn getMaxValue(filename: &String, cutoff: f32) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_max_value` [INFO] [stderr] [INFO] [stderr] warning: `thermal-vision` (bin "thermal-vision" test) generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/thermal_vision-7f8c8c4f18070cae) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "52b632f5651e81f5aa85fc6bed874dfcecbac897a74f86ceff8bdebabe5d5636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52b632f5651e81f5aa85fc6bed874dfcecbac897a74f86ceff8bdebabe5d5636", kill_on_drop: false }` [INFO] [stdout] 52b632f5651e81f5aa85fc6bed874dfcecbac897a74f86ceff8bdebabe5d5636