[INFO] cloning repository https://github.com/bobrekjiri/rubic_cube_solver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bobrekjiri/rubic_cube_solver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbobrekjiri%2Frubic_cube_solver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbobrekjiri%2Frubic_cube_solver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d55d32d0c8a9a50b332f67863dfa289ba32e5ec0 [INFO] checking bobrekjiri/rubic_cube_solver against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbobrekjiri%2Frubic_cube_solver" "/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/bobrekjiri/rubic_cube_solver on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bobrekjiri/rubic_cube_solver [INFO] finished tweaking git repo https://github.com/bobrekjiri/rubic_cube_solver [INFO] tweaked toml for git repo https://github.com/bobrekjiri/rubic_cube_solver written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/bobrekjiri/rubic_cube_solver already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--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-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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21b0a4cb99ce08896619abc4471a1c472d305748bf210d01056f0081e7165523 [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" "21b0a4cb99ce08896619abc4471a1c472d305748bf210d01056f0081e7165523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21b0a4cb99ce08896619abc4471a1c472d305748bf210d01056f0081e7165523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21b0a4cb99ce08896619abc4471a1c472d305748bf210d01056f0081e7165523", kill_on_drop: false }` [INFO] [stdout] 21b0a4cb99ce08896619abc4471a1c472d305748bf210d01056f0081e7165523 [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f62465b55a350c776af99a85c3f2a0c75c20f2e61e496e7bd2257fe3aae4bc66 [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" "f62465b55a350c776af99a85c3f2a0c75c20f2e61e496e7bd2257fe3aae4bc66", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking thread-id v3.0.0 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking regex v0.2.1 [INFO] [stderr] Checking rubic_cube_solver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/rubic_cube.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | / lazy_static! { [INFO] [stdout] 179 | | static ref RE: regex::Regex = regex::Regex::new("([RLUDFB]i{0,1})+").unwrap(); [INFO] [stdout] 180 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/rubic_cube.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | / lazy_static! { [INFO] [stdout] 179 | | static ref RE: regex::Regex = regex::Regex::new("([RLUDFB]i{0,1})+").unwrap(); [INFO] [stdout] 180 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pointers` is never read [INFO] [stdout] --> src/side.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut pointers = (0,0,0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rubic_cube.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | for i in 0..moves { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/rubic_cube.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | / lazy_static! { [INFO] [stdout] 179 | | static ref RE: regex::Regex = regex::Regex::new("([RLUDFB]i{0,1})+").unwrap(); [INFO] [stdout] 180 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/rubic_cube.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | / lazy_static! { [INFO] [stdout] 179 | | static ref RE: regex::Regex = regex::Regex::new("([RLUDFB]i{0,1})+").unwrap(); [INFO] [stdout] 180 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Top` [INFO] [stdout] --> src/side.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Top, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Left` [INFO] [stdout] --> src/side.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Front` [INFO] [stdout] --> src/side.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Front, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Right` [INFO] [stdout] --> src/side.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Back` [INFO] [stdout] --> src/side.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Back, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bottom` [INFO] [stdout] --> src/side.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Bottom [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Top` [INFO] [stdout] --> src/side.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Top, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Left` [INFO] [stdout] --> src/side.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Right` [INFO] [stdout] --> src/side.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bottom` [INFO] [stdout] --> src/side.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Bottom [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Side` [INFO] [stdout] --> src/side.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Side { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/side.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(position: Sides, colors: [char; 9]) -> Side { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_side` [INFO] [stdout] --> src/side.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn print_side(&self, indentation: &String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_row` [INFO] [stdout] --> src/side.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn print_row(&self, indentation: &String, row: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_edge` [INFO] [stdout] --> src/side.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_edge(&self, edge: Edges) -> (char,char,char) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_edge` [INFO] [stdout] --> src/side.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn set_edge(&self, edge: Edges, new_edge: (char,char,char), inverse: bool) -> Side { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transform` [INFO] [stdout] --> src/side.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn transform(&self,clockwise: bool) -> Side { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RubicCube` [INFO] [stdout] --> src/rubic_cube.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RubicCube { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/rubic_cube.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_r_l` [INFO] [stdout] --> src/rubic_cube.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn rotate_r_l(&mut self, inverse: bool, edge: side::Edges) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_left` [INFO] [stdout] --> src/rubic_cube.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn rotate_left(&mut self, inverse: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_right` [INFO] [stdout] --> src/rubic_cube.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn rotate_right(&mut self, inverse: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_f` [INFO] [stdout] --> src/rubic_cube.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn rotate_f(&mut self, inverse: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_b` [INFO] [stdout] --> src/rubic_cube.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | fn rotate_b(&mut self, inverse: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_front` [INFO] [stdout] --> src/rubic_cube.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn rotate_front(&mut self, inverse: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_back` [INFO] [stdout] --> src/rubic_cube.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn rotate_back(&mut self, inverse: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_u_d` [INFO] [stdout] --> src/rubic_cube.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | fn rotate_u_d(&mut self, inverse: bool, edge: side::Edges) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_up` [INFO] [stdout] --> src/rubic_cube.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn rotate_up(&mut self, inverse: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_down` [INFO] [stdout] --> src/rubic_cube.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn rotate_down(&mut self, inverse: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `verify_command` [INFO] [stdout] --> src/rubic_cube.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | fn verify_command(text: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute` [INFO] [stdout] --> src/rubic_cube.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn execute(&mut self, command: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shuffle` [INFO] [stdout] --> src/rubic_cube.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn shuffle(&mut self, moves: i64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cube_test` [INFO] [stdout] --> src/rubic_cube.rs:248:4 [INFO] [stdout] | [INFO] [stdout] 248 | fn cube_test() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rotate_test` [INFO] [stdout] --> src/rubic_cube.rs:263:4 [INFO] [stdout] | [INFO] [stdout] 263 | fn rotate_test() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute_test` [INFO] [stdout] --> src/rubic_cube.rs:313:4 [INFO] [stdout] | [INFO] [stdout] 313 | fn execute_test() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shuffle_test` [INFO] [stdout] --> src/rubic_cube.rs:330:4 [INFO] [stdout] | [INFO] [stdout] 330 | fn shuffle_test() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pointers` is never read [INFO] [stdout] --> src/side.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut pointers = (0,0,0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rubic_cube.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | for i in 0..moves { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Top` [INFO] [stdout] --> src/side.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Top, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Left` [INFO] [stdout] --> src/side.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Front` [INFO] [stdout] --> src/side.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Front, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Right` [INFO] [stdout] --> src/side.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Back` [INFO] [stdout] --> src/side.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Back, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bottom` [INFO] [stdout] --> src/side.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Bottom [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Top` [INFO] [stdout] --> src/side.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Top, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Left` [INFO] [stdout] --> src/side.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Right` [INFO] [stdout] --> src/side.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bottom` [INFO] [stdout] --> src/side.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Bottom [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Side` [INFO] [stdout] --> src/side.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Side { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/side.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(position: Sides, colors: [char; 9]) -> Side { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_side` [INFO] [stdout] --> src/side.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn print_side(&self, indentation: &String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_row` [INFO] [stdout] --> src/side.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn print_row(&self, indentation: &String, row: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_edge` [INFO] [stdout] --> src/side.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_edge(&self, edge: Edges) -> (char,char,char) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_edge` [INFO] [stdout] --> src/side.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn set_edge(&self, edge: Edges, new_edge: (char,char,char), inverse: bool) -> Side { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transform` [INFO] [stdout] --> src/side.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn transform(&self,clockwise: bool) -> Side { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RubicCube` [INFO] [stdout] --> src/rubic_cube.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RubicCube { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/rubic_cube.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_r_l` [INFO] [stdout] --> src/rubic_cube.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn rotate_r_l(&mut self, inverse: bool, edge: side::Edges) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_left` [INFO] [stdout] --> src/rubic_cube.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn rotate_left(&mut self, inverse: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_right` [INFO] [stdout] --> src/rubic_cube.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn rotate_right(&mut self, inverse: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_f` [INFO] [stdout] --> src/rubic_cube.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn rotate_f(&mut self, inverse: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_b` [INFO] [stdout] --> src/rubic_cube.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | fn rotate_b(&mut self, inverse: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_front` [INFO] [stdout] --> src/rubic_cube.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn rotate_front(&mut self, inverse: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_back` [INFO] [stdout] --> src/rubic_cube.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn rotate_back(&mut self, inverse: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_u_d` [INFO] [stdout] --> src/rubic_cube.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | fn rotate_u_d(&mut self, inverse: bool, edge: side::Edges) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_up` [INFO] [stdout] --> src/rubic_cube.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn rotate_up(&mut self, inverse: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_down` [INFO] [stdout] --> src/rubic_cube.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn rotate_down(&mut self, inverse: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `verify_command` [INFO] [stdout] --> src/rubic_cube.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | fn verify_command(text: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute` [INFO] [stdout] --> src/rubic_cube.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn execute(&mut self, command: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shuffle` [INFO] [stdout] --> src/rubic_cube.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn shuffle(&mut self, moves: i64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cube_test` [INFO] [stdout] --> src/rubic_cube.rs:248:4 [INFO] [stdout] | [INFO] [stdout] 248 | fn cube_test() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rotate_test` [INFO] [stdout] --> src/rubic_cube.rs:263:4 [INFO] [stdout] | [INFO] [stdout] 263 | fn rotate_test() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `execute_test` [INFO] [stdout] --> src/rubic_cube.rs:313:4 [INFO] [stdout] | [INFO] [stdout] 313 | fn execute_test() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shuffle_test` [INFO] [stdout] --> src/rubic_cube.rs:330:4 [INFO] [stdout] | [INFO] [stdout] 330 | fn shuffle_test() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.64s [INFO] running `Command { std: "docker" "inspect" "f62465b55a350c776af99a85c3f2a0c75c20f2e61e496e7bd2257fe3aae4bc66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f62465b55a350c776af99a85c3f2a0c75c20f2e61e496e7bd2257fe3aae4bc66", kill_on_drop: false }` [INFO] [stdout] f62465b55a350c776af99a85c3f2a0c75c20f2e61e496e7bd2257fe3aae4bc66