Skip to content

cargo-llvm-cov 0.9.0 check phase fails (llvm-profdata merge) — blocks fleet switch attempt 3 #5275

Closed

Description

@dezren39

Fleet switch attempt 3 (2026-11-03 21:40 CST, log /home/user/switch-20261103-214031.log, SWITCH_EXIT=1) failed building the amd toplevel. Generation remains the 2026-11-01 build; nothing activated.

Root failure (only one; cutter is fixed — PR #5270 / #5269 verified in the same build)

/nix/store/c5c558jcnfk92plzbs6ypc0g945wr160-cargo-llvm-cov-0.9.0.drv — its own check phase: cargo test runs 23 integration tests, 14 fail (bin_crate, build_dir, cargo_config, clean_profraw_only, clean_ws, instantiations, issue303, issue361, merge_failure_mode_all, no_test, open_report, real1, virtual1, workspace_with_bin), 6 pass. Failure signature inside the tests:

error: no profile can be merged
error: failed to merge profile data: process didn't exit successfully: /nix/store/k64biv9gacgcpj7jhb11kns8y6ln48qr-llvm-22.1.8/bin/llvm-profdata merge -sparse ... (exit status: 1)

i.e. cargo-llvm-cov 0.9.0's test suite cannot merge the profraw its toolchain emits — an upstream/package-vs-pinned-LLVM (22.1.8) incompatibility at the code flake's current nixpkgs pin (toplevel evaluates as 26.11.20261102.f9887a8), not a local config error. NOT a silence-kill: the tests ran and failed in ~6s.

Cascade (all "1 dependency failed")

  • cargo-llvm-cov-0.9.0_fish-completions
  • man-paths
  • system-path
  • nixos-system-amd toplevel drv n9ygf1qqa9a8yc6blaiq6qlkwi726za3

Fix directions (owning line's call)

Overlay cargo-llvm-cov with doCheck = false (matches the existing zulip-term / mise / neovim overlay precedent in nixos/nixpkgs/default.nix and nixos/environment/default.nix — package stays in the system), or align the LLVM used by the package with the profraw format its rustc emits. Until one lands, every fleet switch attempt fails at this derivation.

Activity

  1. added 2 commits that reference this issue on Nov 4, 2026
  2. dezren39 commented on Nov 4, 2026

    @dezren39
    MemberAuthor

    Fixed by PR #5278 (merged 85c0e0b): overlay cargo-llvm-cov with doCheck = false in nixos/environment/default.nix, following the zulip-term/mise precedent, comment cites this issue + the llvm-22.1.8 profraw merge mismatch. Package remains in the system.

    Proof on the laptop:

    • nix build .#nixosConfigurations.amd.pkgs.cargo-llvm-cov green → /nix/store/9q57z05158y2yfmxyvrcadw8j3nxfs0n-cargo-llvm-cov-0.9.0 (check phase skipped, binary produced).
    • The FULL amd toplevel then built green end-to-end from origin/main @ 85c0e0b (which includes this fix): exit 0, toplevel /nix/store/4mv2dp8rh5fqwgrnvh8210xkk9ys0awa-nixos-system-amd-26.11.20261102.f9887a8 realised — the cargo-llvm-cov → fish-completions → man-paths → system-path cascade is gone.

    Closing this issue. NOTE: the switch itself is now blocked by a separate, NEW first-party failure that arrived with later main drift (pkgs/id cli_integration test) — filed as #5374; the switch launches once that is green.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions