I’m having a considerable amount of trouble executing the “make test” command when trying to build the source code for the Chirpstack V4 project. I’m consistently met with an error indicating that the num_enum_derive crate cannot be found. I’m unfortunately new to Rust, so I recognize (and am hoping) that this might just be a simple “you’re missing BLA BLA BLA” fix. A screenshot of what I’m seeing is shown below:
Some general status on the setup I have:
Environment: VM using vSphere
CPUs: 4
Memory: 32GB
Hard Drive Space: 512GB
OS: Ubuntu Linux 64-bit 22.04.5 LTS
In addition, I have the following additional software installed on this system:
Docker: Version 28.1.1, build 4eba377
Cargo: Version 1.81.0 (2dbb1af80 2024-08-20)
Node: Version 12.22.9
Nix-Shell: Version 2.28.2
Yarn: Version 1.22.22
Further tracing through the make process indicates the process fails at Step #3B as listed below:
- cd api && make rust
- cd backend && cargo test
- cd chirpstack && make test
A. cargo fmt --check
B. cargo clippy --no-deps --no-default-features --features=“$(DATABASE)”
C. TZ=UTC cargo test --no-default-features --features=“$(DATABASE)” - cd lrwn && make test
- cd lrwn-filters && make test
Any insights and/or help on this is greatly appreciated!