cargo rustc --manifest-path ./engine/Cargo.toml --bin engine --release -- -C target-cpu=native --emit link=Tcheran-6C2F6664
Compiling find-msvc-tools v0.1.9
Compiling shlex v1.3.0
Compiling libc v0.2.186
Compiling cc v1.2.61
Compiling atomic-wait v1.1.0
Compiling engine v13.0.0-dev (/tmp/tmph0crd6kr/Tcheran/Tcheran-tmp/engine)
error[E0415]: identifier `max` is bound more than once in this parameter list
--> engine/src/engine/eval/simd/avx2.rs:32:40
|
32 | pub fn max(n: I16Vec, max: I16Vec, max: I16Vec) -> I16Vec {
| ^^^ used as parameter more than once
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
--> engine/src/engine/eval/inference.rs:43:35
|
43 | let us_clamped0 = min(max(us0, zero), qa);
| ^^^----------- argument #3 of type `std::arch::x86_64::__m256i` is missing
|
note: function defined here
--> engine/src/engine/eval/simd/avx2.rs:32:12
|
32 | pub fn max(n: I16Vec, max: I16Vec, max: I16Vec) -> I16Vec {
| ^^^ -----------
help: provide the argument
|
43 | let us_clamped0 = min(max(us0, zero, /* std::arch::x86_64::__m256i */), qa);
| ++++++++++++++++++++++++++++++++++
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
--> engine/src/engine/eval/inference.rs:44:35
|
44 | let us_clamped1 = min(max(us1, zero), qa);
| ^^^----------- argument #3 of type `std::arch::x86_64::__m256i` is missing
|
note: function defined here
--> engine/src/engine/eval/simd/avx2.rs:32:12
|
32 | pub fn max(n: I16Vec, max: I16Vec, max: I16Vec) -> I16Vec {
| ^^^ -----------
help: provide the argument
|
44 | let us_clamped1 = min(max(us1, zero, /* std::arch::x86_64::__m256i */), qa);
| ++++++++++++++++++++++++++++++++++
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
--> engine/src/engine/eval/inference.rs:45:35
|
45 | let us_clamped2 = min(max(us2, zero), qa);
| ^^^----------- argument #3 of type `std::arch::x86_64::__m256i` is missing
|
note: function defined here
--> engine/src/engine/eval/simd/avx2.rs:32:12
|
32 | pub fn max(n: I16Vec, max: I16Vec, max: I16Vec) -> I16Vec {
| ^^^ -----------
help: provide the argument
|
45 | let us_clamped2 = min(max(us2, zero, /* std::arch::x86_64::__m256i */), qa);
| ++++++++++++++++++++++++++++++++++
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
--> engine/src/engine/eval/inference.rs:46:35
|
46 | let us_clamped3 = min(max(us3, zero), qa);
| ^^^----------- argument #3 of type `std::arch::x86_64::__m256i` is missing
|
note: function defined here
--> engine/src/engine/eval/simd/avx2.rs:32:12
|
32 | pub fn max(n: I16Vec, max: I16Vec, max: I16Vec) -> I16Vec {
| ^^^ -----------
help: provide the argument
|
46 | let us_clamped3 = min(max(us3, zero, /* std::arch::x86_64::__m256i */), qa);
| ++++++++++++++++++++++++++++++++++
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
--> engine/src/engine/eval/inference.rs:58:37
|
58 | let them_clamped0 = min(max(them0, zero), qa);
| ^^^------------- argument #3 of type `std::arch::x86_64::__m256i` is missing
|
note: function defined here
--> engine/src/engine/eval/simd/avx2.rs:32:12
|
32 | pub fn max(n: I16Vec, max: I16Vec, max: I16Vec) -> I16Vec {
| ^^^ -----------
help: provide the argument
|
58 | let them_clamped0 = min(max(them0, zero, /* std::arch::x86_64::__m256i */), qa);
| ++++++++++++++++++++++++++++++++++
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
--> engine/src/engine/eval/inference.rs:59:37
|
59 | let them_clamped1 = min(max(them1, zero), qa);
| ^^^------------- argument #3 of type `std::arch::x86_64::__m256i` is missing
|
note: function defined here
--> engine/src/engine/eval/simd/avx2.rs:32:12
|
32 | pub fn max(n: I16Vec, max: I16Vec, max: I16Vec) -> I16Vec {
| ^^^ -----------
help: provide the argument
|
59 | let them_clamped1 = min(max(them1, zero, /* std::arch::x86_64::__m256i */), qa);
| ++++++++++++++++++++++++++++++++++
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
--> engine/src/engine/eval/inference.rs:60:37
|
60 | let them_clamped2 = min(max(them2, zero), qa);
| ^^^------------- argument #3 of type `std::arch::x86_64::__m256i` is missing
|
note: function defined here
--> engine/src/engine/eval/simd/avx2.rs:32:12
|
32 | pub fn max(n: I16Vec, max: I16Vec, max: I16Vec) -> I16Vec {
| ^^^ -----------
help: provide the argument
|
60 | let them_clamped2 = min(max(them2, zero, /* std::arch::x86_64::__m256i */), qa);
| ++++++++++++++++++++++++++++++++++
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
--> engine/src/engine/eval/inference.rs:61:37
|
61 | let them_clamped3 = min(max(them3, zero), qa);
| ^^^------------- argument #3 of type `std::arch::x86_64::__m256i` is missing
|
note: function defined here
--> engine/src/engine/eval/simd/avx2.rs:32:12
|
32 | pub fn max(n: I16Vec, max: I16Vec, max: I16Vec) -> I16Vec {
| ^^^ -----------
help: provide the argument
|
61 | let them_clamped3 = min(max(them3, zero, /* std::arch::x86_64::__m256i */), qa);
| ++++++++++++++++++++++++++++++++++
warning: unused variable: `max`
--> engine/src/engine/eval/simd/avx2.rs:32:27
|
32 | pub fn max(n: I16Vec, max: I16Vec, max: I16Vec) -> I16Vec {
| ^^^ help: if this is intentional, prefix it with an underscore: `_max`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
Some errors have detailed explanations: E0061, E0415.
For more information about an error, try `rustc --explain E0061`.
warning: `engine` (lib) generated 1 warning
error: could not compile `engine` (lib) due to 9 previous errors; 1 warning emitted
make: *** [Makefile:22: openbench] Error 101