JesperAxelsson / rust-intmap

Specialized hashmap for u64 keys
MIT License
30 stars 10 forks source link

CI is failing #52

Closed jakoschiko closed 1 month ago

jakoschiko commented 1 month ago

Currently the CI is failing:

Run $HOME/.cargo/bin/cargo test
    Updating crates.io index
 Downloading crates ...
  Downloaded cfg-if v1.0.0
  Downloaded rand_chacha v0.3.1
  Downloaded autocfg v1.3.0
  Downloaded quote v1.0.36
  Downloaded zerocopy v0.6.6
  Downloaded byteorder v1.5.0
  Downloaded ppv-lite86 v0.2.18
  Downloaded rand_core v0.6.4
  Downloaded indexmap v1.9.3
  Downloaded getrandom v0.2.15
  Downloaded proc-macro2 v1.0.86
  Downloaded unicode-ident v1.0.12
  Downloaded hashbrown v0.12.3
  Downloaded rand v0.8.5
  Downloaded syn v2.0.56
  Downloaded zerocopy-derive v0.6.6
  Downloaded libc v0.2.155
error: package `ppv-lite86 v0.2.18` cannot be built because it requires rustc 1.61 or newer, while the currently active rustc version is 1.58.1
Error: Process completed with exit code 101.

I think the problem is the missing Cargo.lock in the repository. Therefore the CI is using a newer version of ppv-lite86 which requires a newer Rust toolchain.

Should we commit a working Cargo.lock to ensure that this doesn't happen again? Or should we simply update the Rust toolchain in the CI?