wormtql / genshin_artifact

莫娜占卜铺 | 原神 | 圣遗物搭配 | 圣遗物潜力。多方向圣遗物自动搭配,多方向圣遗物潜力与评分, Genshin Impact artifacts assessment, artifacts auto combination, artifacts statistics, artifacts potential, and more.
https://www.mona-uranai.com/
MIT License
1.16k stars 115 forks source link

package `time-core v0.1.2` cannot be built because it requires rustc 1.67.0 or newer #304

Closed Nevercomes closed 7 months ago

Nevercomes commented 8 months ago

Error message

error: failed to compile `wasm-bindgen-cli v0.2.78`, intermediate artifacts can be found at `/var/folders/tg/rgfgkmq94mv73qyp40l5gdmh0000gn/T/cargo-installrVQdjY`

Caused by:
  package `time-core v0.1.2` cannot be built because it requires rustc 1.67.0 or newer, while the currently active rustc version is 1.63.0-nightly
Error: Installing wasm-bindgen with cargo
Caused by: Installing wasm-bindgen with cargo
Caused by: failed to execute `cargo install`: exited with exit status: 101
  full command: "cargo" "install" "--force" "wasm-bindgen-cli" "--root" "/Users/xxx/Library/Caches/.wasm-pack/.wasm-bindgen-cargo-install-0.2.78" "--version" "0.2.78"

Suggested Fix

[toolchain]
channel = "nightly-2022-05-19" # nightly-2023-10-25
# components = ["rustc", "cargo"]
targets = ["wasm32-unknown-unknown", "x86_64-unknown-linux-gnu"]