[INFO] cloning repository https://github.com/Hfalcon13/rubics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hfalcon13/rubics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHfalcon13%2Frubics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHfalcon13%2Frubics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 258bd0911cab7ff417da48d3cc92714f49d84cf6 [INFO] testing Hfalcon13/rubics/258bd0911cab7ff417da48d3cc92714f49d84cf6 against beta-2024-10-19 for beta-1.83-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHfalcon13%2Frubics" "/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/Hfalcon13/rubics on toolchain beta-2024-10-19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Hfalcon13/rubics [INFO] finished tweaking git repo https://github.com/Hfalcon13/rubics [INFO] tweaked toml for git repo https://github.com/Hfalcon13/rubics written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Hfalcon13/rubics 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" "+beta-2024-10-19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 290f7ebd1cc6fefcdf7c2ca678b81da99144c8bbcb2826733747dcd3abf4d578 [INFO] running `Command { std: "docker" "start" "-a" "290f7ebd1cc6fefcdf7c2ca678b81da99144c8bbcb2826733747dcd3abf4d578", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "290f7ebd1cc6fefcdf7c2ca678b81da99144c8bbcb2826733747dcd3abf4d578", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "290f7ebd1cc6fefcdf7c2ca678b81da99144c8bbcb2826733747dcd3abf4d578", kill_on_drop: false }` [INFO] [stdout] 290f7ebd1cc6fefcdf7c2ca678b81da99144c8bbcb2826733747dcd3abf4d578 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0995b62e4320012db57fbd8987c53d8c10363bc8075f47a0ba1a06581c9761ca [INFO] running `Command { std: "docker" "start" "-a" "0995b62e4320012db57fbd8987c53d8c10363bc8075f47a0ba1a06581c9761ca", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.56 [INFO] [stderr] Compiling libc v0.2.142 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling wide v0.7.8 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling nalgebra-macros v0.2.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling nalgebra v0.32.2 [INFO] [stderr] Compiling rubics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RowDVector`, `RowVector`, and `Vector6` [INFO] [stdout] --> src/cube333.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::{ArrayStorage, Matrix, RowDVector, RowVector, Vector, Vector6, U1, U54}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color as C` and `Conversions` [INFO] [stdout] --> src/cube333.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::colors::{Color as C, Conversions}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cube111.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | for i in 0..n { [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: associated items `scrambled` and `solve` are never used [INFO] [stdout] --> src/cube111.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl Cube111 { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn scrambled() -> Cube111 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn solve(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `index_of` is never used [INFO] [stdout] --> src/m_gen.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn index_of(v: &DVector, e: i32) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `my_apply` is never used [INFO] [stdout] --> src/m_gen.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn my_apply(v: &DVector, f: F) -> DVector [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `contains_only_unque` is never used [INFO] [stdout] --> src/m_gen.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn contains_only_unque(v: &DVector) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mgen` is never used [INFO] [stdout] --> src/m_gen.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn mgen(a: &DVector, b: &DVector) -> DMatrix { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vector54` is never used [INFO] [stdout] --> src/cube333.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type Vector54 = Vector>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cube333` is never constructed [INFO] [stdout] --> src/cube333.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Cube333 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `r` are never used [INFO] [stdout] --> src/cube333.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Cube333 { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn r(&self) -> Self { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/colors.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Copy, FromPrimitive, Debug, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Color` [INFO] [stdout] 6 | pub enum Color { [INFO] [stdout] | ----- `Color` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getFunByNum` should have a snake case name [INFO] [stdout] --> src/cube111.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn getFunByNum(n: u8) -> fn(&Cube111) -> Cube111 { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_fun_by_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isSolved` should have a snake case name [INFO] [stdout] --> src/cube111.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn isSolved(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `is_solved` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.92s [INFO] running `Command { std: "docker" "inspect" "0995b62e4320012db57fbd8987c53d8c10363bc8075f47a0ba1a06581c9761ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0995b62e4320012db57fbd8987c53d8c10363bc8075f47a0ba1a06581c9761ca", kill_on_drop: false }` [INFO] [stdout] 0995b62e4320012db57fbd8987c53d8c10363bc8075f47a0ba1a06581c9761ca [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9296e0fc5579e7e12b0e9db97c6568640ce11f20ed4e3b5c0a046b0d12e1be33 [INFO] running `Command { std: "docker" "start" "-a" "9296e0fc5579e7e12b0e9db97c6568640ce11f20ed4e3b5c0a046b0d12e1be33", kill_on_drop: false }` [INFO] [stderr] Compiling rubics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RowDVector`, `RowVector`, and `Vector6` [INFO] [stdout] --> src/cube333.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::{ArrayStorage, Matrix, RowDVector, RowVector, Vector, Vector6, U1, U54}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color as C` and `Conversions` [INFO] [stdout] --> src/cube333.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::colors::{Color as C, Conversions}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cube111.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | for i in 0..n { [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: type alias `Vector54` is never used [INFO] [stdout] --> src/cube333.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type Vector54 = Vector>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cube333` is never constructed [INFO] [stdout] --> src/cube333.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Cube333 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `r` are never used [INFO] [stdout] --> src/cube333.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Cube333 { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn r(&self) -> Self { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/colors.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Copy, FromPrimitive, Debug, PartialEq)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Color` [INFO] [stdout] 6 | pub enum Color { [INFO] [stdout] | ----- `Color` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getFunByNum` should have a snake case name [INFO] [stdout] --> src/cube111.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn getFunByNum(n: u8) -> fn(&Cube111) -> Cube111 { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_fun_by_num` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isSolved` should have a snake case name [INFO] [stdout] --> src/cube111.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn isSolved(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `is_solved` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "9296e0fc5579e7e12b0e9db97c6568640ce11f20ed4e3b5c0a046b0d12e1be33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9296e0fc5579e7e12b0e9db97c6568640ce11f20ed4e3b5c0a046b0d12e1be33", kill_on_drop: false }` [INFO] [stdout] 9296e0fc5579e7e12b0e9db97c6568640ce11f20ed4e3b5c0a046b0d12e1be33 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 076a341db788d7a839cf854226c2b21afac39d75cbd844c8ec7b3daaed03558f [INFO] running `Command { std: "docker" "start" "-a" "076a341db788d7a839cf854226c2b21afac39d75cbd844c8ec7b3daaed03558f", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `RowDVector`, `RowVector`, and `Vector6` [INFO] [stderr] --> src/cube333.rs:1:38 [INFO] [stderr] | [INFO] [stderr] 1 | use nalgebra::{ArrayStorage, Matrix, RowDVector, RowVector, Vector, Vector6, U1, U54}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Color as C` and `Conversions` [INFO] [stderr] --> src/cube333.rs:3:21 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::colors::{Color as C, Conversions}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/cube111.rs:103:13 [INFO] [stderr] | [INFO] [stderr] 103 | for i in 0..n { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias `Vector54` is never used [INFO] [stderr] --> src/cube333.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | pub type Vector54 = Vector>; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Cube333` is never constructed [INFO] [stderr] --> src/cube333.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | struct Cube333 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `r` are never used [INFO] [stderr] --> src/cube333.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl Cube333 { [INFO] [stderr] | ------------ associated items in this implementation [INFO] [stderr] 12 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | pub fn r(&self) -> Self { [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/colors.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Clone, Copy, FromPrimitive, Debug, PartialEq)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Color` [INFO] [stderr] 6 | pub enum Color { [INFO] [stderr] | ----- `Color` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: method `getFunByNum` should have a snake case name [INFO] [stderr] --> src/cube111.rs:83:12 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn getFunByNum(n: u8) -> fn(&Cube111) -> Cube111 { [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_fun_by_num` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `isSolved` should have a snake case name [INFO] [stderr] --> src/cube111.rs:110:12 [INFO] [stderr] | [INFO] [stderr] 110 | pub fn isSolved(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `is_solved` [INFO] [stderr] [INFO] [stderr] warning: `rubics` (bin "rubics" test) generated 9 warnings (run `cargo fix --bin "rubics" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rubics-947c7ca8f40e6a05) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test tests::cube111_test ... ok [INFO] [stdout] test tests::test_get_fun_by_num ... ok [INFO] [stdout] test tests::m_gen_costom_test ... ok [INFO] [stdout] test tests::test_is_solved ... ok [INFO] [stdout] test tests::test_mgen ... ok [INFO] [stdout] test tests::test_scrambled ... ok [INFO] [stdout] test tests::test_mgen_invalid_permutation - should panic ... ok [INFO] [stdout] test tests::test_mgen_different_sizes - should panic ... ok [INFO] [stdout] test tests::test_solve ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_solve stdout ---- [INFO] [stdout] thread 'tests::test_solve' panicked at src/main.rs:171:9: [INFO] [stdout] assertion failed: c.isSolved() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5c6e153033aa - std::backtrace_rs::backtrace::libunwind::trace::h4d70d1fc3f387ba0 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5c6e153033aa - std::backtrace_rs::backtrace::trace_unsynchronized::h36ec8598f89aa10d [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5c6e153033aa - std::sys::backtrace::_print_fmt::h28554e34eddafd0e [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c6e153033aa - ::fmt::hcfddd6c618da2362 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c6e15329533 - core::fmt::rt::Argument::fmt::h61c6663ef797a8d8 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5c6e15329533 - core::fmt::write::hd107f06dbaee3bcd [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/fmt/mod.rs:1186:21 [INFO] [stdout] 6: 0x5c6e153006a3 - std::io::Write::write_fmt::he91cdb71d5735485 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/io/mod.rs:1839:15 [INFO] [stdout] 7: 0x5c6e153031f2 - std::sys::backtrace::BacktraceLock::print::h0aaa3c788fc54962 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5c6e1530480a - std::panicking::default_hook::{{closure}}::ha21be3bf10424d59 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:268:22 [INFO] [stdout] 9: 0x5c6e15304614 - std::panicking::default_hook::h7c625ca31e6655f8 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:292:9 [INFO] [stdout] 10: 0x5c6e15269059 - as core::ops::function::Fn>::call::h27e62728b51ac345 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/alloc/src/boxed.rs:2468:9 [INFO] [stdout] 11: 0x5c6e15269059 - test::test_main::{{closure}}::hbed48e9da271eb2d [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:133:21 [INFO] [stdout] 12: 0x5c6e15304ea8 - as core::ops::function::Fn>::call::hd23f1b4f57a7d85e [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/alloc/src/boxed.rs:2468:9 [INFO] [stdout] 13: 0x5c6e15304ea8 - std::panicking::rust_panic_with_hook::h4dfaea2b0d4c7530 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:809:13 [INFO] [stdout] 14: 0x5c6e15304c36 - std::panicking::begin_panic_handler::{{closure}}::hb745add2af2f30cf [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:667:13 [INFO] [stdout] 15: 0x5c6e15303889 - std::sys::backtrace::__rust_end_short_backtrace::h06673da104b2a94d [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x5c6e153048fc - rust_begin_unwind [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:665:5 [INFO] [stdout] 17: 0x5c6e15219fe0 - core::panicking::panic_fmt::h7e8d81c8d715d530 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/panicking.rs:74:14 [INFO] [stdout] 18: 0x5c6e1521a06c - core::panicking::panic::ha86cde2954c97b99 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/panicking.rs:148:5 [INFO] [stdout] 19: 0x5c6e1522622e - rubics::tests::test_solve::h28ce4decebca5f7e [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:171:9 [INFO] [stdout] 20: 0x5c6e152261b7 - rubics::tests::test_solve::{{closure}}::ha41b4383fff3cddd [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:168:20 [INFO] [stdout] 21: 0x5c6e152222d6 - core::ops::function::FnOnce::call_once::h3544dc64adf630ed [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 22: 0x5c6e1526d94b - core::ops::function::FnOnce::call_once::h5ce2090d0ba06760 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5c6e1526d94b - test::__rust_begin_short_backtrace::h49e973657dd86077 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:621:18 [INFO] [stdout] 24: 0x5c6e1526d217 - test::run_test_in_process::{{closure}}::hb4c111032eacbf3c [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:644:60 [INFO] [stdout] 25: 0x5c6e1526d217 - as core::ops::function::FnOnce<()>>::call_once::hc84870afebfce019 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 26: 0x5c6e1526d217 - std::panicking::try::do_call::hce598b5d1a04cf08 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:557:40 [INFO] [stdout] 27: 0x5c6e1526d217 - std::panicking::try::h25a7aea9d63b441f [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:520:19 [INFO] [stdout] 28: 0x5c6e1526d217 - std::panic::catch_unwind::h4b12b06a11af50d2 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panic.rs:358:14 [INFO] [stdout] 29: 0x5c6e1526d217 - test::run_test_in_process::hd69883821bd30381 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:644:27 [INFO] [stdout] 30: 0x5c6e1526d217 - test::run_test::{{closure}}::he160a756db6d8677 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:565:43 [INFO] [stdout] 31: 0x5c6e15232444 - test::run_test::{{closure}}::h2e90a3191e3e0ce0 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:595:41 [INFO] [stdout] 32: 0x5c6e15232444 - std::sys::backtrace::__rust_begin_short_backtrace::he01c960b1833637c [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 33: 0x5c6e15235bae - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h30b75746266698d7 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/thread/mod.rs:538:17 [INFO] [stdout] 34: 0x5c6e15235bae - as core::ops::function::FnOnce<()>>::call_once::h6a5dff2677e9a6c5 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 35: 0x5c6e15235bae - std::panicking::try::do_call::h5e069e9a53dd16f8 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:557:40 [INFO] [stdout] 36: 0x5c6e15235bae - std::panicking::try::h0f789115e2be34bc [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:520:19 [INFO] [stdout] 37: 0x5c6e15235bae - std::panic::catch_unwind::h5caa505f99ba7d23 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panic.rs:358:14 [INFO] [stdout] 38: 0x5c6e15235bae - std::thread::Builder::spawn_unchecked_::{{closure}}::ha405b857d4a0e18b [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/thread/mod.rs:537:30 [INFO] [stdout] 39: 0x5c6e15235bae - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd3c96c07e3187855 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 40: 0x5c6e15308bfb - as core::ops::function::FnOnce>::call_once::hfe31dd51cc8f40d6 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/alloc/src/boxed.rs:2454:9 [INFO] [stdout] 41: 0x5c6e15308bfb - as core::ops::function::FnOnce>::call_once::h424186ab2917e76f [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/alloc/src/boxed.rs:2454:9 [INFO] [stdout] 42: 0x5c6e15308bfb - std::sys::pal::unix::thread::Thread::new::thread_start::h5bbddfcb1fc1838d [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 43: 0x78b0ff763ac3 - [INFO] [stdout] 44: 0x78b0ff7f4a04 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_solve [INFO] [stdout] [INFO] [stdout] test result: FAILED. 8 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin rubics` [INFO] running `Command { std: "docker" "inspect" "076a341db788d7a839cf854226c2b21afac39d75cbd844c8ec7b3daaed03558f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "076a341db788d7a839cf854226c2b21afac39d75cbd844c8ec7b3daaed03558f", kill_on_drop: false }` [INFO] [stdout] 076a341db788d7a839cf854226c2b21afac39d75cbd844c8ec7b3daaed03558f