Closed theCollectiv closed 9 months ago
Now I cloned the repo and build birdy locally (cargo build --release
) and it builds successfully.
I'm a bit irritated, because these should be the same versions and I expected either both ways to fail or both run successfully.
same error here, cargo build ..
works fine. thx for the tool, like it!
Hi @theCollectiv, @fgau,
I updated installation command in README.md:
https://github.com/kakoc/birdy/blob/edbc58e68205e94df31a5b5e13216dd93a8536b4/README.md?plain=1#L18
Please try to install with this command and confirm that it works
Can't confirm yet.
>> cargo instcargo install birdy --locked
Updating crates.io index
Downloaded birdy v0.1.10
Downloaded 1 crate (304.8 KB) in 0.41s
Installing birdy v0.1.10
Updating crates.io index
warning: package `ahash v0.7.6` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
warning: package `ahash v0.8.3` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
Updating crates.io index
Compiling autocfg v1.1.0
Compiling cfg-if v1.0.0
Compiling libc v0.2.147
Compiling proc-macro2 v1.0.66
Compiling unicode-ident v1.0.11
Compiling bitflags v1.3.2
Compiling pkg-config v0.3.27
Compiling once_cell v1.18.0
Compiling smallvec v1.11.0
Compiling quote v1.0.33
Compiling version_check v0.9.4
Compiling syn v2.0.31
Compiling libloading v0.8.0
Compiling log v0.4.20
Compiling scopeguard v1.2.0
Compiling dlib v0.5.2
Compiling memoffset v0.6.5
Compiling thiserror v1.0.48
Compiling getrandom v0.2.10
Compiling xml-rs v0.8.17
Compiling downcast-rs v1.2.0
Compiling scoped-tls v1.0.1
Compiling simd-adler32 v0.3.7
Compiling wayland-scanner v0.29.5
Compiling lock_api v0.4.10
Compiling num-traits v0.2.16
Compiling crossbeam-utils v0.8.16
Compiling memchr v2.6.3
Compiling bytemuck v1.13.1
Compiling memoffset v0.9.0
Compiling crc32fast v1.3.2
Compiling adler v1.0.2
Compiling miniz_oxide v0.7.1
Compiling cc v1.0.83
Compiling nix v0.24.3
Compiling thiserror-impl v1.0.48
Compiling wayland-sys v0.29.5
Compiling crossbeam-epoch v0.9.15
Compiling lazy_static v1.4.0
Compiling bitflags v2.4.0
Compiling quick-xml v0.28.2
Compiling flate2 v1.0.27
Compiling wayland-client v0.29.5
Compiling ahash v0.7.6
Compiling rayon-core v1.11.0
Compiling minimal-lexical v0.2.1
Compiling crossbeam-deque v0.8.3
Compiling nom v7.1.3
Compiling crossbeam-channel v0.5.8
Compiling wayland-commons v0.29.5
Compiling fdeflate v0.3.0
Compiling num_cpus v1.16.0
Compiling memoffset v0.7.1
Compiling png v0.17.10
error[E0635]: unknown feature `stdsimd`
--> /home/censored/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ahash-0.7.6/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...
error: failed to compile `birdy v0.1.10`, intermediate artifacts can be found at `/tmp/cargo-installvd5Nyo`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
Can't confirm yet.
>> cargo instcargo install birdy --locked Updating crates.io index Downloaded birdy v0.1.10 Downloaded 1 crate (304.8 KB) in 0.41s Installing birdy v0.1.10 Updating crates.io index warning: package `ahash v0.7.6` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked warning: package `ahash v0.8.3` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked Updating crates.io index Compiling autocfg v1.1.0 Compiling cfg-if v1.0.0 Compiling libc v0.2.147 Compiling proc-macro2 v1.0.66 Compiling unicode-ident v1.0.11 Compiling bitflags v1.3.2 Compiling pkg-config v0.3.27 Compiling once_cell v1.18.0 Compiling smallvec v1.11.0 Compiling quote v1.0.33 Compiling version_check v0.9.4 Compiling syn v2.0.31 Compiling libloading v0.8.0 Compiling log v0.4.20 Compiling scopeguard v1.2.0 Compiling dlib v0.5.2 Compiling memoffset v0.6.5 Compiling thiserror v1.0.48 Compiling getrandom v0.2.10 Compiling xml-rs v0.8.17 Compiling downcast-rs v1.2.0 Compiling scoped-tls v1.0.1 Compiling simd-adler32 v0.3.7 Compiling wayland-scanner v0.29.5 Compiling lock_api v0.4.10 Compiling num-traits v0.2.16 Compiling crossbeam-utils v0.8.16 Compiling memchr v2.6.3 Compiling bytemuck v1.13.1 Compiling memoffset v0.9.0 Compiling crc32fast v1.3.2 Compiling adler v1.0.2 Compiling miniz_oxide v0.7.1 Compiling cc v1.0.83 Compiling nix v0.24.3 Compiling thiserror-impl v1.0.48 Compiling wayland-sys v0.29.5 Compiling crossbeam-epoch v0.9.15 Compiling lazy_static v1.4.0 Compiling bitflags v2.4.0 Compiling quick-xml v0.28.2 Compiling flate2 v1.0.27 Compiling wayland-client v0.29.5 Compiling ahash v0.7.6 Compiling rayon-core v1.11.0 Compiling minimal-lexical v0.2.1 Compiling crossbeam-deque v0.8.3 Compiling nom v7.1.3 Compiling crossbeam-channel v0.5.8 Compiling wayland-commons v0.29.5 Compiling fdeflate v0.3.0 Compiling num_cpus v1.16.0 Compiling memoffset v0.7.1 Compiling png v0.17.10 error[E0635]: unknown feature `stdsimd` --> /home/censored/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ahash-0.7.6/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... error: failed to compile `birdy v0.1.10`, intermediate artifacts can be found at `/tmp/cargo-installvd5Nyo`. To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
Even though I didn't reproduce that failure I eliminated the following warning:
warning: package `ahash v0.7.6` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
warning: package `ahash v0.8.3` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
which apparently triggered:
error[E0635]: unknown feature `stdsimd`
--> /home/censored/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ahash-0.7.6/src/lib.rs:33:42
|
33 | #![cfg_attr(feature = "stdsimd", feature(stdsimd))]
| ^^^^^^^
So can you please try one more time?:
cargo install birdy --locked
Now it compiles and runs successfully :+1:
I tried to install birdy via cargo, but it failed: