[INFO] cloning repository https://github.com/meloalright/robinson [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/meloalright/robinson" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeloalright%2Frobinson", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeloalright%2Frobinson'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 93880a6ab7dcb46d8e271f0943783f14c4d3a431 [INFO] checking meloalright/robinson against master#a932eb36f8adf6c8cdfc450f063943da3112d621 for pr-140209-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeloalright%2Frobinson" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/meloalright/robinson on toolchain a932eb36f8adf6c8cdfc450f063943da3112d621 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/meloalright/robinson [INFO] finished tweaking git repo https://github.com/meloalright/robinson [INFO] tweaked toml for git repo https://github.com/meloalright/robinson written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/meloalright/robinson already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ba464dccf350226a4d7bfef3548363b3f451a5148e841593496b3e075dc5a15 [INFO] running `Command { std: "docker" "start" "-a" "6ba464dccf350226a4d7bfef3548363b3f451a5148e841593496b3e075dc5a15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ba464dccf350226a4d7bfef3548363b3f451a5148e841593496b3e075dc5a15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ba464dccf350226a4d7bfef3548363b3f451a5148e841593496b3e075dc5a15", kill_on_drop: false }` [INFO] [stdout] 6ba464dccf350226a4d7bfef3548363b3f451a5148e841593496b3e075dc5a15 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b5e29a9b39a4261c55a1edd64ab0a9ac0eabe9fa955849ad428df8e6a86e5e6 [INFO] running `Command { std: "docker" "start" "-a" "8b5e29a9b39a4261c55a1edd64ab0a9ac0eabe9fa955849ad428df8e6a86e5e6", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking once_cell v1.21.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking flate2 v1.1.0 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking fontdue v0.7.3 [INFO] [stderr] Checking image v0.25.5 [INFO] [stderr] Checking robinson v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::super::css` [INFO] [stdout] --> src/layout.rs:829:9 [INFO] [stdout] | [INFO] [stdout] 829 | use super::super::css; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::html` [INFO] [stdout] --> src/layout.rs:830:9 [INFO] [stdout] | [INFO] [stdout] 830 | use super::super::html; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/layout.rs:831:9 [INFO] [stdout] | [INFO] [stdout] 831 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/paint.rs:148:26 [INFO] [stdout] | [INFO] [stdout] 148 | for y in (y0..y1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 148 - for y in (y0..y1) { [INFO] [stdout] 148 + for y in y0..y1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/paint.rs:149:30 [INFO] [stdout] | [INFO] [stdout] 149 | for x in (x0..x1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 149 - for x in (x0..x1) { [INFO] [stdout] 149 + for x in x0..x1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::css` [INFO] [stdout] --> src/paint.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | use super::super::css; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::html` [INFO] [stdout] --> src/paint.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | use super::super::html; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::layout` [INFO] [stdout] --> src/paint.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | use super::super::layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::style::*` [INFO] [stdout] --> src/paint.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | use super::super::style::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/paint.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/paint.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufWriter` and `Read` [INFO] [stdout] --> src/paint.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | use std::io::{BufWriter, Read}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::css` [INFO] [stdout] --> src/style.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | use super::super::css; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::html` [INFO] [stdout] --> src/style.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | use super::super::html; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/style.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dom::*` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use dom::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fontdue::Font` [INFO] [stdout] --> src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use fontdue::Font; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RgbImage` and `Rgb` [INFO] [stdout] --> src/lib.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use image::{Rgb, RgbImage}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/html.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | 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 `for` iterator expression [INFO] [stdout] --> src/paint.rs:148:26 [INFO] [stdout] | [INFO] [stdout] 148 | for y in (y0..y1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 148 - for y in (y0..y1) { [INFO] [stdout] 148 + for y in y0..y1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/paint.rs:149:30 [INFO] [stdout] | [INFO] [stdout] 149 | for x in (x0..x1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 149 - for x in (x0..x1) { [INFO] [stdout] 149 + for x in x0..x1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::layout` [INFO] [stdout] --> src/paint.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | use super::super::layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/paint.rs:178:30 [INFO] [stdout] | [INFO] [stdout] 178 | use std::io::{BufWriter, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dom::*` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use dom::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `self_as_context_constraints_width` is never read [INFO] [stdout] --> src/layout.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | let mut self_as_context_constraints_width = context_constraints_width.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child` [INFO] [stdout] --> src/layout.rs:471:13 [INFO] [stdout] | [INFO] [stdout] 471 | for child in &mut self.children { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_child` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/layout.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | let mut width = style [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/layout.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | let mut margin_left = style.lookup("margin-left", "margin", &zero); [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/layout.rs:277:21 [INFO] [stdout] | [INFO] [stdout] 277 | let mut margin_right = style.lookup("margin-right", "margin", &zero); [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/layout.rs:306:25 [INFO] [stdout] | [INFO] [stdout] 306 | let mut margin_left = style.lookup("margin-left", "margin", &zero); [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/layout.rs:307:25 [INFO] [stdout] | [INFO] [stdout] 307 | let mut margin_right = style.lookup("margin-right", "margin", &zero); [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/layout.rs:333:25 [INFO] [stdout] | [INFO] [stdout] 333 | let mut margin_left = style.lookup("margin-left", "margin", &zero); [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/layout.rs:334:25 [INFO] [stdout] | [INFO] [stdout] 334 | let mut margin_right = style.lookup("margin-right", "margin", &zero); [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/layout.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | let mut height = style [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `container_width` [INFO] [stdout] --> src/layout.rs:477:36 [INFO] [stdout] | [INFO] [stdout] 477 | fn layout_anonymous(&mut self, container_width: Value, context_constraints_width: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `container_width` [INFO] [stdout] --> src/layout.rs:550:37 [INFO] [stdout] | [INFO] [stdout] 550 | pub fn layout_inline(&mut self, container_width: Value, context_constraints_width: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context_constraints_width` [INFO] [stdout] --> src/layout.rs:550:61 [INFO] [stdout] | [INFO] [stdout] 550 | pub fn layout_inline(&mut self, container_width: Value, context_constraints_width: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context_constraints_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `self_as_context_constraints_width` is never read [INFO] [stdout] --> src/layout.rs:572:17 [INFO] [stdout] | [INFO] [stdout] 572 | let mut self_as_context_constraints_width = context_constraints_width.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child` [INFO] [stdout] --> src/layout.rs:776:13 [INFO] [stdout] | [INFO] [stdout] 776 | for child in &mut self.children { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/layout.rs:567:13 [INFO] [stdout] | [INFO] [stdout] 567 | let mut width = style [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/layout.rs:581:21 [INFO] [stdout] | [INFO] [stdout] 581 | let mut margin_left = style.lookup("margin-left", "margin", &zero); [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/layout.rs:582:21 [INFO] [stdout] | [INFO] [stdout] 582 | let mut margin_right = style.lookup("margin-right", "margin", &zero); [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/layout.rs:611:25 [INFO] [stdout] | [INFO] [stdout] 611 | let mut margin_left = style.lookup("margin-left", "margin", &zero); [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/layout.rs:612:25 [INFO] [stdout] | [INFO] [stdout] 612 | let mut margin_right = style.lookup("margin-right", "margin", &zero); [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/layout.rs:638:25 [INFO] [stdout] | [INFO] [stdout] 638 | let mut margin_left = style.lookup("margin-left", "margin", &zero); [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/layout.rs:639:25 [INFO] [stdout] | [INFO] [stdout] 639 | let mut margin_right = style.lookup("margin-right", "margin", &zero); [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/layout.rs:723:13 [INFO] [stdout] | [INFO] [stdout] 723 | let mut height = style [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `AnonymousBlock` [INFO] [stdout] --> src/layout.rs:807:35 [INFO] [stdout] | [INFO] [stdout] 807 | box_type: AnonymousBlock, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_AnonymousBlock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/paint.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | for (i, element) in ifc.elements.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DisplayList` is never used [INFO] [stdout] --> src/paint.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type DisplayList = Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DisplayCommand` is never used [INFO] [stdout] --> src/paint.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum DisplayCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_display_list` is never used [INFO] [stdout] --> src/paint.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn build_display_list(layout_root: &LayoutBox) -> DisplayList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_layout_box` is never used [INFO] [stdout] --> src/paint.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn render_layout_box(list: &mut DisplayList, layout_box: &LayoutBox) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_background` is never used [INFO] [stdout] --> src/paint.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn render_background(list: &mut DisplayList, layout_box: &LayoutBox) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_color` is never used [INFO] [stdout] --> src/paint.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_color(layout_box: &LayoutBox, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_borders` is never used [INFO] [stdout] --> src/paint.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn render_borders(list: &mut DisplayList, layout_box: &LayoutBox) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Canvas` is never constructed [INFO] [stdout] --> src/paint.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | struct Canvas { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `paint_item` are never used [INFO] [stdout] --> src/paint.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 122 | impl Canvas { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 123 | // Create a blank canvas [INFO] [stdout] 124 | fn new(width: usize, height: usize) -> Canvas { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | fn paint_item(&mut self, item: &DisplayCommand) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `paint` is never used [INFO] [stdout] --> src/paint.rs:160:4 [INFO] [stdout] | [INFO] [stdout] 160 | fn paint(layout_root: &LayoutBox, bounds: Rect) -> Canvas { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node` is never read [INFO] [stdout] --> src/style.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct StyledNode<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 13 | pub(crate) node: &'a Node, // pointer to a DOM node [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StyledNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/layout.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | drop(this_line_children_max_height); [INFO] [stdout] | ^^^^^-----------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `f32` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 541 - drop(this_line_children_max_height); [INFO] [stdout] 541 + let _ = this_line_children_max_height; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/layout.rs:542:9 [INFO] [stdout] | [INFO] [stdout] 542 | drop(this_line_children_sum_width); [INFO] [stdout] | ^^^^^----------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `f32` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 542 - drop(this_line_children_sum_width); [INFO] [stdout] 542 + let _ = this_line_children_sum_width; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AnonymousBlock` should have a snake case name [INFO] [stdout] --> src/layout.rs:807:35 [INFO] [stdout] | [INFO] [stdout] 807 | box_type: AnonymousBlock, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `anonymous_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `self_as_context_constraints_width` is never read [INFO] [stdout] --> src/layout.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | let mut self_as_context_constraints_width = context_constraints_width.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child` [INFO] [stdout] --> src/layout.rs:471:13 [INFO] [stdout] | [INFO] [stdout] 471 | for child in &mut self.children { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_child` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/layout.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | let mut width = style [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/layout.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | let mut margin_left = style.lookup("margin-left", "margin", &zero); [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/layout.rs:277:21 [INFO] [stdout] | [INFO] [stdout] 277 | let mut margin_right = style.lookup("margin-right", "margin", &zero); [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/layout.rs:306:25 [INFO] [stdout] | [INFO] [stdout] 306 | let mut margin_left = style.lookup("margin-left", "margin", &zero); [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/layout.rs:307:25 [INFO] [stdout] | [INFO] [stdout] 307 | let mut margin_right = style.lookup("margin-right", "margin", &zero); [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/layout.rs:333:25 [INFO] [stdout] | [INFO] [stdout] 333 | let mut margin_left = style.lookup("margin-left", "margin", &zero); [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/layout.rs:334:25 [INFO] [stdout] | [INFO] [stdout] 334 | let mut margin_right = style.lookup("margin-right", "margin", &zero); [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/layout.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | let mut height = style [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `container_width` [INFO] [stdout] --> src/layout.rs:477:36 [INFO] [stdout] | [INFO] [stdout] 477 | fn layout_anonymous(&mut self, container_width: Value, context_constraints_width: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `container_width` [INFO] [stdout] --> src/layout.rs:550:37 [INFO] [stdout] | [INFO] [stdout] 550 | pub fn layout_inline(&mut self, container_width: Value, context_constraints_width: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_container_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context_constraints_width` [INFO] [stdout] --> src/layout.rs:550:61 [INFO] [stdout] | [INFO] [stdout] 550 | pub fn layout_inline(&mut self, container_width: Value, context_constraints_width: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context_constraints_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `self_as_context_constraints_width` is never read [INFO] [stdout] --> src/layout.rs:572:17 [INFO] [stdout] | [INFO] [stdout] 572 | let mut self_as_context_constraints_width = context_constraints_width.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child` [INFO] [stdout] --> src/layout.rs:776:13 [INFO] [stdout] | [INFO] [stdout] 776 | for child in &mut self.children { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/layout.rs:567:13 [INFO] [stdout] | [INFO] [stdout] 567 | let mut width = style [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/layout.rs:581:21 [INFO] [stdout] | [INFO] [stdout] 581 | let mut margin_left = style.lookup("margin-left", "margin", &zero); [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/layout.rs:582:21 [INFO] [stdout] | [INFO] [stdout] 582 | let mut margin_right = style.lookup("margin-right", "margin", &zero); [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/layout.rs:611:25 [INFO] [stdout] | [INFO] [stdout] 611 | let mut margin_left = style.lookup("margin-left", "margin", &zero); [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/layout.rs:612:25 [INFO] [stdout] | [INFO] [stdout] 612 | let mut margin_right = style.lookup("margin-right", "margin", &zero); [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/layout.rs:638:25 [INFO] [stdout] | [INFO] [stdout] 638 | let mut margin_left = style.lookup("margin-left", "margin", &zero); [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/layout.rs:639:25 [INFO] [stdout] | [INFO] [stdout] 639 | let mut margin_right = style.lookup("margin-right", "margin", &zero); [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/layout.rs:723:13 [INFO] [stdout] | [INFO] [stdout] 723 | let mut height = style [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `AnonymousBlock` [INFO] [stdout] --> src/layout.rs:807:35 [INFO] [stdout] | [INFO] [stdout] 807 | box_type: AnonymousBlock, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_AnonymousBlock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dimension` [INFO] [stdout] --> src/layout.rs:843:17 [INFO] [stdout] | [INFO] [stdout] 843 | let mut dimension = Dimensions::default(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dimension` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/layout.rs:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | let mut dimension = Dimensions::default(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/paint.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | for (i, element) in ifc.elements.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metrics` [INFO] [stdout] --> src/lib.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | for (c, metrics) in &glyphs { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metrics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node` is never read [INFO] [stdout] --> src/style.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct StyledNode<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 13 | pub(crate) node: &'a Node, // pointer to a DOM node [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StyledNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/layout.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | drop(this_line_children_max_height); [INFO] [stdout] | ^^^^^-----------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `f32` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 541 - drop(this_line_children_max_height); [INFO] [stdout] 541 + let _ = this_line_children_max_height; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/layout.rs:542:9 [INFO] [stdout] | [INFO] [stdout] 542 | drop(this_line_children_sum_width); [INFO] [stdout] | ^^^^^----------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `f32` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 542 - drop(this_line_children_sum_width); [INFO] [stdout] 542 + let _ = this_line_children_sum_width; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AnonymousBlock` should have a snake case name [INFO] [stdout] --> src/layout.rs:807:35 [INFO] [stdout] | [INFO] [stdout] 807 | box_type: AnonymousBlock, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `anonymous_block` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/paint.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | image::DynamicImage::ImageRgba8(img).write_to(&mut file, image::ImageFormat::Png); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 238 | let _ = image::DynamicImage::ImageRgba8(img).write_to(&mut file, image::ImageFormat::Png); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/paint.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | image::DynamicImage::ImageRgba8(img).write_to(&mut file, image::ImageFormat::Png); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 333 | let _ = image::DynamicImage::ImageRgba8(img).write_to(&mut file, image::ImageFormat::Png); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/paint.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | image::DynamicImage::ImageRgba8(img).write_to(&mut file, image::ImageFormat::Png); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 475 | let _ = image::DynamicImage::ImageRgba8(img).write_to(&mut file, image::ImageFormat::Png); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.11s [INFO] running `Command { std: "docker" "inspect" "8b5e29a9b39a4261c55a1edd64ab0a9ac0eabe9fa955849ad428df8e6a86e5e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b5e29a9b39a4261c55a1edd64ab0a9ac0eabe9fa955849ad428df8e6a86e5e6", kill_on_drop: false }` [INFO] [stdout] 8b5e29a9b39a4261c55a1edd64ab0a9ac0eabe9fa955849ad428df8e6a86e5e6