internal error: all custom parameters must have var_ids
Author: Paul-16098Created Aug 31, 2026Updated Sep 15, 2026
Labelsstatus:needs-triage
Bug report form
- I have done a basic search of the issue tracker to find any existing issues that are similar.
- I have checked that my version is at least the latest stable release available via my installation method.
Describe the bug
Error: × Main thread panicked.
├─▶ at crates\nu-engine\src\eval.rs:196:18
╰─▶ internal error: all custom parameters must have var_ids
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: <unknown>
12: <unknown>
13: git_trace_set
14: git_trace_set
15: <unknown>
16: <unknown>
17: <unknown>
18: <unknown>
19: <unknown>
20: <unknown>
21: <unknown>
22: <unknown>
23: <unknown>
24: <unknown>
25: <unknown>
26: <unknown>
27: <unknown>
28: <unknown>
29: <unknown>
30: <unknown>
31: git_trace_set
32: BaseThreadInitThunk
33: RtlUserThreadStartHow to reproduce
'export def main [--a --b] {}'|save -f test.nu
RUST_BACKTRACE=1 nu -n -c "run test.nu -- --help"Expected behavior
show help message
Configuration
| key | value |
|---|---|
| version | 0.115.2 |
| major | 0 |
| minor | 115 |
| patch | 2 |
| branch | master |
| commit_hash | baaba71de9dd58fe8b6a396d3ef106e093ee6149 |
| build_os | windows-x86_64 |
| build_target | x86_64-pc-windows-msvc |
| rust_version | rustc 1.100.0-nightly (17fd5b8a3 2026-08-28) |
| rust_channel | nightly-x86_64-pc-windows-msvc |
| cargo_version | cargo 1.100.0-nightly (e8cb624d5 2026-08-22) |
| build_time | 2026-08-30 11:13:06 +08:00 |
| build_rust_channel | release |
| allocator | standard |
| features | default, full, lsp, mcp, network, plugin, rustls-tls, sqlite, system-clipboard, trash-support |
| installed_plugins | dns 4.0.13-alpha.1, endecode 0.114.1, file 0.27.0, formats 0.115.2, polars 0.115.2, query 0.115.2, query_git 0.25.0, regex 0.24.0, to_gui 0.1.0 |
| experimental_options | example=false, dc-glob=false, reorder-cell-paths=true, pipefail=true, enforce-runtime-annotations=true, native-clip=true, cell-path-types=true, background-completions=true |
Source: nushell/nushell