[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 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [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 af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v1.0.9 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc78781dd935f80f0e961f60cddd917cc0c4e570300da6ada44eb781bebea634 [INFO] running `Command { std: "docker" "start" "-a" "fc78781dd935f80f0e961f60cddd917cc0c4e570300da6ada44eb781bebea634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc78781dd935f80f0e961f60cddd917cc0c4e570300da6ada44eb781bebea634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc78781dd935f80f0e961f60cddd917cc0c4e570300da6ada44eb781bebea634", kill_on_drop: false }` [INFO] [stdout] fc78781dd935f80f0e961f60cddd917cc0c4e570300da6ada44eb781bebea634 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2e50d7818910cff7d2dee86c4df478bc10d45cb0b528fcc7229bb51c2a5bc9f [INFO] running `Command { std: "docker" "start" "-a" "d2e50d7818910cff7d2dee86c4df478bc10d45cb0b528fcc7229bb51c2a5bc9f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [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] Compiling ryu v1.0.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking rgb v0.8.14 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Compiling quote v1.0.2 [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] 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] 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!(CROSS_DATA), $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!(F2L_DATA), $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!(OLL_DATA), $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!(PLL_DATA), $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!(CROSS_DATA), $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!(F2L_DATA), $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!(OLL_DATA), $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!(PLL_DATA), $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" "d2e50d7818910cff7d2dee86c4df478bc10d45cb0b528fcc7229bb51c2a5bc9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2e50d7818910cff7d2dee86c4df478bc10d45cb0b528fcc7229bb51c2a5bc9f", kill_on_drop: false }` [INFO] [stdout] d2e50d7818910cff7d2dee86c4df478bc10d45cb0b528fcc7229bb51c2a5bc9f [INFO] checking gorilskij/rustiks against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgorilskij%2Frustiks" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gorilskij/rustiks on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02f51856b3302f1cf52ecad440974110116cffa69664e1ebba718ba6c182d89d [INFO] running `Command { std: "docker" "start" "-a" "02f51856b3302f1cf52ecad440974110116cffa69664e1ebba718ba6c182d89d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02f51856b3302f1cf52ecad440974110116cffa69664e1ebba718ba6c182d89d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02f51856b3302f1cf52ecad440974110116cffa69664e1ebba718ba6c182d89d", kill_on_drop: false }` [INFO] [stdout] 02f51856b3302f1cf52ecad440974110116cffa69664e1ebba718ba6c182d89d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6d062b2ae4fe3407241765dc74fc7202f4642297d7ca7849458832ed3937c9f [INFO] running `Command { std: "docker" "start" "-a" "f6d062b2ae4fe3407241765dc74fc7202f4642297d7ca7849458832ed3937c9f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "f6d062b2ae4fe3407241765dc74fc7202f4642297d7ca7849458832ed3937c9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6d062b2ae4fe3407241765dc74fc7202f4642297d7ca7849458832ed3937c9f", kill_on_drop: false }` [INFO] [stdout] f6d062b2ae4fe3407241765dc74fc7202f4642297d7ca7849458832ed3937c9f