[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#d255c6a57c393db6221b1ff700daea478436f1cd for pr-122317 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylersouthwick%2Frubiks" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tylersouthwick/rubiks on toolchain d255c6a57c393db6221b1ff700daea478436f1cd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d255c6a57c393db6221b1ff700daea478436f1cd" "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-3-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" "+d255c6a57c393db6221b1ff700daea478436f1cd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking tylersouthwick/rubiks against try#1f7553361c08f8eafdc645e09215667278ab86f4 for pr-122317 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylersouthwick%2Frubiks" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tylersouthwick/rubiks on toolchain 1f7553361c08f8eafdc645e09215667278ab86f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7553361c08f8eafdc645e09215667278ab86f4" "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-3-tc2/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" "+1f7553361c08f8eafdc645e09215667278ab86f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking tylersouthwick/rubiks against try#1f7553361c08f8eafdc645e09215667278ab86f4 for pr-122317 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylersouthwick%2Frubiks" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tylersouthwick/rubiks on toolchain 1f7553361c08f8eafdc645e09215667278ab86f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7553361c08f8eafdc645e09215667278ab86f4" "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-3-tc2/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" "+1f7553361c08f8eafdc645e09215667278ab86f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking tylersouthwick/rubiks against try#1f7553361c08f8eafdc645e09215667278ab86f4 for pr-122317 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftylersouthwick%2Frubiks" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tylersouthwick/rubiks on toolchain 1f7553361c08f8eafdc645e09215667278ab86f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7553361c08f8eafdc645e09215667278ab86f4" "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-3-tc2/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" "+1f7553361c08f8eafdc645e09215667278ab86f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1f7553361c08f8eafdc645e09215667278ab86f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a73714ef75dfb8de7c55b86fa3e7c09b525a6ca855a713487798873747002c3f [INFO] running `Command { std: "docker" "start" "-a" "a73714ef75dfb8de7c55b86fa3e7c09b525a6ca855a713487798873747002c3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a73714ef75dfb8de7c55b86fa3e7c09b525a6ca855a713487798873747002c3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a73714ef75dfb8de7c55b86fa3e7c09b525a6ca855a713487798873747002c3f", kill_on_drop: false }` [INFO] [stdout] a73714ef75dfb8de7c55b86fa3e7c09b525a6ca855a713487798873747002c3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1f7553361c08f8eafdc645e09215667278ab86f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f785fa53a90ac91e4dbf0c8c1d62708f0692f359470df5173ba5709f925bcf12 [INFO] running `Command { std: "docker" "start" "-a" "f785fa53a90ac91e4dbf0c8c1d62708f0692f359470df5173ba5709f925bcf12", kill_on_drop: false }` [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking rubiks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ansi_term` is imported redundantly [INFO] [stdout] --> src/terminal_render.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ansi_term; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate ansi_term; [INFO] [stdout] | ----------------------- the item `ansi_term` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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: the item `orient_cube` is imported redundantly [INFO] [stdout] --> src/mover.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 92 | use super::*; [INFO] [stdout] | -------- the item `orient_cube` is already imported here [INFO] [stdout] ... [INFO] [stdout] 95 | use super::orient_cube; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ansi_term` is imported redundantly [INFO] [stdout] --> src/terminal_render.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ansi_term; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate ansi_term; [INFO] [stdout] | ----------------------- the item `ansi_term` is already imported here [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: type alias `Cubie` is never used [INFO] [stdout] --> src/cubies.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | type Cubie = usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Edge` is never used [INFO] [stdout] --> src/cubies.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | type Edge = usize; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CubieCube` is never constructed [INFO] [stdout] --> src/cubies.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct CubieCube { [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: 32 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: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "f785fa53a90ac91e4dbf0c8c1d62708f0692f359470df5173ba5709f925bcf12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f785fa53a90ac91e4dbf0c8c1d62708f0692f359470df5173ba5709f925bcf12", kill_on_drop: false }` [INFO] [stdout] f785fa53a90ac91e4dbf0c8c1d62708f0692f359470df5173ba5709f925bcf12