Giter Site home page Giter Site logo

Couldn't install via cargo about birdy HOT 6 CLOSED

theCollectiv avatar theCollectiv commented on August 27, 2024
Couldn't install via cargo

from birdy.

Comments (6)

kakoc avatar kakoc commented on August 27, 2024 1

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

from birdy.

theCollectiv avatar theCollectiv commented on August 27, 2024

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.

from birdy.

fgau avatar fgau commented on August 27, 2024

same error here, cargo build .. works fine. thx for the tool, like it!

from birdy.

kakoc avatar kakoc commented on August 27, 2024

Hi @theCollectiv, @fgau,
I updated installation command in README.md:

cargo install birdy --locked

Please try to install with this command and confirm that it works

from birdy.

theCollectiv avatar theCollectiv commented on August 27, 2024

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.

from birdy.

theCollectiv avatar theCollectiv commented on August 27, 2024

Now it compiles and runs successfully 👍

from birdy.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.