juancarlospaco / nimrun-action-minefield

Minefield
1 stars 0 forks source link

TESTING #3

Closed juancarlospaco closed 1 year ago

juancarlospaco commented 1 year ago

TESTING

juancarlospaco commented 1 year ago

!nim c

import std/[random, macros, fenv]

macro fuzzing*(tipe: typedesc): untyped =
  doAssert tipe.kind == nnkSym and tipe.symKind == nskType, "Argument must be a static typedesc of primitive type."
  var r = initRand(tipe.strVal.len xor lineInfoObj(tipe).column)
  case tipe.strVal
  of "int"     : result = newLit(int(r.rand(int.high)))
  of "int32"   : result = newLit(int32(r.rand(int32.high.int)))
  of "int16"   : result = newLit(int16(r.rand(int16.high.int)))
  of "int8"    : result = newLit(int8(r.rand(int8.high.int)))
  of "uint16"  : result = newLit(uint16(r.rand(uint16.high.int)))
  of "uint8"   : result = newLit(uint8(r.rand(uint8.high.int)))
  of "char"    : result = newLit(char(r.rand(char.high.int)))
  of "byte"    : result = newLit(byte(r.rand(byte.high.int)))
  of "Positive": result = newLit(Positive(r.rand(Positive.high.int)))
  of "Natural" : result = newLit(Natural(r.rand(Natural.high.int)))
  of "bool"    : result = newLit(bool(r.rand(1)))
  of "float"   : result = newLit(float(r.rand(maximumPositiveValue(float))))
  of "float64" : result = newLit(float64(r.rand(maximumPositiveValue(float64))))
  of "float32" : result = newLit(float32(r.rand(maximumPositiveValue(float32))))
  of "int64" : result = newLit(int64(r.rand(int32.high.int))) # Reduced range for JS.
  of "uint64": result = newLit(uint64(r.rand(int.high.int)))
  of "uint32": result = newLit(uint32(r.rand(int32.high.int)))
  of "BackwardsIndex": result = nnkCall.newTree(newIdentNode"BackwardsIndex", newLit(int(r.rand(int.high))))
  of "string", "cstring":
    var s = ""
    for _ in 0 .. r.rand(512): s.add(r.rand('\x00'..'\xFF'))
    if tipe.strVal == "string":
      result = newStrLitNode(s)
    else:
      result = nnkCall.newTree(newIdentNode"cstring", newStrLitNode(s))
  else: result = nnkCall.newTree(newIdentNode"default", tipe)

when isMainModule:
  randomize()
  type O = enum A, B
  echo O.fuzzing
  echo int.fuzzing
  echo int64.fuzzing
  echo int32.fuzzing
  echo int16.fuzzing
  echo int8.fuzzing
  echo uint64.fuzzing
  echo uint32.fuzzing
  echo uint16.fuzzing
  echo uint8.fuzzing
  echo byte.fuzzing
  echo char.fuzzing
  echo repr(BackwardsIndex.fuzzing)
  echo bool.fuzzing
  echo float.fuzzing
  echo float64.fuzzing
  echo float32.fuzzing
  echo Positive.fuzzing
  echo Natural.fuzzing
  echo string.fuzzing
  echo cstring.fuzzing
github-actions[bot] commented 1 year ago

@juancarlospaco (owner)

devel :+1: $\color{green}\textbf{\large OK}$

Output

A
4544737871120492297
1130888928
1130888928
32480
7
2861908543711129595
1334751227
45051
224
7

5154042111601409760
true
1.401124155486506e+308
1.233913121384404e+308
2.335653735412066e+38
7714993287299566774
3438232503963316601
��?���l�Td����Ѡ�����
*XL�鼤/ۊۉ������x}ӎ�ͫ�!���E�n�c�yՍo�S^I�|��c��L�=@+��uu��0�n����4ݛ蝅�����r�n�ꆓ^sY줆�)�:�ZkF�:��s��SR�H`Dj�Vĕ�XJ�u#�`|�6�`�� ���.}������Mɥ]݌��wO:N�f;e}���S+ʋD=w�~ב�Ym�D=4-V���T o@�w�(��ytD��M�c.(kCדI��o�f�
S�0��{�+7�"��DU~{26���j#���<�w)�   ��(�捏�
w�*!.E��D�����hNb�S�+EAsv�׉����'d��&��~E���rFw���\�b�����$پä�H^_s������c�s�Sr{H�(����e�Z�OJ�⤸,� ���%^ޝJN>�Y��D�X��鑨��y�j��s����!++7#2G�2C��F�dlI�u��+��oC���.S��eP�������z4�e}[�A�� 'k M=�5�>n�ՎU�\X��ΘG���\�9��+=6E�~��0}.9��Dm�^
Dy��{lr���5�

Stats

  • Started 2023-08-10T00:47:57
  • Finished 2023-08-10T00:47:58
  • Duration 1 minutes
stable :+1: $\color{green}\textbf{\large OK}$

Output

A
4544737871120492297
1130888928
1130888928
32480
7
2861908543711129595
1334751227
45051
224
7

5154042111601409760
true
1.401124155486506e+308
1.233913121384404e+308
2.335653735412066e+38
7714993287299566774
3438232503963316601
��?���l�Td����Ѡ�����
*XL�鼤/ۊۉ������x}ӎ�ͫ�!���E�n�c�yՍo�S^I�|��c��L�=@+��uu��0�n����4ݛ蝅�����r�n�ꆓ^sY줆�)�:�ZkF�:��s��SR�H`Dj�Vĕ�XJ�u#�`|�6�`�� ���.}������Mɥ]݌��wO:N�f;e}���S+ʋD=w�~ב�Ym�D=4-V���T o@�w�(��ytD��M�c.(kCדI��o�f�
S�0��{�+7�"��DU~{26���j#���<�w)�   ��(�捏�
w�*!.E��D�����hNb�S�+EAsv�׉����'d��&��~E���rFw���\�b�����$پä�H^_s������c�s�Sr{H�(����e�Z�OJ�⤸,� ���%^ޝJN>�Y��D�X��鑨��y�j��s����!++7#2G�2C��F�dlI�u��+��oC���.S��eP�������z4�e}[�A�� 'k M=�5�>n�ՎU�\X��ΘG���\�9��+=6E�~��0}.9��Dm�^
Dy��{lr���5�

Stats

  • Started 2023-08-10T00:47:59
  • Finished 2023-08-10T00:48:00
  • Duration 1 minutes
2.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
4544737871120492297
1130888928
1130888928
32480
7
2861908543711129595
1334751227
45051
224
7

5154042111601409760
true
1.401124155486506e+308
1.233913121384404e+308
2.335653735412066e+38
7714993287299566774
3438232503963316601
��?���l�Td����Ѡ�����
*XL�鼤/ۊۉ������x}ӎ�ͫ�!���E�n�c�yՍo�S^I�|��c��L�=@+��uu��0�n����4ݛ蝅�����r�n�ꆓ^sY줆�)�:�ZkF�:��s��SR�H`Dj�Vĕ�XJ�u#�`|�6�`�� ���.}������Mɥ]݌��wO:N�f;e}���S+ʋD=w�~ב�Ym�D=4-V���T o@�w�(��ytD��M�c.(kCדI��o�f�
S�0��{�+7�"��DU~{26���j#���<�w)�   ��(�捏�
w�*!.E��D�����hNb�S�+EAsv�׉����'d��&��~E���rFw���\�b�����$پä�H^_s������c�s�Sr{H�(����e�Z�OJ�⤸,� ���%^ޝJN>�Y��D�X��鑨��y�j��s����!++7#2G�2C��F�dlI�u��+��oC���.S��eP�������z4�e}[�A�� 'k M=�5�>n�ՎU�\X��ΘG���\�9��+=6E�~��0}.9��Dm�^
Dy��{lr���5�

Stats

  • Started 2023-08-10T00:48:00
  • Finished 2023-08-10T00:48:01
  • Duration 1 minutes
1.6.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
4544737871120492297
1130888928
1130888928
32480
7
2861908543711129595
1334751227
45051
224
7

5154042111601409760
true
1.401124155486506e+308
1.233913121384404e+308
2.335653735412066e+38
7714993287299566774
3438232503963316601
��?���l�Td����Ѡ�����
*XL�鼤/ۊۉ������x}ӎ�ͫ�!���E�n�c�yՍo�S^I�|��c��L�=@+��uu��0�n����4ݛ蝅�����r�n�ꆓ^sY줆�)�:�ZkF�:��s��SR�H`Dj�Vĕ�XJ�u#�`|�6�`�� ���.}������Mɥ]݌��wO:N�f;e}���S+ʋD=w�~ב�Ym�D=4-V���T o@�w�(��ytD��M�c.(kCדI��o�f�
S�0��{�+7�"��DU~{26���j#���<�w)�   ��(�捏�
w�*!.E��D�����hNb�S�+EAsv�׉����'d��&��~E���rFw���\�b�����$پä�H^_s������c�s�Sr{H�(����e�Z�OJ�⤸,� ���%^ޝJN>�Y��D�X��鑨��y�j��s����!++7#2G�2C��F�dlI�u��+��oC���.S��eP�������z4�e}[�A�� 'k M=�5�>n�ՎU�\X��ΘG���\�9��+=6E�~��0}.9��Dm�^
Dy��{lr���5�

Stats

  • Started 2023-08-10T00:48:03
  • Finished 2023-08-10T00:48:05
  • Duration 1 minutes
1.4.0 :-1: FAIL

Output

Error: Command failed: nim c --run  -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --styleCheck:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
stack trace: (most recent call last)
/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(26, 19) fuzzing
/home/runner/.choosenim/toolchains/nim-1.4.0/lib/pure/random.nim(568, 11) initRand
/home/runner/.choosenim/toolchains/nim-1.4.0/lib/system/assertions.nim(30, 26) failedAssertImpl
/home/runner/.choosenim/toolchains/nim-1.4.0/lib/system/assertions.nim(23, 11) raiseAssert
/home/runner/.choosenim/toolchains/nim-1.4.0/lib/system/fatal.nim(49, 5) sysFatal
/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(72, 15) template/generic instantiation of `fuzzing` from here
/home/runner/.choosenim/toolchains/nim-1.4.0/lib/system/fatal.nim(49, 5) Error: unhandled exception: /home/runner/.choosenim/toolchains/nim-1.4.0/lib/pure/random.nim(568, 12) `seed != 0`  [AssertionDefect]

Stats

  • Started 2023-08-10T00:48:07
  • Finished 2023-08-10T00:48:08
  • Duration

IR

Compiled filesize 112.41 Kb (115,112 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #include #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix # define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); # define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename; NI len; VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); # define nimln_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStringDesc NimStringDesc; typedef struct TGenericSeq TGenericSeq; typedef struct TNimType TNimType; typedef struct TNimNode TNimNode; struct TGenericSeq { NI len; NI reserved; }; struct NimStringDesc { TGenericSeq Sup; NIM_CHAR data[SEQ_DECL_SIZE]; }; typedef NimStringDesc* tyArray__nHXaesL0DJZHyVS07ARPRA[1]; typedef NU8 tyEnum_O__L9bk4A9cNfJ7sVIoNCCbpTrA; typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A; typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ; typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op); typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p); struct TNimType { NI size; NI align; tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind; tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags; TNimType* base; TNimNode* node; void* finalizer; tyProc__ojoeKfW4VYIm36I9cpDTQIg marker; tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy; }; typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ; struct TNimNode { tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind; NI offset; TNimType* typ; NCSTRING name; NI len; TNimNode** sons; }; N_LIB_PRIVATE N_NIMCALL(void, randomize_pureZrandom_277)(void); static N_INLINE(void, nimZeroMem)(void* p, NI size); static N_INLINE(void, nimSetMem_systemZmemory_7)(void* a, int v, NI size); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprEnum)(NI e, TNimType* typ); N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringDesc** args, NI argsLen_0); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprInt)(NI64 x); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar__system_3152)(NF x); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar__system_6856)(NF32 x); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NOINLINE(void, nimGC_setStackBottom)(void* theStackBottom); static N_INLINE(void, nimFrame)(TFrame* s); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached_system_2997)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_randomInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, tempDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); N_LIB_PRIVATE TNimType NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_6, "4544737871120492297", 19); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_5 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_6)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_8, "1130888928", 10); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_7 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_8)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_10, "32480", 5); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_9 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_10)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_12, "7", 1); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_11 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_12)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_14, "2861908543711129595", 19); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_13 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_14)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_16, "1334751227", 10); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_15 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_16)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_18, "45051", 5); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_17 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_18)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_20, "224", 3); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_19 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_20)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_22, "\007", 1); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_21 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_22)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_24, "true", 4); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_23 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_24)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_26, "7714993287299566774", 19); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_25 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_26)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_28, "3438232503963316601", 19); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_27 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_28)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_30, "\330\024\246\?\312\303\347\271l\345Td\213\307\365\217\321\240\275\357\363\307\346\012*XL\372\351\274\244/\333\212\333\211\365\377\257\245\320\357x}\323\216\340\315\253\203!\252\233\037\344\021E\033\300n\240c\202y\325\215o\361\216S^I\265|\274\303c\236\232L\317=@+\214\245uu\210\2310\304n\254\314\342\231\3364\335\233\350\235\205\021\224\374\351\375\233r\301n\243\352\206\223^sY\354\244\206\372)\345:\333ZkF\241:\234\036\204s\254\260S\006R\354H`Dj\216V\304\225\303XJ\314u#\242`|\3356\010\264`\302\350 \213\231\351\243.}\374\004\251\377\363\344\007\213M\311\245]\335\214\251\225wO\014:N\247f;e\014}\220\260\025\301S+\005\312\213\005D=w\347~\327\221\241Ym\223D=4\013\020-V\276\016\300\362T o@\334w\272(\222\201\037ytD\240\325M\320c.(kC\327\223I\356\252\304o\352f\256", 266); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_29 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_30)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_32, "S\272\0010\363\375{\361+7\372\"\365\200DU~{26\246\247\265j#\252\231\337<\271w)\250\011\233\333\014(\262\346\215\217\351\015w\366*!.E\360\256\241\353\031D\236\202\250\241\311h\031N\005b\341S\033\354+EAsv\307\016\327\211\210\274\341\344\'d\006\372\254&\272\266~\037E\371\241\321rFw\226\231\037\341\221\020\\\277b\264\327\354\365\255$\331\276\303\244\251H^_s\241\241\373\270\256\366c\206s\377Sr{H\310(\177\352\370\261\317e\363\254Z\256\024\013OJ\243\342\244\270,\205\011\251\224\321%\033^\336\235JN>\254Y\201\250D\366X\251\243\351\221\250\255\253y\324j\350\374s\025\005\244\351\355\372!++\0257#\0232G\3062C\350\004\003\222F\351dlI\245u\245\364+\204\003\001\370oC\251\346\013\221.S\365\355eP\261\241\332\035\275\333\033\361\365z4\303e}[\026\265A\227\342 \'k M=\3225\324>n\357\230\220\352\325\216U\310\\\030X\343\323\316\230G\373\270\374\\\3759\275\366+=6E\241~\350\3200}.9\266\302\010Dm\216^\012Dy\240\247{lr\017\231\310\036\3675\322", 329); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_31 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_32)} ; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; static N_INLINE(void, nimSetMem_systemZmemory_7)(void* a, int v, NI size) { void* T1_; T1_ = (void*)0; T1_ = memset(a, v, ((size_t) (size))); } static N_INLINE(void, nimZeroMem)(void* p, NI size) { nimSetMem_systemZmemory_7(p, ((int) 0), size); } static N_INLINE(void, initStackBottomWith)(void* locals) { nimGC_setStackBottom(locals); } static N_INLINE(void, nimFrame)(TFrame* s) { { if (!(framePtr_system_2564 == ((TFrame*) NIM_NIL))) goto LA3_; (*s).calldepth = ((NI16) 0); } goto LA1_; LA3_: ; { (*s).calldepth = (NI16)((*framePtr_system_2564).calldepth + ((NI16) 1)); } LA1_: ; (*s).prev = framePtr_system_2564; framePtr_system_2564 = s; { if (!((*s).calldepth == ((NI16) 2000))) goto LA8_; callDepthLimitReached_system_2997(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr_system_2564 = (*framePtr_system_2564).prev; } N_LIB_PRIVATE void PreMainInner(void) { stdlib_timesInit000(); stdlib_randomInit000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { void (*volatile inner)(void); inner = PreMainInner; systemDatInit000(); initStackBottomWith((void *)&inner); systemInit000(); stdlib_timesDatInit000(); tempDatInit000(); (*inner)(); } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { void (*volatile inner)(void); PreMain(); inner = NimMainInner; initStackBottomWith((void *)&inner); (*inner)(); } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { tyArray__nHXaesL0DJZHyVS07ARPRA T1_; tyEnum_O__L9bk4A9cNfJ7sVIoNCCbpTrA T2_; tyArray__nHXaesL0DJZHyVS07ARPRA T3_; tyArray__nHXaesL0DJZHyVS07ARPRA T4_; tyArray__nHXaesL0DJZHyVS07ARPRA T5_; tyArray__nHXaesL0DJZHyVS07ARPRA T6_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); randomize_pureZrandom_277(); nimZeroMem((void*)T1_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA)); T2_ = (tyEnum_O__L9bk4A9cNfJ7sVIoNCCbpTrA)0; T1_[0] = reprEnum((NI)T2_, (&NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_)); echoBinSafe(T1_, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_5, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_7, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_7, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_9, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_11, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_13, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_15, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_17, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_19, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_11, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_21, 1); nimZeroMem((void*)T3_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA)); T3_[0] = reprInt((NI64)((NI) IL64(5154042111601409760))); echoBinSafe(T3_, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_23, 1); nimZeroMem((void*)T4_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA)); T4_[0] = dollar__system_3152(1.401124155486506e+308); echoBinSafe(T4_, 1); nimZeroMem((void*)T5_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA)); T5_[0] = dollar__system_3152(1.2339131213844038e+308); echoBinSafe(T5_, 1); nimZeroMem((void*)T6_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA)); T6_[0] = dollar__system_6856(2.3356537e+38f); echoBinSafe(T6_, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_25, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_27, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_29, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_31, 1); popFrame(); } } N_LIB_PRIVATE N_NIMCALL(void, tempDatInit000)(void) { static TNimNode* TM__h69aKLv9bAieBdiFzvDngbMw_2_2[2]; NI TM__h69aKLv9bAieBdiFzvDngbMw_4; static char* NIM_CONST TM__h69aKLv9bAieBdiFzvDngbMw_3[2] = { "A", "B"}; static TNimNode TM__h69aKLv9bAieBdiFzvDngbMw_0[3]; NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_.size = sizeof(tyEnum_O__L9bk4A9cNfJ7sVIoNCCbpTrA); NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_.align = NIM_ALIGNOF(tyEnum_O__L9bk4A9cNfJ7sVIoNCCbpTrA); NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_.kind = 14; NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_.base = 0; NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_.flags = 3; for (TM__h69aKLv9bAieBdiFzvDngbMw_4 = 0; TM__h69aKLv9bAieBdiFzvDngbMw_4 < 2; TM__h69aKLv9bAieBdiFzvDngbMw_4++) { TM__h69aKLv9bAieBdiFzvDngbMw_0[TM__h69aKLv9bAieBdiFzvDngbMw_4+0].kind = 1; TM__h69aKLv9bAieBdiFzvDngbMw_0[TM__h69aKLv9bAieBdiFzvDngbMw_4+0].offset = TM__h69aKLv9bAieBdiFzvDngbMw_4; TM__h69aKLv9bAieBdiFzvDngbMw_0[TM__h69aKLv9bAieBdiFzvDngbMw_4+0].name = TM__h69aKLv9bAieBdiFzvDngbMw_3[TM__h69aKLv9bAieBdiFzvDngbMw_4]; TM__h69aKLv9bAieBdiFzvDngbMw_2_2[TM__h69aKLv9bAieBdiFzvDngbMw_4] = &TM__h69aKLv9bAieBdiFzvDngbMw_0[TM__h69aKLv9bAieBdiFzvDngbMw_4+0]; } TM__h69aKLv9bAieBdiFzvDngbMw_0[2].len = 2; TM__h69aKLv9bAieBdiFzvDngbMw_0[2].kind = 2; TM__h69aKLv9bAieBdiFzvDngbMw_0[2].sons = &TM__h69aKLv9bAieBdiFzvDngbMw_2_2[0]; NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_.node = &TM__h69aKLv9bAieBdiFzvDngbMw_0[2]; } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( nnkInfix.newTree( newIdentNode("/"), newIdentNode("std"), nnkBracket.newTree( newIdentNode("random"), newIdentNode("macros"), newIdentNode("fenv") ) ) ), nnkMacroDef.newTree( nnkPostfix.newTree( newIdentNode("*"), newIdentNode("fuzzing") ), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newIdentNode("untyped"), nnkIdentDefs.newTree( newIdentNode("tipe"), newIdentNode("typedesc"), newEmptyNode() ) ), newEmptyNode(), newEmptyNode(), nnkStmtList.newTree( nnkCommand.newTree( newIdentNode("doAssert"), nnkInfix.newTree( newIdentNode("and"), nnkInfix.newTree( newIdentNode("=="), nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("kind") ), newIdentNode("nnkSym") ), nnkInfix.newTree( newIdentNode("=="), nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("symKind") ), newIdentNode("nskType") ) ), newLit("Argument must be a static typedesc of primitive type.") ), nnkVarSection.newTree( nnkIdentDefs.newTree( newIdentNode("r"), newEmptyNode(), nnkCall.newTree( newIdentNode("initRand"), nnkInfix.newTree( newIdentNode("xor"), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("strVal") ), newIdentNode("len") ), nnkDotExpr.newTree( nnkCall.newTree( newIdentNode("lineInfoObj"), newIdentNode("tipe") ), newIdentNode("column") ) ) ) ) ), nnkCaseStmt.newTree( nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("strVal") ), nnkOfBranch.newTree( newLit("int"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("high") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int32"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int32"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int16"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int16"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int16"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int8"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int8"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int8"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint16"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint16"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("uint16"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint8"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint8"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("uint8"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("char"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("char"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("char"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("byte"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("byte"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("byte"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("Positive"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("Positive"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("Positive"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("Natural"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("Natural"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("Natural"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("bool"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("bool"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), newLit(1) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("float"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("float"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkCall.newTree( newIdentNode("maximumPositiveValue"), newIdentNode("float") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("float64"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("float64"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkCall.newTree( newIdentNode("maximumPositiveValue"), newIdentNode("float64") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("float32"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("float32"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkCall.newTree( newIdentNode("maximumPositiveValue"), newIdentNode("float32") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int64"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int64"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint64"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint64"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint32"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint32"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("BackwardsIndex"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("nnkCall"), newIdentNode("newTree") ), nnkCallStrLit.newTree( newIdentNode("newIdentNode"), newLit("BackwardsIndex") ), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("high") ) ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("string"), newLit("cstring"), nnkStmtList.newTree( nnkVarSection.newTree( nnkIdentDefs.newTree( newIdentNode("s"), newEmptyNode(), newLit("") ) ), nnkForStmt.newTree( newIdentNode("_"), nnkInfix.newTree( newIdentNode(".."), newLit(0), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), newLit(512) ) ), nnkStmtList.newTree( nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("add") ), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkInfix.newTree( newIdentNode(".."), newLit(''), newLit('�') ) ) ) ) ), nnkIfStmt.newTree( nnkElifBranch.newTree( nnkInfix.newTree( newIdentNode("=="), nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("strVal") ), newLit("string") ), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newStrLitNode"), newIdentNode("s") ) ) ) ), nnkElse.newTree( nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("nnkCall"), newIdentNode("newTree") ), nnkCallStrLit.newTree( newIdentNode("newIdentNode"), newLit("cstring") ), nnkCall.newTree( newIdentNode("newStrLitNode"), newIdentNode("s") ) ) ) ) ) ) ) ), nnkElse.newTree( nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("nnkCall"), newIdentNode("newTree") ), nnkCallStrLit.newTree( newIdentNode("newIdentNode"), newLit("default") ), newIdentNode("tipe") ) ) ) ) ) ) ), nnkWhenStmt.newTree( nnkElifBranch.newTree( newIdentNode("isMainModule"), nnkStmtList.newTree( nnkCall.newTree( newIdentNode("randomize") ), nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("O"), newEmptyNode(), nnkEnumTy.newTree( newEmptyNode(), newIdentNode("A"), newIdentNode("B") ) ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("O"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int64"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int16"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int8"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint64"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint32"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint16"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint8"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("byte"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("char"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkCall.newTree( newIdentNode("repr"), nnkDotExpr.newTree( newIdentNode("BackwardsIndex"), newIdentNode("fuzzing") ) ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("bool"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("float"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("float64"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("float32"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("Positive"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("Natural"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("string"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("cstring"), newIdentNode("fuzzing") ) ) ) ) ) ) ```
1.2.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --styleCheck:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim stack trace: (most recent call last) /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(26, 19) fuzzing /home/runner/.choosenim/toolchains/nim-1.2.0/lib/pure/random.nim(572, 11) initRand /home/runner/.choosenim/toolchains/nim-1.2.0/lib/system/assertions.nim(29, 26) failedAssertImpl /home/runner/.choosenim/toolchains/nim-1.2.0/lib/system/assertions.nim(22, 11) raiseAssert /home/runner/.choosenim/toolchains/nim-1.2.0/lib/system/fatal.nim(49, 5) sysFatal /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(72, 15) template/generic instantiation of `fuzzing` from here /home/runner/.choosenim/toolchains/nim-1.2.0/lib/system/fatal.nim(49, 5) Error: unhandled exception: /home/runner/.choosenim/toolchains/nim-1.2.0/lib/pure/random.nim(572, 12) `seed != 0` [AssertionError] ```

Stats

  • Started 2023-08-10T00:48:24
  • Finished 2023-08-10T00:48:24
  • Duration

IR

Compiled filesize 112.41 Kb (115,112 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #include #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix # define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); # define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename; NI len; VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); # define nimln_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStringDesc NimStringDesc; typedef struct TGenericSeq TGenericSeq; typedef struct TNimType TNimType; typedef struct TNimNode TNimNode; struct TGenericSeq { NI len; NI reserved; }; struct NimStringDesc { TGenericSeq Sup; NIM_CHAR data[SEQ_DECL_SIZE]; }; typedef NimStringDesc* tyArray__nHXaesL0DJZHyVS07ARPRA[1]; typedef NU8 tyEnum_O__L9bk4A9cNfJ7sVIoNCCbpTrA; typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A; typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ; typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op); typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p); struct TNimType { NI size; NI align; tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind; tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags; TNimType* base; TNimNode* node; void* finalizer; tyProc__ojoeKfW4VYIm36I9cpDTQIg marker; tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy; }; typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ; struct TNimNode { tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind; NI offset; TNimType* typ; NCSTRING name; NI len; TNimNode** sons; }; N_LIB_PRIVATE N_NIMCALL(void, randomize_pureZrandom_277)(void); static N_INLINE(void, nimZeroMem)(void* p, NI size); static N_INLINE(void, nimSetMem_systemZmemory_7)(void* a, int v, NI size); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprEnum)(NI e, TNimType* typ); N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringDesc** args, NI argsLen_0); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprInt)(NI64 x); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar__system_3152)(NF x); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar__system_6856)(NF32 x); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NOINLINE(void, nimGC_setStackBottom)(void* theStackBottom); static N_INLINE(void, nimFrame)(TFrame* s); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached_system_2997)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_randomInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, tempDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); N_LIB_PRIVATE TNimType NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_6, "4544737871120492297", 19); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_5 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_6)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_8, "1130888928", 10); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_7 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_8)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_10, "32480", 5); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_9 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_10)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_12, "7", 1); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_11 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_12)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_14, "2861908543711129595", 19); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_13 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_14)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_16, "1334751227", 10); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_15 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_16)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_18, "45051", 5); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_17 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_18)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_20, "224", 3); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_19 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_20)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_22, "\007", 1); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_21 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_22)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_24, "true", 4); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_23 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_24)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_26, "7714993287299566774", 19); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_25 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_26)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_28, "3438232503963316601", 19); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_27 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_28)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_30, "\330\024\246\?\312\303\347\271l\345Td\213\307\365\217\321\240\275\357\363\307\346\012*XL\372\351\274\244/\333\212\333\211\365\377\257\245\320\357x}\323\216\340\315\253\203!\252\233\037\344\021E\033\300n\240c\202y\325\215o\361\216S^I\265|\274\303c\236\232L\317=@+\214\245uu\210\2310\304n\254\314\342\231\3364\335\233\350\235\205\021\224\374\351\375\233r\301n\243\352\206\223^sY\354\244\206\372)\345:\333ZkF\241:\234\036\204s\254\260S\006R\354H`Dj\216V\304\225\303XJ\314u#\242`|\3356\010\264`\302\350 \213\231\351\243.}\374\004\251\377\363\344\007\213M\311\245]\335\214\251\225wO\014:N\247f;e\014}\220\260\025\301S+\005\312\213\005D=w\347~\327\221\241Ym\223D=4\013\020-V\276\016\300\362T o@\334w\272(\222\201\037ytD\240\325M\320c.(kC\327\223I\356\252\304o\352f\256", 266); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_29 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_30)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_32, "S\272\0010\363\375{\361+7\372\"\365\200DU~{26\246\247\265j#\252\231\337<\271w)\250\011\233\333\014(\262\346\215\217\351\015w\366*!.E\360\256\241\353\031D\236\202\250\241\311h\031N\005b\341S\033\354+EAsv\307\016\327\211\210\274\341\344\'d\006\372\254&\272\266~\037E\371\241\321rFw\226\231\037\341\221\020\\\277b\264\327\354\365\255$\331\276\303\244\251H^_s\241\241\373\270\256\366c\206s\377Sr{H\310(\177\352\370\261\317e\363\254Z\256\024\013OJ\243\342\244\270,\205\011\251\224\321%\033^\336\235JN>\254Y\201\250D\366X\251\243\351\221\250\255\253y\324j\350\374s\025\005\244\351\355\372!++\0257#\0232G\3062C\350\004\003\222F\351dlI\245u\245\364+\204\003\001\370oC\251\346\013\221.S\365\355eP\261\241\332\035\275\333\033\361\365z4\303e}[\026\265A\227\342 \'k M=\3225\324>n\357\230\220\352\325\216U\310\\\030X\343\323\316\230G\373\270\374\\\3759\275\366+=6E\241~\350\3200}.9\266\302\010Dm\216^\012Dy\240\247{lr\017\231\310\036\3675\322", 329); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_31 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_32)} ; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; static N_INLINE(void, nimSetMem_systemZmemory_7)(void* a, int v, NI size) { void* T1_; T1_ = (void*)0; T1_ = memset(a, v, ((size_t) (size))); } static N_INLINE(void, nimZeroMem)(void* p, NI size) { nimSetMem_systemZmemory_7(p, ((int) 0), size); } static N_INLINE(void, initStackBottomWith)(void* locals) { nimGC_setStackBottom(locals); } static N_INLINE(void, nimFrame)(TFrame* s) { { if (!(framePtr_system_2564 == ((TFrame*) NIM_NIL))) goto LA3_; (*s).calldepth = ((NI16) 0); } goto LA1_; LA3_: ; { (*s).calldepth = (NI16)((*framePtr_system_2564).calldepth + ((NI16) 1)); } LA1_: ; (*s).prev = framePtr_system_2564; framePtr_system_2564 = s; { if (!((*s).calldepth == ((NI16) 2000))) goto LA8_; callDepthLimitReached_system_2997(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr_system_2564 = (*framePtr_system_2564).prev; } N_LIB_PRIVATE void PreMainInner(void) { stdlib_timesInit000(); stdlib_randomInit000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { void (*volatile inner)(void); inner = PreMainInner; systemDatInit000(); initStackBottomWith((void *)&inner); systemInit000(); stdlib_timesDatInit000(); tempDatInit000(); (*inner)(); } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { void (*volatile inner)(void); PreMain(); inner = NimMainInner; initStackBottomWith((void *)&inner); (*inner)(); } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { tyArray__nHXaesL0DJZHyVS07ARPRA T1_; tyEnum_O__L9bk4A9cNfJ7sVIoNCCbpTrA T2_; tyArray__nHXaesL0DJZHyVS07ARPRA T3_; tyArray__nHXaesL0DJZHyVS07ARPRA T4_; tyArray__nHXaesL0DJZHyVS07ARPRA T5_; tyArray__nHXaesL0DJZHyVS07ARPRA T6_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); randomize_pureZrandom_277(); nimZeroMem((void*)T1_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA)); T2_ = (tyEnum_O__L9bk4A9cNfJ7sVIoNCCbpTrA)0; T1_[0] = reprEnum((NI)T2_, (&NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_)); echoBinSafe(T1_, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_5, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_7, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_7, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_9, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_11, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_13, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_15, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_17, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_19, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_11, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_21, 1); nimZeroMem((void*)T3_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA)); T3_[0] = reprInt((NI64)((NI) IL64(5154042111601409760))); echoBinSafe(T3_, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_23, 1); nimZeroMem((void*)T4_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA)); T4_[0] = dollar__system_3152(1.401124155486506e+308); echoBinSafe(T4_, 1); nimZeroMem((void*)T5_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA)); T5_[0] = dollar__system_3152(1.2339131213844038e+308); echoBinSafe(T5_, 1); nimZeroMem((void*)T6_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA)); T6_[0] = dollar__system_6856(2.3356537e+38f); echoBinSafe(T6_, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_25, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_27, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_29, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_31, 1); popFrame(); } } N_LIB_PRIVATE N_NIMCALL(void, tempDatInit000)(void) { static TNimNode* TM__h69aKLv9bAieBdiFzvDngbMw_2_2[2]; NI TM__h69aKLv9bAieBdiFzvDngbMw_4; static char* NIM_CONST TM__h69aKLv9bAieBdiFzvDngbMw_3[2] = { "A", "B"}; static TNimNode TM__h69aKLv9bAieBdiFzvDngbMw_0[3]; NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_.size = sizeof(tyEnum_O__L9bk4A9cNfJ7sVIoNCCbpTrA); NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_.align = NIM_ALIGNOF(tyEnum_O__L9bk4A9cNfJ7sVIoNCCbpTrA); NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_.kind = 14; NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_.base = 0; NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_.flags = 3; for (TM__h69aKLv9bAieBdiFzvDngbMw_4 = 0; TM__h69aKLv9bAieBdiFzvDngbMw_4 < 2; TM__h69aKLv9bAieBdiFzvDngbMw_4++) { TM__h69aKLv9bAieBdiFzvDngbMw_0[TM__h69aKLv9bAieBdiFzvDngbMw_4+0].kind = 1; TM__h69aKLv9bAieBdiFzvDngbMw_0[TM__h69aKLv9bAieBdiFzvDngbMw_4+0].offset = TM__h69aKLv9bAieBdiFzvDngbMw_4; TM__h69aKLv9bAieBdiFzvDngbMw_0[TM__h69aKLv9bAieBdiFzvDngbMw_4+0].name = TM__h69aKLv9bAieBdiFzvDngbMw_3[TM__h69aKLv9bAieBdiFzvDngbMw_4]; TM__h69aKLv9bAieBdiFzvDngbMw_2_2[TM__h69aKLv9bAieBdiFzvDngbMw_4] = &TM__h69aKLv9bAieBdiFzvDngbMw_0[TM__h69aKLv9bAieBdiFzvDngbMw_4+0]; } TM__h69aKLv9bAieBdiFzvDngbMw_0[2].len = 2; TM__h69aKLv9bAieBdiFzvDngbMw_0[2].kind = 2; TM__h69aKLv9bAieBdiFzvDngbMw_0[2].sons = &TM__h69aKLv9bAieBdiFzvDngbMw_2_2[0]; NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_.node = &TM__h69aKLv9bAieBdiFzvDngbMw_0[2]; } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( nnkInfix.newTree( newIdentNode("/"), newIdentNode("std"), nnkBracket.newTree( newIdentNode("random"), newIdentNode("macros"), newIdentNode("fenv") ) ) ), nnkMacroDef.newTree( nnkPostfix.newTree( newIdentNode("*"), newIdentNode("fuzzing") ), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newIdentNode("untyped"), nnkIdentDefs.newTree( newIdentNode("tipe"), newIdentNode("typedesc"), newEmptyNode() ) ), newEmptyNode(), newEmptyNode(), nnkStmtList.newTree( nnkCommand.newTree( newIdentNode("doAssert"), nnkInfix.newTree( newIdentNode("and"), nnkInfix.newTree( newIdentNode("=="), nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("kind") ), newIdentNode("nnkSym") ), nnkInfix.newTree( newIdentNode("=="), nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("symKind") ), newIdentNode("nskType") ) ), newLit("Argument must be a static typedesc of primitive type.") ), nnkVarSection.newTree( nnkIdentDefs.newTree( newIdentNode("r"), newEmptyNode(), nnkCall.newTree( newIdentNode("initRand"), nnkInfix.newTree( newIdentNode("xor"), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("strVal") ), newIdentNode("len") ), nnkDotExpr.newTree( nnkCall.newTree( newIdentNode("lineInfoObj"), newIdentNode("tipe") ), newIdentNode("column") ) ) ) ) ), nnkCaseStmt.newTree( nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("strVal") ), nnkOfBranch.newTree( newLit("int"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("high") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int32"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int32"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int16"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int16"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int16"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int8"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int8"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int8"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint16"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint16"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("uint16"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint8"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint8"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("uint8"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("char"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("char"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("char"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("byte"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("byte"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("byte"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("Positive"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("Positive"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("Positive"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("Natural"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("Natural"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("Natural"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("bool"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("bool"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), newLit(1) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("float"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("float"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkCall.newTree( newIdentNode("maximumPositiveValue"), newIdentNode("float") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("float64"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("float64"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkCall.newTree( newIdentNode("maximumPositiveValue"), newIdentNode("float64") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("float32"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("float32"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkCall.newTree( newIdentNode("maximumPositiveValue"), newIdentNode("float32") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int64"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int64"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint64"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint64"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint32"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint32"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("BackwardsIndex"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("nnkCall"), newIdentNode("newTree") ), nnkCallStrLit.newTree( newIdentNode("newIdentNode"), newLit("BackwardsIndex") ), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("high") ) ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("string"), newLit("cstring"), nnkStmtList.newTree( nnkVarSection.newTree( nnkIdentDefs.newTree( newIdentNode("s"), newEmptyNode(), newLit("") ) ), nnkForStmt.newTree( newIdentNode("_"), nnkInfix.newTree( newIdentNode(".."), newLit(0), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), newLit(512) ) ), nnkStmtList.newTree( nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("add") ), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkInfix.newTree( newIdentNode(".."), newLit(''), newLit('�') ) ) ) ) ), nnkIfStmt.newTree( nnkElifBranch.newTree( nnkInfix.newTree( newIdentNode("=="), nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("strVal") ), newLit("string") ), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newStrLitNode"), newIdentNode("s") ) ) ) ), nnkElse.newTree( nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("nnkCall"), newIdentNode("newTree") ), nnkCallStrLit.newTree( newIdentNode("newIdentNode"), newLit("cstring") ), nnkCall.newTree( newIdentNode("newStrLitNode"), newIdentNode("s") ) ) ) ) ) ) ) ), nnkElse.newTree( nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("nnkCall"), newIdentNode("newTree") ), nnkCallStrLit.newTree( newIdentNode("newIdentNode"), newLit("default") ), newIdentNode("tipe") ) ) ) ) ) ) ), nnkWhenStmt.newTree( nnkElifBranch.newTree( newIdentNode("isMainModule"), nnkStmtList.newTree( nnkCall.newTree( newIdentNode("randomize") ), nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("O"), newEmptyNode(), nnkEnumTy.newTree( newEmptyNode(), newIdentNode("A"), newIdentNode("B") ) ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("O"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int64"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int16"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int8"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint64"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint32"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint16"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint8"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("byte"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("char"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkCall.newTree( newIdentNode("repr"), nnkDotExpr.newTree( newIdentNode("BackwardsIndex"), newIdentNode("fuzzing") ) ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("bool"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("float"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("float64"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("float32"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("Positive"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("Natural"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("string"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("cstring"), newIdentNode("fuzzing") ) ) ) ) ) ) ```
1.0.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --styleCheck:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim stack trace: (most recent call last) /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(26, 19) fuzzing /home/runner/.choosenim/toolchains/nim-1.0.0/lib/pure/random.nim(572, 11) initRand /home/runner/.choosenim/toolchains/nim-1.0.0/lib/system/assertions.nim(27, 20) failedAssertImpl /home/runner/.choosenim/toolchains/nim-1.0.0/lib/system/assertions.nim(20, 11) raiseAssert /home/runner/.choosenim/toolchains/nim-1.0.0/lib/system/fatal.nim(39, 5) sysFatal /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(72, 15) template/generic instantiation of `fuzzing` from here /home/runner/.choosenim/toolchains/nim-1.0.0/lib/system/fatal.nim(39, 5) Error: unhandled exception: /home/runner/.choosenim/toolchains/nim-1.0.0/lib/pure/random.nim(572, 12) `seed != 0` [AssertionError] ```

Stats

  • Started 2023-08-10T00:48:38
  • Finished 2023-08-10T00:48:38
  • Duration

IR

Compiled filesize 112.41 Kb (115,112 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #include #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix # define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); # define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename; NI len; VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); # define nimln_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStringDesc NimStringDesc; typedef struct TGenericSeq TGenericSeq; typedef struct TNimType TNimType; typedef struct TNimNode TNimNode; struct TGenericSeq { NI len; NI reserved; }; struct NimStringDesc { TGenericSeq Sup; NIM_CHAR data[SEQ_DECL_SIZE]; }; typedef NimStringDesc* tyArray__nHXaesL0DJZHyVS07ARPRA[1]; typedef NU8 tyEnum_O__L9bk4A9cNfJ7sVIoNCCbpTrA; typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A; typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ; typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op); typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p); struct TNimType { NI size; NI align; tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind; tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags; TNimType* base; TNimNode* node; void* finalizer; tyProc__ojoeKfW4VYIm36I9cpDTQIg marker; tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy; }; typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ; struct TNimNode { tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind; NI offset; TNimType* typ; NCSTRING name; NI len; TNimNode** sons; }; N_LIB_PRIVATE N_NIMCALL(void, randomize_pureZrandom_277)(void); static N_INLINE(void, nimZeroMem)(void* p, NI size); static N_INLINE(void, nimSetMem_systemZmemory_7)(void* a, int v, NI size); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprEnum)(NI e, TNimType* typ); N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringDesc** args, NI argsLen_0); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprInt)(NI64 x); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar__system_3152)(NF x); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar__system_6856)(NF32 x); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NOINLINE(void, nimGC_setStackBottom)(void* theStackBottom); static N_INLINE(void, nimFrame)(TFrame* s); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached_system_2997)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_randomInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, tempDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); N_LIB_PRIVATE TNimType NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_6, "4544737871120492297", 19); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_5 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_6)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_8, "1130888928", 10); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_7 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_8)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_10, "32480", 5); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_9 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_10)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_12, "7", 1); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_11 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_12)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_14, "2861908543711129595", 19); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_13 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_14)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_16, "1334751227", 10); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_15 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_16)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_18, "45051", 5); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_17 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_18)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_20, "224", 3); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_19 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_20)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_22, "\007", 1); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_21 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_22)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_24, "true", 4); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_23 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_24)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_26, "7714993287299566774", 19); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_25 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_26)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_28, "3438232503963316601", 19); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_27 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_28)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_30, "\330\024\246\?\312\303\347\271l\345Td\213\307\365\217\321\240\275\357\363\307\346\012*XL\372\351\274\244/\333\212\333\211\365\377\257\245\320\357x}\323\216\340\315\253\203!\252\233\037\344\021E\033\300n\240c\202y\325\215o\361\216S^I\265|\274\303c\236\232L\317=@+\214\245uu\210\2310\304n\254\314\342\231\3364\335\233\350\235\205\021\224\374\351\375\233r\301n\243\352\206\223^sY\354\244\206\372)\345:\333ZkF\241:\234\036\204s\254\260S\006R\354H`Dj\216V\304\225\303XJ\314u#\242`|\3356\010\264`\302\350 \213\231\351\243.}\374\004\251\377\363\344\007\213M\311\245]\335\214\251\225wO\014:N\247f;e\014}\220\260\025\301S+\005\312\213\005D=w\347~\327\221\241Ym\223D=4\013\020-V\276\016\300\362T o@\334w\272(\222\201\037ytD\240\325M\320c.(kC\327\223I\356\252\304o\352f\256", 266); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_29 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_30)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_32, "S\272\0010\363\375{\361+7\372\"\365\200DU~{26\246\247\265j#\252\231\337<\271w)\250\011\233\333\014(\262\346\215\217\351\015w\366*!.E\360\256\241\353\031D\236\202\250\241\311h\031N\005b\341S\033\354+EAsv\307\016\327\211\210\274\341\344\'d\006\372\254&\272\266~\037E\371\241\321rFw\226\231\037\341\221\020\\\277b\264\327\354\365\255$\331\276\303\244\251H^_s\241\241\373\270\256\366c\206s\377Sr{H\310(\177\352\370\261\317e\363\254Z\256\024\013OJ\243\342\244\270,\205\011\251\224\321%\033^\336\235JN>\254Y\201\250D\366X\251\243\351\221\250\255\253y\324j\350\374s\025\005\244\351\355\372!++\0257#\0232G\3062C\350\004\003\222F\351dlI\245u\245\364+\204\003\001\370oC\251\346\013\221.S\365\355eP\261\241\332\035\275\333\033\361\365z4\303e}[\026\265A\227\342 \'k M=\3225\324>n\357\230\220\352\325\216U\310\\\030X\343\323\316\230G\373\270\374\\\3759\275\366+=6E\241~\350\3200}.9\266\302\010Dm\216^\012Dy\240\247{lr\017\231\310\036\3675\322", 329); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_31 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_32)} ; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; static N_INLINE(void, nimSetMem_systemZmemory_7)(void* a, int v, NI size) { void* T1_; T1_ = (void*)0; T1_ = memset(a, v, ((size_t) (size))); } static N_INLINE(void, nimZeroMem)(void* p, NI size) { nimSetMem_systemZmemory_7(p, ((int) 0), size); } static N_INLINE(void, initStackBottomWith)(void* locals) { nimGC_setStackBottom(locals); } static N_INLINE(void, nimFrame)(TFrame* s) { { if (!(framePtr_system_2564 == ((TFrame*) NIM_NIL))) goto LA3_; (*s).calldepth = ((NI16) 0); } goto LA1_; LA3_: ; { (*s).calldepth = (NI16)((*framePtr_system_2564).calldepth + ((NI16) 1)); } LA1_: ; (*s).prev = framePtr_system_2564; framePtr_system_2564 = s; { if (!((*s).calldepth == ((NI16) 2000))) goto LA8_; callDepthLimitReached_system_2997(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr_system_2564 = (*framePtr_system_2564).prev; } N_LIB_PRIVATE void PreMainInner(void) { stdlib_timesInit000(); stdlib_randomInit000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { void (*volatile inner)(void); inner = PreMainInner; systemDatInit000(); initStackBottomWith((void *)&inner); systemInit000(); stdlib_timesDatInit000(); tempDatInit000(); (*inner)(); } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { void (*volatile inner)(void); PreMain(); inner = NimMainInner; initStackBottomWith((void *)&inner); (*inner)(); } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { tyArray__nHXaesL0DJZHyVS07ARPRA T1_; tyEnum_O__L9bk4A9cNfJ7sVIoNCCbpTrA T2_; tyArray__nHXaesL0DJZHyVS07ARPRA T3_; tyArray__nHXaesL0DJZHyVS07ARPRA T4_; tyArray__nHXaesL0DJZHyVS07ARPRA T5_; tyArray__nHXaesL0DJZHyVS07ARPRA T6_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); randomize_pureZrandom_277(); nimZeroMem((void*)T1_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA)); T2_ = (tyEnum_O__L9bk4A9cNfJ7sVIoNCCbpTrA)0; T1_[0] = reprEnum((NI)T2_, (&NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_)); echoBinSafe(T1_, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_5, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_7, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_7, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_9, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_11, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_13, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_15, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_17, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_19, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_11, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_21, 1); nimZeroMem((void*)T3_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA)); T3_[0] = reprInt((NI64)((NI) IL64(5154042111601409760))); echoBinSafe(T3_, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_23, 1); nimZeroMem((void*)T4_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA)); T4_[0] = dollar__system_3152(1.401124155486506e+308); echoBinSafe(T4_, 1); nimZeroMem((void*)T5_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA)); T5_[0] = dollar__system_3152(1.2339131213844038e+308); echoBinSafe(T5_, 1); nimZeroMem((void*)T6_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA)); T6_[0] = dollar__system_6856(2.3356537e+38f); echoBinSafe(T6_, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_25, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_27, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_29, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_31, 1); popFrame(); } } N_LIB_PRIVATE N_NIMCALL(void, tempDatInit000)(void) { static TNimNode* TM__h69aKLv9bAieBdiFzvDngbMw_2_2[2]; NI TM__h69aKLv9bAieBdiFzvDngbMw_4; static char* NIM_CONST TM__h69aKLv9bAieBdiFzvDngbMw_3[2] = { "A", "B"}; static TNimNode TM__h69aKLv9bAieBdiFzvDngbMw_0[3]; NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_.size = sizeof(tyEnum_O__L9bk4A9cNfJ7sVIoNCCbpTrA); NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_.align = NIM_ALIGNOF(tyEnum_O__L9bk4A9cNfJ7sVIoNCCbpTrA); NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_.kind = 14; NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_.base = 0; NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_.flags = 3; for (TM__h69aKLv9bAieBdiFzvDngbMw_4 = 0; TM__h69aKLv9bAieBdiFzvDngbMw_4 < 2; TM__h69aKLv9bAieBdiFzvDngbMw_4++) { TM__h69aKLv9bAieBdiFzvDngbMw_0[TM__h69aKLv9bAieBdiFzvDngbMw_4+0].kind = 1; TM__h69aKLv9bAieBdiFzvDngbMw_0[TM__h69aKLv9bAieBdiFzvDngbMw_4+0].offset = TM__h69aKLv9bAieBdiFzvDngbMw_4; TM__h69aKLv9bAieBdiFzvDngbMw_0[TM__h69aKLv9bAieBdiFzvDngbMw_4+0].name = TM__h69aKLv9bAieBdiFzvDngbMw_3[TM__h69aKLv9bAieBdiFzvDngbMw_4]; TM__h69aKLv9bAieBdiFzvDngbMw_2_2[TM__h69aKLv9bAieBdiFzvDngbMw_4] = &TM__h69aKLv9bAieBdiFzvDngbMw_0[TM__h69aKLv9bAieBdiFzvDngbMw_4+0]; } TM__h69aKLv9bAieBdiFzvDngbMw_0[2].len = 2; TM__h69aKLv9bAieBdiFzvDngbMw_0[2].kind = 2; TM__h69aKLv9bAieBdiFzvDngbMw_0[2].sons = &TM__h69aKLv9bAieBdiFzvDngbMw_2_2[0]; NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_.node = &TM__h69aKLv9bAieBdiFzvDngbMw_0[2]; } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( nnkInfix.newTree( newIdentNode("/"), newIdentNode("std"), nnkBracket.newTree( newIdentNode("random"), newIdentNode("macros"), newIdentNode("fenv") ) ) ), nnkMacroDef.newTree( nnkPostfix.newTree( newIdentNode("*"), newIdentNode("fuzzing") ), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newIdentNode("untyped"), nnkIdentDefs.newTree( newIdentNode("tipe"), newIdentNode("typedesc"), newEmptyNode() ) ), newEmptyNode(), newEmptyNode(), nnkStmtList.newTree( nnkCommand.newTree( newIdentNode("doAssert"), nnkInfix.newTree( newIdentNode("and"), nnkInfix.newTree( newIdentNode("=="), nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("kind") ), newIdentNode("nnkSym") ), nnkInfix.newTree( newIdentNode("=="), nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("symKind") ), newIdentNode("nskType") ) ), newLit("Argument must be a static typedesc of primitive type.") ), nnkVarSection.newTree( nnkIdentDefs.newTree( newIdentNode("r"), newEmptyNode(), nnkCall.newTree( newIdentNode("initRand"), nnkInfix.newTree( newIdentNode("xor"), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("strVal") ), newIdentNode("len") ), nnkDotExpr.newTree( nnkCall.newTree( newIdentNode("lineInfoObj"), newIdentNode("tipe") ), newIdentNode("column") ) ) ) ) ), nnkCaseStmt.newTree( nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("strVal") ), nnkOfBranch.newTree( newLit("int"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("high") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int32"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int32"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int16"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int16"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int16"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int8"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int8"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int8"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint16"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint16"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("uint16"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint8"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint8"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("uint8"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("char"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("char"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("char"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("byte"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("byte"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("byte"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("Positive"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("Positive"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("Positive"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("Natural"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("Natural"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("Natural"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("bool"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("bool"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), newLit(1) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("float"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("float"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkCall.newTree( newIdentNode("maximumPositiveValue"), newIdentNode("float") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("float64"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("float64"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkCall.newTree( newIdentNode("maximumPositiveValue"), newIdentNode("float64") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("float32"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("float32"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkCall.newTree( newIdentNode("maximumPositiveValue"), newIdentNode("float32") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int64"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int64"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint64"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint64"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint32"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint32"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("BackwardsIndex"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("nnkCall"), newIdentNode("newTree") ), nnkCallStrLit.newTree( newIdentNode("newIdentNode"), newLit("BackwardsIndex") ), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("high") ) ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("string"), newLit("cstring"), nnkStmtList.newTree( nnkVarSection.newTree( nnkIdentDefs.newTree( newIdentNode("s"), newEmptyNode(), newLit("") ) ), nnkForStmt.newTree( newIdentNode("_"), nnkInfix.newTree( newIdentNode(".."), newLit(0), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), newLit(512) ) ), nnkStmtList.newTree( nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("add") ), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkInfix.newTree( newIdentNode(".."), newLit(''), newLit('�') ) ) ) ) ), nnkIfStmt.newTree( nnkElifBranch.newTree( nnkInfix.newTree( newIdentNode("=="), nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("strVal") ), newLit("string") ), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newStrLitNode"), newIdentNode("s") ) ) ) ), nnkElse.newTree( nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("nnkCall"), newIdentNode("newTree") ), nnkCallStrLit.newTree( newIdentNode("newIdentNode"), newLit("cstring") ), nnkCall.newTree( newIdentNode("newStrLitNode"), newIdentNode("s") ) ) ) ) ) ) ) ), nnkElse.newTree( nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("nnkCall"), newIdentNode("newTree") ), nnkCallStrLit.newTree( newIdentNode("newIdentNode"), newLit("default") ), newIdentNode("tipe") ) ) ) ) ) ) ), nnkWhenStmt.newTree( nnkElifBranch.newTree( newIdentNode("isMainModule"), nnkStmtList.newTree( nnkCall.newTree( newIdentNode("randomize") ), nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("O"), newEmptyNode(), nnkEnumTy.newTree( newEmptyNode(), newIdentNode("A"), newIdentNode("B") ) ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("O"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int64"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int16"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int8"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint64"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint32"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint16"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint8"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("byte"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("char"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkCall.newTree( newIdentNode("repr"), nnkDotExpr.newTree( newIdentNode("BackwardsIndex"), newIdentNode("fuzzing") ) ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("bool"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("float"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("float64"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("float32"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("Positive"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("Natural"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("string"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("cstring"), newIdentNode("fuzzing") ) ) ) ) ) ) ```
0.20.2 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --styleCheck:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim stack trace: (most recent call last) /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(26, 19) fuzzing /home/runner/.choosenim/toolchains/nim-0.20.2/lib/pure/random.nim(538, 11) initRand /home/runner/.choosenim/toolchains/nim-0.20.2/lib/system/assertions.nim(27, 20) failedAssertImpl /home/runner/.choosenim/toolchains/nim-0.20.2/lib/system/assertions.nim(20, 11) raiseAssert /home/runner/.choosenim/toolchains/nim-0.20.2/lib/system/fatal.nim(39, 5) sysFatal /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(72, 15) template/generic instantiation of `fuzzing` from here /home/runner/.choosenim/toolchains/nim-0.20.2/lib/system/fatal.nim(39, 5) Error: unhandled exception: /home/runner/.choosenim/toolchains/nim-0.20.2/lib/pure/random.nim(538, 12) `seed != 0` ```

Stats

  • Started 2023-08-10T00:48:50
  • Finished 2023-08-10T00:48:50
  • Duration

IR

Compiled filesize 112.41 Kb (115,112 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #include #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix # define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); # define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename; NI len; VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); # define nimln_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStringDesc NimStringDesc; typedef struct TGenericSeq TGenericSeq; typedef struct TNimType TNimType; typedef struct TNimNode TNimNode; struct TGenericSeq { NI len; NI reserved; }; struct NimStringDesc { TGenericSeq Sup; NIM_CHAR data[SEQ_DECL_SIZE]; }; typedef NimStringDesc* tyArray__nHXaesL0DJZHyVS07ARPRA[1]; typedef NU8 tyEnum_O__L9bk4A9cNfJ7sVIoNCCbpTrA; typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A; typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ; typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op); typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p); struct TNimType { NI size; NI align; tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind; tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags; TNimType* base; TNimNode* node; void* finalizer; tyProc__ojoeKfW4VYIm36I9cpDTQIg marker; tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy; }; typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ; struct TNimNode { tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind; NI offset; TNimType* typ; NCSTRING name; NI len; TNimNode** sons; }; N_LIB_PRIVATE N_NIMCALL(void, randomize_pureZrandom_277)(void); static N_INLINE(void, nimZeroMem)(void* p, NI size); static N_INLINE(void, nimSetMem_systemZmemory_7)(void* a, int v, NI size); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprEnum)(NI e, TNimType* typ); N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringDesc** args, NI argsLen_0); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprInt)(NI64 x); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar__system_3152)(NF x); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar__system_6856)(NF32 x); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NOINLINE(void, nimGC_setStackBottom)(void* theStackBottom); static N_INLINE(void, nimFrame)(TFrame* s); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached_system_2997)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_randomInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, tempDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); N_LIB_PRIVATE TNimType NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_6, "4544737871120492297", 19); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_5 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_6)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_8, "1130888928", 10); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_7 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_8)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_10, "32480", 5); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_9 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_10)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_12, "7", 1); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_11 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_12)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_14, "2861908543711129595", 19); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_13 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_14)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_16, "1334751227", 10); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_15 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_16)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_18, "45051", 5); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_17 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_18)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_20, "224", 3); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_19 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_20)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_22, "\007", 1); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_21 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_22)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_24, "true", 4); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_23 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_24)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_26, "7714993287299566774", 19); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_25 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_26)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_28, "3438232503963316601", 19); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_27 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_28)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_30, "\330\024\246\?\312\303\347\271l\345Td\213\307\365\217\321\240\275\357\363\307\346\012*XL\372\351\274\244/\333\212\333\211\365\377\257\245\320\357x}\323\216\340\315\253\203!\252\233\037\344\021E\033\300n\240c\202y\325\215o\361\216S^I\265|\274\303c\236\232L\317=@+\214\245uu\210\2310\304n\254\314\342\231\3364\335\233\350\235\205\021\224\374\351\375\233r\301n\243\352\206\223^sY\354\244\206\372)\345:\333ZkF\241:\234\036\204s\254\260S\006R\354H`Dj\216V\304\225\303XJ\314u#\242`|\3356\010\264`\302\350 \213\231\351\243.}\374\004\251\377\363\344\007\213M\311\245]\335\214\251\225wO\014:N\247f;e\014}\220\260\025\301S+\005\312\213\005D=w\347~\327\221\241Ym\223D=4\013\020-V\276\016\300\362T o@\334w\272(\222\201\037ytD\240\325M\320c.(kC\327\223I\356\252\304o\352f\256", 266); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_29 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_30)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_32, "S\272\0010\363\375{\361+7\372\"\365\200DU~{26\246\247\265j#\252\231\337<\271w)\250\011\233\333\014(\262\346\215\217\351\015w\366*!.E\360\256\241\353\031D\236\202\250\241\311h\031N\005b\341S\033\354+EAsv\307\016\327\211\210\274\341\344\'d\006\372\254&\272\266~\037E\371\241\321rFw\226\231\037\341\221\020\\\277b\264\327\354\365\255$\331\276\303\244\251H^_s\241\241\373\270\256\366c\206s\377Sr{H\310(\177\352\370\261\317e\363\254Z\256\024\013OJ\243\342\244\270,\205\011\251\224\321%\033^\336\235JN>\254Y\201\250D\366X\251\243\351\221\250\255\253y\324j\350\374s\025\005\244\351\355\372!++\0257#\0232G\3062C\350\004\003\222F\351dlI\245u\245\364+\204\003\001\370oC\251\346\013\221.S\365\355eP\261\241\332\035\275\333\033\361\365z4\303e}[\026\265A\227\342 \'k M=\3225\324>n\357\230\220\352\325\216U\310\\\030X\343\323\316\230G\373\270\374\\\3759\275\366+=6E\241~\350\3200}.9\266\302\010Dm\216^\012Dy\240\247{lr\017\231\310\036\3675\322", 329); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_31 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_32)} ; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; static N_INLINE(void, nimSetMem_systemZmemory_7)(void* a, int v, NI size) { void* T1_; T1_ = (void*)0; T1_ = memset(a, v, ((size_t) (size))); } static N_INLINE(void, nimZeroMem)(void* p, NI size) { nimSetMem_systemZmemory_7(p, ((int) 0), size); } static N_INLINE(void, initStackBottomWith)(void* locals) { nimGC_setStackBottom(locals); } static N_INLINE(void, nimFrame)(TFrame* s) { { if (!(framePtr_system_2564 == ((TFrame*) NIM_NIL))) goto LA3_; (*s).calldepth = ((NI16) 0); } goto LA1_; LA3_: ; { (*s).calldepth = (NI16)((*framePtr_system_2564).calldepth + ((NI16) 1)); } LA1_: ; (*s).prev = framePtr_system_2564; framePtr_system_2564 = s; { if (!((*s).calldepth == ((NI16) 2000))) goto LA8_; callDepthLimitReached_system_2997(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr_system_2564 = (*framePtr_system_2564).prev; } N_LIB_PRIVATE void PreMainInner(void) { stdlib_timesInit000(); stdlib_randomInit000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { void (*volatile inner)(void); inner = PreMainInner; systemDatInit000(); initStackBottomWith((void *)&inner); systemInit000(); stdlib_timesDatInit000(); tempDatInit000(); (*inner)(); } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { void (*volatile inner)(void); PreMain(); inner = NimMainInner; initStackBottomWith((void *)&inner); (*inner)(); } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { tyArray__nHXaesL0DJZHyVS07ARPRA T1_; tyEnum_O__L9bk4A9cNfJ7sVIoNCCbpTrA T2_; tyArray__nHXaesL0DJZHyVS07ARPRA T3_; tyArray__nHXaesL0DJZHyVS07ARPRA T4_; tyArray__nHXaesL0DJZHyVS07ARPRA T5_; tyArray__nHXaesL0DJZHyVS07ARPRA T6_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); randomize_pureZrandom_277(); nimZeroMem((void*)T1_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA)); T2_ = (tyEnum_O__L9bk4A9cNfJ7sVIoNCCbpTrA)0; T1_[0] = reprEnum((NI)T2_, (&NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_)); echoBinSafe(T1_, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_5, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_7, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_7, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_9, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_11, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_13, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_15, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_17, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_19, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_11, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_21, 1); nimZeroMem((void*)T3_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA)); T3_[0] = reprInt((NI64)((NI) IL64(5154042111601409760))); echoBinSafe(T3_, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_23, 1); nimZeroMem((void*)T4_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA)); T4_[0] = dollar__system_3152(1.401124155486506e+308); echoBinSafe(T4_, 1); nimZeroMem((void*)T5_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA)); T5_[0] = dollar__system_3152(1.2339131213844038e+308); echoBinSafe(T5_, 1); nimZeroMem((void*)T6_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA)); T6_[0] = dollar__system_6856(2.3356537e+38f); echoBinSafe(T6_, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_25, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_27, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_29, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_31, 1); popFrame(); } } N_LIB_PRIVATE N_NIMCALL(void, tempDatInit000)(void) { static TNimNode* TM__h69aKLv9bAieBdiFzvDngbMw_2_2[2]; NI TM__h69aKLv9bAieBdiFzvDngbMw_4; static char* NIM_CONST TM__h69aKLv9bAieBdiFzvDngbMw_3[2] = { "A", "B"}; static TNimNode TM__h69aKLv9bAieBdiFzvDngbMw_0[3]; NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_.size = sizeof(tyEnum_O__L9bk4A9cNfJ7sVIoNCCbpTrA); NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_.align = NIM_ALIGNOF(tyEnum_O__L9bk4A9cNfJ7sVIoNCCbpTrA); NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_.kind = 14; NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_.base = 0; NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_.flags = 3; for (TM__h69aKLv9bAieBdiFzvDngbMw_4 = 0; TM__h69aKLv9bAieBdiFzvDngbMw_4 < 2; TM__h69aKLv9bAieBdiFzvDngbMw_4++) { TM__h69aKLv9bAieBdiFzvDngbMw_0[TM__h69aKLv9bAieBdiFzvDngbMw_4+0].kind = 1; TM__h69aKLv9bAieBdiFzvDngbMw_0[TM__h69aKLv9bAieBdiFzvDngbMw_4+0].offset = TM__h69aKLv9bAieBdiFzvDngbMw_4; TM__h69aKLv9bAieBdiFzvDngbMw_0[TM__h69aKLv9bAieBdiFzvDngbMw_4+0].name = TM__h69aKLv9bAieBdiFzvDngbMw_3[TM__h69aKLv9bAieBdiFzvDngbMw_4]; TM__h69aKLv9bAieBdiFzvDngbMw_2_2[TM__h69aKLv9bAieBdiFzvDngbMw_4] = &TM__h69aKLv9bAieBdiFzvDngbMw_0[TM__h69aKLv9bAieBdiFzvDngbMw_4+0]; } TM__h69aKLv9bAieBdiFzvDngbMw_0[2].len = 2; TM__h69aKLv9bAieBdiFzvDngbMw_0[2].kind = 2; TM__h69aKLv9bAieBdiFzvDngbMw_0[2].sons = &TM__h69aKLv9bAieBdiFzvDngbMw_2_2[0]; NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_.node = &TM__h69aKLv9bAieBdiFzvDngbMw_0[2]; } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( nnkInfix.newTree( newIdentNode("/"), newIdentNode("std"), nnkBracket.newTree( newIdentNode("random"), newIdentNode("macros"), newIdentNode("fenv") ) ) ), nnkMacroDef.newTree( nnkPostfix.newTree( newIdentNode("*"), newIdentNode("fuzzing") ), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newIdentNode("untyped"), nnkIdentDefs.newTree( newIdentNode("tipe"), newIdentNode("typedesc"), newEmptyNode() ) ), newEmptyNode(), newEmptyNode(), nnkStmtList.newTree( nnkCommand.newTree( newIdentNode("doAssert"), nnkInfix.newTree( newIdentNode("and"), nnkInfix.newTree( newIdentNode("=="), nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("kind") ), newIdentNode("nnkSym") ), nnkInfix.newTree( newIdentNode("=="), nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("symKind") ), newIdentNode("nskType") ) ), newLit("Argument must be a static typedesc of primitive type.") ), nnkVarSection.newTree( nnkIdentDefs.newTree( newIdentNode("r"), newEmptyNode(), nnkCall.newTree( newIdentNode("initRand"), nnkInfix.newTree( newIdentNode("xor"), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("strVal") ), newIdentNode("len") ), nnkDotExpr.newTree( nnkCall.newTree( newIdentNode("lineInfoObj"), newIdentNode("tipe") ), newIdentNode("column") ) ) ) ) ), nnkCaseStmt.newTree( nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("strVal") ), nnkOfBranch.newTree( newLit("int"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("high") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int32"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int32"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int16"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int16"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int16"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int8"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int8"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int8"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint16"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint16"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("uint16"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint8"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint8"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("uint8"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("char"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("char"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("char"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("byte"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("byte"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("byte"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("Positive"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("Positive"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("Positive"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("Natural"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("Natural"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("Natural"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("bool"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("bool"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), newLit(1) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("float"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("float"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkCall.newTree( newIdentNode("maximumPositiveValue"), newIdentNode("float") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("float64"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("float64"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkCall.newTree( newIdentNode("maximumPositiveValue"), newIdentNode("float64") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("float32"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("float32"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkCall.newTree( newIdentNode("maximumPositiveValue"), newIdentNode("float32") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int64"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int64"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint64"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint64"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint32"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint32"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("BackwardsIndex"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("nnkCall"), newIdentNode("newTree") ), nnkCallStrLit.newTree( newIdentNode("newIdentNode"), newLit("BackwardsIndex") ), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("high") ) ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("string"), newLit("cstring"), nnkStmtList.newTree( nnkVarSection.newTree( nnkIdentDefs.newTree( newIdentNode("s"), newEmptyNode(), newLit("") ) ), nnkForStmt.newTree( newIdentNode("_"), nnkInfix.newTree( newIdentNode(".."), newLit(0), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), newLit(512) ) ), nnkStmtList.newTree( nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("add") ), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkInfix.newTree( newIdentNode(".."), newLit(''), newLit('�') ) ) ) ) ), nnkIfStmt.newTree( nnkElifBranch.newTree( nnkInfix.newTree( newIdentNode("=="), nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("strVal") ), newLit("string") ), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newStrLitNode"), newIdentNode("s") ) ) ) ), nnkElse.newTree( nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("nnkCall"), newIdentNode("newTree") ), nnkCallStrLit.newTree( newIdentNode("newIdentNode"), newLit("cstring") ), nnkCall.newTree( newIdentNode("newStrLitNode"), newIdentNode("s") ) ) ) ) ) ) ) ), nnkElse.newTree( nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("nnkCall"), newIdentNode("newTree") ), nnkCallStrLit.newTree( newIdentNode("newIdentNode"), newLit("default") ), newIdentNode("tipe") ) ) ) ) ) ) ), nnkWhenStmt.newTree( nnkElifBranch.newTree( newIdentNode("isMainModule"), nnkStmtList.newTree( nnkCall.newTree( newIdentNode("randomize") ), nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("O"), newEmptyNode(), nnkEnumTy.newTree( newEmptyNode(), newIdentNode("A"), newIdentNode("B") ) ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("O"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int64"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int16"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int8"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint64"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint32"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint16"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint8"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("byte"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("char"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkCall.newTree( newIdentNode("repr"), nnkDotExpr.newTree( newIdentNode("BackwardsIndex"), newIdentNode("fuzzing") ) ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("bool"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("float"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("float64"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("float32"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("Positive"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("Natural"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("string"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("cstring"), newIdentNode("fuzzing") ) ) ) ) ) ) ```
??? :arrow_right: :bug:

Diagnostics

The commit that introduced the bug can not be found, but the bug is in the commits: (Can not find the commit because Nim can not be re-built commit-by-commit to bisect).
Stats
  • GCC (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
  • LibC (Ubuntu GLIBC 2.35-0ubuntu3.1) 2.35
  • Valgrind 3.18.1
  • NodeJS 18.17.0
  • Linux 5.15.0-1042-
  • Created 2023-08-10T00:47:18Z
  • Issue Comments 1
  • Commands nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --styleCheck:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
:robot: Bug found in 19 minutes bisecting 11 commits at 1 commits per second.
juancarlospaco commented 1 year ago

!nim c

import std/[random, macros, fenv]

macro fuzzing*(tipe: typedesc): untyped =
  doAssert tipe.kind == nnkSym and tipe.symKind == nskType, "Argument must be a static typedesc of primitive type."
  var r = initRand(tipe.strVal.len xor lineInfoObj(tipe).column + NimPatch + 1)
  case tipe.strVal
  of "int"     : result = newLit(int(r.rand(int.high)))
  of "int32"   : result = newLit(int32(r.rand(int32.high.int)))
  of "int16"   : result = newLit(int16(r.rand(int16.high.int)))
  of "int8"    : result = newLit(int8(r.rand(int8.high.int)))
  of "uint16"  : result = newLit(uint16(r.rand(uint16.high.int)))
  of "uint8"   : result = newLit(uint8(r.rand(uint8.high.int)))
  of "char"    : result = newLit(char(r.rand(char.high.int)))
  of "byte"    : result = newLit(byte(r.rand(byte.high.int)))
  of "Positive": result = newLit(Positive(r.rand(Positive.high.int)))
  of "Natural" : result = newLit(Natural(r.rand(Natural.high.int)))
  of "bool"    : result = newLit(bool(r.rand(1)))
  of "float"   : result = newLit(float(r.rand(maximumPositiveValue(float))))
  of "float64" : result = newLit(float64(r.rand(maximumPositiveValue(float64))))
  of "float32" : result = newLit(float32(r.rand(maximumPositiveValue(float32))))
  of "int64" : result = newLit(int64(r.rand(int32.high.int))) # Reduced range for JS compat.
  of "uint64": result = newLit(uint64(r.rand(int.high.int)))
  of "uint32": result = newLit(uint32(r.rand(int32.high.int)))
  of "BackwardsIndex": result = nnkCall.newTree(newIdentNode"BackwardsIndex", newLit(int(r.rand(int.high))))
  of "string", "cstring":
    var s = ""
    for _ in 0 .. r.rand(512): s.add(r.rand('\x00'..'\xFF'))
    if tipe.strVal == "string":
      result = newStrLitNode(s)
    else:
      result = nnkCall.newTree(newIdentNode"cstring", newStrLitNode(s))
  else: result = nnkCall.newTree(newIdentNode"default", tipe)

when isMainModule:
  randomize()
  type O = enum A, B
  echo O.fuzzing
  echo int.fuzzing
  echo int64.fuzzing
  echo int32.fuzzing
  echo int16.fuzzing
  echo int8.fuzzing
  echo uint64.fuzzing
  echo uint32.fuzzing
  echo uint16.fuzzing
  echo uint8.fuzzing
  echo byte.fuzzing
  echo char.fuzzing
  echo repr(BackwardsIndex.fuzzing)
  echo bool.fuzzing
  echo float.fuzzing
  echo float64.fuzzing
  echo float32.fuzzing
  echo Positive.fuzzing
  echo Natural.fuzzing
  echo string.fuzzing
  echo cstring.fuzzing
github-actions[bot] commented 1 year ago

@juancarlospaco (owner)

devel :+1: $\color{green}\textbf{\large OK}$

Output

A
5384304796132893778
851573905
851573905
31889
74
7714993287299566774
1577290934
36022
145
74
J
3438232503963316601
false
1.312187262017209e+308
5.59599620823519e+307
1.059256853102502e+38
2861908543711129595
5742243094156880465
/9�[
:Z�r�I�FΊ��J>�x�b=)r��`�MF��!15.��$d���C#�����V�BPY�~�u$ڄ�WQ�%:�q�y;�u��3g�ɋ@����(9l(r��%�
�=��U���|t\\���|�_G���ą�c�&s]_���q6m[�T�̝���'�"h���}]H �Vv=���T�_izE1�OR��阽�N]j��%!�J���  ����E$����a)���kd�k��]�5P{?�4A�Z=�fC��l}n;j�e��<t��aPEb���WdTl~��^g�N�
�e��UY[�a_q���z���M+�0���p۴;�    e�"b��ܶOm�ŗ��y�Z�rn���d���W�-;@�`C据�'#�ae���m���3�DR�xp
u 0
��ս93>CL���]w���қ�x�u���F�,��y�����Q�N�kކ
��.Q�/�$�w�C�\Uds��2���?�S��5��d�aN3E������U��?���a��Z�%��a�vh��T�&\��B_a�{����L��?������(��]ş�a*:��^KiRj���J�f-�ֳ���6��J�ɧ$��Xb������⦦�aga.}�īRg�X߻��T�
-�8�"���@�5�Y�<@�&��\Ej��I�T�ۃ�

Stats

  • Started 2023-08-10T01:31:10
  • Finished 2023-08-10T01:31:11
  • Duration 1 minutes
stable :-1: FAIL

Output

Error: Command failed: nim c --run  -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --styleCheck:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(19, 1) Error: closing """ expected, but end of file reached

Stats

  • Started 2023-08-10T01:31:12
  • Finished 2023-08-10T01:31:12
  • Duration

IR

Compiled filesize 112.96 Kb (115,672 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix #define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); #define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); #define nimln_(n) \ FR_.line = n; #define nimlf_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStrPayload NimStrPayload; typedef struct NimStringV2 NimStringV2; struct NimStrPayload { NI cap; NIM_CHAR data[SEQ_DECL_SIZE]; }; struct NimStringV2 { NI len; NimStrPayload* p; }; typedef NimStringV2 tyArray__nHXaesL0DJZHyVS07ARPRA[1]; typedef NU8 tyEnum_O__T9aCjWM00Q8XHxGuY4ef9cZA; N_LIB_PRIVATE N_NIMCALL(void, randomize__pureZrandom_u366)(void); N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___temp_u200)(tyEnum_O__T9aCjWM00Q8XHxGuY4ef9cZA e_p0); N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringV2* args_p0, NI args_p0Len_0); N_LIB_PRIVATE N_NIMCALL(NimStringV2, repr__systemZrepr95v50_u20)(NI x_p0); N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___system_u4868)(NF x_p0); N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___temp_u271)(NF32 x_p0); N_LIB_PRIVATE N_NOCONV(void, deallocShared)(void* p_p0); static N_INLINE(NIM_BOOL*, nimErrorFlag)(void); N_LIB_PRIVATE N_NIMCALL(void, nimTestErrorFlag)(void); static N_INLINE(void, nimFrame)(TFrame* s_p0); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__system_u4559)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminusathdevelatslibatssystemdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminusathdevelatslibatspureatsrandomdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); static const struct { NI cap; NIM_CHAR data[1+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_2 = { 1 | NIM_STRLIT_FLAG, "A" }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_3 = {1, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_2}; static const struct { NI cap; NIM_CHAR data[1+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_4 = { 1 | NIM_STRLIT_FLAG, "B" }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_5 = {1, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_4}; static const struct { NI cap; NIM_CHAR data[19+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_7 = { 19 | NIM_STRLIT_FLAG, "5384304796132893778" }; static const struct { NI cap; NIM_CHAR data[9+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_9 = { 9 | NIM_STRLIT_FLAG, "851573905" }; static const struct { NI cap; NIM_CHAR data[5+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_11 = { 5 | NIM_STRLIT_FLAG, "31889" }; static const struct { NI cap; NIM_CHAR data[2+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_13 = { 2 | NIM_STRLIT_FLAG, "74" }; static const struct { NI cap; NIM_CHAR data[19+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_15 = { 19 | NIM_STRLIT_FLAG, "7714993287299566774" }; static const struct { NI cap; NIM_CHAR data[10+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_17 = { 10 | NIM_STRLIT_FLAG, "1577290934" }; static const struct { NI cap; NIM_CHAR data[5+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_19 = { 5 | NIM_STRLIT_FLAG, "36022" }; static const struct { NI cap; NIM_CHAR data[3+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_21 = { 3 | NIM_STRLIT_FLAG, "145" }; static const struct { NI cap; NIM_CHAR data[1+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_23 = { 1 | NIM_STRLIT_FLAG, "J" }; static const struct { NI cap; NIM_CHAR data[5+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_25 = { 5 | NIM_STRLIT_FLAG, "false" }; static const struct { NI cap; NIM_CHAR data[19+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_27 = { 19 | NIM_STRLIT_FLAG, "2861908543711129595" }; static const struct { NI cap; NIM_CHAR data[19+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_29 = { 19 | NIM_STRLIT_FLAG, "5742243094156880465" }; static const struct { NI cap; NIM_CHAR data[400+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_31 = { 400 | NIM_STRLIT_FLAG, "/9\372[\015:Z\220r\322\014I\350F\316\212\300\201J>\265x\013\222b=\021)r\020\376\235`\242MF\202\200!15.\262\255$d\266\327\006\031\277C#\222\366\222\377\240V\222BPY\345~\334u$\332\204\227WQ\332%:\257q\365y;\243u\257\321\0103\036g\315\001\311\213@\301\241\350\034\260(\0229l\024(r\231\252%\347\250\015\201=\232\325U\210\221\272|t\\\\\177\021\311\327\377|\031\250_G\217\367\256\304\205\233c\356&s]_\377\315\336q6\036m[\222T\213\314\235\242\231\365\'\256\"h\364\022\267\231}]H \257Vv=\301\363\035\211T\205_izE\0041\344\266\024OR\323\377\351\230\275\177\353N\033]j\326\326%!\344J\252\240\237\011\277\301\346\342E$\215\336\352\320a)\014\301\225\233kd\355k\226\201]\002\3075\031P{\?\014\3244A\343\250Z=\245fC\026\354\372l}n;\005j\211e\333\305CL\373\351\205\353]w\233\355\303\322\233\277x\350u\217\003\373\274F\312\005,\242\345\277y\300\204\367\303\032\320Q\372N\222k\336\206\015\254\221.Q\232/\306$\026\225w\324C\331\\Uds\311\016\3462\271\255\300\?\253S\254\3725\200\205\013d\257aN3E\251\254\025\331\331\326\320U\237\223\007\?\251\366\217a\330\330Z\344%\272\320a\336vh\247\210T\326&\\\366\261B_a\335{\031\377\245\273\305L\357\356\?\350\372\361\003\235\255\221(\355\251]\305\237\326a*:\355\332^KiRj\272\000\242\260J\006\336f-\343\326\263\252\226\2216\002\233\334J\244\023\311\247$\241\251\034\031Xb\335\344\323\357\366\341\342\246\246\035\277ag\000a.}\345\304\253\020Rg\277X\021\337\273\326\013\323T\232\015\017-\2118\347\"\276\247\206@\2475\322Y\024\215<@\311&\203\321\\Ej\347\314I\247T\302\333\203\321" }; static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_6 = {{19, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_7}} ; static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_8 = {{9, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_9}} ; static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_10 = {{5, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_11}} ; static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_12 = {{2, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_13}} ; static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_14 = {{19, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_15}} ; static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_16 = {{10, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_17}} ; static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_18 = {{5, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_19}} ; static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_20 = {{3, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_21}} ; static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_22 = {{1, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_23}} ; static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_24 = {{5, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_25}} ; static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_26 = {{19, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_27}} ; static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_28 = {{19, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_29}} ; static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_30 = {{400, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_31}} ; static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_32 = {{264, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_33}} ; extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4343; extern NIM_THREADVAR TFrame* framePtr__system_u3967; N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___temp_u200)(tyEnum_O__T9aCjWM00Q8XHxGuY4ef9cZA e_p0) { NimStringV2 result; result.len = 0; result.p = NIM_NIL; switch (e_p0) { case ((tyEnum_O__T9aCjWM00Q8XHxGuY4ef9cZA)0): { result = TM__h69aKLv9bAieBdiFzvDngbMw_3; } break; case ((tyEnum_O__T9aCjWM00Q8XHxGuY4ef9cZA)1): { result = TM__h69aKLv9bAieBdiFzvDngbMw_5; } break; } return result; } static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (NIM_BOOL*)0; result = (&nimInErrorMode__system_u4343); return result; } static N_INLINE(void, nimFrame)(TFrame* s_p0) { { if (!(framePtr__system_u3967 == ((TFrame*) NIM_NIL))) goto LA3_; (*s_p0).calldepth = ((NI16)0); } goto LA1_; LA3_: ; { (*s_p0).calldepth = (NI16)((*framePtr__system_u3967).calldepth + ((NI16)1)); } LA1_: ; (*s_p0).prev = framePtr__system_u3967; framePtr__system_u3967 = s_p0; { if (!((*s_p0).calldepth == ((NI16)2000))) goto LA8_; callDepthLimitReached__system_u4559(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__system_u3967 = (*framePtr__system_u3967).prev; } N_LIB_PRIVATE void PreMainInner(void) { atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminusathdevelatslibatspureatsrandomdotnim_Init000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { #if 0 void (*volatile inner)(void); inner = PreMainInner; atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminusathdevelatslibatssystemdotnim_Init000(); (*inner)(); #else atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminusathdevelatslibatssystemdotnim_Init000(); PreMainInner(); #endif } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { #if 0 void (*volatile inner)(void); PreMain(); inner = NimMainInner; (*inner)(); #else PreMain(); NimMainInner(); #endif } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { NimStringV2 colontmpD_; NimStringV2 colontmpD__2; NimStringV2 colontmpD__3; NimStringV2 colontmpD__4; NimStringV2 colontmpD__5; tyArray__nHXaesL0DJZHyVS07ARPRA T2_; tyEnum_O__T9aCjWM00Q8XHxGuY4ef9cZA T3_; tyArray__nHXaesL0DJZHyVS07ARPRA T4_; tyArray__nHXaesL0DJZHyVS07ARPRA T5_; tyArray__nHXaesL0DJZHyVS07ARPRA T6_; tyArray__nHXaesL0DJZHyVS07ARPRA T7_; NIM_BOOL* nimErr_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); nimErr_ = nimErrorFlag(); colontmpD_.len = 0; colontmpD_.p = NIM_NIL; colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL; colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL; colontmpD__4.len = 0; colontmpD__4.p = NIM_NIL; colontmpD__5.len = 0; colontmpD__5.p = NIM_NIL; randomize__pureZrandom_u366(); if (NIM_UNLIKELY(*nimErr_)) goto LA1_; T3_ = (tyEnum_O__T9aCjWM00Q8XHxGuY4ef9cZA)0; colontmpD_ = dollar___temp_u200(T3_); T2_[0] = colontmpD_; echoBinSafe(T2_, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_6, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_8, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_8, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_10, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_12, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_14, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_16, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_18, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_20, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_12, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_22, 1); colontmpD__2 = repr__systemZrepr95v50_u20(((NI)IL64(3438232503963316601))); if (NIM_UNLIKELY(*nimErr_)) goto LA1_; T4_[0] = colontmpD__2; echoBinSafe(T4_, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_24, 1); colontmpD__3 = dollar___system_u4868(1.3121872620172094e+308); if (NIM_UNLIKELY(*nimErr_)) goto LA1_; T5_[0] = colontmpD__3; echoBinSafe(T5_, 1); colontmpD__4 = dollar___system_u4868(5.59599620823519e+307); if (NIM_UNLIKELY(*nimErr_)) goto LA1_; T6_[0] = colontmpD__4; echoBinSafe(T6_, 1); colontmpD__5 = dollar___temp_u271(1.0592569e+38f); if (NIM_UNLIKELY(*nimErr_)) goto LA1_; T7_[0] = colontmpD__5; echoBinSafe(T7_, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_26, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_28, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_30, 1); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_32, 1); { LA1_:; } { if (colontmpD__5.p && !(colontmpD__5.p->cap & NIM_STRLIT_FLAG)) { deallocShared(colontmpD__5.p); } if (colontmpD__4.p && !(colontmpD__4.p->cap & NIM_STRLIT_FLAG)) { deallocShared(colontmpD__4.p); } if (colontmpD__3.p && !(colontmpD__3.p->cap & NIM_STRLIT_FLAG)) { deallocShared(colontmpD__3.p); } if (colontmpD__2.p && !(colontmpD__2.p->cap & NIM_STRLIT_FLAG)) { deallocShared(colontmpD__2.p); } if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) { deallocShared(colontmpD_.p); } } if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( nnkInfix.newTree( newIdentNode("/"), newIdentNode("std"), nnkBracket.newTree( newIdentNode("random"), newIdentNode("macros"), newIdentNode("fenv") ) ) ), nnkMacroDef.newTree( nnkPostfix.newTree( newIdentNode("*"), newIdentNode("fuzzing") ), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newIdentNode("untyped"), nnkIdentDefs.newTree( newIdentNode("tipe"), newIdentNode("typedesc"), newEmptyNode() ) ), newEmptyNode(), newEmptyNode(), nnkStmtList.newTree( nnkCommand.newTree( newIdentNode("doAssert"), nnkInfix.newTree( newIdentNode("and"), nnkInfix.newTree( newIdentNode("=="), nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("kind") ), newIdentNode("nnkSym") ), nnkInfix.newTree( newIdentNode("=="), nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("symKind") ), newIdentNode("nskType") ) ), newLit("Argument must be a static typedesc of primitive type.") ), nnkVarSection.newTree( nnkIdentDefs.newTree( newIdentNode("r"), newEmptyNode(), nnkCall.newTree( newIdentNode("initRand"), nnkInfix.newTree( newIdentNode("xor"), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("strVal") ), newIdentNode("len") ), nnkInfix.newTree( newIdentNode("+"), nnkInfix.newTree( newIdentNode("+"), nnkDotExpr.newTree( nnkCall.newTree( newIdentNode("lineInfoObj"), newIdentNode("tipe") ), newIdentNode("column") ), newIdentNode("NimPatch") ), newLit(1) ) ) ) ) ), nnkCaseStmt.newTree( nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("strVal") ), nnkOfBranch.newTree( newLit("int"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("high") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int32"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int32"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int16"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int16"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int16"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int8"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int8"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int8"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint16"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint16"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("uint16"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint8"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint8"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("uint8"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("char"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("char"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("char"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("byte"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("byte"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("byte"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("Positive"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("Positive"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("Positive"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("Natural"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("Natural"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("Natural"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("bool"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("bool"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), newLit(1) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("float"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("float"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkCall.newTree( newIdentNode("maximumPositiveValue"), newIdentNode("float") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("float64"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("float64"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkCall.newTree( newIdentNode("maximumPositiveValue"), newIdentNode("float64") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("float32"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("float32"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkCall.newTree( newIdentNode("maximumPositiveValue"), newIdentNode("float32") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int64"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int64"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint64"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint64"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint32"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint32"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("BackwardsIndex"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("nnkCall"), newIdentNode("newTree") ), nnkCallStrLit.newTree( newIdentNode("newIdentNode"), newLit("BackwardsIndex") ), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("high") ) ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("string"), newLit("cstring"), nnkStmtList.newTree( nnkVarSection.newTree( nnkIdentDefs.newTree( newIdentNode("s"), newEmptyNode(), newLit("") ) ), nnkForStmt.newTree( newIdentNode("_"), nnkInfix.newTree( newIdentNode(".."), newLit(0), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), newLit(512) ) ), nnkStmtList.newTree( nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("add") ), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkInfix.newTree( newIdentNode(".."), newLit(''), newLit('�') ) ) ) ) ), nnkIfStmt.newTree( nnkElifBranch.newTree( nnkInfix.newTree( newIdentNode("=="), nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("strVal") ), newLit("string") ), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newStrLitNode"), newIdentNode("s") ) ) ) ), nnkElse.newTree( nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("nnkCall"), newIdentNode("newTree") ), nnkCallStrLit.newTree( newIdentNode("newIdentNode"), newLit("cstring") ), nnkCall.newTree( newIdentNode("newStrLitNode"), newIdentNode("s") ) ) ) ) ) ) ) ), nnkElse.newTree( nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("nnkCall"), newIdentNode("newTree") ), nnkCallStrLit.newTree( newIdentNode("newIdentNode"), newLit("default") ), newIdentNode("tipe") ) ) ) ) ) ) ), nnkWhenStmt.newTree( nnkElifBranch.newTree( newIdentNode("isMainModule"), nnkStmtList.newTree( nnkCall.newTree( newIdentNode("randomize") ), nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("O"), newEmptyNode(), nnkEnumTy.newTree( newEmptyNode(), newIdentNode("A"), newIdentNode("B") ) ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("O"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int64"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int16"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int8"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint64"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint32"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint16"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint8"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("byte"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("char"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkCall.newTree( newIdentNode("repr"), nnkDotExpr.newTree( newIdentNode("BackwardsIndex"), newIdentNode("fuzzing") ) ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("bool"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("float"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("float64"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("float32"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("Positive"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("Natural"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("string"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("cstring"), newIdentNode("fuzzing") ) ) ) ) ) ) ```
2.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

``` A 685154380217900631 1011729482 1011729482 17482 17 5742243094156880465 556345937 10833 74 145 � 17298746333448455 true 8.979103576028484e+307 1.650696889236932e+308 3.124576796348441e+38 3438232503963316601 7714993287299566774 ��ս93>CL���]w���қ�x�u���F�,��y�����Q�N�kކ ��.Q�/�$�w�C�\Uds��2���?�S��5�� d�aN3E������U��?���a��Z�%��a�vh��T�&\��B_a�{����L��?������(��]ş�a*:��^KiRj���J�f-�ֳ���6��J�ɧ$��Xb������⦦�aga.}�īRg�X߻� �T� -�8�"���@�5�Y�<@�&��\Ej��I�T�ۃ� /9�[ :Z�r� I�FΊ��J>�x �b=)r��`�MF��!15.��$d���C#�����V�BPY�~�u$ڄ�WQ�%:�q�y;�u��3g�ɋ@����(9l(r��%� �=��U���|t\\���|�_G���ą�c�&s]_���q6m[�T�̝���'�"h���}]H �Vv=���T�_izE1�OR��阽�N]j��%!�J��� ����E$����a) ���kd�k��]�5P{? �4A�Z=�fC��l}n;j�e��Stats
  • Started 2023-08-10T01:31:13
  • Finished 2023-08-10T01:31:14
  • Duration 1 minutes
1.6.0 :+1: $\color{green}\textbf{\large OK}$

Output

``` A 685154380217900631 1011729482 1011729482 17482 17 5742243094156880465 556345937 10833 74 145 � 17298746333448455 true 8.979103576028484e+307 1.650696889236932e+308 3.124576796348441e+38 3438232503963316601 7714993287299566774 ��ս93>CL���]w���қ�x�u���F�,��y�����Q�N�kކ ��.Q�/�$�w�C�\Uds��2���?�S��5�� d�aN3E������U��?���a��Z�%��a�vh��T�&\��B_a�{����L��?������(��]ş�a*:��^KiRj���J�f-�ֳ���6��J�ɧ$��Xb������⦦�aga.}�īRg�X߻� �T� -�8�"���@�5�Y�<@�&��\Ej��I�T�ۃ� /9�[ :Z�r� I�FΊ��J>�x �b=)r��`�MF��!15.��$d���C#�����V�BPY�~�u$ڄ�WQ�%:�q�y;�u��3g�ɋ@����(9l(r��%� �=��U���|t\\���|�_G���ą�c�&s]_���q6m[�T�̝���'�"h���}]H �Vv=���T�_izE1�OR��阽�N]j��%!�J��� ����E$����a) ���kd�k��]�5P{? �4A�Z=�fC��l}n;j�e��Stats
  • Started 2023-08-10T01:31:17
  • Finished 2023-08-10T01:31:19
  • Duration 1 minutes
1.4.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --styleCheck:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim stack trace: (most recent call last) /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(26, 19) fuzzing /home/runner/.choosenim/toolchains/nim-1.4.0/lib/pure/random.nim(568, 11) initRand /home/runner/.choosenim/toolchains/nim-1.4.0/lib/system/assertions.nim(30, 26) failedAssertImpl /home/runner/.choosenim/toolchains/nim-1.4.0/lib/system/assertions.nim(23, 11) raiseAssert /home/runner/.choosenim/toolchains/nim-1.4.0/lib/system/fatal.nim(49, 5) sysFatal /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(74, 16) template/generic instantiation of `fuzzing` from here /home/runner/.choosenim/toolchains/nim-1.4.0/lib/system/fatal.nim(49, 5) Error: unhandled exception: /home/runner/.choosenim/toolchains/nim-1.4.0/lib/pure/random.nim(568, 12) `seed != 0` [AssertionDefect] ```

Stats

  • Started 2023-08-10T01:31:22
  • Finished 2023-08-10T01:31:23
  • Duration

IR

Compiled filesize 112.52 Kb (115,224 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #include #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix # define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); # define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename; NI len; VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); # define nimln_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStringDesc NimStringDesc; typedef struct TGenericSeq TGenericSeq; typedef struct TNimType TNimType; typedef struct TNimNode TNimNode; struct TGenericSeq { NI len; NI reserved; }; struct NimStringDesc { TGenericSeq Sup; NIM_CHAR data[SEQ_DECL_SIZE]; }; typedef NimStringDesc* tyArray__nHXaesL0DJZHyVS07ARPRA[1]; typedef NU8 tyEnum_O__L9bk4A9cNfJ7sVIoNCCbpTrA; typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A; typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ; typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op); typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p); struct TNimType { NI size; NI align; tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind; tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags; TNimType* base; TNimNode* node; void* finalizer; tyProc__ojoeKfW4VYIm36I9cpDTQIg marker; tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy; }; typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ; struct TNimNode { tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind; NI offset; TNimType* typ; NCSTRING name; NI len; TNimNode** sons; }; N_LIB_PRIVATE N_NIMCALL(void, randomize_pureZrandom_277)(void); static N_INLINE(void, nimZeroMem)(void* p, NI size); static N_INLINE(void, nimSetMem_systemZmemory_7)(void* a, int v, NI size); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprEnum)(NI e, TNimType* typ); N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringDesc** args, NI argsLen_0); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprInt)(NI64 x); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar__system_3152)(NF x); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar__system_6856)(NF32 x); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NOINLINE(void, nimGC_setStackBottom)(void* theStackBottom); static N_INLINE(void, nimFrame)(TFrame* s); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached_system_2997)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_randomInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, tempDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); N_LIB_PRIVATE TNimType NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_6, "685154380217900631", 18); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_5 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_6)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_8, "1011729482", 10); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_7 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_8)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_10, "17482", 5); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_9 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_10)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_12, "17", 2); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_11 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_12)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_14, "5742243094156880465", 19); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_13 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_14)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_16, "556345937", 9); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_15 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_16)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_18, "10833", 5); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_17 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_18)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_20, "74", 2); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_19 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_20)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_22, "145", 3); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_21 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_22)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_24, "\221", 1); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_23 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_24)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_26, "true", 4); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_25 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_26)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_28, "3438232503963316601", 19); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_27 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_28)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_30, "7714993287299566774", 19); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_29 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_30)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_32, "\267\033\264\022\325\27593>CL\373\351\205\353]w\233\355\303\322\233\277x\350u\217\003\373\274F\312\005,\242\345\277y\300\204\367\303\032\320Q\372N\222k\336\206\015\254\221.Q\232/\306$\026\225w\324C\331\\Uds\311\016\3462\271\255\300\?\253S\254\3725\200\205\013d\257aN3E\251\254\025\331\331\326\320U\237\223\007\?\251\366\217a\330\330Z\344%\272\320a\336vh\247\210T\326&\\\366\261B_a\335{\031\377\245\273\305L\357\356\?\350\372\361\003\235\255\221(\355\251]\305\237\326a*:\355\332^KiRj\272\000\242\260J\006\336f-\343\326\263\252\226\2216\002\233\334J\244\023\311\247$\241\251\034\031Xb\335\344\323\357\366\341\342\246\246\035\277ag\000a.}\345\304\253\020Rg\277X\021\337\273\326\013\323T\232\015\017-\2118\347\"\276\247\206@\2475\322Y\024\215<@\311&\203\321\\Ej\347\314I\247T\302\333\203\321", 264); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_31 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_32)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_34, "/9\372[\015:Z\220r\322\014I\350F\316\212\300\201J>\265x\013\222b=\021)r\020\376\235`\242MF\202\200!15.\262\255$d\266\327\006\031\277C#\222\366\222\377\240V\222BPY\345~\334u$\332\204\227WQ\332%:\257q\365y;\243u\257\321\0103\036g\315\001\311\213@\301\241\350\034\260(\0229l\024(r\231\252%\347\250\015\201=\232\325U\210\221\272|t\\\\\177\021\311\327\377|\031\250_G\217\367\256\304\205\233c\356&s]_\377\315\336q6\036m[\222T\213\314\235\242\231\365\'\256\"h\364\022\267\231}]H \257Vv=\301\363\035\211T\205_izE\0041\344\266\024OR\323\377\351\230\275\177\353N\033]j\326\326%!\344J\252\240\237\011\277\301\346\342E$\215\336\352\320a)\014\301\225\233kd\355k\226\201]\002\3075\031P{\?\014\3244A\343\250Z=\245fC\026\354\372l}n;\005j\211e\333\305AST ```nim nnkStmtList.newTree( nnkImportStmt.newTree( nnkInfix.newTree( newIdentNode("/"), newIdentNode("std"), nnkBracket.newTree( newIdentNode("random"), newIdentNode("macros"), newIdentNode("fenv") ) ) ), nnkMacroDef.newTree( nnkPostfix.newTree( newIdentNode("*"), newIdentNode("fuzzing") ), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newIdentNode("untyped"), nnkIdentDefs.newTree( newIdentNode("tipe"), newIdentNode("typedesc"), newEmptyNode() ) ), newEmptyNode(), newEmptyNode(), nnkStmtList.newTree( nnkCommand.newTree( newIdentNode("doAssert"), nnkInfix.newTree( newIdentNode("and"), nnkInfix.newTree( newIdentNode("=="), nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("kind") ), newIdentNode("nnkSym") ), nnkInfix.newTree( newIdentNode("=="), nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("symKind") ), newIdentNode("nskType") ) ), newLit("Argument must be a static typedesc of primitive type.") ), nnkVarSection.newTree( nnkIdentDefs.newTree( newIdentNode("r"), newEmptyNode(), nnkCall.newTree( newIdentNode("initRand"), nnkInfix.newTree( newIdentNode("xor"), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("strVal") ), newIdentNode("len") ), nnkInfix.newTree( newIdentNode("+"), nnkInfix.newTree( newIdentNode("+"), nnkDotExpr.newTree( nnkCall.newTree( newIdentNode("lineInfoObj"), newIdentNode("tipe") ), newIdentNode("column") ), newIdentNode("NimPatch") ), newLit(1) ) ) ) ) ), nnkCaseStmt.newTree( nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("strVal") ), nnkOfBranch.newTree( newLit("int"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("high") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int32"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int32"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int16"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int16"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int16"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int8"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int8"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int8"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint16"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint16"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("uint16"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint8"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint8"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("uint8"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("char"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("char"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("char"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("byte"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("byte"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("byte"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("Positive"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("Positive"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("Positive"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("Natural"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("Natural"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("Natural"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("bool"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("bool"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), newLit(1) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("float"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("float"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkCall.newTree( newIdentNode("maximumPositiveValue"), newIdentNode("float") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("float64"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("float64"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkCall.newTree( newIdentNode("maximumPositiveValue"), newIdentNode("float64") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("float32"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("float32"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkCall.newTree( newIdentNode("maximumPositiveValue"), newIdentNode("float32") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int64"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int64"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint64"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint64"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint32"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint32"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("BackwardsIndex"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("nnkCall"), newIdentNode("newTree") ), nnkCallStrLit.newTree( newIdentNode("newIdentNode"), newLit("BackwardsIndex") ), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("high") ) ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("string"), newLit("cstring"), nnkStmtList.newTree( nnkVarSection.newTree( nnkIdentDefs.newTree( newIdentNode("s"), newEmptyNode(), newLit("") ) ), nnkForStmt.newTree( newIdentNode("_"), nnkInfix.newTree( newIdentNode(".."), newLit(0), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), newLit(512) ) ), nnkStmtList.newTree( nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("add") ), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkInfix.newTree( newIdentNode(".."), newLit(''), newLit('�') ) ) ) ) ), nnkIfStmt.newTree( nnkElifBranch.newTree( nnkInfix.newTree( newIdentNode("=="), nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("strVal") ), newLit("string") ), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newStrLitNode"), newIdentNode("s") ) ) ) ), nnkElse.newTree( nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("nnkCall"), newIdentNode("newTree") ), nnkCallStrLit.newTree( newIdentNode("newIdentNode"), newLit("cstring") ), nnkCall.newTree( newIdentNode("newStrLitNode"), newIdentNode("s") ) ) ) ) ) ) ) ), nnkElse.newTree( nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("nnkCall"), newIdentNode("newTree") ), nnkCallStrLit.newTree( newIdentNode("newIdentNode"), newLit("default") ), newIdentNode("tipe") ) ) ) ) ) ) ), nnkWhenStmt.newTree( nnkElifBranch.newTree( newIdentNode("isMainModule"), nnkStmtList.newTree( nnkCall.newTree( newIdentNode("randomize") ), nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("O"), newEmptyNode(), nnkEnumTy.newTree( newEmptyNode(), newIdentNode("A"), newIdentNode("B") ) ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("O"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int64"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int16"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int8"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint64"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint32"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint16"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint8"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("byte"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("char"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkCall.newTree( newIdentNode("repr"), nnkDotExpr.newTree( newIdentNode("BackwardsIndex"), newIdentNode("fuzzing") ) ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("bool"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("float"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("float64"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("float32"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("Positive"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("Natural"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("string"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("cstring"), newIdentNode("fuzzing") ) ) ) ) ) ) ```
1.2.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --styleCheck:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim stack trace: (most recent call last) /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(26, 19) fuzzing /home/runner/.choosenim/toolchains/nim-1.2.0/lib/pure/random.nim(572, 11) initRand /home/runner/.choosenim/toolchains/nim-1.2.0/lib/system/assertions.nim(29, 26) failedAssertImpl /home/runner/.choosenim/toolchains/nim-1.2.0/lib/system/assertions.nim(22, 11) raiseAssert /home/runner/.choosenim/toolchains/nim-1.2.0/lib/system/fatal.nim(49, 5) sysFatal /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(74, 16) template/generic instantiation of `fuzzing` from here /home/runner/.choosenim/toolchains/nim-1.2.0/lib/system/fatal.nim(49, 5) Error: unhandled exception: /home/runner/.choosenim/toolchains/nim-1.2.0/lib/pure/random.nim(572, 12) `seed != 0` [AssertionError] ```

Stats

  • Started 2023-08-10T01:31:39
  • Finished 2023-08-10T01:31:39
  • Duration

IR

Compiled filesize 112.52 Kb (115,224 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #include #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix # define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); # define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename; NI len; VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); # define nimln_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStringDesc NimStringDesc; typedef struct TGenericSeq TGenericSeq; typedef struct TNimType TNimType; typedef struct TNimNode TNimNode; struct TGenericSeq { NI len; NI reserved; }; struct NimStringDesc { TGenericSeq Sup; NIM_CHAR data[SEQ_DECL_SIZE]; }; typedef NimStringDesc* tyArray__nHXaesL0DJZHyVS07ARPRA[1]; typedef NU8 tyEnum_O__L9bk4A9cNfJ7sVIoNCCbpTrA; typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A; typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ; typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op); typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p); struct TNimType { NI size; NI align; tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind; tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags; TNimType* base; TNimNode* node; void* finalizer; tyProc__ojoeKfW4VYIm36I9cpDTQIg marker; tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy; }; typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ; struct TNimNode { tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind; NI offset; TNimType* typ; NCSTRING name; NI len; TNimNode** sons; }; N_LIB_PRIVATE N_NIMCALL(void, randomize_pureZrandom_277)(void); static N_INLINE(void, nimZeroMem)(void* p, NI size); static N_INLINE(void, nimSetMem_systemZmemory_7)(void* a, int v, NI size); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprEnum)(NI e, TNimType* typ); N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringDesc** args, NI argsLen_0); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprInt)(NI64 x); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar__system_3152)(NF x); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar__system_6856)(NF32 x); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NOINLINE(void, nimGC_setStackBottom)(void* theStackBottom); static N_INLINE(void, nimFrame)(TFrame* s); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached_system_2997)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_randomInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, tempDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); N_LIB_PRIVATE TNimType NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_6, "685154380217900631", 18); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_5 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_6)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_8, "1011729482", 10); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_7 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_8)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_10, "17482", 5); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_9 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_10)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_12, "17", 2); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_11 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_12)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_14, "5742243094156880465", 19); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_13 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_14)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_16, "556345937", 9); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_15 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_16)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_18, "10833", 5); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_17 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_18)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_20, "74", 2); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_19 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_20)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_22, "145", 3); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_21 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_22)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_24, "\221", 1); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_23 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_24)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_26, "true", 4); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_25 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_26)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_28, "3438232503963316601", 19); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_27 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_28)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_30, "7714993287299566774", 19); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_29 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_30)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_32, "\267\033\264\022\325\27593>CL\373\351\205\353]w\233\355\303\322\233\277x\350u\217\003\373\274F\312\005,\242\345\277y\300\204\367\303\032\320Q\372N\222k\336\206\015\254\221.Q\232/\306$\026\225w\324C\331\\Uds\311\016\3462\271\255\300\?\253S\254\3725\200\205\013d\257aN3E\251\254\025\331\331\326\320U\237\223\007\?\251\366\217a\330\330Z\344%\272\320a\336vh\247\210T\326&\\\366\261B_a\335{\031\377\245\273\305L\357\356\?\350\372\361\003\235\255\221(\355\251]\305\237\326a*:\355\332^KiRj\272\000\242\260J\006\336f-\343\326\263\252\226\2216\002\233\334J\244\023\311\247$\241\251\034\031Xb\335\344\323\357\366\341\342\246\246\035\277ag\000a.}\345\304\253\020Rg\277X\021\337\273\326\013\323T\232\015\017-\2118\347\"\276\247\206@\2475\322Y\024\215<@\311&\203\321\\Ej\347\314I\247T\302\333\203\321", 264); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_31 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_32)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_34, "/9\372[\015:Z\220r\322\014I\350F\316\212\300\201J>\265x\013\222b=\021)r\020\376\235`\242MF\202\200!15.\262\255$d\266\327\006\031\277C#\222\366\222\377\240V\222BPY\345~\334u$\332\204\227WQ\332%:\257q\365y;\243u\257\321\0103\036g\315\001\311\213@\301\241\350\034\260(\0229l\024(r\231\252%\347\250\015\201=\232\325U\210\221\272|t\\\\\177\021\311\327\377|\031\250_G\217\367\256\304\205\233c\356&s]_\377\315\336q6\036m[\222T\213\314\235\242\231\365\'\256\"h\364\022\267\231}]H \257Vv=\301\363\035\211T\205_izE\0041\344\266\024OR\323\377\351\230\275\177\353N\033]j\326\326%!\344J\252\240\237\011\277\301\346\342E$\215\336\352\320a)\014\301\225\233kd\355k\226\201]\002\3075\031P{\?\014\3244A\343\250Z=\245fC\026\354\372l}n;\005j\211e\333\305AST ```nim nnkStmtList.newTree( nnkImportStmt.newTree( nnkInfix.newTree( newIdentNode("/"), newIdentNode("std"), nnkBracket.newTree( newIdentNode("random"), newIdentNode("macros"), newIdentNode("fenv") ) ) ), nnkMacroDef.newTree( nnkPostfix.newTree( newIdentNode("*"), newIdentNode("fuzzing") ), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newIdentNode("untyped"), nnkIdentDefs.newTree( newIdentNode("tipe"), newIdentNode("typedesc"), newEmptyNode() ) ), newEmptyNode(), newEmptyNode(), nnkStmtList.newTree( nnkCommand.newTree( newIdentNode("doAssert"), nnkInfix.newTree( newIdentNode("and"), nnkInfix.newTree( newIdentNode("=="), nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("kind") ), newIdentNode("nnkSym") ), nnkInfix.newTree( newIdentNode("=="), nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("symKind") ), newIdentNode("nskType") ) ), newLit("Argument must be a static typedesc of primitive type.") ), nnkVarSection.newTree( nnkIdentDefs.newTree( newIdentNode("r"), newEmptyNode(), nnkCall.newTree( newIdentNode("initRand"), nnkInfix.newTree( newIdentNode("xor"), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("strVal") ), newIdentNode("len") ), nnkInfix.newTree( newIdentNode("+"), nnkInfix.newTree( newIdentNode("+"), nnkDotExpr.newTree( nnkCall.newTree( newIdentNode("lineInfoObj"), newIdentNode("tipe") ), newIdentNode("column") ), newIdentNode("NimPatch") ), newLit(1) ) ) ) ) ), nnkCaseStmt.newTree( nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("strVal") ), nnkOfBranch.newTree( newLit("int"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("high") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int32"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int32"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int16"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int16"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int16"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int8"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int8"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int8"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint16"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint16"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("uint16"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint8"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint8"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("uint8"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("char"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("char"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("char"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("byte"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("byte"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("byte"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("Positive"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("Positive"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("Positive"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("Natural"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("Natural"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("Natural"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("bool"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("bool"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), newLit(1) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("float"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("float"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkCall.newTree( newIdentNode("maximumPositiveValue"), newIdentNode("float") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("float64"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("float64"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkCall.newTree( newIdentNode("maximumPositiveValue"), newIdentNode("float64") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("float32"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("float32"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkCall.newTree( newIdentNode("maximumPositiveValue"), newIdentNode("float32") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int64"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int64"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint64"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint64"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint32"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint32"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("BackwardsIndex"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("nnkCall"), newIdentNode("newTree") ), nnkCallStrLit.newTree( newIdentNode("newIdentNode"), newLit("BackwardsIndex") ), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("high") ) ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("string"), newLit("cstring"), nnkStmtList.newTree( nnkVarSection.newTree( nnkIdentDefs.newTree( newIdentNode("s"), newEmptyNode(), newLit("") ) ), nnkForStmt.newTree( newIdentNode("_"), nnkInfix.newTree( newIdentNode(".."), newLit(0), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), newLit(512) ) ), nnkStmtList.newTree( nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("add") ), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkInfix.newTree( newIdentNode(".."), newLit(''), newLit('�') ) ) ) ) ), nnkIfStmt.newTree( nnkElifBranch.newTree( nnkInfix.newTree( newIdentNode("=="), nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("strVal") ), newLit("string") ), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newStrLitNode"), newIdentNode("s") ) ) ) ), nnkElse.newTree( nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("nnkCall"), newIdentNode("newTree") ), nnkCallStrLit.newTree( newIdentNode("newIdentNode"), newLit("cstring") ), nnkCall.newTree( newIdentNode("newStrLitNode"), newIdentNode("s") ) ) ) ) ) ) ) ), nnkElse.newTree( nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("nnkCall"), newIdentNode("newTree") ), nnkCallStrLit.newTree( newIdentNode("newIdentNode"), newLit("default") ), newIdentNode("tipe") ) ) ) ) ) ) ), nnkWhenStmt.newTree( nnkElifBranch.newTree( newIdentNode("isMainModule"), nnkStmtList.newTree( nnkCall.newTree( newIdentNode("randomize") ), nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("O"), newEmptyNode(), nnkEnumTy.newTree( newEmptyNode(), newIdentNode("A"), newIdentNode("B") ) ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("O"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int64"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int16"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int8"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint64"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint32"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint16"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint8"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("byte"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("char"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkCall.newTree( newIdentNode("repr"), nnkDotExpr.newTree( newIdentNode("BackwardsIndex"), newIdentNode("fuzzing") ) ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("bool"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("float"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("float64"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("float32"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("Positive"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("Natural"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("string"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("cstring"), newIdentNode("fuzzing") ) ) ) ) ) ) ```
1.0.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --styleCheck:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim stack trace: (most recent call last) /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(26, 19) fuzzing /home/runner/.choosenim/toolchains/nim-1.0.0/lib/pure/random.nim(572, 11) initRand /home/runner/.choosenim/toolchains/nim-1.0.0/lib/system/assertions.nim(27, 20) failedAssertImpl /home/runner/.choosenim/toolchains/nim-1.0.0/lib/system/assertions.nim(20, 11) raiseAssert /home/runner/.choosenim/toolchains/nim-1.0.0/lib/system/fatal.nim(39, 5) sysFatal /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(74, 16) template/generic instantiation of `fuzzing` from here /home/runner/.choosenim/toolchains/nim-1.0.0/lib/system/fatal.nim(39, 5) Error: unhandled exception: /home/runner/.choosenim/toolchains/nim-1.0.0/lib/pure/random.nim(572, 12) `seed != 0` [AssertionError] ```

Stats

  • Started 2023-08-10T01:31:52
  • Finished 2023-08-10T01:31:53
  • Duration

IR

Compiled filesize 112.52 Kb (115,224 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #include #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix # define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); # define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename; NI len; VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); # define nimln_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStringDesc NimStringDesc; typedef struct TGenericSeq TGenericSeq; typedef struct TNimType TNimType; typedef struct TNimNode TNimNode; struct TGenericSeq { NI len; NI reserved; }; struct NimStringDesc { TGenericSeq Sup; NIM_CHAR data[SEQ_DECL_SIZE]; }; typedef NimStringDesc* tyArray__nHXaesL0DJZHyVS07ARPRA[1]; typedef NU8 tyEnum_O__L9bk4A9cNfJ7sVIoNCCbpTrA; typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A; typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ; typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op); typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p); struct TNimType { NI size; NI align; tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind; tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags; TNimType* base; TNimNode* node; void* finalizer; tyProc__ojoeKfW4VYIm36I9cpDTQIg marker; tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy; }; typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ; struct TNimNode { tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind; NI offset; TNimType* typ; NCSTRING name; NI len; TNimNode** sons; }; N_LIB_PRIVATE N_NIMCALL(void, randomize_pureZrandom_277)(void); static N_INLINE(void, nimZeroMem)(void* p, NI size); static N_INLINE(void, nimSetMem_systemZmemory_7)(void* a, int v, NI size); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprEnum)(NI e, TNimType* typ); N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringDesc** args, NI argsLen_0); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprInt)(NI64 x); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar__system_3152)(NF x); N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar__system_6856)(NF32 x); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NOINLINE(void, nimGC_setStackBottom)(void* theStackBottom); static N_INLINE(void, nimFrame)(TFrame* s); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached_system_2997)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_randomInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, tempDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); N_LIB_PRIVATE TNimType NTIo__L9bk4A9cNfJ7sVIoNCCbpTrA_; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_6, "685154380217900631", 18); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_5 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_6)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_8, "1011729482", 10); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_7 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_8)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_10, "17482", 5); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_9 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_10)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_12, "17", 2); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_11 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_12)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_14, "5742243094156880465", 19); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_13 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_14)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_16, "556345937", 9); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_15 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_16)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_18, "10833", 5); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_17 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_18)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_20, "74", 2); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_19 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_20)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_22, "145", 3); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_21 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_22)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_24, "\221", 1); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_23 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_24)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_26, "true", 4); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_25 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_26)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_28, "3438232503963316601", 19); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_27 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_28)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_30, "7714993287299566774", 19); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_29 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_30)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_32, "\267\033\264\022\325\27593>CL\373\351\205\353]w\233\355\303\322\233\277x\350u\217\003\373\274F\312\005,\242\345\277y\300\204\367\303\032\320Q\372N\222k\336\206\015\254\221.Q\232/\306$\026\225w\324C\331\\Uds\311\016\3462\271\255\300\?\253S\254\3725\200\205\013d\257aN3E\251\254\025\331\331\326\320U\237\223\007\?\251\366\217a\330\330Z\344%\272\320a\336vh\247\210T\326&\\\366\261B_a\335{\031\377\245\273\305L\357\356\?\350\372\361\003\235\255\221(\355\251]\305\237\326a*:\355\332^KiRj\272\000\242\260J\006\336f-\343\326\263\252\226\2216\002\233\334J\244\023\311\247$\241\251\034\031Xb\335\344\323\357\366\341\342\246\246\035\277ag\000a.}\345\304\253\020Rg\277X\021\337\273\326\013\323T\232\015\017-\2118\347\"\276\247\206@\2475\322Y\024\215<@\311&\203\321\\Ej\347\314I\247T\302\333\203\321", 264); static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_31 = {((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_32)} ; STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_34, "/9\372[\015:Z\220r\322\014I\350F\316\212\300\201J>\265x\013\222b=\021)r\020\376\235`\242MF\202\200!15.\262\255$d\266\327\006\031\277C#\222\366\222\377\240V\222BPY\345~\334u$\332\204\227WQ\332%:\257q\365y;\243u\257\321\0103\036g\315\001\311\213@\301\241\350\034\260(\0229l\024(r\231\252%\347\250\015\201=\232\325U\210\221\272|t\\\\\177\021\311\327\377|\031\250_G\217\367\256\304\205\233c\356&s]_\377\315\336q6\036m[\222T\213\314\235\242\231\365\'\256\"h\364\022\267\231}]H \257Vv=\301\363\035\211T\205_izE\0041\344\266\024OR\323\377\351\230\275\177\353N\033]j\326\326%!\344J\252\240\237\011\277\301\346\342E$\215\336\352\320a)\014\301\225\233kd\355k\226\201]\002\3075\031P{\?\014\3244A\343\250Z=\245fC\026\354\372l}n;\005j\211e\333\305AST ```nim nnkStmtList.newTree( nnkImportStmt.newTree( nnkInfix.newTree( newIdentNode("/"), newIdentNode("std"), nnkBracket.newTree( newIdentNode("random"), newIdentNode("macros"), newIdentNode("fenv") ) ) ), nnkMacroDef.newTree( nnkPostfix.newTree( newIdentNode("*"), newIdentNode("fuzzing") ), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newIdentNode("untyped"), nnkIdentDefs.newTree( newIdentNode("tipe"), newIdentNode("typedesc"), newEmptyNode() ) ), newEmptyNode(), newEmptyNode(), nnkStmtList.newTree( nnkCommand.newTree( newIdentNode("doAssert"), nnkInfix.newTree( newIdentNode("and"), nnkInfix.newTree( newIdentNode("=="), nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("kind") ), newIdentNode("nnkSym") ), nnkInfix.newTree( newIdentNode("=="), nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("symKind") ), newIdentNode("nskType") ) ), newLit("Argument must be a static typedesc of primitive type.") ), nnkVarSection.newTree( nnkIdentDefs.newTree( newIdentNode("r"), newEmptyNode(), nnkCall.newTree( newIdentNode("initRand"), nnkInfix.newTree( newIdentNode("xor"), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("strVal") ), newIdentNode("len") ), nnkInfix.newTree( newIdentNode("+"), nnkInfix.newTree( newIdentNode("+"), nnkDotExpr.newTree( nnkCall.newTree( newIdentNode("lineInfoObj"), newIdentNode("tipe") ), newIdentNode("column") ), newIdentNode("NimPatch") ), newLit(1) ) ) ) ) ), nnkCaseStmt.newTree( nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("strVal") ), nnkOfBranch.newTree( newLit("int"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("high") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int32"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int32"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int16"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int16"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int16"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int8"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int8"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int8"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint16"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint16"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("uint16"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint8"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint8"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("uint8"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("char"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("char"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("char"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("byte"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("byte"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("byte"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("Positive"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("Positive"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("Positive"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("Natural"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("Natural"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("Natural"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("bool"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("bool"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), newLit(1) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("float"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("float"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkCall.newTree( newIdentNode("maximumPositiveValue"), newIdentNode("float") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("float64"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("float64"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkCall.newTree( newIdentNode("maximumPositiveValue"), newIdentNode("float64") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("float32"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("float32"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkCall.newTree( newIdentNode("maximumPositiveValue"), newIdentNode("float32") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("int64"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int64"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint64"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint64"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("uint32"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("uint32"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("high") ), newIdentNode("int") ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("BackwardsIndex"), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("nnkCall"), newIdentNode("newTree") ), nnkCallStrLit.newTree( newIdentNode("newIdentNode"), newLit("BackwardsIndex") ), nnkCall.newTree( newIdentNode("newLit"), nnkCall.newTree( newIdentNode("int"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("high") ) ) ) ) ) ) ) ), nnkOfBranch.newTree( newLit("string"), newLit("cstring"), nnkStmtList.newTree( nnkVarSection.newTree( nnkIdentDefs.newTree( newIdentNode("s"), newEmptyNode(), newLit("") ) ), nnkForStmt.newTree( newIdentNode("_"), nnkInfix.newTree( newIdentNode(".."), newLit(0), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), newLit(512) ) ), nnkStmtList.newTree( nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("add") ), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("r"), newIdentNode("rand") ), nnkInfix.newTree( newIdentNode(".."), newLit(''), newLit('�') ) ) ) ) ), nnkIfStmt.newTree( nnkElifBranch.newTree( nnkInfix.newTree( newIdentNode("=="), nnkDotExpr.newTree( newIdentNode("tipe"), newIdentNode("strVal") ), newLit("string") ), nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( newIdentNode("newStrLitNode"), newIdentNode("s") ) ) ) ), nnkElse.newTree( nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("nnkCall"), newIdentNode("newTree") ), nnkCallStrLit.newTree( newIdentNode("newIdentNode"), newLit("cstring") ), nnkCall.newTree( newIdentNode("newStrLitNode"), newIdentNode("s") ) ) ) ) ) ) ) ), nnkElse.newTree( nnkStmtList.newTree( nnkAsgn.newTree( newIdentNode("result"), nnkCall.newTree( nnkDotExpr.newTree( newIdentNode("nnkCall"), newIdentNode("newTree") ), nnkCallStrLit.newTree( newIdentNode("newIdentNode"), newLit("default") ), newIdentNode("tipe") ) ) ) ) ) ) ), nnkWhenStmt.newTree( nnkElifBranch.newTree( newIdentNode("isMainModule"), nnkStmtList.newTree( nnkCall.newTree( newIdentNode("randomize") ), nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("O"), newEmptyNode(), nnkEnumTy.newTree( newEmptyNode(), newIdentNode("A"), newIdentNode("B") ) ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("O"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int64"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int32"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int16"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("int8"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint64"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint32"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint16"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("uint8"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("byte"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("char"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkCall.newTree( newIdentNode("repr"), nnkDotExpr.newTree( newIdentNode("BackwardsIndex"), newIdentNode("fuzzing") ) ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("bool"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("float"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("float64"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("float32"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("Positive"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("Natural"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("string"), newIdentNode("fuzzing") ) ), nnkCommand.newTree( newIdentNode("echo"), nnkDotExpr.newTree( newIdentNode("cstring"), newIdentNode("fuzzing") ) ) ) ) ) ) ```
0.20.2 :+1: $\color{green}\textbf{\large OK}$

Output

``` A 618475438089 245775 245775 16399 14 824633917452 196620 12 15 14  68719493121 false 1.004539558737963e+301 8.706009509062343e+300 1.647946076722904e+31 137438986242 893353410573 ��̰y6��/~����,W /�!j~o����b�� \� �F�l�_�i,L�hWUK8lH�s��?%8�%9.��q%�[���*e>PO &� ���n,�9*-.xj�������2�#���7C�E(�A7s���D�s�>����Jx��j�/�_� ��$ =Dţ��%/PoʚC ���A��ZYd�9��Aa�`�K��n�)<�kE�)����q�����' 2�����'��R8��"��T�YH���*~{�݌ u�(Mi>�6# �, ```

Stats

  • Started 2023-08-10T01:32:07
  • Finished 2023-08-10T01:32:09
  • Duration 1 minutes
#a488067a4 :arrow_right: :bug:

Diagnostics

narimiran introduced a bug at 2023-07-31 21:22:28 +0200 on commit #a488067a4 with message: ``` bump NimVersion to 2.0.0 ``` The bug is in the files: ``` lib/system/compilation.nim ``` The bug can be in the commits: (Diagnostics sometimes off-by-one).
Stats
  • GCC (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
  • LibC (Ubuntu GLIBC 2.35-0ubuntu3.1) 2.35
  • Valgrind 3.18.1
  • NodeJS 18.17.0
  • Linux 5.15.0-1042-
  • Created 2023-08-10T01:30:23Z
  • Issue Comments 3
  • Commands nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --styleCheck:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
:robot: Bug found in 37 minutes bisecting 9 commits at 0 commits per second.
juancarlospaco commented 1 year ago

!nim cpp

import std/[random, macros, fenv]

macro fuzzing*(tipe: typedesc): untyped =
  doAssert tipe.kind == nnkSym and tipe.symKind == nskType, "Argument must be a static typedesc of primitive type."
  var r = initRand(max(tipe.strVal.len xor lineInfoObj(tipe).column + NimPatch, int8.high))
  case tipe.strVal
  of "int"     : result = newLit(int(r.rand(int.high)))
  of "int32"   : result = newLit(int32(r.rand(int32.high.int)))
  of "int16"   : result = newLit(int16(r.rand(int16.high.int)))
  of "int8"    : result = newLit(int8(r.rand(int8.high.int)))
  of "uint16"  : result = newLit(uint16(r.rand(uint16.high.int)))
  of "uint8"   : result = newLit(uint8(r.rand(uint8.high.int)))
  of "char"    : result = newLit(char(r.rand(char.high.int)))
  of "byte"    : result = newLit(byte(r.rand(byte.high.int)))
  of "Positive": result = newLit(Positive(r.rand(Positive.high.int)))
  of "Natural" : result = newLit(Natural(r.rand(Natural.high.int)))
  of "bool"    : result = newLit(bool(r.rand(1)))
  of "float"   : result = newLit(float(r.rand(maximumPositiveValue(float))))
  of "float64" : result = newLit(float64(r.rand(maximumPositiveValue(float64))))
  of "float32" : result = newLit(float32(r.rand(maximumPositiveValue(float32))))
  of "int64" : result = newLit(int64(r.rand(int32.high.int))) # Reduced range for JS compat.
  of "uint64": result = newLit(uint64(r.rand(int.high.int)))
  of "uint32": result = newLit(uint32(r.rand(int32.high.int)))
  of "BackwardsIndex": result = nnkCall.newTree(newIdentNode"BackwardsIndex", newLit(int(r.rand(int.high))))
  of "string", "cstring":
    var s = ""
    for _ in 0 .. r.rand(512): s.add(r.rand('\x00'..'\xFF'))
    if tipe.strVal == "string":
      result = newStrLitNode(s)
    else:
      result = nnkCall.newTree(newIdentNode"cstring", newStrLitNode(s))
  else: result = nnkCall.newTree(newIdentNode"default", tipe)

when isMainModule:
  randomize()
  type O = enum A, B
  echo O.fuzzing
  echo int.fuzzing
  echo int64.fuzzing
  echo int32.fuzzing
  echo int16.fuzzing
  echo int8.fuzzing
  echo uint64.fuzzing
  echo uint32.fuzzing
  echo uint16.fuzzing
  echo uint8.fuzzing
  echo byte.fuzzing
  echo char.fuzzing
  echo repr(BackwardsIndex.fuzzing)
  echo bool.fuzzing
  echo float.fuzzing
  echo float64.fuzzing
  echo float32.fuzzing
  echo Positive.fuzzing
  echo Natural.fuzzing
github-actions[bot] commented 1 year ago

@juancarlospaco (owner)

devel :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190

Stats

  • Started 2023-08-10T01:48:20
  • Finished 2023-08-10T01:48:22
  • Duration 2 minutes
stable :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190

Stats

  • Started 2023-08-10T01:48:23
  • Finished 2023-08-10T01:48:24
  • Duration 1 minutes
2.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190

Stats

  • Started 2023-08-10T01:48:24
  • Finished 2023-08-10T01:48:26
  • Duration 1 minutes
1.6.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190

Stats

  • Started 2023-08-10T01:48:30
  • Finished 2023-08-10T01:48:31
  • Duration 1 minutes
1.4.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367

Stats

  • Started 2023-08-10T01:48:34
  • Finished 2023-08-10T01:48:36
  • Duration 1 minutes
1.2.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367

Stats

  • Started 2023-08-10T01:48:52
  • Finished 2023-08-10T01:48:53
  • Duration 1 minutes
1.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367

Stats

  • Started 2023-08-10T01:49:05
  • Finished 2023-08-10T01:49:07
  • Duration 1 minutes
0.20.2 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367

Stats

  • Started 2023-08-10T01:49:20
  • Finished 2023-08-10T01:49:22
  • Duration 1 minutes
Stats
  • GCC (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
  • LibC (Ubuntu GLIBC 2.35-0ubuntu3.1) 2.35
  • Valgrind 3.18.1
  • NodeJS 18.17.0
  • Linux 5.15.0-1042-
  • Created 2023-08-10T01:47:36Z
  • Issue Comments 5
  • Commands nim cpp --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --styleCheck:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
:robot: Bug found in 4 minutes bisecting 8 commits at 2 commits per second.
juancarlospaco commented 1 year ago

!nim c

import std/[random, macros, fenv]

macro fuzzing*(tipe: typedesc): untyped =
  doAssert tipe.kind == nnkSym and tipe.symKind == nskType, "Argument must be a static typedesc of primitive type."
  var r = initRand(max(tipe.strVal.len xor lineInfoObj(tipe).column + NimPatch, int8.high))
  case tipe.strVal
  of "int"     : result = newLit(int(r.rand(int.high)))
  of "int32"   : result = newLit(int32(r.rand(int32.high.int)))
  of "int16"   : result = newLit(int16(r.rand(int16.high.int)))
  of "int8"    : result = newLit(int8(r.rand(int8.high.int)))
  of "uint16"  : result = newLit(uint16(r.rand(uint16.high.int)))
  of "uint8"   : result = newLit(uint8(r.rand(uint8.high.int)))
  of "char"    : result = newLit(char(r.rand(char.high.int)))
  of "byte"    : result = newLit(byte(r.rand(byte.high.int)))
  of "Positive": result = newLit(Positive(r.rand(Positive.high.int)))
  of "Natural" : result = newLit(Natural(r.rand(Natural.high.int)))
  of "bool"    : result = newLit(bool(r.rand(1)))
  of "float"   : result = newLit(float(r.rand(maximumPositiveValue(float))))
  of "float64" : result = newLit(float64(r.rand(maximumPositiveValue(float64))))
  of "float32" : result = newLit(float32(r.rand(maximumPositiveValue(float32))))
  of "int64" : result = newLit(int64(r.rand(int32.high.int))) # Reduced range for JS compat.
  of "uint64": result = newLit(uint64(r.rand(int.high.int)))
  of "uint32": result = newLit(uint32(r.rand(int32.high.int)))
  of "BackwardsIndex": result = nnkCall.newTree(newIdentNode"BackwardsIndex", newLit(int(r.rand(int.high))))
  of "string", "cstring":
    var s = ""
    for _ in 0 .. r.rand(512): s.add(r.rand('\x00'..'\xFF'))
    if tipe.strVal == "string":
      result = newStrLitNode(s)
    else:
      result = nnkCall.newTree(newIdentNode"cstring", newStrLitNode(s))
  else: result = nnkCall.newTree(newIdentNode"default", tipe)

when isMainModule:
  randomize()
  type O = enum A, B
  echo O.fuzzing
  echo int.fuzzing
  echo int64.fuzzing
  echo int32.fuzzing
  echo int16.fuzzing
  echo int8.fuzzing
  echo uint64.fuzzing
  echo uint32.fuzzing
  echo uint16.fuzzing
  echo uint8.fuzzing
  echo byte.fuzzing
  echo char.fuzzing
  echo repr(BackwardsIndex.fuzzing)
  echo bool.fuzzing
  echo float.fuzzing
  echo float64.fuzzing
  echo float32.fuzzing
  echo Positive.fuzzing
  echo Natural.fuzzing
github-actions[bot] commented 1 year ago

@juancarlospaco (owner)

devel :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190

Stats

  • Started 2023-08-10T01:51:19
  • Finished 2023-08-10T01:51:21
  • Duration 1 minutes
stable :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190

Stats

  • Started 2023-08-10T01:51:21
  • Finished 2023-08-10T01:51:23
  • Duration 1 minutes
2.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190

Stats

  • Started 2023-08-10T01:51:23
  • Finished 2023-08-10T01:51:24
  • Duration 1 minutes
1.6.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190

Stats

  • Started 2023-08-10T01:51:27
  • Finished 2023-08-10T01:51:29
  • Duration 1 minutes
1.4.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367

Stats

  • Started 2023-08-10T01:51:32
  • Finished 2023-08-10T01:51:33
  • Duration 1 minutes
1.2.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367

Stats

  • Started 2023-08-10T01:51:49
  • Finished 2023-08-10T01:51:50
  • Duration 1 minutes
1.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367

Stats

  • Started 2023-08-10T01:52:02
  • Finished 2023-08-10T01:52:03
  • Duration 1 minutes
0.20.2 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367

Stats

  • Started 2023-08-10T01:52:13
  • Finished 2023-08-10T01:52:14
  • Duration 1 minutes
Stats
  • GCC (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
  • LibC (Ubuntu GLIBC 2.35-0ubuntu3.1) 2.35
  • Valgrind 3.18.1
  • NodeJS 18.17.0
  • Linux 5.15.0-1042-
  • Created 2023-08-10T01:50:36Z
  • Issue Comments 7
  • Commands nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --styleCheck:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
:robot: Bug found in 59 minutes bisecting 8 commits at 0 commits per second.
juancarlospaco commented 1 year ago

!nim c

import std/[random, macros, fenv]

macro fuzzing*(tipe: typedesc): untyped =
  doAssert tipe.kind == nnkSym and tipe.symKind == nskType, "Argument must be a static typedesc of primitive type."
  var r = initRand(max(tipe.strVal.len xor lineInfoObj(tipe).column + NimPatch, int8.high))
  case tipe.strVal
  of "int"     : result = newLit(int(r.rand(int.high)))
  of "int32"   : result = newLit(int32(r.rand(int32.high.int)))
  of "int16"   : result = newLit(int16(r.rand(int16.high.int)))
  of "int8"    : result = newLit(int8(r.rand(int8.high.int)))
  of "uint16"  : result = newLit(uint16(r.rand(uint16.high.int)))
  of "uint8"   : result = newLit(uint8(r.rand(uint8.high.int)))
  of "char"    : result = newLit(char(r.rand(char.high.int)))
  of "byte"    : result = newLit(byte(r.rand(byte.high.int)))
  of "Positive": result = newLit(Positive(r.rand(Positive.high.int)))
  of "Natural" : result = newLit(Natural(r.rand(Natural.high.int)))
  of "bool"    : result = newLit(bool(r.rand(1)))
  of "float"   : result = newLit(float(r.rand(maximumPositiveValue(float))))
  of "float64" : result = newLit(float64(r.rand(maximumPositiveValue(float64))))
  of "float32" : result = newLit(float32(r.rand(maximumPositiveValue(float32))))
  of "int64" : result = newLit(int64(r.rand(int32.high.int))) # Reduced range for JS compat.
  of "uint64": result = newLit(uint64(r.rand(int.high.int)))
  of "uint32": result = newLit(uint32(r.rand(int32.high.int)))
  of "BackwardsIndex": result = nnkCall.newTree(newIdentNode"BackwardsIndex", newLit(int(r.rand(int.high))))
  of "string", "cstring":
    var s = ""
    for _ in 0 .. r.rand(512): s.add(r.sample({'\x00'..'\xFF'} - {'"'}))
    if tipe.strVal == "string":
      result = newStrLitNode(s)
    else:
      result = nnkCall.newTree(newIdentNode"cstring", newStrLitNode(s))
  else: result = nnkCall.newTree(newIdentNode"default", tipe)

when isMainModule:
  randomize()
  type O = enum A, B
  echo O.fuzzing
  echo int.fuzzing
  echo int64.fuzzing
  echo int32.fuzzing
  echo int16.fuzzing
  echo int8.fuzzing
  echo uint64.fuzzing
  echo uint32.fuzzing
  echo uint16.fuzzing
  echo uint8.fuzzing
  echo byte.fuzzing
  echo char.fuzzing
  echo repr(BackwardsIndex.fuzzing)
  echo bool.fuzzing
  echo float.fuzzing
  echo float64.fuzzing
  echo float32.fuzzing
  echo Positive.fuzzing
  echo Natural.fuzzing
  echo string.fuzzing
  echo cstring.fuzzing
github-actions[bot] commented 1 year ago

@juancarlospaco (owner)

devel :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S]�O�<���~�9�GK��+̫��8F��u����m�|2>]S%��Nx����a<
}�bu�2A����R    IA�����={���9&�>��1
va�|�+���)�\���{>T
����*#�vHg�n1{��''����2~x���Z0�� B��,�V�����З�GE��^�zC/�t����񿔂��ޮK~h�+���F�Y�UL��HJ�B� �j�jh���!)Z�U�x�[r�@�'%o��FK���v�ofN�O��A������Y�\0V�Z�u��   ���<�ǔz�l��Y�+���&9�h��H�@Y����Z/C�Ӳ�V+
��{��*���lY�Uz@*�L�(ë�m�Z:83~[��l�k3&�u����ez����$���)O��&q4
3v6�DME�4g�&�%
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S]�O�<���~�9�GK��+̫��8F��u����m�|2>]S%��Nx����a<
}�bu�2A����R    IA�����={���9&�>��1
va�|�+���)�\���{>T
����*#�vHg�n1{��''����2~x���Z0�� B��,�V�����З�GE��^�zC/�t����񿔂��ޮK~h�+���F�Y�UL��HJ�B� �j�jh���!)Z�U�x�[r�@�'%o��FK���v�ofN�O��A������Y�\0V�Z�u��   ���<�ǔz�l��Y�+���&9�h��H�@Y����Z/C�Ӳ�V+
��{��*���lY�Uz@*�L�(ë�m�Z:83~[��l�k3&�u����ez����$���)O��&q4
3v6�DME�4g�&�%

Stats

  • Started 2023-08-10T02:00:15
  • Finished 2023-08-10T02:00:17
  • Duration 1 minutes
stable :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S]�O�<���~�9�GK��+̫��8F��u����m�|2>]S%��Nx����a<
}�bu�2A����R    IA�����={���9&�>��1
va�|�+���)�\���{>T
����*#�vHg�n1{��''����2~x���Z0�� B��,�V�����З�GE��^�zC/�t����񿔂��ޮK~h�+���F�Y�UL��HJ�B� �j�jh���!)Z�U�x�[r�@�'%o��FK���v�ofN�O��A������Y�\0V�Z�u��   ���<�ǔz�l��Y�+���&9�h��H�@Y����Z/C�Ӳ�V+
��{��*���lY�Uz@*�L�(ë�m�Z:83~[��l�k3&�u����ez����$���)O��&q4
3v6�DME�4g�&�%
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S]�O�<���~�9�GK��+̫��8F��u����m�|2>]S%��Nx����a<
}�bu�2A����R    IA�����={���9&�>��1
va�|�+���)�\���{>T
����*#�vHg�n1{��''����2~x���Z0�� B��,�V�����З�GE��^�zC/�t����񿔂��ޮK~h�+���F�Y�UL��HJ�B� �j�jh���!)Z�U�x�[r�@�'%o��FK���v�ofN�O��A������Y�\0V�Z�u��   ���<�ǔz�l��Y�+���&9�h��H�@Y����Z/C�Ӳ�V+
��{��*���lY�Uz@*�L�(ë�m�Z:83~[��l�k3&�u����ez����$���)O��&q4
3v6�DME�4g�&�%

Stats

  • Started 2023-08-10T02:00:17
  • Finished 2023-08-10T02:00:19
  • Duration 1 minutes
2.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S]�O�<���~�9�GK��+̫��8F��u����m�|2>]S%��Nx����a<
}�bu�2A����R    IA�����={���9&�>��1
va�|�+���)�\���{>T
����*#�vHg�n1{��''����2~x���Z0�� B��,�V�����З�GE��^�zC/�t����񿔂��ޮK~h�+���F�Y�UL��HJ�B� �j�jh���!)Z�U�x�[r�@�'%o��FK���v�ofN�O��A������Y�\0V�Z�u��   ���<�ǔz�l��Y�+���&9�h��H�@Y����Z/C�Ӳ�V+
��{��*���lY�Uz@*�L�(ë�m�Z:83~[��l�k3&�u����ez����$���)O��&q4
3v6�DME�4g�&�%
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S]�O�<���~�9�GK��+̫��8F��u����m�|2>]S%��Nx����a<
}�bu�2A����R    IA�����={���9&�>��1
va�|�+���)�\���{>T
����*#�vHg�n1{��''����2~x���Z0�� B��,�V�����З�GE��^�zC/�t����񿔂��ޮK~h�+���F�Y�UL��HJ�B� �j�jh���!)Z�U�x�[r�@�'%o��FK���v�ofN�O��A������Y�\0V�Z�u��   ���<�ǔz�l��Y�+���&9�h��H�@Y����Z/C�Ӳ�V+
��{��*���lY�Uz@*�L�(ë�m�Z:83~[��l�k3&�u����ez����$���)O��&q4
3v6�DME�4g�&�%

Stats

  • Started 2023-08-10T02:00:19
  • Finished 2023-08-10T02:00:20
  • Duration 1 minutes
1.6.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S]�O�<���~�9�GK��+̫��8F��u����m�|2>]S%��Nx����a<
}�bu�2A����R    IA�����={���9&�>��1
va�|�+���)�\���{>T
����*#�vHg�n1{��''����2~x���Z0�� B��,�V�����З�GE��^�zC/�t����񿔂��ޮK~h�+���F�Y�UL��HJ�B� �j�jh���!)Z�U�x�[r�@�'%o��FK���v�ofN�O��A������Y�\0V�Z�u��   ���<�ǔz�l��Y�+���&9�h��H�@Y����Z/C�Ӳ�V+
��{��*���lY�Uz@*�L�(ë�m�Z:83~[��l�k3&�u����ez����$���)O��&q4
3v6�DME�4g�&�%
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S]�O�<���~�9�GK��+̫��8F��u����m�|2>]S%��Nx����a<
}�bu�2A����R    IA�����={���9&�>��1
va�|�+���)�\���{>T
����*#�vHg�n1{��''����2~x���Z0�� B��,�V�����З�GE��^�zC/�t����񿔂��ޮK~h�+���F�Y�UL��HJ�B� �j�jh���!)Z�U�x�[r�@�'%o��FK���v�ofN�O��A������Y�\0V�Z�u��   ���<�ǔz�l��Y�+���&9�h��H�@Y����Z/C�Ӳ�V+
��{��*���lY�Uz@*�L�(ë�m�Z:83~[��l�k3&�u����ez����$���)O��&q4
3v6�DME�4g�&�%

Stats

  • Started 2023-08-10T02:00:23
  • Finished 2023-08-10T02:00:25
  • Duration 1 minutes
1.4.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
ϓ=���a����9=���^����W��9��D��AYO�[���V ��@Z%�Du��y��FE��\=F����P~�y)J�����u[B q�x��N�ky�^��z߲�����wP���{��C�E::n,^X���O7��(0�f3G�  ��M�̗j������G�?j+��#��Ue5�����I���17��n*R�
[�d1f%Ԍ��R�[ZB+w�V�g`�   c
T;ߕ.8U�~��h�]��j��Ӥب�;��+W��G#Җ%�!S��
h����̡��U1f����
ϓ=���a����9=���^����W��9��D��AYO�[���V ��@Z%�Du��y��FE��\=F����P~�y)J�����u[B q�x��N�ky�^��z߲�����wP���{��C�E::n,^X���O7��(0�f3G�  ��M�̗j������G�?j+��#��Ue5�����I���17��n*R�
[�d1f%Ԍ��R�[ZB+w�V�g`�   c
T;ߕ.8U�~��h�]��j��Ӥب�;��+W��G#Җ%�!S��
h����̡��U1f����

Stats

  • Started 2023-08-10T02:00:28
  • Finished 2023-08-10T02:00:29
  • Duration 1 minutes
1.2.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
ϓ=���a����9=���^����W��9��D��AYO�[���V ��@Z%�Du��y��FE��\=F����P~�y)J�����u[B q�x��N�ky�^��z߲�����wP���{��C�E::n,^X���O7��(0�f3G�  ��M�̗j������G�?j+��#��Ue5�����I���17��n*R�
[�d1f%Ԍ��R�[ZB+w�V�g`�   c
T;ߕ.8U�~��h�]��j��Ӥب�;��+W��G#Җ%�!S��
h����̡��U1f����
ϓ=���a����9=���^����W��9��D��AYO�[���V ��@Z%�Du��y��FE��\=F����P~�y)J�����u[B q�x��N�ky�^��z߲�����wP���{��C�E::n,^X���O7��(0�f3G�  ��M�̗j������G�?j+��#��Ue5�����I���17��n*R�
[�d1f%Ԍ��R�[ZB+w�V�g`�   c
T;ߕ.8U�~��h�]��j��Ӥب�;��+W��G#Җ%�!S��
h����̡��U1f����

Stats

  • Started 2023-08-10T02:00:45
  • Finished 2023-08-10T02:00:46
  • Duration 1 minutes
1.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
ϓ=���a����9=���^����W��9��D��AYO�[���V ��@Z%�Du��y��FE��\=F����P~�y)J�����u[B q�x��N�ky�^��z߲�����wP���{��C�E::n,^X���O7��(0�f3G�  ��M�̗j������G�?j+��#��Ue5�����I���17��n*R�
[�d1f%Ԍ��R�[ZB+w�V�g`�   c
T;ߕ.8U�~��h�]��j��Ӥب�;��+W��G#Җ%�!S��
h����̡��U1f����
ϓ=���a����9=���^����W��9��D��AYO�[���V ��@Z%�Du��y��FE��\=F����P~�y)J�����u[B q�x��N�ky�^��z߲�����wP���{��C�E::n,^X���O7��(0�f3G�  ��M�̗j������G�?j+��#��Ue5�����I���17��n*R�
[�d1f%Ԍ��R�[ZB+w�V�g`�   c
T;ߕ.8U�~��h�]��j��Ӥب�;��+W��G#Җ%�!S��
h����̡��U1f����

Stats

  • Started 2023-08-10T02:00:59
  • Finished 2023-08-10T02:01:01
  • Duration 1 minutes
0.20.2 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
ϓ=���a����9=���^����W��9��D��AYO�[���V ��@Z%�Du��y��FE��\=F����P~�y)J�����u[B q�x��N�ky�^��z߲�����wP���{��C�E::n,^X���O7��(0�f3G�  ��M�̗j������G�?j+��#��Ue5�����I���17��n*R�
[�d1f%Ԍ��R�[ZB+w�V�g`�   c
T;ߕ.8U�~��h�]��j��Ӥب�;��+W��G#Җ%�!S��
h����̡��U1f����
ϓ=���a����9=���^����W��9��D��AYO�[���V ��@Z%�Du��y��FE��\=F����P~�y)J�����u[B q�x��N�ky�^��z߲�����wP���{��C�E::n,^X���O7��(0�f3G�  ��M�̗j������G�?j+��#��Ue5�����I���17��n*R�
[�d1f%Ԍ��R�[ZB+w�V�g`�   c
T;ߕ.8U�~��h�]��j��Ӥب�;��+W��G#Җ%�!S��
h����̡��U1f����

Stats

  • Started 2023-08-10T02:01:10
  • Finished 2023-08-10T02:01:12
  • Duration 1 minutes
Stats
  • GCC (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
  • LibC (Ubuntu GLIBC 2.35-0ubuntu3.1) 2.35
  • Valgrind 3.18.1
  • NodeJS 18.17.0
  • Linux 5.15.0-1042-
  • Created 2023-08-10T01:59:22Z
  • Issue Comments 9
  • Commands nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --styleCheck:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
:robot: Bug found in bisecting 8 commits at 18 commits per second.
juancarlospaco commented 1 year ago

!nim js

import std/[random, macros, fenv]

macro fuzzing*(tipe: typedesc): untyped =
  doAssert tipe.kind == nnkSym and tipe.symKind == nskType, "Argument must be a static typedesc of primitive type."
  var r = initRand(max(tipe.strVal.len xor lineInfoObj(tipe).column + NimPatch, int8.high))
  case tipe.strVal
  of "int"     : result = newLit(int(r.rand(int.high)))
  of "int32"   : result = newLit(int32(r.rand(int32.high.int)))
  of "int16"   : result = newLit(int16(r.rand(int16.high.int)))
  of "int8"    : result = newLit(int8(r.rand(int8.high.int)))
  of "uint16"  : result = newLit(uint16(r.rand(uint16.high.int)))
  of "uint8"   : result = newLit(uint8(r.rand(uint8.high.int)))
  of "char"    : result = newLit(char(r.rand(char.high.int)))
  of "byte"    : result = newLit(byte(r.rand(byte.high.int)))
  of "Positive": result = newLit(Positive(r.rand(Positive.high.int)))
  of "Natural" : result = newLit(Natural(r.rand(Natural.high.int)))
  of "bool"    : result = newLit(bool(r.rand(1)))
  of "float"   : result = newLit(float(r.rand(maximumPositiveValue(float))))
  of "float64" : result = newLit(float64(r.rand(maximumPositiveValue(float64))))
  of "float32" : result = newLit(float32(r.rand(maximumPositiveValue(float32))))
  of "int64" : result = newLit(int64(r.rand(int32.high.int))) # Reduced range for JS compat.
  of "uint64": result = newLit(uint64(r.rand(int.high.int)))
  of "uint32": result = newLit(uint32(r.rand(int32.high.int)))
  of "BackwardsIndex": result = nnkCall.newTree(newIdentNode"BackwardsIndex", newLit(int(r.rand(int.high))))
  of "string", "cstring":
    var s = ""
    for _ in 0 .. r.rand(512): s.add(r.sample({'\x00'..'\xFF'} - {'"'}))
    if tipe.strVal == "string":
      result = newStrLitNode(s)
    else:
      result = nnkCall.newTree(newIdentNode"cstring", newStrLitNode(s))
  else: result = nnkCall.newTree(newIdentNode"default", tipe)

when isMainModule:
  randomize()
  type O = enum A, B
  echo O.fuzzing
  echo int.fuzzing
  echo int64.fuzzing
  echo int32.fuzzing
  echo int16.fuzzing
  echo int8.fuzzing
  echo uint64.fuzzing
  echo uint32.fuzzing
  echo uint16.fuzzing
  echo uint8.fuzzing
  echo byte.fuzzing
  echo char.fuzzing
  echo repr(BackwardsIndex.fuzzing)
  echo bool.fuzzing
  echo float.fuzzing
  echo float64.fuzzing
  echo float32.fuzzing
  echo Positive.fuzzing
  echo Natural.fuzzing
  echo string.fuzzing
  echo cstring.fuzzing
juancarlospaco commented 1 year ago

!nim c

import std/[random, macros, fenv]

macro fuzzing*(tipe: typedesc): untyped =
  doAssert tipe.kind == nnkSym and tipe.symKind == nskType, "Argument must be a static typedesc of primitive type."
  var r = initRand(max(tipe.strVal.len xor lineInfoObj(tipe).column + NimPatch, int8.high))
  case tipe.strVal
  of "int"     : result = newLit(int(r.rand(int.high)))
  of "int32"   : result = newLit(int32(r.rand(int32.high.int)))
  of "int16"   : result = newLit(int16(r.rand(int16.high.int)))
  of "int8"    : result = newLit(int8(r.rand(int8.high.int)))
  of "uint16"  : result = newLit(uint16(r.rand(uint16.high.int)))
  of "uint8"   : result = newLit(uint8(r.rand(uint8.high.int)))
  of "char"    : result = newLit(char(r.rand(char.high.int)))
  of "byte"    : result = newLit(byte(r.rand(byte.high.int)))
  of "Positive": result = newLit(Positive(r.rand(Positive.high.int)))
  of "Natural" : result = newLit(Natural(r.rand(Natural.high.int)))
  of "bool"    : result = newLit(bool(r.rand(1)))
  of "float"   : result = newLit(float(r.rand(maximumPositiveValue(float))))
  of "float64" : result = newLit(float64(r.rand(maximumPositiveValue(float64))))
  of "float32" : result = newLit(float32(r.rand(maximumPositiveValue(float32))))
  of "int64" : result = newLit(int64(r.rand(int32.high.int))) # Reduced range for JS compat.
  of "uint64": result = newLit(uint64(r.rand(int.high.int)))
  of "uint32": result = newLit(uint32(r.rand(int32.high.int)))
  of "BackwardsIndex": result = nnkCall.newTree(newIdentNode"BackwardsIndex", newLit(int(r.rand(int.high))))
  of "string", "cstring":
    var s = ""
    for _ in 0 .. r.rand(128): s.add(r.sample({'\x00'..'\xFF'} - {'"'}))
    if tipe.strVal == "string":
      result = newStrLitNode(s)
    else:
      result = nnkCall.newTree(newIdentNode"cstring", newStrLitNode(s))
  else: result = nnkCall.newTree(newIdentNode"default", tipe)

when isMainModule:
  randomize()
  type O = enum A, B
  echo O.fuzzing
  echo int.fuzzing
  echo int64.fuzzing
  echo int32.fuzzing
  echo int16.fuzzing
  echo int8.fuzzing
  echo uint64.fuzzing
  echo uint32.fuzzing
  echo uint16.fuzzing
  echo uint8.fuzzing
  echo byte.fuzzing
  echo char.fuzzing
  echo repr(BackwardsIndex.fuzzing)
  echo bool.fuzzing
  echo float.fuzzing
  echo float64.fuzzing
  echo float32.fuzzing
  echo Positive.fuzzing
  echo Natural.fuzzing
  echo string.fuzzing
github-actions[bot] commented 1 year ago

@juancarlospaco (owner)

devel :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H��

Stats

  • Started 2023-08-10T11:27:48
  • Finished 2023-08-10T11:27:49
  • Duration 1 minutes
stable :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H��

Stats

  • Started 2023-08-10T11:27:50
  • Finished 2023-08-10T11:27:51
  • Duration 1 minutes
2.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H��

Stats

  • Started 2023-08-10T11:27:51
  • Finished 2023-08-10T11:27:53
  • Duration 1 minutes
1.6.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H��

Stats

  • Started 2023-08-10T11:27:56
  • Finished 2023-08-10T11:27:58
  • Duration 1 minutes
1.4.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
�

Stats

  • Started 2023-08-10T11:28:01
  • Finished 2023-08-10T11:28:03
  • Duration 2 minutes
1.2.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
�

Stats

  • Started 2023-08-10T11:28:19
  • Finished 2023-08-10T11:28:20
  • Duration 1 minutes
1.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
�

Stats

  • Started 2023-08-10T11:28:33
  • Finished 2023-08-10T11:28:34
  • Duration 1 minutes
0.20.2 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
�

Stats

  • Started 2023-08-10T11:28:44
  • Finished 2023-08-10T11:28:45
  • Duration 1 minutes
Stats
  • GCC (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
  • LibC (Ubuntu GLIBC 2.35-0ubuntu3.1) 2.35
  • Valgrind 3.18.1
  • NodeJS 18.17.0
  • Linux 5.15.0-1042-
  • Created 2023-08-10T11:27:02Z
  • Issue Comments 12
  • Commands nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --styleCheck:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
:robot: Bug found in 1 minutes bisecting 8 commits at 6 commits per second.
juancarlospaco commented 1 year ago

!nim c

import random
import fuzzings

when true:
  randomize()
  type O = enum A, B
  echo O.fuzzing
  echo int.fuzzing
  echo int64.fuzzing
  echo int32.fuzzing
  echo int16.fuzzing
  echo int8.fuzzing
  echo uint64.fuzzing
  echo uint32.fuzzing
  echo uint16.fuzzing
  echo uint8.fuzzing
  echo byte.fuzzing
  echo char.fuzzing
  echo repr(BackwardsIndex.fuzzing)
  echo bool.fuzzing
  echo float.fuzzing
  echo float64.fuzzing
  echo float32.fuzzing
  echo Positive.fuzzing
  echo Natural.fuzzing
  echo string.fuzzing
  echo cstring.fuzzing
github-actions[bot] commented 1 year ago

@juancarlospaco (owner)

devel :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S

Stats

  • Started 2023-08-10T13:05:10
  • Finished 2023-08-10T13:05:11
  • Duration 1 minutes
stable :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S

Stats

  • Started 2023-08-10T13:05:11
  • Finished 2023-08-10T13:05:13
  • Duration 1 minutes
2.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S

Stats

  • Started 2023-08-10T13:05:13
  • Finished 2023-08-10T13:05:14
  • Duration 1 minutes
1.6.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S

Stats

  • Started 2023-08-10T13:05:17
  • Finished 2023-08-10T13:05:18
  • Duration 1 minutes
1.4.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
ϓ=���a����9=���^���
ϓ=���a����9=���^���

Stats

  • Started 2023-08-10T13:05:21
  • Finished 2023-08-10T13:05:22
  • Duration
1.2.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
ϓ=���a����9=���^���
ϓ=���a����9=���^���

Stats

  • Started 2023-08-10T13:05:37
  • Finished 2023-08-10T13:05:38
  • Duration
1.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
ϓ=���a����9=���^���
ϓ=���a����9=���^���

Stats

  • Started 2023-08-10T13:05:51
  • Finished 2023-08-10T13:05:52
  • Duration
0.20.2 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
ϓ=���a����9=���^���
ϓ=���a����9=���^���

Stats

  • Started 2023-08-10T13:06:05
  • Finished 2023-08-10T13:06:07
  • Duration 1 minutes
Stats
  • GCC (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
  • LibC (Ubuntu GLIBC 2.35-0ubuntu3.1) 2.35
  • Valgrind 3.18.1
  • NodeJS 18.17.0
  • Linux 5.15.0-1042-
  • Created 2023-08-10T13:04:30Z
  • Issue Comments 14
  • Commands nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --styleCheck:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
:robot: Bug found in bisecting 8 commits at 13 commits per second.
juancarlospaco commented 1 year ago

!nim cpp

import random
import fuzzings

when true:
  randomize()
  type O = enum A, B
  echo O.fuzzing
  echo int.fuzzing
  echo int64.fuzzing
  echo int32.fuzzing
  echo int16.fuzzing
  echo int8.fuzzing
  echo uint64.fuzzing
  echo uint32.fuzzing
  echo uint16.fuzzing
  echo uint8.fuzzing
  echo byte.fuzzing
  echo char.fuzzing
  echo repr(BackwardsIndex.fuzzing)
  echo bool.fuzzing
  echo float.fuzzing
  echo float64.fuzzing
  echo float32.fuzzing
  echo Positive.fuzzing
  echo Natural.fuzzing
  echo string.fuzzing
  echo cstring.fuzzing
github-actions[bot] commented 1 year ago

@juancarlospaco (owner)

devel :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S

Stats

  • Started 2023-08-10T13:41:16
  • Finished 2023-08-10T13:41:18
  • Duration 1 minutes
stable :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S

Stats

  • Started 2023-08-10T13:41:18
  • Finished 2023-08-10T13:41:19
  • Duration 1 minutes
2.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S

Stats

  • Started 2023-08-10T13:41:19
  • Finished 2023-08-10T13:41:20
  • Duration 1 minutes
1.6.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S

Stats

  • Started 2023-08-10T13:41:23
  • Finished 2023-08-10T13:41:25
  • Duration 1 minutes
1.4.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
ϓ=���a����9=���^���
ϓ=���a����9=���^���

Stats

  • Started 2023-08-10T13:41:27
  • Finished 2023-08-10T13:41:28
  • Duration 1 minutes
1.2.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
ϓ=���a����9=���^���
ϓ=���a����9=���^���

Stats

  • Started 2023-08-10T13:41:43
  • Finished 2023-08-10T13:41:44
  • Duration
1.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
ϓ=���a����9=���^���
ϓ=���a����9=���^���

Stats

  • Started 2023-08-10T13:41:57
  • Finished 2023-08-10T13:41:58
  • Duration
0.20.2 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
ϓ=���a����9=���^���
ϓ=���a����9=���^���

Stats

  • Started 2023-08-10T13:42:11
  • Finished 2023-08-10T13:42:12
  • Duration 1 minutes
Stats
  • GCC 11.4.0
  • LibC 0.0.0
  • Valgrind 3.18.1
  • NodeJS 0.0.0
  • Linux 5.15.0
  • Created 2023-08-10T13:40:31Z
  • Comments 16
  • Commands nim cpp --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --styleCheck:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
:robot: Bug found in 59 minutes bisecting 8 commits at 0 commits per second.
juancarlospaco commented 1 year ago

!nim cpp

import random
import fuzzings

when true:
  randomize()
  type O = enum A, B
  echo O.fuzzing
  echo int.fuzzing
  echo int64.fuzzing
  echo int32.fuzzing
  echo int16.fuzzing
  echo int8.fuzzing
  echo uint64.fuzzing
  echo uint32.fuzzing
  echo uint16.fuzzing
  echo uint8.fuzzing
  echo byte.fuzzing
  echo char.fuzzing
  echo repr(BackwardsIndex.fuzzing)
  echo bool.fuzzing
  echo float.fuzzing
  echo float64.fuzzing
  echo float32.fuzzing
  echo Positive.fuzzing
  echo Natural.fuzzing
  echo string.fuzzing
  echo cstring.fuzzing
github-actions[bot] commented 1 year ago

@juancarlospaco (owner)

devel :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S

Stats

  • Started 2023-08-10T13:48:15
  • Finished 2023-08-10T13:48:17
  • Duration 1 minutes
stable :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S

Stats

  • Started 2023-08-10T13:48:17
  • Finished 2023-08-10T13:48:18
  • Duration 1 minutes
2.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S

Stats

  • Started 2023-08-10T13:48:18
  • Finished 2023-08-10T13:48:19
  • Duration 1 minutes
1.6.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S

Stats

  • Started 2023-08-10T13:48:22
  • Finished 2023-08-10T13:48:23
  • Duration 1 minutes
1.4.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
ϓ=���a����9=���^���
ϓ=���a����9=���^���

Stats

  • Started 2023-08-10T13:48:25
  • Finished 2023-08-10T13:48:27
  • Duration 1 minutes
1.2.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
ϓ=���a����9=���^���
ϓ=���a����9=���^���

Stats

  • Started 2023-08-10T13:48:42
  • Finished 2023-08-10T13:48:43
  • Duration 1 minutes
1.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
ϓ=���a����9=���^���
ϓ=���a����9=���^���

Stats

  • Started 2023-08-10T13:48:55
  • Finished 2023-08-10T13:48:56
  • Duration 1 minutes
0.20.2 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
ϓ=���a����9=���^���
ϓ=���a����9=���^���

Stats

  • Started 2023-08-10T13:49:07
  • Finished 2023-08-10T13:49:08
  • Duration 1 minutes
Stats
  • GCC 11.4.0
  • LibC ldd (Ubuntu GLIBC 2.35-0ubuntu3.1) 2.35 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Roland McGrath and Ulrich Drepper.
  • Valgrind 3.18.1
  • NodeJS v18.17.0
  • Linux 5.15.0
  • Created 2023-08-10T13:47:37Z
  • Comments 18
  • Commands nim cpp --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --styleCheck:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
:robot: Bug found in 56 minutes bisecting 8 commits at 0 commits per second.
juancarlospaco commented 1 year ago

!nim cpp

import random
import fuzzings

when true:
  randomize()
  type O = enum A, B
  echo O.fuzzing
  echo int.fuzzing
  echo int64.fuzzing
  echo int32.fuzzing
  echo int16.fuzzing
  echo int8.fuzzing
  echo uint64.fuzzing
  echo uint32.fuzzing
  echo uint16.fuzzing
  echo uint8.fuzzing
  echo byte.fuzzing
  echo char.fuzzing
  echo repr(BackwardsIndex.fuzzing)
  echo bool.fuzzing
  echo float.fuzzing
  echo float64.fuzzing
  echo float32.fuzzing
  echo Positive.fuzzing
  echo Natural.fuzzing
  echo string.fuzzing
  echo cstring.fuzzing
github-actions[bot] commented 1 year ago

@juancarlospaco (owner)

devel :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S

Stats

  • Started 2023-08-10T13:54:22
  • Finished 2023-08-10T13:54:24
  • Duration 1 minutes
stable :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S

Stats

  • Started 2023-08-10T13:54:24
  • Finished 2023-08-10T13:54:26
  • Duration 1 minutes
2.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S

Stats

  • Started 2023-08-10T13:54:26
  • Finished 2023-08-10T13:54:27
  • Duration 1 minutes
1.6.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S

Stats

  • Started 2023-08-10T13:54:30
  • Finished 2023-08-10T13:54:32
  • Duration 1 minutes
1.4.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
ϓ=���a����9=���^���
ϓ=���a����9=���^���

Stats

  • Started 2023-08-10T13:54:36
  • Finished 2023-08-10T13:54:37
  • Duration 1 minutes
1.2.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
ϓ=���a����9=���^���
ϓ=���a����9=���^���

Stats

  • Started 2023-08-10T13:54:53
  • Finished 2023-08-10T13:54:54
  • Duration 1 minutes
1.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
ϓ=���a����9=���^���
ϓ=���a����9=���^���

Stats

  • Started 2023-08-10T13:55:08
  • Finished 2023-08-10T13:55:09
  • Duration 1 minutes
0.20.2 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
ϓ=���a����9=���^���
ϓ=���a����9=���^���

Stats

  • Started 2023-08-10T13:55:21
  • Finished 2023-08-10T13:55:22
  • Duration 1 minutes
Stats
  • GCC 11.4.0
  • LibC 2.35
  • Valgrind 3.18.1
  • NodeJS 17.0
  • Linux 5.15.0
  • Created 2023-08-10T13:53:34Z
  • Comments 20
  • Commands nim cpp --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --styleCheck:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
:robot: Bug found in 4 minutes bisecting 8 commits at 2 commits per second.
juancarlospaco commented 1 year ago

!nim cpp

import random
import fuzzings

when true:
  randomize()
  type O = enum A, B
  echo O.fuzzing
  echo int.fuzzing
  echo int64.fuzzing
  echo int32.fuzzing
  echo int16.fuzzing
  echo int8.fuzzing
  echo uint64.fuzzing
  echo uint32.fuzzing
  echo uint16.fuzzing
  echo uint8.fuzzing
  echo byte.fuzzing
  echo char.fuzzing
  echo repr(BackwardsIndex.fuzzing)
  echo bool.fuzzing
  echo float.fuzzing
  echo float64.fuzzing
  echo float32.fuzzing
  echo Positive.fuzzing
  echo Natural.fuzzing
  echo string.fuzzing
  echo cstring.fuzzing
github-actions[bot] commented 1 year ago

@juancarlospaco (owner)

devel :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S

Stats

  • Started 2023-08-10T17:20:59
  • Finished 2023-08-10T17:21:02
  • Duration 3 minutes
stable :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S

Stats

  • Started 2023-08-10T17:21:02
  • Finished 2023-08-10T17:21:04
  • Duration 1 minutes
2.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S

Stats

  • Started 2023-08-10T17:21:04
  • Finished 2023-08-10T17:21:06
  • Duration 1 minutes
1.6.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S
Ca0��H���w��:O    �&)�V�~0W�0�:.v�h���l��XY�6}���$����S

Stats

  • Started 2023-08-10T17:21:10
  • Finished 2023-08-10T17:21:12
  • Duration 1 minutes
1.4.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
ϓ=���a����9=���^���
ϓ=���a����9=���^���

Stats

  • Started 2023-08-10T17:21:15
  • Finished 2023-08-10T17:21:16
  • Duration 1 minutes
1.2.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
ϓ=���a����9=���^���
ϓ=���a����9=���^���

Stats

  • Started 2023-08-10T17:21:32
  • Finished 2023-08-10T17:21:33
  • Duration 1 minutes
1.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
ϓ=���a����9=���^���
ϓ=���a����9=���^���

Stats

  • Started 2023-08-10T17:21:46
  • Finished 2023-08-10T17:21:48
  • Duration 1 minutes
0.20.2 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
ϓ=���a����9=���^���
ϓ=���a����9=���^���

Stats

  • Started 2023-08-10T17:21:57
  • Finished 2023-08-10T17:21:59
  • Duration 1 minutes
Stats
  • GCC 11.4.0
  • LibC 2.35
  • Valgrind 3.18.1
  • NodeJS 17.0
  • Linux 5.15.0
  • Created 2023-08-10T17:20:00Z
  • Comments 22
  • Commands nim cpp --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --styleCheck:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
:robot: Bug found in 4 minutes bisecting 8 commits at 2 commits per second.
juancarlospaco commented 1 year ago

!nim cpp

import random
import fuzzings

when true:
  randomize()
  type O = enum A, B
  echo O.fuzzing
  echo int.fuzzing
  echo int64.fuzzing
  echo int32.fuzzing
  echo int16.fuzzing
  echo int8.fuzzing
  echo uint64.fuzzing
  echo uint32.fuzzing
  echo uint16.fuzzing
  echo uint8.fuzzing
  echo byte.fuzzing
  echo char.fuzzing
  echo repr(BackwardsIndex.fuzzing)
  echo bool.fuzzing
  echo float.fuzzing
  echo float64.fuzzing
  echo float32.fuzzing
  echo Positive.fuzzing
  echo Natural.fuzzing
  echo string.fuzzing
  echo cstring.fuzzing
github-actions[bot] commented 1 year ago

@juancarlospaco (owner)

devel :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
h�ހY�
h�ހY�

Stats

  • Started 2023-08-10T17:52:19
  • Finished 2023-08-10T17:52:20
  • Duration 1 minutes
stable :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
h�ހY�
h�ހY�

Stats

  • Started 2023-08-10T17:52:21
  • Finished 2023-08-10T17:52:22
  • Duration 1 minutes
2.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
h�ހY�
h�ހY�

Stats

  • Started 2023-08-10T17:52:22
  • Finished 2023-08-10T17:52:23
  • Duration 1 minutes
1.6.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6

7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
h�ހY�
h�ހY�

Stats

  • Started 2023-08-10T17:52:25
  • Finished 2023-08-10T17:52:27
  • Duration 1 minutes
1.4.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
LWK�=�*| ̕��s��h���h�!\�S�M��w[�d>b~�;��>��}��?h���ߛ
lȱ{�
{��T���>�D�J�;�hO]
�1[���GE��nC���9�[�9�ݪKp+����ԧ�1
LWK�=�*| ̕��s��h���h�!\�S�M��w[�d>b~�;��>��}��?h���ߛ
lȱ{�
{��T���>�D�J�;�hO]
�1[���GE��nC���9�[�9�ݪKp+����ԧ�1

Stats

  • Started 2023-08-10T17:52:29
  • Finished 2023-08-10T17:52:31
  • Duration 1 minutes
1.2.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
LWK�=�*| ̕��s��h���h�!\�S�M��w[�d>b~�;��>��}��?h���ߛ
lȱ{�
{��T���>�D�J�;�hO]
�1[���GE��nC���9�[�9�ݪKp+����ԧ�1
LWK�=�*| ̕��s��h���h�!\�S�M��w[�d>b~�;��>��}��?h���ߛ
lȱ{�
{��T���>�D�J�;�hO]
�1[���GE��nC���9�[�9�ݪKp+����ԧ�1

Stats

  • Started 2023-08-10T17:52:46
  • Finished 2023-08-10T17:52:47
  • Duration 1 minutes
1.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
LWK�=�*| ̕��s��h���h�!\�S�M��w[�d>b~�;��>��}��?h���ߛ
lȱ{�
{��T���>�D�J�;�hO]
�1[���GE��nC���9�[�9�ݪKp+����ԧ�1
LWK�=�*| ̕��s��h���h�!\�S�M��w[�d>b~�;��>��}��?h���ߛ
lȱ{�
{��T���>�D�J�;�hO]
�1[���GE��nC���9�[�9�ݪKp+����ԧ�1

Stats

  • Started 2023-08-10T17:52:59
  • Finished 2023-08-10T17:53:00
  • Duration 1 minutes
0.20.2 :+1: $\color{green}\textbf{\large OK}$

Output

A
8727375626367
2080895
2080895
16511
127
8727375626367
2080895
49279
127
127

8727375626367
true
8.50510159731475e+301
8.50510159731475e+301
1.609916551875452e+32
8727375626367
8727375626367
LWK�=�*| ̕��s��h���h�!\�S�M��w[�d>b~�;��>��}��?h���ߛ
lȱ{�
{��T���>�D�J�;�hO]
�1[���GE��nC���9�[�9�ݪKp+����ԧ�1
LWK�=�*| ̕��s��h���h�!\�S�M��w[�d>b~�;��>��}��?h���ߛ
lȱ{�
{��T���>�D�J�;�hO]
�1[���GE��nC���9�[�9�ݪKp+����ԧ�1

Stats

  • Started 2023-08-10T17:53:09
  • Finished 2023-08-10T17:53:10
  • Duration 1 minutes
Stats
  • GCC 11.4.0
  • LibC 2.35
  • Valgrind 3.18.1
  • NodeJS 17.0
  • Linux 5.15.0
  • Created 2023-08-10T17:51:44Z
  • Comments 24
  • Commands nim cpp --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --styleCheck:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
:robot: Bug found in 54 minutes bisecting 8 commits at 0 commits per second.
juancarlospaco commented 1 year ago

!nim c

import temp1
echo "temp.nim file contents"
echo "temp1.nim file contents"
github-actions[bot] commented 1 year ago

@juancarlospaco (owner)

devel :-1: FAIL

Output

Error: Command failed: nim c --run  -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: temp1

Stats

  • Started 2023-08-16T15:10:05
  • Finished 2023-08-16T15:10:05
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCommand.newTree( newIdentNode("echo"), newLit("temp.nim file contents") ) ) ```
stable :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: temp1 ```

Stats

  • Started 2023-08-16T15:10:06
  • Finished 2023-08-16T15:10:06
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCommand.newTree( newIdentNode("echo"), newLit("temp.nim file contents") ) ) ```
2.0.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: temp1 ```

Stats

  • Started 2023-08-16T15:10:06
  • Finished 2023-08-16T15:10:07
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCommand.newTree( newIdentNode("echo"), newLit("temp.nim file contents") ) ) ```
1.6.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: temp1 ```

Stats

  • Started 2023-08-16T15:10:10
  • Finished 2023-08-16T15:10:10
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCommand.newTree( newIdentNode("echo"), newLit("temp.nim file contents") ) ) ```
1.4.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: temp1 ```

Stats

  • Started 2023-08-16T15:10:13
  • Finished 2023-08-16T15:10:13
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCommand.newTree( newIdentNode("echo"), newLit("temp.nim file contents") ) ) ```
1.2.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: temp1 ```

Stats

  • Started 2023-08-16T15:10:28
  • Finished 2023-08-16T15:10:29
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCommand.newTree( newIdentNode("echo"), newLit("temp.nim file contents") ) ) ```
1.0.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: temp1 ```

Stats

  • Started 2023-08-16T15:10:41
  • Finished 2023-08-16T15:10:42
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCommand.newTree( newIdentNode("echo"), newLit("temp.nim file contents") ) ) ```
0.20.2 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: temp1 ```

Stats

  • Started 2023-08-16T15:10:55
  • Finished 2023-08-16T15:10:55
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCommand.newTree( newIdentNode("echo"), newLit("temp.nim file contents") ) ) ```
Stats
  • GCC (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
  • LibC (Ubuntu GLIBC 2.35-0ubuntu3.1) 2.35
  • Valgrind 3.18.1
  • NodeJS 18.17.0
  • Linux 5.15.0-1042-
  • Created 2023-08-16T15:09:27Z
  • Issue Comments 26
  • Commands nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
:robot: Bug found in 53 minutes bisecting 8 commits at 0 commits per second.
juancarlospaco commented 1 year ago

!nim c

import temp1
echo "temp.nim file contents"
echo "temp1.nim file contents"
github-actions[bot] commented 1 year ago

@juancarlospaco (owner)

devel :-1: FAIL

Output

Error: Command failed: nim c --run  -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: temp1

Stats

  • Started 2023-08-16T15:17:36
  • Finished 2023-08-16T15:17:36
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCommand.newTree( newIdentNode("echo"), newLit("temp.nim file contents") ) ) ```
stable :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: temp1 ```

Stats

  • Started 2023-08-16T15:17:37
  • Finished 2023-08-16T15:17:37
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCommand.newTree( newIdentNode("echo"), newLit("temp.nim file contents") ) ) ```
2.0.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: temp1 ```

Stats

  • Started 2023-08-16T15:17:38
  • Finished 2023-08-16T15:17:38
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCommand.newTree( newIdentNode("echo"), newLit("temp.nim file contents") ) ) ```
1.6.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: temp1 ```

Stats

  • Started 2023-08-16T15:17:41
  • Finished 2023-08-16T15:17:41
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCommand.newTree( newIdentNode("echo"), newLit("temp.nim file contents") ) ) ```
1.4.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: temp1 ```

Stats

  • Started 2023-08-16T15:17:43
  • Finished 2023-08-16T15:17:44
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCommand.newTree( newIdentNode("echo"), newLit("temp.nim file contents") ) ) ```
1.2.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: temp1 ```

Stats

  • Started 2023-08-16T15:17:59
  • Finished 2023-08-16T15:17:59
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCommand.newTree( newIdentNode("echo"), newLit("temp.nim file contents") ) ) ```
1.0.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: temp1 ```

Stats

  • Started 2023-08-16T15:18:12
  • Finished 2023-08-16T15:18:12
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCommand.newTree( newIdentNode("echo"), newLit("temp.nim file contents") ) ) ```
0.20.2 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: temp1 ```

Stats

  • Started 2023-08-16T15:18:26
  • Finished 2023-08-16T15:18:26
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCommand.newTree( newIdentNode("echo"), newLit("temp.nim file contents") ) ) ```
Stats
  • GCC (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
  • LibC (Ubuntu GLIBC 2.35-0ubuntu3.1) 2.35
  • Valgrind 3.18.1
  • NodeJS 18.17.0
  • Linux 5.15.0-1042-
  • Created 2023-08-16T15:16:59Z
  • Issue Comments 28
  • Commands nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
:robot: Bug found in 52 minutes bisecting 8 commits at 0 commits per second.
juancarlospaco commented 1 year ago

!nim c

import temp1
echo "temp.nim file contents"
echo "temp1.nim file contents"
github-actions[bot] commented 1 year ago

@juancarlospaco (owner)

devel :+1: $\color{green}\textbf{\large OK}$

Output

temp1.nim file contents
temp.nim file contents

Stats

  • Started 2023-08-16T15:21:12
  • Finished 2023-08-16T15:21:13
  • Duration
stable :+1: $\color{green}\textbf{\large OK}$

Output

temp1.nim file contents
temp.nim file contents

Stats

  • Started 2023-08-16T15:21:13
  • Finished 2023-08-16T15:21:14
  • Duration
2.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

temp1.nim file contents
temp.nim file contents

Stats

  • Started 2023-08-16T15:21:14
  • Finished 2023-08-16T15:21:14
  • Duration
1.6.0 :+1: $\color{green}\textbf{\large OK}$

Output

temp1.nim file contents
temp.nim file contents

Stats

  • Started 2023-08-16T15:21:17
  • Finished 2023-08-16T15:21:17
  • Duration
1.4.0 :+1: $\color{green}\textbf{\large OK}$

Output

temp1.nim file contents
temp.nim file contents

Stats

  • Started 2023-08-16T15:21:19
  • Finished 2023-08-16T15:21:20
  • Duration
1.2.0 :+1: $\color{green}\textbf{\large OK}$

Output

temp1.nim file contents
temp.nim file contents

Stats

  • Started 2023-08-16T15:21:36
  • Finished 2023-08-16T15:21:36
  • Duration
1.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

temp1.nim file contents
temp.nim file contents

Stats

  • Started 2023-08-16T15:21:48
  • Finished 2023-08-16T15:21:49
  • Duration
0.20.2 :+1: $\color{green}\textbf{\large OK}$

Output

temp1.nim file contents
temp.nim file contents

Stats

  • Started 2023-08-16T15:22:00
  • Finished 2023-08-16T15:22:00
  • Duration
:arrow_right: :bug:

Diagnostics

ringabout introduced a bug at 2023-08-16 19:46:44 +0800 on commit with message:

fixes #22357; don't sink elements of var tuple cursors (#22486)

The bug is in the files:

compiler/injectdestructors.nim

The bug can be in the commits:

(Diagnostics sometimes off-by-one).

Stats
  • GCC (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
  • LibC (Ubuntu GLIBC 2.35-0ubuntu3.1) 2.35
  • Valgrind 3.18.1
  • NodeJS 18.17.0
  • Linux 5.15.0-1042-
  • Created 2023-08-16T15:20:42Z
  • Issue Comments 30
  • Commands nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim

:robot: Bug found in 11 minutes bisecting 9 commits at 1 commits per second.

juancarlospaco commented 1 year ago

!nim c

import temp1
bug(1, @[1])
import std/lists
proc bug*[L](v: L; a: seq[int]) = discard toDoublyLinkedList(a)
github-actions[bot] commented 1 year ago

@juancarlospaco (owner)

devel :-1: FAIL

Output

Error: Command failed: nim c --run  -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 4) template/generic instantiation of `bug` from here
/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp1.nim(2, 61) template/generic instantiation of `toDoublyLinkedList` from here
/home/runner/.choosenim/toolchains/nim-#devel/lib/pure/collections/lists.nim(188, 11) Error: type mismatch
Expression: add(result, elem)
  [1] result: DoublyLinkedList[system.int]
  [2] elem: int

Expected one of (first mismatch at [position]):
[1] proc add(x: var string; y: char)
[1] proc add(x: var string; y: cstring)
[1] proc add(x: var string; y: string)
[1] proc add[T](x: var seq[T]; y: openArray[T])
[1] proc add[T](x: var seq[T]; y: sink T)

Stats

  • Started 2023-08-23T20:00:18
  • Finished 2023-08-23T20:00:18
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCall.newTree( newIdentNode("bug"), newLit(1), nnkPrefix.newTree( newIdentNode("@"), nnkBracket.newTree( newLit(1) ) ) ) ) ```
stable :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 4) template/generic instantiation of `bug` from here /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp1.nim(2, 61) template/generic instantiation of `toDoublyLinkedList` from here /home/runner/.choosenim/toolchains/nim-2.0.0/lib/pure/collections/lists.nim(188, 11) Error: type mismatch Expression: add(result, elem) [1] result: DoublyLinkedList[system.int] [2] elem: int Expected one of (first mismatch at [position]): [1] proc add(x: var string; y: char) [1] proc add(x: var string; y: cstring) [1] proc add(x: var string; y: string) [1] proc add[T](x: var seq[T]; y: openArray[T]) [1] proc add[T](x: var seq[T]; y: sink T) ```

Stats

  • Started 2023-08-23T20:00:19
  • Finished 2023-08-23T20:00:19
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCall.newTree( newIdentNode("bug"), newLit(1), nnkPrefix.newTree( newIdentNode("@"), nnkBracket.newTree( newLit(1) ) ) ) ) ```
2.0.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 4) template/generic instantiation of `bug` from here /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp1.nim(2, 61) template/generic instantiation of `toDoublyLinkedList` from here /home/runner/.choosenim/toolchains/nim-2.0.0/lib/pure/collections/lists.nim(188, 11) Error: type mismatch Expression: add(result, elem) [1] result: DoublyLinkedList[system.int] [2] elem: int Expected one of (first mismatch at [position]): [1] proc add(x: var string; y: char) [1] proc add(x: var string; y: cstring) [1] proc add(x: var string; y: string) [1] proc add[T](x: var seq[T]; y: openArray[T]) [1] proc add[T](x: var seq[T]; y: sink T) ```

Stats

  • Started 2023-08-23T20:00:19
  • Finished 2023-08-23T20:00:20
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCall.newTree( newIdentNode("bug"), newLit(1), nnkPrefix.newTree( newIdentNode("@"), nnkBracket.newTree( newLit(1) ) ) ) ) ```
1.6.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 4) template/generic instantiation of `bug` from here /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp1.nim(2, 61) template/generic instantiation of `toDoublyLinkedList` from here /home/runner/.choosenim/toolchains/nim-1.6.0/lib/pure/collections/lists.nim(189, 11) Error: type mismatch: got but expected one of: proc add(x: var string; y: char) first type mismatch at position: 1 required type for x: var string but expression 'result' is of type: DoublyLinkedList[system.int] proc add(x: var string; y: cstring) first type mismatch at position: 1 required type for x: var string but expression 'result' is of type: DoublyLinkedList[system.int] proc add(x: var string; y: string) first type mismatch at position: 1 required type for x: var string but expression 'result' is of type: DoublyLinkedList[system.int] proc add[T](x: var seq[T]; y: openArray[T]) first type mismatch at position: 1 required type for x: var seq[T] but expression 'result' is of type: DoublyLinkedList[system.int] proc add[T](x: var seq[T]; y: sink T) first type mismatch at position: 1 required type for x: var seq[T] but expression 'result' is of type: DoublyLinkedList[system.int] expression: add(result, elem) ```

Stats

  • Started 2023-08-23T20:00:23
  • Finished 2023-08-23T20:00:24
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCall.newTree( newIdentNode("bug"), newLit(1), nnkPrefix.newTree( newIdentNode("@"), nnkBracket.newTree( newLit(1) ) ) ) ) ```
1.4.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp1.nim(2, 61) Error: undeclared identifier: 'toDoublyLinkedList' ```

Stats

  • Started 2023-08-23T20:00:28
  • Finished 2023-08-23T20:00:28
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCall.newTree( newIdentNode("bug"), newLit(1), nnkPrefix.newTree( newIdentNode("@"), nnkBracket.newTree( newLit(1) ) ) ) ) ```
1.2.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp1.nim(2, 61) Error: undeclared identifier: 'toDoublyLinkedList' ```

Stats

  • Started 2023-08-23T20:00:44
  • Finished 2023-08-23T20:00:44
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCall.newTree( newIdentNode("bug"), newLit(1), nnkPrefix.newTree( newIdentNode("@"), nnkBracket.newTree( newLit(1) ) ) ) ) ```
1.0.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp1.nim(2, 61) Error: undeclared identifier: 'toDoublyLinkedList' ```

Stats

  • Started 2023-08-23T20:00:57
  • Finished 2023-08-23T20:00:57
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCall.newTree( newIdentNode("bug"), newLit(1), nnkPrefix.newTree( newIdentNode("@"), nnkBracket.newTree( newLit(1) ) ) ) ) ```
0.20.2 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp1.nim(2, 61) Error: undeclared identifier: 'toDoublyLinkedList' ```

Stats

  • Started 2023-08-23T20:01:07
  • Finished 2023-08-23T20:01:07
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCall.newTree( newIdentNode("bug"), newLit(1), nnkPrefix.newTree( newIdentNode("@"), nnkBracket.newTree( newLit(1) ) ) ) ) ```
Stats
  • GCC (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
  • LibC (Ubuntu GLIBC 2.35-0ubuntu3.1) 2.35
  • Valgrind 3.18.1
  • NodeJS 18.17.1
  • Linux 5.15.0-1041-
  • Created 2023-08-23T19:59:34Z
  • Issue Comments 32
  • Commands nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
:robot: Bug found in 53 minutes bisecting 8 commits at 0 commits per second.
juancarlospaco commented 1 year ago

!nim c --gc:orc

type
  Node = object
    n: int
    next: seq[int]
    foobar: FooBar
  FooBar = object
    s: seq[Node]

proc `=copy`(dest: var Node; source: Node) {.error.}
proc `=copy`(dest: var FooBar; source: FooBar) {.error.}

proc doSomething(s: FooBar) =
  var ss: seq[int]
  {.emit: "/* STARTS */\n".}
  for i in 0 .. s.s.len-1:
    for j, elm in pairs s.s[i].next:
      ss.add s.s[elm].n
  {.emit: "/* ENDS */\n".}
  echo ss

when isMainModule:
  const foo = FooBar(s: @[Node(n: 1, next: @[0])])
  doSomething(foo)
  doAssert off # To get the C in the bisects.
github-actions[bot] commented 1 year ago

@juancarlospaco (owner)

devel :-1: FAIL

Output

Error: Command failed: nim c --gc:orc -d:nimArcDebug -d:nimArcIds  --run  -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
command line(1, 2) Warning: `gc:option` is deprecated; use `mm:option` instead [Deprecated]
/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim temp
/home/runner/.choosenim/toolchains/nim-#devel/lib/std/assertions.nim failedAssertImpl
/home/runner/.choosenim/toolchains/nim-#devel/lib/std/assertions.nim raiseAssert
/home/runner/.choosenim/toolchains/nim-#devel/lib/system/fatal.nim sysFatal
Error: unhandled exception: /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(21, 3) `off`  [AssertionDefect]
Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp'

Stats

  • Started 2023-08-25T12:31:36
  • Finished 2023-08-25T12:31:37
  • Duration

IR

Compiled filesize 108.04 Kb (110,632 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix #define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); #define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); #define nimln_(n) \ FR_.line = n; #define nimlf_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct tyObject_FooBar__4fpB3ptw1kpdHmgfB1F2Ng tyObject_FooBar__4fpB3ptw1kpdHmgfB1F2Ng; typedef struct tySequence__FrfIFZIUAEZiP7MEA1NqTA tySequence__FrfIFZIUAEZiP7MEA1NqTA; typedef struct tySequence__FrfIFZIUAEZiP7MEA1NqTA_Content tySequence__FrfIFZIUAEZiP7MEA1NqTA_Content; typedef struct tySequence__qwqHTkRvwhrRyENtudHQ7g tySequence__qwqHTkRvwhrRyENtudHQ7g; typedef struct tySequence__qwqHTkRvwhrRyENtudHQ7g_Content tySequence__qwqHTkRvwhrRyENtudHQ7g_Content; typedef struct NimStrPayload NimStrPayload; typedef struct NimStringV2 NimStringV2; typedef struct tyObject_Node__sPGpEGmaGjHUzlsBVzMDkw tyObject_Node__sPGpEGmaGjHUzlsBVzMDkw; struct tySequence__FrfIFZIUAEZiP7MEA1NqTA { NI len; tySequence__FrfIFZIUAEZiP7MEA1NqTA_Content* p; }; struct tyObject_FooBar__4fpB3ptw1kpdHmgfB1F2Ng { tySequence__FrfIFZIUAEZiP7MEA1NqTA s; }; struct tySequence__qwqHTkRvwhrRyENtudHQ7g { NI len; tySequence__qwqHTkRvwhrRyENtudHQ7g_Content* p; }; struct NimStrPayload { NI cap; NIM_CHAR data[SEQ_DECL_SIZE]; }; struct NimStringV2 { NI len; NimStrPayload* p; }; struct tyObject_Node__sPGpEGmaGjHUzlsBVzMDkw { NI n; tySequence__qwqHTkRvwhrRyENtudHQ7g next; tyObject_FooBar__4fpB3ptw1kpdHmgfB1F2Ng foobar; }; typedef NimStringV2 tyArray__nHXaesL0DJZHyVS07ARPRA[1]; struct tySequence__FrfIFZIUAEZiP7MEA1NqTA_Content { NI cap; tyObject_Node__sPGpEGmaGjHUzlsBVzMDkw data[SEQ_DECL_SIZE]; }; struct tySequence__qwqHTkRvwhrRyENtudHQ7g_Content { NI cap; NI data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, doSomething__temp_u13)(tyObject_FooBar__4fpB3ptw1kpdHmgfB1F2Ng s_p0); N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void); N_LIB_PRIVATE N_NIMCALL(void, eqcopy___temp_u140)(tySequence__qwqHTkRvwhrRyENtudHQ7g* dest_p0, tySequence__qwqHTkRvwhrRyENtudHQ7g src_p1); N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i_p0, NI n_p1); N_LIB_PRIVATE N_NIMCALL(void, add__temp_u50)(tySequence__qwqHTkRvwhrRyENtudHQ7g* x_p0, NI y_p1); N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__stdZassertions_u310)(NimStringV2 msg_p0); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___temp_u137)(tySequence__qwqHTkRvwhrRyENtudHQ7g dest_p0); N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___temp_u271)(tySequence__qwqHTkRvwhrRyENtudHQ7g x_p0); N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringV2* args_p0, NI args_p0Len_0); N_LIB_PRIVATE N_NOCONV(void, deallocShared)(void* p_p0); static N_INLINE(NIM_BOOL*, nimErrorFlag)(void); static N_INLINE(void, nimFrame)(TFrame* s_p0); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__system_u4967)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, nimTestErrorFlag)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminusathdevelatslibatssystemdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); static const struct { NI cap; NIM_CHAR data[147+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_4 = { 147 | NIM_STRLIT_FLAG, "/home/runner/.choosenim/toolchains/nim-#devel/lib/system/iterators.nim(179, 11) `len(a) == L` the length of the seq changed while iterating over it" }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_5 = {147, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_4}; static const struct { NI cap; NI data[1]; } TM__h69aKLv9bAieBdiFzvDngbMw_7 = {1 | NIM_STRLIT_FLAG, {((NI)0)}}; static const struct { NI cap; tyObject_Node__sPGpEGmaGjHUzlsBVzMDkw data[0]; } TM__h69aKLv9bAieBdiFzvDngbMw_8 = {0 | NIM_STRLIT_FLAG}; static const struct { NI cap; tyObject_Node__sPGpEGmaGjHUzlsBVzMDkw data[1]; } TM__h69aKLv9bAieBdiFzvDngbMw_9 = {1 | NIM_STRLIT_FLAG, {{((NI)1), {1, (tySequence__qwqHTkRvwhrRyENtudHQ7g_Content*)&TM__h69aKLv9bAieBdiFzvDngbMw_7}, {{0, (tySequence__FrfIFZIUAEZiP7MEA1NqTA_Content*)&TM__h69aKLv9bAieBdiFzvDngbMw_8}} } }}; static const struct { NI cap; NIM_CHAR data[88+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_10 = { 88 | NIM_STRLIT_FLAG, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(21, 3) `off` " }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_11 = {88, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_10}; N_LIB_PRIVATE NIM_CONST tyObject_FooBar__4fpB3ptw1kpdHmgfB1F2Ng foo__temp_u320 = {{1, (tySequence__FrfIFZIUAEZiP7MEA1NqTA_Content*)&TM__h69aKLv9bAieBdiFzvDngbMw_9}} ; extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4751; extern NIM_THREADVAR TFrame* framePtr__system_u4375; static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (NIM_BOOL*)0; result = (&nimInErrorMode__system_u4751); return result; } static N_INLINE(void, nimFrame)(TFrame* s_p0) { { if (!(framePtr__system_u4375 == ((TFrame*) NIM_NIL))) goto LA3_; (*s_p0).calldepth = ((NI16)0); } goto LA1_; LA3_: ; { (*s_p0).calldepth = (NI16)((*framePtr__system_u4375).calldepth + ((NI16)1)); } LA1_: ; (*s_p0).prev = framePtr__system_u4375; framePtr__system_u4375 = s_p0; { if (!((*s_p0).calldepth == ((NI16)2000))) goto LA8_; callDepthLimitReached__system_u4967(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__system_u4375 = (*framePtr__system_u4375).prev; } N_LIB_PRIVATE N_NIMCALL(void, doSomething__temp_u13)(tyObject_FooBar__4fpB3ptw1kpdHmgfB1F2Ng s_p0) { tySequence__qwqHTkRvwhrRyENtudHQ7g ss; NimStringV2 colontmpD_; tyArray__nHXaesL0DJZHyVS07ARPRA T15_; NIM_BOOL* nimErr_; nimfr_("doSomething", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); {nimErr_ = nimErrorFlag(); ss.len = 0; ss.p = NIM_NIL; colontmpD_.len = 0; colontmpD_.p = NIM_NIL; { NI i; NI colontmp_; NI T3_; NI TM__h69aKLv9bAieBdiFzvDngbMw_2; NI res; i = (NI)0; colontmp_ = (NI)0; T3_ = s_p0.s.len; if (nimSubInt(T3_, ((NI)1), &TM__h69aKLv9bAieBdiFzvDngbMw_2)) { raiseOverflow(); goto LA1_; }; colontmp_ = (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_2); res = ((NI)0); { while (1) { NI TM__h69aKLv9bAieBdiFzvDngbMw_6; if (!(res <= colontmp_)) goto LA5; i = res; { tySequence__qwqHTkRvwhrRyENtudHQ7g colontmp__2; NI j; NI elm; NI i_2; NI L; NI T7_; colontmp__2.len = 0; colontmp__2.p = NIM_NIL; j = (NI)0; elm = (NI)0; colontmp__2.len = 0; colontmp__2.p = NIM_NIL; if (i < 0 || i >= s_p0.s.len){ raiseIndexError2(i,s_p0.s.len-1); goto LA1_; } eqcopy___temp_u140((&colontmp__2), s_p0.s.p->data[i].next); i_2 = ((NI)0); T7_ = colontmp__2.len; L = T7_; { while (1) { NI colontmpD__2; NI TM__h69aKLv9bAieBdiFzvDngbMw_3; if (!(i_2 < L)) goto LA9; colontmpD__2 = (NI)0; j = i_2; if (i_2 < 0 || i_2 >= colontmp__2.len){ raiseIndexError2(i_2,colontmp__2.len-1); goto LA1_; } elm = colontmp__2.p->data[i_2]; if (elm < 0 || elm >= s_p0.s.len){ raiseIndexError2(elm,s_p0.s.len-1); goto LA1_; } colontmpD__2 = s_p0.s.p->data[elm].n; add__temp_u50((&ss), colontmpD__2); if (nimAddInt(i_2, ((NI)1), &TM__h69aKLv9bAieBdiFzvDngbMw_3)) { raiseOverflow(); goto LA1_; }; i_2 = (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_3); { NI T12_; T12_ = colontmp__2.len; if (!!((T12_ == L))) goto LA13_; failedAssertImpl__stdZassertions_u310(TM__h69aKLv9bAieBdiFzvDngbMw_5); if (NIM_UNLIKELY(*nimErr_)) goto LA1_; } LA13_: ; } LA9: ; } eqdestroy___temp_u137(colontmp__2); } if (nimAddInt(res, ((NI)1), &TM__h69aKLv9bAieBdiFzvDngbMw_6)) { raiseOverflow(); goto LA1_; }; res = (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_6); } LA5: ; } } colontmpD_ = dollar___temp_u271(ss); if (NIM_UNLIKELY(*nimErr_)) goto LA1_; T15_[0] = colontmpD_; echoBinSafe(T15_, 1); { LA1_:; } { if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) { deallocShared(colontmpD_.p); } eqdestroy___temp_u137(ss); } if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; }BeforeRet_: ; popFrame(); } N_LIB_PRIVATE void PreMainInner(void) { } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { #if 0 void (*volatile inner)(void); inner = PreMainInner; atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminusathdevelatslibatssystemdotnim_Init000(); (*inner)(); #else atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminusathdevelatslibatssystemdotnim_Init000(); PreMainInner(); #endif } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { #if 0 void (*volatile inner)(void); PreMain(); inner = NimMainInner; (*inner)(); #else PreMain(); NimMainInner(); #endif } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { NIM_BOOL* nimErr_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); nimErr_ = nimErrorFlag(); doSomething__temp_u13(foo__temp_u320); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; { if (!NIM_TRUE) goto LA3_; failedAssertImpl__stdZassertions_u310(TM__h69aKLv9bAieBdiFzvDngbMw_11); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; } LA3_: ; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("Node"), newEmptyNode(), nnkObjectTy.newTree( newEmptyNode(), newEmptyNode(), nnkRecList.newTree( nnkIdentDefs.newTree( newIdentNode("n"), newIdentNode("int"), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("next"), nnkBracketExpr.newTree( newIdentNode("seq"), newIdentNode("int") ), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("foobar"), newIdentNode("FooBar"), newEmptyNode() ) ) ) ), nnkTypeDef.newTree( newIdentNode("FooBar"), newEmptyNode(), nnkObjectTy.newTree( newEmptyNode(), newEmptyNode(), nnkRecList.newTree( nnkIdentDefs.newTree( newIdentNode("s"), nnkBracketExpr.newTree( newIdentNode("seq"), newIdentNode("Node") ), newEmptyNode() ) ) ) ) ), nnkProcDef.newTree( nnkAccQuoted.newTree( newIdentNode("="), newIdentNode("copy") ), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("dest"), nnkVarTy.newTree( newIdentNode("Node") ), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("source"), newIdentNode("Node"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("error") ), newEmptyNode(), newEmptyNode() ), nnkProcDef.newTree( nnkAccQuoted.newTree( newIdentNode("="), newIdentNode("copy") ), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("dest"), nnkVarTy.newTree( newIdentNode("FooBar") ), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("source"), newIdentNode("FooBar"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("error") ), newEmptyNode(), newEmptyNode() ), nnkProcDef.newTree( newIdentNode("doSomething"), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("s"), newIdentNode("FooBar"), newEmptyNode() ) ), newEmptyNode(), newEmptyNode(), nnkStmtList.newTree( nnkVarSection.newTree( nnkIdentDefs.newTree( newIdentNode("ss"), nnkBracketExpr.newTree( newIdentNode("seq"), newIdentNode("int") ), newEmptyNode() ) ), nnkPragma.newTree( nnkExprColonExpr.newTree( newIdentNode("emit"), newLit("/* STARTS */\n") ) ), nnkForStmt.newTree( newIdentNode("i"), nnkInfix.newTree( newIdentNode(".."), newLit(0), nnkInfix.newTree( newIdentNode("-"), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("s") ), newIdentNode("len") ), newLit(1) ) ), nnkStmtList.newTree( nnkForStmt.newTree( newIdentNode("j"), newIdentNode("elm"), nnkCommand.newTree( newIdentNode("pairs"), nnkDotExpr.newTree( nnkBracketExpr.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("s") ), newIdentNode("i") ), newIdentNode("next") ) ), nnkStmtList.newTree( nnkCommand.newTree( nnkDotExpr.newTree( newIdentNode("ss"), newIdentNode("add") ), nnkDotExpr.newTree( nnkBracketExpr.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("s") ), newIdentNode("elm") ), newIdentNode("n") ) ) ) ) ) ), nnkPragma.newTree( nnkExprColonExpr.newTree( newIdentNode("emit"), newLit("/* ENDS */\n") ) ), nnkCommand.newTree( newIdentNode("echo"), newIdentNode("ss") ) ) ), nnkWhenStmt.newTree( nnkElifBranch.newTree( newIdentNode("isMainModule"), nnkStmtList.newTree( nnkConstSection.newTree( nnkConstDef.newTree( newIdentNode("foo"), newEmptyNode(), nnkObjConstr.newTree( newIdentNode("FooBar"), nnkExprColonExpr.newTree( newIdentNode("s"), nnkPrefix.newTree( newIdentNode("@"), nnkBracket.newTree( nnkObjConstr.newTree( newIdentNode("Node"), nnkExprColonExpr.newTree( newIdentNode("n"), newLit(1) ), nnkExprColonExpr.newTree( newIdentNode("next"), nnkPrefix.newTree( newIdentNode("@"), nnkBracket.newTree( newLit(0) ) ) ) ) ) ) ) ) ) ), nnkCall.newTree( newIdentNode("doSomething"), newIdentNode("foo") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("off") ) ) ) ) ) ```
stable :-1: FAIL

Output

``` Error: Command failed: nim c --gc:orc -d:nimArcDebug -d:nimArcIds --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim command line(1, 2) Warning: `gc:option` is deprecated; use `mm:option` instead [Deprecated] /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim temp /home/runner/.choosenim/toolchains/nim-2.0.0/lib/std/assertions.nim failedAssertImpl /home/runner/.choosenim/toolchains/nim-2.0.0/lib/std/assertions.nim raiseAssert /home/runner/.choosenim/toolchains/nim-2.0.0/lib/system/fatal.nim sysFatal Error: unhandled exception: /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(21, 3) `off` [AssertionDefect] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp' ```

Stats

  • Started 2023-08-25T12:31:37
  • Finished 2023-08-25T12:31:38
  • Duration

IR

Compiled filesize 105.87 Kb (108,408 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix #define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); #define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); #define nimln_(n) \ FR_.line = n; #define nimlf_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct tyObject_FooBar__4fpB3ptw1kpdHmgfB1F2Ng tyObject_FooBar__4fpB3ptw1kpdHmgfB1F2Ng; typedef struct tySequence__FrfIFZIUAEZiP7MEA1NqTA tySequence__FrfIFZIUAEZiP7MEA1NqTA; typedef struct tySequence__FrfIFZIUAEZiP7MEA1NqTA_Content tySequence__FrfIFZIUAEZiP7MEA1NqTA_Content; typedef struct tySequence__qwqHTkRvwhrRyENtudHQ7g tySequence__qwqHTkRvwhrRyENtudHQ7g; typedef struct tySequence__qwqHTkRvwhrRyENtudHQ7g_Content tySequence__qwqHTkRvwhrRyENtudHQ7g_Content; typedef struct NimStrPayload NimStrPayload; typedef struct NimStringV2 NimStringV2; typedef struct tyObject_Node__sPGpEGmaGjHUzlsBVzMDkw tyObject_Node__sPGpEGmaGjHUzlsBVzMDkw; struct tySequence__FrfIFZIUAEZiP7MEA1NqTA { NI len; tySequence__FrfIFZIUAEZiP7MEA1NqTA_Content* p; }; struct tyObject_FooBar__4fpB3ptw1kpdHmgfB1F2Ng { tySequence__FrfIFZIUAEZiP7MEA1NqTA s; }; struct tySequence__qwqHTkRvwhrRyENtudHQ7g { NI len; tySequence__qwqHTkRvwhrRyENtudHQ7g_Content* p; }; struct NimStrPayload { NI cap; NIM_CHAR data[SEQ_DECL_SIZE]; }; struct NimStringV2 { NI len; NimStrPayload* p; }; struct tyObject_Node__sPGpEGmaGjHUzlsBVzMDkw { NI n; tySequence__qwqHTkRvwhrRyENtudHQ7g next; tyObject_FooBar__4fpB3ptw1kpdHmgfB1F2Ng foobar; }; typedef NimStringV2 tyArray__nHXaesL0DJZHyVS07ARPRA[1]; struct tySequence__FrfIFZIUAEZiP7MEA1NqTA_Content { NI cap; tyObject_Node__sPGpEGmaGjHUzlsBVzMDkw data[SEQ_DECL_SIZE]; }; struct tySequence__qwqHTkRvwhrRyENtudHQ7g_Content { NI cap; NI data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, doSomething__temp_u13)(tyObject_FooBar__4fpB3ptw1kpdHmgfB1F2Ng s_p0); N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void); N_LIB_PRIVATE N_NIMCALL(void, eqcopy___temp_u142)(tySequence__qwqHTkRvwhrRyENtudHQ7g* dest_p0, tySequence__qwqHTkRvwhrRyENtudHQ7g src_p1); N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i_p0, NI n_p1); N_LIB_PRIVATE N_NIMCALL(void, add__temp_u51)(tySequence__qwqHTkRvwhrRyENtudHQ7g* x_p0, NI y_p1); N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__stdZassertions_u310)(NimStringV2 msg_p0); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___temp_u139)(tySequence__qwqHTkRvwhrRyENtudHQ7g dest_p0); N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___temp_u273)(tySequence__qwqHTkRvwhrRyENtudHQ7g x_p0); N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringV2* args_p0, NI args_p0Len_0); N_LIB_PRIVATE N_NOCONV(void, deallocShared)(void* p_p0); static N_INLINE(NIM_BOOL*, nimErrorFlag)(void); static N_INLINE(void, nimFrame)(TFrame* s_p0); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__system_u5021)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, nimTestErrorFlag)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); static const struct { NI cap; NIM_CHAR data[146+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_4 = { 146 | NIM_STRLIT_FLAG, "/home/runner/.choosenim/toolchains/nim-2.0.0/lib/system/iterators.nim(179, 11) `len(a) == L` the length of the seq changed while iterating over it" }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_5 = {146, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_4}; static const struct { NI cap; NI data[1]; } TM__h69aKLv9bAieBdiFzvDngbMw_7 = {1 | NIM_STRLIT_FLAG, {((NI)0)}}; static const struct { NI cap; tyObject_Node__sPGpEGmaGjHUzlsBVzMDkw data[0]; } TM__h69aKLv9bAieBdiFzvDngbMw_8 = {0 | NIM_STRLIT_FLAG}; static const struct { NI cap; tyObject_Node__sPGpEGmaGjHUzlsBVzMDkw data[1]; } TM__h69aKLv9bAieBdiFzvDngbMw_9 = {1 | NIM_STRLIT_FLAG, {{((NI)1), {1, (tySequence__qwqHTkRvwhrRyENtudHQ7g_Content*)&TM__h69aKLv9bAieBdiFzvDngbMw_7}, {{0, (tySequence__FrfIFZIUAEZiP7MEA1NqTA_Content*)&TM__h69aKLv9bAieBdiFzvDngbMw_8}} } }}; static const struct { NI cap; NIM_CHAR data[88+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_10 = { 88 | NIM_STRLIT_FLAG, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(21, 3) `off` " }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_11 = {88, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_10}; N_LIB_PRIVATE NIM_CONST tyObject_FooBar__4fpB3ptw1kpdHmgfB1F2Ng foo__temp_u323 = {{1, (tySequence__FrfIFZIUAEZiP7MEA1NqTA_Content*)&TM__h69aKLv9bAieBdiFzvDngbMw_9}} ; extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4803; extern NIM_THREADVAR TFrame* framePtr__system_u4420; static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (NIM_BOOL*)0; result = (&nimInErrorMode__system_u4803); return result; } static N_INLINE(void, nimFrame)(TFrame* s_p0) { { if (!(framePtr__system_u4420 == ((TFrame*) NIM_NIL))) goto LA3_; (*s_p0).calldepth = ((NI16)0); } goto LA1_; LA3_: ; { (*s_p0).calldepth = (NI16)((*framePtr__system_u4420).calldepth + ((NI16)1)); } LA1_: ; (*s_p0).prev = framePtr__system_u4420; framePtr__system_u4420 = s_p0; { if (!((*s_p0).calldepth == ((NI16)2000))) goto LA8_; callDepthLimitReached__system_u5021(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__system_u4420 = (*framePtr__system_u4420).prev; } N_LIB_PRIVATE N_NIMCALL(void, doSomething__temp_u13)(tyObject_FooBar__4fpB3ptw1kpdHmgfB1F2Ng s_p0) { tySequence__qwqHTkRvwhrRyENtudHQ7g ss; NimStringV2 colontmpD_; tyArray__nHXaesL0DJZHyVS07ARPRA T15_; NIM_BOOL* nimErr_; nimfr_("doSomething", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); {nimErr_ = nimErrorFlag(); ss.len = 0; ss.p = NIM_NIL; colontmpD_.len = 0; colontmpD_.p = NIM_NIL; { NI i; NI colontmp_; NI T3_; NI TM__h69aKLv9bAieBdiFzvDngbMw_2; NI res; i = (NI)0; colontmp_ = (NI)0; T3_ = s_p0.s.len; if (nimSubInt(T3_, ((NI)1), &TM__h69aKLv9bAieBdiFzvDngbMw_2)) { raiseOverflow(); goto LA1_; }; colontmp_ = (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_2); res = ((NI)0); { while (1) { NI TM__h69aKLv9bAieBdiFzvDngbMw_6; if (!(res <= colontmp_)) goto LA5; i = res; { tySequence__qwqHTkRvwhrRyENtudHQ7g colontmp__2; NI j; NI elm; NI i_2; NI L; NI T7_; colontmp__2.len = 0; colontmp__2.p = NIM_NIL; j = (NI)0; elm = (NI)0; colontmp__2.len = 0; colontmp__2.p = NIM_NIL; if (i < 0 || i >= s_p0.s.len){ raiseIndexError2(i,s_p0.s.len-1); goto LA1_; } eqcopy___temp_u142((&colontmp__2), s_p0.s.p->data[i].next); i_2 = ((NI)0); T7_ = colontmp__2.len; L = T7_; { while (1) { NI colontmpD__2; NI TM__h69aKLv9bAieBdiFzvDngbMw_3; if (!(i_2 < L)) goto LA9; colontmpD__2 = (NI)0; j = i_2; if (i_2 < 0 || i_2 >= colontmp__2.len){ raiseIndexError2(i_2,colontmp__2.len-1); goto LA1_; } elm = colontmp__2.p->data[i_2]; if (elm < 0 || elm >= s_p0.s.len){ raiseIndexError2(elm,s_p0.s.len-1); goto LA1_; } colontmpD__2 = s_p0.s.p->data[elm].n; add__temp_u51((&ss), colontmpD__2); if (nimAddInt(i_2, ((NI)1), &TM__h69aKLv9bAieBdiFzvDngbMw_3)) { raiseOverflow(); goto LA1_; }; i_2 = (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_3); { NI T12_; T12_ = colontmp__2.len; if (!!((T12_ == L))) goto LA13_; failedAssertImpl__stdZassertions_u310(TM__h69aKLv9bAieBdiFzvDngbMw_5); if (NIM_UNLIKELY(*nimErr_)) goto LA1_; } LA13_: ; } LA9: ; } eqdestroy___temp_u139(colontmp__2); } if (nimAddInt(res, ((NI)1), &TM__h69aKLv9bAieBdiFzvDngbMw_6)) { raiseOverflow(); goto LA1_; }; res = (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_6); } LA5: ; } } colontmpD_ = dollar___temp_u273(ss); if (NIM_UNLIKELY(*nimErr_)) goto LA1_; T15_[0] = colontmpD_; echoBinSafe(T15_, 1); { LA1_:; } { if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) { deallocShared(colontmpD_.p); } eqdestroy___temp_u139(ss); } if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; }BeforeRet_: ; popFrame(); } N_LIB_PRIVATE void PreMainInner(void) { } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { #if 0 void (*volatile inner)(void); inner = PreMainInner; atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); (*inner)(); #else atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); PreMainInner(); #endif } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { #if 0 void (*volatile inner)(void); PreMain(); inner = NimMainInner; (*inner)(); #else PreMain(); NimMainInner(); #endif } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { NIM_BOOL* nimErr_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); nimErr_ = nimErrorFlag(); doSomething__temp_u13(foo__temp_u323); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; { if (!NIM_TRUE) goto LA3_; failedAssertImpl__stdZassertions_u310(TM__h69aKLv9bAieBdiFzvDngbMw_11); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; } LA3_: ; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("Node"), newEmptyNode(), nnkObjectTy.newTree( newEmptyNode(), newEmptyNode(), nnkRecList.newTree( nnkIdentDefs.newTree( newIdentNode("n"), newIdentNode("int"), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("next"), nnkBracketExpr.newTree( newIdentNode("seq"), newIdentNode("int") ), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("foobar"), newIdentNode("FooBar"), newEmptyNode() ) ) ) ), nnkTypeDef.newTree( newIdentNode("FooBar"), newEmptyNode(), nnkObjectTy.newTree( newEmptyNode(), newEmptyNode(), nnkRecList.newTree( nnkIdentDefs.newTree( newIdentNode("s"), nnkBracketExpr.newTree( newIdentNode("seq"), newIdentNode("Node") ), newEmptyNode() ) ) ) ) ), nnkProcDef.newTree( nnkAccQuoted.newTree( newIdentNode("="), newIdentNode("copy") ), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("dest"), nnkVarTy.newTree( newIdentNode("Node") ), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("source"), newIdentNode("Node"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("error") ), newEmptyNode(), newEmptyNode() ), nnkProcDef.newTree( nnkAccQuoted.newTree( newIdentNode("="), newIdentNode("copy") ), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("dest"), nnkVarTy.newTree( newIdentNode("FooBar") ), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("source"), newIdentNode("FooBar"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("error") ), newEmptyNode(), newEmptyNode() ), nnkProcDef.newTree( newIdentNode("doSomething"), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("s"), newIdentNode("FooBar"), newEmptyNode() ) ), newEmptyNode(), newEmptyNode(), nnkStmtList.newTree( nnkVarSection.newTree( nnkIdentDefs.newTree( newIdentNode("ss"), nnkBracketExpr.newTree( newIdentNode("seq"), newIdentNode("int") ), newEmptyNode() ) ), nnkPragma.newTree( nnkExprColonExpr.newTree( newIdentNode("emit"), newLit("/* STARTS */\n") ) ), nnkForStmt.newTree( newIdentNode("i"), nnkInfix.newTree( newIdentNode(".."), newLit(0), nnkInfix.newTree( newIdentNode("-"), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("s") ), newIdentNode("len") ), newLit(1) ) ), nnkStmtList.newTree( nnkForStmt.newTree( newIdentNode("j"), newIdentNode("elm"), nnkCommand.newTree( newIdentNode("pairs"), nnkDotExpr.newTree( nnkBracketExpr.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("s") ), newIdentNode("i") ), newIdentNode("next") ) ), nnkStmtList.newTree( nnkCommand.newTree( nnkDotExpr.newTree( newIdentNode("ss"), newIdentNode("add") ), nnkDotExpr.newTree( nnkBracketExpr.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("s") ), newIdentNode("elm") ), newIdentNode("n") ) ) ) ) ) ), nnkPragma.newTree( nnkExprColonExpr.newTree( newIdentNode("emit"), newLit("/* ENDS */\n") ) ), nnkCommand.newTree( newIdentNode("echo"), newIdentNode("ss") ) ) ), nnkWhenStmt.newTree( nnkElifBranch.newTree( newIdentNode("isMainModule"), nnkStmtList.newTree( nnkConstSection.newTree( nnkConstDef.newTree( newIdentNode("foo"), newEmptyNode(), nnkObjConstr.newTree( newIdentNode("FooBar"), nnkExprColonExpr.newTree( newIdentNode("s"), nnkPrefix.newTree( newIdentNode("@"), nnkBracket.newTree( nnkObjConstr.newTree( newIdentNode("Node"), nnkExprColonExpr.newTree( newIdentNode("n"), newLit(1) ), nnkExprColonExpr.newTree( newIdentNode("next"), nnkPrefix.newTree( newIdentNode("@"), nnkBracket.newTree( newLit(0) ) ) ) ) ) ) ) ) ) ), nnkCall.newTree( newIdentNode("doSomething"), newIdentNode("foo") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("off") ) ) ) ) ) ```
2.0.0 :-1: FAIL

Output

``` Error: Command failed: nim c --gc:orc -d:nimArcDebug -d:nimArcIds --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim command line(1, 2) Warning: `gc:option` is deprecated; use `mm:option` instead [Deprecated] /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim temp /home/runner/.choosenim/toolchains/nim-2.0.0/lib/std/assertions.nim failedAssertImpl /home/runner/.choosenim/toolchains/nim-2.0.0/lib/std/assertions.nim raiseAssert /home/runner/.choosenim/toolchains/nim-2.0.0/lib/system/fatal.nim sysFatal Error: unhandled exception: /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(21, 3) `off` [AssertionDefect] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp' ```

Stats

  • Started 2023-08-25T12:31:38
  • Finished 2023-08-25T12:31:39
  • Duration

IR

Compiled filesize 105.87 Kb (108,408 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix #define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); #define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); #define nimln_(n) \ FR_.line = n; #define nimlf_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct tyObject_FooBar__4fpB3ptw1kpdHmgfB1F2Ng tyObject_FooBar__4fpB3ptw1kpdHmgfB1F2Ng; typedef struct tySequence__FrfIFZIUAEZiP7MEA1NqTA tySequence__FrfIFZIUAEZiP7MEA1NqTA; typedef struct tySequence__FrfIFZIUAEZiP7MEA1NqTA_Content tySequence__FrfIFZIUAEZiP7MEA1NqTA_Content; typedef struct tySequence__qwqHTkRvwhrRyENtudHQ7g tySequence__qwqHTkRvwhrRyENtudHQ7g; typedef struct tySequence__qwqHTkRvwhrRyENtudHQ7g_Content tySequence__qwqHTkRvwhrRyENtudHQ7g_Content; typedef struct NimStrPayload NimStrPayload; typedef struct NimStringV2 NimStringV2; typedef struct tyObject_Node__sPGpEGmaGjHUzlsBVzMDkw tyObject_Node__sPGpEGmaGjHUzlsBVzMDkw; struct tySequence__FrfIFZIUAEZiP7MEA1NqTA { NI len; tySequence__FrfIFZIUAEZiP7MEA1NqTA_Content* p; }; struct tyObject_FooBar__4fpB3ptw1kpdHmgfB1F2Ng { tySequence__FrfIFZIUAEZiP7MEA1NqTA s; }; struct tySequence__qwqHTkRvwhrRyENtudHQ7g { NI len; tySequence__qwqHTkRvwhrRyENtudHQ7g_Content* p; }; struct NimStrPayload { NI cap; NIM_CHAR data[SEQ_DECL_SIZE]; }; struct NimStringV2 { NI len; NimStrPayload* p; }; struct tyObject_Node__sPGpEGmaGjHUzlsBVzMDkw { NI n; tySequence__qwqHTkRvwhrRyENtudHQ7g next; tyObject_FooBar__4fpB3ptw1kpdHmgfB1F2Ng foobar; }; typedef NimStringV2 tyArray__nHXaesL0DJZHyVS07ARPRA[1]; struct tySequence__FrfIFZIUAEZiP7MEA1NqTA_Content { NI cap; tyObject_Node__sPGpEGmaGjHUzlsBVzMDkw data[SEQ_DECL_SIZE]; }; struct tySequence__qwqHTkRvwhrRyENtudHQ7g_Content { NI cap; NI data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, doSomething__temp_u13)(tyObject_FooBar__4fpB3ptw1kpdHmgfB1F2Ng s_p0); N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void); N_LIB_PRIVATE N_NIMCALL(void, eqcopy___temp_u142)(tySequence__qwqHTkRvwhrRyENtudHQ7g* dest_p0, tySequence__qwqHTkRvwhrRyENtudHQ7g src_p1); N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i_p0, NI n_p1); N_LIB_PRIVATE N_NIMCALL(void, add__temp_u51)(tySequence__qwqHTkRvwhrRyENtudHQ7g* x_p0, NI y_p1); N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__stdZassertions_u310)(NimStringV2 msg_p0); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___temp_u139)(tySequence__qwqHTkRvwhrRyENtudHQ7g dest_p0); N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___temp_u273)(tySequence__qwqHTkRvwhrRyENtudHQ7g x_p0); N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringV2* args_p0, NI args_p0Len_0); N_LIB_PRIVATE N_NOCONV(void, deallocShared)(void* p_p0); static N_INLINE(NIM_BOOL*, nimErrorFlag)(void); static N_INLINE(void, nimFrame)(TFrame* s_p0); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__system_u5021)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, nimTestErrorFlag)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); static const struct { NI cap; NIM_CHAR data[146+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_4 = { 146 | NIM_STRLIT_FLAG, "/home/runner/.choosenim/toolchains/nim-2.0.0/lib/system/iterators.nim(179, 11) `len(a) == L` the length of the seq changed while iterating over it" }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_5 = {146, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_4}; static const struct { NI cap; NI data[1]; } TM__h69aKLv9bAieBdiFzvDngbMw_7 = {1 | NIM_STRLIT_FLAG, {((NI)0)}}; static const struct { NI cap; tyObject_Node__sPGpEGmaGjHUzlsBVzMDkw data[0]; } TM__h69aKLv9bAieBdiFzvDngbMw_8 = {0 | NIM_STRLIT_FLAG}; static const struct { NI cap; tyObject_Node__sPGpEGmaGjHUzlsBVzMDkw data[1]; } TM__h69aKLv9bAieBdiFzvDngbMw_9 = {1 | NIM_STRLIT_FLAG, {{((NI)1), {1, (tySequence__qwqHTkRvwhrRyENtudHQ7g_Content*)&TM__h69aKLv9bAieBdiFzvDngbMw_7}, {{0, (tySequence__FrfIFZIUAEZiP7MEA1NqTA_Content*)&TM__h69aKLv9bAieBdiFzvDngbMw_8}} } }}; static const struct { NI cap; NIM_CHAR data[88+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_10 = { 88 | NIM_STRLIT_FLAG, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(21, 3) `off` " }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_11 = {88, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_10}; N_LIB_PRIVATE NIM_CONST tyObject_FooBar__4fpB3ptw1kpdHmgfB1F2Ng foo__temp_u323 = {{1, (tySequence__FrfIFZIUAEZiP7MEA1NqTA_Content*)&TM__h69aKLv9bAieBdiFzvDngbMw_9}} ; extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4803; extern NIM_THREADVAR TFrame* framePtr__system_u4420; static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (NIM_BOOL*)0; result = (&nimInErrorMode__system_u4803); return result; } static N_INLINE(void, nimFrame)(TFrame* s_p0) { { if (!(framePtr__system_u4420 == ((TFrame*) NIM_NIL))) goto LA3_; (*s_p0).calldepth = ((NI16)0); } goto LA1_; LA3_: ; { (*s_p0).calldepth = (NI16)((*framePtr__system_u4420).calldepth + ((NI16)1)); } LA1_: ; (*s_p0).prev = framePtr__system_u4420; framePtr__system_u4420 = s_p0; { if (!((*s_p0).calldepth == ((NI16)2000))) goto LA8_; callDepthLimitReached__system_u5021(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__system_u4420 = (*framePtr__system_u4420).prev; } N_LIB_PRIVATE N_NIMCALL(void, doSomething__temp_u13)(tyObject_FooBar__4fpB3ptw1kpdHmgfB1F2Ng s_p0) { tySequence__qwqHTkRvwhrRyENtudHQ7g ss; NimStringV2 colontmpD_; tyArray__nHXaesL0DJZHyVS07ARPRA T15_; NIM_BOOL* nimErr_; nimfr_("doSomething", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); {nimErr_ = nimErrorFlag(); ss.len = 0; ss.p = NIM_NIL; colontmpD_.len = 0; colontmpD_.p = NIM_NIL; { NI i; NI colontmp_; NI T3_; NI TM__h69aKLv9bAieBdiFzvDngbMw_2; NI res; i = (NI)0; colontmp_ = (NI)0; T3_ = s_p0.s.len; if (nimSubInt(T3_, ((NI)1), &TM__h69aKLv9bAieBdiFzvDngbMw_2)) { raiseOverflow(); goto LA1_; }; colontmp_ = (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_2); res = ((NI)0); { while (1) { NI TM__h69aKLv9bAieBdiFzvDngbMw_6; if (!(res <= colontmp_)) goto LA5; i = res; { tySequence__qwqHTkRvwhrRyENtudHQ7g colontmp__2; NI j; NI elm; NI i_2; NI L; NI T7_; colontmp__2.len = 0; colontmp__2.p = NIM_NIL; j = (NI)0; elm = (NI)0; colontmp__2.len = 0; colontmp__2.p = NIM_NIL; if (i < 0 || i >= s_p0.s.len){ raiseIndexError2(i,s_p0.s.len-1); goto LA1_; } eqcopy___temp_u142((&colontmp__2), s_p0.s.p->data[i].next); i_2 = ((NI)0); T7_ = colontmp__2.len; L = T7_; { while (1) { NI colontmpD__2; NI TM__h69aKLv9bAieBdiFzvDngbMw_3; if (!(i_2 < L)) goto LA9; colontmpD__2 = (NI)0; j = i_2; if (i_2 < 0 || i_2 >= colontmp__2.len){ raiseIndexError2(i_2,colontmp__2.len-1); goto LA1_; } elm = colontmp__2.p->data[i_2]; if (elm < 0 || elm >= s_p0.s.len){ raiseIndexError2(elm,s_p0.s.len-1); goto LA1_; } colontmpD__2 = s_p0.s.p->data[elm].n; add__temp_u51((&ss), colontmpD__2); if (nimAddInt(i_2, ((NI)1), &TM__h69aKLv9bAieBdiFzvDngbMw_3)) { raiseOverflow(); goto LA1_; }; i_2 = (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_3); { NI T12_; T12_ = colontmp__2.len; if (!!((T12_ == L))) goto LA13_; failedAssertImpl__stdZassertions_u310(TM__h69aKLv9bAieBdiFzvDngbMw_5); if (NIM_UNLIKELY(*nimErr_)) goto LA1_; } LA13_: ; } LA9: ; } eqdestroy___temp_u139(colontmp__2); } if (nimAddInt(res, ((NI)1), &TM__h69aKLv9bAieBdiFzvDngbMw_6)) { raiseOverflow(); goto LA1_; }; res = (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_6); } LA5: ; } } colontmpD_ = dollar___temp_u273(ss); if (NIM_UNLIKELY(*nimErr_)) goto LA1_; T15_[0] = colontmpD_; echoBinSafe(T15_, 1); { LA1_:; } { if (colontmpD_.p && !(colontmpD_.p->cap & NIM_STRLIT_FLAG)) { deallocShared(colontmpD_.p); } eqdestroy___temp_u139(ss); } if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; }BeforeRet_: ; popFrame(); } N_LIB_PRIVATE void PreMainInner(void) { } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { #if 0 void (*volatile inner)(void); inner = PreMainInner; atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); (*inner)(); #else atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); PreMainInner(); #endif } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { #if 0 void (*volatile inner)(void); PreMain(); inner = NimMainInner; (*inner)(); #else PreMain(); NimMainInner(); #endif } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { NIM_BOOL* nimErr_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); nimErr_ = nimErrorFlag(); doSomething__temp_u13(foo__temp_u323); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; { if (!NIM_TRUE) goto LA3_; failedAssertImpl__stdZassertions_u310(TM__h69aKLv9bAieBdiFzvDngbMw_11); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; } LA3_: ; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("Node"), newEmptyNode(), nnkObjectTy.newTree( newEmptyNode(), newEmptyNode(), nnkRecList.newTree( nnkIdentDefs.newTree( newIdentNode("n"), newIdentNode("int"), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("next"), nnkBracketExpr.newTree( newIdentNode("seq"), newIdentNode("int") ), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("foobar"), newIdentNode("FooBar"), newEmptyNode() ) ) ) ), nnkTypeDef.newTree( newIdentNode("FooBar"), newEmptyNode(), nnkObjectTy.newTree( newEmptyNode(), newEmptyNode(), nnkRecList.newTree( nnkIdentDefs.newTree( newIdentNode("s"), nnkBracketExpr.newTree( newIdentNode("seq"), newIdentNode("Node") ), newEmptyNode() ) ) ) ) ), nnkProcDef.newTree( nnkAccQuoted.newTree( newIdentNode("="), newIdentNode("copy") ), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("dest"), nnkVarTy.newTree( newIdentNode("Node") ), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("source"), newIdentNode("Node"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("error") ), newEmptyNode(), newEmptyNode() ), nnkProcDef.newTree( nnkAccQuoted.newTree( newIdentNode("="), newIdentNode("copy") ), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("dest"), nnkVarTy.newTree( newIdentNode("FooBar") ), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("source"), newIdentNode("FooBar"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("error") ), newEmptyNode(), newEmptyNode() ), nnkProcDef.newTree( newIdentNode("doSomething"), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("s"), newIdentNode("FooBar"), newEmptyNode() ) ), newEmptyNode(), newEmptyNode(), nnkStmtList.newTree( nnkVarSection.newTree( nnkIdentDefs.newTree( newIdentNode("ss"), nnkBracketExpr.newTree( newIdentNode("seq"), newIdentNode("int") ), newEmptyNode() ) ), nnkPragma.newTree( nnkExprColonExpr.newTree( newIdentNode("emit"), newLit("/* STARTS */\n") ) ), nnkForStmt.newTree( newIdentNode("i"), nnkInfix.newTree( newIdentNode(".."), newLit(0), nnkInfix.newTree( newIdentNode("-"), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("s") ), newIdentNode("len") ), newLit(1) ) ), nnkStmtList.newTree( nnkForStmt.newTree( newIdentNode("j"), newIdentNode("elm"), nnkCommand.newTree( newIdentNode("pairs"), nnkDotExpr.newTree( nnkBracketExpr.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("s") ), newIdentNode("i") ), newIdentNode("next") ) ), nnkStmtList.newTree( nnkCommand.newTree( nnkDotExpr.newTree( newIdentNode("ss"), newIdentNode("add") ), nnkDotExpr.newTree( nnkBracketExpr.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("s") ), newIdentNode("elm") ), newIdentNode("n") ) ) ) ) ) ), nnkPragma.newTree( nnkExprColonExpr.newTree( newIdentNode("emit"), newLit("/* ENDS */\n") ) ), nnkCommand.newTree( newIdentNode("echo"), newIdentNode("ss") ) ) ), nnkWhenStmt.newTree( nnkElifBranch.newTree( newIdentNode("isMainModule"), nnkStmtList.newTree( nnkConstSection.newTree( nnkConstDef.newTree( newIdentNode("foo"), newEmptyNode(), nnkObjConstr.newTree( newIdentNode("FooBar"), nnkExprColonExpr.newTree( newIdentNode("s"), nnkPrefix.newTree( newIdentNode("@"), nnkBracket.newTree( nnkObjConstr.newTree( newIdentNode("Node"), nnkExprColonExpr.newTree( newIdentNode("n"), newLit(1) ), nnkExprColonExpr.newTree( newIdentNode("next"), nnkPrefix.newTree( newIdentNode("@"), nnkBracket.newTree( newLit(0) ) ) ) ) ) ) ) ) ) ), nnkCall.newTree( newIdentNode("doSomething"), newIdentNode("foo") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("off") ) ) ) ) ) ```
1.6.0 :-1: FAIL

Output

``` Error: Command failed: nim c --gc:orc -d:nimArcDebug -d:nimArcIds --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim temp /home/runner/.choosenim/toolchains/nim-1.6.0/lib/system/assertions.nim failedAssertImpl /home/runner/.choosenim/toolchains/nim-1.6.0/lib/system/assertions.nim raiseAssert /home/runner/.choosenim/toolchains/nim-1.6.0/lib/system/fatal.nim sysFatal Error: unhandled exception: /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(21, 12) `off` [AssertionDefect] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp ' ```

Stats

  • Started 2023-08-25T12:31:42
  • Finished 2023-08-25T12:31:43
  • Duration

IR

Compiled filesize 108.45 Kb (111,048 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #include #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix # define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); # define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename; NI len; VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); # define nimln_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A; typedef struct tySequence__2vftXJCjh8IqY9b1uLnyUVw tySequence__2vftXJCjh8IqY9b1uLnyUVw; typedef struct tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content; typedef struct tySequence__qwqHTkRvwhrRyENtudHQ7g tySequence__qwqHTkRvwhrRyENtudHQ7g; typedef struct tySequence__qwqHTkRvwhrRyENtudHQ7g_Content tySequence__qwqHTkRvwhrRyENtudHQ7g_Content; typedef struct NimStrPayload NimStrPayload; typedef struct NimStringV2 NimStringV2; typedef struct tyObject_NimSeqV2__Q27im4NvCIX735oBXfroyA tyObject_NimSeqV2__Q27im4NvCIX735oBXfroyA; typedef struct tyObject_NimSeqPayload__hKmcfrIyKucBh7ADIUKy1Q tyObject_NimSeqPayload__hKmcfrIyKucBh7ADIUKy1Q; typedef struct tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg; struct tySequence__2vftXJCjh8IqY9b1uLnyUVw { NI len; tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content* p; }; struct tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A { tySequence__2vftXJCjh8IqY9b1uLnyUVw s; }; struct tySequence__qwqHTkRvwhrRyENtudHQ7g { NI len; tySequence__qwqHTkRvwhrRyENtudHQ7g_Content* p; }; struct NimStrPayload { NI cap; NIM_CHAR data[SEQ_DECL_SIZE]; }; struct NimStringV2 { NI len; NimStrPayload* p; }; struct tyObject_NimSeqV2__Q27im4NvCIX735oBXfroyA { NI len; tyObject_NimSeqPayload__hKmcfrIyKucBh7ADIUKy1Q* p; }; struct tyObject_NimSeqPayload__hKmcfrIyKucBh7ADIUKy1Q { NI cap; NI data[SEQ_DECL_SIZE]; }; struct tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg { NI n; tySequence__qwqHTkRvwhrRyENtudHQ7g next; tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A foobar; }; typedef NimStringV2 tyArray__nHXaesL0DJZHyVS07ARPRA[1]; #ifndef tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content_PP #define tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content_PP struct tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content { NI cap; tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg data[SEQ_DECL_SIZE];}; #endif #ifndef tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP #define tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP struct tySequence__qwqHTkRvwhrRyENtudHQ7g_Content { NI cap; NI data[SEQ_DECL_SIZE];}; #endif #ifndef tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP #define tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP struct tySequence__qwqHTkRvwhrRyENtudHQ7g_Content { NI cap; NI data[SEQ_DECL_SIZE];}; #endif #ifndef tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP #define tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP struct tySequence__qwqHTkRvwhrRyENtudHQ7g_Content { NI cap; NI data[SEQ_DECL_SIZE];}; #endif N_LIB_PRIVATE N_NIMCALL(void, doSomething_temp_13)(tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A s); N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void); N_LIB_PRIVATE N_NIMCALL(void, eqcopy__temp_166)(tySequence__qwqHTkRvwhrRyENtudHQ7g* dest, tySequence__qwqHTkRvwhrRyENtudHQ7g src); N_LIB_PRIVATE N_NIMCALL(void, setLen_temp_179)(tySequence__qwqHTkRvwhrRyENtudHQ7g* s, NI newlen); N_LIB_PRIVATE N_NIMCALL(void, shrink_temp_186)(tySequence__qwqHTkRvwhrRyENtudHQ7g* x, NI newLen); N_LIB_PRIVATE N_NIMCALL(void*, prepareSeqAdd)(NI len, void* p, NI addlen, NI elemSize, NI elemAlign); N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n); N_LIB_PRIVATE N_NIMCALL(void, add_temp_50)(tySequence__qwqHTkRvwhrRyENtudHQ7g* x, NI value); N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl_systemZassertions_62)(NimStringV2 msg); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy__temp_163)(tySequence__qwqHTkRvwhrRyENtudHQ7g* dest); N_LIB_PRIVATE N_NIMCALL(void, alignedDealloc)(void* p, NI align); N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar__temp_218)(tySequence__qwqHTkRvwhrRyENtudHQ7g x); N_LIB_PRIVATE N_NIMCALL(NimStringV2, collectionToString_temp_222)(tySequence__qwqHTkRvwhrRyENtudHQ7g x, NimStringV2 prefix, NimStringV2 separator, NimStringV2 suffix); N_LIB_PRIVATE N_NIMCALL(void, eqcopy__system_3614)(NimStringV2* dest, NimStringV2 src); static N_INLINE(void, appendString)(NimStringV2* dest, NimStringV2 src); static N_INLINE(void, copyMem_system_1709)(void* dest, void* source, NI size); static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size); N_LIB_PRIVATE N_NOINLINE(void, raiseRangeErrorI)(NI64 i, NI64 a, NI64 b); N_LIB_PRIVATE N_NIMCALL(void, prepareAdd)(NimStringV2* s, NI addlen); N_LIB_PRIVATE N_NIMCALL(void, addQuoted_temp_254)(NimStringV2* s, NI x); static N_INLINE(void, addInt_stdZprivateZdigitsutils_196)(NimStringV2* result, NI x); N_LIB_PRIVATE N_NIMCALL(void, addInt_stdZprivateZdigitsutils_174)(NimStringV2* result, NI64 x); static N_INLINE(NIM_BOOL*, nimErrorFlag)(void); static N_INLINE(void, nimFrame)(TFrame* s); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached_system_4760)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringV2* args, NI argsLen_0); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy__system_3611)(NimStringV2* dest); N_LIB_PRIVATE N_NIMCALL(void, nimTestErrorFlag)(void); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); static const struct { NI cap; NIM_CHAR data[146+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_7 = { 146 | NIM_STRLIT_FLAG, "/home/runner/.choosenim/toolchains/nim-1.6.0/lib/system/iterators.nim(173, 11) `len(a) == L` the length of the seq changed while iterating over it" }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_8 = {146, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_7}; static const struct { NI cap; NIM_CHAR data[146+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_12 = { 146 | NIM_STRLIT_FLAG, "/home/runner/.choosenim/toolchains/nim-1.6.0/lib/system/iterators.nim(240, 11) `len(a) == L` the length of the seq changed while iterating over it" }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_13 = {146, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_12}; static const struct { NI cap; NIM_CHAR data[2+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_14 = { 2 | NIM_STRLIT_FLAG, "@[" }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_15 = {2, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_14}; static const struct { NI cap; NIM_CHAR data[2+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_16 = { 2 | NIM_STRLIT_FLAG, ", " }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_17 = {2, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_16}; static const struct { NI cap; NIM_CHAR data[1+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_18 = { 1 | NIM_STRLIT_FLAG, "]" }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_19 = {1, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_18}; static const struct { NI cap; NI data[1]; } TM__h69aKLv9bAieBdiFzvDngbMw_20 = {1 | NIM_STRLIT_FLAG, {((NI) 0)}}; static const struct { NI cap; tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg data[0]; } TM__h69aKLv9bAieBdiFzvDngbMw_21 = {0 | NIM_STRLIT_FLAG, {}}; static const struct { NI cap; tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg data[1]; } TM__h69aKLv9bAieBdiFzvDngbMw_22 = {1 | NIM_STRLIT_FLAG, {{((NI) 1), {1, (tySequence__qwqHTkRvwhrRyENtudHQ7g_Content*)&TM__h69aKLv9bAieBdiFzvDngbMw_20}, {{0, (tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content*)&TM__h69aKLv9bAieBdiFzvDngbMw_21}} } }}; N_LIB_PRIVATE NIM_CONST tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A foo_temp_267 = {{1, (tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content*)&TM__h69aKLv9bAieBdiFzvDngbMw_22}} ; static const struct { NI cap; NIM_CHAR data[89+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_23 = { 89 | NIM_STRLIT_FLAG, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(21, 12) `off` " }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_24 = {89, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_23}; extern NIM_BOOL nimInErrorMode_system_4593; extern TFrame* framePtr_system_4242; extern TFrame* framePtr_system_4242; extern TFrame* framePtr_system_4242; extern TFrame* framePtr_system_4242; extern TFrame* framePtr_system_4242; extern TFrame* framePtr_system_4242; N_LIB_PRIVATE N_NIMCALL(void, shrink_temp_186)(tySequence__qwqHTkRvwhrRyENtudHQ7g* x, NI newLen) { (*((tyObject_NimSeqV2__Q27im4NvCIX735oBXfroyA*) (x))).len = ((NI) (newLen)); } N_LIB_PRIVATE N_NIMCALL(void, setLen_temp_179)(tySequence__qwqHTkRvwhrRyENtudHQ7g* s, NI newlen) { { { NI T3_; T3_ = (*s).len; if (!(((NI) (newlen)) < T3_)) goto LA4_; shrink_temp_186(s, newlen); } goto LA1_; LA4_: ; { NI oldLen; NI T7_; tyObject_NimSeqV2__Q27im4NvCIX735oBXfroyA* xu; T7_ = (*s).len; oldLen = T7_; { if (!(((NI) (newlen)) <= oldLen)) goto LA10_; goto BeforeRet_; } LA10_: ; xu = ((tyObject_NimSeqV2__Q27im4NvCIX735oBXfroyA*) (s)); { NIM_BOOL T14_; NI TM__h69aKLv9bAieBdiFzvDngbMw_3; void* T18_; T14_ = (NIM_BOOL)0; T14_ = ((*xu).p == ((tyObject_NimSeqPayload__hKmcfrIyKucBh7ADIUKy1Q*) NIM_NIL)); if (T14_) goto LA15_; T14_ = ((*(*xu).p).cap < ((NI) (newlen))); LA15_: ; if (!T14_) goto LA16_; if (nimSubInt(((NI) (newlen)), oldLen, &TM__h69aKLv9bAieBdiFzvDngbMw_3)) { raiseOverflow(); goto BeforeRet_; }; T18_ = (void*)0; T18_ = prepareSeqAdd(oldLen, ((void*) ((*xu).p)), (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_3), ((NI) 8), ((NI) 8)); (*xu).p = ((tyObject_NimSeqPayload__hKmcfrIyKucBh7ADIUKy1Q*) (T18_)); } LA16_: ; (*xu).len = ((NI) (newlen)); } LA1_: ; }BeforeRet_: ; } N_LIB_PRIVATE N_NIMCALL(void, eqcopy__temp_166)(tySequence__qwqHTkRvwhrRyENtudHQ7g* dest, tySequence__qwqHTkRvwhrRyENtudHQ7g src) { NI T1_; NI colontmp_; T1_ = src.len; setLen_temp_179((&(*dest)), T1_); colontmp_ = ((NI) 0); { while (1) { NI T4_; T4_ = (*dest).len; if (!(colontmp_ < T4_)) goto LA3; (*dest).p->data[colontmp_] = src.p->data[colontmp_]; colontmp_ += ((NI) 1); } LA3: ; } } N_LIB_PRIVATE N_NIMCALL(void, add_temp_50)(tySequence__qwqHTkRvwhrRyENtudHQ7g* x, NI value) { NI oldLen; NI T1_; tyObject_NimSeqV2__Q27im4NvCIX735oBXfroyA* xu; NI TM__h69aKLv9bAieBdiFzvDngbMw_5; { T1_ = (*x).len; oldLen = T1_; xu = ((tyObject_NimSeqV2__Q27im4NvCIX735oBXfroyA*) (x)); { NIM_BOOL T4_; NI TM__h69aKLv9bAieBdiFzvDngbMw_4; void* T8_; T4_ = (NIM_BOOL)0; T4_ = ((*xu).p == ((tyObject_NimSeqPayload__hKmcfrIyKucBh7ADIUKy1Q*) NIM_NIL)); if (T4_) goto LA5_; if (nimAddInt(oldLen, ((NI) 1), &TM__h69aKLv9bAieBdiFzvDngbMw_4)) { raiseOverflow(); goto BeforeRet_; }; T4_ = ((*(*xu).p).cap < (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_4)); LA5_: ; if (!T4_) goto LA6_; T8_ = (void*)0; T8_ = prepareSeqAdd(oldLen, ((void*) ((*xu).p)), ((NI) 1), ((NI) 8), ((NI) 8)); (*xu).p = ((tyObject_NimSeqPayload__hKmcfrIyKucBh7ADIUKy1Q*) (T8_)); } LA6_: ; if (nimAddInt(oldLen, ((NI) 1), &TM__h69aKLv9bAieBdiFzvDngbMw_5)) { raiseOverflow(); goto BeforeRet_; }; (*xu).len = (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_5); (*(*xu).p).data[oldLen] = value; }BeforeRet_: ; } N_LIB_PRIVATE N_NIMCALL(void, eqdestroy__temp_163)(tySequence__qwqHTkRvwhrRyENtudHQ7g* dest) { if ((*dest).p && !((*dest).p->cap & NIM_STRLIT_FLAG)) { alignedDealloc((*dest).p, NIM_ALIGNOF(NI)); } } static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) { void* T1_; T1_ = (void*)0; T1_ = memcpy(dest, source, ((size_t) (size))); } static N_INLINE(void, copyMem_system_1709)(void* dest, void* source, NI size) { nimCopyMem(dest, source, size); } static N_INLINE(void, appendString)(NimStringV2* dest, NimStringV2 src) { { { NI TM__h69aKLv9bAieBdiFzvDngbMw_10; NI TM__h69aKLv9bAieBdiFzvDngbMw_11; if (!(((NI) 0) < src.len)) goto LA3_; if (nimAddInt(src.len, ((NI) 1), &TM__h69aKLv9bAieBdiFzvDngbMw_10)) { raiseOverflow(); goto BeforeRet_; }; if (((NI)(TM__h69aKLv9bAieBdiFzvDngbMw_10)) < ((NI) 0) || ((NI)(TM__h69aKLv9bAieBdiFzvDngbMw_10)) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI((NI)(TM__h69aKLv9bAieBdiFzvDngbMw_10), ((NI) 0), ((NI) IL64(9223372036854775807))); goto BeforeRet_; } copyMem_system_1709(((void*) ((&(*(*dest).p).data[(*dest).len]))), ((void*) ((&(*src.p).data[((NI) 0)]))), ((NI) ((NI)(TM__h69aKLv9bAieBdiFzvDngbMw_10)))); if (nimAddInt((*dest).len, src.len, &TM__h69aKLv9bAieBdiFzvDngbMw_11)) { raiseOverflow(); goto BeforeRet_; }; (*dest).len = (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_11); } LA3_: ; }BeforeRet_: ; } static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (NIM_BOOL*)0; result = (&nimInErrorMode_system_4593); return result; } static N_INLINE(void, nimFrame)(TFrame* s) { { if (!(framePtr_system_4242 == ((TFrame*) NIM_NIL))) goto LA3_; (*s).calldepth = ((NI16) 0); } goto LA1_; LA3_: ; { (*s).calldepth = (NI16)((*framePtr_system_4242).calldepth + ((NI16) 1)); } LA1_: ; (*s).prev = framePtr_system_4242; framePtr_system_4242 = s; { if (!((*s).calldepth == ((NI16) 2000))) goto LA8_; callDepthLimitReached_system_4760(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr_system_4242 = (*framePtr_system_4242).prev; } static N_INLINE(void, addInt_stdZprivateZdigitsutils_196)(NimStringV2* result, NI x) { NIM_BOOL* nimErr_; nimfr_("addInt", "/home/runner/.choosenim/toolchains/nim-1.6.0/lib/std/private/digitsutils.nim"); {nimErr_ = nimErrorFlag(); addInt_stdZprivateZdigitsutils_174(result, ((NI64) (x))); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; }BeforeRet_: ; popFrame(); } N_LIB_PRIVATE N_NIMCALL(void, addQuoted_temp_254)(NimStringV2* s, NI x) { NIM_BOOL* nimErr_; nimfr_("addQuoted", "/home/runner/.choosenim/toolchains/nim-1.6.0/lib/system.nim"); {nimErr_ = nimErrorFlag(); addInt_stdZprivateZdigitsutils_196(s, x); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; }BeforeRet_: ; popFrame(); } N_LIB_PRIVATE N_NIMCALL(NimStringV2, collectionToString_temp_222)(tySequence__qwqHTkRvwhrRyENtudHQ7g x, NimStringV2 prefix, NimStringV2 separator, NimStringV2 suffix) { NimStringV2 result; NIM_BOOL firstElement; NIM_BOOL* nimErr_; nimfr_("collectionToString", "/home/runner/.choosenim/toolchains/nim-1.6.0/lib/system/dollars.nim"); {nimErr_ = nimErrorFlag(); result.len = 0; result.p = NIM_NIL; eqcopy__system_3614((&result), prefix); firstElement = NIM_TRUE; { NI* value; NI i; NI L; NI T2_; value = (NI*)0; i = ((NI) 0); T2_ = x.len; L = T2_; { while (1) { if (!(i < L)) goto LA4; value = (&x.p->data[i]); { if (!firstElement) goto LA7_; firstElement = NIM_FALSE; } goto LA5_; LA7_: ; { prepareAdd((&result), separator.len + 0); appendString((&result), separator); } LA5_: ; addQuoted_temp_254((&result), (*value)); i += ((NI) 1); { NI T12_; T12_ = x.len; if (!!((T12_ == L))) goto LA13_; failedAssertImpl_systemZassertions_62(TM__h69aKLv9bAieBdiFzvDngbMw_13); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; } LA13_: ; } LA4: ; } } prepareAdd((&result), suffix.len + 0); appendString((&result), suffix); }BeforeRet_: ; popFrame(); return result; } N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar__temp_218)(tySequence__qwqHTkRvwhrRyENtudHQ7g x) { NimStringV2 result; NIM_BOOL* nimErr_; nimfr_("$", "/home/runner/.choosenim/toolchains/nim-1.6.0/lib/system/dollars.nim"); {nimErr_ = nimErrorFlag(); result.len = 0; result.p = NIM_NIL; result = collectionToString_temp_222(x, TM__h69aKLv9bAieBdiFzvDngbMw_15, TM__h69aKLv9bAieBdiFzvDngbMw_17, TM__h69aKLv9bAieBdiFzvDngbMw_19); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; }BeforeRet_: ; popFrame(); return result; } N_LIB_PRIVATE N_NIMCALL(void, doSomething_temp_13)(tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A s) { tySequence__qwqHTkRvwhrRyENtudHQ7g ss; NimStringV2 colontmpD_; tyArray__nHXaesL0DJZHyVS07ARPRA T15_; NIM_BOOL* nimErr_; nimfr_("doSomething", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); {nimErr_ = nimErrorFlag(); ss.len = 0; ss.p = NIM_NIL; colontmpD_.len = 0; colontmpD_.p = NIM_NIL; { NI i; NI colontmp_; NI T3_; NI TM__h69aKLv9bAieBdiFzvDngbMw_2; NI res; i = (NI)0; colontmp_ = (NI)0; T3_ = s.s.len; if (nimSubInt(T3_, ((NI) 1), &TM__h69aKLv9bAieBdiFzvDngbMw_2)) { raiseOverflow(); goto LA1_; }; colontmp_ = (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_2); res = ((NI) 0); { while (1) { NI TM__h69aKLv9bAieBdiFzvDngbMw_9; if (!(res <= colontmp_)) goto LA5; i = res; { tySequence__qwqHTkRvwhrRyENtudHQ7g colontmp__2; NI j; NI elm; NI i_2; NI L; NI T7_; colontmp__2.len = 0; colontmp__2.p = NIM_NIL; j = (NI)0; elm = (NI)0; colontmp__2.len = 0; colontmp__2.p = NIM_NIL; if ((NU)(i) >= (NU)s.s.len){ raiseIndexError2(i,s.s.len-1); goto LA1_; } eqcopy__temp_166((&colontmp__2), s.s.p->data[i].next); i_2 = ((NI) 0); T7_ = colontmp__2.len; L = T7_; { while (1) { NI colontmpD__2; NI TM__h69aKLv9bAieBdiFzvDngbMw_6; if (!(i_2 < L)) goto LA9; colontmpD__2 = (NI)0; j = i_2; if ((NU)(i_2) >= (NU)colontmp__2.len){ raiseIndexError2(i_2,colontmp__2.len-1); goto LA1_; } elm = colontmp__2.p->data[i_2]; if ((NU)(elm) >= (NU)s.s.len){ raiseIndexError2(elm,s.s.len-1); goto LA1_; } colontmpD__2 = s.s.p->data[elm].n; add_temp_50((&ss), colontmpD__2); if (nimAddInt(i_2, ((NI) 1), &TM__h69aKLv9bAieBdiFzvDngbMw_6)) { raiseOverflow(); goto LA1_; }; i_2 = (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_6); { NI T12_; T12_ = colontmp__2.len; if (!!((T12_ == L))) goto LA13_; failedAssertImpl_systemZassertions_62(TM__h69aKLv9bAieBdiFzvDngbMw_8); if (NIM_UNLIKELY(*nimErr_)) goto LA1_; } LA13_: ; } LA9: ; } eqdestroy__temp_163((&colontmp__2)); } if (nimAddInt(res, ((NI) 1), &TM__h69aKLv9bAieBdiFzvDngbMw_9)) { raiseOverflow(); goto LA1_; }; res = (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_9); } LA5: ; } } colontmpD_ = dollar__temp_218(ss); if (NIM_UNLIKELY(*nimErr_)) goto LA1_; T15_[0] = colontmpD_; echoBinSafe(T15_, 1); { LA1_:; } { eqdestroy__system_3611((&colontmpD_)); eqdestroy__temp_163((&ss)); } if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; }BeforeRet_: ; popFrame(); } static N_INLINE(void, initStackBottomWith)(void* locals) { } N_LIB_PRIVATE void PreMainInner(void) { } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { void (*volatile inner)(void); inner = PreMainInner; systemDatInit000(); systemInit000(); (*inner)(); } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { void (*volatile inner)(void); PreMain(); inner = NimMainInner; initStackBottomWith((void *)&inner); (*inner)(); } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { NIM_BOOL* nimErr_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); nimErr_ = nimErrorFlag(); doSomething_temp_13(foo_temp_267); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; { if (!NIM_TRUE) goto LA3_; failedAssertImpl_systemZassertions_62(TM__h69aKLv9bAieBdiFzvDngbMw_24); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; } LA3_: ; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("Node"), newEmptyNode(), nnkObjectTy.newTree( newEmptyNode(), newEmptyNode(), nnkRecList.newTree( nnkIdentDefs.newTree( newIdentNode("n"), newIdentNode("int"), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("next"), nnkBracketExpr.newTree( newIdentNode("seq"), newIdentNode("int") ), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("foobar"), newIdentNode("FooBar"), newEmptyNode() ) ) ) ), nnkTypeDef.newTree( newIdentNode("FooBar"), newEmptyNode(), nnkObjectTy.newTree( newEmptyNode(), newEmptyNode(), nnkRecList.newTree( nnkIdentDefs.newTree( newIdentNode("s"), nnkBracketExpr.newTree( newIdentNode("seq"), newIdentNode("Node") ), newEmptyNode() ) ) ) ) ), nnkProcDef.newTree( nnkAccQuoted.newTree( newIdentNode("="), newIdentNode("copy") ), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("dest"), nnkVarTy.newTree( newIdentNode("Node") ), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("source"), newIdentNode("Node"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("error") ), newEmptyNode(), newEmptyNode() ), nnkProcDef.newTree( nnkAccQuoted.newTree( newIdentNode("="), newIdentNode("copy") ), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("dest"), nnkVarTy.newTree( newIdentNode("FooBar") ), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("source"), newIdentNode("FooBar"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("error") ), newEmptyNode(), newEmptyNode() ), nnkProcDef.newTree( newIdentNode("doSomething"), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("s"), newIdentNode("FooBar"), newEmptyNode() ) ), newEmptyNode(), newEmptyNode(), nnkStmtList.newTree( nnkVarSection.newTree( nnkIdentDefs.newTree( newIdentNode("ss"), nnkBracketExpr.newTree( newIdentNode("seq"), newIdentNode("int") ), newEmptyNode() ) ), nnkPragma.newTree( nnkExprColonExpr.newTree( newIdentNode("emit"), newLit("/* STARTS */\n") ) ), nnkForStmt.newTree( newIdentNode("i"), nnkInfix.newTree( newIdentNode(".."), newLit(0), nnkInfix.newTree( newIdentNode("-"), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("s") ), newIdentNode("len") ), newLit(1) ) ), nnkStmtList.newTree( nnkForStmt.newTree( newIdentNode("j"), newIdentNode("elm"), nnkCommand.newTree( newIdentNode("pairs"), nnkDotExpr.newTree( nnkBracketExpr.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("s") ), newIdentNode("i") ), newIdentNode("next") ) ), nnkStmtList.newTree( nnkCommand.newTree( nnkDotExpr.newTree( newIdentNode("ss"), newIdentNode("add") ), nnkDotExpr.newTree( nnkBracketExpr.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("s") ), newIdentNode("elm") ), newIdentNode("n") ) ) ) ) ) ), nnkPragma.newTree( nnkExprColonExpr.newTree( newIdentNode("emit"), newLit("/* ENDS */\n") ) ), nnkCommand.newTree( newIdentNode("echo"), newIdentNode("ss") ) ) ), nnkWhenStmt.newTree( nnkElifBranch.newTree( newIdentNode("isMainModule"), nnkStmtList.newTree( nnkConstSection.newTree( nnkConstDef.newTree( newIdentNode("foo"), newEmptyNode(), nnkObjConstr.newTree( newIdentNode("FooBar"), nnkExprColonExpr.newTree( newIdentNode("s"), nnkPrefix.newTree( newIdentNode("@"), nnkBracket.newTree( nnkObjConstr.newTree( newIdentNode("Node"), nnkExprColonExpr.newTree( newIdentNode("n"), newLit(1) ), nnkExprColonExpr.newTree( newIdentNode("next"), nnkPrefix.newTree( newIdentNode("@"), nnkBracket.newTree( newLit(0) ) ) ) ) ) ) ) ) ) ), nnkCall.newTree( newIdentNode("doSomething"), newIdentNode("foo") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("off") ) ) ) ) ) ```
1.4.0 :-1: FAIL

Output

``` Error: Command failed: nim c --gc:orc -d:nimArcDebug -d:nimArcIds --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim temp /home/runner/.choosenim/toolchains/nim-1.4.0/lib/system/assertions.nim failedAssertImpl /home/runner/.choosenim/toolchains/nim-1.4.0/lib/system/assertions.nim raiseAssert /home/runner/.choosenim/toolchains/nim-1.4.0/lib/system/fatal.nim sysFatal Error: unhandled exception: /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(21, 12) `off` [AssertionDefect] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp ' ```

Stats

  • Started 2023-08-25T12:31:46
  • Finished 2023-08-25T12:31:46
  • Duration

IR

Compiled filesize 98.04 Kb (100,392 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix # define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); # define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename; NI len; VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); # define nimln_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A; typedef struct tySequence__2vftXJCjh8IqY9b1uLnyUVw tySequence__2vftXJCjh8IqY9b1uLnyUVw; typedef struct tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content; typedef struct tySequence__qwqHTkRvwhrRyENtudHQ7g tySequence__qwqHTkRvwhrRyENtudHQ7g; typedef struct tySequence__qwqHTkRvwhrRyENtudHQ7g_Content tySequence__qwqHTkRvwhrRyENtudHQ7g_Content; typedef struct NimStrPayload NimStrPayload; typedef struct NimStringV2 NimStringV2; typedef struct tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg; struct tySequence__2vftXJCjh8IqY9b1uLnyUVw { NI len; tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content* p; }; struct tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A { tySequence__2vftXJCjh8IqY9b1uLnyUVw s; }; struct tySequence__qwqHTkRvwhrRyENtudHQ7g { NI len; tySequence__qwqHTkRvwhrRyENtudHQ7g_Content* p; }; struct NimStrPayload { NI cap; NIM_CHAR data[SEQ_DECL_SIZE]; }; struct NimStringV2 { NI len; NimStrPayload* p; }; struct tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg { NI n; tySequence__qwqHTkRvwhrRyENtudHQ7g next; tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A foobar; }; typedef NimStringV2 tyArray__nHXaesL0DJZHyVS07ARPRA[1]; #ifndef tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content_PP #define tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content_PP struct tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content { NI cap; tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg data[SEQ_DECL_SIZE];}; #endif #ifndef tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP #define tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP struct tySequence__qwqHTkRvwhrRyENtudHQ7g_Content { NI cap; NI data[SEQ_DECL_SIZE];}; #endif #ifndef tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP #define tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP struct tySequence__qwqHTkRvwhrRyENtudHQ7g_Content { NI cap; NI data[SEQ_DECL_SIZE];}; #endif #ifndef tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP #define tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP struct tySequence__qwqHTkRvwhrRyENtudHQ7g_Content { NI cap; NI data[SEQ_DECL_SIZE];}; #endif N_LIB_PRIVATE N_NIMCALL(void, doSomething__0gAscWyLWODeYx9aJdiSCeg)(tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A s); N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void); N_LIB_PRIVATE N_NIMCALL(void, eqcopy___voJ1IJTPQdxEklrxxh17Ew)(tySequence__qwqHTkRvwhrRyENtudHQ7g* dest, tySequence__qwqHTkRvwhrRyENtudHQ7g src); N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n); N_LIB_PRIVATE N_NIMCALL(void, add__MIAbjRZGBQlNfywJeCn8AQ)(tySequence__qwqHTkRvwhrRyENtudHQ7g* x, NI value); N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringV2 msg); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___2FaMhgTYqczm61zqlScqSg)(tySequence__qwqHTkRvwhrRyENtudHQ7g* dest); N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___Gsa4WPnABj84BVdJHxUK1w)(tySequence__qwqHTkRvwhrRyENtudHQ7g x); N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringV2* args, NI argsLen_0); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___dS1BF3Vxjg9aJMmmhVJKSpQ)(NimStringV2* dest); static N_INLINE(NIM_BOOL*, nimErrorFlag)(void); static N_INLINE(void, nimFrame)(TFrame* s); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__mMRdr4sgmnykA9aWeM9aDZlw)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, nimTestErrorFlag)(void); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); static const struct { NI cap; NIM_CHAR data[146+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_4 = { 146 | NIM_STRLIT_FLAG, "/home/runner/.choosenim/toolchains/nim-1.4.0/lib/system/iterato" "rs.nim(137, 11) `len(a) == L` the length of the seq changed whil" "e iterating over it" }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_5 = {146, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_4}; static const struct { NI cap; NI data[1]; } TM__h69aKLv9bAieBdiFzvDngbMw_7 = {1 | NIM_STRLIT_FLAG, {((NI) 0)}}; static const struct { NI cap; tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg data[0]; } TM__h69aKLv9bAieBdiFzvDngbMw_8 = {0 | NIM_STRLIT_FLAG, {}}; static const struct { NI cap; tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg data[1]; } TM__h69aKLv9bAieBdiFzvDngbMw_9 = {1 | NIM_STRLIT_FLAG, {{((NI) 1), {1, (tySequence__qwqHTkRvwhrRyENtudHQ7g_Content*)&TM__h69aKLv9bAieBdiFzvDngbMw_7}, {{0, (tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content*)&TM__h69aKLv9bAieBdiFzvDngbMw_8}} } }}; N_LIB_PRIVATE NIM_CONST tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A foo__hCqMoygJqzo7VoBwyZLxeA = {{1, (tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content*)&TM__h69aKLv9bAieBdiFzvDngbMw_9}} ; static const struct { NI cap; NIM_CHAR data[89+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_10 = { 89 | NIM_STRLIT_FLAG, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim(21, 12) `off` " }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_11 = {89, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_10}; extern NIM_BOOL nimInErrorMode__759bT87luu8XGcbkw13FUjA; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (NIM_BOOL*)0; result = (&nimInErrorMode__759bT87luu8XGcbkw13FUjA); return result; } static N_INLINE(void, nimFrame)(TFrame* s) { { if (!(framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw == NIM_NIL)) goto LA3_; (*s).calldepth = ((NI16) 0); } goto LA1_; LA3_: ; { (*s).calldepth = (NI16)((*framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw).calldepth + ((NI16) 1)); } LA1_: ; (*s).prev = framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw = s; { if (!((*s).calldepth == ((NI16) 2000))) goto LA8_; callDepthLimitReached__mMRdr4sgmnykA9aWeM9aDZlw(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw = (*framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw).prev; } N_LIB_PRIVATE N_NIMCALL(void, doSomething__0gAscWyLWODeYx9aJdiSCeg)(tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A s) { tySequence__qwqHTkRvwhrRyENtudHQ7g ss; NimStringV2 colontmpD_; tyArray__nHXaesL0DJZHyVS07ARPRA T15_; NIM_BOOL* nimErr_; nimfr_("doSomething", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); {nimErr_ = nimErrorFlag(); ss.len = 0; ss.p = NIM_NIL; colontmpD_.len = 0; colontmpD_.p = NIM_NIL; { NI i; NI colontmp_; NI T3_; NI TM__h69aKLv9bAieBdiFzvDngbMw_2; NI res; i = (NI)0; colontmp_ = (NI)0; T3_ = s.s.len; if (nimSubInt(T3_, ((NI) 1), &TM__h69aKLv9bAieBdiFzvDngbMw_2)) { raiseOverflow(); goto LA1_; }; colontmp_ = (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_2); res = ((NI) 0); { while (1) { NI TM__h69aKLv9bAieBdiFzvDngbMw_6; if (!(res <= colontmp_)) goto LA5; i = res; { tySequence__qwqHTkRvwhrRyENtudHQ7g colontmp__2; NI j; NI elm; NI i_2; NI L; NI T7_; colontmp__2.len = 0; colontmp__2.p = NIM_NIL; j = (NI)0; elm = (NI)0; colontmp__2.len = 0; colontmp__2.p = NIM_NIL; if ((NU)(i) >= (NU)s.s.len){ raiseIndexError2(i,s.s.len-1); goto LA1_; } eqcopy___voJ1IJTPQdxEklrxxh17Ew((&colontmp__2), s.s.p->data[i].next); i_2 = ((NI) 0); T7_ = colontmp__2.len; L = T7_; { while (1) { NI colontmpD__2; NI TM__h69aKLv9bAieBdiFzvDngbMw_3; if (!(i_2 < L)) goto LA9; colontmpD__2 = (NI)0; j = i_2; if ((NU)(i_2) >= (NU)colontmp__2.len){ raiseIndexError2(i_2,colontmp__2.len-1); goto LA1_; } elm = colontmp__2.p->data[i_2]; if ((NU)(elm) >= (NU)s.s.len){ raiseIndexError2(elm,s.s.len-1); goto LA1_; } colontmpD__2 = s.s.p->data[elm].n; add__MIAbjRZGBQlNfywJeCn8AQ((&ss), colontmpD__2); if (nimAddInt(i_2, ((NI) 1), &TM__h69aKLv9bAieBdiFzvDngbMw_3)) { raiseOverflow(); goto LA1_; }; i_2 = (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_3); { NI T12_; T12_ = colontmp__2.len; if (!!((T12_ == L))) goto LA13_; failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(TM__h69aKLv9bAieBdiFzvDngbMw_5); if (NIM_UNLIKELY(*nimErr_)) goto LA1_; } LA13_: ; } LA9: ; } eqdestroy___2FaMhgTYqczm61zqlScqSg((&colontmp__2)); } if (nimAddInt(res, ((NI) 1), &TM__h69aKLv9bAieBdiFzvDngbMw_6)) { raiseOverflow(); goto LA1_; }; res = (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_6); } LA5: ; } } colontmpD_ = dollar___Gsa4WPnABj84BVdJHxUK1w(ss); if (NIM_UNLIKELY(*nimErr_)) goto LA1_; T15_[0] = colontmpD_; echoBinSafe(T15_, 1); { LA1_:; } { eqdestroy___dS1BF3Vxjg9aJMmmhVJKSpQ((&colontmpD_)); eqdestroy___2FaMhgTYqczm61zqlScqSg((&ss)); } if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; }BeforeRet_: ; popFrame(); } static N_INLINE(void, initStackBottomWith)(void* locals) { } N_LIB_PRIVATE void PreMainInner(void) { } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { void (*volatile inner)(void); inner = PreMainInner; systemDatInit000(); systemInit000(); (*inner)(); } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { void (*volatile inner)(void); PreMain(); inner = NimMainInner; initStackBottomWith((void *)&inner); (*inner)(); } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { NIM_BOOL* nimErr_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); nimErr_ = nimErrorFlag(); doSomething__0gAscWyLWODeYx9aJdiSCeg(foo__hCqMoygJqzo7VoBwyZLxeA); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; { if (!NIM_TRUE) goto LA3_; failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(TM__h69aKLv9bAieBdiFzvDngbMw_11); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; } LA3_: ; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("Node"), newEmptyNode(), nnkObjectTy.newTree( newEmptyNode(), newEmptyNode(), nnkRecList.newTree( nnkIdentDefs.newTree( newIdentNode("n"), newIdentNode("int"), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("next"), nnkBracketExpr.newTree( newIdentNode("seq"), newIdentNode("int") ), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("foobar"), newIdentNode("FooBar"), newEmptyNode() ) ) ) ), nnkTypeDef.newTree( newIdentNode("FooBar"), newEmptyNode(), nnkObjectTy.newTree( newEmptyNode(), newEmptyNode(), nnkRecList.newTree( nnkIdentDefs.newTree( newIdentNode("s"), nnkBracketExpr.newTree( newIdentNode("seq"), newIdentNode("Node") ), newEmptyNode() ) ) ) ) ), nnkProcDef.newTree( nnkAccQuoted.newTree( newIdentNode("="), newIdentNode("copy") ), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("dest"), nnkVarTy.newTree( newIdentNode("Node") ), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("source"), newIdentNode("Node"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("error") ), newEmptyNode(), newEmptyNode() ), nnkProcDef.newTree( nnkAccQuoted.newTree( newIdentNode("="), newIdentNode("copy") ), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("dest"), nnkVarTy.newTree( newIdentNode("FooBar") ), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("source"), newIdentNode("FooBar"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("error") ), newEmptyNode(), newEmptyNode() ), nnkProcDef.newTree( newIdentNode("doSomething"), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("s"), newIdentNode("FooBar"), newEmptyNode() ) ), newEmptyNode(), newEmptyNode(), nnkStmtList.newTree( nnkVarSection.newTree( nnkIdentDefs.newTree( newIdentNode("ss"), nnkBracketExpr.newTree( newIdentNode("seq"), newIdentNode("int") ), newEmptyNode() ) ), nnkPragma.newTree( nnkExprColonExpr.newTree( newIdentNode("emit"), newLit("/* STARTS */\n") ) ), nnkForStmt.newTree( newIdentNode("i"), nnkInfix.newTree( newIdentNode(".."), newLit(0), nnkInfix.newTree( newIdentNode("-"), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("s") ), newIdentNode("len") ), newLit(1) ) ), nnkStmtList.newTree( nnkForStmt.newTree( newIdentNode("j"), newIdentNode("elm"), nnkCommand.newTree( newIdentNode("pairs"), nnkDotExpr.newTree( nnkBracketExpr.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("s") ), newIdentNode("i") ), newIdentNode("next") ) ), nnkStmtList.newTree( nnkCommand.newTree( nnkDotExpr.newTree( newIdentNode("ss"), newIdentNode("add") ), nnkDotExpr.newTree( nnkBracketExpr.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("s") ), newIdentNode("elm") ), newIdentNode("n") ) ) ) ) ) ), nnkPragma.newTree( nnkExprColonExpr.newTree( newIdentNode("emit"), newLit("/* ENDS */\n") ) ), nnkCommand.newTree( newIdentNode("echo"), newIdentNode("ss") ) ) ), nnkWhenStmt.newTree( nnkElifBranch.newTree( newIdentNode("isMainModule"), nnkStmtList.newTree( nnkConstSection.newTree( nnkConstDef.newTree( newIdentNode("foo"), newEmptyNode(), nnkObjConstr.newTree( newIdentNode("FooBar"), nnkExprColonExpr.newTree( newIdentNode("s"), nnkPrefix.newTree( newIdentNode("@"), nnkBracket.newTree( nnkObjConstr.newTree( newIdentNode("Node"), nnkExprColonExpr.newTree( newIdentNode("n"), newLit(1) ), nnkExprColonExpr.newTree( newIdentNode("next"), nnkPrefix.newTree( newIdentNode("@"), nnkBracket.newTree( newLit(0) ) ) ) ) ) ) ) ) ) ), nnkCall.newTree( newIdentNode("doSomething"), newIdentNode("foo") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("off") ) ) ) ) ) ```
1.2.0 :-1: FAIL

Output

``` Error: Command failed: nim c --gc:orc -d:nimArcDebug -d:nimArcIds --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim SIGSEGV: Illegal storage access. (Attempt to read from nil?) ```

Stats

  • Started 2023-08-25T12:32:01
  • Finished 2023-08-25T12:32:01
  • Duration

IR

Compiled filesize 98.04 Kb (100,392 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix # define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); # define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename; NI len; VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); # define nimln_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A; typedef struct tySequence__2vftXJCjh8IqY9b1uLnyUVw tySequence__2vftXJCjh8IqY9b1uLnyUVw; typedef struct tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content; typedef struct tySequence__qwqHTkRvwhrRyENtudHQ7g tySequence__qwqHTkRvwhrRyENtudHQ7g; typedef struct tySequence__qwqHTkRvwhrRyENtudHQ7g_Content tySequence__qwqHTkRvwhrRyENtudHQ7g_Content; typedef struct NimStrPayload NimStrPayload; typedef struct NimStringV2 NimStringV2; typedef struct tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg; struct tySequence__2vftXJCjh8IqY9b1uLnyUVw { NI len; tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content* p; }; struct tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A { tySequence__2vftXJCjh8IqY9b1uLnyUVw s; }; struct tySequence__qwqHTkRvwhrRyENtudHQ7g { NI len; tySequence__qwqHTkRvwhrRyENtudHQ7g_Content* p; }; struct NimStrPayload { NI cap; NIM_CHAR data[SEQ_DECL_SIZE]; }; struct NimStringV2 { NI len; NimStrPayload* p; }; struct tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg { NI n; tySequence__qwqHTkRvwhrRyENtudHQ7g next; tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A foobar; }; typedef NimStringV2 tyArray__nHXaesL0DJZHyVS07ARPRA[1]; #ifndef tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content_PP #define tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content_PP struct tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content { NI cap; tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg data[SEQ_DECL_SIZE];}; #endif #ifndef tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP #define tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP struct tySequence__qwqHTkRvwhrRyENtudHQ7g_Content { NI cap; NI data[SEQ_DECL_SIZE];}; #endif #ifndef tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP #define tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP struct tySequence__qwqHTkRvwhrRyENtudHQ7g_Content { NI cap; NI data[SEQ_DECL_SIZE];}; #endif #ifndef tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP #define tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP struct tySequence__qwqHTkRvwhrRyENtudHQ7g_Content { NI cap; NI data[SEQ_DECL_SIZE];}; #endif N_LIB_PRIVATE N_NIMCALL(void, doSomething__0gAscWyLWODeYx9aJdiSCeg)(tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A s); N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void); N_LIB_PRIVATE N_NIMCALL(void, eqcopy___voJ1IJTPQdxEklrxxh17Ew)(tySequence__qwqHTkRvwhrRyENtudHQ7g* dest, tySequence__qwqHTkRvwhrRyENtudHQ7g src); N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n); N_LIB_PRIVATE N_NIMCALL(void, add__MIAbjRZGBQlNfywJeCn8AQ)(tySequence__qwqHTkRvwhrRyENtudHQ7g* x, NI value); N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringV2 msg); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___2FaMhgTYqczm61zqlScqSg)(tySequence__qwqHTkRvwhrRyENtudHQ7g* dest); N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___Gsa4WPnABj84BVdJHxUK1w)(tySequence__qwqHTkRvwhrRyENtudHQ7g x); N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringV2* args, NI argsLen_0); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___dS1BF3Vxjg9aJMmmhVJKSpQ)(NimStringV2* dest); static N_INLINE(NIM_BOOL*, nimErrorFlag)(void); static N_INLINE(void, nimFrame)(TFrame* s); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__mMRdr4sgmnykA9aWeM9aDZlw)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, nimTestErrorFlag)(void); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); static const struct { NI cap; NIM_CHAR data[146+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_4 = { 146 | NIM_STRLIT_FLAG, "/home/runner/.choosenim/toolchains/nim-1.4.0/lib/system/iterato" "rs.nim(137, 11) `len(a) == L` the length of the seq changed whil" "e iterating over it" }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_5 = {146, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_4}; static const struct { NI cap; NI data[1]; } TM__h69aKLv9bAieBdiFzvDngbMw_7 = {1 | NIM_STRLIT_FLAG, {((NI) 0)}}; static const struct { NI cap; tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg data[0]; } TM__h69aKLv9bAieBdiFzvDngbMw_8 = {0 | NIM_STRLIT_FLAG, {}}; static const struct { NI cap; tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg data[1]; } TM__h69aKLv9bAieBdiFzvDngbMw_9 = {1 | NIM_STRLIT_FLAG, {{((NI) 1), {1, (tySequence__qwqHTkRvwhrRyENtudHQ7g_Content*)&TM__h69aKLv9bAieBdiFzvDngbMw_7}, {{0, (tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content*)&TM__h69aKLv9bAieBdiFzvDngbMw_8}} } }}; N_LIB_PRIVATE NIM_CONST tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A foo__hCqMoygJqzo7VoBwyZLxeA = {{1, (tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content*)&TM__h69aKLv9bAieBdiFzvDngbMw_9}} ; static const struct { NI cap; NIM_CHAR data[89+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_10 = { 89 | NIM_STRLIT_FLAG, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim(21, 12) `off` " }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_11 = {89, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_10}; extern NIM_BOOL nimInErrorMode__759bT87luu8XGcbkw13FUjA; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (NIM_BOOL*)0; result = (&nimInErrorMode__759bT87luu8XGcbkw13FUjA); return result; } static N_INLINE(void, nimFrame)(TFrame* s) { { if (!(framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw == NIM_NIL)) goto LA3_; (*s).calldepth = ((NI16) 0); } goto LA1_; LA3_: ; { (*s).calldepth = (NI16)((*framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw).calldepth + ((NI16) 1)); } LA1_: ; (*s).prev = framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw = s; { if (!((*s).calldepth == ((NI16) 2000))) goto LA8_; callDepthLimitReached__mMRdr4sgmnykA9aWeM9aDZlw(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw = (*framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw).prev; } N_LIB_PRIVATE N_NIMCALL(void, doSomething__0gAscWyLWODeYx9aJdiSCeg)(tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A s) { tySequence__qwqHTkRvwhrRyENtudHQ7g ss; NimStringV2 colontmpD_; tyArray__nHXaesL0DJZHyVS07ARPRA T15_; NIM_BOOL* nimErr_; nimfr_("doSomething", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); {nimErr_ = nimErrorFlag(); ss.len = 0; ss.p = NIM_NIL; colontmpD_.len = 0; colontmpD_.p = NIM_NIL; { NI i; NI colontmp_; NI T3_; NI TM__h69aKLv9bAieBdiFzvDngbMw_2; NI res; i = (NI)0; colontmp_ = (NI)0; T3_ = s.s.len; if (nimSubInt(T3_, ((NI) 1), &TM__h69aKLv9bAieBdiFzvDngbMw_2)) { raiseOverflow(); goto LA1_; }; colontmp_ = (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_2); res = ((NI) 0); { while (1) { NI TM__h69aKLv9bAieBdiFzvDngbMw_6; if (!(res <= colontmp_)) goto LA5; i = res; { tySequence__qwqHTkRvwhrRyENtudHQ7g colontmp__2; NI j; NI elm; NI i_2; NI L; NI T7_; colontmp__2.len = 0; colontmp__2.p = NIM_NIL; j = (NI)0; elm = (NI)0; colontmp__2.len = 0; colontmp__2.p = NIM_NIL; if ((NU)(i) >= (NU)s.s.len){ raiseIndexError2(i,s.s.len-1); goto LA1_; } eqcopy___voJ1IJTPQdxEklrxxh17Ew((&colontmp__2), s.s.p->data[i].next); i_2 = ((NI) 0); T7_ = colontmp__2.len; L = T7_; { while (1) { NI colontmpD__2; NI TM__h69aKLv9bAieBdiFzvDngbMw_3; if (!(i_2 < L)) goto LA9; colontmpD__2 = (NI)0; j = i_2; if ((NU)(i_2) >= (NU)colontmp__2.len){ raiseIndexError2(i_2,colontmp__2.len-1); goto LA1_; } elm = colontmp__2.p->data[i_2]; if ((NU)(elm) >= (NU)s.s.len){ raiseIndexError2(elm,s.s.len-1); goto LA1_; } colontmpD__2 = s.s.p->data[elm].n; add__MIAbjRZGBQlNfywJeCn8AQ((&ss), colontmpD__2); if (nimAddInt(i_2, ((NI) 1), &TM__h69aKLv9bAieBdiFzvDngbMw_3)) { raiseOverflow(); goto LA1_; }; i_2 = (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_3); { NI T12_; T12_ = colontmp__2.len; if (!!((T12_ == L))) goto LA13_; failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(TM__h69aKLv9bAieBdiFzvDngbMw_5); if (NIM_UNLIKELY(*nimErr_)) goto LA1_; } LA13_: ; } LA9: ; } eqdestroy___2FaMhgTYqczm61zqlScqSg((&colontmp__2)); } if (nimAddInt(res, ((NI) 1), &TM__h69aKLv9bAieBdiFzvDngbMw_6)) { raiseOverflow(); goto LA1_; }; res = (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_6); } LA5: ; } } colontmpD_ = dollar___Gsa4WPnABj84BVdJHxUK1w(ss); if (NIM_UNLIKELY(*nimErr_)) goto LA1_; T15_[0] = colontmpD_; echoBinSafe(T15_, 1); { LA1_:; } { eqdestroy___dS1BF3Vxjg9aJMmmhVJKSpQ((&colontmpD_)); eqdestroy___2FaMhgTYqczm61zqlScqSg((&ss)); } if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; }BeforeRet_: ; popFrame(); } static N_INLINE(void, initStackBottomWith)(void* locals) { } N_LIB_PRIVATE void PreMainInner(void) { } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { void (*volatile inner)(void); inner = PreMainInner; systemDatInit000(); systemInit000(); (*inner)(); } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { void (*volatile inner)(void); PreMain(); inner = NimMainInner; initStackBottomWith((void *)&inner); (*inner)(); } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { NIM_BOOL* nimErr_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); nimErr_ = nimErrorFlag(); doSomething__0gAscWyLWODeYx9aJdiSCeg(foo__hCqMoygJqzo7VoBwyZLxeA); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; { if (!NIM_TRUE) goto LA3_; failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(TM__h69aKLv9bAieBdiFzvDngbMw_11); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; } LA3_: ; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("Node"), newEmptyNode(), nnkObjectTy.newTree( newEmptyNode(), newEmptyNode(), nnkRecList.newTree( nnkIdentDefs.newTree( newIdentNode("n"), newIdentNode("int"), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("next"), nnkBracketExpr.newTree( newIdentNode("seq"), newIdentNode("int") ), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("foobar"), newIdentNode("FooBar"), newEmptyNode() ) ) ) ), nnkTypeDef.newTree( newIdentNode("FooBar"), newEmptyNode(), nnkObjectTy.newTree( newEmptyNode(), newEmptyNode(), nnkRecList.newTree( nnkIdentDefs.newTree( newIdentNode("s"), nnkBracketExpr.newTree( newIdentNode("seq"), newIdentNode("Node") ), newEmptyNode() ) ) ) ) ), nnkProcDef.newTree( nnkAccQuoted.newTree( newIdentNode("="), newIdentNode("copy") ), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("dest"), nnkVarTy.newTree( newIdentNode("Node") ), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("source"), newIdentNode("Node"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("error") ), newEmptyNode(), newEmptyNode() ), nnkProcDef.newTree( nnkAccQuoted.newTree( newIdentNode("="), newIdentNode("copy") ), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("dest"), nnkVarTy.newTree( newIdentNode("FooBar") ), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("source"), newIdentNode("FooBar"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("error") ), newEmptyNode(), newEmptyNode() ), nnkProcDef.newTree( newIdentNode("doSomething"), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("s"), newIdentNode("FooBar"), newEmptyNode() ) ), newEmptyNode(), newEmptyNode(), nnkStmtList.newTree( nnkVarSection.newTree( nnkIdentDefs.newTree( newIdentNode("ss"), nnkBracketExpr.newTree( newIdentNode("seq"), newIdentNode("int") ), newEmptyNode() ) ), nnkPragma.newTree( nnkExprColonExpr.newTree( newIdentNode("emit"), newLit("/* STARTS */\n") ) ), nnkForStmt.newTree( newIdentNode("i"), nnkInfix.newTree( newIdentNode(".."), newLit(0), nnkInfix.newTree( newIdentNode("-"), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("s") ), newIdentNode("len") ), newLit(1) ) ), nnkStmtList.newTree( nnkForStmt.newTree( newIdentNode("j"), newIdentNode("elm"), nnkCommand.newTree( newIdentNode("pairs"), nnkDotExpr.newTree( nnkBracketExpr.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("s") ), newIdentNode("i") ), newIdentNode("next") ) ), nnkStmtList.newTree( nnkCommand.newTree( nnkDotExpr.newTree( newIdentNode("ss"), newIdentNode("add") ), nnkDotExpr.newTree( nnkBracketExpr.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("s") ), newIdentNode("elm") ), newIdentNode("n") ) ) ) ) ) ), nnkPragma.newTree( nnkExprColonExpr.newTree( newIdentNode("emit"), newLit("/* ENDS */\n") ) ), nnkCommand.newTree( newIdentNode("echo"), newIdentNode("ss") ) ) ), nnkWhenStmt.newTree( nnkElifBranch.newTree( newIdentNode("isMainModule"), nnkStmtList.newTree( nnkConstSection.newTree( nnkConstDef.newTree( newIdentNode("foo"), newEmptyNode(), nnkObjConstr.newTree( newIdentNode("FooBar"), nnkExprColonExpr.newTree( newIdentNode("s"), nnkPrefix.newTree( newIdentNode("@"), nnkBracket.newTree( nnkObjConstr.newTree( newIdentNode("Node"), nnkExprColonExpr.newTree( newIdentNode("n"), newLit(1) ), nnkExprColonExpr.newTree( newIdentNode("next"), nnkPrefix.newTree( newIdentNode("@"), nnkBracket.newTree( newLit(0) ) ) ) ) ) ) ) ) ) ), nnkCall.newTree( newIdentNode("doSomething"), newIdentNode("foo") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("off") ) ) ) ) ) ```
1.0.0 :-1: FAIL

Output

``` Error: Command failed: nim c --gc:orc -d:nimArcDebug -d:nimArcIds --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim command line(1, 2) Error: 'none', 'boehm' or 'refc' expected, but 'orc' found ```

Stats

  • Started 2023-08-25T12:32:14
  • Finished 2023-08-25T12:32:14
  • Duration

IR

Compiled filesize 98.04 Kb (100,392 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix # define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); # define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename; NI len; VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); # define nimln_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A; typedef struct tySequence__2vftXJCjh8IqY9b1uLnyUVw tySequence__2vftXJCjh8IqY9b1uLnyUVw; typedef struct tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content; typedef struct tySequence__qwqHTkRvwhrRyENtudHQ7g tySequence__qwqHTkRvwhrRyENtudHQ7g; typedef struct tySequence__qwqHTkRvwhrRyENtudHQ7g_Content tySequence__qwqHTkRvwhrRyENtudHQ7g_Content; typedef struct NimStrPayload NimStrPayload; typedef struct NimStringV2 NimStringV2; typedef struct tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg; struct tySequence__2vftXJCjh8IqY9b1uLnyUVw { NI len; tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content* p; }; struct tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A { tySequence__2vftXJCjh8IqY9b1uLnyUVw s; }; struct tySequence__qwqHTkRvwhrRyENtudHQ7g { NI len; tySequence__qwqHTkRvwhrRyENtudHQ7g_Content* p; }; struct NimStrPayload { NI cap; NIM_CHAR data[SEQ_DECL_SIZE]; }; struct NimStringV2 { NI len; NimStrPayload* p; }; struct tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg { NI n; tySequence__qwqHTkRvwhrRyENtudHQ7g next; tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A foobar; }; typedef NimStringV2 tyArray__nHXaesL0DJZHyVS07ARPRA[1]; #ifndef tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content_PP #define tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content_PP struct tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content { NI cap; tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg data[SEQ_DECL_SIZE];}; #endif #ifndef tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP #define tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP struct tySequence__qwqHTkRvwhrRyENtudHQ7g_Content { NI cap; NI data[SEQ_DECL_SIZE];}; #endif #ifndef tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP #define tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP struct tySequence__qwqHTkRvwhrRyENtudHQ7g_Content { NI cap; NI data[SEQ_DECL_SIZE];}; #endif #ifndef tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP #define tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP struct tySequence__qwqHTkRvwhrRyENtudHQ7g_Content { NI cap; NI data[SEQ_DECL_SIZE];}; #endif N_LIB_PRIVATE N_NIMCALL(void, doSomething__0gAscWyLWODeYx9aJdiSCeg)(tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A s); N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void); N_LIB_PRIVATE N_NIMCALL(void, eqcopy___voJ1IJTPQdxEklrxxh17Ew)(tySequence__qwqHTkRvwhrRyENtudHQ7g* dest, tySequence__qwqHTkRvwhrRyENtudHQ7g src); N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n); N_LIB_PRIVATE N_NIMCALL(void, add__MIAbjRZGBQlNfywJeCn8AQ)(tySequence__qwqHTkRvwhrRyENtudHQ7g* x, NI value); N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringV2 msg); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___2FaMhgTYqczm61zqlScqSg)(tySequence__qwqHTkRvwhrRyENtudHQ7g* dest); N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___Gsa4WPnABj84BVdJHxUK1w)(tySequence__qwqHTkRvwhrRyENtudHQ7g x); N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringV2* args, NI argsLen_0); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___dS1BF3Vxjg9aJMmmhVJKSpQ)(NimStringV2* dest); static N_INLINE(NIM_BOOL*, nimErrorFlag)(void); static N_INLINE(void, nimFrame)(TFrame* s); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__mMRdr4sgmnykA9aWeM9aDZlw)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, nimTestErrorFlag)(void); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); static const struct { NI cap; NIM_CHAR data[146+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_4 = { 146 | NIM_STRLIT_FLAG, "/home/runner/.choosenim/toolchains/nim-1.4.0/lib/system/iterato" "rs.nim(137, 11) `len(a) == L` the length of the seq changed whil" "e iterating over it" }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_5 = {146, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_4}; static const struct { NI cap; NI data[1]; } TM__h69aKLv9bAieBdiFzvDngbMw_7 = {1 | NIM_STRLIT_FLAG, {((NI) 0)}}; static const struct { NI cap; tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg data[0]; } TM__h69aKLv9bAieBdiFzvDngbMw_8 = {0 | NIM_STRLIT_FLAG, {}}; static const struct { NI cap; tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg data[1]; } TM__h69aKLv9bAieBdiFzvDngbMw_9 = {1 | NIM_STRLIT_FLAG, {{((NI) 1), {1, (tySequence__qwqHTkRvwhrRyENtudHQ7g_Content*)&TM__h69aKLv9bAieBdiFzvDngbMw_7}, {{0, (tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content*)&TM__h69aKLv9bAieBdiFzvDngbMw_8}} } }}; N_LIB_PRIVATE NIM_CONST tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A foo__hCqMoygJqzo7VoBwyZLxeA = {{1, (tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content*)&TM__h69aKLv9bAieBdiFzvDngbMw_9}} ; static const struct { NI cap; NIM_CHAR data[89+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_10 = { 89 | NIM_STRLIT_FLAG, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim(21, 12) `off` " }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_11 = {89, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_10}; extern NIM_BOOL nimInErrorMode__759bT87luu8XGcbkw13FUjA; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (NIM_BOOL*)0; result = (&nimInErrorMode__759bT87luu8XGcbkw13FUjA); return result; } static N_INLINE(void, nimFrame)(TFrame* s) { { if (!(framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw == NIM_NIL)) goto LA3_; (*s).calldepth = ((NI16) 0); } goto LA1_; LA3_: ; { (*s).calldepth = (NI16)((*framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw).calldepth + ((NI16) 1)); } LA1_: ; (*s).prev = framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw = s; { if (!((*s).calldepth == ((NI16) 2000))) goto LA8_; callDepthLimitReached__mMRdr4sgmnykA9aWeM9aDZlw(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw = (*framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw).prev; } N_LIB_PRIVATE N_NIMCALL(void, doSomething__0gAscWyLWODeYx9aJdiSCeg)(tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A s) { tySequence__qwqHTkRvwhrRyENtudHQ7g ss; NimStringV2 colontmpD_; tyArray__nHXaesL0DJZHyVS07ARPRA T15_; NIM_BOOL* nimErr_; nimfr_("doSomething", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); {nimErr_ = nimErrorFlag(); ss.len = 0; ss.p = NIM_NIL; colontmpD_.len = 0; colontmpD_.p = NIM_NIL; { NI i; NI colontmp_; NI T3_; NI TM__h69aKLv9bAieBdiFzvDngbMw_2; NI res; i = (NI)0; colontmp_ = (NI)0; T3_ = s.s.len; if (nimSubInt(T3_, ((NI) 1), &TM__h69aKLv9bAieBdiFzvDngbMw_2)) { raiseOverflow(); goto LA1_; }; colontmp_ = (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_2); res = ((NI) 0); { while (1) { NI TM__h69aKLv9bAieBdiFzvDngbMw_6; if (!(res <= colontmp_)) goto LA5; i = res; { tySequence__qwqHTkRvwhrRyENtudHQ7g colontmp__2; NI j; NI elm; NI i_2; NI L; NI T7_; colontmp__2.len = 0; colontmp__2.p = NIM_NIL; j = (NI)0; elm = (NI)0; colontmp__2.len = 0; colontmp__2.p = NIM_NIL; if ((NU)(i) >= (NU)s.s.len){ raiseIndexError2(i,s.s.len-1); goto LA1_; } eqcopy___voJ1IJTPQdxEklrxxh17Ew((&colontmp__2), s.s.p->data[i].next); i_2 = ((NI) 0); T7_ = colontmp__2.len; L = T7_; { while (1) { NI colontmpD__2; NI TM__h69aKLv9bAieBdiFzvDngbMw_3; if (!(i_2 < L)) goto LA9; colontmpD__2 = (NI)0; j = i_2; if ((NU)(i_2) >= (NU)colontmp__2.len){ raiseIndexError2(i_2,colontmp__2.len-1); goto LA1_; } elm = colontmp__2.p->data[i_2]; if ((NU)(elm) >= (NU)s.s.len){ raiseIndexError2(elm,s.s.len-1); goto LA1_; } colontmpD__2 = s.s.p->data[elm].n; add__MIAbjRZGBQlNfywJeCn8AQ((&ss), colontmpD__2); if (nimAddInt(i_2, ((NI) 1), &TM__h69aKLv9bAieBdiFzvDngbMw_3)) { raiseOverflow(); goto LA1_; }; i_2 = (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_3); { NI T12_; T12_ = colontmp__2.len; if (!!((T12_ == L))) goto LA13_; failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(TM__h69aKLv9bAieBdiFzvDngbMw_5); if (NIM_UNLIKELY(*nimErr_)) goto LA1_; } LA13_: ; } LA9: ; } eqdestroy___2FaMhgTYqczm61zqlScqSg((&colontmp__2)); } if (nimAddInt(res, ((NI) 1), &TM__h69aKLv9bAieBdiFzvDngbMw_6)) { raiseOverflow(); goto LA1_; }; res = (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_6); } LA5: ; } } colontmpD_ = dollar___Gsa4WPnABj84BVdJHxUK1w(ss); if (NIM_UNLIKELY(*nimErr_)) goto LA1_; T15_[0] = colontmpD_; echoBinSafe(T15_, 1); { LA1_:; } { eqdestroy___dS1BF3Vxjg9aJMmmhVJKSpQ((&colontmpD_)); eqdestroy___2FaMhgTYqczm61zqlScqSg((&ss)); } if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; }BeforeRet_: ; popFrame(); } static N_INLINE(void, initStackBottomWith)(void* locals) { } N_LIB_PRIVATE void PreMainInner(void) { } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { void (*volatile inner)(void); inner = PreMainInner; systemDatInit000(); systemInit000(); (*inner)(); } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { void (*volatile inner)(void); PreMain(); inner = NimMainInner; initStackBottomWith((void *)&inner); (*inner)(); } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { NIM_BOOL* nimErr_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); nimErr_ = nimErrorFlag(); doSomething__0gAscWyLWODeYx9aJdiSCeg(foo__hCqMoygJqzo7VoBwyZLxeA); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; { if (!NIM_TRUE) goto LA3_; failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(TM__h69aKLv9bAieBdiFzvDngbMw_11); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; } LA3_: ; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("Node"), newEmptyNode(), nnkObjectTy.newTree( newEmptyNode(), newEmptyNode(), nnkRecList.newTree( nnkIdentDefs.newTree( newIdentNode("n"), newIdentNode("int"), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("next"), nnkBracketExpr.newTree( newIdentNode("seq"), newIdentNode("int") ), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("foobar"), newIdentNode("FooBar"), newEmptyNode() ) ) ) ), nnkTypeDef.newTree( newIdentNode("FooBar"), newEmptyNode(), nnkObjectTy.newTree( newEmptyNode(), newEmptyNode(), nnkRecList.newTree( nnkIdentDefs.newTree( newIdentNode("s"), nnkBracketExpr.newTree( newIdentNode("seq"), newIdentNode("Node") ), newEmptyNode() ) ) ) ) ), nnkProcDef.newTree( nnkAccQuoted.newTree( newIdentNode("="), newIdentNode("copy") ), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("dest"), nnkVarTy.newTree( newIdentNode("Node") ), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("source"), newIdentNode("Node"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("error") ), newEmptyNode(), newEmptyNode() ), nnkProcDef.newTree( nnkAccQuoted.newTree( newIdentNode("="), newIdentNode("copy") ), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("dest"), nnkVarTy.newTree( newIdentNode("FooBar") ), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("source"), newIdentNode("FooBar"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("error") ), newEmptyNode(), newEmptyNode() ), nnkProcDef.newTree( newIdentNode("doSomething"), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("s"), newIdentNode("FooBar"), newEmptyNode() ) ), newEmptyNode(), newEmptyNode(), nnkStmtList.newTree( nnkVarSection.newTree( nnkIdentDefs.newTree( newIdentNode("ss"), nnkBracketExpr.newTree( newIdentNode("seq"), newIdentNode("int") ), newEmptyNode() ) ), nnkPragma.newTree( nnkExprColonExpr.newTree( newIdentNode("emit"), newLit("/* STARTS */\n") ) ), nnkForStmt.newTree( newIdentNode("i"), nnkInfix.newTree( newIdentNode(".."), newLit(0), nnkInfix.newTree( newIdentNode("-"), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("s") ), newIdentNode("len") ), newLit(1) ) ), nnkStmtList.newTree( nnkForStmt.newTree( newIdentNode("j"), newIdentNode("elm"), nnkCommand.newTree( newIdentNode("pairs"), nnkDotExpr.newTree( nnkBracketExpr.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("s") ), newIdentNode("i") ), newIdentNode("next") ) ), nnkStmtList.newTree( nnkCommand.newTree( nnkDotExpr.newTree( newIdentNode("ss"), newIdentNode("add") ), nnkDotExpr.newTree( nnkBracketExpr.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("s") ), newIdentNode("elm") ), newIdentNode("n") ) ) ) ) ) ), nnkPragma.newTree( nnkExprColonExpr.newTree( newIdentNode("emit"), newLit("/* ENDS */\n") ) ), nnkCommand.newTree( newIdentNode("echo"), newIdentNode("ss") ) ) ), nnkWhenStmt.newTree( nnkElifBranch.newTree( newIdentNode("isMainModule"), nnkStmtList.newTree( nnkConstSection.newTree( nnkConstDef.newTree( newIdentNode("foo"), newEmptyNode(), nnkObjConstr.newTree( newIdentNode("FooBar"), nnkExprColonExpr.newTree( newIdentNode("s"), nnkPrefix.newTree( newIdentNode("@"), nnkBracket.newTree( nnkObjConstr.newTree( newIdentNode("Node"), nnkExprColonExpr.newTree( newIdentNode("n"), newLit(1) ), nnkExprColonExpr.newTree( newIdentNode("next"), nnkPrefix.newTree( newIdentNode("@"), nnkBracket.newTree( newLit(0) ) ) ) ) ) ) ) ) ) ), nnkCall.newTree( newIdentNode("doSomething"), newIdentNode("foo") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("off") ) ) ) ) ) ```
0.20.2 :-1: FAIL

Output

``` Error: Command failed: nim c --gc:orc -d:nimArcDebug -d:nimArcIds --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim command line(1, 2) Error: 'none', 'boehm' or 'refc' expected, but 'orc' found ```

Stats

  • Started 2023-08-25T12:32:23
  • Finished 2023-08-25T12:32:23
  • Duration

IR

Compiled filesize 98.04 Kb (100,392 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix # define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); # define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename; NI len; VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); # define nimln_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A; typedef struct tySequence__2vftXJCjh8IqY9b1uLnyUVw tySequence__2vftXJCjh8IqY9b1uLnyUVw; typedef struct tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content; typedef struct tySequence__qwqHTkRvwhrRyENtudHQ7g tySequence__qwqHTkRvwhrRyENtudHQ7g; typedef struct tySequence__qwqHTkRvwhrRyENtudHQ7g_Content tySequence__qwqHTkRvwhrRyENtudHQ7g_Content; typedef struct NimStrPayload NimStrPayload; typedef struct NimStringV2 NimStringV2; typedef struct tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg; struct tySequence__2vftXJCjh8IqY9b1uLnyUVw { NI len; tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content* p; }; struct tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A { tySequence__2vftXJCjh8IqY9b1uLnyUVw s; }; struct tySequence__qwqHTkRvwhrRyENtudHQ7g { NI len; tySequence__qwqHTkRvwhrRyENtudHQ7g_Content* p; }; struct NimStrPayload { NI cap; NIM_CHAR data[SEQ_DECL_SIZE]; }; struct NimStringV2 { NI len; NimStrPayload* p; }; struct tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg { NI n; tySequence__qwqHTkRvwhrRyENtudHQ7g next; tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A foobar; }; typedef NimStringV2 tyArray__nHXaesL0DJZHyVS07ARPRA[1]; #ifndef tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content_PP #define tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content_PP struct tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content { NI cap; tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg data[SEQ_DECL_SIZE];}; #endif #ifndef tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP #define tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP struct tySequence__qwqHTkRvwhrRyENtudHQ7g_Content { NI cap; NI data[SEQ_DECL_SIZE];}; #endif #ifndef tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP #define tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP struct tySequence__qwqHTkRvwhrRyENtudHQ7g_Content { NI cap; NI data[SEQ_DECL_SIZE];}; #endif #ifndef tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP #define tySequence__qwqHTkRvwhrRyENtudHQ7g_Content_PP struct tySequence__qwqHTkRvwhrRyENtudHQ7g_Content { NI cap; NI data[SEQ_DECL_SIZE];}; #endif N_LIB_PRIVATE N_NIMCALL(void, doSomething__0gAscWyLWODeYx9aJdiSCeg)(tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A s); N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void); N_LIB_PRIVATE N_NIMCALL(void, eqcopy___voJ1IJTPQdxEklrxxh17Ew)(tySequence__qwqHTkRvwhrRyENtudHQ7g* dest, tySequence__qwqHTkRvwhrRyENtudHQ7g src); N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n); N_LIB_PRIVATE N_NIMCALL(void, add__MIAbjRZGBQlNfywJeCn8AQ)(tySequence__qwqHTkRvwhrRyENtudHQ7g* x, NI value); N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringV2 msg); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___2FaMhgTYqczm61zqlScqSg)(tySequence__qwqHTkRvwhrRyENtudHQ7g* dest); N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___Gsa4WPnABj84BVdJHxUK1w)(tySequence__qwqHTkRvwhrRyENtudHQ7g x); N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringV2* args, NI argsLen_0); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___dS1BF3Vxjg9aJMmmhVJKSpQ)(NimStringV2* dest); static N_INLINE(NIM_BOOL*, nimErrorFlag)(void); static N_INLINE(void, nimFrame)(TFrame* s); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__mMRdr4sgmnykA9aWeM9aDZlw)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, nimTestErrorFlag)(void); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); static const struct { NI cap; NIM_CHAR data[146+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_4 = { 146 | NIM_STRLIT_FLAG, "/home/runner/.choosenim/toolchains/nim-1.4.0/lib/system/iterato" "rs.nim(137, 11) `len(a) == L` the length of the seq changed whil" "e iterating over it" }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_5 = {146, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_4}; static const struct { NI cap; NI data[1]; } TM__h69aKLv9bAieBdiFzvDngbMw_7 = {1 | NIM_STRLIT_FLAG, {((NI) 0)}}; static const struct { NI cap; tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg data[0]; } TM__h69aKLv9bAieBdiFzvDngbMw_8 = {0 | NIM_STRLIT_FLAG, {}}; static const struct { NI cap; tyObject_Node__6u9bBWFsbTYg1VPN9b2RigGg data[1]; } TM__h69aKLv9bAieBdiFzvDngbMw_9 = {1 | NIM_STRLIT_FLAG, {{((NI) 1), {1, (tySequence__qwqHTkRvwhrRyENtudHQ7g_Content*)&TM__h69aKLv9bAieBdiFzvDngbMw_7}, {{0, (tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content*)&TM__h69aKLv9bAieBdiFzvDngbMw_8}} } }}; N_LIB_PRIVATE NIM_CONST tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A foo__hCqMoygJqzo7VoBwyZLxeA = {{1, (tySequence__2vftXJCjh8IqY9b1uLnyUVw_Content*)&TM__h69aKLv9bAieBdiFzvDngbMw_9}} ; static const struct { NI cap; NIM_CHAR data[89+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_10 = { 89 | NIM_STRLIT_FLAG, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim(21, 12) `off` " }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_11 = {89, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_10}; extern NIM_BOOL nimInErrorMode__759bT87luu8XGcbkw13FUjA; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (NIM_BOOL*)0; result = (&nimInErrorMode__759bT87luu8XGcbkw13FUjA); return result; } static N_INLINE(void, nimFrame)(TFrame* s) { { if (!(framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw == NIM_NIL)) goto LA3_; (*s).calldepth = ((NI16) 0); } goto LA1_; LA3_: ; { (*s).calldepth = (NI16)((*framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw).calldepth + ((NI16) 1)); } LA1_: ; (*s).prev = framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw = s; { if (!((*s).calldepth == ((NI16) 2000))) goto LA8_; callDepthLimitReached__mMRdr4sgmnykA9aWeM9aDZlw(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw = (*framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw).prev; } N_LIB_PRIVATE N_NIMCALL(void, doSomething__0gAscWyLWODeYx9aJdiSCeg)(tyObject_FooBar__o9aUALoNKwh1krnHWpXnJ0A s) { tySequence__qwqHTkRvwhrRyENtudHQ7g ss; NimStringV2 colontmpD_; tyArray__nHXaesL0DJZHyVS07ARPRA T15_; NIM_BOOL* nimErr_; nimfr_("doSomething", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); {nimErr_ = nimErrorFlag(); ss.len = 0; ss.p = NIM_NIL; colontmpD_.len = 0; colontmpD_.p = NIM_NIL; { NI i; NI colontmp_; NI T3_; NI TM__h69aKLv9bAieBdiFzvDngbMw_2; NI res; i = (NI)0; colontmp_ = (NI)0; T3_ = s.s.len; if (nimSubInt(T3_, ((NI) 1), &TM__h69aKLv9bAieBdiFzvDngbMw_2)) { raiseOverflow(); goto LA1_; }; colontmp_ = (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_2); res = ((NI) 0); { while (1) { NI TM__h69aKLv9bAieBdiFzvDngbMw_6; if (!(res <= colontmp_)) goto LA5; i = res; { tySequence__qwqHTkRvwhrRyENtudHQ7g colontmp__2; NI j; NI elm; NI i_2; NI L; NI T7_; colontmp__2.len = 0; colontmp__2.p = NIM_NIL; j = (NI)0; elm = (NI)0; colontmp__2.len = 0; colontmp__2.p = NIM_NIL; if ((NU)(i) >= (NU)s.s.len){ raiseIndexError2(i,s.s.len-1); goto LA1_; } eqcopy___voJ1IJTPQdxEklrxxh17Ew((&colontmp__2), s.s.p->data[i].next); i_2 = ((NI) 0); T7_ = colontmp__2.len; L = T7_; { while (1) { NI colontmpD__2; NI TM__h69aKLv9bAieBdiFzvDngbMw_3; if (!(i_2 < L)) goto LA9; colontmpD__2 = (NI)0; j = i_2; if ((NU)(i_2) >= (NU)colontmp__2.len){ raiseIndexError2(i_2,colontmp__2.len-1); goto LA1_; } elm = colontmp__2.p->data[i_2]; if ((NU)(elm) >= (NU)s.s.len){ raiseIndexError2(elm,s.s.len-1); goto LA1_; } colontmpD__2 = s.s.p->data[elm].n; add__MIAbjRZGBQlNfywJeCn8AQ((&ss), colontmpD__2); if (nimAddInt(i_2, ((NI) 1), &TM__h69aKLv9bAieBdiFzvDngbMw_3)) { raiseOverflow(); goto LA1_; }; i_2 = (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_3); { NI T12_; T12_ = colontmp__2.len; if (!!((T12_ == L))) goto LA13_; failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(TM__h69aKLv9bAieBdiFzvDngbMw_5); if (NIM_UNLIKELY(*nimErr_)) goto LA1_; } LA13_: ; } LA9: ; } eqdestroy___2FaMhgTYqczm61zqlScqSg((&colontmp__2)); } if (nimAddInt(res, ((NI) 1), &TM__h69aKLv9bAieBdiFzvDngbMw_6)) { raiseOverflow(); goto LA1_; }; res = (NI)(TM__h69aKLv9bAieBdiFzvDngbMw_6); } LA5: ; } } colontmpD_ = dollar___Gsa4WPnABj84BVdJHxUK1w(ss); if (NIM_UNLIKELY(*nimErr_)) goto LA1_; T15_[0] = colontmpD_; echoBinSafe(T15_, 1); { LA1_:; } { eqdestroy___dS1BF3Vxjg9aJMmmhVJKSpQ((&colontmpD_)); eqdestroy___2FaMhgTYqczm61zqlScqSg((&ss)); } if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; }BeforeRet_: ; popFrame(); } static N_INLINE(void, initStackBottomWith)(void* locals) { } N_LIB_PRIVATE void PreMainInner(void) { } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { void (*volatile inner)(void); inner = PreMainInner; systemDatInit000(); systemInit000(); (*inner)(); } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { void (*volatile inner)(void); PreMain(); inner = NimMainInner; initStackBottomWith((void *)&inner); (*inner)(); } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { NIM_BOOL* nimErr_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); nimErr_ = nimErrorFlag(); doSomething__0gAscWyLWODeYx9aJdiSCeg(foo__hCqMoygJqzo7VoBwyZLxeA); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; { if (!NIM_TRUE) goto LA3_; failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(TM__h69aKLv9bAieBdiFzvDngbMw_11); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; } LA3_: ; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("Node"), newEmptyNode(), nnkObjectTy.newTree( newEmptyNode(), newEmptyNode(), nnkRecList.newTree( nnkIdentDefs.newTree( newIdentNode("n"), newIdentNode("int"), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("next"), nnkBracketExpr.newTree( newIdentNode("seq"), newIdentNode("int") ), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("foobar"), newIdentNode("FooBar"), newEmptyNode() ) ) ) ), nnkTypeDef.newTree( newIdentNode("FooBar"), newEmptyNode(), nnkObjectTy.newTree( newEmptyNode(), newEmptyNode(), nnkRecList.newTree( nnkIdentDefs.newTree( newIdentNode("s"), nnkBracketExpr.newTree( newIdentNode("seq"), newIdentNode("Node") ), newEmptyNode() ) ) ) ) ), nnkProcDef.newTree( nnkAccQuoted.newTree( newIdentNode("="), newIdentNode("copy") ), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("dest"), nnkVarTy.newTree( newIdentNode("Node") ), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("source"), newIdentNode("Node"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("error") ), newEmptyNode(), newEmptyNode() ), nnkProcDef.newTree( nnkAccQuoted.newTree( newIdentNode("="), newIdentNode("copy") ), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("dest"), nnkVarTy.newTree( newIdentNode("FooBar") ), newEmptyNode() ), nnkIdentDefs.newTree( newIdentNode("source"), newIdentNode("FooBar"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("error") ), newEmptyNode(), newEmptyNode() ), nnkProcDef.newTree( newIdentNode("doSomething"), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("s"), newIdentNode("FooBar"), newEmptyNode() ) ), newEmptyNode(), newEmptyNode(), nnkStmtList.newTree( nnkVarSection.newTree( nnkIdentDefs.newTree( newIdentNode("ss"), nnkBracketExpr.newTree( newIdentNode("seq"), newIdentNode("int") ), newEmptyNode() ) ), nnkPragma.newTree( nnkExprColonExpr.newTree( newIdentNode("emit"), newLit("/* STARTS */\n") ) ), nnkForStmt.newTree( newIdentNode("i"), nnkInfix.newTree( newIdentNode(".."), newLit(0), nnkInfix.newTree( newIdentNode("-"), nnkDotExpr.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("s") ), newIdentNode("len") ), newLit(1) ) ), nnkStmtList.newTree( nnkForStmt.newTree( newIdentNode("j"), newIdentNode("elm"), nnkCommand.newTree( newIdentNode("pairs"), nnkDotExpr.newTree( nnkBracketExpr.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("s") ), newIdentNode("i") ), newIdentNode("next") ) ), nnkStmtList.newTree( nnkCommand.newTree( nnkDotExpr.newTree( newIdentNode("ss"), newIdentNode("add") ), nnkDotExpr.newTree( nnkBracketExpr.newTree( nnkDotExpr.newTree( newIdentNode("s"), newIdentNode("s") ), newIdentNode("elm") ), newIdentNode("n") ) ) ) ) ) ), nnkPragma.newTree( nnkExprColonExpr.newTree( newIdentNode("emit"), newLit("/* ENDS */\n") ) ), nnkCommand.newTree( newIdentNode("echo"), newIdentNode("ss") ) ) ), nnkWhenStmt.newTree( nnkElifBranch.newTree( newIdentNode("isMainModule"), nnkStmtList.newTree( nnkConstSection.newTree( nnkConstDef.newTree( newIdentNode("foo"), newEmptyNode(), nnkObjConstr.newTree( newIdentNode("FooBar"), nnkExprColonExpr.newTree( newIdentNode("s"), nnkPrefix.newTree( newIdentNode("@"), nnkBracket.newTree( nnkObjConstr.newTree( newIdentNode("Node"), nnkExprColonExpr.newTree( newIdentNode("n"), newLit(1) ), nnkExprColonExpr.newTree( newIdentNode("next"), nnkPrefix.newTree( newIdentNode("@"), nnkBracket.newTree( newLit(0) ) ) ) ) ) ) ) ) ) ), nnkCall.newTree( newIdentNode("doSomething"), newIdentNode("foo") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("off") ) ) ) ) ) ```
Stats
  • GCC (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
  • LibC (Ubuntu GLIBC 2.35-0ubuntu3.1) 2.35
  • Valgrind 3.18.1
  • NodeJS 18.17.1
  • Linux 5.15.0-1041-
  • Created 2023-08-25T12:30:52Z
  • Issue Comments 34
  • Commands nim c --gc:orc -d:nimArcDebug -d:nimArcIds --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
:robot: Bug found in 51 minutes bisecting 8 commits at 0 commits per second.
juancarlospaco commented 1 year ago

!nim c

import nimpy
echo 42
nimble install -y nimpy
github-actions[bot] commented 1 year ago

@juancarlospaco (owner)

devel :+1: $\color{green}\textbf{\large OK}$

Output

42

Stats

  • Started 2023-08-28T20:20:08
  • Finished 2023-08-28T20:20:10
  • Duration 2 minutes
stable :+1: $\color{green}\textbf{\large OK}$

Output

42

Stats

  • Started 2023-08-28T20:20:11
  • Finished 2023-08-28T20:20:12
  • Duration 1 minutes
2.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

42

Stats

  • Started 2023-08-28T20:20:12
  • Finished 2023-08-28T20:20:14
  • Duration 1 minutes
1.6.0 :-1: FAIL

Output

Error: Command failed: nim c --run  -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: nimpy

Stats

  • Started 2023-08-28T20:20:17
  • Finished 2023-08-28T20:20:17
  • Duration

IR

Compiled filesize 92.97 Kb (95,200 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix #define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); #define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); #define nimln_(n) \ FR_.line = n; #define nimlf_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStrPayload NimStrPayload; typedef struct NimStringV2 NimStringV2; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg tySequence__lSJXnt8Z3APrrNT2aUxyeg; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content; typedef struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ; struct NimStrPayload { NI cap; NIM_CHAR data[SEQ_DECL_SIZE]; }; struct NimStringV2 { NI len; NimStrPayload* p; }; typedef NimStringV2 tyArray__nHXaesL0DJZHyVS07ARPRA[1]; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg { NI len; tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content* p; }; struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ { NimStringV2 name; void* initAddr2; void* initAddr3; }; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content { NI cap; tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringV2* args_p0, NI args_p0Len_0); N_LIB_PRIVATE N_NIMCALL(void, nimTestErrorFlag)(void); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734)(tySequence__lSJXnt8Z3APrrNT2aUxyeg dest_p0); static N_INLINE(NIM_BOOL*, nimErrorFlag)(void); static N_INLINE(void, nimFrame)(TFrame* s_p0); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__system_u4607)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); static const struct { NI cap; NIM_CHAR data[2+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_3 = { 2 | NIM_STRLIT_FLAG, "42" }; static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_2 = {{2, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_3}} ; extern tySequence__lSJXnt8Z3APrrNT2aUxyeg exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289; extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4389; extern NIM_THREADVAR TFrame* framePtr__system_u4006; static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (NIM_BOOL*)0; result = (&nimInErrorMode__system_u4389); return result; } static N_INLINE(void, nimFrame)(TFrame* s_p0) { { if (!(framePtr__system_u4006 == ((TFrame*) NIM_NIL))) goto LA3_; (*s_p0).calldepth = ((NI16)0); } goto LA1_; LA3_: ; { (*s_p0).calldepth = (NI16)((*framePtr__system_u4006).calldepth + ((NI16)1)); } LA1_: ; (*s_p0).prev = framePtr__system_u4006; framePtr__system_u4006 = s_p0; { if (!((*s_p0).calldepth == ((NI16)2000))) goto LA8_; callDepthLimitReached__system_u4607(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__system_u4006 = (*framePtr__system_u4006).prev; } N_LIB_PRIVATE void PreMainInner(void) { atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { #if 0 void (*volatile inner)(void); inner = PreMainInner; atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); (*inner)(); #else atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); PreMainInner(); #endif } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { #if 0 void (*volatile inner)(void); PreMain(); inner = NimMainInner; (*inner)(); #else PreMain(); NimMainInner(); #endif } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { NIM_BOOL* nimErr_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); nimErr_ = nimErrorFlag(); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_2, 1); eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734(exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("echo"), newLit(42) ) ) ```
1.4.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: nimpy ```

Stats

  • Started 2023-08-28T20:20:20
  • Finished 2023-08-28T20:20:20
  • Duration

IR

Compiled filesize 92.97 Kb (95,200 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix #define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); #define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); #define nimln_(n) \ FR_.line = n; #define nimlf_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStrPayload NimStrPayload; typedef struct NimStringV2 NimStringV2; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg tySequence__lSJXnt8Z3APrrNT2aUxyeg; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content; typedef struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ; struct NimStrPayload { NI cap; NIM_CHAR data[SEQ_DECL_SIZE]; }; struct NimStringV2 { NI len; NimStrPayload* p; }; typedef NimStringV2 tyArray__nHXaesL0DJZHyVS07ARPRA[1]; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg { NI len; tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content* p; }; struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ { NimStringV2 name; void* initAddr2; void* initAddr3; }; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content { NI cap; tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringV2* args_p0, NI args_p0Len_0); N_LIB_PRIVATE N_NIMCALL(void, nimTestErrorFlag)(void); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734)(tySequence__lSJXnt8Z3APrrNT2aUxyeg dest_p0); static N_INLINE(NIM_BOOL*, nimErrorFlag)(void); static N_INLINE(void, nimFrame)(TFrame* s_p0); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__system_u4607)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); static const struct { NI cap; NIM_CHAR data[2+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_3 = { 2 | NIM_STRLIT_FLAG, "42" }; static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_2 = {{2, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_3}} ; extern tySequence__lSJXnt8Z3APrrNT2aUxyeg exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289; extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4389; extern NIM_THREADVAR TFrame* framePtr__system_u4006; static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (NIM_BOOL*)0; result = (&nimInErrorMode__system_u4389); return result; } static N_INLINE(void, nimFrame)(TFrame* s_p0) { { if (!(framePtr__system_u4006 == ((TFrame*) NIM_NIL))) goto LA3_; (*s_p0).calldepth = ((NI16)0); } goto LA1_; LA3_: ; { (*s_p0).calldepth = (NI16)((*framePtr__system_u4006).calldepth + ((NI16)1)); } LA1_: ; (*s_p0).prev = framePtr__system_u4006; framePtr__system_u4006 = s_p0; { if (!((*s_p0).calldepth == ((NI16)2000))) goto LA8_; callDepthLimitReached__system_u4607(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__system_u4006 = (*framePtr__system_u4006).prev; } N_LIB_PRIVATE void PreMainInner(void) { atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { #if 0 void (*volatile inner)(void); inner = PreMainInner; atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); (*inner)(); #else atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); PreMainInner(); #endif } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { #if 0 void (*volatile inner)(void); PreMain(); inner = NimMainInner; (*inner)(); #else PreMain(); NimMainInner(); #endif } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { NIM_BOOL* nimErr_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); nimErr_ = nimErrorFlag(); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_2, 1); eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734(exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("echo"), newLit(42) ) ) ```
1.2.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: nimpy ```

Stats

  • Started 2023-08-28T20:20:37
  • Finished 2023-08-28T20:20:37
  • Duration

IR

Compiled filesize 92.97 Kb (95,200 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix #define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); #define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); #define nimln_(n) \ FR_.line = n; #define nimlf_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStrPayload NimStrPayload; typedef struct NimStringV2 NimStringV2; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg tySequence__lSJXnt8Z3APrrNT2aUxyeg; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content; typedef struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ; struct NimStrPayload { NI cap; NIM_CHAR data[SEQ_DECL_SIZE]; }; struct NimStringV2 { NI len; NimStrPayload* p; }; typedef NimStringV2 tyArray__nHXaesL0DJZHyVS07ARPRA[1]; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg { NI len; tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content* p; }; struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ { NimStringV2 name; void* initAddr2; void* initAddr3; }; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content { NI cap; tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringV2* args_p0, NI args_p0Len_0); N_LIB_PRIVATE N_NIMCALL(void, nimTestErrorFlag)(void); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734)(tySequence__lSJXnt8Z3APrrNT2aUxyeg dest_p0); static N_INLINE(NIM_BOOL*, nimErrorFlag)(void); static N_INLINE(void, nimFrame)(TFrame* s_p0); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__system_u4607)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); static const struct { NI cap; NIM_CHAR data[2+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_3 = { 2 | NIM_STRLIT_FLAG, "42" }; static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_2 = {{2, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_3}} ; extern tySequence__lSJXnt8Z3APrrNT2aUxyeg exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289; extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4389; extern NIM_THREADVAR TFrame* framePtr__system_u4006; static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (NIM_BOOL*)0; result = (&nimInErrorMode__system_u4389); return result; } static N_INLINE(void, nimFrame)(TFrame* s_p0) { { if (!(framePtr__system_u4006 == ((TFrame*) NIM_NIL))) goto LA3_; (*s_p0).calldepth = ((NI16)0); } goto LA1_; LA3_: ; { (*s_p0).calldepth = (NI16)((*framePtr__system_u4006).calldepth + ((NI16)1)); } LA1_: ; (*s_p0).prev = framePtr__system_u4006; framePtr__system_u4006 = s_p0; { if (!((*s_p0).calldepth == ((NI16)2000))) goto LA8_; callDepthLimitReached__system_u4607(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__system_u4006 = (*framePtr__system_u4006).prev; } N_LIB_PRIVATE void PreMainInner(void) { atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { #if 0 void (*volatile inner)(void); inner = PreMainInner; atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); (*inner)(); #else atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); PreMainInner(); #endif } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { #if 0 void (*volatile inner)(void); PreMain(); inner = NimMainInner; (*inner)(); #else PreMain(); NimMainInner(); #endif } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { NIM_BOOL* nimErr_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); nimErr_ = nimErrorFlag(); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_2, 1); eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734(exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("echo"), newLit(42) ) ) ```
1.0.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: nimpy ```

Stats

  • Started 2023-08-28T20:20:49
  • Finished 2023-08-28T20:20:49
  • Duration

IR

Compiled filesize 92.97 Kb (95,200 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix #define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); #define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); #define nimln_(n) \ FR_.line = n; #define nimlf_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStrPayload NimStrPayload; typedef struct NimStringV2 NimStringV2; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg tySequence__lSJXnt8Z3APrrNT2aUxyeg; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content; typedef struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ; struct NimStrPayload { NI cap; NIM_CHAR data[SEQ_DECL_SIZE]; }; struct NimStringV2 { NI len; NimStrPayload* p; }; typedef NimStringV2 tyArray__nHXaesL0DJZHyVS07ARPRA[1]; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg { NI len; tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content* p; }; struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ { NimStringV2 name; void* initAddr2; void* initAddr3; }; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content { NI cap; tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringV2* args_p0, NI args_p0Len_0); N_LIB_PRIVATE N_NIMCALL(void, nimTestErrorFlag)(void); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734)(tySequence__lSJXnt8Z3APrrNT2aUxyeg dest_p0); static N_INLINE(NIM_BOOL*, nimErrorFlag)(void); static N_INLINE(void, nimFrame)(TFrame* s_p0); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__system_u4607)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); static const struct { NI cap; NIM_CHAR data[2+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_3 = { 2 | NIM_STRLIT_FLAG, "42" }; static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_2 = {{2, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_3}} ; extern tySequence__lSJXnt8Z3APrrNT2aUxyeg exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289; extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4389; extern NIM_THREADVAR TFrame* framePtr__system_u4006; static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (NIM_BOOL*)0; result = (&nimInErrorMode__system_u4389); return result; } static N_INLINE(void, nimFrame)(TFrame* s_p0) { { if (!(framePtr__system_u4006 == ((TFrame*) NIM_NIL))) goto LA3_; (*s_p0).calldepth = ((NI16)0); } goto LA1_; LA3_: ; { (*s_p0).calldepth = (NI16)((*framePtr__system_u4006).calldepth + ((NI16)1)); } LA1_: ; (*s_p0).prev = framePtr__system_u4006; framePtr__system_u4006 = s_p0; { if (!((*s_p0).calldepth == ((NI16)2000))) goto LA8_; callDepthLimitReached__system_u4607(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__system_u4006 = (*framePtr__system_u4006).prev; } N_LIB_PRIVATE void PreMainInner(void) { atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { #if 0 void (*volatile inner)(void); inner = PreMainInner; atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); (*inner)(); #else atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); PreMainInner(); #endif } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { #if 0 void (*volatile inner)(void); PreMain(); inner = NimMainInner; (*inner)(); #else PreMain(); NimMainInner(); #endif } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { NIM_BOOL* nimErr_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); nimErr_ = nimErrorFlag(); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_2, 1); eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734(exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("echo"), newLit(42) ) ) ```
0.20.2 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: nimpy ```

Stats

  • Started 2023-08-28T20:20:59
  • Finished 2023-08-28T20:20:59
  • Duration

IR

Compiled filesize 92.97 Kb (95,200 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix #define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); #define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); #define nimln_(n) \ FR_.line = n; #define nimlf_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStrPayload NimStrPayload; typedef struct NimStringV2 NimStringV2; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg tySequence__lSJXnt8Z3APrrNT2aUxyeg; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content; typedef struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ; struct NimStrPayload { NI cap; NIM_CHAR data[SEQ_DECL_SIZE]; }; struct NimStringV2 { NI len; NimStrPayload* p; }; typedef NimStringV2 tyArray__nHXaesL0DJZHyVS07ARPRA[1]; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg { NI len; tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content* p; }; struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ { NimStringV2 name; void* initAddr2; void* initAddr3; }; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content { NI cap; tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringV2* args_p0, NI args_p0Len_0); N_LIB_PRIVATE N_NIMCALL(void, nimTestErrorFlag)(void); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734)(tySequence__lSJXnt8Z3APrrNT2aUxyeg dest_p0); static N_INLINE(NIM_BOOL*, nimErrorFlag)(void); static N_INLINE(void, nimFrame)(TFrame* s_p0); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__system_u4607)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); static const struct { NI cap; NIM_CHAR data[2+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_3 = { 2 | NIM_STRLIT_FLAG, "42" }; static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_2 = {{2, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_3}} ; extern tySequence__lSJXnt8Z3APrrNT2aUxyeg exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289; extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4389; extern NIM_THREADVAR TFrame* framePtr__system_u4006; static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (NIM_BOOL*)0; result = (&nimInErrorMode__system_u4389); return result; } static N_INLINE(void, nimFrame)(TFrame* s_p0) { { if (!(framePtr__system_u4006 == ((TFrame*) NIM_NIL))) goto LA3_; (*s_p0).calldepth = ((NI16)0); } goto LA1_; LA3_: ; { (*s_p0).calldepth = (NI16)((*framePtr__system_u4006).calldepth + ((NI16)1)); } LA1_: ; (*s_p0).prev = framePtr__system_u4006; framePtr__system_u4006 = s_p0; { if (!((*s_p0).calldepth == ((NI16)2000))) goto LA8_; callDepthLimitReached__system_u4607(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__system_u4006 = (*framePtr__system_u4006).prev; } N_LIB_PRIVATE void PreMainInner(void) { atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { #if 0 void (*volatile inner)(void); inner = PreMainInner; atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); (*inner)(); #else atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); PreMainInner(); #endif } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { #if 0 void (*volatile inner)(void); PreMain(); inner = NimMainInner; (*inner)(); #else PreMain(); NimMainInner(); #endif } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { NIM_BOOL* nimErr_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); nimErr_ = nimErrorFlag(); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_2, 1); eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734(exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("echo"), newLit(42) ) ) ```
Stats
  • GCC 11.4.0
  • LibC 2.35
  • Valgrind 3.18.1
  • NodeJS 17.1
  • Linux 5.15.0
  • Created 2023-08-28T20:19:18Z
  • Comments 36
  • Commands nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim

Bash Ouput

```sh Prompt: No local packages.json found, download it from internet? -> [forced yes] Downloading Official package list Success Package list downloaded. Downloading https://github.com/yglukhov/nimpy using git Warning: The package has no tagged releases, downloading HEAD instead. Verifying dependencies for nimpy@0.2.0 Installing nimpy@0.2.0 Success: nimpy installed successfully. ```
:robot: Bug found in 17 minutes bisecting 8 commits at 0 commits per second.
juancarlospaco commented 1 year ago

!nim c

import nimpy
echo 42
nimble install -y nimpy
github-actions[bot] commented 1 year ago

@juancarlospaco (owner)

devel :+1: $\color{green}\textbf{\large OK}$

Output

42

Stats

  • Started 2023-08-28T20:54:15
  • Finished 2023-08-28T20:54:18
  • Duration 2 minutes
stable :+1: $\color{green}\textbf{\large OK}$

Output

42

Stats

  • Started 2023-08-28T20:54:18
  • Finished 2023-08-28T20:54:19
  • Duration 1 minutes
2.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

42

Stats

  • Started 2023-08-28T20:54:19
  • Finished 2023-08-28T20:54:21
  • Duration 1 minutes
1.6.0 :-1: FAIL

Output

Error: Command failed: nim c --run  -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: nimpy

Stats

  • Started 2023-08-28T20:54:24
  • Finished 2023-08-28T20:54:24
  • Duration

IR

Compiled filesize 92.97 Kb (95,200 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix #define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); #define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); #define nimln_(n) \ FR_.line = n; #define nimlf_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStrPayload NimStrPayload; typedef struct NimStringV2 NimStringV2; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg tySequence__lSJXnt8Z3APrrNT2aUxyeg; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content; typedef struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ; struct NimStrPayload { NI cap; NIM_CHAR data[SEQ_DECL_SIZE]; }; struct NimStringV2 { NI len; NimStrPayload* p; }; typedef NimStringV2 tyArray__nHXaesL0DJZHyVS07ARPRA[1]; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg { NI len; tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content* p; }; struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ { NimStringV2 name; void* initAddr2; void* initAddr3; }; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content { NI cap; tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringV2* args_p0, NI args_p0Len_0); N_LIB_PRIVATE N_NIMCALL(void, nimTestErrorFlag)(void); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734)(tySequence__lSJXnt8Z3APrrNT2aUxyeg dest_p0); static N_INLINE(NIM_BOOL*, nimErrorFlag)(void); static N_INLINE(void, nimFrame)(TFrame* s_p0); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__system_u4607)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); static const struct { NI cap; NIM_CHAR data[2+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_3 = { 2 | NIM_STRLIT_FLAG, "42" }; static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_2 = {{2, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_3}} ; extern tySequence__lSJXnt8Z3APrrNT2aUxyeg exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289; extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4389; extern NIM_THREADVAR TFrame* framePtr__system_u4006; static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (NIM_BOOL*)0; result = (&nimInErrorMode__system_u4389); return result; } static N_INLINE(void, nimFrame)(TFrame* s_p0) { { if (!(framePtr__system_u4006 == ((TFrame*) NIM_NIL))) goto LA3_; (*s_p0).calldepth = ((NI16)0); } goto LA1_; LA3_: ; { (*s_p0).calldepth = (NI16)((*framePtr__system_u4006).calldepth + ((NI16)1)); } LA1_: ; (*s_p0).prev = framePtr__system_u4006; framePtr__system_u4006 = s_p0; { if (!((*s_p0).calldepth == ((NI16)2000))) goto LA8_; callDepthLimitReached__system_u4607(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__system_u4006 = (*framePtr__system_u4006).prev; } N_LIB_PRIVATE void PreMainInner(void) { atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { #if 0 void (*volatile inner)(void); inner = PreMainInner; atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); (*inner)(); #else atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); PreMainInner(); #endif } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { #if 0 void (*volatile inner)(void); PreMain(); inner = NimMainInner; (*inner)(); #else PreMain(); NimMainInner(); #endif } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { NIM_BOOL* nimErr_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); nimErr_ = nimErrorFlag(); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_2, 1); eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734(exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("echo"), newLit(42) ) ) ```
1.4.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: nimpy ```

Stats

  • Started 2023-08-28T20:54:27
  • Finished 2023-08-28T20:54:28
  • Duration

IR

Compiled filesize 92.97 Kb (95,200 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix #define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); #define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); #define nimln_(n) \ FR_.line = n; #define nimlf_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStrPayload NimStrPayload; typedef struct NimStringV2 NimStringV2; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg tySequence__lSJXnt8Z3APrrNT2aUxyeg; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content; typedef struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ; struct NimStrPayload { NI cap; NIM_CHAR data[SEQ_DECL_SIZE]; }; struct NimStringV2 { NI len; NimStrPayload* p; }; typedef NimStringV2 tyArray__nHXaesL0DJZHyVS07ARPRA[1]; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg { NI len; tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content* p; }; struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ { NimStringV2 name; void* initAddr2; void* initAddr3; }; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content { NI cap; tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringV2* args_p0, NI args_p0Len_0); N_LIB_PRIVATE N_NIMCALL(void, nimTestErrorFlag)(void); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734)(tySequence__lSJXnt8Z3APrrNT2aUxyeg dest_p0); static N_INLINE(NIM_BOOL*, nimErrorFlag)(void); static N_INLINE(void, nimFrame)(TFrame* s_p0); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__system_u4607)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); static const struct { NI cap; NIM_CHAR data[2+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_3 = { 2 | NIM_STRLIT_FLAG, "42" }; static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_2 = {{2, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_3}} ; extern tySequence__lSJXnt8Z3APrrNT2aUxyeg exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289; extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4389; extern NIM_THREADVAR TFrame* framePtr__system_u4006; static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (NIM_BOOL*)0; result = (&nimInErrorMode__system_u4389); return result; } static N_INLINE(void, nimFrame)(TFrame* s_p0) { { if (!(framePtr__system_u4006 == ((TFrame*) NIM_NIL))) goto LA3_; (*s_p0).calldepth = ((NI16)0); } goto LA1_; LA3_: ; { (*s_p0).calldepth = (NI16)((*framePtr__system_u4006).calldepth + ((NI16)1)); } LA1_: ; (*s_p0).prev = framePtr__system_u4006; framePtr__system_u4006 = s_p0; { if (!((*s_p0).calldepth == ((NI16)2000))) goto LA8_; callDepthLimitReached__system_u4607(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__system_u4006 = (*framePtr__system_u4006).prev; } N_LIB_PRIVATE void PreMainInner(void) { atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { #if 0 void (*volatile inner)(void); inner = PreMainInner; atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); (*inner)(); #else atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); PreMainInner(); #endif } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { #if 0 void (*volatile inner)(void); PreMain(); inner = NimMainInner; (*inner)(); #else PreMain(); NimMainInner(); #endif } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { NIM_BOOL* nimErr_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); nimErr_ = nimErrorFlag(); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_2, 1); eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734(exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("echo"), newLit(42) ) ) ```
1.2.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: nimpy ```

Stats

  • Started 2023-08-28T20:54:44
  • Finished 2023-08-28T20:54:44
  • Duration

IR

Compiled filesize 92.97 Kb (95,200 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix #define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); #define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); #define nimln_(n) \ FR_.line = n; #define nimlf_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStrPayload NimStrPayload; typedef struct NimStringV2 NimStringV2; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg tySequence__lSJXnt8Z3APrrNT2aUxyeg; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content; typedef struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ; struct NimStrPayload { NI cap; NIM_CHAR data[SEQ_DECL_SIZE]; }; struct NimStringV2 { NI len; NimStrPayload* p; }; typedef NimStringV2 tyArray__nHXaesL0DJZHyVS07ARPRA[1]; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg { NI len; tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content* p; }; struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ { NimStringV2 name; void* initAddr2; void* initAddr3; }; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content { NI cap; tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringV2* args_p0, NI args_p0Len_0); N_LIB_PRIVATE N_NIMCALL(void, nimTestErrorFlag)(void); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734)(tySequence__lSJXnt8Z3APrrNT2aUxyeg dest_p0); static N_INLINE(NIM_BOOL*, nimErrorFlag)(void); static N_INLINE(void, nimFrame)(TFrame* s_p0); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__system_u4607)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); static const struct { NI cap; NIM_CHAR data[2+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_3 = { 2 | NIM_STRLIT_FLAG, "42" }; static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_2 = {{2, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_3}} ; extern tySequence__lSJXnt8Z3APrrNT2aUxyeg exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289; extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4389; extern NIM_THREADVAR TFrame* framePtr__system_u4006; static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (NIM_BOOL*)0; result = (&nimInErrorMode__system_u4389); return result; } static N_INLINE(void, nimFrame)(TFrame* s_p0) { { if (!(framePtr__system_u4006 == ((TFrame*) NIM_NIL))) goto LA3_; (*s_p0).calldepth = ((NI16)0); } goto LA1_; LA3_: ; { (*s_p0).calldepth = (NI16)((*framePtr__system_u4006).calldepth + ((NI16)1)); } LA1_: ; (*s_p0).prev = framePtr__system_u4006; framePtr__system_u4006 = s_p0; { if (!((*s_p0).calldepth == ((NI16)2000))) goto LA8_; callDepthLimitReached__system_u4607(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__system_u4006 = (*framePtr__system_u4006).prev; } N_LIB_PRIVATE void PreMainInner(void) { atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { #if 0 void (*volatile inner)(void); inner = PreMainInner; atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); (*inner)(); #else atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); PreMainInner(); #endif } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { #if 0 void (*volatile inner)(void); PreMain(); inner = NimMainInner; (*inner)(); #else PreMain(); NimMainInner(); #endif } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { NIM_BOOL* nimErr_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); nimErr_ = nimErrorFlag(); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_2, 1); eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734(exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("echo"), newLit(42) ) ) ```
1.0.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: nimpy ```

Stats

  • Started 2023-08-28T20:54:56
  • Finished 2023-08-28T20:54:57
  • Duration

IR

Compiled filesize 92.97 Kb (95,200 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix #define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); #define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); #define nimln_(n) \ FR_.line = n; #define nimlf_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStrPayload NimStrPayload; typedef struct NimStringV2 NimStringV2; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg tySequence__lSJXnt8Z3APrrNT2aUxyeg; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content; typedef struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ; struct NimStrPayload { NI cap; NIM_CHAR data[SEQ_DECL_SIZE]; }; struct NimStringV2 { NI len; NimStrPayload* p; }; typedef NimStringV2 tyArray__nHXaesL0DJZHyVS07ARPRA[1]; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg { NI len; tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content* p; }; struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ { NimStringV2 name; void* initAddr2; void* initAddr3; }; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content { NI cap; tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringV2* args_p0, NI args_p0Len_0); N_LIB_PRIVATE N_NIMCALL(void, nimTestErrorFlag)(void); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734)(tySequence__lSJXnt8Z3APrrNT2aUxyeg dest_p0); static N_INLINE(NIM_BOOL*, nimErrorFlag)(void); static N_INLINE(void, nimFrame)(TFrame* s_p0); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__system_u4607)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); static const struct { NI cap; NIM_CHAR data[2+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_3 = { 2 | NIM_STRLIT_FLAG, "42" }; static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_2 = {{2, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_3}} ; extern tySequence__lSJXnt8Z3APrrNT2aUxyeg exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289; extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4389; extern NIM_THREADVAR TFrame* framePtr__system_u4006; static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (NIM_BOOL*)0; result = (&nimInErrorMode__system_u4389); return result; } static N_INLINE(void, nimFrame)(TFrame* s_p0) { { if (!(framePtr__system_u4006 == ((TFrame*) NIM_NIL))) goto LA3_; (*s_p0).calldepth = ((NI16)0); } goto LA1_; LA3_: ; { (*s_p0).calldepth = (NI16)((*framePtr__system_u4006).calldepth + ((NI16)1)); } LA1_: ; (*s_p0).prev = framePtr__system_u4006; framePtr__system_u4006 = s_p0; { if (!((*s_p0).calldepth == ((NI16)2000))) goto LA8_; callDepthLimitReached__system_u4607(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__system_u4006 = (*framePtr__system_u4006).prev; } N_LIB_PRIVATE void PreMainInner(void) { atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { #if 0 void (*volatile inner)(void); inner = PreMainInner; atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); (*inner)(); #else atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); PreMainInner(); #endif } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { #if 0 void (*volatile inner)(void); PreMain(); inner = NimMainInner; (*inner)(); #else PreMain(); NimMainInner(); #endif } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { NIM_BOOL* nimErr_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); nimErr_ = nimErrorFlag(); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_2, 1); eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734(exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("echo"), newLit(42) ) ) ```
0.20.2 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: nimpy ```

Stats

  • Started 2023-08-28T20:55:06
  • Finished 2023-08-28T20:55:06
  • Duration

IR

Compiled filesize 92.97 Kb (95,200 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix #define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); #define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); #define nimln_(n) \ FR_.line = n; #define nimlf_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStrPayload NimStrPayload; typedef struct NimStringV2 NimStringV2; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg tySequence__lSJXnt8Z3APrrNT2aUxyeg; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content; typedef struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ; struct NimStrPayload { NI cap; NIM_CHAR data[SEQ_DECL_SIZE]; }; struct NimStringV2 { NI len; NimStrPayload* p; }; typedef NimStringV2 tyArray__nHXaesL0DJZHyVS07ARPRA[1]; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg { NI len; tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content* p; }; struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ { NimStringV2 name; void* initAddr2; void* initAddr3; }; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content { NI cap; tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringV2* args_p0, NI args_p0Len_0); N_LIB_PRIVATE N_NIMCALL(void, nimTestErrorFlag)(void); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734)(tySequence__lSJXnt8Z3APrrNT2aUxyeg dest_p0); static N_INLINE(NIM_BOOL*, nimErrorFlag)(void); static N_INLINE(void, nimFrame)(TFrame* s_p0); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__system_u4607)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); static const struct { NI cap; NIM_CHAR data[2+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_3 = { 2 | NIM_STRLIT_FLAG, "42" }; static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__h69aKLv9bAieBdiFzvDngbMw_2 = {{2, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_3}} ; extern tySequence__lSJXnt8Z3APrrNT2aUxyeg exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289; extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4389; extern NIM_THREADVAR TFrame* framePtr__system_u4006; static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (NIM_BOOL*)0; result = (&nimInErrorMode__system_u4389); return result; } static N_INLINE(void, nimFrame)(TFrame* s_p0) { { if (!(framePtr__system_u4006 == ((TFrame*) NIM_NIL))) goto LA3_; (*s_p0).calldepth = ((NI16)0); } goto LA1_; LA3_: ; { (*s_p0).calldepth = (NI16)((*framePtr__system_u4006).calldepth + ((NI16)1)); } LA1_: ; (*s_p0).prev = framePtr__system_u4006; framePtr__system_u4006 = s_p0; { if (!((*s_p0).calldepth == ((NI16)2000))) goto LA8_; callDepthLimitReached__system_u4607(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__system_u4006 = (*framePtr__system_u4006).prev; } N_LIB_PRIVATE void PreMainInner(void) { atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { #if 0 void (*volatile inner)(void); inner = PreMainInner; atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); (*inner)(); #else atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); PreMainInner(); #endif } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { #if 0 void (*volatile inner)(void); PreMain(); inner = NimMainInner; (*inner)(); #else PreMain(); NimMainInner(); #endif } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { NIM_BOOL* nimErr_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); nimErr_ = nimErrorFlag(); echoBinSafe(TM__h69aKLv9bAieBdiFzvDngbMw_2, 1); eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734(exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("echo"), newLit(42) ) ) ```
Stats
  • GCC 11.4.0
  • LibC 2.35
  • Valgrind 3.18.1
  • NodeJS 17.1
  • Linux 5.15.0
  • Created 2023-08-28T20:53:29Z
  • Comments 38
  • Commands nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim

Bash Ouput

```sh Prompt: No local packages.json found, download it from internet? -> [forced yes] Downloading Official package list Success Package list downloaded. Downloading https://github.com/yglukhov/nimpy using git Warning: The package has no tagged releases, downloading HEAD instead. Verifying dependencies for nimpy@0.2.0 Installing nimpy@0.2.0 Success: nimpy installed successfully. ```
:robot: Bug found in 16 minutes bisecting 8 commits at 0 commits per second.
juancarlospaco commented 1 year ago

!nim c

import nimpy
echo 42
nimble install -y nimpy
github-actions[bot] commented 1 year ago

@juancarlospaco (owner)

devel :+1: $\color{green}\textbf{\large OK}$

Output

42

Stats

  • Started 2023-08-28T21:06:35
  • Finished 2023-08-28T21:06:37
  • Duration 2 minutes
stable :+1: $\color{green}\textbf{\large OK}$

Output

42

Stats

  • Started 2023-08-28T21:06:40
  • Finished 2023-08-28T21:06:42
  • Duration 1 minutes
2.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

42

Stats

  • Started 2023-08-28T21:06:43
  • Finished 2023-08-28T21:06:45
  • Duration 1 minutes
1.6.0 :+1: $\color{green}\textbf{\large OK}$

Output

42

Stats

  • Started 2023-08-28T21:06:51
  • Finished 2023-08-28T21:06:53
  • Duration 1 minutes
1.4.0 :+1: $\color{green}\textbf{\large OK}$

Output

42

Stats

  • Started 2023-08-28T21:06:59
  • Finished 2023-08-28T21:07:01
  • Duration 1 minutes
1.2.0 :+1: $\color{green}\textbf{\large OK}$

Output

42

Stats

  • Started 2023-08-28T21:07:21
  • Finished 2023-08-28T21:07:22
  • Duration 1 minutes
1.0.0 :+1: $\color{green}\textbf{\large OK}$

Output

42

Stats

  • Started 2023-08-28T21:07:37
  • Finished 2023-08-28T21:07:39
  • Duration 1 minutes
0.20.2 :+1: $\color{green}\textbf{\large OK}$

Output

42

Stats

  • Started 2023-08-28T21:07:51
  • Finished 2023-08-28T21:07:53
  • Duration 1 minutes
Stats
  • GCC 11.4.0
  • LibC 2.35
  • Valgrind 3.18.1
  • NodeJS 17.1
  • Linux 5.15.0
  • Created 2023-08-28T21:05:44Z
  • Comments 40
  • Commands nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
:robot: Bug found in 25 minutes bisecting 8 commits at 0 commits per second.
juancarlospaco commented 1 year ago

!nim c

import nimpy
doAssert false
nimble install -y nimpy
github-actions[bot] commented 1 year ago

@juancarlospaco (owner)

devel :-1: FAIL

Output

Error: Command failed: nim c --run  -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim temp
/home/runner/.choosenim/toolchains/nim-#devel/lib/std/assertions.nim failedAssertImpl
/home/runner/.choosenim/toolchains/nim-#devel/lib/std/assertions.nim raiseAssert
/home/runner/.choosenim/toolchains/nim-#devel/lib/system/fatal.nim sysFatal
Error: unhandled exception: /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 1) `false`  [AssertionDefect]
Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp'

Stats

  • Started 2023-08-28T21:10:01
  • Finished 2023-08-28T21:10:03
  • Duration 1 minutes

IR

Compiled filesize 99.89 Kb (102,288 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix #define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); #define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); #define nimln_(n) \ FR_.line = n; #define nimlf_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStrPayload NimStrPayload; typedef struct NimStringV2 NimStringV2; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg tySequence__lSJXnt8Z3APrrNT2aUxyeg; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content; typedef struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ; struct NimStrPayload { NI cap; NIM_CHAR data[SEQ_DECL_SIZE]; }; struct NimStringV2 { NI len; NimStrPayload* p; }; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg { NI len; tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content* p; }; struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ { NimStringV2 name; void* initAddr2; void* initAddr3; }; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content { NI cap; tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__stdZassertions_u310)(NimStringV2 msg_p0); static N_INLINE(NIM_BOOL*, nimErrorFlag)(void); N_LIB_PRIVATE N_NIMCALL(void, nimTestErrorFlag)(void); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1736)(tySequence__lSJXnt8Z3APrrNT2aUxyeg dest_p0); static N_INLINE(void, nimFrame)(TFrame* s_p0); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__system_u4559)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminusathdevelatslibatssystemdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); static const struct { NI cap; NIM_CHAR data[89+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_2 = { 89 | NIM_STRLIT_FLAG, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 1) `false` " }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_3 = {89, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_2}; extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4343; extern tySequence__lSJXnt8Z3APrrNT2aUxyeg exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289; extern NIM_THREADVAR TFrame* framePtr__system_u3967; static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (NIM_BOOL*)0; result = (&nimInErrorMode__system_u4343); return result; } static N_INLINE(void, nimFrame)(TFrame* s_p0) { { if (!(framePtr__system_u3967 == ((TFrame*) NIM_NIL))) goto LA3_; (*s_p0).calldepth = ((NI16)0); } goto LA1_; LA3_: ; { (*s_p0).calldepth = (NI16)((*framePtr__system_u3967).calldepth + ((NI16)1)); } LA1_: ; (*s_p0).prev = framePtr__system_u3967; framePtr__system_u3967 = s_p0; { if (!((*s_p0).calldepth == ((NI16)2000))) goto LA8_; callDepthLimitReached__system_u4559(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__system_u3967 = (*framePtr__system_u3967).prev; } N_LIB_PRIVATE void PreMainInner(void) { atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { #if 0 void (*volatile inner)(void); inner = PreMainInner; atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminusathdevelatslibatssystemdotnim_Init000(); (*inner)(); #else atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminusathdevelatslibatssystemdotnim_Init000(); PreMainInner(); #endif } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { #if 0 void (*volatile inner)(void); PreMain(); inner = NimMainInner; (*inner)(); #else PreMain(); NimMainInner(); #endif } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { NIM_BOOL* nimErr_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); nimErr_ = nimErrorFlag(); { if (!NIM_TRUE) goto LA3_; failedAssertImpl__stdZassertions_u310(TM__h69aKLv9bAieBdiFzvDngbMw_3); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; } LA3_: ; eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1736(exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```

Bash

```sh Prompt: No local packages.json found, download it from internet? -> [forced yes] Downloading Official package list Success Package list downloaded. Downloading https://github.com/yglukhov/nimpy using git Warning: The package has no tagged releases, downloading HEAD instead. Verifying dependencies for nimpy@0.2.0 Installing nimpy@0.2.0 Success: nimpy installed successfully. ```
stable :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim temp /home/runner/.choosenim/toolchains/nim-2.0.0/lib/std/assertions.nim failedAssertImpl /home/runner/.choosenim/toolchains/nim-2.0.0/lib/std/assertions.nim raiseAssert /home/runner/.choosenim/toolchains/nim-2.0.0/lib/system/fatal.nim sysFatal Error: unhandled exception: /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 1) `false` [AssertionDefect] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp' ```

Stats

  • Started 2023-08-28T21:10:05
  • Finished 2023-08-28T21:10:07
  • Duration 1 minutes

IR

Compiled filesize 93.55 Kb (95,800 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix #define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); #define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); #define nimln_(n) \ FR_.line = n; #define nimlf_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStrPayload NimStrPayload; typedef struct NimStringV2 NimStringV2; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg tySequence__lSJXnt8Z3APrrNT2aUxyeg; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content; typedef struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ; struct NimStrPayload { NI cap; NIM_CHAR data[SEQ_DECL_SIZE]; }; struct NimStringV2 { NI len; NimStrPayload* p; }; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg { NI len; tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content* p; }; struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ { NimStringV2 name; void* initAddr2; void* initAddr3; }; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content { NI cap; tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__stdZassertions_u310)(NimStringV2 msg_p0); static N_INLINE(NIM_BOOL*, nimErrorFlag)(void); N_LIB_PRIVATE N_NIMCALL(void, nimTestErrorFlag)(void); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734)(tySequence__lSJXnt8Z3APrrNT2aUxyeg dest_p0); static N_INLINE(void, nimFrame)(TFrame* s_p0); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__system_u4607)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); static const struct { NI cap; NIM_CHAR data[89+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_2 = { 89 | NIM_STRLIT_FLAG, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 1) `false` " }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_3 = {89, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_2}; extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4389; extern tySequence__lSJXnt8Z3APrrNT2aUxyeg exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289; extern NIM_THREADVAR TFrame* framePtr__system_u4006; static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (NIM_BOOL*)0; result = (&nimInErrorMode__system_u4389); return result; } static N_INLINE(void, nimFrame)(TFrame* s_p0) { { if (!(framePtr__system_u4006 == ((TFrame*) NIM_NIL))) goto LA3_; (*s_p0).calldepth = ((NI16)0); } goto LA1_; LA3_: ; { (*s_p0).calldepth = (NI16)((*framePtr__system_u4006).calldepth + ((NI16)1)); } LA1_: ; (*s_p0).prev = framePtr__system_u4006; framePtr__system_u4006 = s_p0; { if (!((*s_p0).calldepth == ((NI16)2000))) goto LA8_; callDepthLimitReached__system_u4607(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__system_u4006 = (*framePtr__system_u4006).prev; } N_LIB_PRIVATE void PreMainInner(void) { atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { #if 0 void (*volatile inner)(void); inner = PreMainInner; atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); (*inner)(); #else atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); PreMainInner(); #endif } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { #if 0 void (*volatile inner)(void); PreMain(); inner = NimMainInner; (*inner)(); #else PreMain(); NimMainInner(); #endif } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { NIM_BOOL* nimErr_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); nimErr_ = nimErrorFlag(); { if (!NIM_TRUE) goto LA3_; failedAssertImpl__stdZassertions_u310(TM__h69aKLv9bAieBdiFzvDngbMw_3); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; } LA3_: ; eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734(exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```

Bash

```sh Downloading https://github.com/yglukhov/nimpy using git Warning: The package has no tagged releases, downloading HEAD instead. Verifying dependencies for nimpy@0.2.0 Installing nimpy@0.2.0 Warning: A package "nimpy@0.2.0" with checksum "a4235a2223d85735e9e8cd875429982d7374b3af" already exists the the cache. ```
2.0.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim temp /home/runner/.choosenim/toolchains/nim-2.0.0/lib/std/assertions.nim failedAssertImpl /home/runner/.choosenim/toolchains/nim-2.0.0/lib/std/assertions.nim raiseAssert /home/runner/.choosenim/toolchains/nim-2.0.0/lib/system/fatal.nim sysFatal Error: unhandled exception: /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 1) `false` [AssertionDefect] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp' ```

Stats

  • Started 2023-08-28T21:10:08
  • Finished 2023-08-28T21:10:09
  • Duration 1 minutes

IR

Compiled filesize 93.55 Kb (95,800 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix #define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); #define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); #define nimln_(n) \ FR_.line = n; #define nimlf_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStrPayload NimStrPayload; typedef struct NimStringV2 NimStringV2; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg tySequence__lSJXnt8Z3APrrNT2aUxyeg; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content; typedef struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ; struct NimStrPayload { NI cap; NIM_CHAR data[SEQ_DECL_SIZE]; }; struct NimStringV2 { NI len; NimStrPayload* p; }; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg { NI len; tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content* p; }; struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ { NimStringV2 name; void* initAddr2; void* initAddr3; }; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content { NI cap; tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__stdZassertions_u310)(NimStringV2 msg_p0); static N_INLINE(NIM_BOOL*, nimErrorFlag)(void); N_LIB_PRIVATE N_NIMCALL(void, nimTestErrorFlag)(void); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734)(tySequence__lSJXnt8Z3APrrNT2aUxyeg dest_p0); static N_INLINE(void, nimFrame)(TFrame* s_p0); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__system_u4607)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); static const struct { NI cap; NIM_CHAR data[89+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_2 = { 89 | NIM_STRLIT_FLAG, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 1) `false` " }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_3 = {89, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_2}; extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4389; extern tySequence__lSJXnt8Z3APrrNT2aUxyeg exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289; extern NIM_THREADVAR TFrame* framePtr__system_u4006; static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (NIM_BOOL*)0; result = (&nimInErrorMode__system_u4389); return result; } static N_INLINE(void, nimFrame)(TFrame* s_p0) { { if (!(framePtr__system_u4006 == ((TFrame*) NIM_NIL))) goto LA3_; (*s_p0).calldepth = ((NI16)0); } goto LA1_; LA3_: ; { (*s_p0).calldepth = (NI16)((*framePtr__system_u4006).calldepth + ((NI16)1)); } LA1_: ; (*s_p0).prev = framePtr__system_u4006; framePtr__system_u4006 = s_p0; { if (!((*s_p0).calldepth == ((NI16)2000))) goto LA8_; callDepthLimitReached__system_u4607(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__system_u4006 = (*framePtr__system_u4006).prev; } N_LIB_PRIVATE void PreMainInner(void) { atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { #if 0 void (*volatile inner)(void); inner = PreMainInner; atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); (*inner)(); #else atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); PreMainInner(); #endif } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { #if 0 void (*volatile inner)(void); PreMain(); inner = NimMainInner; (*inner)(); #else PreMain(); NimMainInner(); #endif } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { NIM_BOOL* nimErr_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); nimErr_ = nimErrorFlag(); { if (!NIM_TRUE) goto LA3_; failedAssertImpl__stdZassertions_u310(TM__h69aKLv9bAieBdiFzvDngbMw_3); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; } LA3_: ; eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734(exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```

Bash

```sh Downloading https://github.com/yglukhov/nimpy using git Warning: The package has no tagged releases, downloading HEAD instead. Verifying dependencies for nimpy@0.2.0 Installing nimpy@0.2.0 Warning: A package "nimpy@0.2.0" with checksum "a4235a2223d85735e9e8cd875429982d7374b3af" already exists the the cache. ```
1.6.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim temp /home/runner/.choosenim/toolchains/nim-1.6.0/lib/system/assertions.nim failedAssertImpl /home/runner/.choosenim/toolchains/nim-1.6.0/lib/system/assertions.nim raiseAssert /home/runner/.choosenim/toolchains/nim-1.6.0/lib/system/fatal.nim sysFatal Error: unhandled exception: /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 10) `false` [AssertionDefect] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp ' ```

Stats

  • Started 2023-08-28T21:10:13
  • Finished 2023-08-28T21:10:15
  • Duration 1 minutes

IR

Compiled filesize 105.69 Kb (108,224 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix # define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); # define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename; NI len; VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); # define nimln_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStringDesc NimStringDesc; typedef struct TGenericSeq TGenericSeq; struct TGenericSeq { NI len; NI reserved; }; struct NimStringDesc { TGenericSeq Sup; NIM_CHAR data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl_systemZassertions_56)(NimStringDesc* msg); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NOINLINE(void, nimGC_setStackBottom)(void* theStackBottom); static N_INLINE(void, nimFrame)(TFrame* s); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached_system_2997)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, nimpy_py_libDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, nimpy_py_libInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 10) `false` ", 90); extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; static N_INLINE(void, initStackBottomWith)(void* locals) { nimGC_setStackBottom(locals); } static N_INLINE(void, nimFrame)(TFrame* s) { { if (!(framePtr_system_2564 == ((TFrame*) NIM_NIL))) goto LA3_; (*s).calldepth = ((NI16) 0); } goto LA1_; LA3_: ; { (*s).calldepth = (NI16)((*framePtr_system_2564).calldepth + ((NI16) 1)); } LA1_: ; (*s).prev = framePtr_system_2564; framePtr_system_2564 = s; { if (!((*s).calldepth == ((NI16) 2000))) goto LA8_; callDepthLimitReached_system_2997(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr_system_2564 = (*framePtr_system_2564).prev; } N_LIB_PRIVATE void PreMainInner(void) { stdlib_timesInit000(); nimpy_py_libInit000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { void (*volatile inner)(void); inner = PreMainInner; systemDatInit000(); initStackBottomWith((void *)&inner); systemInit000(); stdlib_timesDatInit000(); nimpy_py_libDatInit000(); (*inner)(); } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { void (*volatile inner)(void); PreMain(); inner = NimMainInner; initStackBottomWith((void *)&inner); (*inner)(); } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); { if (!NIM_TRUE) goto LA3_; failedAssertImpl_systemZassertions_56(((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_2)); } LA3_: ; popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```

Bash

```sh Downloading https://github.com/yglukhov/nimpy using git Verifying dependencies for nimpy@0.2.0 Installing nimpy@0.2.0 Success: nimpy installed successfully. ```
1.4.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim temp /home/runner/.choosenim/toolchains/nim-1.4.0/lib/system/assertions.nim failedAssertImpl /home/runner/.choosenim/toolchains/nim-1.4.0/lib/system/assertions.nim raiseAssert /home/runner/.choosenim/toolchains/nim-1.4.0/lib/system/fatal.nim sysFatal Error: unhandled exception: /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 10) `false` [AssertionDefect] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp ' ```

Stats

  • Started 2023-08-28T21:10:19
  • Finished 2023-08-28T21:10:20
  • Duration 1 minutes

IR

Compiled filesize 98.25 Kb (100,608 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix # define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); # define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename; NI len; VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); # define nimln_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStringDesc NimStringDesc; typedef struct TGenericSeq TGenericSeq; struct TGenericSeq { NI len; NI reserved; }; struct NimStringDesc { TGenericSeq Sup; NIM_CHAR data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NOINLINE(void, nimGC_setStackBottom)(void* theStackBottom); static N_INLINE(void, nimFrame)(TFrame* s); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__mMRdr4sgmnykA9aWeM9aDZlw)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_osDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_osInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, nimpy_py_libDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, nimpy_py_libInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim(2, 10) `false` ", 90); extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; static N_INLINE(void, initStackBottomWith)(void* locals) { nimGC_setStackBottom(locals); } static N_INLINE(void, nimFrame)(TFrame* s) { { if (!(framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw == NIM_NIL)) goto LA3_; (*s).calldepth = ((NI16) 0); } goto LA1_; LA3_: ; { (*s).calldepth = (NI16)((*framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw).calldepth + ((NI16) 1)); } LA1_: ; (*s).prev = framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw = s; { if (!((*s).calldepth == ((NI16) 2000))) goto LA8_; callDepthLimitReached__mMRdr4sgmnykA9aWeM9aDZlw(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw = (*framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw).prev; } N_LIB_PRIVATE void PreMainInner(void) { stdlib_timesInit000(); stdlib_osInit000(); nimpy_py_libInit000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { void (*volatile inner)(void); inner = PreMainInner; systemDatInit000(); initStackBottomWith((void *)&inner); systemInit000(); stdlib_timesDatInit000(); stdlib_osDatInit000(); nimpy_py_libDatInit000(); (*inner)(); } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { void (*volatile inner)(void); PreMain(); inner = NimMainInner; initStackBottomWith((void *)&inner); (*inner)(); } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); { if (!NIM_TRUE) goto LA3_; failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_2)); } LA3_: ; popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```

Bash

```sh Downloading https://github.com/yglukhov/nimpy using git Verifying dependencies for nimpy@0.2.0 Installing nimpy@0.2.0 Prompt: nimpy@0.2.0 already exists. Overwrite? -> [forced yes] Success: nimpy installed successfully. ```
1.2.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim temp /home/runner/.choosenim/toolchains/nim-1.2.0/lib/system/assertions.nim failedAssertImpl /home/runner/.choosenim/toolchains/nim-1.2.0/lib/system/assertions.nim raiseAssert /home/runner/.choosenim/toolchains/nim-1.2.0/lib/system/fatal.nim sysFatal Error: unhandled exception: /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 10) `false` [AssertionError] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp ' ```

Stats

  • Started 2023-08-28T21:10:36
  • Finished 2023-08-28T21:10:37
  • Duration 1 minutes

IR

Compiled filesize 98.05 Kb (100,408 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix # define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); # define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename; NI len; VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); # define nimln_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStringDesc NimStringDesc; typedef struct TGenericSeq TGenericSeq; struct TGenericSeq { NI len; NI reserved; }; struct NimStringDesc { TGenericSeq Sup; NIM_CHAR data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NOINLINE(void, nimGC_setStackBottom)(void* theStackBottom); static N_INLINE(void, nimFrame)(TFrame* s); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__mMRdr4sgmnykA9aWeM9aDZlw)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_osDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_osInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, nimpy_py_libDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, nimpy_py_libInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim(2, 10) `false` ", 90); extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; static N_INLINE(void, initStackBottomWith)(void* locals) { nimGC_setStackBottom(locals); } static N_INLINE(void, nimFrame)(TFrame* s) { { if (!(framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw == NIM_NIL)) goto LA3_; (*s).calldepth = ((NI16) 0); } goto LA1_; LA3_: ; { (*s).calldepth = (NI16)((*framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw).calldepth + ((NI16) 1)); } LA1_: ; (*s).prev = framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw = s; { if (!((*s).calldepth == ((NI16) (((NI) 2000))))) goto LA8_; callDepthLimitReached__mMRdr4sgmnykA9aWeM9aDZlw(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw = (*framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw).prev; } N_LIB_PRIVATE void PreMainInner(void) { stdlib_timesInit000(); stdlib_osInit000(); nimpy_py_libInit000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { void (*volatile inner)(void); inner = PreMainInner; systemDatInit000(); initStackBottomWith((void *)&inner); systemInit000(); stdlib_timesDatInit000(); stdlib_osDatInit000(); nimpy_py_libDatInit000(); (*inner)(); } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { void (*volatile inner)(void); PreMain(); inner = NimMainInner; initStackBottomWith((void *)&inner); (*inner)(); } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); { if (!NIM_TRUE) goto LA3_; failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_2)); } LA3_: ; popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```

Bash

```sh Downloading https://github.com/yglukhov/nimpy using git Verifying dependencies for nimpy@0.2.0 Installing nimpy@0.2.0 Prompt: nimpy@0.2.0 already exists. Overwrite? -> [forced yes] Success: nimpy installed successfully. ```
1.0.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim temp /home/runner/.choosenim/toolchains/nim-1.0.0/lib/system/assertions.nim failedAssertImpl /home/runner/.choosenim/toolchains/nim-1.0.0/lib/system/assertions.nim raiseAssert /home/runner/.choosenim/toolchains/nim-1.0.0/lib/system/fatal.nim sysFatal Error: unhandled exception: /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 10) `false` [AssertionError] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp ' ```

Stats

  • Started 2023-08-28T21:10:51
  • Finished 2023-08-28T21:10:52
  • Duration

IR

Compiled filesize 93.02 Kb (95,248 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix # define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); # define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename; NI len; VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); # define nimln_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStringDesc NimStringDesc; typedef struct TGenericSeq TGenericSeq; struct TGenericSeq { NI len; NI reserved; }; struct NimStringDesc { TGenericSeq Sup; NIM_CHAR data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NOINLINE(void, nimGC_setStackBottom)(void* theStackBottom); static N_INLINE(void, nimFrame)(TFrame* s); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__mMRdr4sgmnykA9aWeM9aDZlw)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_osDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_osInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, nimpy_py_libDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, nimpy_py_libInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim(2, 10) `false` ", 90); extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; static N_INLINE(void, initStackBottomWith)(void* locals) { nimGC_setStackBottom(locals); } static N_INLINE(void, nimFrame)(TFrame* s) { { if (!(framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw == NIM_NIL)) goto LA3_; (*s).calldepth = ((NI16) 0); } goto LA1_; LA3_: ; { (*s).calldepth = (NI16)((*framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw).calldepth + ((NI16) 1)); } LA1_: ; (*s).prev = framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw = s; { if (!((*s).calldepth == ((NI16) (((NI) 2000))))) goto LA8_; callDepthLimitReached__mMRdr4sgmnykA9aWeM9aDZlw(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw = (*framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw).prev; } N_LIB_PRIVATE void PreMainInner(void) { stdlib_timesInit000(); stdlib_osInit000(); nimpy_py_libInit000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { void (*volatile inner)(void); inner = PreMainInner; systemDatInit000(); initStackBottomWith((void *)&inner); systemInit000(); stdlib_timesDatInit000(); stdlib_osDatInit000(); nimpy_py_libDatInit000(); (*inner)(); } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { void (*volatile inner)(void); PreMain(); inner = NimMainInner; initStackBottomWith((void *)&inner); (*inner)(); } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); { if (!NIM_TRUE) goto LA3_; failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_2)); } LA3_: ; popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```

Bash

```sh Downloading https://github.com/yglukhov/nimpy using git Verifying dependencies for nimpy@0.2.0 Installing nimpy@0.2.0 Prompt: nimpy@0.2.0 already exists. Overwrite? -> [forced yes] Success: nimpy installed successfully. ```
0.20.2 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim temp /home/runner/.choosenim/toolchains/nim-0.20.2/lib/system/assertions.nim failedAssertImpl /home/runner/.choosenim/toolchains/nim-0.20.2/lib/system/assertions.nim raiseAssert /home/runner/.choosenim/toolchains/nim-0.20.2/lib/system/fatal.nim sysFatal Error: unhandled exception: /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 10) `false` [AssertionError] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp ' ```

Stats

  • Started 2023-08-28T21:11:04
  • Finished 2023-08-28T21:11:05
  • Duration 1 minutes

IR

Compiled filesize 92.65 Kb (94,872 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix # define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); # define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename; NI len; VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); # define nimln_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStringDesc NimStringDesc; typedef struct TGenericSeq TGenericSeq; struct TGenericSeq { NI len; NI reserved; }; struct NimStringDesc { TGenericSeq Sup; NIM_CHAR data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NOINLINE(void, nimGC_setStackBottom)(void* theStackBottom); static N_INLINE(void, nimFrame)(TFrame* s); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__mMRdr4sgmnykA9aWeM9aDZlw)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_osDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_osInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, nimpy_py_libDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, nimpy_py_libInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim(2, 10) `false` ", 90); extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; static N_INLINE(void, initStackBottomWith)(void* locals) { nimGC_setStackBottom(locals); } static N_INLINE(void, nimFrame)(TFrame* s) { { if (!(framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw == NIM_NIL)) goto LA3_; (*s).calldepth = ((NI16) 0); } goto LA1_; LA3_: ; { (*s).calldepth = (NI16)((*framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw).calldepth + ((NI16) 1)); } LA1_: ; (*s).prev = framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw = s; { if (!((*s).calldepth == ((NI16) (((NI) 2000))))) goto LA8_; callDepthLimitReached__mMRdr4sgmnykA9aWeM9aDZlw(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw = (*framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw).prev; } N_LIB_PRIVATE void PreMainInner(void) { stdlib_timesInit000(); stdlib_osInit000(); nimpy_py_libInit000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { void (*volatile inner)(void); inner = PreMainInner; systemDatInit000(); initStackBottomWith((void *)&inner); systemInit000(); stdlib_timesDatInit000(); stdlib_osDatInit000(); nimpy_py_libDatInit000(); (*inner)(); } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { void (*volatile inner)(void); PreMain(); inner = NimMainInner; initStackBottomWith((void *)&inner); (*inner)(); } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); { if (!NIM_TRUE) goto LA3_; failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_2)); } LA3_: ; popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```
Stats
  • GCC 11.4.0
  • LibC 2.35
  • Valgrind 3.18.1
  • NodeJS 17.1
  • Linux 5.15.0
  • Created 2023-08-28T21:09:22Z
  • Comments 42
  • Commands nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
:robot: Bug found in 8 minutes bisecting 8 commits at 1 commits per second.
juancarlospaco commented 1 year ago

!nim c

import nimpy
doAssert false
nimble install -y nimpy
github-actions[bot] commented 1 year ago

@juancarlospaco (owner)

devel :-1: FAIL

Output

Error: Command failed: nim c --run  -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: nimpy

Stats

  • Started 2023-08-28T21:18:06
  • Finished 2023-08-28T21:18:07
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```
stable :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: nimpy ```

Stats

  • Started 2023-08-28T21:18:08
  • Finished 2023-08-28T21:18:08
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```
2.0.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: nimpy ```

Stats

  • Started 2023-08-28T21:18:08
  • Finished 2023-08-28T21:18:09
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```
1.6.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: nimpy ```

Stats

  • Started 2023-08-28T21:18:13
  • Finished 2023-08-28T21:18:13
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```
1.4.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: nimpy ```

Stats

  • Started 2023-08-28T21:18:16
  • Finished 2023-08-28T21:18:16
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```
1.2.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: nimpy ```

Stats

  • Started 2023-08-28T21:18:32
  • Finished 2023-08-28T21:18:32
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```
1.0.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: nimpy ```

Stats

  • Started 2023-08-28T21:18:44
  • Finished 2023-08-28T21:18:44
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```
0.20.2 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: nimpy ```

Stats

  • Started 2023-08-28T21:18:54
  • Finished 2023-08-28T21:18:54
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```
Stats
  • GCC 11.4.0
  • LibC 2.35
  • Valgrind 3.18.1
  • NodeJS 17.1
  • Linux 5.15.0
  • Created 2023-08-28T21:17:24Z
  • Comments 44
  • Commands nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
:robot: Bug found in 52 minutes bisecting 8 commits at 0 commits per second.
juancarlospaco commented 1 year ago

!nim c

import nimpy
doAssert false
nimble install -y nimpy
github-actions[bot] commented 1 year ago

@juancarlospaco (owner)

devel :-1: FAIL

Output

Error: Command failed: nim c --run  -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: nimpy

Stats

  • Started 2023-08-28T23:05:06
  • Finished 2023-08-28T23:05:06
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```
stable :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: nimpy ```

Stats

  • Started 2023-08-28T23:05:07
  • Finished 2023-08-28T23:05:08
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```
2.0.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: nimpy ```

Stats

  • Started 2023-08-28T23:05:08
  • Finished 2023-08-28T23:05:08
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```
1.6.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: nimpy ```

Stats

  • Started 2023-08-28T23:05:11
  • Finished 2023-08-28T23:05:11
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```
1.4.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: nimpy ```

Stats

  • Started 2023-08-28T23:05:14
  • Finished 2023-08-28T23:05:14
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```
1.2.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: nimpy ```

Stats

  • Started 2023-08-28T23:05:28
  • Finished 2023-08-28T23:05:29
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```
1.0.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: nimpy ```

Stats

  • Started 2023-08-28T23:05:39
  • Finished 2023-08-28T23:05:40
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```
0.20.2 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 8) Error: cannot open file: nimpy ```

Stats

  • Started 2023-08-28T23:05:49
  • Finished 2023-08-28T23:05:49
  • Duration

IR

Compiled filesize 0 bytes (0 bytes) ```cpp ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```
Stats
  • GCC 11.4.0
  • LibC 2.35
  • Valgrind 3.18.1
  • NodeJS 17.1
  • Linux 5.15.0
  • Created 2023-08-28T23:04:30Z
  • Comments 46
  • Commands nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
:robot: Bug found in 45 minutes bisecting 8 commits at 0 commits per second.
juancarlospaco commented 1 year ago

!nim c

import nimpy
doAssert false
nimble install -y nimpy
github-actions[bot] commented 1 year ago

@juancarlospaco (owner)

devel :-1: FAIL

Output

Error: Command failed: nim c --run  -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim temp
/home/runner/.choosenim/toolchains/nim-#devel/lib/std/assertions.nim failedAssertImpl
/home/runner/.choosenim/toolchains/nim-#devel/lib/std/assertions.nim raiseAssert
/home/runner/.choosenim/toolchains/nim-#devel/lib/system/fatal.nim sysFatal
Error: unhandled exception: /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 1) `false`  [AssertionDefect]
Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp'

Stats

  • Started 2023-08-28T23:07:44
  • Finished 2023-08-28T23:07:46
  • Duration 1 minutes

IR

Compiled filesize 99.89 Kb (102,288 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix #define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); #define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); #define nimln_(n) \ FR_.line = n; #define nimlf_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStrPayload NimStrPayload; typedef struct NimStringV2 NimStringV2; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg tySequence__lSJXnt8Z3APrrNT2aUxyeg; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content; typedef struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ; struct NimStrPayload { NI cap; NIM_CHAR data[SEQ_DECL_SIZE]; }; struct NimStringV2 { NI len; NimStrPayload* p; }; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg { NI len; tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content* p; }; struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ { NimStringV2 name; void* initAddr2; void* initAddr3; }; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content { NI cap; tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__stdZassertions_u310)(NimStringV2 msg_p0); static N_INLINE(NIM_BOOL*, nimErrorFlag)(void); N_LIB_PRIVATE N_NIMCALL(void, nimTestErrorFlag)(void); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1736)(tySequence__lSJXnt8Z3APrrNT2aUxyeg dest_p0); static N_INLINE(void, nimFrame)(TFrame* s_p0); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__system_u4559)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminusathdevelatslibatssystemdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); static const struct { NI cap; NIM_CHAR data[89+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_2 = { 89 | NIM_STRLIT_FLAG, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 1) `false` " }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_3 = {89, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_2}; extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4343; extern tySequence__lSJXnt8Z3APrrNT2aUxyeg exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289; extern NIM_THREADVAR TFrame* framePtr__system_u3967; static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (NIM_BOOL*)0; result = (&nimInErrorMode__system_u4343); return result; } static N_INLINE(void, nimFrame)(TFrame* s_p0) { { if (!(framePtr__system_u3967 == ((TFrame*) NIM_NIL))) goto LA3_; (*s_p0).calldepth = ((NI16)0); } goto LA1_; LA3_: ; { (*s_p0).calldepth = (NI16)((*framePtr__system_u3967).calldepth + ((NI16)1)); } LA1_: ; (*s_p0).prev = framePtr__system_u3967; framePtr__system_u3967 = s_p0; { if (!((*s_p0).calldepth == ((NI16)2000))) goto LA8_; callDepthLimitReached__system_u4559(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__system_u3967 = (*framePtr__system_u3967).prev; } N_LIB_PRIVATE void PreMainInner(void) { atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { #if 0 void (*volatile inner)(void); inner = PreMainInner; atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminusathdevelatslibatssystemdotnim_Init000(); (*inner)(); #else atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminusathdevelatslibatssystemdotnim_Init000(); PreMainInner(); #endif } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { #if 0 void (*volatile inner)(void); PreMain(); inner = NimMainInner; (*inner)(); #else PreMain(); NimMainInner(); #endif } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { NIM_BOOL* nimErr_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); nimErr_ = nimErrorFlag(); { if (!NIM_TRUE) goto LA3_; failedAssertImpl__stdZassertions_u310(TM__h69aKLv9bAieBdiFzvDngbMw_3); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; } LA3_: ; eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1736(exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```
stable :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim temp /home/runner/.choosenim/toolchains/nim-2.0.0/lib/std/assertions.nim failedAssertImpl /home/runner/.choosenim/toolchains/nim-2.0.0/lib/std/assertions.nim raiseAssert /home/runner/.choosenim/toolchains/nim-2.0.0/lib/system/fatal.nim sysFatal Error: unhandled exception: /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 1) `false` [AssertionDefect] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp' ```

Stats

  • Started 2023-08-28T23:07:49
  • Finished 2023-08-28T23:07:50
  • Duration 1 minutes

IR

Compiled filesize 93.55 Kb (95,800 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix #define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); #define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); #define nimln_(n) \ FR_.line = n; #define nimlf_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStrPayload NimStrPayload; typedef struct NimStringV2 NimStringV2; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg tySequence__lSJXnt8Z3APrrNT2aUxyeg; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content; typedef struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ; struct NimStrPayload { NI cap; NIM_CHAR data[SEQ_DECL_SIZE]; }; struct NimStringV2 { NI len; NimStrPayload* p; }; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg { NI len; tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content* p; }; struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ { NimStringV2 name; void* initAddr2; void* initAddr3; }; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content { NI cap; tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__stdZassertions_u310)(NimStringV2 msg_p0); static N_INLINE(NIM_BOOL*, nimErrorFlag)(void); N_LIB_PRIVATE N_NIMCALL(void, nimTestErrorFlag)(void); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734)(tySequence__lSJXnt8Z3APrrNT2aUxyeg dest_p0); static N_INLINE(void, nimFrame)(TFrame* s_p0); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__system_u4607)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); static const struct { NI cap; NIM_CHAR data[89+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_2 = { 89 | NIM_STRLIT_FLAG, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 1) `false` " }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_3 = {89, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_2}; extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4389; extern tySequence__lSJXnt8Z3APrrNT2aUxyeg exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289; extern NIM_THREADVAR TFrame* framePtr__system_u4006; static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (NIM_BOOL*)0; result = (&nimInErrorMode__system_u4389); return result; } static N_INLINE(void, nimFrame)(TFrame* s_p0) { { if (!(framePtr__system_u4006 == ((TFrame*) NIM_NIL))) goto LA3_; (*s_p0).calldepth = ((NI16)0); } goto LA1_; LA3_: ; { (*s_p0).calldepth = (NI16)((*framePtr__system_u4006).calldepth + ((NI16)1)); } LA1_: ; (*s_p0).prev = framePtr__system_u4006; framePtr__system_u4006 = s_p0; { if (!((*s_p0).calldepth == ((NI16)2000))) goto LA8_; callDepthLimitReached__system_u4607(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__system_u4006 = (*framePtr__system_u4006).prev; } N_LIB_PRIVATE void PreMainInner(void) { atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { #if 0 void (*volatile inner)(void); inner = PreMainInner; atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); (*inner)(); #else atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); PreMainInner(); #endif } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { #if 0 void (*volatile inner)(void); PreMain(); inner = NimMainInner; (*inner)(); #else PreMain(); NimMainInner(); #endif } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { NIM_BOOL* nimErr_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); nimErr_ = nimErrorFlag(); { if (!NIM_TRUE) goto LA3_; failedAssertImpl__stdZassertions_u310(TM__h69aKLv9bAieBdiFzvDngbMw_3); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; } LA3_: ; eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734(exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```
2.0.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim temp /home/runner/.choosenim/toolchains/nim-2.0.0/lib/std/assertions.nim failedAssertImpl /home/runner/.choosenim/toolchains/nim-2.0.0/lib/std/assertions.nim raiseAssert /home/runner/.choosenim/toolchains/nim-2.0.0/lib/system/fatal.nim sysFatal Error: unhandled exception: /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 1) `false` [AssertionDefect] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp' ```

Stats

  • Started 2023-08-28T23:07:52
  • Finished 2023-08-28T23:07:53
  • Duration 1 minutes

IR

Compiled filesize 93.55 Kb (95,800 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix #define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); #define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); #define nimln_(n) \ FR_.line = n; #define nimlf_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStrPayload NimStrPayload; typedef struct NimStringV2 NimStringV2; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg tySequence__lSJXnt8Z3APrrNT2aUxyeg; typedef struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content; typedef struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ; struct NimStrPayload { NI cap; NIM_CHAR data[SEQ_DECL_SIZE]; }; struct NimStringV2 { NI len; NimStrPayload* p; }; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg { NI len; tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content* p; }; struct tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ { NimStringV2 name; void* initAddr2; void* initAddr3; }; struct tySequence__lSJXnt8Z3APrrNT2aUxyeg_Content { NI cap; tyObject_ExportedModule__bTNIO9bE1YUxeZLMJZimyWQ data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__stdZassertions_u310)(NimStringV2 msg_p0); static N_INLINE(NIM_BOOL*, nimErrorFlag)(void); N_LIB_PRIVATE N_NIMCALL(void, nimTestErrorFlag)(void); N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734)(tySequence__lSJXnt8Z3APrrNT2aUxyeg dest_p0); static N_INLINE(void, nimFrame)(TFrame* s_p0); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__system_u4607)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); static const struct { NI cap; NIM_CHAR data[89+1]; } TM__h69aKLv9bAieBdiFzvDngbMw_2 = { 89 | NIM_STRLIT_FLAG, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 1) `false` " }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_3 = {89, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_2}; extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4389; extern tySequence__lSJXnt8Z3APrrNT2aUxyeg exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289; extern NIM_THREADVAR TFrame* framePtr__system_u4006; static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (NIM_BOOL*)0; result = (&nimInErrorMode__system_u4389); return result; } static N_INLINE(void, nimFrame)(TFrame* s_p0) { { if (!(framePtr__system_u4006 == ((TFrame*) NIM_NIL))) goto LA3_; (*s_p0).calldepth = ((NI16)0); } goto LA1_; LA3_: ; { (*s_p0).calldepth = (NI16)((*framePtr__system_u4006).calldepth + ((NI16)1)); } LA1_: ; (*s_p0).prev = framePtr__system_u4006; framePtr__system_u4006 = s_p0; { if (!((*s_p0).calldepth == ((NI16)2000))) goto LA8_; callDepthLimitReached__system_u4607(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__system_u4006 = (*framePtr__system_u4006).prev; } N_LIB_PRIVATE void PreMainInner(void) { atmdotdotatsdotdotatsdotdotatsdotnimbleatspkgs2atsnimpyminus0dot2dot0minusa4235a2223d85735e9e8cd875429982d7374b3afatsnimpyatspy_libdotnim_Init000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { #if 0 void (*volatile inner)(void); inner = PreMainInner; atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); (*inner)(); #else atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus2dot0dot0atslibatssystemdotnim_Init000(); PreMainInner(); #endif } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { #if 0 void (*volatile inner)(void); PreMain(); inner = NimMainInner; (*inner)(); #else PreMain(); NimMainInner(); #endif } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { NIM_BOOL* nimErr_; nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); nimErr_ = nimErrorFlag(); { if (!NIM_TRUE) goto LA3_; failedAssertImpl__stdZassertions_u310(TM__h69aKLv9bAieBdiFzvDngbMw_3); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; } LA3_: ; eqdestroy___OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u1734(exportedModules__OOZOOZOOZOnimbleZpkgs50Znimpy4548O50O4845a52505153a50505051d5653555153e57e56cd565553525057575650d55515552b51afZnimpyZpy95lib_u289); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```
1.6.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim temp /home/runner/.choosenim/toolchains/nim-1.6.0/lib/system/assertions.nim failedAssertImpl /home/runner/.choosenim/toolchains/nim-1.6.0/lib/system/assertions.nim raiseAssert /home/runner/.choosenim/toolchains/nim-1.6.0/lib/system/fatal.nim sysFatal Error: unhandled exception: /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 10) `false` [AssertionDefect] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp ' ```

Stats

  • Started 2023-08-28T23:07:58
  • Finished 2023-08-28T23:08:00
  • Duration 1 minutes

IR

Compiled filesize 105.69 Kb (108,224 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix # define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); # define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename; NI len; VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); # define nimln_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStringDesc NimStringDesc; typedef struct TGenericSeq TGenericSeq; struct TGenericSeq { NI len; NI reserved; }; struct NimStringDesc { TGenericSeq Sup; NIM_CHAR data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl_systemZassertions_56)(NimStringDesc* msg); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NOINLINE(void, nimGC_setStackBottom)(void* theStackBottom); static N_INLINE(void, nimFrame)(TFrame* s); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached_system_2997)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, nimpy_py_libDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, nimpy_py_libInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 10) `false` ", 90); extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; extern TFrame* framePtr_system_2564; static N_INLINE(void, initStackBottomWith)(void* locals) { nimGC_setStackBottom(locals); } static N_INLINE(void, nimFrame)(TFrame* s) { { if (!(framePtr_system_2564 == ((TFrame*) NIM_NIL))) goto LA3_; (*s).calldepth = ((NI16) 0); } goto LA1_; LA3_: ; { (*s).calldepth = (NI16)((*framePtr_system_2564).calldepth + ((NI16) 1)); } LA1_: ; (*s).prev = framePtr_system_2564; framePtr_system_2564 = s; { if (!((*s).calldepth == ((NI16) 2000))) goto LA8_; callDepthLimitReached_system_2997(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr_system_2564 = (*framePtr_system_2564).prev; } N_LIB_PRIVATE void PreMainInner(void) { stdlib_timesInit000(); nimpy_py_libInit000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { void (*volatile inner)(void); inner = PreMainInner; systemDatInit000(); initStackBottomWith((void *)&inner); systemInit000(); stdlib_timesDatInit000(); nimpy_py_libDatInit000(); (*inner)(); } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { void (*volatile inner)(void); PreMain(); inner = NimMainInner; initStackBottomWith((void *)&inner); (*inner)(); } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); { if (!NIM_TRUE) goto LA3_; failedAssertImpl_systemZassertions_56(((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_2)); } LA3_: ; popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```
1.4.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim temp /home/runner/.choosenim/toolchains/nim-1.4.0/lib/system/assertions.nim failedAssertImpl /home/runner/.choosenim/toolchains/nim-1.4.0/lib/system/assertions.nim raiseAssert /home/runner/.choosenim/toolchains/nim-1.4.0/lib/system/fatal.nim sysFatal Error: unhandled exception: /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 10) `false` [AssertionDefect] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp ' ```

Stats

  • Started 2023-08-28T23:08:03
  • Finished 2023-08-28T23:08:04
  • Duration 1 minutes

IR

Compiled filesize 98.25 Kb (100,608 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix # define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); # define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename; NI len; VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); # define nimln_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStringDesc NimStringDesc; typedef struct TGenericSeq TGenericSeq; struct TGenericSeq { NI len; NI reserved; }; struct NimStringDesc { TGenericSeq Sup; NIM_CHAR data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NOINLINE(void, nimGC_setStackBottom)(void* theStackBottom); static N_INLINE(void, nimFrame)(TFrame* s); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__mMRdr4sgmnykA9aWeM9aDZlw)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_osDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_osInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, nimpy_py_libDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, nimpy_py_libInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim(2, 10) `false` ", 90); extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; static N_INLINE(void, initStackBottomWith)(void* locals) { nimGC_setStackBottom(locals); } static N_INLINE(void, nimFrame)(TFrame* s) { { if (!(framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw == NIM_NIL)) goto LA3_; (*s).calldepth = ((NI16) 0); } goto LA1_; LA3_: ; { (*s).calldepth = (NI16)((*framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw).calldepth + ((NI16) 1)); } LA1_: ; (*s).prev = framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw = s; { if (!((*s).calldepth == ((NI16) 2000))) goto LA8_; callDepthLimitReached__mMRdr4sgmnykA9aWeM9aDZlw(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw = (*framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw).prev; } N_LIB_PRIVATE void PreMainInner(void) { stdlib_timesInit000(); stdlib_osInit000(); nimpy_py_libInit000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { void (*volatile inner)(void); inner = PreMainInner; systemDatInit000(); initStackBottomWith((void *)&inner); systemInit000(); stdlib_timesDatInit000(); stdlib_osDatInit000(); nimpy_py_libDatInit000(); (*inner)(); } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { void (*volatile inner)(void); PreMain(); inner = NimMainInner; initStackBottomWith((void *)&inner); (*inner)(); } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); { if (!NIM_TRUE) goto LA3_; failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_2)); } LA3_: ; popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```
1.2.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim temp /home/runner/.choosenim/toolchains/nim-1.2.0/lib/system/assertions.nim failedAssertImpl /home/runner/.choosenim/toolchains/nim-1.2.0/lib/system/assertions.nim raiseAssert /home/runner/.choosenim/toolchains/nim-1.2.0/lib/system/fatal.nim sysFatal Error: unhandled exception: /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 10) `false` [AssertionError] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp ' ```

Stats

  • Started 2023-08-28T23:08:20
  • Finished 2023-08-28T23:08:21
  • Duration

IR

Compiled filesize 98.05 Kb (100,408 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix # define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); # define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename; NI len; VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); # define nimln_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStringDesc NimStringDesc; typedef struct TGenericSeq TGenericSeq; struct TGenericSeq { NI len; NI reserved; }; struct NimStringDesc { TGenericSeq Sup; NIM_CHAR data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NOINLINE(void, nimGC_setStackBottom)(void* theStackBottom); static N_INLINE(void, nimFrame)(TFrame* s); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__mMRdr4sgmnykA9aWeM9aDZlw)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_osDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_osInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, nimpy_py_libDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, nimpy_py_libInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim(2, 10) `false` ", 90); extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; static N_INLINE(void, initStackBottomWith)(void* locals) { nimGC_setStackBottom(locals); } static N_INLINE(void, nimFrame)(TFrame* s) { { if (!(framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw == NIM_NIL)) goto LA3_; (*s).calldepth = ((NI16) 0); } goto LA1_; LA3_: ; { (*s).calldepth = (NI16)((*framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw).calldepth + ((NI16) 1)); } LA1_: ; (*s).prev = framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw = s; { if (!((*s).calldepth == ((NI16) (((NI) 2000))))) goto LA8_; callDepthLimitReached__mMRdr4sgmnykA9aWeM9aDZlw(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw = (*framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw).prev; } N_LIB_PRIVATE void PreMainInner(void) { stdlib_timesInit000(); stdlib_osInit000(); nimpy_py_libInit000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { void (*volatile inner)(void); inner = PreMainInner; systemDatInit000(); initStackBottomWith((void *)&inner); systemInit000(); stdlib_timesDatInit000(); stdlib_osDatInit000(); nimpy_py_libDatInit000(); (*inner)(); } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { void (*volatile inner)(void); PreMain(); inner = NimMainInner; initStackBottomWith((void *)&inner); (*inner)(); } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); { if (!NIM_TRUE) goto LA3_; failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_2)); } LA3_: ; popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```
1.0.0 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim temp /home/runner/.choosenim/toolchains/nim-1.0.0/lib/system/assertions.nim failedAssertImpl /home/runner/.choosenim/toolchains/nim-1.0.0/lib/system/assertions.nim raiseAssert /home/runner/.choosenim/toolchains/nim-1.0.0/lib/system/fatal.nim sysFatal Error: unhandled exception: /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 10) `false` [AssertionError] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp ' ```

Stats

  • Started 2023-08-28T23:08:34
  • Finished 2023-08-28T23:08:35
  • Duration

IR

Compiled filesize 93.02 Kb (95,248 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix # define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); # define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename; NI len; VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); # define nimln_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStringDesc NimStringDesc; typedef struct TGenericSeq TGenericSeq; struct TGenericSeq { NI len; NI reserved; }; struct NimStringDesc { TGenericSeq Sup; NIM_CHAR data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NOINLINE(void, nimGC_setStackBottom)(void* theStackBottom); static N_INLINE(void, nimFrame)(TFrame* s); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__mMRdr4sgmnykA9aWeM9aDZlw)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_osDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_osInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, nimpy_py_libDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, nimpy_py_libInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim(2, 10) `false` ", 90); extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; static N_INLINE(void, initStackBottomWith)(void* locals) { nimGC_setStackBottom(locals); } static N_INLINE(void, nimFrame)(TFrame* s) { { if (!(framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw == NIM_NIL)) goto LA3_; (*s).calldepth = ((NI16) 0); } goto LA1_; LA3_: ; { (*s).calldepth = (NI16)((*framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw).calldepth + ((NI16) 1)); } LA1_: ; (*s).prev = framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw = s; { if (!((*s).calldepth == ((NI16) (((NI) 2000))))) goto LA8_; callDepthLimitReached__mMRdr4sgmnykA9aWeM9aDZlw(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw = (*framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw).prev; } N_LIB_PRIVATE void PreMainInner(void) { stdlib_timesInit000(); stdlib_osInit000(); nimpy_py_libInit000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { void (*volatile inner)(void); inner = PreMainInner; systemDatInit000(); initStackBottomWith((void *)&inner); systemInit000(); stdlib_timesDatInit000(); stdlib_osDatInit000(); nimpy_py_libDatInit000(); (*inner)(); } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { void (*volatile inner)(void); PreMain(); inner = NimMainInner; initStackBottomWith((void *)&inner); (*inner)(); } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); { if (!NIM_TRUE) goto LA3_; failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_2)); } LA3_: ; popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```
0.20.2 :-1: FAIL

Output

``` Error: Command failed: nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim temp /home/runner/.choosenim/toolchains/nim-0.20.2/lib/system/assertions.nim failedAssertImpl /home/runner/.choosenim/toolchains/nim-0.20.2/lib/system/assertions.nim raiseAssert /home/runner/.choosenim/toolchains/nim-0.20.2/lib/system/fatal.nim sysFatal Error: unhandled exception: /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(2, 10) `false` [AssertionError] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp ' ```

Stats

  • Started 2023-08-28T23:08:45
  • Finished 2023-08-28T23:08:46
  • Duration

IR

Compiled filesize 92.65 Kb (94,872 bytes) ```cpp #define NIM_INTBITS 64 #include "nimbase.h" #undef LANGUAGE_C #undef MIPSEB #undef MIPSEL #undef PPC #undef R3000 #undef R4000 #undef i386 #undef linux #undef mips #undef near #undef far #undef powerpc #undef unix # define nimfr_(proc, file) \ TFrame FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_); # define nimfrs_(proc, file, slots, length) \ struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename; NI len; VarSlot s[slots];} FR_; \ FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_); # define nimln_(n, file) \ FR_.line = n; FR_.filename = file; typedef struct NimStringDesc NimStringDesc; typedef struct TGenericSeq TGenericSeq; struct TGenericSeq { NI len; NI reserved; }; struct NimStringDesc { TGenericSeq Sup; NIM_CHAR data[SEQ_DECL_SIZE]; }; N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NOINLINE(void, nimGC_setStackBottom)(void* theStackBottom); static N_INLINE(void, nimFrame)(TFrame* s); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__mMRdr4sgmnykA9aWeM9aDZlw)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_timesInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_osDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, stdlib_osInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, nimpy_py_libDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, nimpy_py_libInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim(2, 10) `false` ", 90); extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; extern TFrame* framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; static N_INLINE(void, initStackBottomWith)(void* locals) { nimGC_setStackBottom(locals); } static N_INLINE(void, nimFrame)(TFrame* s) { { if (!(framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw == NIM_NIL)) goto LA3_; (*s).calldepth = ((NI16) 0); } goto LA1_; LA3_: ; { (*s).calldepth = (NI16)((*framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw).calldepth + ((NI16) 1)); } LA1_: ; (*s).prev = framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw; framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw = s; { if (!((*s).calldepth == ((NI16) (((NI) 2000))))) goto LA8_; callDepthLimitReached__mMRdr4sgmnykA9aWeM9aDZlw(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw = (*framePtr__HRfVMH3jYeBJz6Q6X9b6Ptw).prev; } N_LIB_PRIVATE void PreMainInner(void) { stdlib_timesInit000(); stdlib_osInit000(); nimpy_py_libInit000(); } N_LIB_PRIVATE int cmdCount; N_LIB_PRIVATE char** cmdLine; N_LIB_PRIVATE char** gEnv; N_LIB_PRIVATE void PreMain(void) { void (*volatile inner)(void); inner = PreMainInner; systemDatInit000(); initStackBottomWith((void *)&inner); systemInit000(); stdlib_timesDatInit000(); stdlib_osDatInit000(); nimpy_py_libDatInit000(); (*inner)(); } N_LIB_PRIVATE N_CDECL(void, NimMainInner)(void) { NimMainModule(); } N_CDECL(void, NimMain)(void) { void (*volatile inner)(void); PreMain(); inner = NimMainInner; initStackBottomWith((void *)&inner); (*inner)(); } int main(int argc, char** args, char** env) { cmdLine = args; cmdCount = argc; gEnv = env; NimMain(); return nim_program_result; } N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void) { { nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); { if (!NIM_TRUE) goto LA3_; failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_2)); } LA3_: ; popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("nimpy") ), nnkCommand.newTree( newIdentNode("doAssert"), newIdentNode("false") ) ) ```
Stats
  • GCC 11.4.0
  • LibC 2.35
  • Valgrind 3.18.1
  • NodeJS 17.1
  • Linux 5.15.0
  • Created 2023-08-28T23:07:01Z
  • Comments 48
  • Commands nim c --run -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield --out:/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim
:robot: Bug found in 8 minutes bisecting 8 commits at 1 commits per second.
juancarlospaco commented 1 year ago

!nim c

doAssert false