[INFO] cloning repository https://github.com/DanielEgdal/cube_class_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DanielEgdal/cube_class_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielEgdal%2Fcube_class_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielEgdal%2Fcube_class_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd2d7f99805aa5d248255b495b52862d40be90dd [INFO] building DanielEgdal/cube_class_rs against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielEgdal%2Fcube_class_rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DanielEgdal/cube_class_rs on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DanielEgdal/cube_class_rs [INFO] finished tweaking git repo https://github.com/DanielEgdal/cube_class_rs [INFO] tweaked toml for git repo https://github.com/DanielEgdal/cube_class_rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DanielEgdal/cube_class_rs 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded const_for v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb4e36dcec11dc2d509908cf421de826373e53da954c285cd6d6ed9bf77c2d1b [INFO] running `Command { std: "docker" "start" "-a" "eb4e36dcec11dc2d509908cf421de826373e53da954c285cd6d6ed9bf77c2d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb4e36dcec11dc2d509908cf421de826373e53da954c285cd6d6ed9bf77c2d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb4e36dcec11dc2d509908cf421de826373e53da954c285cd6d6ed9bf77c2d1b", kill_on_drop: false }` [INFO] [stdout] eb4e36dcec11dc2d509908cf421de826373e53da954c285cd6d6ed9bf77c2d1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e71f2c75fa787d7e0483b9675b2ca1dbb8cacc16e3603b70bc69645047f9870 [INFO] running `Command { std: "docker" "start" "-a" "2e71f2c75fa787d7e0483b9675b2ca1dbb8cacc16e3603b70bc69645047f9870", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling const_for v0.1.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rayon v1.8.1 [INFO] [stderr] Compiling cube_class_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/base_cube.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> src/base_cube.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::base_cube` [INFO] [stdout] --> src/cube_bfs.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::base_cube; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `cube_bfs_helper` should have an upper camel case name [INFO] [stdout] --> src/cube_bfs.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct cube_bfs_helper{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CubeBfsHelper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Cube_BFS` should have an upper camel case name [INFO] [stdout] --> src/cube_bfs.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct Cube_BFS { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `CubeBfs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/cube_bfs.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | if (movee < 10 || movee > 20){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - if (movee < 10 || movee > 20){ [INFO] [stdout] 138 + if movee < 10 || movee > 20 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DR_Cube_BFS` should have an upper camel case name [INFO] [stdout] --> src/cube_bfs.rs:372:12 [INFO] [stdout] | [INFO] [stdout] 372 | pub struct DR_Cube_BFS { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DrCubeBfs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/cube_bfs.rs:393:12 [INFO] [stdout] | [INFO] [stdout] 393 | if (movee < 10 || movee > 20){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 393 - if (movee < 10 || movee > 20){ [INFO] [stdout] 393 + if movee < 10 || movee > 20 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::collections::binary_heap::Iter` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rayon::collections::binary_heap::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:82:93 [INFO] [stdout] | [INFO] [stdout] 82 | fn dr_get_random_case_of_len(len: usize, dist: &Vec<(&EOToDRCube, &DR_Cube_BFS)>) -> Result<(String),String>{ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 82 - fn dr_get_random_case_of_len(len: usize, dist: &Vec<(&EOToDRCube, &DR_Cube_BFS)>) -> Result<(String),String>{ [INFO] [stdout] 82 + fn dr_get_random_case_of_len(len: usize, dist: &Vec<(&EOToDRCube, &DR_Cube_BFS)>) -> Result{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | return Ok((DR_Cube_BFS::int_moves_to_str(bfs_res.moves.to_vec()))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 92 - return Ok((DR_Cube_BFS::int_moves_to_str(bfs_res.moves.to_vec()))) [INFO] [stdout] 92 + return Ok(DR_Cube_BFS::int_moves_to_str(bfs_res.moves.to_vec())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cube` [INFO] [stdout] --> src/cube_bfs.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | let mut cube = DRToHTRCube::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cube` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cube_bfs.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let mut cube = DRToHTRCube::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cube` [INFO] [stdout] --> src/cube_bfs.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | let mut cube = DRToHTRCube::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cube` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cube_bfs.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | let mut cube = DRToHTRCube::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cube` [INFO] [stdout] --> src/cube_bfs.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | let mut cube = DRToHTRCube::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cube` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cube_bfs.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | let mut cube = DRToHTRCube::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bfs` [INFO] [stdout] --> src/main.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | .filter(|(cube,bfs)| cube.edges_minus() as usize == *u_edges && cube.corners_minus() as usize== *u_corners) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bfs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | Err(e) => continue, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | Err(e) => continue, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | for i in 0..10{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bfs` [INFO] [stdout] --> src/main.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | .filter(|(cube,bfs)| cube.edges_minus() as usize == *u_edges && cube.corners_minus() as usize== *u_corners) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bfs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chosen` [INFO] [stdout] --> src/main.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some((chosen, bfs_res)) = dist.iter().choose(&mut rand::thread_rng()){ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_chosen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | for i in 0..10{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_dist_subset` is never used [INFO] [stdout] --> src/main.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn get_dist_subset<'a>(u_edges: &'a usize, u_corners: &'a usize, dist: &'a FxHashMap) -> Vec<(&'a DRToHTRCube,&'a C... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_random_case_of_len` is never used [INFO] [stdout] --> src/main.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn get_random_case_of_len(len: usize, dist: &FxHashMap, htr_checker: &FxHashSet) -> Result<(String, St... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_further_selected_case` is never used [INFO] [stdout] --> src/main.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_further_selected_case<'a>(len: usize, qt_len: usize, cases: &Vec<(&DRToHTRCube, &Cube_BFS)>, htr_checker: &FxHashSet)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `htr_practice` is never used [INFO] [stdout] --> src/main.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn htr_practice(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dr_get_dist_subset` is never used [INFO] [stdout] --> src/main.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn dr_get_dist_subset<'a>(u_edges: &'a usize, u_corners: &'a usize, dist: &'a FxHashMap) -> Vec<(&'a EOToDRCube,&... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dr_get_random_case_of_len` is never used [INFO] [stdout] --> src/main.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn dr_get_random_case_of_len(len: usize, dist: &Vec<(&EOToDRCube, &DR_Cube_BFS)>) -> Result<(String),String>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dr_practice` is never used [INFO] [stdout] --> src/main.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn dr_practice(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `do_scramble` is never used [INFO] [stdout] --> src/base_cube.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait BaseCube: Sized { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 321 | fn do_scramble(mut self, scramble:String) -> (Self,Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `construct`, `edges_minus`, and `corners_minus` are never used [INFO] [stdout] --> src/base_cube.rs:417:12 [INFO] [stdout] | [INFO] [stdout] 415 | impl DRToHTRCube{ [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 416 | [INFO] [stdout] 417 | pub fn construct() -> Self { // The way the numbers in new is calculated [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | pub fn edges_minus(self) -> u32{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 445 | pub fn corners_minus(self) -> u32{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `construct`, `edges_minus`, and `corners_minus` are never used [INFO] [stdout] --> src/base_cube.rs:492:12 [INFO] [stdout] | [INFO] [stdout] 490 | impl EOToDRCube{ [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 491 | [INFO] [stdout] 492 | pub fn construct() -> Self { // The way the numbers in new is calculated [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 509 | pub fn edges_minus(self) -> u32{ //TODO [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 514 | pub fn corners_minus(self) -> u32{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `construct` and `un_oriented_edges` are never used [INFO] [stdout] --> src/base_cube.rs:554:12 [INFO] [stdout] | [INFO] [stdout] 552 | impl EOOnlyCube{ [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 553 | [INFO] [stdout] 554 | pub fn construct() -> Self { // The way the numbers in new is calculated [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 561 | pub fn un_oriented_edges(self) -> u32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int_moves_to_str` is never used [INFO] [stdout] --> src/cube_bfs.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn int_moves_to_str(moves:Vec) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invert_moves` is never used [INFO] [stdout] --> src/cube_bfs.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn invert_moves(moves:[u8;20])-> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cube_bfs.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl Cube_BFS{ [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 125 | pub fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn apply_move(mut self, movee:u8) -> Self{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn invert_moves(self)-> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn dr_to_htr_dist() -> FxHashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn dr_to_htr_checker() -> FxHashSet{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn dr_to_htr_fixed_len<'a>(scrambled_cube: DRToHTRCube, htr_checker: &'a FxHashSet, sol_len: usize) -> Result<[u8;20... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | pub fn dr_to_htr_max_len_fixed_qt<'a>(scrambled_cube: DRToHTRCube, htr_checker: &'a FxHashSet, max_len: usize, qt_len: u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | pub fn solve_dr_to_htr<'a>(scrambled_cube: DRToHTRCube, htr_checker: &'a FxHashSet) -> Result<([u8;20],usize),&'a str>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | pub fn int_moves_to_str(moves:Vec) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `apply_move`, `invert_moves`, `int_moves_to_str`, `eo_to_dr_dist`, and `solve_eo_to_dr` are never used [INFO] [stdout] --> src/cube_bfs.rs:380:12 [INFO] [stdout] | [INFO] [stdout] 379 | impl DR_Cube_BFS{ [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 380 | pub fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 389 | pub fn apply_move(mut self, movee:u8) -> Self{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | pub fn invert_moves(self)-> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 417 | pub fn int_moves_to_str(moves:Vec) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 446 | pub fn eo_to_dr_dist() -> FxHashMap { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 486 | pub fn solve_eo_to_dr<'a>(scrambled_cube: EOToDRCube) -> Result<([u8;20],usize),&'a str>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.58s [INFO] running `Command { std: "docker" "inspect" "2e71f2c75fa787d7e0483b9675b2ca1dbb8cacc16e3603b70bc69645047f9870", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e71f2c75fa787d7e0483b9675b2ca1dbb8cacc16e3603b70bc69645047f9870", kill_on_drop: false }` [INFO] [stdout] 2e71f2c75fa787d7e0483b9675b2ca1dbb8cacc16e3603b70bc69645047f9870 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0b8324b5a727084f28fb37b8d525fef3471611dbfd4ab8d24ebb464bd1bb133 [INFO] running `Command { std: "docker" "start" "-a" "e0b8324b5a727084f28fb37b8d525fef3471611dbfd4ab8d24ebb464bd1bb133", kill_on_drop: false }` [INFO] [stderr] Compiling cube_class_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/base_cube.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> src/base_cube.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::base_cube` [INFO] [stdout] --> src/cube_bfs.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::base_cube; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `cube_bfs_helper` should have an upper camel case name [INFO] [stdout] --> src/cube_bfs.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct cube_bfs_helper{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CubeBfsHelper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Cube_BFS` should have an upper camel case name [INFO] [stdout] --> src/cube_bfs.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct Cube_BFS { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `CubeBfs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/cube_bfs.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | if (movee < 10 || movee > 20){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - if (movee < 10 || movee > 20){ [INFO] [stdout] 138 + if movee < 10 || movee > 20 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DR_Cube_BFS` should have an upper camel case name [INFO] [stdout] --> src/cube_bfs.rs:372:12 [INFO] [stdout] | [INFO] [stdout] 372 | pub struct DR_Cube_BFS { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DrCubeBfs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/cube_bfs.rs:393:12 [INFO] [stdout] | [INFO] [stdout] 393 | if (movee < 10 || movee > 20){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 393 - if (movee < 10 || movee > 20){ [INFO] [stdout] 393 + if movee < 10 || movee > 20 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::collections::binary_heap::Iter` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rayon::collections::binary_heap::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:82:93 [INFO] [stdout] | [INFO] [stdout] 82 | fn dr_get_random_case_of_len(len: usize, dist: &Vec<(&EOToDRCube, &DR_Cube_BFS)>) -> Result<(String),String>{ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 82 - fn dr_get_random_case_of_len(len: usize, dist: &Vec<(&EOToDRCube, &DR_Cube_BFS)>) -> Result<(String),String>{ [INFO] [stdout] 82 + fn dr_get_random_case_of_len(len: usize, dist: &Vec<(&EOToDRCube, &DR_Cube_BFS)>) -> Result{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | return Ok((DR_Cube_BFS::int_moves_to_str(bfs_res.moves.to_vec()))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 92 - return Ok((DR_Cube_BFS::int_moves_to_str(bfs_res.moves.to_vec()))) [INFO] [stdout] 92 + return Ok(DR_Cube_BFS::int_moves_to_str(bfs_res.moves.to_vec())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cube` [INFO] [stdout] --> src/cube_bfs.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | let mut cube = DRToHTRCube::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cube` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cube_bfs.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let mut cube = DRToHTRCube::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cube` [INFO] [stdout] --> src/cube_bfs.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | let mut cube = DRToHTRCube::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cube` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cube_bfs.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | let mut cube = DRToHTRCube::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cube` [INFO] [stdout] --> src/cube_bfs.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | let mut cube = DRToHTRCube::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cube` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cube_bfs.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | let mut cube = DRToHTRCube::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bfs` [INFO] [stdout] --> src/main.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | .filter(|(cube,bfs)| cube.edges_minus() as usize == *u_edges && cube.corners_minus() as usize== *u_corners) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bfs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | Err(e) => continue, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | Err(e) => continue, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | for i in 0..10{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bfs` [INFO] [stdout] --> src/main.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | .filter(|(cube,bfs)| cube.edges_minus() as usize == *u_edges && cube.corners_minus() as usize== *u_corners) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bfs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chosen` [INFO] [stdout] --> src/main.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some((chosen, bfs_res)) = dist.iter().choose(&mut rand::thread_rng()){ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_chosen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | for i in 0..10{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_dist_subset` is never used [INFO] [stdout] --> src/main.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn get_dist_subset<'a>(u_edges: &'a usize, u_corners: &'a usize, dist: &'a FxHashMap) -> Vec<(&'a DRToHTRCube,&'a C... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_random_case_of_len` is never used [INFO] [stdout] --> src/main.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn get_random_case_of_len(len: usize, dist: &FxHashMap, htr_checker: &FxHashSet) -> Result<(String, St... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_further_selected_case` is never used [INFO] [stdout] --> src/main.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_further_selected_case<'a>(len: usize, qt_len: usize, cases: &Vec<(&DRToHTRCube, &Cube_BFS)>, htr_checker: &FxHashSet)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `htr_practice` is never used [INFO] [stdout] --> src/main.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn htr_practice(){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dr_get_dist_subset` is never used [INFO] [stdout] --> src/main.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn dr_get_dist_subset<'a>(u_edges: &'a usize, u_corners: &'a usize, dist: &'a FxHashMap) -> Vec<(&'a EOToDRCube,&... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dr_get_random_case_of_len` is never used [INFO] [stdout] --> src/main.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn dr_get_random_case_of_len(len: usize, dist: &Vec<(&EOToDRCube, &DR_Cube_BFS)>) -> Result<(String),String>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dr_practice` is never used [INFO] [stdout] --> src/main.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn dr_practice(){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `do_scramble` is never used [INFO] [stdout] --> src/base_cube.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait BaseCube: Sized { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 321 | fn do_scramble(mut self, scramble:String) -> (Self,Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `construct`, `edges_minus`, and `corners_minus` are never used [INFO] [stdout] --> src/base_cube.rs:417:12 [INFO] [stdout] | [INFO] [stdout] 415 | impl DRToHTRCube{ [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 416 | [INFO] [stdout] 417 | pub fn construct() -> Self { // The way the numbers in new is calculated [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | pub fn edges_minus(self) -> u32{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 445 | pub fn corners_minus(self) -> u32{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `construct`, `edges_minus`, and `corners_minus` are never used [INFO] [stdout] --> src/base_cube.rs:492:12 [INFO] [stdout] | [INFO] [stdout] 490 | impl EOToDRCube{ [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 491 | [INFO] [stdout] 492 | pub fn construct() -> Self { // The way the numbers in new is calculated [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 509 | pub fn edges_minus(self) -> u32{ //TODO [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 514 | pub fn corners_minus(self) -> u32{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `construct` and `un_oriented_edges` are never used [INFO] [stdout] --> src/base_cube.rs:554:12 [INFO] [stdout] | [INFO] [stdout] 552 | impl EOOnlyCube{ [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 553 | [INFO] [stdout] 554 | pub fn construct() -> Self { // The way the numbers in new is calculated [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 561 | pub fn un_oriented_edges(self) -> u32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int_moves_to_str` is never used [INFO] [stdout] --> src/cube_bfs.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn int_moves_to_str(moves:Vec) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `invert_moves` is never used [INFO] [stdout] --> src/cube_bfs.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn invert_moves(moves:[u8;20])-> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cube_bfs.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl Cube_BFS{ [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 125 | pub fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn apply_move(mut self, movee:u8) -> Self{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn invert_moves(self)-> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn dr_to_htr_dist() -> FxHashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn dr_to_htr_checker() -> FxHashSet{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn dr_to_htr_fixed_len<'a>(scrambled_cube: DRToHTRCube, htr_checker: &'a FxHashSet, sol_len: usize) -> Result<[u8;20... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | pub fn dr_to_htr_max_len_fixed_qt<'a>(scrambled_cube: DRToHTRCube, htr_checker: &'a FxHashSet, max_len: usize, qt_len: u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | pub fn solve_dr_to_htr<'a>(scrambled_cube: DRToHTRCube, htr_checker: &'a FxHashSet) -> Result<([u8;20],usize),&'a str>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | pub fn int_moves_to_str(moves:Vec) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `apply_move`, `invert_moves`, `int_moves_to_str`, `eo_to_dr_dist`, and `solve_eo_to_dr` are never used [INFO] [stdout] --> src/cube_bfs.rs:380:12 [INFO] [stdout] | [INFO] [stdout] 379 | impl DR_Cube_BFS{ [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 380 | pub fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 389 | pub fn apply_move(mut self, movee:u8) -> Self{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | pub fn invert_moves(self)-> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 417 | pub fn int_moves_to_str(moves:Vec) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 446 | pub fn eo_to_dr_dist() -> FxHashMap { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 486 | pub fn solve_eo_to_dr<'a>(scrambled_cube: EOToDRCube) -> Result<([u8;20],usize),&'a str>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "e0b8324b5a727084f28fb37b8d525fef3471611dbfd4ab8d24ebb464bd1bb133", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0b8324b5a727084f28fb37b8d525fef3471611dbfd4ab8d24ebb464bd1bb133", kill_on_drop: false }` [INFO] [stdout] e0b8324b5a727084f28fb37b8d525fef3471611dbfd4ab8d24ebb464bd1bb133