[INFO] cloning repository https://github.com/tylerreisinger/sprite-atlas [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tylerreisinger/sprite-atlas" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylerreisinger%2Fsprite-atlas", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylerreisinger%2Fsprite-atlas'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0cd33afe97009c1c5513fa89ec40c272db96ed1f [INFO] testing tylerreisinger/sprite-atlas against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylerreisinger%2Fsprite-atlas" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tylerreisinger/sprite-atlas on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tylerreisinger/sprite-atlas [INFO] finished tweaking git repo https://github.com/tylerreisinger/sprite-atlas [INFO] tweaked toml for git repo https://github.com/tylerreisinger/sprite-atlas written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/tylerreisinger/sprite-atlas already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0806f224d7c32132dc3dd9896419b3a53049b4149e17ef026783ee2144c40cc [INFO] running `Command { std: "docker" "start" "-a" "d0806f224d7c32132dc3dd9896419b3a53049b4149e17ef026783ee2144c40cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0806f224d7c32132dc3dd9896419b3a53049b4149e17ef026783ee2144c40cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0806f224d7c32132dc3dd9896419b3a53049b4149e17ef026783ee2144c40cc", kill_on_drop: false }` [INFO] [stdout] d0806f224d7c32132dc3dd9896419b3a53049b4149e17ef026783ee2144c40cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcf8f6f93f84aa8f358e4a18d3dcf1cb0110683d4740aff909351864d86f4c2f [INFO] running `Command { std: "docker" "start" "-a" "fcf8f6f93f84aa8f358e4a18d3dcf1cb0110683d4740aff909351864d86f4c2f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.29 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling gif v0.10.1 [INFO] [stderr] Compiling deflate v0.7.19 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling png v0.14.1 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling image v0.21.1 [INFO] [stderr] Compiling texture_atlas v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/render.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | for x in (region.left..region.left+region.width) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/render.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | for y in (region.top..region.top+region.height) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/render.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | for y in (region.top..region.top+region.height) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/render.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | for x in (region.left..region.left+region.width) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | values.sort_unstable_by_key(|(i, w, h)| u32::MAX - w.max(h)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 58 | values.sort_unstable_by_key(|(i, w, h)| u32::MAX - w*h/*w.max(h)*/); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/spatial_tree.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | if let Some(root) = self.root.as_mut() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/spatial_tree.rs:309:19 [INFO] [stdout] | [INFO] [stdout] 309 | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/render.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | if let Some(v) = &node.value { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_random_test_data` [INFO] [stdout] --> src/main.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn generate_random_test_data(n: u32) -> Vec<(u32, u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_discrete_test_data` [INFO] [stdout] --> src/main.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn generate_discrete_test_data(n: u32, choices: &[u32]) -> Vec<(u32, u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.38s [INFO] running `Command { std: "docker" "inspect" "fcf8f6f93f84aa8f358e4a18d3dcf1cb0110683d4740aff909351864d86f4c2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcf8f6f93f84aa8f358e4a18d3dcf1cb0110683d4740aff909351864d86f4c2f", kill_on_drop: false }` [INFO] [stdout] fcf8f6f93f84aa8f358e4a18d3dcf1cb0110683d4740aff909351864d86f4c2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9830e70cc1d140cc9d861e4471510d7f4b83c3fc585a034c2d7719067917736b [INFO] running `Command { std: "docker" "start" "-a" "9830e70cc1d140cc9d861e4471510d7f4b83c3fc585a034c2d7719067917736b", kill_on_drop: false }` [INFO] [stderr] Compiling texture_atlas v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/render.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | for x in (region.left..region.left+region.width) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/render.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | for y in (region.top..region.top+region.height) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/render.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | for y in (region.top..region.top+region.height) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/render.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | for x in (region.left..region.left+region.width) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | values.sort_unstable_by_key(|(i, w, h)| u32::MAX - w.max(h)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 58 | values.sort_unstable_by_key(|(i, w, h)| u32::MAX - w*h/*w.max(h)*/); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/spatial_tree.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | if let Some(root) = self.root.as_mut() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/spatial_tree.rs:309:19 [INFO] [stdout] | [INFO] [stdout] 309 | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/render.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | if let Some(v) = &node.value { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_random_test_data` [INFO] [stdout] --> src/main.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn generate_random_test_data(n: u32) -> Vec<(u32, u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_discrete_test_data` [INFO] [stdout] --> src/main.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn generate_discrete_test_data(n: u32, choices: &[u32]) -> Vec<(u32, u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.43s [INFO] running `Command { std: "docker" "inspect" "9830e70cc1d140cc9d861e4471510d7f4b83c3fc585a034c2d7719067917736b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9830e70cc1d140cc9d861e4471510d7f4b83c3fc585a034c2d7719067917736b", kill_on_drop: false }` [INFO] [stdout] 9830e70cc1d140cc9d861e4471510d7f4b83c3fc585a034c2d7719067917736b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 917cdcb9b0dfe2672b75d58ea37bc2aeea27d9d3546ae33824d04a700ec9130d [INFO] running `Command { std: "docker" "start" "-a" "917cdcb9b0dfe2672b75d58ea37bc2aeea27d9d3546ae33824d04a700ec9130d", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> src/render.rs:36:14 [INFO] [stderr] | [INFO] [stderr] 36 | for x in (region.left..region.left+region.width) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> src/render.rs:40:14 [INFO] [stderr] | [INFO] [stderr] 40 | for y in (region.top..region.top+region.height) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> src/render.rs:47:14 [INFO] [stderr] | [INFO] [stderr] 47 | for y in (region.top..region.top+region.height) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression [INFO] [stderr] --> src/render.rs:48:18 [INFO] [stderr] | [INFO] [stderr] 48 | for x in (region.left..region.left+region.width) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/main.rs:46:35 [INFO] [stderr] | [INFO] [stderr] 46 | values.sort_unstable_by_key(|(i, w, h)| u32::MAX - w.max(h)); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/main.rs:58:35 [INFO] [stderr] | [INFO] [stderr] 58 | values.sort_unstable_by_key(|(i, w, h)| u32::MAX - w*h/*w.max(h)*/); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `root` [INFO] [stderr] --> src/spatial_tree.rs:144:21 [INFO] [stderr] | [INFO] [stderr] 144 | if let Some(root) = self.root.as_mut() { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f` [INFO] [stderr] --> src/spatial_tree.rs:309:19 [INFO] [stderr] | [INFO] [stderr] 309 | fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/render.rs:69:21 [INFO] [stderr] | [INFO] [stderr] 69 | if let Some(v) = &node.value { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `generate_random_test_data` [INFO] [stderr] --> src/main.rs:39:4 [INFO] [stderr] | [INFO] [stderr] 39 | fn generate_random_test_data(n: u32) -> Vec<(u32, u32, u32)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `generate_discrete_test_data` [INFO] [stderr] --> src/main.rs:51:4 [INFO] [stderr] | [INFO] [stderr] 51 | fn generate_discrete_test_data(n: u32, choices: &[u32]) -> Vec<(u32, u32, u32)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 11 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/texture_atlas-a0f90328c6249f31) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "917cdcb9b0dfe2672b75d58ea37bc2aeea27d9d3546ae33824d04a700ec9130d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "917cdcb9b0dfe2672b75d58ea37bc2aeea27d9d3546ae33824d04a700ec9130d", kill_on_drop: false }` [INFO] [stdout] 917cdcb9b0dfe2672b75d58ea37bc2aeea27d9d3546ae33824d04a700ec9130d