cargo rustc --release -- -C target-cpu=native --emit link=Viridithas-D9316EE6-D8B243C9 Updating crates.io index Downloading crates ... Downloaded byteorder v1.5.0 Downloaded heck v0.5.0 Downloaded anstyle-query v1.0.2 Downloaded windows-targets v0.52.6 Downloaded cfg-if v1.0.0 Downloaded colorchoice v1.0.0 Downloaded strsim v0.11.0 Downloaded clap_lex v0.7.0 Downloaded utf8parse v0.2.1 Downloaded anstyle v1.0.6 Downloaded arrayvec v0.7.4 Downloaded anstyle-parse v0.2.3 Downloaded static_assertions v1.1.0 Downloaded twox-hash v1.6.3 Downloaded anyhow v1.0.86 Downloaded anstream v0.6.13 Downloaded clap_derive v4.5.3 Downloaded quote v1.0.35 Downloaded unicode-ident v1.0.12 Downloaded proc-macro2 v1.0.79 Downloaded clap v4.5.3 Downloaded ruzstd v0.7.0 Downloaded clap_builder v4.5.2 Downloaded syn v2.0.55 Downloaded windows_x86_64_gnu v0.52.6 Downloaded windows-sys v0.52.0 Compiling proc-macro2 v1.0.79 Compiling unicode-ident v1.0.12 Compiling utf8parse v0.2.1 Compiling windows_x86_64_gnu v0.52.6 Compiling anstyle-query v1.0.2 Compiling colorchoice v1.0.0 Compiling anstyle v1.0.6 Compiling clap_lex v0.7.0 Compiling static_assertions v1.1.0 Compiling anstyle-parse v0.2.3 Compiling strsim v0.11.0 Compiling cfg-if v1.0.0 Compiling anyhow v1.0.86 Compiling heck v0.5.0 Compiling twox-hash v1.6.3 Compiling anstream v0.6.13 Compiling windows-targets v0.52.6 Compiling byteorder v1.5.0 Compiling viridithas v15.0.0 (/tmp/tmpx9q3oegz/Viridithas/Viridithas-tmp) 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:214:17 | 214 | 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:354:19 | 354 | 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.rs:414:17 | 414 | 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/layers.rs:167:15 | 167 | ptr::{from_mut, from_ref}, | ^^^^^^^^ | = 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:167:25 | 167 | ptr::{from_mut, from_ref}, | ^^^^^^^^ | = 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:201:19 | 201 | let ptr = from_ref(ptr); | ^^^^^^^^ | = 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:290:36 | 290 | simd::store_u8(from_mut(ft_outputs.get_unchecked_mut(offset + i)).cast(), product_one); | ^^^^^^^^ | = 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:292:25 | 292 | from_mut(ft_outputs.get_unchecked_mut(offset + i + U8_CHUNK_SIZE)).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:306:51 | 306 | let offsets = vec128_load(from_ref(entry).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:307:39 | 307 | vec128_storeu(from_mut(nnz.get_unchecked_mut(nnz_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/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 11 previous errors make: *** [Makefile:28:openbench] 错误 101