fixes #24720; std lib iterators unnecessarily require value copies #24723
Build #20260430.6 had test failures
Details
- Failed: 4 (0.03%)
- Passed: 4,053 (32.56%)
- Other: 8,390 (67.41%)
- Total: 12,447
Annotations
Check failure on line 4976 in Build log
azure-pipelines / nim-lang.Nim
Build log #L4976
Bash exited with code '1'.
Check failure on line 5015 in Build log
azure-pipelines / nim-lang.Nim
Build log #L5015
Bash exited with code '1'.
Check failure on line 5050 in Build log
azure-pipelines / nim-lang.Nim
Build log #L5050
Bash exited with code '1'.
Check failure on line 51366 in Build log
azure-pipelines / nim-lang.Nim
Build log #L51366
Bash exited with code '1'.
Check failure on line 1 in tests/stdlib/t20023.nim c
azure-pipelines / nim-lang.Nim
tests/stdlib/t20023.nim c
Failure: reNimcCrash
$ /home/vsts/work/1/s/bin/nim c --hints:on -d:testing --nimblePath:build/deps/pkgs2 --nimCache:nimcache/tests/stdlib/t20023.nim_4a8a08f09d37b73795649038408b5f33 tests/stdlib/t20023.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/stdlib/config.nims' [Conf]
t20023.nim(10, 1) template/generic instantiation of `doAssert` from here
../../lib/pure/collections/tables.nim(3012, 29) template/generic instantiation of `hash` from here
../../lib/pure/hashes.nim(702, 20) template/generic instantiation of `fields` from here
../../lib/system/iterators.nim(284, 34) Error: invalid type: 'lent tuple[]' in this context: 'iterator (x: (lent tuple[], lent tuple[])): RootObj{.inline, noSideEffect, gcsafe.}' for proc
Check failure on line 1 in tests/collections/ttables.nim c
azure-pipelines / nim-lang.Nim
tests/collections/ttables.nim c
Failure: reNimcCrash
$ /home/vsts/work/1/s/bin/nim c --hints:on -d:testing --nimblePath:build/deps/pkgs2 --nimCache:nimcache/tests/collections/ttables.nim_4a8a08f09d37b73795649038408b5f33 tests/collections/ttables.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]
ttables.nim(113, 10) Hint: 'hash' is declared but not used [XDeclaredButNotUsed]
ttables.nim(121, 9) Hint: 'intTables' is declared but not used [XDeclaredButNotUsed]
ttables.nim(244, 5) template/generic instantiation of `doAssert` from here
../../lib/pure/collections/sequtils.nim(946, 11) Error: invalid type: 'lent tuple[x: int, y: int]' in this context: 'seq[(lent tuple[x: int, y: int], lent string)]' for var
Check failure on line 1 in tests/collections/ttables.nim cpp
azure-pipelines / nim-lang.Nim
tests/collections/ttables.nim cpp
Failure: reNimcCrash
$ /home/vsts/work/1/s/bin/nim cpp --hints:on -d:testing --nimblePath:build/deps/pkgs2 --nimCache:nimcache/tests/collections/ttables.nim_2c5f2cba9af7f92986d3de1e753f3faa tests/collections/ttables.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]
ttables.nim(113, 10) Hint: 'hash' is declared but not used [XDeclaredButNotUsed]
ttables.nim(121, 9) Hint: 'intTables' is declared but not used [XDeclaredButNotUsed]
ttables.nim(244, 5) template/generic instantiation of `doAssert` from here
../../lib/pure/collections/sequtils.nim(946, 11) Error: invalid type: 'lent tuple[x: int, y: int]' in this context: 'seq[(lent tuple[x: int, y: int], lent string)]' for var
Check failure on line 1 in tests/stdlib/t20023.nim c
azure-pipelines / nim-lang.Nim
tests/stdlib/t20023.nim c
Failure: reNimcCrash
$ D:\a\1\s\bin\nim.exe c --hints:on -d:testing --nimblePath:build/deps/pkgs2 --nimCache:nimcache\tests\stdlib\t20023.nim_4a8a08f09d37b73795649038408b5f33 tests\stdlib\t20023.nim
Hint: used config file 'D:\a\1\s\config\nim.cfg' [Conf]
Hint: used config file 'D:\a\1\s\config\config.nims' [Conf]
Hint: used config file 'D:\a\1\s\tests\config.nims' [Conf]
Hint: used config file 'D:\a\1\s\tests\stdlib\config.nims' [Conf]
t20023.nim(10, 1) template/generic instantiation of `doAssert` from here
..\..\lib\pure\collections\tables.nim(3012, 29) template/generic instantiation of `hash` from here
..\..\lib\pure\hashes.nim(702, 20) template/generic instantiation of `fields` from here
..\..\lib\system\iterators.nim(284, 34) Error: invalid type: 'lent tuple[]' in this context: 'iterator (x: (lent tuple[], lent tuple[])): RootObj{.inline, noSideEffect, gcsafe.}' for proc