Skip to content

Test for issue #1108 #1007

Test for issue #1108

Test for issue #1108 #1007

Triggered via push January 21, 2024 00:15
Status Failure
Total duration 27m 27s
Artifacts 9

ci.yml

on: push
Provide additional context for the workflow
6s
Provide additional context for the workflow
Matrix: binaries
Matrix: package
Build source archive
3m 6s
Build source archive
Matrix: test
Matrix: tooling
Matrix: source_binaries
Test release artifacts
37s
Test release artifacts
All check passed
0s
All check passed
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 62 warnings
Test the compiler and stdlib (Linux, batch #1): tests/errmsgs/tsigmatch.nim c#L1
Category: errmsgs Name: tests/errmsgs/tsigmatch.nim c Action: reject Result: reMsgsDiffer -------- Expected ------- tsigmatch.nim(111, 4) Error: type mismatch: got <A, string> but expected one of: proc f(a: A) first type mismatch at position: 2 extra argument given proc f(b: B) first type mismatch at position: 1 required type for b: B but expression 'A()' is of type: A expression: f(A(), "extra") tsigmatch.nim(125, 6) Error: type mismatch: got <(string, proc (){.gcsafe, locks: 0.})> but expected one of: proc foo(x: (string, proc ())) first type mismatch at position: 1 required type for x: (string, proc (){.closure.}) but expression '("foobar", proc () = echo(["Hello!"]))' is of type: (string, proc (){.gcsafe, locks: 0.}) expression: foo(("foobar", proc () = echo(["Hello!"]))) tsigmatch.nim(132, 11) Error: type mismatch: got <proc (s: string): string{.noSideEffect, gcsafe, locks: 0.}> but expected one of: proc foo[T, S](op: proc (x: T): S {.cdecl.}): auto first type mismatch at position: 1 required type for op: proc (x: T): S{.cdecl.} but expression 'fun' is of type: proc (s: string): string{.noSideEffect, gcsafe, locks: 0.} Calling convention mismatch: got '{.nimcall.}', but expected '{.cdecl.}'. proc foo[T, S](op: proc (x: T): S {.safecall.}): auto first type mismatch at position: 1 required type for op: proc (x: T): S{.safecall.} but expression 'fun' is of type: proc (s: string): string{.noSideEffect, gcsafe, locks: 0.} Calling convention mismatch: got '{.nimcall.}', but expected '{.safecall.}'. expression: foo(fun) tsigmatch.nim(143, 13) Error: type mismatch: got <array[0..0, proc (x: int){.gcsafe, locks: 0.}]> but expected one of: proc takesFuncs(fs: openArray[proc (x: int) {.gcsafe, locks: 0.}]) first type mismatch at position: 1 required type for fs: openArray[proc (x: int){.closure, gcsafe, locks: 0.}] but expression '[proc (x: int) {.gcsafe, locks: 0.} = echo [x]]' is of type: array[0..0, proc (x: int){.gcsafe, locks: 0.}] expression: takesFuncs([proc (x: int) {.gcsafe, locks: 0.} = echo [x]]) tsigmatch.nim(149, 4) Error: type mismatch: got <int literal(10), a0: int literal(5), string> but expected one of: proc f(a0: uint8; b: string) first type mismatch at position: 2 named param already provided: a0 expression: f(10, a0 = 5, "") tsigmatch.nim(156, 4) Error: type mismatch: got <string, string, string, string, string, float64, string> but expected one of: proc f(a1: int) first type mismatch at position: 1 required type for a1: int but expression '"asdf"' is of type: string proc f(a1: string; a2: varargs[string]; a3: float; a4: var string) first type mismatch at position: 7 required type for a4: var string but expression '"bad"' is immutable, not 'var' expression: f("asdf", "1", "2", "3", "4", 2.3, "bad") tsigmatch.nim(164, 4) Error: type mismatch: got <string, a0: int literal(12)> but expected one of: proc f(x: string; a0: string) first type mismatch at position: 2 required type for a0: string but expression '12' is of type: int literal(12) proc f(x: string; a0: var int) first type mismatch at position: 2 required type for a0: var int but expression '12' is immutable, not 'var' expression: f(foo, a0 = 12) --------- Given -------- tsigmatch.nim(113, 4) Error: type mismatch: got <A, string> but expected one of: proc f(a: A) first type mismatch at position: 2 extra argument given proc f(b: B) first type mismatch at position: 1 required type for b: B but expression 'A()' is of type: A expression: f(A(), "extra") tsigmatch.nim(127, 6) Error: type mismatch: got <(string, proc (){.gcsafe, locks: 0.})> but expected one of: proc foo(x: (string, proc ())) first type mismatch at position: 1 required type for x: (string, proc (){.closure.}) but expression '("foobar", proc () = echo(["Hello!"]))' is of type: (string, proc (){.gcsafe, locks: 0.}) expression: foo(("foobar", proc () = echo(["Hello!"]))) tsigmatch.nim(134, 11) Error: type mismatch: got <proc (s: string): string{.noSideEffect, gcsafe, locks: 0.}> but expected one of: proc
Test the compiler and stdlib (Linux, batch #1)
Process completed with exit code 1.
Test the compiler and stdlib (macOS, batch #1): tests/errmsgs/tsigmatch.nim c#L1
Category: errmsgs Name: tests/errmsgs/tsigmatch.nim c Action: reject Result: reMsgsDiffer -------- Expected ------- tsigmatch.nim(111, 4) Error: type mismatch: got <A, string> but expected one of: proc f(a: A) first type mismatch at position: 2 extra argument given proc f(b: B) first type mismatch at position: 1 required type for b: B but expression 'A()' is of type: A expression: f(A(), "extra") tsigmatch.nim(125, 6) Error: type mismatch: got <(string, proc (){.gcsafe, locks: 0.})> but expected one of: proc foo(x: (string, proc ())) first type mismatch at position: 1 required type for x: (string, proc (){.closure.}) but expression '("foobar", proc () = echo(["Hello!"]))' is of type: (string, proc (){.gcsafe, locks: 0.}) expression: foo(("foobar", proc () = echo(["Hello!"]))) tsigmatch.nim(132, 11) Error: type mismatch: got <proc (s: string): string{.noSideEffect, gcsafe, locks: 0.}> but expected one of: proc foo[T, S](op: proc (x: T): S {.cdecl.}): auto first type mismatch at position: 1 required type for op: proc (x: T): S{.cdecl.} but expression 'fun' is of type: proc (s: string): string{.noSideEffect, gcsafe, locks: 0.} Calling convention mismatch: got '{.nimcall.}', but expected '{.cdecl.}'. proc foo[T, S](op: proc (x: T): S {.safecall.}): auto first type mismatch at position: 1 required type for op: proc (x: T): S{.safecall.} but expression 'fun' is of type: proc (s: string): string{.noSideEffect, gcsafe, locks: 0.} Calling convention mismatch: got '{.nimcall.}', but expected '{.safecall.}'. expression: foo(fun) tsigmatch.nim(143, 13) Error: type mismatch: got <array[0..0, proc (x: int){.gcsafe, locks: 0.}]> but expected one of: proc takesFuncs(fs: openArray[proc (x: int) {.gcsafe, locks: 0.}]) first type mismatch at position: 1 required type for fs: openArray[proc (x: int){.closure, gcsafe, locks: 0.}] but expression '[proc (x: int) {.gcsafe, locks: 0.} = echo [x]]' is of type: array[0..0, proc (x: int){.gcsafe, locks: 0.}] expression: takesFuncs([proc (x: int) {.gcsafe, locks: 0.} = echo [x]]) tsigmatch.nim(149, 4) Error: type mismatch: got <int literal(10), a0: int literal(5), string> but expected one of: proc f(a0: uint8; b: string) first type mismatch at position: 2 named param already provided: a0 expression: f(10, a0 = 5, "") tsigmatch.nim(156, 4) Error: type mismatch: got <string, string, string, string, string, float64, string> but expected one of: proc f(a1: int) first type mismatch at position: 1 required type for a1: int but expression '"asdf"' is of type: string proc f(a1: string; a2: varargs[string]; a3: float; a4: var string) first type mismatch at position: 7 required type for a4: var string but expression '"bad"' is immutable, not 'var' expression: f("asdf", "1", "2", "3", "4", 2.3, "bad") tsigmatch.nim(164, 4) Error: type mismatch: got <string, a0: int literal(12)> but expected one of: proc f(x: string; a0: string) first type mismatch at position: 2 required type for a0: string but expression '12' is of type: int literal(12) proc f(x: string; a0: var int) first type mismatch at position: 2 required type for a0: var int but expression '12' is immutable, not 'var' expression: f(foo, a0 = 12) --------- Given -------- tsigmatch.nim(113, 4) Error: type mismatch: got <A, string> but expected one of: proc f(a: A) first type mismatch at position: 2 extra argument given proc f(b: B) first type mismatch at position: 1 required type for b: B but expression 'A()' is of type: A expression: f(A(), "extra") tsigmatch.nim(127, 6) Error: type mismatch: got <(string, proc (){.gcsafe, locks: 0.})> but expected one of: proc foo(x: (string, proc ())) first type mismatch at position: 1 required type for x: (string, proc (){.closure.}) but expression '("foobar", proc () = echo(["Hello!"]))' is of type: (string, proc (){.gcsafe, locks: 0.}) expression: foo(("foobar", proc () = echo(["Hello!"]))) tsigmatch.nim(134, 11) Error: type mismatch: got <proc (s: string): string{.noSideEffect, gcsafe, locks: 0.}> but expected one of: proc
Test the compiler and stdlib (macOS, batch #1)
Process completed with exit code 1.
All check passed
There are failing required jobs
All check passed
Process completed with exit code 1.
Build release binaries (Linux): compiler/utils/astrepr.nim#L1202
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build release binaries (Linux): compiler/utils/astrepr.nim#L1206
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build release binaries (Linux): compiler/utils/astrepr.nim#L1216
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build release binaries (Linux): compiler/utils/astrepr.nim#L1234
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build release binaries (Linux): compiler/utils/astrepr.nim#L1252
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build release binaries (Linux): compiler/utils/astrepr.nim#L1257
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build release binaries (Linux): compiler/utils/astrepr.nim#L1262
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build release binaries (Linux): compiler/utils/astrepr.nim#L1266
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build release binaries (Linux): compiler/utils/astrepr.nim#L1317
DEBUG proc, do not use in the final build!; inDebug is deprecated [Deprecated]
Build release binaries (Linux): compiler/sem/transf.nim#L1209
workaround for sem not sanitizing AST; transformDefSym is deprecated [Deprecated]
Build release binaries (macOS): compiler/utils/astrepr.nim#L1202
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build release binaries (macOS): compiler/utils/astrepr.nim#L1206
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build release binaries (macOS): compiler/utils/astrepr.nim#L1216
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build release binaries (macOS): compiler/utils/astrepr.nim#L1234
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build release binaries (macOS): compiler/utils/astrepr.nim#L1252
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build release binaries (macOS): compiler/utils/astrepr.nim#L1257
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build release binaries (macOS): compiler/utils/astrepr.nim#L1262
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build release binaries (macOS): compiler/utils/astrepr.nim#L1266
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build release binaries (macOS): compiler/utils/astrepr.nim#L1317
DEBUG proc, do not use in the final build!; inDebug is deprecated [Deprecated]
Build release binaries (macOS): compiler/sem/transf.nim#L1209
workaround for sem not sanitizing AST; transformDefSym is deprecated [Deprecated]
Build and test tooling (Linux): nimdoc/rst2html/source/rst_examples.rst#L6
unknown substitution 'nimversion' [UnknownSubstitutionX]
Build and test tooling (macOS): nimdoc/rst2html/source/rst_examples.rst#L6
unknown substitution 'nimversion' [UnknownSubstitutionX]
Build docs and release artifacts (Linux): compiler/utils/astrepr.nim#L1202
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build docs and release artifacts (Linux): compiler/utils/astrepr.nim#L1206
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build docs and release artifacts (Linux): compiler/utils/astrepr.nim#L1216
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build docs and release artifacts (Linux): compiler/utils/astrepr.nim#L1234
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build docs and release artifacts (Linux): compiler/utils/astrepr.nim#L1252
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build docs and release artifacts (Linux): compiler/utils/astrepr.nim#L1257
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build docs and release artifacts (Linux): compiler/utils/astrepr.nim#L1262
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build docs and release artifacts (Linux): compiler/utils/astrepr.nim#L1266
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build docs and release artifacts (Linux): compiler/utils/astrepr.nim#L1317
DEBUG proc, do not use in the final build!; inDebug is deprecated [Deprecated]
Build docs and release artifacts (Linux): compiler/sem/transf.nim#L1209
workaround for sem not sanitizing AST; transformDefSym is deprecated [Deprecated]
Build docs and release artifacts (Linux): doc/debug.rst#L189
language 'literal' not supported [LanguageXNotSupported]
Build docs and release artifacts (Linux): doc/debug.rst#L213
language 'literal' not supported [LanguageXNotSupported]
Build docs and release artifacts (Linux): doc/debug.rst#L296
language 'literal' not supported [LanguageXNotSupported]
Build docs and release artifacts (Linux): doc/debug.rst#L311
language 'literal' not supported [LanguageXNotSupported]
Build docs and release artifacts (Linux): doc/debug.rst#L477
language 'literal' not supported [LanguageXNotSupported]
Build docs and release artifacts (Linux): doc/spec.rst#L115
unknown substitution 'nimskull' [UnknownSubstitutionX]
Build docs and release artifacts (Linux): doc/spec.rst#L154
unknown substitution 'NimSkull' [UnknownSubstitutionX]
Build docs and release artifacts (Linux): doc/nims.rst#L215
language 'none' not supported [LanguageXNotSupported]
Build docs and release artifacts (Linux): doc/testament.rst#L354
language 'diff' not supported [LanguageXNotSupported]
Build docs and release artifacts (Linux): doc/testament.rst#L379
field 'linenos' not supported [FieldXNotSupported]
Build docs and release artifacts (macOS): compiler/utils/astrepr.nim#L1202
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build docs and release artifacts (macOS): compiler/utils/astrepr.nim#L1206
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build docs and release artifacts (macOS): compiler/utils/astrepr.nim#L1216
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build docs and release artifacts (macOS): compiler/utils/astrepr.nim#L1234
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build docs and release artifacts (macOS): compiler/utils/astrepr.nim#L1252
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build docs and release artifacts (macOS): compiler/utils/astrepr.nim#L1257
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build docs and release artifacts (macOS): compiler/utils/astrepr.nim#L1262
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build docs and release artifacts (macOS): compiler/utils/astrepr.nim#L1266
DEBUG proc, should not be used in the final build!; debugAux is deprecated [Deprecated]
Build docs and release artifacts (macOS): compiler/utils/astrepr.nim#L1317
DEBUG proc, do not use in the final build!; inDebug is deprecated [Deprecated]
Build docs and release artifacts (macOS): compiler/sem/transf.nim#L1209
workaround for sem not sanitizing AST; transformDefSym is deprecated [Deprecated]
Build docs and release artifacts (macOS): doc/nims.rst#L215
language 'none' not supported [LanguageXNotSupported]
Build docs and release artifacts (macOS): doc/debug.rst#L189
language 'literal' not supported [LanguageXNotSupported]
Build docs and release artifacts (macOS): doc/debug.rst#L213
language 'literal' not supported [LanguageXNotSupported]
Build docs and release artifacts (macOS): doc/debug.rst#L296
language 'literal' not supported [LanguageXNotSupported]
Build docs and release artifacts (macOS): doc/debug.rst#L311
language 'literal' not supported [LanguageXNotSupported]
Build docs and release artifacts (macOS): doc/debug.rst#L477
language 'literal' not supported [LanguageXNotSupported]
Build docs and release artifacts (macOS): doc/docs.rst#L14
unknown substitution 'nimskull' [UnknownSubstitutionX]
Build docs and release artifacts (macOS): doc/docs.rst#L17
unknown substitution 'nimskull' [UnknownSubstitutionX]
Build docs and release artifacts (macOS): doc/spec.rst#L115
unknown substitution 'nimskull' [UnknownSubstitutionX]
Build docs and release artifacts (macOS): doc/spec.rst#L154
unknown substitution 'NimSkull' [UnknownSubstitutionX]

Artifacts

Produced during runtime
Name Size
Generated docs Expired
4.15 MB
binaries from source archive Linux Expired
13.8 MB
binaries from source archive macOS Expired
11.2 MB
compiler Linux Expired
117 MB
compiler macOS Expired
103 MB
release binaries Linux Expired
13.8 MB
release binaries macOS Expired
11.2 MB
release manifest tool Expired
170 KB
source archive Expired
27.3 MB