Build de ĞCli réparé, version 0.2.5 disponible

le cargo build ne se termine pas…


Compiling regex-syntax v0.8.2
Compiling zeroize v1.7.0
Compiling unicode-normalization v0.1.22
Compiling parity-scale-codec v3.6.9
Compiling tracing-core v0.1.32
Compiling bitflags v2.4.2
Compiling block-buffer v0.9.0
error[E0635]: unknown feature stdsimd
→ /home/josselin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ahash-0.7.7/src/lib.rs:33:42
|
33 | #![cfg_attr(feature = “stdsimd”, feature(stdsimd))]
| ^^^^^^^

Compiling lazy_static v1.4.0
Compiling opaque-debug v0.3.0
Compiling idna v0.5.0
For more information about this error, try rustc --explain E0635.
error: could not compile ahash (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish…


1 Like

Essayes ceci avant, puis relance :

rustup default stable
rustup update nightly
rustup update stable

N.B. : je suis sur le commit 6eadad8dce089e5a69bf7ca353fd3c8650bbe248 “v0.2.4 cargo.lock Hugo Trentesaux Yesterday 14:05”

1 Like

$ rustup default stable
info: using existing install for ‘stable-x86_64-unknown-linux-gnu’
info: default toolchain set to ‘stable-x86_64-unknown-linux-gnu’

stable-x86_64-unknown-linux-gnu unchanged - rustc 1.75.0 (82e1608df 2023-12-21)

$ rustup update nightly
info: syncing channel updates for ‘nightly-x86_64-unknown-linux-gnu’

nightly-x86_64-unknown-linux-gnu unchanged - rustc 1.78.0-nightly (256b6fb19 2024-02-06)

info: checking for self-update

$ rustup update stable
info: syncing channel updates for ‘stable-x86_64-unknown-linux-gnu’

stable-x86_64-unknown-linux-gnu unchanged - rustc 1.75.0 (82e1608df 2023-12-21)

info: checking for self-update

$ cargo build
Compiling ahash v0.7.7
Compiling untrusted v0.9.0
Compiling indexmap v1.9.3
Compiling url v2.5.0
Compiling tracing v0.1.40
error[E0635]: unknown feature stdsimd
→ /home/josselin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ahash-0.7.7/src/lib.rs:33:42
|
33 | #![cfg_attr(feature = “stdsimd”, feature(stdsimd))]
| ^^^^^^^

For more information about this error, try rustc --explain E0635.
error: could not compile ahash (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish…

1 Like

je vous laisse finir la v0.2.4, et on restera !!

1 Like

C’est le même bug que dans la CI, il doit manquer une dépendance, je vais investiguer. La raison pour laquelle je ne vois pas le problème chez moi est que je compile sous archlinux et donc je dois avoir la dépendance manquante quelque part dans mes paquets préinstallés. Et si je te partage mon binaire, tu auras un problème de glibc trop ancienne par rapport à mon build.

+

error[E0635]: unknown feature `stdsimd` · Issue #200 · tkaitchuck/aHash · GitHub

J’ai réparé le problème en passant en Rust channel stable plutôt que nigthly, la release est disponible :

3 Likes