fixes #25591; error with capture in closure iterator #25841
+15
−0
Draft
Azure Pipelines / nim-lang.Nim
failed
May 29, 2026 in 1h 10m 25s
Build #20260529.2 had test failures
Details
- Failed: 1 (0.01%)
- Passed: 4,116 (32.69%)
- Other: 8,474 (67.30%)
- Total: 12,591
Annotations
Check failure on line 51431 in Build log
azure-pipelines / nim-lang.Nim
Build log #L51431
Bash exited with code '1'.
Check failure on line 5021 in Build log
azure-pipelines / nim-lang.Nim
Build log #L5021
Bash exited with code '1'.
Check failure on line 4742 in Build log
azure-pipelines / nim-lang.Nim
Build log #L4742
Bash exited with code '1'.
Check failure on line 1 in tests/async/tnimcall_to_closure.nim c
azure-pipelines / nim-lang.Nim
tests/async/tnimcall_to_closure.nim c
Failure: reNimcCrash
$ /home/vsts/work/1/s/bin/nim c --hints:on -d:testing --nimblePath:build/deps/pkgs2 --nimCache:nimcache/tests/async/tnimcall_to_closure.nim_4a8a08f09d37b73795649038408b5f33 tests/async/tnimcall_to_closure.nim
Hint: used config file '/home/vsts/work/1/s/config/nim.cfg' [Conf]
Hint: used config file '/home/vsts/work/1/s/config/config.nims' [Conf]
Hint: used config file '/home/vsts/work/1/s/tests/config.nims' [Conf]
Hint: used config file '/home/vsts/work/1/s/tests/async/nim.cfg' [Conf]
tnimcall_to_closure.nim(14, 7) Hint: 'nameIterVar' is declared but not used [XDeclaredButNotUsed]
CC: system/exceptions.nim
CC: std/private/digitsutils.nim
CC: std/assertions.nim
CC: std/objectdollar.nim
CC: system/dollars.nim
CC: system.nim
CC: strutils.nim
CC: times.nim
CC: std/envvars.nim
CC: std/cmdline.nim
CC: asyncfutures.nim
CC: nativesockets.nim
CC: asyncdispatch.nim
CC: tnimcall_to_closure.nim
/home/vsts/work/1/s/nimcache/tests/async/tnimcall_to_closure.nim_4a8a08f09d37b73795649038408b5f33/@mtnimcall_to_closure.nim.c: In function ‘retrFileIter__tnimcall95to95closure_u24’:
/home/vsts/work/1/s/nimcache/tests/async/tnimcall_to_closure.nim_4a8a08f09d37b73795649038408b5f33/@mtnimcall_to_closure.nim.c:511:46: error: ‘onProgressChanged_p0’ undeclared (first use in this function)
511 | T5_.ClP_0 = ((TM__onMmbzO7Tcr2S8x1oqI0AQ_7) (onProgressChanged_p0));
| ^~~~~~~~~~~~~~~~~~~~
/home/vsts/work/1/s/nimcache/tests/async/tnimcall_to_closure.nim_4a8a08f09d37b73795649038408b5f33/@mtnimcall_to_closure.nim.c:511:46: note: each undeclared identifier is reported only once for each function it appears in
Error: execution of an external compiler program 'gcc -c -w -fmax-errors=3 -fno-strict-aliasing -pthread -I/home/vsts/work/1/s/lib -I/home/vsts/work/1/s/tests/async -o /home/vsts/work/1/s/nimcache/tests/async/tnimcall_to_closure.nim_4a8a08f09d37b73795649038408b5f33/@mtnimcall_to_closure.nim.c.o /home/vsts/work/1/s/nimcache/tests/async/tnimcall_to_closure.nim_4a8a08f09d37b73795649038408b5f33/@mtnimcall_to_closure.nim.c' failed with exit code: 1
Loading