tests: add a few tests #35
compatibility.yml
on: push
Build binaries with most recent GCC version
15m 7s
Matrix: test
All C compatibility tests passed
0s
Annotations
23 errors and 30 warnings
|
Test the compiler and standard library (Batch 0)
cannot pass borrow of global to side-effectful routine [rsemIllegalParamterBorrow]
|
|
Test the compiler and standard library (Batch 0)
cannot pass borrow of global to side-effectful routine [rsemIllegalParamterBorrow]
|
|
Test the compiler and standard library (Batch 0)
invalid type: 'var openArray[int]' for var
|
Test the compiler and standard library (Batch 0):
tests/lang/s06_experimental/s01_views/s00_bugs/t02_borrow_literal.nim c#L1
Category: lang
Name: tests/lang/s06_experimental/s01_views/s00_bugs/t02_borrow_literal.nim c
Action: reject
Result: reUnexpectedSuccess
-------- Expected -------
--------- Given --------
-------------------------
|
Test the compiler and standard library (Batch 0):
tests/lang/s06_experimental/s01_views/s01_path_expressions/t02_container_borrow_fail.nim c#L1
Category: lang
Name: tests/lang/s06_experimental/s01_views/s01_path_expressions/t02_container_borrow_fail.nim c
Action: reject
Result: reMsgsDiffer
-------- Expected -------
cannot borrow view; what it borrows from is potentially mutated
--------- Given --------
illegal borrow
-------------------------
|
Test the compiler and standard library (Batch 0):
tests/lang/s06_experimental/s01_views/s01_path_expressions/t03_tuple_borrow_fail.nim c#L1
Category: lang
Name: tests/lang/s06_experimental/s01_views/s01_path_expressions/t03_tuple_borrow_fail.nim c
Action: reject
Result: reMsgsDiffer
-------- Expected -------
cannot borrow view; what it borrows from is potentially mutated
--------- Given --------
illegal borrow
-------------------------
|
Test the compiler and standard library (Batch 0):
tests/lang/s06_experimental/s01_views/s01_path_expressions/t07_addr_borrow_fail.nim c#L1
Category: lang
Name: tests/lang/s06_experimental/s01_views/s01_path_expressions/t07_addr_borrow_fail.nim c
Action: reject
Result: reUnexpectedSuccess
-------- Expected -------
--------- Given --------
-------------------------
|
Test the compiler and standard library (Batch 0)
Process completed with exit code 1.
|
Test the compiler and standard library (Batch 1):
tests/lang/s06_experimental/s01_views/s01_path_expressions/t01_trivial_borrow_fail.nim c#L1
Category: lang
Name: tests/lang/s06_experimental/s01_views/s01_path_expressions/t01_trivial_borrow_fail.nim c
Action: reject
Result: reMsgsDiffer
-------- Expected -------
'view' borrows from location 'source' which does not live long enough
--------- Given --------
illegal borrow
-------------------------
|
Test the compiler and standard library (Batch 1):
tests/lang/s06_experimental/s01_views/s01_path_expressions/t04_field_borrow_fail.nim c#L1
Category: lang
Name: tests/lang/s06_experimental/s01_views/s01_path_expressions/t04_field_borrow_fail.nim c
Action: reject
Result: reMsgsDiffer
-------- Expected -------
cannot borrow view; what it borrows from is potentially mutated
--------- Given --------
illegal borrow
-------------------------
|
Test the compiler and standard library (Batch 1):
tests/lang/s06_experimental/s01_views/s01_path_expressions/t05_to_openarray_borrow_fail.nim c#L1
Category: lang
Name: tests/lang/s06_experimental/s01_views/s01_path_expressions/t05_to_openarray_borrow_fail.nim c
Action: reject
Result: reMsgsDiffer
-------- Expected -------
cannot borrow view; what it borrows from is potentially mutated
--------- Given --------
illegal borrow
-------------------------
|
Test the compiler and standard library (Batch 1):
tests/lang/s06_experimental/s01_views/s01_path_expressions/t06_pointer_deref_borrow_fail.nim c#L1
Category: lang
Name: tests/lang/s06_experimental/s01_views/s01_path_expressions/t06_pointer_deref_borrow_fail.nim c
Action: reject
Result: reMsgsDiffer
-------- Expected -------
'view' borrows from location 'source' which does not live long enough
--------- Given --------
cannot borrow from expression: source[]
-------------------------
|
Test the compiler and standard library (Batch 1):
tests/lang/s06_experimental/s01_views/s01_path_expressions/t08_type_conversion_borrow_fail.nim c#L1
Category: lang
Name: tests/lang/s06_experimental/s01_views/s01_path_expressions/t08_type_conversion_borrow_fail.nim c
Action: reject
Result: reMsgsDiffer
-------- Expected -------
'view' borrows from location 'source' which does not live long enough
--------- Given --------
cannot borrow from expression: int32(source)
-------------------------
|
Test the compiler and standard library (Batch 1):
tests/lang/s06_experimental/s01_views/s01_path_expressions/t09_proc_param_borrow_fail.nim c#L1
Category: lang
Name: tests/lang/s06_experimental/s01_views/s01_path_expressions/t09_proc_param_borrow_fail.nim c
Action: reject
Result: reMsgsDiffer
-------- Expected -------
cannot borrow view; what it borrows from is potentially mutated
--------- Given --------
cannot create mutable view from immutable path 'borrowArg(source)'
-------------------------
|
Test the compiler and standard library (Batch 1):
tests/lang/s06_experimental/s01_views/t01_array_fail_sealed_borrow.nim c#L1
Category: lang
Name: tests/lang/s06_experimental/s01_views/t01_array_fail_sealed_borrow.nim c
Action: reject
Result: reMsgsDiffer
-------- Expected -------
cannot borrow view; what it borrows from is potentially mutated
--------- Given --------
illegal borrow
-------------------------
|
|
Test the compiler and standard library (Batch 1):
lib/system/strs_v2.nim#L177
cannot pass borrow of global to side-effectful routine [rsemIllegalParamterBorrow]
|
Test the compiler and standard library (Batch 1):
tests/lang_experimental/views/tdont_mutate.nim c#L1
Category: lang_experimental
Name: tests/lang_experimental/views/tdont_mutate.nim c
Action: reject
Result: reMsgsDiffer
-------- Expected -------
tests/lang_experimental/views/tdont_mutate.nim(12) Error: 'result' borrows from the immutable location 's' and attempts to mutate it
--------- Given --------
tdont_mutate.nim(12, 12) Error: invalid type: 'openArray[char]' in this context: 'proc (s: string, seps: set[char], maxsplit: int): Table[system.int, openArray[char]]' for proc
tdont_mutate.nim(17, 43) template/generic instantiation of `initTable` from here
/home/runner/work/nimskull/nimskull/lib/pure/collections/tables.nim(284, 11) template/generic instantiation of `initImpl` from here
/home/runner/work/nimskull/nimskull/lib/system/seqs_v2.nim(164, 9) template/generic instantiation of `shrink` from here
/home/runner/work/nimskull/nimskull/lib/system/seqs_v2.nim(84, 11) template/generic instantiation of `setLen` from here
/home/runner/work/nimskull/nimskull/lib/system/seqs_v2.nim(148, 18) template/generic instantiation of `len` from here
/home/runner/work/nimskull/nimskull/lib/system.nim(738, 13) Error: invalid type: 'openArray[char]' in this context: 'proc (x: seq[KeyValuePair[system.int, openArray[char]]]): int{.noSideEffect, gcsafe, locks: 0.}' for proc
tdont_mutate.nim(17, 43) template/generic instantiation of `initTable` from here
/home/runner/work/nimskull/nimskull/lib/pure/collections/tables.nim(284, 11) template/generic instantiation of `initImpl` from here
/home/runner/work/nimskull/nimskull/lib/system/seqs_v2.nim(164, 9) template/generic instantiation of `shrink` from here
/home/runner/work/nimskull/nimskull/lib/system/seqs_v2.nim(84, 11) template/generic instantiation of `setLen` from here
/home/runner/work/nimskull/nimskull/lib/system/seqs_v2.nim(161, 24) template/generic instantiation of `prepareSeqSlots` from here
/home/runner/work/nimskull/nimskull/lib/system/seqs_v2.nim(141, 27) template/generic instantiation of `default` from here
/home/runner/work/nimskull/nimskull/lib/system.nim(960, 3) Warning: Cannot prove that 'result' is initialized. This will become a compile time error in the future. [ProveInit]
tdont_mutate.nim(17, 43) template/generic instantiation of `initTable` from here
/home/runner/work/nimskull/nimskull/lib/pure/collections/tables.nim(284, 11) template/generic instantiation of `initImpl` from here
/home/runner/work/nimskull/nimskull/lib/system/seqs_v2.nim(164, 9) template/generic instantiation of `shrink` from here
/home/runner/work/nimskull/nimskull/lib/system/seqs_v2.nim(84, 11) template/generic instantiation of `setLen` from here
/home/runner/work/nimskull/nimskull/lib/system/seqs_v2.nim(161, 24) template/generic instantiation of `prepareSeqSlots` from here
/home/runner/work/nimskull/nimskull/lib/system/seqs_v2.nim(141, 27) Warning: The 'KeyValuePair[system.int, openArray[char]]' type doesn't have a valid default value [UnsafeDefault]
tdont_mutate.nim(17, 43) template/generic instantiation of `initTable` from here
/home/runner/work/nimskull/nimskull/lib/pure/collections/tables.nim(284, 11) template/generic instantiation of `initImpl` from here
/home/runner/work/nimskull/nimskull/lib/system/seqs_v2.nim(164, 9) template/generic instantiation of `shrink` from here
/home/runner/work/nimskull/nimskull/lib/system/seqs_v2.nim(84, 11) template/generic instantiation of `setLen` from here
/home/runner/work/nimskull/nimskull/lib/system.nim(981, 16) Error: invalid type: 'openArray[char]' in this context: 'proc (s: var seq[KeyValuePair[system.int, openArray[char]]], newlen: Natural){.noSideEffect, gcsafe, locks: <unknown>.}' for proc
tdont_mutate.nim(17, 43) template/generic instantiation of `initTable` from here
/home/runner/work/nimskull/nimskull/lib/pure/collections/tables.nim(284, 11) template/generic instantiation of `initImpl` from here
/home/runner/work/nimskull/nimskull/lib/system/seqs_v2.nim(164, 9) template/generic instantiation of `shrink` from here
/home/runner/work/nimskull/nimskull/lib/system/seqs_v2.nim(84, 11) Warning: setLen can potentially expand the sequence, but the element type 'K
|
Test the compiler and standard library (Batch 1)
Process completed with exit code 1.
|
All C compatibility tests passed
Process completed with exit code 1.
|
Build binaries with most recent GCC version:
compiler/utils/astrepr.nim#L1202
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
|
Build binaries with most recent GCC version:
compiler/utils/astrepr.nim#L1206
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
|
Build binaries with most recent GCC version:
compiler/utils/astrepr.nim#L1216
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
|
Build binaries with most recent GCC version:
compiler/utils/astrepr.nim#L1234
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
|
Build binaries with most recent GCC version:
compiler/utils/astrepr.nim#L1252
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
|
Build binaries with most recent GCC version:
compiler/utils/astrepr.nim#L1257
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
|
Build binaries with most recent GCC version:
compiler/utils/astrepr.nim#L1262
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
|
Build binaries with most recent GCC version:
compiler/utils/astrepr.nim#L1266
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
|
Build binaries with most recent GCC version:
compiler/utils/astrepr.nim#L1317
DEBUG proc, do not use in the final build!; inDebug is deprecated [Deprecated]
|
Build binaries with most recent GCC version:
compiler/sem/transf.nim#L1311
workaround for sem not sanitizing AST; transformDefSym is deprecated [Deprecated]
|
Test the compiler and standard library (Batch 0):
tests/ambsym/mresolution_identifier_2.nim#L1
imported and not used: 'mresolution_identifier_2_copy' [UnusedImport]
|
Test the compiler and standard library (Batch 0):
tests/ambsym/mresolution_identifier_1.nim#L1
imported and not used: 'mresolution_identifier_2' [UnusedImport]
|
Test the compiler and standard library (Batch 0):
tests/assign/tassign.nim#L84
type pragmas follow the type name; this form of writing pragmas is deprecated [rparPragmaNotFollowingTypeName]
|
Test the compiler and standard library (Batch 0):
tests/ccgbugs/tccgen1.nim#L10
type pragmas follow the type name; this form of writing pragmas is deprecated [rparPragmaNotFollowingTypeName]
|
Test the compiler and standard library (Batch 0):
tests/ccgbugs/tmissingbracket.nim#L14
type pragmas follow the type name; this form of writing pragmas is deprecated [rparPragmaNotFollowingTypeName]
|
Test the compiler and standard library (Batch 0):
compiler/front/msgs.nim#L696
non-untyped param must not appear after an untyped param [rsemUntypedParamsFollwedByMoreSpecificType]
|
Test the compiler and standard library (Batch 0):
tests/global/tglobal.nim#L9
imported and not used: 'globalaux2' [UnusedImport]
|
Test the compiler and standard library (Batch 0):
tests/lang/s01_basics/s99_atoms/t02_expression.nim#L102
unreachable code after 'return' statement or '{.noReturn.}' proc [UnreachableCode]
|
Test the compiler and standard library (Batch 0):
tests/lang/s01_basics/s99_control_flow/t06_procedure_calls.nim#L112
unreachable code after 'return' statement or '{.noReturn.}' proc [UnreachableCode]
|
Test the compiler and standard library (Batch 0):
tests/lang_callable/closure/mutils.nim#L10
non-untyped param must not appear after an untyped param [rsemUntypedParamsFollwedByMoreSpecificType]
|
Test the compiler and standard library (Batch 1):
tests/ccgbugs/ttypeinfo1.nim#L5
imported and not used: 'typeinfo' [UnusedImport]
|
Test the compiler and standard library (Batch 1):
tests/defaultprocparam/tdefaultprocparam.nim#L86
Deprecated since v1.4; there should not be `high(value)`. Use `high(type)`.; high is deprecated [Deprecated]
|
|
|
Test the compiler and standard library (Batch 1):
tests/lang_callable/closure/mutils.nim#L10
non-untyped param must not appear after an untyped param [rsemUntypedParamsFollwedByMoreSpecificType]
|
Test the compiler and standard library (Batch 1):
tests/lang_callable/iter/titer2.nim#L18
imported and not used: 'hashes' [UnusedImport]
|
Test the compiler and standard library (Batch 1):
tests/lang_callable/macros/tgettypeinst.nim#L196
type pragmas follow the type name; this form of writing pragmas is deprecated [rparPragmaNotFollowingTypeName]
|
Test the compiler and standard library (Batch 1):
tests/lang_callable/macros/tgettypeinst.nim#L203
type pragmas follow the type name; this form of writing pragmas is deprecated [rparPragmaNotFollowingTypeName]
|
Test the compiler and standard library (Batch 1):
tests/lang_callable/macros/tmacro2.nim#L16
Deprecated since v0.18.1; use `varargs[untyped]` in the macro prototype instead; callsite is deprecated [Deprecated]
|
Test the compiler and standard library (Batch 1):
tests/lang_callable/macros/tstringinterp.nim#L20
Deprecated since v0.18.1; use `varargs[untyped]` in the macro prototype instead; callsite is deprecated [Deprecated]
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
compiler Linux X64
Expired
|
117 MB |
|