[INFO] fetching crate minecraft_screenshot_parser 0.5.0... [INFO] testing minecraft_screenshot_parser-0.5.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate minecraft_screenshot_parser 0.5.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate minecraft_screenshot_parser 0.5.0 [INFO] finished tweaking crates.io crate minecraft_screenshot_parser 0.5.0 [INFO] tweaked toml for crates.io crate minecraft_screenshot_parser 0.5.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate minecraft_screenshot_parser 0.5.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate minecraft_screenshot_parser 0.5.0 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4856b1d168d8db048f9befe3a76c1615cf1527fd8166a79afdd9ba4d9bb83031 [INFO] running `Command { std: "docker" "start" "-a" "4856b1d168d8db048f9befe3a76c1615cf1527fd8166a79afdd9ba4d9bb83031", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4856b1d168d8db048f9befe3a76c1615cf1527fd8166a79afdd9ba4d9bb83031", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4856b1d168d8db048f9befe3a76c1615cf1527fd8166a79afdd9ba4d9bb83031", kill_on_drop: false }` [INFO] [stdout] 4856b1d168d8db048f9befe3a76c1615cf1527fd8166a79afdd9ba4d9bb83031 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 785d192a1c5f592c3700791a61d89cdce96c3c13a2dd2e8b29e556cab06e9fd0 [INFO] running `Command { std: "docker" "start" "-a" "785d192a1c5f592c3700791a61d89cdce96c3c13a2dd2e8b29e556cab06e9fd0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling fdeflate v0.3.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling safe_arch v0.7.1 [INFO] [stderr] Compiling flate2 v1.0.27 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling wide v0.7.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling png v0.17.10 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling image v0.25.1 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling ab_glyph v0.2.24 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling nalgebra v0.32.5 [INFO] [stderr] Compiling imageproc v0.24.0 [INFO] [stderr] Compiling minecraft_screenshot_parser v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `score`, `second_score`, `worst_score`, `num_edges_before`, and `num_edges_after` are never read [INFO] [stdout] --> src/crosshair.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 317 | struct ScoreInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 318 | score: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 319 | second_score: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 320 | worst_score: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 321 | num_edges_before: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 322 | num_edges_after: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScoreInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `score_info` is never read [INFO] [stdout] --> src/crosshair.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 326 | pub struct Crosshair { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 329 | score_info: ScoreInfo, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Crosshair` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `relu` is never used [INFO] [stdout] --> src/map.rs:427:8 [INFO] [stdout] | [INFO] [stdout] 427 | fn relu(x: f32) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_count` is never read [INFO] [stdout] --> src/map_color_correct.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 182 | struct RemovedSimilarColors { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 185 | pub total_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.00s [INFO] running `Command { std: "docker" "inspect" "785d192a1c5f592c3700791a61d89cdce96c3c13a2dd2e8b29e556cab06e9fd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "785d192a1c5f592c3700791a61d89cdce96c3c13a2dd2e8b29e556cab06e9fd0", kill_on_drop: false }` [INFO] [stdout] 785d192a1c5f592c3700791a61d89cdce96c3c13a2dd2e8b29e556cab06e9fd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1f8ac2e170f132eb3a596a01f4897446d5c58fdb0b0c9b6c51ed27e58ca00be [INFO] running `Command { std: "docker" "start" "-a" "f1f8ac2e170f132eb3a596a01f4897446d5c58fdb0b0c9b6c51ed27e58ca00be", kill_on_drop: false }` [INFO] [stderr] Compiling zune-jpeg v0.4.11 [INFO] [stderr] Compiling image v0.25.1 [INFO] [stderr] Compiling imageproc v0.24.0 [INFO] [stderr] Compiling minecraft_screenshot_parser v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `score`, `second_score`, `worst_score`, `num_edges_before`, and `num_edges_after` are never read [INFO] [stdout] --> src/crosshair.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 317 | struct ScoreInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 318 | score: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 319 | second_score: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 320 | worst_score: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 321 | num_edges_before: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 322 | num_edges_after: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScoreInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `score_info` is never read [INFO] [stdout] --> src/crosshair.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 326 | pub struct Crosshair { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 329 | score_info: ScoreInfo, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Crosshair` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `relu` is never used [INFO] [stdout] --> src/map.rs:427:8 [INFO] [stdout] | [INFO] [stdout] 427 | fn relu(x: f32) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_count` is never read [INFO] [stdout] --> src/map_color_correct.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 182 | struct RemovedSimilarColors { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 185 | pub total_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/map.rs:1041:32 [INFO] [stdout] | [INFO] [stdout] 1041 | .map(|(y, y_pred)| (y_pred.round() as i32 - (*y))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1041 - .map(|(y, y_pred)| (y_pred.round() as i32 - (*y))) [INFO] [stdout] 1041 + .map(|(y, y_pred)| y_pred.round() as i32 - (*y)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/map.rs:1074:32 [INFO] [stdout] | [INFO] [stdout] 1074 | .map(|(y, y_pred)| (y_pred.round() as i32 - (*y))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1074 - .map(|(y, y_pred)| (y_pred.round() as i32 - (*y))) [INFO] [stdout] 1074 + .map(|(y, y_pred)| y_pred.round() as i32 - (*y)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `score`, `second_score`, `worst_score`, `num_edges_before`, and `num_edges_after` are never read [INFO] [stdout] --> src/crosshair.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 317 | struct ScoreInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 318 | score: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 319 | second_score: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 320 | worst_score: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 321 | num_edges_before: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 322 | num_edges_after: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScoreInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `score_info` is never read [INFO] [stdout] --> src/crosshair.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 326 | pub struct Crosshair { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 329 | score_info: ScoreInfo, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Crosshair` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `relu` is never used [INFO] [stdout] --> src/map.rs:427:8 [INFO] [stdout] | [INFO] [stdout] 427 | fn relu(x: f32) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_count` is never read [INFO] [stdout] --> src/map_color_correct.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 182 | struct RemovedSimilarColors { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 185 | pub total_count: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.47s [INFO] running `Command { std: "docker" "inspect" "f1f8ac2e170f132eb3a596a01f4897446d5c58fdb0b0c9b6c51ed27e58ca00be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1f8ac2e170f132eb3a596a01f4897446d5c58fdb0b0c9b6c51ed27e58ca00be", kill_on_drop: false }` [INFO] [stdout] f1f8ac2e170f132eb3a596a01f4897446d5c58fdb0b0c9b6c51ed27e58ca00be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] af56322079cd80a4c1cb84aca411716af7b9d632156831b0526d6221535618a8 [INFO] running `Command { std: "docker" "start" "-a" "af56322079cd80a4c1cb84aca411716af7b9d632156831b0526d6221535618a8", kill_on_drop: false }` [INFO] [stderr] warning: fields `score`, `second_score`, `worst_score`, `num_edges_before`, and `num_edges_after` are never read [INFO] [stderr] --> src/crosshair.rs:318:5 [INFO] [stderr] | [INFO] [stderr] 317 | struct ScoreInfo { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 318 | score: u64, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 319 | second_score: u64, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 320 | worst_score: u64, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 321 | num_edges_before: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 322 | num_edges_after: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ScoreInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `score_info` is never read [INFO] [stderr] --> src/crosshair.rs:329:5 [INFO] [stderr] | [INFO] [stderr] 326 | pub struct Crosshair { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 329 | score_info: ScoreInfo, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Crosshair` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `relu` is never used [INFO] [stderr] --> src/map.rs:427:8 [INFO] [stderr] | [INFO] [stderr] 427 | fn relu(x: f32) -> f32 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `total_count` is never read [INFO] [stderr] --> src/map_color_correct.rs:185:9 [INFO] [stderr] | [INFO] [stderr] 182 | struct RemovedSimilarColors { [INFO] [stderr] | -------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 185 | pub total_count: u32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `minecraft_screenshot_parser` (lib) generated 4 warnings [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/map.rs:1041:32 [INFO] [stderr] | [INFO] [stderr] 1041 | .map(|(y, y_pred)| (y_pred.round() as i32 - (*y))) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1041 - .map(|(y, y_pred)| (y_pred.round() as i32 - (*y))) [INFO] [stderr] 1041 + .map(|(y, y_pred)| y_pred.round() as i32 - (*y)) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/map.rs:1074:32 [INFO] [stderr] | [INFO] [stderr] 1074 | .map(|(y, y_pred)| (y_pred.round() as i32 - (*y))) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1074 - .map(|(y, y_pred)| (y_pred.round() as i32 - (*y))) [INFO] [stderr] 1074 + .map(|(y, y_pred)| y_pred.round() as i32 - (*y)) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `minecraft_screenshot_parser` (lib test) generated 6 warnings (4 duplicates) (run `cargo fix --lib -p minecraft_screenshot_parser --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/minecraft_screenshot_parser-4059810cf6f909f3) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test map::tests::gradient_descent_bad_case_1 ... ignored [INFO] [stdout] test map::tests::gradient_descent_explosion ... ok [INFO] [stdout] test crosshair::tests::generated_crosshair_kernels ... ok [INFO] [stdout] test map::tests::scale_translate ... ok [INFO] [stdout] test map::tests::linear_regression_rounded_y ... ok [INFO] [stderr] Doc-tests minecraft_screenshot_parser [INFO] [stdout] test map_color_correct::tests::odd_sized_map - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/map.rs - map::gradient_descent (line 409) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "af56322079cd80a4c1cb84aca411716af7b9d632156831b0526d6221535618a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af56322079cd80a4c1cb84aca411716af7b9d632156831b0526d6221535618a8", kill_on_drop: false }` [INFO] [stdout] af56322079cd80a4c1cb84aca411716af7b9d632156831b0526d6221535618a8