Skip to content

Build broken with rust 1.90Β #2742

@0-wiz-0

Description

@0-wiz-0

Describe the bug
After updating rust to 1.90 in pkgsrc, gitui 0.27.0 (the latest release) doesn't build any longer.

To Reproduce
Instlal rust 1.90, try building gitui 0.27.0.

Expected behavior
Build succeeds.

Screenshots
build fails:

   Compiling git2-hooks v0.4.0 (/pbulk/work/devel/gitui/work/gitui-0.27.0/git2-hooks)
error: associated constant `CREATE_NO_WINDOW` is never used
   --> git2-hooks/src/hookspath.rs:214:8
    |
205 | trait CommandExt {
    |       ---------- associated constant in this trait
...
214 |     const CREATE_NO_WINDOW: u32 = 0x0800_0000;
    |           ^^^^^^^^^^^^^^^^
    |
note: the lint level is defined here
   --> git2-hooks/src/lib.rs:16:2
    |
 16 |     dead_code,
    |     ^^^^^^^^^

error: could not compile `git2-hooks` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
*** Error code 101

Context (please complete the following information):

  • OS/Distro + Version: NetBSD 11.99.3/pkgsrc
  • GitUI Version 0.27.0
  • Rust version: 1.90
    Additional context
    n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions