gitext-rs / git2-ext

git2 Extensions
docs.rs/git2-ext
Apache License 2.0
10 stars 4 forks source link

chore(deps): update rust crate git2 to 0.18.0 - autoclosed #42

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
git2 dependencies minor 0.17.0 -> 0.18.0

Release Notes

rust-lang/git2-rs (git2) ### [`v0.18.0`](https://togithub.com/rust-lang/git2-rs/blob/HEAD/CHANGELOG.md#0180---2023-08-28) [Compare Source](https://togithub.com/rust-lang/git2-rs/compare/0.17.2...git2-0.18.0) [0.17.2...0.18.0](https://togithub.com/rust-lang/git2-rs/compare/0.17.2...git2-0.18.0) ##### Added - Added `Blame::blame_buffer` for getting blame data for a file that has been modified in memory. [#​981](https://togithub.com/rust-lang/git2-rs/pull/981) ##### Changed - Updated to libgit2 [1.7.0](https://togithub.com/libgit2/libgit2/releases/tag/v1.7.0). [#​968](https://togithub.com/rust-lang/git2-rs/pull/968) - Updated to libgit2 [1.7.1](https://togithub.com/libgit2/libgit2/releases/tag/v1.7.1). [#​982](https://togithub.com/rust-lang/git2-rs/pull/982) - Switched from bitflags 1.x to 2.1. This brings some small changes to types generated by bitflags. [#​973](https://togithub.com/rust-lang/git2-rs/pull/973) - Changed `Revwalk::with_hide_callback` to take a mutable reference to its callback to enforce type safety. [#​970](https://togithub.com/rust-lang/git2-rs/pull/970) - Implemented `FusedIterator` for many iterators that can support it. [#​955](https://togithub.com/rust-lang/git2-rs/pull/955) ##### Fixed - Fixed builds with cargo's `-Zminimal-versions`. [#​960](https://togithub.com/rust-lang/git2-rs/pull/960) ### [`v0.17.2`](https://togithub.com/rust-lang/git2-rs/blob/HEAD/CHANGELOG.md#0172---2023-05-27) [Compare Source](https://togithub.com/rust-lang/git2-rs/compare/0.17.1...0.17.2) [0.17.1...0.17.2](https://togithub.com/rust-lang/git2-rs/compare/0.17.1...0.17.2) ##### Added - Added support for stashing with options (which can support partial stashing). [#​930](https://togithub.com/rust-lang/git2-rs/pull/930) ### [`v0.17.1`](https://togithub.com/rust-lang/git2-rs/blob/HEAD/CHANGELOG.md#0171---2023-04-13) [Compare Source](https://togithub.com/rust-lang/git2-rs/compare/0.17.0...0.17.1) [0.17.0...0.17.1](https://togithub.com/rust-lang/git2-rs/compare/0.17.0...0.17.1) ##### Changed - Updated to libgit2 [1.6.4](https://togithub.com/libgit2/libgit2/releases/tag/v1.6.4). [#​948](https://togithub.com/rust-lang/git2-rs/pull/948)

Configuration

📅 Schedule: Branch creation - "before 5am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] commented 1 year ago

âš  Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

â™» Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: Cargo.lock
Command failed: docker run --rm --name=renovate_a_sidecar --label=renovate_a_child --memory=3584m -v "/tmp/worker/d4b76c/753e91/repos/github/gitext-rs/git2-ext":"/tmp/worker/d4b76c/753e91/repos/github/gitext-rs/git2-ext" -v "/tmp/worker/d4b76c/753e91/cache":"/tmp/worker/d4b76c/753e91/cache" -e CONTAINERBASE_CACHE_DIR -w "/tmp/worker/d4b76c/753e91/repos/github/gitext-rs/git2-ext" ghcr.io/containerbase/sidecar:9.19.3 bash -l -c "install-tool rust 1.72.0 && cargo update --manifest-path Cargo.toml --workspace"
    Updating crates.io index
error: failed to select a version for `libgit2-sys`.
    ... required by package `git2 v0.17.1`
    ... which satisfies dependency `git2 = "^0.17.0"` of package `git-fixture v0.3.2`
    ... which satisfies dependency `git-fixture = "^0.3.2"` of package `git2-ext v0.6.0 (/tmp/worker/d4b76c/753e91/repos/github/gitext-rs/git2-ext)`
versions that meet the requirements `^0.15.1` are: 0.15.2+1.6.4, 0.15.1+1.6.4

the package `libgit2-sys` links to the native library `git2`, but it conflicts with a previous package which links to `git2` as well:
package `libgit2-sys v0.16.1+1.7.1`
    ... which satisfies dependency `libgit2-sys = "^0.16.0"` of package `git2 v0.18.0`
    ... which satisfies dependency `git2 = "^0.18.0"` of package `git2-ext v0.6.0 (/tmp/worker/d4b76c/753e91/repos/github/gitext-rs/git2-ext)`
Only one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. Try to adjust your dependencies so that only one package uses the links ='libgit2-sys' value. For more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links.

failed to select a version for `libgit2-sys` which could resolve this conflict