[INFO] cloning repository https://github.com/bitbangr/img_tile [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bitbangr/img_tile" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbitbangr%2Fimg_tile", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbitbangr%2Fimg_tile'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e43f6d367b46233a978b7aca660a031d1eb846d8 [INFO] checking bitbangr/img_tile against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbitbangr%2Fimg_tile" "/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/bitbangr/img_tile on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bitbangr/img_tile [INFO] finished tweaking git repo https://github.com/bitbangr/img_tile [INFO] tweaked toml for git repo https://github.com/bitbangr/img_tile written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bitbangr/img_tile 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded euclid v0.22.4 [INFO] [stderr] Downloaded lopdf v0.26.0 [INFO] [stderr] Downloaded printpdf v0.3.4 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33553b29ae4cee273e92f235e381bef2062a0146129bba99661ec53ab97f6798 [INFO] running `Command { std: "docker" "start" "-a" "33553b29ae4cee273e92f235e381bef2062a0146129bba99661ec53ab97f6798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33553b29ae4cee273e92f235e381bef2062a0146129bba99661ec53ab97f6798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33553b29ae4cee273e92f235e381bef2062a0146129bba99661ec53ab97f6798", kill_on_drop: false }` [INFO] [stdout] 33553b29ae4cee273e92f235e381bef2062a0146129bba99661ec53ab97f6798 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 487eef4b51a40fe78a6b06e7a59d7d279af9dbd8d9d17c5dabfab263693443f4 [INFO] running `Command { std: "docker" "start" "-a" "487eef4b51a40fe78a6b06e7a59d7d279af9dbd8d9d17c5dabfab263693443f4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking ego-tree v0.6.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking crossbeam-epoch v0.9.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking euclid v0.22.4 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking rayon v1.5.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking lopdf v0.26.0 [INFO] [stderr] Checking printpdf v0.3.4 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking img_tile v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Some` is imported redundantly [INFO] [stdout] --> src/pdf_util.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::option::Option::Some;use crate::modtile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Some` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Some` is imported redundantly [INFO] [stdout] --> src/pdf_util.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::option::Option::Some;use crate::modtile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Some` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_margin_left_mm` [INFO] [stdout] --> src/pdf_util.rs:459:10 [INFO] [stdout] | [INFO] [stdout] 459 | let page_margin_left_mm: f64 = 20.0; // size of left margin [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_margin_left_mm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_margin_right_mm` [INFO] [stdout] --> src/pdf_util.rs:460:10 [INFO] [stdout] | [INFO] [stdout] 460 | let page_margin_right_mm: f64 = 50.0; // size of right margin [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_margin_right_mm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col_0_x` [INFO] [stdout] --> src/pdf_util.rs:486:14 [INFO] [stdout] | [INFO] [stdout] 486 | let col_0_x :i32 = 20; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_0_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col_1_x` [INFO] [stdout] --> src/pdf_util.rs:487:14 [INFO] [stdout] | [INFO] [stdout] 487 | let col_1_x :i32 = 110; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_1_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col_2_x` [INFO] [stdout] --> src/pdf_util.rs:488:14 [INFO] [stdout] | [INFO] [stdout] 488 | let col_2_x :i32 = 195; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_2_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_margin_left_mm` [INFO] [stdout] --> src/pdf_util.rs:459:10 [INFO] [stdout] | [INFO] [stdout] 459 | let page_margin_left_mm: f64 = 20.0; // size of left margin [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_margin_left_mm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_margin_right_mm` [INFO] [stdout] --> src/pdf_util.rs:460:10 [INFO] [stdout] | [INFO] [stdout] 460 | let page_margin_right_mm: f64 = 50.0; // size of right margin [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_margin_right_mm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col_0_x` [INFO] [stdout] --> src/pdf_util.rs:486:14 [INFO] [stdout] | [INFO] [stdout] 486 | let col_0_x :i32 = 20; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_0_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col_1_x` [INFO] [stdout] --> src/pdf_util.rs:487:14 [INFO] [stdout] | [INFO] [stdout] 487 | let col_1_x :i32 = 110; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_1_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col_2_x` [INFO] [stdout] --> src/pdf_util.rs:488:14 [INFO] [stdout] | [INFO] [stdout] 488 | let col_2_x :i32 = 195; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_2_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | for (_j, mut tile) in pane.iter_mut().enumerate(){ [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: function `draw_summary_circles` is never used [INFO] [stdout] --> src/pdf_util.rs:952:4 [INFO] [stdout] | [INFO] [stdout] 952 | fn draw_summary_circles(pdf_output_window: &Vec, modtile::RGB)>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_diag` is never used [INFO] [stdout] --> src/pdf_util.rs:1006:4 [INFO] [stdout] | [INFO] [stdout] 1006 | fn draw_diag(current_layer: &&PdfLayerReference) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_circle_with_pts_no_fill` is never used [INFO] [stdout] --> src/pdf_util.rs:1276:4 [INFO] [stdout] | [INFO] [stdout] 1276 | fn draw_circle_with_pts_no_fill(current_layer: &&PdfLayerReference, offsetx_pt: Pt, offsety_pt: Pt, radius_pt: Pt) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_points_for_circle` is never used [INFO] [stdout] --> src/pdf_util.rs:1368:4 [INFO] [stdout] | [INFO] [stdout] 1368 | fn get_points_for_circle(xoff: f64, yoff: f64, scale: f64) -> Vec<(Point, bool)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | for (_j, mut tile) in pane.iter_mut().enumerate(){ [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: function `old_load_all_colors` is never used [INFO] [stdout] --> src/modtile.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn old_load_all_colors>(path: P) -> AllColors { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_all_colors` is never used [INFO] [stdout] --> src/modtile.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn save_all_colors>(path: P, all_colors: AllColors) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_config` is never used [INFO] [stdout] --> src/modtile.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn save_config>(path: P, config: &Config) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/json_export.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_summary_circles` is never used [INFO] [stdout] --> src/pdf_util.rs:952:4 [INFO] [stdout] | [INFO] [stdout] 952 | fn draw_summary_circles(pdf_output_window: &Vec, modtile::RGB)>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_diag` is never used [INFO] [stdout] --> src/pdf_util.rs:1006:4 [INFO] [stdout] | [INFO] [stdout] 1006 | fn draw_diag(current_layer: &&PdfLayerReference) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_circle_with_pts_no_fill` is never used [INFO] [stdout] --> src/pdf_util.rs:1276:4 [INFO] [stdout] | [INFO] [stdout] 1276 | fn draw_circle_with_pts_no_fill(current_layer: &&PdfLayerReference, offsetx_pt: Pt, offsety_pt: Pt, radius_pt: Pt) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_points_for_circle` is never used [INFO] [stdout] --> src/pdf_util.rs:1368:4 [INFO] [stdout] | [INFO] [stdout] 1368 | fn get_points_for_circle(xoff: f64, yoff: f64, scale: f64) -> Vec<(Point, bool)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `old_load_all_colors` is never used [INFO] [stdout] --> src/modtile.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn old_load_all_colors>(path: P) -> AllColors { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_all_colors` is never used [INFO] [stdout] --> src/modtile.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn save_all_colors>(path: P, all_colors: AllColors) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_config` is never used [INFO] [stdout] --> src/modtile.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn save_config>(path: P, config: &Config) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/json_export.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:276:6 [INFO] [stdout] | [INFO] [stdout] 276 | / dump_rgb_json(&output_window, [INFO] [stdout] 277 | | output_width_tile_count, [INFO] [stdout] 278 | | output_height_tile_count, [INFO] [stdout] 279 | | cfg.tiles_per_pane_width, [INFO] [stdout] 280 | | cfg.tiles_per_pane_height, [INFO] [stdout] 281 | | save_path ); [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] 276 | let _ = dump_rgb_json(&output_window, [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pdf_util.rs:1078:13 [INFO] [stdout] | [INFO] [stdout] 1078 | &pdf_pane.push ((pdf_tile_box,pdf_tile_rgb)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1078 | let _ = &pdf_pane.push ((pdf_tile_box,pdf_tile_rgb)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pdf_util.rs:1191:9 [INFO] [stdout] | [INFO] [stdout] 1191 | &ret.push (pane_box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1191 | let _ = &ret.push (pane_box); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:276:6 [INFO] [stdout] | [INFO] [stdout] 276 | / dump_rgb_json(&output_window, [INFO] [stdout] 277 | | output_width_tile_count, [INFO] [stdout] 278 | | output_height_tile_count, [INFO] [stdout] 279 | | cfg.tiles_per_pane_width, [INFO] [stdout] 280 | | cfg.tiles_per_pane_height, [INFO] [stdout] 281 | | save_path ); [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] 276 | let _ = dump_rgb_json(&output_window, [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pdf_util.rs:1078:13 [INFO] [stdout] | [INFO] [stdout] 1078 | &pdf_pane.push ((pdf_tile_box,pdf_tile_rgb)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1078 | let _ = &pdf_pane.push ((pdf_tile_box,pdf_tile_rgb)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pdf_util.rs:1191:9 [INFO] [stdout] | [INFO] [stdout] 1191 | &ret.push (pane_box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1191 | let _ = &ret.push (pane_box); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.77s [INFO] running `Command { std: "docker" "inspect" "487eef4b51a40fe78a6b06e7a59d7d279af9dbd8d9d17c5dabfab263693443f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "487eef4b51a40fe78a6b06e7a59d7d279af9dbd8d9d17c5dabfab263693443f4", kill_on_drop: false }` [INFO] [stdout] 487eef4b51a40fe78a6b06e7a59d7d279af9dbd8d9d17c5dabfab263693443f4 [INFO] checking bitbangr/img_tile against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbitbangr%2Fimg_tile" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bitbangr/img_tile on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bitbangr/img_tile [INFO] finished tweaking git repo https://github.com/bitbangr/img_tile [INFO] tweaked toml for git repo https://github.com/bitbangr/img_tile written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bitbangr/img_tile 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6db563d0764a8a4e62b461a980a07d6102cba4b99f095cc88357b1cdab9de97 [INFO] running `Command { std: "docker" "start" "-a" "d6db563d0764a8a4e62b461a980a07d6102cba4b99f095cc88357b1cdab9de97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6db563d0764a8a4e62b461a980a07d6102cba4b99f095cc88357b1cdab9de97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6db563d0764a8a4e62b461a980a07d6102cba4b99f095cc88357b1cdab9de97", kill_on_drop: false }` [INFO] [stdout] d6db563d0764a8a4e62b461a980a07d6102cba4b99f095cc88357b1cdab9de97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 363f95357c15f683cf75471bdf6a0dd43b3d9dbea167053c7cd38587ec4f8001 [INFO] running `Command { std: "docker" "start" "-a" "363f95357c15f683cf75471bdf6a0dd43b3d9dbea167053c7cd38587ec4f8001", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking ego-tree v0.6.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-epoch v0.9.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking euclid v0.22.4 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rayon v1.5.1 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking lopdf v0.26.0 [INFO] [stderr] Checking printpdf v0.3.4 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking img_tile v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Some` is imported redundantly [INFO] [stdout] --> src/pdf_util.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::option::Option::Some;use crate::modtile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Some` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Some` is imported redundantly [INFO] [stdout] --> src/pdf_util.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::option::Option::Some;use crate::modtile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Some` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_margin_left_mm` [INFO] [stdout] --> src/pdf_util.rs:459:10 [INFO] [stdout] | [INFO] [stdout] 459 | let page_margin_left_mm: f64 = 20.0; // size of left margin [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_margin_left_mm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_margin_right_mm` [INFO] [stdout] --> src/pdf_util.rs:460:10 [INFO] [stdout] | [INFO] [stdout] 460 | let page_margin_right_mm: f64 = 50.0; // size of right margin [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_margin_right_mm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col_0_x` [INFO] [stdout] --> src/pdf_util.rs:486:14 [INFO] [stdout] | [INFO] [stdout] 486 | let col_0_x :i32 = 20; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_0_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col_1_x` [INFO] [stdout] --> src/pdf_util.rs:487:14 [INFO] [stdout] | [INFO] [stdout] 487 | let col_1_x :i32 = 110; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_1_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col_2_x` [INFO] [stdout] --> src/pdf_util.rs:488:14 [INFO] [stdout] | [INFO] [stdout] 488 | let col_2_x :i32 = 195; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_2_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_margin_left_mm` [INFO] [stdout] --> src/pdf_util.rs:459:10 [INFO] [stdout] | [INFO] [stdout] 459 | let page_margin_left_mm: f64 = 20.0; // size of left margin [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_margin_left_mm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_margin_right_mm` [INFO] [stdout] --> src/pdf_util.rs:460:10 [INFO] [stdout] | [INFO] [stdout] 460 | let page_margin_right_mm: f64 = 50.0; // size of right margin [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_margin_right_mm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col_0_x` [INFO] [stdout] --> src/pdf_util.rs:486:14 [INFO] [stdout] | [INFO] [stdout] 486 | let col_0_x :i32 = 20; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_0_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col_1_x` [INFO] [stdout] --> src/pdf_util.rs:487:14 [INFO] [stdout] | [INFO] [stdout] 487 | let col_1_x :i32 = 110; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_1_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col_2_x` [INFO] [stdout] --> src/pdf_util.rs:488:14 [INFO] [stdout] | [INFO] [stdout] 488 | let col_2_x :i32 = 195; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_col_2_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | for (_j, mut tile) in pane.iter_mut().enumerate(){ [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: function `draw_summary_circles` is never used [INFO] [stdout] --> src/pdf_util.rs:952:4 [INFO] [stdout] | [INFO] [stdout] 952 | fn draw_summary_circles(pdf_output_window: &Vec, modtile::RGB)>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_diag` is never used [INFO] [stdout] --> src/pdf_util.rs:1006:4 [INFO] [stdout] | [INFO] [stdout] 1006 | fn draw_diag(current_layer: &&PdfLayerReference) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_circle_with_pts_no_fill` is never used [INFO] [stdout] --> src/pdf_util.rs:1276:4 [INFO] [stdout] | [INFO] [stdout] 1276 | fn draw_circle_with_pts_no_fill(current_layer: &&PdfLayerReference, offsetx_pt: Pt, offsety_pt: Pt, radius_pt: Pt) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_points_for_circle` is never used [INFO] [stdout] --> src/pdf_util.rs:1368:4 [INFO] [stdout] | [INFO] [stdout] 1368 | fn get_points_for_circle(xoff: f64, yoff: f64, scale: f64) -> Vec<(Point, bool)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `old_load_all_colors` is never used [INFO] [stdout] --> src/modtile.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn old_load_all_colors>(path: P) -> AllColors { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_all_colors` is never used [INFO] [stdout] --> src/modtile.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn save_all_colors>(path: P, all_colors: AllColors) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_config` is never used [INFO] [stdout] --> src/modtile.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn save_config>(path: P, config: &Config) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/json_export.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:276:6 [INFO] [stdout] | [INFO] [stdout] 276 | / dump_rgb_json(&output_window, [INFO] [stdout] 277 | | output_width_tile_count, [INFO] [stdout] 278 | | output_height_tile_count, [INFO] [stdout] 279 | | cfg.tiles_per_pane_width, [INFO] [stdout] 280 | | cfg.tiles_per_pane_height, [INFO] [stdout] 281 | | save_path ); [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] 276 | let _ = dump_rgb_json(&output_window, [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pdf_util.rs:1078:13 [INFO] [stdout] | [INFO] [stdout] 1078 | &pdf_pane.push ((pdf_tile_box,pdf_tile_rgb)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1078 | let _ = &pdf_pane.push ((pdf_tile_box,pdf_tile_rgb)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pdf_util.rs:1191:9 [INFO] [stdout] | [INFO] [stdout] 1191 | &ret.push (pane_box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1191 | let _ = &ret.push (pane_box); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | for (_j, mut tile) in pane.iter_mut().enumerate(){ [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: function `draw_summary_circles` is never used [INFO] [stdout] --> src/pdf_util.rs:952:4 [INFO] [stdout] | [INFO] [stdout] 952 | fn draw_summary_circles(pdf_output_window: &Vec, modtile::RGB)>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_diag` is never used [INFO] [stdout] --> src/pdf_util.rs:1006:4 [INFO] [stdout] | [INFO] [stdout] 1006 | fn draw_diag(current_layer: &&PdfLayerReference) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_circle_with_pts_no_fill` is never used [INFO] [stdout] --> src/pdf_util.rs:1276:4 [INFO] [stdout] | [INFO] [stdout] 1276 | fn draw_circle_with_pts_no_fill(current_layer: &&PdfLayerReference, offsetx_pt: Pt, offsety_pt: Pt, radius_pt: Pt) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_points_for_circle` is never used [INFO] [stdout] --> src/pdf_util.rs:1368:4 [INFO] [stdout] | [INFO] [stdout] 1368 | fn get_points_for_circle(xoff: f64, yoff: f64, scale: f64) -> Vec<(Point, bool)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `old_load_all_colors` is never used [INFO] [stdout] --> src/modtile.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn old_load_all_colors>(path: P) -> AllColors { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_all_colors` is never used [INFO] [stdout] --> src/modtile.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn save_all_colors>(path: P, all_colors: AllColors) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_config` is never used [INFO] [stdout] --> src/modtile.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn save_config>(path: P, config: &Config) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/json_export.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:276:6 [INFO] [stdout] | [INFO] [stdout] 276 | / dump_rgb_json(&output_window, [INFO] [stdout] 277 | | output_width_tile_count, [INFO] [stdout] 278 | | output_height_tile_count, [INFO] [stdout] 279 | | cfg.tiles_per_pane_width, [INFO] [stdout] 280 | | cfg.tiles_per_pane_height, [INFO] [stdout] 281 | | save_path ); [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] 276 | let _ = dump_rgb_json(&output_window, [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pdf_util.rs:1078:13 [INFO] [stdout] | [INFO] [stdout] 1078 | &pdf_pane.push ((pdf_tile_box,pdf_tile_rgb)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1078 | let _ = &pdf_pane.push ((pdf_tile_box,pdf_tile_rgb)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pdf_util.rs:1191:9 [INFO] [stdout] | [INFO] [stdout] 1191 | &ret.push (pane_box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1191 | let _ = &ret.push (pane_box); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.85s [INFO] running `Command { std: "docker" "inspect" "363f95357c15f683cf75471bdf6a0dd43b3d9dbea167053c7cd38587ec4f8001", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "363f95357c15f683cf75471bdf6a0dd43b3d9dbea167053c7cd38587ec4f8001", kill_on_drop: false }` [INFO] [stdout] 363f95357c15f683cf75471bdf6a0dd43b3d9dbea167053c7cd38587ec4f8001