[INFO] cloning repository https://github.com/djdisodo/chipcalc_native_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/djdisodo/chipcalc_native_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjdisodo%2Fchipcalc_native_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjdisodo%2Fchipcalc_native_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 06f79c33f820eecd4513fca2699621d0838cd387 [INFO] checking djdisodo/chipcalc_native_rust against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjdisodo%2Fchipcalc_native_rust" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/djdisodo/chipcalc_native_rust on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/djdisodo/chipcalc_native_rust [INFO] finished tweaking git repo https://github.com/djdisodo/chipcalc_native_rust [INFO] tweaked toml for git repo https://github.com/djdisodo/chipcalc_native_rust written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/djdisodo/chipcalc_native_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bit_reverse v0.1.8 [INFO] [stderr] Downloaded enum-iterator v0.6.0 [INFO] [stderr] Downloaded enum-iterator-derive v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c756c2328b3eba1c9c9be4344058ea7879523b4ea39ebdb89c9551daea9c06fb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c756c2328b3eba1c9c9be4344058ea7879523b4ea39ebdb89c9551daea9c06fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c756c2328b3eba1c9c9be4344058ea7879523b4ea39ebdb89c9551daea9c06fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c756c2328b3eba1c9c9be4344058ea7879523b4ea39ebdb89c9551daea9c06fb", kill_on_drop: false }` [INFO] [stdout] c756c2328b3eba1c9c9be4344058ea7879523b4ea39ebdb89c9551daea9c06fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 017c3b0f5cca1f1b7330fe95d4e0b891b7183865362a3ad387357e4e6369c130 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "017c3b0f5cca1f1b7330fe95d4e0b891b7183865362a3ad387357e4e6369c130", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Checking bit_reverse v0.1.8 [INFO] [stderr] Checking strum v0.19.5 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking num-complex v0.3.0 [INFO] [stderr] Checking num v0.3.0 [INFO] [stderr] Checking serde_json v1.0.59 [INFO] [stderr] Compiling enum-iterator-derive v0.6.0 [INFO] [stderr] Compiling strum_macros v0.19.4 [INFO] [stderr] Checking enum-iterator v0.6.0 [INFO] [stderr] Checking chipcalc_native_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/canvas.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | left_space += ((!x >> i) & 0x00000001); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MatrixRotationCache` [INFO] [stdout] --> src/calculation.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::matrix::{MatrixRotationCache, Matrix}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cw0`, `Cw180`, `Cw270`, `Cw90` [INFO] [stdout] --> src/calculation.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::matrix::MatrixRotation::{Cw0, Cw180, Cw90, Cw270}; [INFO] [stdout] | ^^^ ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::shape::Shape` [INFO] [stdout] --> src/calculation.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::shape::Shape; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MatrixRotationCache` [INFO] [stdout] --> src/chip.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::matrix::{MatrixRotationCache, MatrixRotation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vector2::Vector2` [INFO] [stdout] --> src/shape.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::vector2::Vector2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/shape.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/canvas.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | left_space += ((!x >> i) & 0x00000001); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MatrixRotationCache` [INFO] [stdout] --> src/calculation.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::matrix::{MatrixRotationCache, Matrix}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cw0`, `Cw180`, `Cw270`, `Cw90` [INFO] [stdout] --> src/calculation.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::matrix::MatrixRotation::{Cw0, Cw180, Cw90, Cw270}; [INFO] [stdout] | ^^^ ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::shape::Shape` [INFO] [stdout] --> src/calculation.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::shape::Shape; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MatrixRotationCache` [INFO] [stdout] --> src/chip.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::matrix::{MatrixRotationCache, MatrixRotation}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vector2::Vector2` [INFO] [stdout] --> src/shape.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::vector2::Vector2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/shape.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chips` [INFO] [stdout] --> src/calculation.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | let mut chips = self.job.chips.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chips` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotate` [INFO] [stdout] --> src/calculation.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | let rotate = self.job.config.rotate; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chips` [INFO] [stdout] --> src/calculation.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | let mut chips = self.job.chips.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chips` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotate` [INFO] [stdout] --> src/calculation.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | let rotate = self.job.config.rotate; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/calculation.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | let mut chips = self.job.chips.clone(); [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/calculation.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | let mut chips = self.job.chips.clone(); [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: constant is never used: `DEFAULT` [INFO] [stdout] --> src/shape.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | const DEFAULT: Shape = Shape::_1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `SHAPE_1` [INFO] [stdout] --> src/shape.rs:106:2 [INFO] [stdout] | [INFO] [stdout] 106 | const SHAPE_1: &'static [Shape] = &[Shape::_1]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `SHAPE_2` [INFO] [stdout] --> src/shape.rs:107:2 [INFO] [stdout] | [INFO] [stdout] 107 | const SHAPE_2: &'static [Shape] = &[Shape::_2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `SHAPE_3` [INFO] [stdout] --> src/shape.rs:108:2 [INFO] [stdout] | [INFO] [stdout] 108 | const SHAPE_3: &'static [Shape] = &[Shape::_3_I, Shape::_3_L]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `SHAPE_4` [INFO] [stdout] --> src/shape.rs:109:2 [INFO] [stdout] | [INFO] [stdout] 109 | const SHAPE_4: &'static [Shape] = &[Shape::_4_I, Shape::_4_O, Shape::_4_Lm, Shape::_4_L, Shape::_4_Zm, Shape::_4_Z, Shape::_4_T]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `SHAPE_5A` [INFO] [stdout] --> src/shape.rs:110:2 [INFO] [stdout] | [INFO] [stdout] 110 | const SHAPE_5A: &'static [Shape] = &[Shape::_5A_Pm, Shape::_5A_P, Shape::_5A_I, Shape::_5A_C, Shape::_5A_Z, Shape::_5A_Zm, Shape::_5A_V, Shape::_5A_L, Shape::_5A_Lm]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `SHAPE_5B` [INFO] [stdout] --> src/shape.rs:111:2 [INFO] [stdout] | [INFO] [stdout] 111 | const SHAPE_5B: &'static [Shape] = &[Shape::_5B_W, Shape::_5B_Nm, Shape::_5B_N, Shape::_5B_Ym, Shape::_5B_Y, Shape::_5B_X, Shape::_5B_T, Shape::_5B_F, Shape::_5B_Fm]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `SHAPE_5` [INFO] [stdout] --> src/shape.rs:112:2 [INFO] [stdout] | [INFO] [stdout] 112 | const SHAPE_5: &'static [Shape] = &[ [INFO] [stdout] | _____^ [INFO] [stdout] 113 | | Shape::_5A_Pm, Shape::_5A_P, Shape::_5A_I, Shape::_5A_C, Shape::_5A_Z, Shape::_5A_Zm, Shape::_5A_V, Shape::_5A_L, Shape::_5A_Lm, [INFO] [stdout] 114 | | Shape::_5B_W, Shape::_5B_Nm, Shape::_5B_N, Shape::_5B_Ym, Shape::_5B_Y, Shape::_5B_X, Shape::_5B_T, Shape::_5B_F, Shape::_5B_Fm [INFO] [stdout] 115 | | ]; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `SHAPE_6` [INFO] [stdout] --> src/shape.rs:116:2 [INFO] [stdout] | [INFO] [stdout] 116 | const SHAPE_6: &'static [Shape] = &[Shape::_6_O, Shape::_6_A, Shape::_6_D, Shape::_6_Z, Shape::_6_Zm, Shape::_6_Y, Shape::_6_T, Shape::_6_I, Shape::_6_C, Shape::_6_R]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEFAULT` [INFO] [stdout] --> src/shape.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | const DEFAULT: Shape = Shape::_1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `SHAPE_1` [INFO] [stdout] --> src/shape.rs:106:2 [INFO] [stdout] | [INFO] [stdout] 106 | const SHAPE_1: &'static [Shape] = &[Shape::_1]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `SHAPE_2` [INFO] [stdout] --> src/shape.rs:107:2 [INFO] [stdout] | [INFO] [stdout] 107 | const SHAPE_2: &'static [Shape] = &[Shape::_2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `SHAPE_3` [INFO] [stdout] --> src/shape.rs:108:2 [INFO] [stdout] | [INFO] [stdout] 108 | const SHAPE_3: &'static [Shape] = &[Shape::_3_I, Shape::_3_L]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `SHAPE_4` [INFO] [stdout] --> src/shape.rs:109:2 [INFO] [stdout] | [INFO] [stdout] 109 | const SHAPE_4: &'static [Shape] = &[Shape::_4_I, Shape::_4_O, Shape::_4_Lm, Shape::_4_L, Shape::_4_Zm, Shape::_4_Z, Shape::_4_T]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `SHAPE_5A` [INFO] [stdout] --> src/shape.rs:110:2 [INFO] [stdout] | [INFO] [stdout] 110 | const SHAPE_5A: &'static [Shape] = &[Shape::_5A_Pm, Shape::_5A_P, Shape::_5A_I, Shape::_5A_C, Shape::_5A_Z, Shape::_5A_Zm, Shape::_5A_V, Shape::_5A_L, Shape::_5A_Lm]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `SHAPE_5B` [INFO] [stdout] --> src/shape.rs:111:2 [INFO] [stdout] | [INFO] [stdout] 111 | const SHAPE_5B: &'static [Shape] = &[Shape::_5B_W, Shape::_5B_Nm, Shape::_5B_N, Shape::_5B_Ym, Shape::_5B_Y, Shape::_5B_X, Shape::_5B_T, Shape::_5B_F, Shape::_5B_Fm]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `SHAPE_5` [INFO] [stdout] --> src/shape.rs:112:2 [INFO] [stdout] | [INFO] [stdout] 112 | const SHAPE_5: &'static [Shape] = &[ [INFO] [stdout] | _____^ [INFO] [stdout] 113 | | Shape::_5A_Pm, Shape::_5A_P, Shape::_5A_I, Shape::_5A_C, Shape::_5A_Z, Shape::_5A_Zm, Shape::_5A_V, Shape::_5A_L, Shape::_5A_Lm, [INFO] [stdout] 114 | | Shape::_5B_W, Shape::_5B_Nm, Shape::_5B_N, Shape::_5B_Ym, Shape::_5B_Y, Shape::_5B_X, Shape::_5B_T, Shape::_5B_F, Shape::_5B_Fm [INFO] [stdout] 115 | | ]; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `SHAPE_6` [INFO] [stdout] --> src/shape.rs:116:2 [INFO] [stdout] | [INFO] [stdout] 116 | const SHAPE_6: &'static [Shape] = &[Shape::_6_O, Shape::_6_A, Shape::_6_D, Shape::_6_Z, Shape::_6_Zm, Shape::_6_Y, Shape::_6_T, Shape::_6_I, Shape::_6_C, Shape::_6_R]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/matrix.rs:134:3 [INFO] [stdout] | [INFO] [stdout] 134 | replace(self, match a { [INFO] [stdout] | _________^ [INFO] [stdout] 135 | | MatrixRotation::Cw0 => MatrixRotation::Cw90, [INFO] [stdout] 136 | | MatrixRotation::Cw90 => MatrixRotation::Cw180, [INFO] [stdout] 137 | | MatrixRotation::Cw180 => MatrixRotation::Cw270, [INFO] [stdout] 138 | | MatrixRotation::Cw270 => MatrixRotation::Cw0 [INFO] [stdout] 139 | | }); [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/matrix.rs:134:3 [INFO] [stdout] | [INFO] [stdout] 134 | replace(self, match a { [INFO] [stdout] | _________^ [INFO] [stdout] 135 | | MatrixRotation::Cw0 => MatrixRotation::Cw90, [INFO] [stdout] 136 | | MatrixRotation::Cw90 => MatrixRotation::Cw180, [INFO] [stdout] 137 | | MatrixRotation::Cw180 => MatrixRotation::Cw270, [INFO] [stdout] 138 | | MatrixRotation::Cw270 => MatrixRotation::Cw0 [INFO] [stdout] 139 | | }); [INFO] [stdout] | |___________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.64s [INFO] running `Command { std: "docker" "inspect" "017c3b0f5cca1f1b7330fe95d4e0b891b7183865362a3ad387357e4e6369c130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "017c3b0f5cca1f1b7330fe95d4e0b891b7183865362a3ad387357e4e6369c130", kill_on_drop: false }` [INFO] [stdout] 017c3b0f5cca1f1b7330fe95d4e0b891b7183865362a3ad387357e4e6369c130