Skip to content

delete

c020bcb
Select commit
Loading
Failed to load commit list.
Open

try weakened distinct #24967

delete
c020bcb
Select commit
Loading
Failed to load commit list.
Azure Pipelines / nim-lang.Nim failed May 26, 2025 in 56m 8s

Build #20250526.2 had test failures

Details

Tests

  • Failed: 54 (0.29%)
  • Passed: 8,787 (47.86%)
  • Other: 9,519 (51.85%)
  • Total: 18,360

Annotations

Check failure on line 48038 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / nim-lang.Nim

Build log #L48038

Bash exited with code '1'.

Check failure on line 4686 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / nim-lang.Nim

Build log #L4686

Bash exited with code '1'.

Check failure on line 6938 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / nim-lang.Nim

Build log #L6938

Bash exited with code '1'.

Check failure on line 4948 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / nim-lang.Nim

Build log #L4948

Bash exited with code '1'.

Check failure on line 1 in tests/errmsgs/tdeclaredlocs.nim cpp --declaredLocs --hints:off

See this annotation in the file changed.

@azure-pipelines azure-pipelines / nim-lang.Nim

tests/errmsgs/tdeclaredlocs.nim cpp --declaredLocs --hints:off

Failure: reMsgsDiffer
Expected:
tdeclaredlocs.nim(92, 3) Error: type mismatch: got <seq[MyInt2]>
but expected one of:
proc fn(a: Bam) [proc declared in tdeclaredlocs.nim(86, 6)]
  first type mismatch at position: 1
  required type for a: Bam [object declared in tdeclaredlocs.nim(78, 3)]
  but expression 'a' is of type: seq[MyInt2{char}] [char declared in tdeclaredlocs.nim(73, 3)]
proc fn(a: Goo[MyInt2]) [proc declared in tdeclaredlocs.nim(89, 6)]
  first type mismatch at position: 1
  required type for a: Goo[MyInt2{char}] [object declared in tdeclaredlocs.nim(79, 3)]
  but expression 'a' is of type: seq[MyInt2{char}] [char declared in tdeclaredlocs.nim(73, 3)]
proc fn(a: Goo[cint]) [proc declared in tdeclaredlocs.nim(88, 6)]
  first type mismatch at position: 1
  required type for a: Goo[cint{int32}] [object declared in tdeclaredlocs.nim(79, 3)]
  but expression 'a' is of type: seq[MyInt2{char}] [char declared in tdeclaredlocs.nim(73, 3)]
proc fn(a: array[3, Bar]) [proc declared in tdeclaredlocs.nim(82, 6)]
  first type mismatch at position: 1
  required type for a: array[0..2, Bar] [object declared in tdeclaredlocs.nim(74, 3)]
  but expression 'a' is of type: seq[MyInt2{char}] [char declared in tdeclaredlocs.nim(73, 3)]
proc fn(a: seq[Bar]) [proc declared in tdeclaredlocs.nim(81, 6)]
  first type mismatch at position: 1
  required type for a: seq[Bar] [object declared in tdeclaredlocs.nim(74, 3)]
  but expression 'a' is of type: seq[MyInt2{char}] [char declared in tdeclaredlocs.nim(73, 3)]
proc fn(a: seq[MyInt1]) [proc declared in tdeclaredlocs.nim(80, 6)]
  first type mismatch at position: 1
  required type for a: seq[MyInt1{int}] [int declared in tdeclaredlocs.nim(72, 3)]
  but expression 'a' is of type: seq[MyInt2{char}] [char declared in tdeclaredlocs.nim(73, 3)]
proc fn(a: set[Baz]) [proc declared in tdeclaredlocs.nim(84, 6)]
  first type mismatch at position: 1
  required type for a: set[Baz{enum}] [enum declared in tdeclaredlocs.nim(75, 3)]
  but expression 'a' is of type: seq[MyInt2{char}] [char declared in tdeclaredlocs.nim(73, 3)]
proc fn(a: set[MyInt2]) [proc declared in tdeclaredlocs.nim(83, 6)]
  first type mismatch at position: 1
  required type for a: set[MyInt2{char}] [char declared in tdeclaredlocs.nim(73, 3)]
  but expression 'a' is of type: seq[MyInt2{char}] [char declared in tdeclaredlocs.nim(73, 3)]
proc fn(a: var SetBaz) [proc declared in tdeclaredlocs.nim(85, 6)]
  first type mismatch at position: 1
  required type for a: var SetBaz [enum declared in tdeclaredlocs.nim(75, 3)]
  but expression 'a' is of type: seq[MyInt2{char}] [char declared in tdeclaredlocs.nim(73, 3)]
proc fn(a: var ref ptr Bam) [proc declared in tdeclaredlocs.nim(87, 6)]
  first type mismatch at position: 1
  required type for a: var ref ptr Bam [object declared in tdeclaredlocs.nim(78, 3)]
  but expression 'a' is of type: seq[MyInt2{char}] [char declared in tdeclaredlocs.nim(73, 3)]

expression: fn(a)


Gotten:
tdeclaredlocs.nim(92, 3) Error: type mismatch: got <seq[MyInt2]>
but expected one of:
proc fn(a: Bam) [proc declared in tdeclaredlocs.nim(86, 6)]
  first type mismatch at position: 1
  required type for a: Bam [object declared in tdeclaredlocs.nim(78, 3)]
  but expression 'a' is of type: seq[MyInt2{char}] [char declared in tdeclaredlocs.nim(73, 3)]
proc fn(a: Goo[MyInt2]) [proc declared in tdeclaredlocs.nim(89, 6)]
  first type mismatch at position: 1
  required type for a: Goo[MyInt2{char}] [object declared in tdeclaredlocs.nim(79, 3)]
  but expression 'a' is of type: seq[MyInt2{char}] [char declared in tdeclaredlocs.nim(73, 3)]
proc fn(a: Goo[cint]) [proc declared in tdeclaredlocs.nim(88, 6)]
  first type mismatch at position: 1
  required type for a: Goo[cint] [object declared in tdeclaredlocs.nim(79, 3)]
  but expression 'a' is of type: seq[MyInt2{char}] [char declared in tdeclaredlocs.nim(73, 3)]
proc fn(a: array[3, Bar]) [proc declared in tdeclaredlocs.nim(82, 6)]
  first type mismatch at position: 1
  required type for

Check failure on line 1 in tests/errmsgs/tshow_asgn.nim cpp

See this annotation in the file changed.

@azure-pipelines azure-pipelines / nim-lang.Nim

tests/errmsgs/tshow_asgn.nim cpp

Failure: reMsgsDiffer
Expected:
type mismatch: got <int> but expected 'cshort = int16'

Gotten:
type mismatch: got <int> but expected 'int16'

Check failure on line 1 in tests/misc/trunner.nim c

See this annotation in the file changed.

@azure-pipelines azure-pipelines / nim-lang.Nim

tests/misc/trunner.nim c

Failure: reExitcodesDiffer
Expected:
exitcode: 0

Gotten:
exitcode: 1

Output:
trunner.nim(170)         trunner
assertions.nim(41)       failedAssertImpl
assertions.nim(36)       raiseAssert
fatal.nim(53)            sysFatal
Error: unhandled exception: trunner.nim(170, 7) `"sizeof(unsigned char) == 8" in output` /Users/runner/.cache/nim/msizeof5_d/@mmsizeof5.nim.c:66:1: error: static assertion failed due to requirement 'sizeof(struct Foo2) == 1': backend & Nim disagree on size for: Foo2AliasBad [type declared in msizeof5.nim(106, 10)]
NIM_STATIC_ASSERT(sizeof(struct Foo2) == 1, "backend & Nim disagree on size for: Foo2AliasBad [type declared in msizeof5.nim(106, 10)]");
^                 ~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/work/1/s/lib/nimbase.h:273:35: note: expanded from macro 'NIM_STATIC_ASSERT'
#define NIM_STATIC_ASSERT(x, msg) _Static_assert((x), msg)
                                  ^               ~
/Users/runner/.cache/nim/msizeof5_d/@mmsizeof5.nim.c:66:39: note: expression evaluates to '4 == 1'
NIM_STATIC_ASSERT(sizeof(struct Foo2) == 1, "backend & Nim disagree on size for: Foo2AliasBad [type declared in msizeof5.nim(106, 10)]");
                  ~~~~~~~~~~~~~~~~~~~~^~~~
/Users/runner/work/1/s/lib/nimbase.h:273:51: note: expanded from macro 'NIM_STATIC_ASSERT'
#define NIM_STATIC_ASSERT(x, msg) _Static_assert((x), msg)
                                                  ^
/Users/runner/.cache/nim/msizeof5_d/@mmsizeof5.nim.c:67:1: error: static assertion failed due to requirement 'sizeof(int[3]) == 16': backend & Nim disagree on size for: Foo5 [type declared in msizeof5.nim(111, 10)]
NIM_STATIC_ASSERT(sizeof(Foo5) == 16, "backend & Nim disagree on size for: Foo5 [type declared in msizeof5.nim(111, 10)]");
^                 ~~~~~~~~~~~~~~~~~~
/Users/runner/work/1/s/lib/nimbase.h:273:35: note: expanded from macro 'NIM_STATIC_ASSERT'
#define NIM_STATIC_ASSERT(x, msg) _Static_assert((x), msg)
                                  ^               ~
/Users/runner/.cache/nim/msizeof5_d/@mmsizeof5.nim.c:67:32: note: expression evaluates to '12 == 16'
NIM_STATIC_ASSERT(sizeof(Foo5) == 16, "backend & Nim disagree on size for: Foo5 [type declared in msizeof5.nim(111, 10)]");
                  ~~~~~~~~~~~~~^~~~~
/Users/runner/work/1/s/lib/nimbase.h:273:51: note: expanded from macro 'NIM_STATIC_ASSERT'
#define NIM_STATIC_ASSERT(x, msg) _Static_assert((x), msg)
                                                  ^
/Users/runner/.cache/nim/msizeof5_d/@mmsizeof5.nim.c:68:1: error: static assertion failed due to requirement 'sizeof(int[3]) == 3': backend & Nim disagree on size for: Foo5 [type declared in msizeof5.nim(115, 10)]
NIM_STATIC_ASSERT(sizeof(Foo5) == 3, "backend & Nim disagree on size for: Foo5 [type declared in msizeof5.nim(115, 10)]");
^                 ~~~~~~~~~~~~~~~~~
/Users/runner/work/1/s/lib/nimbase.h:273:35: note: expanded from macro 'NIM_STATIC_ASSERT'
#define NIM_STATIC_ASSERT(x, msg) _Static_assert((x), msg)
                                  ^               ~
/Users/runner/.cache/nim/msizeof5_d/@mmsizeof5.nim.c:68:32: note: expression evaluates to '12 == 3'
NIM_STATIC_ASSERT(sizeof(Foo5) == 3, "backend & Nim disagree on size for: Foo5 [type declared in msizeof5.nim(115, 10)]");
                  ~~~~~~~~~~~~~^~~~
/Users/runner/work/1/s/lib/nimbase.h:273:51: note: expanded from macro 'NIM_STATIC_ASSERT'
#define NIM_STATIC_ASSERT(x, msg) _Static_assert((x), msg)
                                                  ^
/Users/runner/.cache/nim/msizeof5_d/@mmsizeof5.nim.c:69:1: error: static assertion failed due to requirement 'sizeof(struct Foo6) == 16': backend & Nim disagree on size for: Foo6 [type declared in msizeof5.nim(119, 10)]
NIM_STATIC_ASSERT(sizeof(struct Foo6) == 16, "backend & Nim disagree on size for: Foo6 [type declared in msizeof5.nim(119, 10)]");
^                 ~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/work/1/s/lib/nimbase.h:273:35: note: expanded from macro 'NIM_STATIC_ASSERT'
#define NIM_STATIC_ASSERT(x, m

Check failure on line 1 in tests/misc/trunner.nim c

See this annotation in the file changed.

@azure-pipelines azure-pipelines / nim-lang.Nim

tests/misc/trunner.nim c

Failure: reExitcodesDiffer
Expected:


Gotten:
$ /Users/runner/work/1/s/bin/nim c --hints:on -d:testing --nimblePath:build/deps/pkgs2   --nimCache:nimcache/tests/misc/trunner.nim_4a8a08f09d37b73795649038408b5f33  tests/misc/trunner.nim
Hint: used config file '/Users/runner/work/1/s/config/nim.cfg' [Conf]
Hint: used config file '/Users/runner/work/1/s/config/config.nims' [Conf]
Hint: used config file '/Users/runner/work/1/s/tests/config.nims' [Conf]
trunner.nim(31, 16) Warning: file, options all have default value '""', this may be unintentional, either use ';' (semicolon) or explicitly write each default value [ImplicitDefaultValue]
trunner.nim(40, 19) Warning: file, options all have default value '""', this may be unintentional, either use ';' (semicolon) or explicitly write each default value [ImplicitDefaultValue]
trunner.nim(81, 14) Hint: duplicate import of 'strutils'; previous import here: trunner.nim(17, 6) [DuplicateModuleImport]
CC: ../../lib/system/exceptions.nim
CC: ../../lib/std/private/digitsutils.nim
CC: ../../lib/std/assertions.nim
CC: ../../lib/std/private/dragonbox.nim
CC: ../../lib/std/formatfloat.nim
CC: ../../lib/system/dollars.nim
CC: ../../lib/std/syncio.nim
CC: ../../lib/system.nim
CC: ../../lib/pure/parseutils.nim
CC: ../../lib/pure/unicode.nim
CC: ../../lib/pure/math.nim
CC: ../../lib/pure/algorithm.nim
CC: ../../lib/pure/strutils.nim
CC: ../../lib/pure/strformat.nim
CC: ../../lib/pure/pathnorm.nim
CC: ../../lib/std/oserrors.nim
CC: ../../lib/posix/posix.nim
CC: ../../lib/std/private/oscommon.nim
CC: ../../lib/std/private/ospaths2.nim
CC: ../../lib/pure/times.nim
CC: ../../lib/std/private/osfiles.nim
CC: ../../lib/std/private/osdirs.nim
CC: ../../lib/std/envvars.nim
CC: ../../lib/std/cmdline.nim
CC: ../../lib/pure/os.nim
CC: ../../lib/pure/hashes.nim
CC: ../../lib/pure/strtabs.nim
CC: ../../lib/pure/streams.nim
CC: ../../lib/pure/concurrency/cpuinfo.nim
CC: ../../lib/pure/osproc.nim
CC: ../../lib/std/exitprocs.nim
CC: ../../lib/pure/collections/sets.nim
CC: ../../lib/pure/terminal.nim
CC: ../../lib/pure/unittest.nim
CC: ../../testament/lib/stdtest/unittest_light.nim
CC: ../../lib/std/private/globs.nim
CC: ../../lib/pure/collections/tables.nim
CC: ../../lib/pure/lexbase.nim
CC: ../../lib/pure/parsejson.nim
CC: ../../lib/pure/json.nim
CC: trunner.nim
Hint:  [Link]
Hint: mm: orc; threads: on; opt: none (DEBUG BUILD, `-d:release` generates faster code)
81978 lines; 3.560s; 115.164MiB peakmem; proj: trunner; out: trunner [SuccessX]