Cannot build: "128-bit type is unstable"
I am trying to build Fractal, latest git version as of writing this.
The method I'm using to build is the one described in the readme.
I'm running Arch Linux, fully up to date.
Here's the error I get:
Compiling num-traits v0.2.6
error: 128-bit type is unstable (see issue #35118)
--> ../target/cargo-home/registry/src/github.com-1ecc6299db9ec823/muldiv-0.2.0/src/lib.rs:151:35
|
151 | let r = ((self as $u) * (num as $u)) / (denom as $u);
| ^^
...
352 | mul_div_impl_unsigned!(u64, u128);
| ---------------------------------- in this macro invocation
error: 128-bit type is unstable (see issue #35118)
--> ../target/cargo-home/registry/src/github.com-1ecc6299db9ec823/muldiv-0.2.0/src/lib.rs:151:49
|
151 | let r = ((self as $u) * (num as $u)) / (denom as $u);
| ^^
...
352 | mul_div_impl_unsigned!(u64, u128);
| ---------------------------------- in this macro invocation
error: 128-bit type is unstable (see issue #35118)
--> ../target/cargo-home/registry/src/github.com-1ecc6299db9ec823/muldiv-0.2.0/src/lib.rs:151:66
|
151 | let r = ((self as $u) * (num as $u)) / (denom as $u);
| ^^
...
352 | mul_div_impl_unsigned!(u64, u128);
| ---------------------------------- in this macro invocation
error: 128-bit type is unstable (see issue #35118)
--> ../target/cargo-home/registry/src/github.com-1ecc6299db9ec823/muldiv-0.2.0/src/lib.rs:152:35
|
152 | if r > $t::MAX as $u {
| ^^
...
352 | mul_div_impl_unsigned!(u64, u128);
| ---------------------------------- in this macro invocation
error: 128-bit type is unstable (see issue #35118)
--> ../target/cargo-home/registry/src/github.com-1ecc6299db9ec823/muldiv-0.2.0/src/lib.rs:161:35
|
161 | let r = ((self as $u) * (num as $u) + ((denom >> 1) as $u)) / (denom as $u);
| ^^
...
352 | mul_div_impl_unsigned!(u64, u128);
| ---------------------------------- in this macro invocation
error: 128-bit type is unstable (see issue #35118)
--> ../target/cargo-home/registry/src/github.com-1ecc6299db9ec823/muldiv-0.2.0/src/lib.rs:161:49
|
161 | let r = ((self as $u) * (num as $u) + ((denom >> 1) as $u)) / (denom as $u);
| ^^
...
352 | mul_div_impl_unsigned!(u64, u128);
| ---------------------------------- in this macro invocation
error: 128-bit type is unstable (see issue #35118)
--> ../target/cargo-home/registry/src/github.com-1ecc6299db9ec823/muldiv-0.2.0/src/lib.rs:161:72
|
161 | let r = ((self as $u) * (num as $u) + ((denom >> 1) as $u)) / (denom as $u);
| ^^
...
352 | mul_div_impl_unsigned!(u64, u128);
| ---------------------------------- in this macro invocation
error: 128-bit type is unstable (see issue #35118)
--> ../target/cargo-home/registry/src/github.com-1ecc6299db9ec823/muldiv-0.2.0/src/lib.rs:161:89
|
161 | let r = ((self as $u) * (num as $u) + ((denom >> 1) as $u)) / (denom as $u);
| ^^
...
352 | mul_div_impl_unsigned!(u64, u128);
| ---------------------------------- in this macro invocation
error: 128-bit type is unstable (see issue #35118)
--> ../target/cargo-home/registry/src/github.com-1ecc6299db9ec823/muldiv-0.2.0/src/lib.rs:162:35
|
162 | if r > $t::MAX as $u {
| ^^
...
352 | mul_div_impl_unsigned!(u64, u128);
| ---------------------------------- in this macro invocation
error: 128-bit type is unstable (see issue #35118)
--> ../target/cargo-home/registry/src/github.com-1ecc6299db9ec823/muldiv-0.2.0/src/lib.rs:171:35
|
171 | let r = ((self as $u) * (num as $u) + ((denom - 1) as $u)) / (denom as $u);
| ^^
...
352 | mul_div_impl_unsigned!(u64, u128);
| ---------------------------------- in this macro invocation
error: 128-bit type is unstable (see issue #35118)
--> ../target/cargo-home/registry/src/github.com-1ecc6299db9ec823/muldiv-0.2.0/src/lib.rs:171:49
|
171 | let r = ((self as $u) * (num as $u) + ((denom - 1) as $u)) / (denom as $u);
| ^^
...
352 | mul_div_impl_unsigned!(u64, u128);
| ---------------------------------- in this macro invocation
error: 128-bit type is unstable (see issue #35118)
--> ../target/cargo-home/registry/src/github.com-1ecc6299db9ec823/muldiv-0.2.0/src/lib.rs:171:71
|
171 | let r = ((self as $u) * (num as $u) + ((denom - 1) as $u)) / (denom as $u);
| ^^
...
352 | mul_div_impl_unsigned!(u64, u128);
| ---------------------------------- in this macro invocation
error: 128-bit type is unstable (see issue #35118)
--> ../target/cargo-home/registry/src/github.com-1ecc6299db9ec823/muldiv-0.2.0/src/lib.rs:171:88
|
171 | let r = ((self as $u) * (num as $u) + ((denom - 1) as $u)) / (denom as $u);
| ^^
...
352 | mul_div_impl_unsigned!(u64, u128);
| ---------------------------------- in this macro invocation
error: 128-bit type is unstable (see issue #35118)
--> ../target/cargo-home/registry/src/github.com-1ecc6299db9ec823/muldiv-0.2.0/src/lib.rs:172:35
|
172 | if r > $t::MAX as $u {
| ^^
...
352 | mul_div_impl_unsigned!(u64, u128);
| ---------------------------------- in this macro invocation
error: 128-bit type is unstable (see issue #35118)
--> ../target/cargo-home/registry/src/github.com-1ecc6299db9ec823/muldiv-0.2.0/src/lib.rs:423:41
|
423 | let r = ((self_u as $v) * (num_u as $v)
| ^^
...
474 | mul_div_impl_signed!(i64, u64, u128, 64);
| ----------------------------------------- in this macro invocation
error: 128-bit type is unstable (see issue #35118)
--> ../target/cargo-home/registry/src/github.com-1ecc6299db9ec823/muldiv-0.2.0/src/lib.rs:423:57
|
423 | let r = ((self_u as $v) * (num_u as $v)
| ^^
...
474 | mul_div_impl_signed!(i64, u64, u128, 64);
| ----------------------------------------- in this macro invocation
error: 128-bit type is unstable (see issue #35118)
--> ../target/cargo-home/registry/src/github.com-1ecc6299db9ec823/muldiv-0.2.0/src/lib.rs:424:63
|
424 | + ((cmp::max(denom_u >> 1, 1) - 1) as $v))
| ^^
...
474 | mul_div_impl_signed!(i64, u64, u128, 64);
| ----------------------------------------- in this macro invocation
error: 128-bit type is unstable (see issue #35118)
--> ../target/cargo-home/registry/src/github.com-1ecc6299db9ec823/muldiv-0.2.0/src/lib.rs:425:39
|
425 | / (denom_u as $v);
| ^^
...
474 | mul_div_impl_signed!(i64, u64, u128, 64);
| ----------------------------------------- in this macro invocation
error: 128-bit type is unstable (see issue #35118)
--> ../target/cargo-home/registry/src/github.com-1ecc6299db9ec823/muldiv-0.2.0/src/lib.rs:426:39
|
426 | if r > $u::MAX as $v {
| ^^
...
474 | mul_div_impl_signed!(i64, u64, u128, 64);
| ----------------------------------------- in this macro invocation
Compiling unicode-normalization v0.1.7
Compiling gstreamer v0.12.2
error: aborting due to 19 previous errors
error: Could not compile `muldiv`.
warning: build failed, waiting for other jobs to finish...
error: build failed
FAILED: fractal
/home/gabmus/git/fractal/scripts/cargo.sh .. fractal /home/gabmus/git/fractal/_installdir/share/locale org.gnome.Fractal '' 4.0.0 ''
ninja: build stopped: subcommand failed.