Skip to content

bindgen v0.61.0 has no binaries #11249

@al-cheb

Description

@al-cheb

Problem

Unable to install latest bindgen version due to missing binaries:

Ubuntu:

==> azure-arm:     Updating crates.io index
==> azure-arm:  Downloading crates ...
==> azure-arm:   Downloaded bindgen v0.61.0
==> azure-arm: warning: no Cargo.lock file published in bindgen v0.61.0
==> azure-arm: error: there is nothing to install in `bindgen v0.61.0`, because it has no binaries
==> azure-arm: `cargo install` is only for installing programs, and can't be used with libraries.
==> azure-arm: To use a library crate, add it as a dependency in a Cargo project instead.

Windows:

==> vhd:     Updating crates.io index
==> vhd:  Downloading crates ...
==> vhd:   Downloaded bindgen v0.61.0
==> vhd: warning: no Cargo.lock file published in bindgen v0.61.0
==> vhd: error: there is nothing to install in `bindgen v0.61.0`, because it has no binaries
==> vhd: `cargo install` is only for installing programs, and can't be used with libraries.
==> vhd: To use a library crate, add it as a dependency in a Cargo project instead.

Steps

cargo install bindgen

Possible Solution(s)

bindgen v0.60.1

Notes

No response

Version

cargo 1.64.0 (387270bc7 2022-09-16)
release: 1.64.0
commit-hash: 387270bc7f446d17869c7f208207c73231d6a2
commit-date: 2022-09-1
host: x86_64-unknown-linux-gnu
libgit2: 1.4.2 (sys:0.14.2 vendored)
libcurl: [7]3.1-DEV (sys:0.4.55+curl-7.83.1 vendored ssl:OpenSSL/1.1.1q)
os: Ubuntu 20.04 (focal) [64-bit]

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions