Cncli 4.0.4 fails to compile

I get compile errors saying:
error[E0658]: const generics are unstable
→ /home/builder/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.7.2/src/arrayvec.rs:42:30
|
42 | pub struct ArrayVec<T, const CAP: usize> {
| ^^^
|
= note: see issue #74878 https://github.com/rust-lang/rust/issues/74878 for more information

There is a bug filed for this 3 days ago but no update.
Any ideas how to fix these compile errors?
Are others able to get the latest version of cncli to compile?

By the way. I have no problems compiling the last version of cncli 4.0.3.

I just tested and it worked

prereqs.sh -c
Using apt to prepare packages for "Ubuntu" system
  Updating system packages...
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
W: Failed to fetch https://dl.yarnpkg.com/debian/dists/stable/InRelease  The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
W: Some index files failed to download. They have been ignored, or old ones used instead.
  Installing missing prerequisite packages, if any..
Creating Folder Structure ..
Environment Variable already set up!
IOG fork of libsodium installed to /usr/local/lib/
Installing CNCLI
  previous CNCLI installation found, pulling latest version from GitHub...
  installed version: v3.1.4  |  latest version: v4.0.4
  updating RUST if needed...
  building CNCLI v4.0.4 ...
  cncli 4.0.4 installed!

The problem was due to my debian build environment using the system wide version of rustc (1.48) rather than that which was installed under the user account. This happened because I was building cncli as a debian package and the debuild process insists on using the system wide version.

I can get cncli to compile correctly now by overriding the path which is not how you are supposed to build a proper debian package. Though it meets my immediate needs for easy installation on multiple computers.

The changes made by Andrew Westberg from version 4.0.3 to 4.0.4 were not compatible with the older version of rustc 1.48