You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...
Compiling ethereum-bn128 v0.1.0 (https://github.com/ewasm/ethereum-bn128.rs#10968881)
Compiling rustbn-js v0.1.2 (/home/travis/build/ethereumjs/rustbn.js)
error[E0308]: mismatched types
--> src/main.rs:20:56
|
20 | match ethereum_bn128::bn128_mul(&input_parsed[..], &mut BytesRef::Fixed(&mut output[..])) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected array of 64 elements, found enum `bytes::BytesRef`
|
= note: expected type `&mut [u8; 64]`
found type `&mut bytes::BytesRef<'_>`
error[E0308]: mismatched types
--> src/main.rs:37:56
|
37 | match ethereum_bn128::bn128_add(&input_parsed[..], &mut BytesRef::Fixed(&mut output[..])) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected array of 64 elements, found enum `bytes::BytesRef`
|
= note: expected type `&mut [u8; 64]`
found type `&mut bytes::BytesRef<'_>`
error[E0308]: mismatched types
--> src/main.rs:54:60
|
54 | match ethereum_bn128::bn128_pairing(&input_parsed[..], &mut BytesRef::Fixed(&mut output[..])) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected array of 32 elements, found enum `bytes::BytesRef`
|
= note: expected type `&mut [u8; 32]`
found type `&mut bytes::BytesRef<'_>`
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0308`.
error: Could not compile `rustbn-js`.
To learn more, run the command again with --verbose.
Makefile:4: recipe for target 'all' failed
make: *** [all] Error 101
The command "make" exited with 2.
...
The text was updated successfully, but these errors were encountered:
Ubuntu build currently fails.
The text was updated successfully, but these errors were encountered: