Skip to content

warning when installing 0.59.2 with cargo install --locked, which 4.2.1 is yanked. #2181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lopopolo opened this issue Mar 26, 2022 · 1 comment · Fixed by #2212
Closed

Comments

@lopopolo
Copy link
Contributor

bindgen 0.59.2 is published to crates.io with which 4.2.1 in its Cargo.lock which is yanked:

Would the maintainers be willing to run cargo update -p which or update the minimum version for which in Cargo.toml and publish a point release?

$ cargo install --root target/bindgen --version 0.59.2 --locked bindgen
    Updating crates.io index
  Installing bindgen v0.59.2
warning: package `which v4.2.1` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
  Downloaded nom v7.0.0
  Downloaded which v4.2.1
  Downloaded minimal-lexical v0.1.4
  Downloaded 3 crates (223.9 KB) in 1.00s
   Compiling libc v0.2.98
   Compiling memchr v2.3.4
   Compiling cfg-if v1.0.0
   Compiling glob v0.3.0
   Compiling version_check v0.9.3
   Compiling bitflags v1.2.1
   Compiling proc-macro2 v1.0.28
   Compiling log v0.4.14
   Compiling unicode-width v0.1.8
   Compiling unicode-xid v0.2.2
   Compiling minimal-lexical v0.1.4
   Compiling regex-syntax v0.6.25
   Compiling strsim v0.8.0
   Compiling ansi_term v0.11.0
   Compiling bindgen v0.59.2
   Compiling termcolor v1.1.2
   Compiling humantime v2.1.0
   Compiling vec_map v0.8.2
   Compiling either v1.6.1
   Compiling lazycell v1.3.0
   Compiling shlex v1.0.0
   Compiling peeking_take_while v0.1.2
   Compiling lazy_static v1.4.0
   Compiling rustc-hash v1.1.0
   Compiling libloading v0.7.0
   Compiling textwrap v0.11.0
   Compiling nom v7.0.0
   Compiling clang-sys v1.2.0
   Compiling aho-corasick v0.7.15
   Compiling quote v1.0.9
   Compiling atty v0.2.14
   Compiling which v4.2.1
   Compiling clap v2.33.3
   Compiling regex v1.4.6
   Compiling env_logger v0.9.0
   Compiling cexpr v0.6.0
    Finished release [optimized] target(s) in 24.07s
  Installing target/bindgen/bin/bindgen
   Installed package `bindgen v0.59.2` (executable `bindgen`)
warning: be sure to add `target/bindgen/bin` to your PATH to be able to run the installed binaries
kulp added a commit to kulp/rust-bindgen that referenced this issue Jun 2, 2022
@kulp
Copy link
Member

kulp commented Jun 2, 2022

Thanks for the report. This can be fixed by #2212, and maybe it can make it into the a release within the next week or so (#2209).

@kulp kulp closed this as completed in #2212 Jun 4, 2022
kulp added a commit that referenced this issue Jun 4, 2022
aatifsyed pushed a commit to aatifsyed/rust-bindgen that referenced this issue Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants