Skip to content

Missing crates.io version for gerust 0.0.7 #287

@TheJanzap

Description

@TheJanzap

I've attempted to install Gerust on Linux and Windows with Cargo 1.94 and 1.93.1 and have gotten the error seen below.

> cargo -V
cargo 1.94.0 (85eff7c80 2026-01-15)
> cargo install gerust
... snip ...
   Compiling liquid v0.26.11
   Compiling git2 v0.20.4
   Compiling gerust v0.0.6
error[E0277]: the trait bound `Git2: vergen_lib::entries::Add` is not satisfied
   --> /home/me/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/gerust-0.0.6/build.rs:9:27
    |
  9 |         .add_instructions(&Git2Builder::all_git()?)?
    |                           ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `vergen_lib::entries::Add` is not implemented for `Git2`
    |
note: there are multiple different versions of crate `vergen_lib` in the dependency graph
   --> /home/me/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/vergen-lib-9.1.0/src/entries.rs:45:1
    |
 45 | pub trait Add {
    | ^^^^^^^^^^^^^ this is the expected trait
    |
   ::: /home/me/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/vergen-lib-0.1.6/src/entries.rs:45:1
    |
 45 | pub trait Add {
    | ------------- this is the found trait
    = help: you can use `cargo tree` to explore your dependency tree
help: the trait `vergen_lib::entries::Add` is implemented for `Build`
   --> /home/me/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/vergen-9.1.0/src/feature/build.rs:252:1
    |
252 | impl AddEntries for Build {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^
    = note: required for the cast from `&Git2` to `&dyn vergen_lib::entries::Add`

For more information about this error, try `rustc --explain E0277`.
error: could not compile `gerust` (build script) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `gerust v0.0.6`, intermediate artifacts can be found at `/tmp/cargo-installJncUfa`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions