I’m trying to compile grin miner on a Raspberry PI and got the following error, any ideas what might be going on?
error: literal out of range for usize
–> store/src/lmdb.rs:77:16
|
77 | .set_mapsize(549_755_813_888)
| ^^^^^^^^^^^^^^^
|
= note: #[deny(overflowing_literals)] on by default
error: aborting due to previous error
error: Could not compile grin_store
.
Caused by:
process didn’t exit successfully: rustc --edition=2018 --crate-name grin_store store/src/lib.rs --color always --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=93920315e4a08056 -C extra-filename=-93920315e4a08056 --out-dir /home/pi/grin/target/debug/deps -C incremental=/home/pi/grin/target/debug/incremental -L dependency=/home/pi/grin/target/debug/deps --extern byteorder=/home/pi/grin/target/debug/deps/libbyteorder-d0c73d9458a86268.rlib --extern croaring=/home/pi/grin/target/debug/deps/libcroaring-c6370e06e78ab3a9.rlib --extern env_logger=/home/pi/grin/target/debug/deps/libenv_logger-917b7a5f3d494d8d.rlib --extern failure=/home/pi/grin/target/debug/deps/libfailure-d9c9bf2bbc4b5323.rlib --extern failure_derive=/home/pi/grin/target/debug/deps/libfailure_derive-3bfeb4d821449c8d.so --extern grin_core=/home/pi/grin/target/debug/deps/libgrin_core-b93be7112b04e52c.rlib --extern grin_util=/home/pi/grin/target/debug/deps/libgrin_util-8e8c9a4e216b92a4.rlib --extern libc=/home/pi/grin/target/debug/deps/liblibc-f6601d23a4fd5b80.rlib --extern lmdb_zero=/home/pi/grin/target/debug/deps/liblmdb_zero-1e2366d8aaa4ab18.rlib --extern log=/home/pi/grin/target/debug/deps/liblog-94fda2fcf20d156d.rlib --extern memmap=/home/pi/grin/target/debug/deps/libmemmap-b434cd5ad14bbc79.rlib --extern serde=/home/pi/grin/target/debug/deps/libserde-f531d791c2cce2fa.rlib --extern serde_derive=/home/pi/grin/target/debug/deps/libserde_derive-2e9ae2214c6f2382.so -L native=/home/pi/grin/target/debug/build/croaring-sys-baeac06acd6ac7d2/out -L native=/home/pi/grin/target/debug/build/backtrace-sys-9235458e087b6280/out -L native=/home/pi/grin/target/debug/build/grin_secp256k1zkp-ef7b142610dcab85/out -L native=/home/pi/grin/target/debug/build/miniz-sys-89210a3e66eb31ac/out -L native=/home/pi/grin/target/debug/build/liblmdb-sys-414a46f16e3971a3/out
(exit code: 1)