[INFO] cloning repository https://github.com/tylersouthwick/rubiks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tylersouthwick/rubiks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylersouthwick%2Frubiks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylersouthwick%2Frubiks'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: index-pack failed [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/tylersouthwick/rubiks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tylersouthwick/rubiks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylersouthwick%2Frubiks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylersouthwick%2Frubiks'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylersouthwick%2Frubiks/refs/tags: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/tylersouthwick/rubiks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tylersouthwick/rubiks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylersouthwick%2Frubiks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylersouthwick%2Frubiks'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylersouthwick%2Frubiks/refs/tags: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/tylersouthwick/rubiks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tylersouthwick/rubiks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylersouthwick%2Frubiks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylersouthwick%2Frubiks'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylersouthwick%2Frubiks/refs/tags: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/tylersouthwick/rubiks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tylersouthwick/rubiks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylersouthwick%2Frubiks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylersouthwick%2Frubiks'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylersouthwick%2Frubiks/refs: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/tylersouthwick/rubiks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tylersouthwick/rubiks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylersouthwick%2Frubiks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylersouthwick%2Frubiks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 041e513d83b482d777e06d3ab9d44b00d17f115b [INFO] checking tylersouthwick/rubiks against master#fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6 for pr-120361 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylersouthwick%2Frubiks" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tylersouthwick/rubiks on toolchain fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tylersouthwick/rubiks [INFO] finished tweaking git repo https://github.com/tylersouthwick/rubiks [INFO] tweaked toml for git repo https://github.com/tylersouthwick/rubiks written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tylersouthwick/rubiks 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" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eae8dadcbbf6ac454625ca876fedecb20a3f43824e42869ac2d57eeadf102baf [INFO] running `Command { std: "docker" "start" "-a" "eae8dadcbbf6ac454625ca876fedecb20a3f43824e42869ac2d57eeadf102baf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eae8dadcbbf6ac454625ca876fedecb20a3f43824e42869ac2d57eeadf102baf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eae8dadcbbf6ac454625ca876fedecb20a3f43824e42869ac2d57eeadf102baf", kill_on_drop: false }` [INFO] [stdout] eae8dadcbbf6ac454625ca876fedecb20a3f43824e42869ac2d57eeadf102baf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 680dd1c71f70458bfde8c15e20f912786cb63ba7b151c0e28f7d49a39c714a93 [INFO] running `Command { std: "docker" "start" "-a" "680dd1c71f70458bfde8c15e20f912786cb63ba7b151c0e28f7d49a39c714a93", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking rubiks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `moveseq` should have an upper camel case name [INFO] [stdout] --> src/cubies.rs:268:6 [INFO] [stdout] | [INFO] [stdout] 268 | type moveseq = Vec; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Moveseq` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `moveseq` should have an upper camel case name [INFO] [stdout] --> src/cubies.rs:268:6 [INFO] [stdout] | [INFO] [stdout] 268 | type moveseq = Vec; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Moveseq` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/cubies.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let t = self.edges[d]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/cubies.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let t = self.cubies[d]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RIGHT`, `LEFT`, `DOWN`, and `UP` are never constructed [INFO] [stdout] --> src/cube.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum RotationDirection { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 58 | RIGHT, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 59 | LEFT, [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | DOWN, [INFO] [stdout] | ^^^^ [INFO] [stdout] 61 | UP, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `RotationDirection` has derived impls for the traits `Debug` and `Clone`, 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: multiple associated items are never used [INFO] [stdout] --> src/array_cube.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl Cube { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn random() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn rotate_left(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn rotate_right(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub fn move_f(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | pub fn move_fi(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | pub fn move_ui(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | pub fn move_u(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn move_di(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn move_d(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 475 | pub fn move_li(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 571 | pub fn move_ri(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 601 | pub fn find_face_color(self, face_orientation : FaceOrientation) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `M` is never used [INFO] [stdout] --> src/cubies.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const M : u8= 48; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Twist` is never used [INFO] [stdout] --> src/cubies.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type Twist = u8; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_TWIST` is never used [INFO] [stdout] --> src/cubies.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const NO_TWIST : Twist = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLOCKWISE` is never used [INFO] [stdout] --> src/cubies.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const CLOCKWISE : Twist = 1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COUNTER_CLOCKWISE` is never used [INFO] [stdout] --> src/cubies.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const COUNTER_CLOCKWISE : Twist = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `faces` is never used [INFO] [stdout] --> src/cubies.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const faces : [char ; FACES] = ['U','F','R','D','B','L']; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `identity`, `invert_into`, `edge4flip`, `corner4flip`, and `movepc` are never used [INFO] [stdout] --> src/cubies.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl CubieCube { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 41 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | fn identity() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn invert_into(self, dst : &mut CubieCube) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn edge4flip(&mut self, a : usize, b : usize, c : usize, d : usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn corner4flip(&mut self, a : usize, b : usize, c : usize, d : usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn movepc(&mut self, mov : usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mul` is never used [INFO] [stdout] --> src/cubies.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn mul(a : &CubieCube, b : &CubieCube, r : &mut CubieCube) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rot2` is never used [INFO] [stdout] --> src/cubies.rs:205:4 [INFO] [stdout] | [INFO] [stdout] 205 | fn rot2(cc : &mut [usize], a : usize, b : usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rot4` is never used [INFO] [stdout] --> src/cubies.rs:211:4 [INFO] [stdout] | [INFO] [stdout] 211 | fn rot4(cc : &mut [usize], a : usize, b : usize, c : usize, d : usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rot22` is never used [INFO] [stdout] --> src/cubies.rs:218:4 [INFO] [stdout] | [INFO] [stdout] 218 | fn rot22(cc : &mut [usize], a : usize, b : usize, c : usize, d : usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `edge_perm` is never used [INFO] [stdout] --> src/cubies.rs:223:4 [INFO] [stdout] | [INFO] [stdout] 223 | fn edge_perm(cubieval : usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `edge_ori` is never used [INFO] [stdout] --> src/cubies.rs:227:4 [INFO] [stdout] | [INFO] [stdout] 227 | fn edge_ori(cubieval : usize) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `edge_flip` is never used [INFO] [stdout] --> src/cubies.rs:236:4 [INFO] [stdout] | [INFO] [stdout] 236 | fn edge_flip(cubieval : usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `edge_ori_add` is never used [INFO] [stdout] --> src/cubies.rs:245:4 [INFO] [stdout] | [INFO] [stdout] 245 | fn edge_ori_add(cv1 : usize, cv2 : usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `corner_ori_sub` is never used [INFO] [stdout] --> src/cubies.rs:248:4 [INFO] [stdout] | [INFO] [stdout] 248 | fn corner_ori_sub(cv1 : usize, cv2 : usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `corner_ori_add` is never used [INFO] [stdout] --> src/cubies.rs:251:4 [INFO] [stdout] | [INFO] [stdout] 251 | fn corner_ori_add(cv1 : usize, cv2 : usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/cubies.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 255 | struct CubieData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 256 | corner_ori_inc : [usize ; CUBIES], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 257 | corner_ori_dec : [usize ; CUBIES], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 258 | corner_ori_neg_strip : [usize ; CUBIES], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 259 | mod24 : [usize ; 2 * CUBIES], [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | edge_trans : [[usize ; CUBIES] ; NMOVES], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 264 | corner_trans : [[usize ; CUBIES] ; NMOVES], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 265 | inv_move : [usize; NMOVES], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `moveseq` is never used [INFO] [stdout] --> src/cubies.rs:268:6 [INFO] [stdout] | [INFO] [stdout] 268 | type moveseq = Vec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `invert_sequence` is never used [INFO] [stdout] --> src/cubies.rs:362:8 [INFO] [stdout] | [INFO] [stdout] 361 | impl CubieData { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 362 | fn invert_sequence(self, seq : moveseq) -> moveseq { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `faces` should have an upper case name [INFO] [stdout] --> src/cubies.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const faces : [char ; FACES] = ['U','F','R','D','B','L']; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `FACES` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `cubie_data` should have an upper case name [INFO] [stdout] --> src/cubies.rs:202:16 [INFO] [stdout] | [INFO] [stdout] 202 | static ref cubie_data : CubieData = CubieData::new(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `CUBIE_DATA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/cubies.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 323 | if m < 0 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/cubies.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let t = self.edges[d]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/cubies.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let t = self.cubies[d]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/cubies.rs:392:17 [INFO] [stdout] | [INFO] [stdout] 392 | for j in 0..4 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/cubies.rs:403:17 [INFO] [stdout] | [INFO] [stdout] 403 | for j in 0..4 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RIGHT`, `LEFT`, `DOWN`, and `UP` are never constructed [INFO] [stdout] --> src/cube.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum RotationDirection { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 58 | RIGHT, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 59 | LEFT, [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | DOWN, [INFO] [stdout] | ^^^^ [INFO] [stdout] 61 | UP, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `RotationDirection` has derived impls for the traits `Debug` and `Clone`, 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: associated items `random` and `rotate_left` are never used [INFO] [stdout] --> src/array_cube.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl Cube { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn random() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn rotate_left(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `M` is never used [INFO] [stdout] --> src/cubies.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const M : u8= 48; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Twist` is never used [INFO] [stdout] --> src/cubies.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type Twist = u8; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_TWIST` is never used [INFO] [stdout] --> src/cubies.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const NO_TWIST : Twist = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLOCKWISE` is never used [INFO] [stdout] --> src/cubies.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const CLOCKWISE : Twist = 1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COUNTER_CLOCKWISE` is never used [INFO] [stdout] --> src/cubies.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const COUNTER_CLOCKWISE : Twist = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `faces` is never used [INFO] [stdout] --> src/cubies.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const faces : [char ; FACES] = ['U','F','R','D','B','L']; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `invert_into` is never used [INFO] [stdout] --> src/cubies.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl CubieCube { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | fn invert_into(self, dst : &mut CubieCube) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mul` is never used [INFO] [stdout] --> src/cubies.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 190 | fn mul(a : &CubieCube, b : &CubieCube, r : &mut CubieCube) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `edge_perm` is never used [INFO] [stdout] --> src/cubies.rs:223:4 [INFO] [stdout] | [INFO] [stdout] 223 | fn edge_perm(cubieval : usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `edge_ori` is never used [INFO] [stdout] --> src/cubies.rs:227:4 [INFO] [stdout] | [INFO] [stdout] 227 | fn edge_ori(cubieval : usize) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `edge_ori_add` is never used [INFO] [stdout] --> src/cubies.rs:245:4 [INFO] [stdout] | [INFO] [stdout] 245 | fn edge_ori_add(cv1 : usize, cv2 : usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `corner_ori_sub` is never used [INFO] [stdout] --> src/cubies.rs:248:4 [INFO] [stdout] | [INFO] [stdout] 248 | fn corner_ori_sub(cv1 : usize, cv2 : usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `corner_ori_add` is never used [INFO] [stdout] --> src/cubies.rs:251:4 [INFO] [stdout] | [INFO] [stdout] 251 | fn corner_ori_add(cv1 : usize, cv2 : usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `corner_ori_neg_strip`, `mod24`, and `inv_move` are never read [INFO] [stdout] --> src/cubies.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 255 | struct CubieData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 258 | corner_ori_neg_strip : [usize ; CUBIES], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 259 | mod24 : [usize ; 2 * CUBIES], [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | inv_move : [usize; NMOVES], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `moveseq` is never used [INFO] [stdout] --> src/cubies.rs:268:6 [INFO] [stdout] | [INFO] [stdout] 268 | type moveseq = Vec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `invert_sequence` is never used [INFO] [stdout] --> src/cubies.rs:362:8 [INFO] [stdout] | [INFO] [stdout] 361 | impl CubieData { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 362 | fn invert_sequence(self, seq : moveseq) -> moveseq { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `faces` should have an upper case name [INFO] [stdout] --> src/cubies.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const faces : [char ; FACES] = ['U','F','R','D','B','L']; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `FACES` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `cubie_data` should have an upper case name [INFO] [stdout] --> src/cubies.rs:202:16 [INFO] [stdout] | [INFO] [stdout] 202 | static ref cubie_data : CubieData = CubieData::new(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `CUBIE_DATA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/cubies.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 323 | if m < 0 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "680dd1c71f70458bfde8c15e20f912786cb63ba7b151c0e28f7d49a39c714a93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "680dd1c71f70458bfde8c15e20f912786cb63ba7b151c0e28f7d49a39c714a93", kill_on_drop: false }` [INFO] [stdout] 680dd1c71f70458bfde8c15e20f912786cb63ba7b151c0e28f7d49a39c714a93