cargo rustc --release -- -C target-cpu=native --emit link=Reckless-54F9845F-038B85E3
Compiling proc-macro2 v1.0.95
Compiling glob v0.3.2
Compiling unicode-ident v1.0.18
Compiling libc v0.2.175
Compiling prettyplease v0.2.32
Compiling regex-syntax v0.8.5
Compiling minimal-lexical v0.2.1
Compiling memchr v2.7.4
Compiling cfg-if v1.0.0
Compiling either v1.15.0
Compiling shlex v1.3.0
Compiling bindgen v0.71.1
Compiling rustc-hash v2.1.1
Compiling log v0.4.27
Compiling bitflags v2.9.0
Compiling libloading v0.8.6
Compiling cc v1.2.22
Compiling itertools v0.13.0
Compiling clang-sys v1.8.1
Compiling nom v7.1.3
Compiling quote v1.0.40
Compiling syn v2.0.101
Compiling regex-automata v0.4.9
Compiling cexpr v0.6.0
Compiling regex v1.11.1
Compiling reckless v0.9.0-dev (/tmp/tmp9hj9ch7l/Reckless/Reckless-tmp)
error[E0080]: transmuting from 11030912-byte type to 48836160-byte type: `[u8; 11030912]` -> `Parameters`
--> src/nnue.rs:610:42
|
610 | static PARAMETERS: Parameters = unsafe { std::mem::transmute(*include_bytes!(env!("MODEL"))) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `nnue::PARAMETERS` failed here
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
--> src/nnue.rs:610:42
|
610 | static PARAMETERS: Parameters = unsafe { std::mem::transmute(*include_bytes!(env!("MODEL"))) };
| ^^^^^^^^^^^^^^^^^^^
|
= note: source type: `[u8; 11030912]` (88247296 bits)
= note: target type: `Parameters` (390689280 bits)
Some errors have detailed explanations: E0080, E0512.
For more information about an error, try `rustc --explain E0080`.
error: could not compile `reckless` (bin "reckless") due to 2 previous errors
make: *** [Makefile:24: rule] Error 101