#16212·helix

Building from source is not working (v25.07.1)

Author: stefanfredeCreated Aug 24, 2026Updated Sep 25, 2026
LabelsC-bug

Summary

When I check out the latest release (v25.07.1), the optimized build from source stops shortly before it is finished.

Checking out master and running the build works fine.

Reproduction Steps

I tried this:

bash
git switch 25.07.1

cargo install \
   --profile opt \
   --config 'build.rustflags="-C target-cpu=native"' \
   --path helix-term \
   --locked

HEAD is now at a05c151bb Release 25.07.1
  Installing helix-term v25.7.1 (/usr/local/src/helix/helix-term)
    Updating crates.io index
   Compiling helix-loader v25.7.1 (/usr/local/src/helix/helix-loader)
   Compiling helix-stdx v25.7.1 (/usr/local/src/helix/helix-stdx)
   Compiling helix-event v25.7.1 (/usr/local/src/helix/helix-event)
   Compiling helix-lsp-types v0.95.1 (/usr/local/src/helix/helix-lsp-types)
   Compiling helix-core v25.7.1 (/usr/local/src/helix/helix-core)
   Compiling helix-term v25.7.1 (/usr/local/src/helix/helix-term)
   Compiling helix-vcs v25.7.1 (/usr/local/src/helix/helix-vcs)
   Compiling helix-dap v25.7.1 (/usr/local/src/helix/helix-dap)
Username for 'https://github.com':     Building [=======================> ] 357/367: helix-dap, helix-lsp-types, helix-core, helix-term(build), helix-vcs                                         Compiling helix-lsp v25.7.1 (/usr/local/src/helix/helix-lsp)
   Compiling helix-view v25.7.1 (/usr/local/src/helix/helix-view)
   Compiling helix-tui v25.7.1 (/usr/local/src/helix/helix-tui)
    Building [=======================> ] 364/367: helix-term(build)

The following error message appears when I stop the build:

Password for 'https://github.com': 
error: failed to run custom build command for `helix-term v25.7.1 (/usr/local/src/helix/helix-term)`

Caused by:
  process didn't exit successfully: `/usr/local/src/helix/target/opt/build/helix-term-938f8c58e1f62a1d/build-script-build` (exit status: 101)
  --- stdout
  Fetching 245 grammars
  118 up to date git grammars
  126 updated grammars
        …
  Failure 1/1: gotmpl Git command failed.
  Stdout: 
  Stderr: remote: Repository not found.
  fatal: Authentication failed for 'https://github.com/dannylongeuay/tree-sitter-go-template/'


  --- stderr
  thread 'main' panicked at helix-term/build.rs:5:26:
  Failed to fetch tree-sitter grammars: 1 grammars failed to fetch
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: failed to compile `helix-term v25.7.1 (/usr/local/src/helix/helix-term)`, intermediate artifacts can be found at `/usr/local/src/helix/target`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
helix: Failed to install binary.

Helix log

No response

Platform

Ubuntu 24.04.

Terminal Emulator

Konsole

Installation Method

source

Helix Version

25.07.1 (a05c151bb)