system76 / thelio-io-windows

WIP Windows driver for System76 Thelio Io
GNU General Public License v3.0
16 stars 8 forks source link

cargo-wix v0.3.8 fail to compile #24

Closed whitwhittle closed 4 months ago

whitwhittle commented 4 months ago

I am attempting my first build. I am getting the following error during build:

PS C:\Users\Whit\thelio-io-windows> cargo install -f cargo-wix Updating crates.io index Installing cargo-wix v0.3.8 error: failed to compile cargo-wix v0.3.8, intermediate artifacts can be found at C:\Users\Whit\AppData\Local\Temp\cargo-installJwITay

Caused by: failed to select a version for the requirement clap = "^4" candidate versions found which didn't match: 3.2.25, 3.2.24, 3.2.23, ... location searched: crates.io index required by package cargo-wix v0.3.8

Here is an output of rustup show:

PS C:\Users\Whit\thelio-io-windows> rustup show Default host: x86_64-pc-windows-msvc rustup home: C:\Users\Whit.rustup

installed toolchains

stable-x86_64-pc-windows-msvc (default) 1.57.0-x86_64-pc-windows-msvc

active toolchain

1.57.0-x86_64-pc-windows-msvc (overridden by 'C:\Users\Whit\thelio-io-windows\rust-toolchain') rustc 1.57.0 (f1edd0429 2021-11-29)

Anything I might be missing? (obvious or otherwise...)

whitwhittle commented 4 months ago

I found the issue: I had to update my toolchain to my current version (1.76)