[Pkg-rust-maintainers] Bug#1077858: rust-debian-analyzer FTBFS: error[E0277]: the trait bound `Result<RevisionTree, breezyshim::error::Error>: Tree` is not satisfied

Adrian Bunk bunk at debian.org
Sat Aug 3 14:32:25 BST 2024


Source: rust-debian-analyzer
Version: 0.158.3-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/logs.php?pkg=rust-debian-analyzer&ver=0.158.3-1

...
error[E0277]: the trait bound `Result<RevisionTree, breezyshim::error::Error>: Tree` is not satisfied
  --> src/publish.rs:72:26
   |
72 |     check_clean_tree(wt, &wt.basis_tree(), subpath).unwrap();
   |                          ^^^^^^^^^^^^^^^^ the trait `Tree` is not implemented for `Result<RevisionTree, breezyshim::error::Error>`
   |
   = help: the following other types implement trait `Tree`:
             AppliedPatches
             MemoryTree
             PreviewTree
             RevisionTree
             WorkingTree
   = note: required for the cast from `&Result<RevisionTree, breezyshim::error::Error>` to `&dyn Tree`
...



More information about the Pkg-rust-maintainers mailing list