openwallet-foundation/didcomm-mediator-service

Unable to run load test -- Rust error building libindy

Opened this issue · 0 comments

I tried to run the load test tool to verify a dependabot PR, but it looks like the load test generator doesn't build. I followed the instructions and go to where I ran docker compose build and in doing that got the following error. It would be great if this could still be used to verify this mediator deployment.

Error:

11.41    Compiling aes-soft v0.3.3
11.77    Compiling aho-corasick v0.7.15
11.80    Compiling hmac v0.7.1
11.81 error[E0308]: mismatched types
11.81    --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/num-bigint-0.3.1/src/biguint.rs:208:19
11.81     |
11.81 208 |         .div_ceil(&big_digit::BITS.into())
11.81     |          -------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `&_`
11.81     |          |
11.81     |          arguments to this method are incorrect
11.81     |
11.81     = note:   expected type `u64`
11.81             found reference `&_`
11.81 note: method defined here
11.81    --> /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/num/mod.rs:1167:5
.
.
.
11.92 
11.95 For more information about this error, try `rustc --explain E0308`.
11.97 error: could not compile `num-bigint` (lib) due to 4 previous errors
11.97 warning: build failed, waiting for other jobs to finish...
------
failed to solve: process "/bin/sh -c cd indy-sdk/libindy &&     /root/.cargo/bin/cargo build --release &&     mv target/release/libindy.so /usr/lib/libindy.so" did not complete successfully: exit code: 101