[Bug 289015] devel/git-branchless: fails to build with rust 1.89.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 23 Aug 2025 07:31:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289015
Bug ID: 289015
Summary: devel/git-branchless: fails to build with rust 1.89.0
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: yuri@freebsd.org
Reporter: mikael@FreeBSD.org
Flags: maintainer-feedback?(yuri@freebsd.org)
Assignee: yuri@freebsd.org
I'm not able to fix the following error:
error[E0308]: `match` arms have incompatible types
-->
/wrkdirs/usr/ports/devel/git-branchless/work/git-branchless-0.10.0/cargo-crates/esl01-indexedlog-0.3.0/src/lock.rs:138:30
|
134 | / match (opts.exclusive, opts.non_blocking) {
135 | | (true, false) => file.lock_exclusive(),
| | --------------------- this is found to be
of type `std::result::Result<(), std::io::Error>`
136 | | (true, true) => file.try_lock_exclusive(),
| | ------------------------- this is found to
be of type `std::result::Result<(), std::io::Error>`
137 | | (false, false) => file.lock_shared(),
| | ------------------ this is found to be of
type `std::result::Result<(), std::io::Error>`
138 | | (false, true) => file.try_lock_shared(),
| | ^^^^^^^^^^^^^^^^^^^^^^ expected
`Result<(), Error>`, found `Result<(), TryLockError>`
139 | | }
| |_________- `match` arms have incompatible types
--
You are receiving this mail because:
You are the assignee for the bug.