[INFO] cloning repository https://github.com/gorilskij/rustiks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gorilskij/rustiks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgorilskij%2Frustiks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgorilskij%2Frustiks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5dfbe83284d622992353cc3d2587cbcbfa014d01 [INFO] checking gorilskij/rustiks/5dfbe83284d622992353cc3d2587cbcbfa014d01 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgorilskij%2Frustiks" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gorilskij/rustiks on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gorilskij/rustiks [INFO] finished tweaking git repo https://github.com/gorilskij/rustiks [INFO] tweaked toml for git repo https://github.com/gorilskij/rustiks written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gorilskij/rustiks 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded md5 v0.7.0 [INFO] [stderr] Downloaded winconsole v0.10.0 [INFO] [stderr] Downloaded rgb v0.8.14 [INFO] [stderr] Downloaded proc-macro2 v1.0.6 [INFO] [stderr] Downloaded serde_json v1.0.42 [INFO] [stderr] Downloaded serde_derive v1.0.103 [INFO] [stderr] Downloaded colored v1.8.0 [INFO] [stderr] Downloaded syn v1.0.9 [INFO] [stderr] Downloaded serde v1.0.103 [INFO] [stderr] Downloaded libc v0.2.62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1bf27194ad0869de85732062195f5658f850bd298794b05e131f42938ce8895f [INFO] running `Command { std: "docker" "start" "-a" "1bf27194ad0869de85732062195f5658f850bd298794b05e131f42938ce8895f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bf27194ad0869de85732062195f5658f850bd298794b05e131f42938ce8895f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bf27194ad0869de85732062195f5658f850bd298794b05e131f42938ce8895f", kill_on_drop: false }` [INFO] [stdout] 1bf27194ad0869de85732062195f5658f850bd298794b05e131f42938ce8895f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 121784ba67f6c1682dd5e1090098855def5c95ef7112abdf5fb9facb78a3f6f0 [INFO] running `Command { std: "docker" "start" "-a" "121784ba67f6c1682dd5e1090098855def5c95ef7112abdf5fb9facb78a3f6f0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling syn v1.0.9 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking rgb v0.8.14 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking winconsole v0.10.0 [INFO] [stderr] Checking colored v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Checking serde_json v1.0.42 [INFO] [stderr] Checking Rustiks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/cube/mod.rs:243:58 [INFO] [stdout] | [INFO] [stdout] 243 | }).collect::>().join("\n"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 270 | impl_cube_fmt!(Debug, "{:?}"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `push_right` which comes from the expansion of the macro `impl_cube_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/cube/mod.rs:243:58 [INFO] [stdout] | [INFO] [stdout] 243 | }).collect::>().join("\n"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 270 | impl_cube_fmt!(Debug, "{:?}"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `push_right` [INFO] [stdout] = note: this warning originates in the macro `push_right` which comes from the expansion of the macro `impl_cube_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/cube/mod.rs:243:58 [INFO] [stdout] | [INFO] [stdout] 243 | }).collect::>().join("\n"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 271 | impl_cube_fmt!(Display, "{}"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `push_right` which comes from the expansion of the macro `impl_cube_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/cube/mod.rs:243:58 [INFO] [stdout] | [INFO] [stdout] 243 | }).collect::>().join("\n"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 271 | impl_cube_fmt!(Display, "{}"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `push_right` [INFO] [stdout] = note: this warning originates in the macro `push_right` which comes from the expansion of the macro `impl_cube_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `option_expect_none` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(option_expect_none)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/cube/mod.rs:243:58 [INFO] [stdout] | [INFO] [stdout] 243 | }).collect::>().join("\n"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 270 | impl_cube_fmt!(Debug, "{:?}"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `push_right` which comes from the expansion of the macro `impl_cube_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/cube/mod.rs:243:58 [INFO] [stdout] | [INFO] [stdout] 243 | }).collect::>().join("\n"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 270 | impl_cube_fmt!(Debug, "{:?}"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `push_right` [INFO] [stdout] = note: this warning originates in the macro `push_right` which comes from the expansion of the macro `impl_cube_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/cube/mod.rs:243:58 [INFO] [stdout] | [INFO] [stdout] 243 | }).collect::>().join("\n"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 271 | impl_cube_fmt!(Display, "{}"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `push_right` which comes from the expansion of the macro `impl_cube_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/cube/mod.rs:243:58 [INFO] [stdout] | [INFO] [stdout] 243 | }).collect::>().join("\n"); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 271 | impl_cube_fmt!(Display, "{}"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `push_right` [INFO] [stdout] = note: this warning originates in the macro `push_right` which comes from the expansion of the macro `impl_cube_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/algorithm_data/mod.rs:133:31 [INFO] [stdout] | [INFO] [stdout] 133 | unsafe { lazy_get(&mut $const, $load, $path) } [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 138 | / lazy_load!(CROSS_DATA, cross_data, load1, "src/algorithm_data/data/cross.txt", [INFO] [stdout] 139 | | HashMap, Algorithm>>); [INFO] [stdout] | |______________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_load` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 133 | unsafe { lazy_get(addr_of_mut!($const), $load, $path) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/algorithm_data/mod.rs:133:31 [INFO] [stdout] | [INFO] [stdout] 133 | unsafe { lazy_get(&mut $const, $load, $path) } [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 140 | / lazy_load!(F2L_DATA, f2l_data, load1, "src/algorithm_data/data/f2l.txt", [INFO] [stdout] 141 | | HashMap, Algorithm>>); [INFO] [stdout] | |__________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `lazy_load` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 133 | unsafe { lazy_get(addr_of_mut!($const), $load, $path) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/algorithm_data/mod.rs:133:31 [INFO] [stdout] | [INFO] [stdout] 133 | unsafe { lazy_get(&mut $const, $load, $path) } [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 142 | / lazy_load!(OLL_DATA, oll_data, load2, "src/algorithm_data/data/oll.txt", [INFO] [stdout] 143 | | HashMap, Algorithm>); [INFO] [stdout] | |___________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `lazy_load` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 133 | unsafe { lazy_get(addr_of_mut!($const), $load, $path) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `option_expect_none` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(option_expect_none)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/algorithm_data/mod.rs:133:31 [INFO] [stdout] | [INFO] [stdout] 133 | unsafe { lazy_get(&mut $const, $load, $path) } [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 144 | / lazy_load!(PLL_DATA, pll_data, load2, "src/algorithm_data/data/pll.txt", [INFO] [stdout] 145 | | HashMap, Algorithm>); [INFO] [stdout] | |___________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `lazy_load` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 133 | unsafe { lazy_get(addr_of_mut!($const), $load, $path) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cube/manipulation.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut corner = self.corner_at_mut(position); [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: `cross_alg` [INFO] [stdout] --> src/cube/solving.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let cross_alg = self.solve_cross_alg(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cross_alg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Rustiks` (bin "Rustiks") due to 2 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/algorithm_data/mod.rs:133:31 [INFO] [stdout] | [INFO] [stdout] 133 | unsafe { lazy_get(&mut $const, $load, $path) } [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 138 | / lazy_load!(CROSS_DATA, cross_data, load1, "src/algorithm_data/data/cross.txt", [INFO] [stdout] 139 | | HashMap, Algorithm>>); [INFO] [stdout] | |______________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_load` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 133 | unsafe { lazy_get(addr_of_mut!($const), $load, $path) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/algorithm_data/mod.rs:133:31 [INFO] [stdout] | [INFO] [stdout] 133 | unsafe { lazy_get(&mut $const, $load, $path) } [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 140 | / lazy_load!(F2L_DATA, f2l_data, load1, "src/algorithm_data/data/f2l.txt", [INFO] [stdout] 141 | | HashMap, Algorithm>>); [INFO] [stdout] | |__________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `lazy_load` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 133 | unsafe { lazy_get(addr_of_mut!($const), $load, $path) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/algorithm_data/mod.rs:133:31 [INFO] [stdout] | [INFO] [stdout] 133 | unsafe { lazy_get(&mut $const, $load, $path) } [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 142 | / lazy_load!(OLL_DATA, oll_data, load2, "src/algorithm_data/data/oll.txt", [INFO] [stdout] 143 | | HashMap, Algorithm>); [INFO] [stdout] | |___________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `lazy_load` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 133 | unsafe { lazy_get(addr_of_mut!($const), $load, $path) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/algorithm_data/mod.rs:133:31 [INFO] [stdout] | [INFO] [stdout] 133 | unsafe { lazy_get(&mut $const, $load, $path) } [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 144 | / lazy_load!(PLL_DATA, pll_data, load2, "src/algorithm_data/data/pll.txt", [INFO] [stdout] 145 | | HashMap, Algorithm>); [INFO] [stdout] | |___________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `lazy_load` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 133 | unsafe { lazy_get(addr_of_mut!($const), $load, $path) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cube/manipulation.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut corner = self.corner_at_mut(position); [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: `cross_alg` [INFO] [stdout] --> src/cube/solving.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let cross_alg = self.solve_cross_alg(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cross_alg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Rustiks` (bin "Rustiks" test) due to 2 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "121784ba67f6c1682dd5e1090098855def5c95ef7112abdf5fb9facb78a3f6f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "121784ba67f6c1682dd5e1090098855def5c95ef7112abdf5fb9facb78a3f6f0", kill_on_drop: false }` [INFO] [stdout] 121784ba67f6c1682dd5e1090098855def5c95ef7112abdf5fb9facb78a3f6f0