cargo rustc --release -- -C target-cpu=native --emit link=Viridithas-E066DA52-5B404555 Compiling proc-macro2 v1.0.79 Compiling unicode-ident v1.0.12 Compiling windows_x86_64_gnu v0.52.6 Compiling utf8parse v0.2.1 Compiling anstyle v1.0.6 Compiling anstyle-query v1.0.2 Compiling colorchoice v1.0.0 Compiling clap_lex v0.7.0 Compiling anstyle-parse v0.2.3 Compiling strsim v0.11.0 Compiling static_assertions v1.1.0 Compiling cfg-if v1.0.0 Compiling heck v0.5.0 Compiling anyhow v1.0.86 Compiling anstream v0.6.13 Compiling windows-targets v0.52.6 Compiling twox-hash v1.6.3 Compiling viridithas v14.0.1 (/tmp/tmprl3d3n_f/Viridithas/Viridithas-tmp) Compiling byteorder v1.5.0 Compiling windows-sys v0.52.0 Compiling clap_builder v4.5.2 Compiling ruzstd v0.7.0 Compiling arrayvec v0.7.4 Compiling quote v1.0.35 Compiling syn v2.0.55 Compiling clap_derive v4.5.3 Compiling clap v4.5.3 error[E0658]: use of unstable library feature 'ptr_from_ref' --> src/nnue/network.rs:237:54 | 237 | let mem = std::slice::from_raw_parts_mut(std::ptr::from_mut(net.as_mut()).cast::<u8>(), layout.size()); | ^^^^^^^^^^^^^^^^^^ | = note: see issue #106116 <https://github.com/rust-lang/rust/issues/106116> for more information error[E0658]: use of unstable library feature 'ptr_from_ref' --> src/nnue/network.rs:295:17 | 295 | std::ptr::from_mut(net.as_mut()).cast::<u8>(), | ^^^^^^^^^^^^^^^^^^ | = note: see issue #106116 <https://github.com/rust-lang/rust/issues/106116> for more information error[E0658]: use of unstable library feature 'ptr_from_ref' --> src/nnue/network.rs:321:19 | 321 | let ptr = std::ptr::from_ref::<Self>(self).cast::<u8>(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: see issue #106116 <https://github.com/rust-lang/rust/issues/106116> for more information error[E0658]: use of unstable library feature 'ptr_from_ref' --> src/nnue/network/layers.rs:183:43 | 183 | let offsets = vec128_load(std::ptr::from_ref(NNZ_TABLE.table.get_unchecked(lookup as usize)).cast()); | ^^^^^^^^^^^^^^^^^^ | = note: see issue #106116 <https://github.com/rust-lang/rust/issues/106116> for more information error[E0658]: use of unstable library feature 'ptr_from_ref' --> src/nnue/network/layers.rs:184:31 | 184 | vec128_storeu(std::ptr::from_mut(out.get_unchecked_mut(count)).cast(), vec128_add(base, offsets)); | ^^^^^^^^^^^^^^^^^^ | = note: see issue #106116 <https://github.com/rust-lang/rust/issues/106116> for more information error[E0658]: use of unstable library feature 'ptr_from_ref' --> src/nnue/network/layers.rs:237:25 | 237 | std::ptr::from_mut(ft_outputs.get_unchecked_mut(offset + i)).cast(), | ^^^^^^^^^^^^^^^^^^ | = note: see issue #106116 <https://github.com/rust-lang/rust/issues/106116> for more information error[E0658]: use of unstable library feature 'ptr_from_ref' --> src/nnue/network/layers.rs:254:29 | 254 | let input32 = &*std::ptr::from_ref(&ft_outputs.0).cast::<Align64<[i32; L1_SIZE / L1_CHUNK_PER_32]>>(); | ^^^^^^^^^^^^^^^^^^ | = note: see issue #106116 <https://github.com/rust-lang/rust/issues/106116> for more information error[E0658]: use of unstable library feature 'ptr_from_ref' --> src/nnue/network/layers.rs:266:27 | 266 | let col = std::ptr::from_ref(weights.get_unchecked(i_col)).cast::<VecI8>(); | ^^^^^^^^^^^^^^^^^^ | = note: see issue #106116 <https://github.com/rust-lang/rust/issues/106116> for more information error[E0658]: use of unstable library feature 'ptr_from_ref' --> src/nnue/network/layers.rs:307:30 | 307 | let weight = std::ptr::from_ref(weights.get_unchecked(i * L3_SIZE)).cast::<VecF32>(); | ^^^^^^^^^^^^^^^^^^ | = note: see issue #106116 <https://github.com/rust-lang/rust/issues/106116> for more information error[E0658]: use of unstable library feature 'ptr_from_ref' --> src/transpositiontable.rs:419:26 | 419 | _mm_prefetch(std::ptr::from_ref::<TTClusterMemory>(entry).cast::<i8>(), _MM_HINT_T0); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: see issue #106116 <https://github.com/rust-lang/rust/issues/106116> for more information For more information about this error, try `rustc --explain E0658`. error: could not compile `viridithas` (bin "viridithas") due to 10 previous errors make: *** [Makefile:28:openbench] 错误 101