Canbench run fails when run locally on MacOS with the following error:
$ canbench --show-summary
Compiling ic-stable-structures v0.6.8 (/Users/maksym/dfinity/stable-structures/icss)
Compiling benchmarks v0.1.0 (/Users/maksym/dfinity/stable-structures/icss/benchmarks)
Finished `release` profile [optimized] target(s) in 8.01s
Failed to validate PocketIC server binary: `Incompatible PocketIC server version: got pocket-ic-server 9.0.1; expected pocket-ic-server 9.0.2.`. Going to download PocketIC server 9.0.2 from https://github.com/dfinity/pocketic/releases/download/9.0.2/pocket-ic-x86_64-darwin.gz to the local path /var/folders/qp/r0bd4t1s4n36dqqkxqmt_v8m0000gn/T/pocket-ic-server-9.0.2/pocket-ic. To avoid downloads during test execution, please specify the path to the (ungzipped and executable) PocketIC server 9.0.2 using the function `PocketIcBuilder::with_server_binary` or using the `POCKET_IC_BIN` environment variable.
But when run on CI with remote ubuntu-latest it works just fine.
I was installing the latest canbench from main branch by using
$ cargo install --git https://github.com/dfinity/canbench canbench
Canbench run fails when run locally on MacOS with the following error:
But when run on CI with remote ubuntu-latest it works just fine.
I was installing the latest canbench from main branch by using