[INFO] cloning repository https://github.com/SveOls/stelsave [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SveOls/stelsave" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSveOls%2Fstelsave", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSveOls%2Fstelsave'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b67afb50eab8c5d42754a29b563eaf251c06fe22 [INFO] checking SveOls/stelsave against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSveOls%2Fstelsave" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SveOls/stelsave 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/SveOls/stelsave [INFO] finished tweaking git repo https://github.com/SveOls/stelsave [INFO] tweaked toml for git repo https://github.com/SveOls/stelsave written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SveOls/stelsave 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 bmp v0.5.0 [INFO] [stderr] Downloaded fltk v1.2.8 [INFO] [stderr] Downloaded fltk-sys v1.2.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 0d2efadacec99720f229b242f13d8b279a1d40028520519a5b9013ac0044296b [INFO] running `Command { std: "docker" "start" "-a" "0d2efadacec99720f229b242f13d8b279a1d40028520519a5b9013ac0044296b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d2efadacec99720f229b242f13d8b279a1d40028520519a5b9013ac0044296b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d2efadacec99720f229b242f13d8b279a1d40028520519a5b9013ac0044296b", kill_on_drop: false }` [INFO] [stdout] 0d2efadacec99720f229b242f13d8b279a1d40028520519a5b9013ac0044296b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 6aceec923cffa76601d150b20a6552a8a8e534d1c3f2f906053585bd9805a771 [INFO] running `Command { std: "docker" "start" "-a" "6aceec923cffa76601d150b20a6552a8a8e534d1c3f2f906053585bd9805a771", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking bmp v0.5.0 [INFO] [stderr] Compiling cmake v0.1.46 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling fltk-sys v1.2.8 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking fltk v1.2.8 [INFO] [stderr] Checking save_analyser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Image`, `Pixel` [INFO] [stdout] --> src/main.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use bmp::{Image, Pixel}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bmp::Pixel` [INFO] [stdout] --> src/fltk_wrapper/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bmp::Pixel; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/main.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | use fltk::{prelude::*, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Image`, `Pixel` [INFO] [stdout] --> src/main.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use bmp::{Image, Pixel}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bmp::Pixel` [INFO] [stdout] --> src/fltk_wrapper/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bmp::Pixel; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/main.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | use fltk::{prelude::*, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `int_abs_diff` has been stable since 1.60.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(int_abs_diff)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `int_abs_diff` has been stable since 1.60.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(int_abs_diff)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude` [INFO] [stdout] --> src/main.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use fltk::{prelude::*, *}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fltk_wrapper/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut app = AppWrap::new(); [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: unused import: `prelude` [INFO] [stdout] --> src/main.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use fltk::{prelude::*, *}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fltk_wrapper/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut app = AppWrap::new(); [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 `date` is never read [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct World { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 29 | date: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `World` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `planets` are never read [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct Star { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 48 | id: usize, [INFO] [stdout] 49 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | planets: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Star` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `coordinate`, and `typ` are never read [INFO] [stdout] --> src/main.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | struct Planet { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 72 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 73 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | coordinate: (f64, f64), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 75 | typ: BodyType, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Planet` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `wait` is never used [INFO] [stdout] --> src/fltk_wrapper/wraps.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl AppWrap { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn wait(&mut self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `height` and `width` are never read [INFO] [stdout] --> src/fltk_wrapper/wraps.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct WindWrap { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 22 | window: window::Window, [INFO] [stdout] 23 | height: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | width: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `set_label` and `new_with_name` are never used [INFO] [stdout] --> src/fltk_wrapper/wraps.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl WindWrap { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn set_label(&mut self, inp: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn new_with_name(width: i32, height: i32, name: &'static str) -> WindWrap { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `closest` is never read [INFO] [stdout] --> src/fltk_wrapper/bmpwrap/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct BmpWrap { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | closest: Option>> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `make_dis_map` and `dis_map` are never used [INFO] [stdout] --> src/fltk_wrapper/bmpwrap/mod.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl BmpWrap { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn make_dis_map(&mut self, inp: Option) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn dis_map(&mut self, inp: Option) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_closest_to` and `draw_system` are never used [INFO] [stdout] --> src/fltk_wrapper/bmpwrap/mod.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 201 | pub trait Drawable { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 210 | fn draw_closest_to(&self, _: Option<(f64, f64)>, _: Option) -> Option<(i32, i32, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | fn draw_system(&self, _: Option<(f64, f64)>, _: Option) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/file_analysis.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | std::mem::drop(&mut file); [INFO] [stdout] | ^^^^^^^^^^^^^^^---------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut ZipFile<'_>` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `date` is never read [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct World { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 29 | date: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `World` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `planets` are never read [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct Star { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 48 | id: usize, [INFO] [stdout] 49 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | planets: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Star` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `coordinate`, and `typ` are never read [INFO] [stdout] --> src/main.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | struct Planet { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 72 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 73 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | coordinate: (f64, f64), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 75 | typ: BodyType, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Planet` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `wait` is never used [INFO] [stdout] --> src/fltk_wrapper/wraps.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl AppWrap { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn wait(&mut self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `height` and `width` are never read [INFO] [stdout] --> src/fltk_wrapper/wraps.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct WindWrap { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 22 | window: window::Window, [INFO] [stdout] 23 | height: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | width: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `set_label` and `new_with_name` are never used [INFO] [stdout] --> src/fltk_wrapper/wraps.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl WindWrap { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn set_label(&mut self, inp: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn new_with_name(width: i32, height: i32, name: &'static str) -> WindWrap { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `closest` is never read [INFO] [stdout] --> src/fltk_wrapper/bmpwrap/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct BmpWrap { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | closest: Option>> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `make_dis_map` and `dis_map` are never used [INFO] [stdout] --> src/fltk_wrapper/bmpwrap/mod.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl BmpWrap { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn make_dis_map(&mut self, inp: Option) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn dis_map(&mut self, inp: Option) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_closest_to` and `draw_system` are never used [INFO] [stdout] --> src/fltk_wrapper/bmpwrap/mod.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 201 | pub trait Drawable { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 210 | fn draw_closest_to(&self, _: Option<(f64, f64)>, _: Option) -> Option<(i32, i32, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | fn draw_system(&self, _: Option<(f64, f64)>, _: Option) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/file_analysis.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | std::mem::drop(&mut file); [INFO] [stdout] | ^^^^^^^^^^^^^^^---------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut ZipFile<'_>` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.09s [INFO] running `Command { std: "docker" "inspect" "6aceec923cffa76601d150b20a6552a8a8e534d1c3f2f906053585bd9805a771", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6aceec923cffa76601d150b20a6552a8a8e534d1c3f2f906053585bd9805a771", kill_on_drop: false }` [INFO] [stdout] 6aceec923cffa76601d150b20a6552a8a8e534d1c3f2f906053585bd9805a771 [INFO] checking SveOls/stelsave against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSveOls%2Fstelsave" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SveOls/stelsave 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/SveOls/stelsave [INFO] finished tweaking git repo https://github.com/SveOls/stelsave [INFO] tweaked toml for git repo https://github.com/SveOls/stelsave written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SveOls/stelsave 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] d3defe62a8723ee0aad3b826e1f6a5101d454316134b9a4111e4c03d6c3bb378 [INFO] running `Command { std: "docker" "start" "-a" "d3defe62a8723ee0aad3b826e1f6a5101d454316134b9a4111e4c03d6c3bb378", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3defe62a8723ee0aad3b826e1f6a5101d454316134b9a4111e4c03d6c3bb378", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3defe62a8723ee0aad3b826e1f6a5101d454316134b9a4111e4c03d6c3bb378", kill_on_drop: false }` [INFO] [stdout] d3defe62a8723ee0aad3b826e1f6a5101d454316134b9a4111e4c03d6c3bb378 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 3cecdb3b5ba3864a124fd3efdbe1bdd5d160fe20fead516f901760b7f292784d [INFO] running `Command { std: "docker" "start" "-a" "3cecdb3b5ba3864a124fd3efdbe1bdd5d160fe20fead516f901760b7f292784d", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking bmp v0.5.0 [INFO] [stderr] Compiling cmake v0.1.46 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling fltk-sys v1.2.8 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking fltk v1.2.8 [INFO] [stderr] Checking save_analyser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Image`, `Pixel` [INFO] [stdout] --> src/main.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use bmp::{Image, Pixel}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bmp::Pixel` [INFO] [stdout] --> src/fltk_wrapper/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bmp::Pixel; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/main.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | use fltk::{prelude::*, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Image`, `Pixel` [INFO] [stdout] --> src/main.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use bmp::{Image, Pixel}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bmp::Pixel` [INFO] [stdout] --> src/fltk_wrapper/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bmp::Pixel; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/main.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | use fltk::{prelude::*, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `int_abs_diff` has been stable since 1.60.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(int_abs_diff)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `int_abs_diff` has been stable since 1.60.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(int_abs_diff)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude` [INFO] [stdout] --> src/main.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use fltk::{prelude::*, *}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude` [INFO] [stdout] --> src/main.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use fltk::{prelude::*, *}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fltk_wrapper/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut app = AppWrap::new(); [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/fltk_wrapper/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut app = AppWrap::new(); [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 `date` is never read [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct World { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 29 | date: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `World` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `planets` are never read [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct Star { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 48 | id: usize, [INFO] [stdout] 49 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | planets: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Star` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `coordinate`, and `typ` are never read [INFO] [stdout] --> src/main.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | struct Planet { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 72 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 73 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | coordinate: (f64, f64), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 75 | typ: BodyType, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Planet` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `wait` is never used [INFO] [stdout] --> src/fltk_wrapper/wraps.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl AppWrap { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn wait(&mut self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `height` and `width` are never read [INFO] [stdout] --> src/fltk_wrapper/wraps.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct WindWrap { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 22 | window: window::Window, [INFO] [stdout] 23 | height: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | width: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `set_label` and `new_with_name` are never used [INFO] [stdout] --> src/fltk_wrapper/wraps.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl WindWrap { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn set_label(&mut self, inp: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn new_with_name(width: i32, height: i32, name: &'static str) -> WindWrap { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `closest` is never read [INFO] [stdout] --> src/fltk_wrapper/bmpwrap/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct BmpWrap { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | closest: Option>> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `make_dis_map` and `dis_map` are never used [INFO] [stdout] --> src/fltk_wrapper/bmpwrap/mod.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl BmpWrap { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn make_dis_map(&mut self, inp: Option) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn dis_map(&mut self, inp: Option) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_closest_to` and `draw_system` are never used [INFO] [stdout] --> src/fltk_wrapper/bmpwrap/mod.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 201 | pub trait Drawable { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 210 | fn draw_closest_to(&self, _: Option<(f64, f64)>, _: Option) -> Option<(i32, i32, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | fn draw_system(&self, _: Option<(f64, f64)>, _: Option) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/file_analysis.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | std::mem::drop(&mut file); [INFO] [stdout] | ^^^^^^^^^^^^^^^---------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut ZipFile<'_>` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `date` is never read [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct World { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 29 | date: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `World` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `planets` are never read [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct Star { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 48 | id: usize, [INFO] [stdout] 49 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | planets: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Star` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `coordinate`, and `typ` are never read [INFO] [stdout] --> src/main.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | struct Planet { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 72 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 73 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 74 | coordinate: (f64, f64), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 75 | typ: BodyType, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Planet` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `wait` is never used [INFO] [stdout] --> src/fltk_wrapper/wraps.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl AppWrap { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn wait(&mut self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `height` and `width` are never read [INFO] [stdout] --> src/fltk_wrapper/wraps.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct WindWrap { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 22 | window: window::Window, [INFO] [stdout] 23 | height: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | width: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `set_label` and `new_with_name` are never used [INFO] [stdout] --> src/fltk_wrapper/wraps.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl WindWrap { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn set_label(&mut self, inp: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn new_with_name(width: i32, height: i32, name: &'static str) -> WindWrap { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `closest` is never read [INFO] [stdout] --> src/fltk_wrapper/bmpwrap/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct BmpWrap { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | closest: Option>> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `make_dis_map` and `dis_map` are never used [INFO] [stdout] --> src/fltk_wrapper/bmpwrap/mod.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl BmpWrap { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn make_dis_map(&mut self, inp: Option) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn dis_map(&mut self, inp: Option) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_closest_to` and `draw_system` are never used [INFO] [stdout] --> src/fltk_wrapper/bmpwrap/mod.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 201 | pub trait Drawable { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 210 | fn draw_closest_to(&self, _: Option<(f64, f64)>, _: Option) -> Option<(i32, i32, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | fn draw_system(&self, _: Option<(f64, f64)>, _: Option) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/file_analysis.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | std::mem::drop(&mut file); [INFO] [stdout] | ^^^^^^^^^^^^^^^---------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut ZipFile<'_>` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "3cecdb3b5ba3864a124fd3efdbe1bdd5d160fe20fead516f901760b7f292784d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cecdb3b5ba3864a124fd3efdbe1bdd5d160fe20fead516f901760b7f292784d", kill_on_drop: false }` [INFO] [stdout] 3cecdb3b5ba3864a124fd3efdbe1bdd5d160fe20fead516f901760b7f292784d