Bug 272467

Summary: deskutils/pueue: Fails to build with rust 1.71.0
Product: Ports & Packages Reporter: Mikael Urankar <mikael>
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (yuri)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 272449    

Description Mikael Urankar freebsd_committer freebsd_triage 2023-07-12 11:35:34 UTC
error:
error[E0170]: pattern binding `column` is named the same as one of the variants of the type `client::query::Rule`
  --> pueue/src/client/query/filters.rs:72:9
   |
72 |     let column = column.as_rule();
   |         ^^^^^^
   |
   = note: `#[deny(bindings_with_variant_name)]` on by default

The alpine guy uses this patch:
https://git.alpinelinux.org/aports/commit/community/pueue?id=6e6e3b80434f09b1ec0e777afa2c88ab526b0ba3
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-07-12 15:52:50 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=db26eed2ca205e1937a38e214d131425d51fd02c

commit db26eed2ca205e1937a38e214d131425d51fd02c
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-12 15:51:09 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-12 15:52:39 +0000

    deskutils/pueue: Fix build by adopting the patch from Alpine

    PR:             272467
    Submitted by:   mikael@FreeBSD.org

 deskutils/pueue/files/patch-fix-build (new) | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2023-07-12 15:53:04 UTC
Thanks, Mikael!

Patch committed.
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-07-12 15:53:51 UTC
A commit in branch 2023Q3 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6bf9f6876b11e360a5effbf13fe128b9bd373f69

commit 6bf9f6876b11e360a5effbf13fe128b9bd373f69
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-12 15:51:09 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-12 15:53:22 +0000

    deskutils/pueue: Fix build by adopting the patch from Alpine

    PR:             272467
    Submitted by:   mikael@FreeBSD.org

    (cherry picked from commit db26eed2ca205e1937a38e214d131425d51fd02c)

 deskutils/pueue/files/patch-fix-build (new) | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)