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

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(1, 1) `false`  [AssertionDefect]
Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp'

Stats

  • Started 2023-08-29T12:22:46
  • Finished 2023-08-29T12:22:47
  • Duration

IR

Compiled filesize 93.74 Kb (95,992 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; }; 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); 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, 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(1, 1) `false` " }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_3 = {89, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_2}; extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4343; 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) { } 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_: ; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( 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(1, 1) `false` [AssertionDefect] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp' ```

Stats

  • Started 2023-08-29T12:22:48
  • Finished 2023-08-29T12:22:48
  • Duration

IR

Compiled filesize 91.58 Kb (93,776 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; }; 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); 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, 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(1, 1) `false` " }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_3 = {89, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_2}; 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) { } 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_: ; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( 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(1, 1) `false` [AssertionDefect] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp' ```

Stats

  • Started 2023-08-29T12:22:49
  • Finished 2023-08-29T12:22:49
  • Duration

IR

Compiled filesize 91.58 Kb (93,776 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; }; 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); 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, 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(1, 1) `false` " }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_3 = {89, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_2}; 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) { } 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_: ; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( 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(1, 10) `false` [AssertionDefect] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp ' ```

Stats

  • Started 2023-08-29T12:22:52
  • Finished 2023-08-29T12:22:53
  • Duration

IR

Compiled filesize 95.28 Kb (97,568 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, NimMainModule)(void); STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 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) { } 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(); (*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( 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(1, 10) `false` [AssertionDefect] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp ' ```

Stats

  • Started 2023-08-29T12:22:56
  • Finished 2023-08-29T12:22:56
  • Duration

IR

Compiled filesize 91.65 Kb (93,848 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, NimMainModule)(void); STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim(1, 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) { } 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(); (*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( 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(1, 10) `false` [AssertionError] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp ' ```

Stats

  • Started 2023-08-29T12:23:12
  • Finished 2023-08-29T12:23:12
  • Duration

IR

Compiled filesize 91.41 Kb (93,600 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, NimMainModule)(void); STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim(1, 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) { } 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(); (*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( 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(1, 10) `false` [AssertionError] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp ' ```

Stats

  • Started 2023-08-29T12:23:25
  • Finished 2023-08-29T12:23:26
  • Duration

IR

Compiled filesize 86.41 Kb (88,488 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, NimMainModule)(void); STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim(1, 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) { } 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(); (*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( 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(1, 10) `false` [AssertionError] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp ' ```

Stats

  • Started 2023-08-29T12:23:35
  • Finished 2023-08-29T12:23:35
  • Duration

IR

Compiled filesize 86.10 Kb (88,168 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, NimMainModule)(void); STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim(1, 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) { } 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(); (*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( 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-29T12:22:08Z
  • Comments 50
  • 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

doAssert false
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(1, 1) `false`  [AssertionDefect]
Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp'

Stats

  • Started 2023-08-29T12:33:48
  • Finished 2023-08-29T12:33:49
  • Duration

IR

Compiled filesize 93.74 Kb (95,992 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; }; 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); 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, 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(1, 1) `false` " }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_3 = {89, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_2}; extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4343; 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) { } 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_: ; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( 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(1, 1) `false` [AssertionDefect] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp' ```

Stats

  • Started 2023-08-29T12:33:50
  • Finished 2023-08-29T12:33:51
  • Duration

IR

Compiled filesize 91.58 Kb (93,776 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; }; 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); 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, 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(1, 1) `false` " }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_3 = {89, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_2}; 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) { } 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_: ; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( 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(1, 1) `false` [AssertionDefect] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp' ```

Stats

  • Started 2023-08-29T12:33:51
  • Finished 2023-08-29T12:33:52
  • Duration

IR

Compiled filesize 91.58 Kb (93,776 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; }; 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); 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, 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(1, 1) `false` " }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_3 = {89, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_2}; 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) { } 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_: ; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( 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(1, 10) `false` [AssertionDefect] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp ' ```

Stats

  • Started 2023-08-29T12:33:54
  • Finished 2023-08-29T12:33:55
  • Duration

IR

Compiled filesize 95.28 Kb (97,568 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, NimMainModule)(void); STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 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) { } 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(); (*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( 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(1, 10) `false` [AssertionDefect] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp ' ```

Stats

  • Started 2023-08-29T12:33:58
  • Finished 2023-08-29T12:33:58
  • Duration

IR

Compiled filesize 91.65 Kb (93,848 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, NimMainModule)(void); STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim(1, 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) { } 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(); (*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( 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(1, 10) `false` [AssertionError] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp ' ```

Stats

  • Started 2023-08-29T12:34:15
  • Finished 2023-08-29T12:34:15
  • Duration

IR

Compiled filesize 91.41 Kb (93,600 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, NimMainModule)(void); STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim(1, 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) { } 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(); (*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( 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(1, 10) `false` [AssertionError] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp ' ```

Stats

  • Started 2023-08-29T12:34:26
  • Finished 2023-08-29T12:34:26
  • Duration

IR

Compiled filesize 86.41 Kb (88,488 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, NimMainModule)(void); STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim(1, 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) { } 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(); (*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( 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(1, 10) `false` [AssertionError] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp ' ```

Stats

  • Started 2023-08-29T12:34:36
  • Finished 2023-08-29T12:34:37
  • Duration

IR

Compiled filesize 86.10 Kb (88,168 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, NimMainModule)(void); STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim(1, 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) { } 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(); (*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( 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-29T12:33:17Z
  • Comments 52
  • 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 51 minutes bisecting 8 commits at 0 commits per second.
juancarlospaco commented 1 year ago

!nim c

doAssert false
juancarlospaco commented 1 year ago

!nim c

doAssert false
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(1, 1) `false`  [AssertionDefect]
Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp'

Stats

  • Started 2023-08-29T13:05:29
  • Finished 2023-08-29T13:05:30
  • Duration

IR

Compiled filesize 93.74 Kb (95,992 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; }; 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); 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, 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(1, 1) `false` " }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_3 = {89, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_2}; extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4343; 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) { } 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_: ; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( 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(1, 1) `false` [AssertionDefect] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp' ```

Stats

  • Started 2023-08-29T13:05:31
  • Finished 2023-08-29T13:05:31
  • Duration

IR

Compiled filesize 91.58 Kb (93,776 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; }; 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); 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, 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(1, 1) `false` " }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_3 = {89, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_2}; 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) { } 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_: ; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( 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(1, 1) `false` [AssertionDefect] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp' ```

Stats

  • Started 2023-08-29T13:05:32
  • Finished 2023-08-29T13:05:32
  • Duration

IR

Compiled filesize 91.58 Kb (93,776 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; }; 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); 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, 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(1, 1) `false` " }; static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_3 = {89, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_2}; 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) { } 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_: ; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( 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(1, 10) `false` [AssertionDefect] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp ' ```

Stats

  • Started 2023-08-29T13:05:35
  • Finished 2023-08-29T13:05:36
  • Duration

IR

Compiled filesize 95.28 Kb (97,568 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, NimMainModule)(void); STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim(1, 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) { } 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(); (*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( 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(1, 10) `false` [AssertionDefect] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp ' ```

Stats

  • Started 2023-08-29T13:05:39
  • Finished 2023-08-29T13:05:40
  • Duration

IR

Compiled filesize 91.65 Kb (93,848 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, NimMainModule)(void); STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim(1, 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) { } 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(); (*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( 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(1, 10) `false` [AssertionError] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp ' ```

Stats

  • Started 2023-08-29T13:05:56
  • Finished 2023-08-29T13:05:56
  • Duration

IR

Compiled filesize 91.41 Kb (93,600 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, NimMainModule)(void); STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim(1, 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) { } 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(); (*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( 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(1, 10) `false` [AssertionError] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp ' ```

Stats

  • Started 2023-08-29T13:06:08
  • Finished 2023-08-29T13:06:08
  • Duration

IR

Compiled filesize 86.41 Kb (88,488 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, NimMainModule)(void); STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim(1, 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) { } 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(); (*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( 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(1, 10) `false` [AssertionError] Error: execution of an external program failed: '/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp ' ```

Stats

  • Started 2023-08-29T13:06:18
  • Finished 2023-08-29T13:06:18
  • Duration

IR

Compiled filesize 86.10 Kb (88,168 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, NimMainModule)(void); STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim(1, 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) { } 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(); (*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( 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-29T13:04:47Z
  • Comments 55
  • 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 chop[bool](42)
type Private = distinct int
proc chop*[T](x: int): int = cast[int](cast[tuple[field: Private]](x))
juancarlospaco commented 1 year ago

!nim c

import temp1
echo chop[bool](42)
type Private = distinct int
proc chop*[T](x: int): int = cast[int](cast[tuple[field: Private]](x))
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, 10) template/generic instantiation of `chop` from here
/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp1.nim(2, 58) Error: undeclared identifier: 'Private'
candidates (edit distance, scope distance); see '--spellSuggest': 
 (3, 6): 'create'
 (3, 6): 'write'

Stats

  • Started 2023-09-14T14:51:40
  • Finished 2023-09-14T14:51:40
  • Duration

IR

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

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCommand.newTree( newIdentNode("echo"), nnkCall.newTree( nnkBracketExpr.newTree( newIdentNode("chop"), newIdentNode("bool") ), newLit(42) ) ) ) ```
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, 10) template/generic instantiation of `chop` from here /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp1.nim(2, 58) Error: undeclared identifier: 'Private' candidates (edit distance, scope distance); see '--spellSuggest': (3, 6): 'create' (3, 6): 'write' ```

Stats

  • Started 2023-09-14T14:51:41
  • Finished 2023-09-14T14:51:41
  • Duration

IR

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

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCommand.newTree( newIdentNode("echo"), nnkCall.newTree( nnkBracketExpr.newTree( newIdentNode("chop"), newIdentNode("bool") ), newLit(42) ) ) ) ```
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, 10) template/generic instantiation of `chop` from here /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp1.nim(2, 58) Error: undeclared identifier: 'Private' candidates (edit distance, scope distance); see '--spellSuggest': (3, 6): 'create' (3, 6): 'write' ```

Stats

  • Started 2023-09-14T14:51:42
  • Finished 2023-09-14T14:51:42
  • Duration

IR

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

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCommand.newTree( newIdentNode("echo"), nnkCall.newTree( nnkBracketExpr.newTree( newIdentNode("chop"), newIdentNode("bool") ), newLit(42) ) ) ) ```
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, 10) template/generic instantiation of `chop` from here /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp1.nim(2, 58) Error: undeclared identifier: 'Private' candidates (edit distance, scope distance); see '--spellSuggest': (3, 6): 'create' [proc declared in /home/runner/.choosenim/toolchains/nim-1.6.0/lib/system/memalloc.nim(134, 8)] (3, 6): 'write' [proc declared in /home/runner/.choosenim/toolchains/nim-1.6.0/lib/system/io.nim(193, 6)] (3, 6): 'write' [proc declared in /home/runner/.choosenim/toolchains/nim-1.6.0/lib/system/io.nim(244, 6)] (3, 6): 'write' [proc declared in /home/runner/.choosenim/toolchains/nim-1.6.0/lib/system/io.nim(490, 6)] (3, 6): 'write' [proc declared in /home/runner/.choosenim/toolchains/nim-1.6.0/lib/system/io.nim(496, 6)] (3, 6): 'write' [proc declared in /home/runner/.choosenim/toolchains/nim-1.6.0/lib/system/io.nim(502, 6)] (3, 6): 'write' [proc declared in /home/runner/.choosenim/toolchains/nim-1.6.0/lib/system/io.nim(506, 6)] (3, 6): 'write' [proc declared in /home/runner/.choosenim/toolchains/nim-1.6.0/lib/system/io.nim(511, 6)] (3, 6): 'write' [proc declared in /home/runner/.choosenim/toolchains/nim-1.6.0/lib/system/io.nim(516, 6)] (3, 6): 'write' [proc declared in /home/runner/.choosenim/toolchains/nim-1.6.0/lib/system/io.nim(519, 6)] ```

Stats

  • Started 2023-09-14T14:51:45
  • Finished 2023-09-14T14:51:45
  • Duration

IR

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

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCommand.newTree( newIdentNode("echo"), nnkCall.newTree( nnkBracketExpr.newTree( newIdentNode("chop"), newIdentNode("bool") ), 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(2, 10) template/generic instantiation of `chop` from here /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp1.nim(2, 58) Error: undeclared identifier: 'Private' ```

Stats

  • Started 2023-09-14T14:51:48
  • Finished 2023-09-14T14:51:48
  • Duration

IR

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

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCommand.newTree( newIdentNode("echo"), nnkCall.newTree( nnkBracketExpr.newTree( newIdentNode("chop"), newIdentNode("bool") ), 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(2, 10) template/generic instantiation of `chop` from here /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp1.nim(2, 58) Error: undeclared identifier: 'Private' ```

Stats

  • Started 2023-09-14T14:52:04
  • Finished 2023-09-14T14:52:04
  • Duration

IR

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

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCommand.newTree( newIdentNode("echo"), nnkCall.newTree( nnkBracketExpr.newTree( newIdentNode("chop"), newIdentNode("bool") ), 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(2, 10) template/generic instantiation of `chop` from here /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp1.nim(2, 58) Error: undeclared identifier: 'Private' ```

Stats

  • Started 2023-09-14T14:52:17
  • Finished 2023-09-14T14:52:17
  • Duration

IR

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

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCommand.newTree( newIdentNode("echo"), nnkCall.newTree( nnkBracketExpr.newTree( newIdentNode("chop"), newIdentNode("bool") ), 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(2, 10) template/generic instantiation of `chop` from here /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp1.nim(2, 58) Error: undeclared identifier: 'Private' ```

Stats

  • Started 2023-09-14T14:52:26
  • Finished 2023-09-14T14:52:26
  • Duration

IR

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

AST

```nim nnkStmtList.newTree( nnkImportStmt.newTree( newIdentNode("temp1") ), nnkCommand.newTree( newIdentNode("echo"), nnkCall.newTree( nnkBracketExpr.newTree( newIdentNode("chop"), newIdentNode("bool") ), newLit(42) ) ) ) ```
Stats
  • GCC 11.4.0
  • LibC 2.35
  • Valgrind 3.18.1
  • NodeJS 17.1
  • Linux 6.2.0
  • Created 2023-09-14T14:50:38Z
  • Comments 58
  • 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 49 minutes bisecting 8 commits at 0 commits per second.
juancarlospaco commented 1 year ago

!nim c --cc:clang --clang.exe=emcc --clang.linkerexe=emcc

type Data = ref object
type funType = proc(data: pointer) {.cdecl.}
proc fun(data: Data) {.cdecl.} = discard
proc takesFun(fun: funType) = discard
takesFun(cast[funType](fun))
github-actions[bot] commented 1 year ago

@juancarlospaco (owner)

devel :-1: FAIL

Output

  Error: Command failed: nim c --cc:clang --clang.exe=emcc --clang.linkerexe=emcc --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
/bin/sh: 1: emcc: not found
Error: execution of an external compiler program 'emcc -c -w -ferror-limit=3 -pthread   -I'/home/runner/.choosenim/toolchains/nim-#devel/lib' -I/home/runner/work/nimrun-action-minefield/nimrun-action-minefield -o /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/@m..@s..@s..@s.choosenim@stoolchains@snim-@hdevel@slib@ssystem@sexceptions.nim.c.o /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/@m..@s..@s..@s.choosenim@stoolchains@snim-@hdevel@slib@ssystem@sexceptions.nim.c' failed with exit code: 127

/bin/sh: 1: emcc: not found

Stats

  • Started 2023-09-22T15:07:49
  • Finished 2023-09-22T15:07:49
  • Duration

IR

Compiled filesize 0 bytes (0 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_DatacolonObjectType___7byZNRL5KQKLN8WuB6X27g tyObject_DatacolonObjectType___7byZNRL5KQKLN8WuB6X27g; typedef N_CDECL_PTR(void, tyProc__32w2ZypAyMWuajvi2Jt79cg) (void* data_p0); N_LIB_PRIVATE N_NIMCALL(void, takesFun__temp_u9)(tyProc__32w2ZypAyMWuajvi2Jt79cg fun_p0); static N_INLINE(void, nimFrame)(TFrame* s_p0); N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__system_u4640)(void); static N_INLINE(void, popFrame)(void); N_LIB_PRIVATE N_CDECL(void, fun__temp_u7)(tyObject_DatacolonObjectType___7byZNRL5KQKLN8WuB6X27g* data_p0); static N_INLINE(NIM_BOOL*, nimErrorFlag)(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); extern NIM_THREADVAR TFrame* framePtr__system_u4027; extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4424; static N_INLINE(void, nimFrame)(TFrame* s_p0) { { if (!(framePtr__system_u4027 == ((TFrame*) NIM_NIL))) goto LA3_; (*s_p0).calldepth = ((NI16)0); } goto LA1_; LA3_: ; { (*s_p0).calldepth = (NI16)((*framePtr__system_u4027).calldepth + ((NI16)1)); } LA1_: ; (*s_p0).prev = framePtr__system_u4027; framePtr__system_u4027 = s_p0; { if (!((*s_p0).calldepth == ((NI16)2000))) goto LA8_; callDepthLimitReached__system_u4640(); } LA8_: ; } static N_INLINE(void, popFrame)(void) { framePtr__system_u4027 = (*framePtr__system_u4027).prev; } N_LIB_PRIVATE N_NIMCALL(void, takesFun__temp_u9)(tyProc__32w2ZypAyMWuajvi2Jt79cg fun_p0) { nimfr_("takesFun", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); popFrame(); } N_LIB_PRIVATE N_CDECL(void, fun__temp_u7)(tyObject_DatacolonObjectType___7byZNRL5KQKLN8WuB6X27g* data_p0) { nimfr_("fun", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); popFrame(); } static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (&nimInErrorMode__system_u4424); return result; } 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(); takesFun__temp_u9(fun__temp_u7); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("Data"), newEmptyNode(), nnkRefTy.newTree( nnkObjectTy.newTree( newEmptyNode(), newEmptyNode(), newEmptyNode() ) ) ) ), nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("funType"), newEmptyNode(), nnkProcTy.newTree( nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("data"), newIdentNode("pointer"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("cdecl") ) ) ) ), nnkProcDef.newTree( newIdentNode("fun"), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("data"), newIdentNode("Data"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("cdecl") ), newEmptyNode(), nnkStmtList.newTree( nnkDiscardStmt.newTree( newEmptyNode() ) ) ), nnkProcDef.newTree( newIdentNode("takesFun"), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("fun"), newIdentNode("funType"), newEmptyNode() ) ), newEmptyNode(), newEmptyNode(), nnkStmtList.newTree( nnkDiscardStmt.newTree( newEmptyNode() ) ) ), nnkCall.newTree( newIdentNode("takesFun"), nnkCast.newTree( newIdentNode("funType"), newIdentNode("fun") ) ) ) ```
stable :-1: FAIL

Output

``` Error: Command failed: nim c --cc:clang --clang.exe=emcc --clang.linkerexe=emcc --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 /bin/sh: 1: emcc: not found Error: execution of an external compiler program 'emcc -c -w -ferror-limit=3 -pthread -I/home/runner/.choosenim/toolchains/nim-2.0.0/lib -I/home/runner/work/nimrun-action-minefield/nimrun-action-minefield -o /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/@m..@s..@s..@s.choosenim@stoolchains@snim-2.0.0@slib@ssystem@sexceptions.nim.c.o /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/@m..@s..@s..@s.choosenim@stoolchains@snim-2.0.0@slib@ssystem@sexceptions.nim.c' failed with exit code: 127 /bin/sh: 1: emcc: not found ```

Stats

  • Started 2023-09-22T15:07:50
  • Finished 2023-09-22T15:07:50
  • Duration

IR

Compiled filesize 0 bytes (0 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_DatacolonObjectType___7byZNRL5KQKLN8WuB6X27g tyObject_DatacolonObjectType___7byZNRL5KQKLN8WuB6X27g; typedef N_CDECL_PTR(void, tyProc__32w2ZypAyMWuajvi2Jt79cg) (void* data_p0); N_LIB_PRIVATE N_NIMCALL(void, takesFun__temp_u9)(tyProc__32w2ZypAyMWuajvi2Jt79cg fun_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_CDECL(void, fun__temp_u7)(tyObject_DatacolonObjectType___7byZNRL5KQKLN8WuB6X27g* data_p0); static N_INLINE(NIM_BOOL*, nimErrorFlag)(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); extern NIM_THREADVAR TFrame* framePtr__system_u4006; extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4389; 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 N_NIMCALL(void, takesFun__temp_u9)(tyProc__32w2ZypAyMWuajvi2Jt79cg fun_p0) { nimfr_("takesFun", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); popFrame(); } N_LIB_PRIVATE N_CDECL(void, fun__temp_u7)(tyObject_DatacolonObjectType___7byZNRL5KQKLN8WuB6X27g* data_p0) { nimfr_("fun", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); popFrame(); } static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (NIM_BOOL*)0; result = (&nimInErrorMode__system_u4389); return result; } 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(); takesFun__temp_u9(fun__temp_u7); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("Data"), newEmptyNode(), nnkRefTy.newTree( nnkObjectTy.newTree( newEmptyNode(), newEmptyNode(), newEmptyNode() ) ) ) ), nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("funType"), newEmptyNode(), nnkProcTy.newTree( nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("data"), newIdentNode("pointer"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("cdecl") ) ) ) ), nnkProcDef.newTree( newIdentNode("fun"), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("data"), newIdentNode("Data"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("cdecl") ), newEmptyNode(), nnkStmtList.newTree( nnkDiscardStmt.newTree( newEmptyNode() ) ) ), nnkProcDef.newTree( newIdentNode("takesFun"), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("fun"), newIdentNode("funType"), newEmptyNode() ) ), newEmptyNode(), newEmptyNode(), nnkStmtList.newTree( nnkDiscardStmt.newTree( newEmptyNode() ) ) ), nnkCall.newTree( newIdentNode("takesFun"), nnkCast.newTree( newIdentNode("funType"), newIdentNode("fun") ) ) ) ```
2.0.0 :-1: FAIL

Output

``` Error: Command failed: nim c --cc:clang --clang.exe=emcc --clang.linkerexe=emcc --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 /bin/sh: 1: emcc: not found Error: execution of an external compiler program 'emcc -c -w -ferror-limit=3 -pthread -I/home/runner/.choosenim/toolchains/nim-2.0.0/lib -I/home/runner/work/nimrun-action-minefield/nimrun-action-minefield -o /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/@m..@s..@s..@s.choosenim@stoolchains@snim-2.0.0@slib@ssystem@sexceptions.nim.c.o /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/@m..@s..@s..@s.choosenim@stoolchains@snim-2.0.0@slib@ssystem@sexceptions.nim.c' failed with exit code: 127 /bin/sh: 1: emcc: not found ```

Stats

  • Started 2023-09-22T15:07:50
  • Finished 2023-09-22T15:07:51
  • Duration

IR

Compiled filesize 0 bytes (0 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_DatacolonObjectType___7byZNRL5KQKLN8WuB6X27g tyObject_DatacolonObjectType___7byZNRL5KQKLN8WuB6X27g; typedef N_CDECL_PTR(void, tyProc__32w2ZypAyMWuajvi2Jt79cg) (void* data_p0); N_LIB_PRIVATE N_NIMCALL(void, takesFun__temp_u9)(tyProc__32w2ZypAyMWuajvi2Jt79cg fun_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_CDECL(void, fun__temp_u7)(tyObject_DatacolonObjectType___7byZNRL5KQKLN8WuB6X27g* data_p0); static N_INLINE(NIM_BOOL*, nimErrorFlag)(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); extern NIM_THREADVAR TFrame* framePtr__system_u4006; extern NIM_THREADVAR NIM_BOOL nimInErrorMode__system_u4389; 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 N_NIMCALL(void, takesFun__temp_u9)(tyProc__32w2ZypAyMWuajvi2Jt79cg fun_p0) { nimfr_("takesFun", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); popFrame(); } N_LIB_PRIVATE N_CDECL(void, fun__temp_u7)(tyObject_DatacolonObjectType___7byZNRL5KQKLN8WuB6X27g* data_p0) { nimfr_("fun", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); popFrame(); } static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) { NIM_BOOL* result; result = (NIM_BOOL*)0; result = (&nimInErrorMode__system_u4389); return result; } 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(); takesFun__temp_u9(fun__temp_u7); if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_; BeforeRet_: ; nimTestErrorFlag(); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("Data"), newEmptyNode(), nnkRefTy.newTree( nnkObjectTy.newTree( newEmptyNode(), newEmptyNode(), newEmptyNode() ) ) ) ), nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("funType"), newEmptyNode(), nnkProcTy.newTree( nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("data"), newIdentNode("pointer"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("cdecl") ) ) ) ), nnkProcDef.newTree( newIdentNode("fun"), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("data"), newIdentNode("Data"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("cdecl") ), newEmptyNode(), nnkStmtList.newTree( nnkDiscardStmt.newTree( newEmptyNode() ) ) ), nnkProcDef.newTree( newIdentNode("takesFun"), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("fun"), newIdentNode("funType"), newEmptyNode() ) ), newEmptyNode(), newEmptyNode(), nnkStmtList.newTree( nnkDiscardStmt.newTree( newEmptyNode() ) ) ), nnkCall.newTree( newIdentNode("takesFun"), nnkCast.newTree( newIdentNode("funType"), newIdentNode("fun") ) ) ) ```
1.6.0 :-1: FAIL

Output

``` Error: Command failed: nim c --cc:clang --clang.exe=emcc --clang.linkerexe=emcc --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 /bin/sh: 1: emcc: not found Error: execution of an external compiler program 'emcc -c -w -ferror-limit=3 -I/home/runner/.choosenim/toolchains/nim-1.6.0/lib -I/home/runner/work/nimrun-action-minefield/nimrun-action-minefield -o /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/stdlib_digitsutils.nim.c.o /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/stdlib_digitsutils.nim.c' failed with exit code: 127 /bin/sh: 1: emcc: not found ```

Stats

  • Started 2023-09-22T15:07:54
  • Finished 2023-09-22T15:07:54
  • Duration

IR

Compiled filesize 0 bytes (0 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_DatacolonObjectType___Q9cLc9cGBIUCU9ciAc39axEvog tyObject_DatacolonObjectType___Q9cLc9cGBIUCU9ciAc39axEvog; typedef N_CDECL_PTR(void, tyProc__32w2ZypAyMWuajvi2Jt79cg) (void* data); N_LIB_PRIVATE N_NIMCALL(void, takesFun_temp_9)(tyProc__32w2ZypAyMWuajvi2Jt79cg fun); 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_CDECL(void, fun_temp_7)(tyObject_DatacolonObjectType___Q9cLc9cGBIUCU9ciAc39axEvog* data); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NOINLINE(void, nimGC_setStackBottom)(void* theStackBottom); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); 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, 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 N_NIMCALL(void, takesFun_temp_9)(tyProc__32w2ZypAyMWuajvi2Jt79cg fun) { nimfr_("takesFun", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); popFrame(); } N_LIB_PRIVATE N_CDECL(void, fun_temp_7)(tyObject_DatacolonObjectType___Q9cLc9cGBIUCU9ciAc39axEvog* data) { nimfr_("fun", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); popFrame(); } static N_INLINE(void, initStackBottomWith)(void* locals) { nimGC_setStackBottom(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(); initStackBottomWith((void *)&inner); 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) { { nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefield/temp.nim"); takesFun_temp_9(fun_temp_7); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("Data"), newEmptyNode(), nnkRefTy.newTree( nnkObjectTy.newTree( newEmptyNode(), newEmptyNode(), newEmptyNode() ) ) ) ), nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("funType"), newEmptyNode(), nnkProcTy.newTree( nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("data"), newIdentNode("pointer"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("cdecl") ) ) ) ), nnkProcDef.newTree( newIdentNode("fun"), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("data"), newIdentNode("Data"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("cdecl") ), newEmptyNode(), nnkStmtList.newTree( nnkDiscardStmt.newTree( newEmptyNode() ) ) ), nnkProcDef.newTree( newIdentNode("takesFun"), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("fun"), newIdentNode("funType"), newEmptyNode() ) ), newEmptyNode(), newEmptyNode(), nnkStmtList.newTree( nnkDiscardStmt.newTree( newEmptyNode() ) ) ), nnkCall.newTree( newIdentNode("takesFun"), nnkCast.newTree( newIdentNode("funType"), newIdentNode("fun") ) ) ) ```
1.4.0 :-1: FAIL

Output

``` Error: Command failed: nim c --cc:clang --clang.exe=emcc --clang.linkerexe=emcc --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 /bin/sh: 1: emcc: not found Error: execution of an external compiler program 'emcc -c -w -ferror-limit=3 -I/home/runner/.choosenim/toolchains/nim-1.4.0/lib -I/home/runner/work/nimrun-action-minefield/nimrun-action-minefield -o /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/stdlib_system.nim.c.o /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/stdlib_system.nim.c' failed with exit code: 127 /bin/sh: 1: emcc: not found ```

Stats

  • Started 2023-09-22T15:07:56
  • Finished 2023-09-22T15:07:57
  • Duration

IR

Compiled filesize 0 bytes (0 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_DatacolonObjectType___Q9cLc9cGBIUCU9ciAc39axEvog tyObject_DatacolonObjectType___Q9cLc9cGBIUCU9ciAc39axEvog; typedef N_CDECL_PTR(void, tyProc__32w2ZypAyMWuajvi2Jt79cg) (void* data); N_LIB_PRIVATE N_NIMCALL(void, takesFun__tDX48HtUD536dNfDFS5I7g)(tyProc__32w2ZypAyMWuajvi2Jt79cg fun); 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_CDECL(void, fun__8mtCzAUhFYv2vDAqraAo9ag)(tyObject_DatacolonObjectType___Q9cLc9cGBIUCU9ciAc39axEvog* data); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NOINLINE(void, nimGC_setStackBottom)(void* theStackBottom); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); 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, 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, takesFun__tDX48HtUD536dNfDFS5I7g)(tyProc__32w2ZypAyMWuajvi2Jt79cg fun) { nimfr_("takesFun", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); popFrame(); } N_LIB_PRIVATE N_CDECL(void, fun__8mtCzAUhFYv2vDAqraAo9ag)(tyObject_DatacolonObjectType___Q9cLc9cGBIUCU9ciAc39axEvog* data) { nimfr_("fun", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); popFrame(); } static N_INLINE(void, initStackBottomWith)(void* locals) { nimGC_setStackBottom(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(); initStackBottomWith((void *)&inner); 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) { { nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); takesFun__tDX48HtUD536dNfDFS5I7g(fun__8mtCzAUhFYv2vDAqraAo9ag); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("Data"), newEmptyNode(), nnkRefTy.newTree( nnkObjectTy.newTree( newEmptyNode(), newEmptyNode(), newEmptyNode() ) ) ) ), nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("funType"), newEmptyNode(), nnkProcTy.newTree( nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("data"), newIdentNode("pointer"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("cdecl") ) ) ) ), nnkProcDef.newTree( newIdentNode("fun"), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("data"), newIdentNode("Data"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("cdecl") ), newEmptyNode(), nnkStmtList.newTree( nnkDiscardStmt.newTree( newEmptyNode() ) ) ), nnkProcDef.newTree( newIdentNode("takesFun"), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("fun"), newIdentNode("funType"), newEmptyNode() ) ), newEmptyNode(), newEmptyNode(), nnkStmtList.newTree( nnkDiscardStmt.newTree( newEmptyNode() ) ) ), nnkCall.newTree( newIdentNode("takesFun"), nnkCast.newTree( newIdentNode("funType"), newIdentNode("fun") ) ) ) ```
1.2.0 :-1: FAIL

Output

``` Error: Command failed: nim c --cc:clang --clang.exe=emcc --clang.linkerexe=emcc --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 /bin/sh: 1: emcc: not found Error: execution of an external compiler program 'emcc -c -w -I/home/runner/.choosenim/toolchains/nim-1.2.0/lib -I/home/runner/work/nimrun-action-minefield/nimrun-action-minefield -o /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/stdlib_system.nim.c.o /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/stdlib_system.nim.c' failed with exit code: 127 /bin/sh: 1: emcc: not found ```

Stats

  • Started 2023-09-22T15:08:17
  • Finished 2023-09-22T15:08:17
  • Duration

IR

Compiled filesize 0 bytes (0 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_DatacolonObjectType___Q9cLc9cGBIUCU9ciAc39axEvog tyObject_DatacolonObjectType___Q9cLc9cGBIUCU9ciAc39axEvog; typedef N_CDECL_PTR(void, tyProc__32w2ZypAyMWuajvi2Jt79cg) (void* data); N_LIB_PRIVATE N_NIMCALL(void, takesFun__tDX48HtUD536dNfDFS5I7g)(tyProc__32w2ZypAyMWuajvi2Jt79cg fun); 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_CDECL(void, fun__8mtCzAUhFYv2vDAqraAo9ag)(tyObject_DatacolonObjectType___Q9cLc9cGBIUCU9ciAc39axEvog* data); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NOINLINE(void, nimGC_setStackBottom)(void* theStackBottom); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); 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, 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 N_NIMCALL(void, takesFun__tDX48HtUD536dNfDFS5I7g)(tyProc__32w2ZypAyMWuajvi2Jt79cg fun) { nimfr_("takesFun", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); popFrame(); } N_LIB_PRIVATE N_CDECL(void, fun__8mtCzAUhFYv2vDAqraAo9ag)(tyObject_DatacolonObjectType___Q9cLc9cGBIUCU9ciAc39axEvog* data) { nimfr_("fun", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); popFrame(); } static N_INLINE(void, initStackBottomWith)(void* locals) { nimGC_setStackBottom(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(); initStackBottomWith((void *)&inner); 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) { { nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); takesFun__tDX48HtUD536dNfDFS5I7g(fun__8mtCzAUhFYv2vDAqraAo9ag); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("Data"), newEmptyNode(), nnkRefTy.newTree( nnkObjectTy.newTree( newEmptyNode(), newEmptyNode(), newEmptyNode() ) ) ) ), nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("funType"), newEmptyNode(), nnkProcTy.newTree( nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("data"), newIdentNode("pointer"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("cdecl") ) ) ) ), nnkProcDef.newTree( newIdentNode("fun"), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("data"), newIdentNode("Data"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("cdecl") ), newEmptyNode(), nnkStmtList.newTree( nnkDiscardStmt.newTree( newEmptyNode() ) ) ), nnkProcDef.newTree( newIdentNode("takesFun"), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("fun"), newIdentNode("funType"), newEmptyNode() ) ), newEmptyNode(), newEmptyNode(), nnkStmtList.newTree( nnkDiscardStmt.newTree( newEmptyNode() ) ) ), nnkCall.newTree( newIdentNode("takesFun"), nnkCast.newTree( newIdentNode("funType"), newIdentNode("fun") ) ) ) ```
1.0.0 :-1: FAIL

Output

``` Error: Command failed: nim c --cc:clang --clang.exe=emcc --clang.linkerexe=emcc --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 Error: execution of an external compiler program 'emcc -c -w -I/home/runner/.choosenim/toolchains/nim-1.0.0/lib -I/home/runner/work/nimrun-action-minefield/nimrun-action-minefield -o /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/stdlib_system.nim.c.o /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/stdlib_system.nim.c' failed with exit code: 127 /bin/sh: 1: emcc: not found ```

Stats

  • Started 2023-09-22T15:08:28
  • Finished 2023-09-22T15:08:28
  • Duration

IR

Compiled filesize 0 bytes (0 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_DatacolonObjectType___Q9cLc9cGBIUCU9ciAc39axEvog tyObject_DatacolonObjectType___Q9cLc9cGBIUCU9ciAc39axEvog; typedef N_CDECL_PTR(void, tyProc__32w2ZypAyMWuajvi2Jt79cg) (void* data); N_LIB_PRIVATE N_NIMCALL(void, takesFun__tDX48HtUD536dNfDFS5I7g)(tyProc__32w2ZypAyMWuajvi2Jt79cg fun); 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_CDECL(void, fun__8mtCzAUhFYv2vDAqraAo9ag)(tyObject_DatacolonObjectType___Q9cLc9cGBIUCU9ciAc39axEvog* data); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NOINLINE(void, nimGC_setStackBottom)(void* theStackBottom); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); 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, 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 N_NIMCALL(void, takesFun__tDX48HtUD536dNfDFS5I7g)(tyProc__32w2ZypAyMWuajvi2Jt79cg fun) { nimfr_("takesFun", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); popFrame(); } N_LIB_PRIVATE N_CDECL(void, fun__8mtCzAUhFYv2vDAqraAo9ag)(tyObject_DatacolonObjectType___Q9cLc9cGBIUCU9ciAc39axEvog* data) { nimfr_("fun", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); popFrame(); } static N_INLINE(void, initStackBottomWith)(void* locals) { nimGC_setStackBottom(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(); initStackBottomWith((void *)&inner); 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) { { nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); takesFun__tDX48HtUD536dNfDFS5I7g(fun__8mtCzAUhFYv2vDAqraAo9ag); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("Data"), newEmptyNode(), nnkRefTy.newTree( nnkObjectTy.newTree( newEmptyNode(), newEmptyNode(), newEmptyNode() ) ) ) ), nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("funType"), newEmptyNode(), nnkProcTy.newTree( nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("data"), newIdentNode("pointer"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("cdecl") ) ) ) ), nnkProcDef.newTree( newIdentNode("fun"), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("data"), newIdentNode("Data"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("cdecl") ), newEmptyNode(), nnkStmtList.newTree( nnkDiscardStmt.newTree( newEmptyNode() ) ) ), nnkProcDef.newTree( newIdentNode("takesFun"), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("fun"), newIdentNode("funType"), newEmptyNode() ) ), newEmptyNode(), newEmptyNode(), nnkStmtList.newTree( nnkDiscardStmt.newTree( newEmptyNode() ) ) ), nnkCall.newTree( newIdentNode("takesFun"), nnkCast.newTree( newIdentNode("funType"), newIdentNode("fun") ) ) ) ```
0.20.2 :-1: FAIL

Output

``` Error: Command failed: nim c --cc:clang --clang.exe=emcc --clang.linkerexe=emcc --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 Error: execution of an external compiler program 'emcc -c -w -I/home/runner/.choosenim/toolchains/nim-0.20.2/lib -I/home/runner/work/nimrun-action-minefield/nimrun-action-minefield -o /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/stdlib_system.nim.c.o /home/runner/work/nimrun-action-minefield/nimrun-action-minefield/stdlib_system.nim.c' failed with exit code: 127 /bin/sh: 1: emcc: not found ```

Stats

  • Started 2023-09-22T15:08:37
  • Finished 2023-09-22T15:08:37
  • Duration

IR

Compiled filesize 0 bytes (0 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_DatacolonObjectType___Q9cLc9cGBIUCU9ciAc39axEvog tyObject_DatacolonObjectType___Q9cLc9cGBIUCU9ciAc39axEvog; typedef N_CDECL_PTR(void, tyProc__32w2ZypAyMWuajvi2Jt79cg) (void* data); N_LIB_PRIVATE N_NIMCALL(void, takesFun__tDX48HtUD536dNfDFS5I7g)(tyProc__32w2ZypAyMWuajvi2Jt79cg fun); 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_CDECL(void, fun__8mtCzAUhFYv2vDAqraAo9ag)(tyObject_DatacolonObjectType___Q9cLc9cGBIUCU9ciAc39axEvog* data); static N_INLINE(void, initStackBottomWith)(void* locals); N_LIB_PRIVATE N_NOINLINE(void, nimGC_setStackBottom)(void* theStackBottom); N_LIB_PRIVATE N_NIMCALL(void, systemDatInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, systemInit000)(void); N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void); 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, 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 N_NIMCALL(void, takesFun__tDX48HtUD536dNfDFS5I7g)(tyProc__32w2ZypAyMWuajvi2Jt79cg fun) { nimfr_("takesFun", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); popFrame(); } N_LIB_PRIVATE N_CDECL(void, fun__8mtCzAUhFYv2vDAqraAo9ag)(tyObject_DatacolonObjectType___Q9cLc9cGBIUCU9ciAc39axEvog* data) { nimfr_("fun", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); popFrame(); } static N_INLINE(void, initStackBottomWith)(void* locals) { nimGC_setStackBottom(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(); initStackBottomWith((void *)&inner); 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) { { nimfr_("temp", "/home/runner/work/nimrun-action-minefield/nimrun-action-minefie" "ld/temp.nim"); takesFun__tDX48HtUD536dNfDFS5I7g(fun__8mtCzAUhFYv2vDAqraAo9ag); popFrame(); } } ```

AST

```nim nnkStmtList.newTree( nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("Data"), newEmptyNode(), nnkRefTy.newTree( nnkObjectTy.newTree( newEmptyNode(), newEmptyNode(), newEmptyNode() ) ) ) ), nnkTypeSection.newTree( nnkTypeDef.newTree( newIdentNode("funType"), newEmptyNode(), nnkProcTy.newTree( nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("data"), newIdentNode("pointer"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("cdecl") ) ) ) ), nnkProcDef.newTree( newIdentNode("fun"), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("data"), newIdentNode("Data"), newEmptyNode() ) ), nnkPragma.newTree( newIdentNode("cdecl") ), newEmptyNode(), nnkStmtList.newTree( nnkDiscardStmt.newTree( newEmptyNode() ) ) ), nnkProcDef.newTree( newIdentNode("takesFun"), newEmptyNode(), newEmptyNode(), nnkFormalParams.newTree( newEmptyNode(), nnkIdentDefs.newTree( newIdentNode("fun"), newIdentNode("funType"), newEmptyNode() ) ), newEmptyNode(), newEmptyNode(), nnkStmtList.newTree( nnkDiscardStmt.newTree( newEmptyNode() ) ) ), nnkCall.newTree( newIdentNode("takesFun"), nnkCast.newTree( newIdentNode("funType"), newIdentNode("fun") ) ) ) ```
Stats
  • GCC 11.4.0
  • LibC 2.35
  • Valgrind 3.18.1
  • NodeJS 17.1
  • Linux 6.2.0
  • Created 2023-09-22T15:07:02Z
  • Comments 60
  • Commands nim c --cc:clang --clang.exe=emcc --clang.linkerexe=emcc --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.