[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] fcc08c6683fdc5ee4bd4c32689c509284bbcfeb2 [INFO] checking djdisodo/chipcalc_native_rust against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjdisodo%2Fchipcalc_native_rust" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/djdisodo/chipcalc_native_rust on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-0/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] dcbbcc2bd6ee36f597e4f778ec639bd59d01a1b2ad0bb27c46ae8302969edddc [INFO] running `Command { std: "docker" "start" "-a" "dcbbcc2bd6ee36f597e4f778ec639bd59d01a1b2ad0bb27c46ae8302969edddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dcbbcc2bd6ee36f597e4f778ec639bd59d01a1b2ad0bb27c46ae8302969edddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcbbcc2bd6ee36f597e4f778ec639bd59d01a1b2ad0bb27c46ae8302969edddc", kill_on_drop: false }` [INFO] [stdout] dcbbcc2bd6ee36f597e4f778ec639bd59d01a1b2ad0bb27c46ae8302969edddc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55708121cc2dee8fed94d15fa3785db518e68aa77660ee5f777a91376a5dfb79 [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" "55708121cc2dee8fed94d15fa3785db518e68aa77660ee5f777a91376a5dfb79", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking strum v0.19.5 [INFO] [stderr] Checking bit_reverse v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [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 quote v1.0.7 [INFO] [stderr] Checking num-complex v0.3.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking num v0.3.0 [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: `Cw180`, `Cw270`, `Cw90` [INFO] [stdout] --> src/calculation.rs:4:42 [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: `Cw180`, `Cw270`, `Cw90` [INFO] [stdout] --> src/calculation.rs:4:42 [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: `rotation_count` [INFO] [stdout] --> src/calculation.rs:148:6 [INFO] [stdout] | [INFO] [stdout] 148 | for rotation_count in 0..=( [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotation_count` [INFO] [stdout] --> src/calculation.rs:148:6 [INFO] [stdout] | [INFO] [stdout] 148 | for rotation_count in 0..=( [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotation_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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] 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] 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: 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] 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: 18 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] 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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.41s [INFO] running `Command { std: "docker" "inspect" "55708121cc2dee8fed94d15fa3785db518e68aa77660ee5f777a91376a5dfb79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55708121cc2dee8fed94d15fa3785db518e68aa77660ee5f777a91376a5dfb79", kill_on_drop: false }` [INFO] [stdout] 55708121cc2dee8fed94d15fa3785db518e68aa77660ee5f777a91376a5dfb79