The beautiful world of uncontained dependencies:

- We restrict mockall to 0.11.0, which in practice currently expands to
  0.11.4,

- mockall depends on predicates-tree,

- predicates-tree depends on predicates-core,

- approx. two weeks ago, predicates-tree and predicates-core have seen
  *PATCHLEVEL* upgrades (1.0.7 -> 1.0.9, and 1.0.5 -> 1.0.6, respectively)
  that now require "rustc 1.64.0 or newer".

RHEL-9.2 will eventually ship rustc 1.66, but RHEL-9.2 has not been
released. The above rustc requirement bump breaks the nbdkit build on
RHEL-9.1 -- which provides rustc 1.62. Restrict predicates-{tree,core} to
{1.0.7,1.0.5}.

(Side commentary: when such things can happen via a *patchlevel* upgrade,
that makes a total mockery of "semantic versioning"
<https://en.wikipedia.org/wiki/Software_versioning#Semantic_versioning>.)

Signed-off-by: Laszlo Ersek <ler...@redhat.com>
---
 plugins/rust/Cargo.toml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/plugins/rust/Cargo.toml b/plugins/rust/Cargo.toml
index 45d8a755e6e3..64ed193a0008 100644
--- a/plugins/rust/Cargo.toml
+++ b/plugins/rust/Cargo.toml
@@ -29,6 +29,8 @@ errno = "0.2.5"
 lazy_static = "1.2.0"
 memoffset = "0.6.3"
 mockall = "0.11.0"
+predicates-core = "=1.0.5"
+predicates-tree = "=1.0.7"
 
 [[example]]
 name = "ramdisk"
_______________________________________________
Libguestfs mailing list
Libguestfs@redhat.com
https://listman.redhat.com/mailman/listinfo/libguestfs

Reply via email to