Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example #3

Open
juancarlospaco opened this issue Dec 14, 2022 · 23 comments
Open

Example #3

juancarlospaco opened this issue Dec 14, 2022 · 23 comments

Comments

@juancarlospaco
Copy link
Owner

juancarlospaco commented Dec 14, 2022

Hello, dividing by zero causes a bug.

@juancarlospaco
Copy link
Owner Author

@github-actions nim c

echo "Bug Repro Code Sample Here"

@github-actions
Copy link

@juancarlospaco (owner)

Output
Bug Repro Code Sample Here
Stats created 2022-12-14T18:03:13Z
started 2022-12-14T18:03:45
finished 2022-12-14T18:03:47
duration 1 minute
filesize 62.22 Kb
command nim c --run -d:strip --include:std/prelude --forceBuild:on --colors:off --panics:on --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off
AST
nnkStmtList.newTree(
  nnkCommand.newTree(
    newIdentNode("echo"),
    newLit("Bug Repro Code Sample Here")
  )
)

@hugosenari
Copy link

@github-actions nim c

echo(10/0)

@github-actions
Copy link

@hugosenari (none)

Output
inf
Stats created 2022-12-14T19:05:15Z
started 2022-12-14T19:05:50
finished 2022-12-14T19:05:52
duration 2 minutes
filesize 66.22 Kb
command nim c --run -d:strip --include:std/prelude --forceBuild:on --colors:off --panics:on --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off
AST
nnkStmtList.newTree(
  nnkCall.newTree(
    newIdentNode("echo"),
    nnkInfix.newTree(
      newIdentNode("/"),
      newLit(10),
      newLit(0)
    )
  )
)

@hugosenari
Copy link

@github-actions nim c

from std/random import randomize, sample

randomize()

type
  ✊🤚✌️ = enum
    ✊, 🤚, ✌️
  🏆     = enum
    👈, 🤷, 👉


proc `>`(👤, 👥: ✊🤚✌️): bool =
  👤 == 🤚 and 👥 ==or 
  👤 == ✌️ and 👥 == 🤚 or 
  👤 ==and 👥 == ✌️


proc 👋(👤, 👥: ✊🤚✌️): 🏆 =
  if   👤 == 👥: 🤷
  elif 👤 >  👥: 👈
  else:          👉


proc 🆚(👤, 👥: ✊🤚✌️): void =
  echo(👤, "  ", 👤.👋 👥 , "  ", 👥)


template ❓: ✊🤚✌️ = 
  sample([✊, 🤚, ✌️])


✊.🆚 ✊
🤚.🆚 ✊
✌️.🆚 ✊
✊.🆚 🤚
🤚.🆚 🤚
✌️.🆚 🤚
✊.🆚 ✌️
🤚.🆚 ✌️
✌️.🆚 ✌️
❓.🆚 ✊
✊.🆚 ❓
❓.🆚 ❓

@github-actions
Copy link

@hugosenari (none)

Output
✊  🤷  ✊
🤚  👈  ✊
✌️  👉  ✊
✊  👉  🤚
🤚  🤷  🤚
✌️  👈  🤚
✊  👈  ✌️
🤚  👉  ✌️
✌️  🤷  ✌️
✊  🤷  ✊
✊  🤷  ✊
🤚  🤷  🤚
Stats created 2022-12-14T19:26:10Z
started 2022-12-14T19:26:39
finished 2022-12-14T19:26:40
duration 1 minute
filesize 78.29 Kb
command nim c --run -d:strip --include:std/prelude --forceBuild:on --colors:off --panics:on --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off
AST
nnkStmtList.newTree(
  nnkFromStmt.newTree(
    nnkInfix.newTree(
      newIdentNode("/"),
      newIdentNode("std"),
      newIdentNode("random")
    ),
    newIdentNode("randomize"),
    newIdentNode("sample")
  ),
  nnkCall.newTree(
    newIdentNode("randomize")
  ),
  nnkTypeSection.newTree(
    nnkTypeDef.newTree(
      newIdentNode("✊🤚✌️"),
      newEmptyNode(),
      nnkEnumTy.newTree(
        newEmptyNode(),
        newIdentNode(""),
        newIdentNode("🤚"),
        newIdentNode("✌️")
      )
    ),
    nnkTypeDef.newTree(
      newIdentNode("🏆"),
      newEmptyNode(),
      nnkEnumTy.newTree(
        newEmptyNode(),
        newIdentNode("👈"),
        newIdentNode("🤷"),
        newIdentNode("👉")
      )
    )
  ),
  nnkProcDef.newTree(
    nnkAccQuoted.newTree(
      newIdentNode(">")
    ),
    newEmptyNode(),
    newEmptyNode(),
    nnkFormalParams.newTree(
      newIdentNode("bool"),
      nnkIdentDefs.newTree(
        newIdentNode("👤"),
        newIdentNode("👥"),
        newIdentNode("✊🤚✌️"),
        newEmptyNode()
      )
    ),
    newEmptyNode(),
    newEmptyNode(),
    nnkStmtList.newTree(
      nnkInfix.newTree(
        newIdentNode("or"),
        nnkInfix.newTree(
          newIdentNode("or"),
          nnkInfix.newTree(
            newIdentNode("and"),
            nnkInfix.newTree(
              newIdentNode("=="),
              newIdentNode("👤"),
              newIdentNode("🤚")
            ),
            nnkInfix.newTree(
              newIdentNode("=="),
              newIdentNode("👥"),
              newIdentNode("")
            )
          ),
          nnkInfix.newTree(
            newIdentNode("and"),
            nnkInfix.newTree(
              newIdentNode("=="),
              newIdentNode("👤"),
              newIdentNode("✌️")
            ),
            nnkInfix.newTree(
              newIdentNode("=="),
              newIdentNode("👥"),
              newIdentNode("🤚")
            )
          )
        ),
        nnkInfix.newTree(
          newIdentNode("and"),
          nnkInfix.newTree(
            newIdentNode("=="),
            newIdentNode("👤"),
            newIdentNode("")
          ),
          nnkInfix.newTree(
            newIdentNode("=="),
            newIdentNode("👥"),
            newIdentNode("✌️")
          )
        )
      )
    )
  ),
  nnkProcDef.newTree(
    newIdentNode("👋"),
    newEmptyNode(),
    newEmptyNode(),
    nnkFormalParams.newTree(
      newIdentNode("🏆"),
      nnkIdentDefs.newTree(
        newIdentNode("👤"),
        newIdentNode("👥"),
        newIdentNode("✊🤚✌️"),
        newEmptyNode()
      )
    ),
    newEmptyNode(),
    newEmptyNode(),
    nnkStmtList.newTree(
      nnkIfStmt.newTree(
        nnkElifBranch.newTree(
          nnkInfix.newTree(
            newIdentNode("=="),
            newIdentNode("👤"),
            newIdentNode("👥")
          ),
          nnkStmtList.newTree(
            newIdentNode("🤷")
          )
        ),
        nnkElifBranch.newTree(
          nnkInfix.newTree(
            newIdentNode(">"),
            newIdentNode("👤"),
            newIdentNode("👥")
          ),
          nnkStmtList.newTree(
            newIdentNode("👈")
          )
        ),
        nnkElse.newTree(
          nnkStmtList.newTree(
            newIdentNode("👉")
          )
        )
      )
    )
  ),
  nnkProcDef.newTree(
    newIdentNode("🆚"),
    newEmptyNode(),
    newEmptyNode(),
    nnkFormalParams.newTree(
      newIdentNode("void"),
      nnkIdentDefs.newTree(
        newIdentNode("👤"),
        newIdentNode("👥"),
        newIdentNode("✊🤚✌️"),
        newEmptyNode()
      )
    ),
    newEmptyNode(),
    newEmptyNode(),
    nnkStmtList.newTree(
      nnkCall.newTree(
        newIdentNode("echo"),
        newIdentNode("👤"),
        newLit("  "),
        nnkCommand.newTree(
          nnkDotExpr.newTree(
            newIdentNode("👤"),
            newIdentNode("👋")
          ),
          newIdentNode("👥")
        ),
        newLit("  "),
        newIdentNode("👥")
      )
    )
  ),
  nnkTemplateDef.newTree(
    newIdentNode(""),
    newEmptyNode(),
    newEmptyNode(),
    nnkFormalParams.newTree(
      newIdentNode("✊🤚✌️")
    ),
    newEmptyNode(),
    newEmptyNode(),
    nnkStmtList.newTree(
      nnkCall.newTree(
        newIdentNode("sample"),
        nnkBracket.newTree(
          newIdentNode(""),
          newIdentNode("🤚"),
          newIdentNode("✌️")
        )
      )
    )
  ),
  nnkCommand.newTree(
    nnkDotExpr.newTree(
      newIdentNode(""),
      newIdentNode("🆚")
    ),
    newIdentNode("")
  ),
  nnkCommand.newTree(
    nnkDotExpr.newTree(
      newIdentNode("🤚"),
      newIdentNode("🆚")
    ),
    newIdentNode("")
  ),
  nnkCommand.newTree(
    nnkDotExpr.newTree(
      newIdentNode("✌️"),
      newIdentNode("🆚")
    ),
    newIdentNode("")
  ),
  nnkCommand.newTree(
    nnkDotExpr.newTree(
      newIdentNode(""),
      newIdentNode("🆚")
    ),
    newIdentNode("🤚")
  ),
  nnkCommand.newTree(
    nnkDotExpr.newTree(
      newIdentNode("🤚"),
      newIdentNode("🆚")
    ),
    newIdentNode("🤚")
  ),
  nnkCommand.newTree(
    nnkDotExpr.newTree(
      newIdentNode("✌️"),
      newIdentNode("🆚")
    ),
    newIdentNode("🤚")
  ),
  nnkCommand.newTree(
    nnkDotExpr.newTree(
      newIdentNode(""),
      newIdentNode("🆚")
    ),
    newIdentNode("✌️")
  ),
  nnkCommand.newTree(
    nnkDotExpr.newTree(
      newIdentNode("🤚"),
      newIdentNode("🆚")
    ),
    newIdentNode("✌️")
  ),
  nnkCommand.newTree(
    nnkDotExpr.newTree(
      newIdentNode("✌️"),
      newIdentNode("🆚")
    ),
    newIdentNode("✌️")
  ),
  nnkCommand.newTree(
    nnkDotExpr.newTree(
      newIdentNode(""),
      newIdentNode("🆚")
    ),
    newIdentNode("")
  ),
  nnkCommand.newTree(
    nnkDotExpr.newTree(
      newIdentNode(""),
      newIdentNode("🆚")
    ),
    newIdentNode("")
  ),
  nnkCommand.newTree(
    nnkDotExpr.newTree(
      newIdentNode(""),
      newIdentNode("🆚")
    ),
    newIdentNode("")
  )
)

@carpincho-capybara
Copy link

@github-actions nim cpp

echo("Hola Mundo")

@github-actions
Copy link

@carpincho-capybara (none)

Output
Hola Mundo
Stats created 2022-12-14T20:38:41Z
started 2022-12-14T20:39:08
finished 2022-12-14T20:39:10
duration 2 minutes
filesize 70.82 Kb
command nim cpp --run -d:strip --include:std/prelude --forceBuild:on --colors:off --panics:on --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off
AST
nnkStmtList.newTree(
  nnkCall.newTree(
    newIdentNode("echo"),
    newLit("Hola Mundo")
  )
)

@carpincho-capybara
Copy link

@github-actions nim c

echo(NimVersion)

@github-actions
Copy link

@carpincho-capybara (none)

Output
1.7.3
Stats created 2022-12-14T20:51:56Z
started 2022-12-14T20:52:33
finished 2022-12-14T20:52:34
duration 1 minute
filesize 62.22 Kb
command nim c --run -d:strip --include:std/prelude --forceBuild:on --colors:off --panics:on --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off
AST
nnkStmtList.newTree(
  nnkCall.newTree(
    newIdentNode("echo"),
    newIdentNode("NimVersion")
  )
)

Repository owner deleted a comment from carpincho-capybara Dec 14, 2022
Repository owner deleted a comment from github-actions bot Dec 14, 2022
@carpincho-capybara
Copy link

@github-actions nim cpp

echo("hola github")

Repository owner deleted a comment from github-actions bot Dec 21, 2022
@juancarlospaco
Copy link
Owner Author

@github-actions nim c

echo "Bug Repro Code"

@github-actions
Copy link

@juancarlospaco (owner)

Output
Bug Repro Code
Stats created 2022-12-21T21:37:21Z
started 2022-12-21T21:37:54
finished 2022-12-21T21:37:55
duration 1 minute
filesize 62.22 Kb
command nim c --asm --passC:-fno-verbose-asm --run -d:strip -d:nimDisableCertificateValidation --include:std/prelude --forceBuild:on --colors:off --panics:on --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
AST
nnkStmtList.newTree(
  nnkCommand.newTree(
    newIdentNode("echo"),
    newLit("Bug Repro Code")
  )
)
ASM
GAS LISTING /tmp/ccyufMpL.s 			page 1


   1              		.file	"@mtemp.nim.c"
   2              		.intel_syntax noprefix
   3              		.text
   4              	.Ltext0:
   5              		.file 0 "/home/runner/work/nimrun-action/nimrun-action" "/home/runner/work/nimrun-action/nimrun-ac
   6              		.section	.rodata
   7              		.align 16
  10              	TM__h69aKLv9bAieBdiFzvDngbMw_3:
  11 0000 0E000000 		.quad	4611686018427387918
  11      00000040 
  12 0008 42756720 		.string	"Bug Repro Code"
  12      52657072 
  12      6F20436F 
  12      646500
  13 0017 00       		.zero	1
  14              		.section	.data.rel.ro.local,"aw"
  15              		.align 16
  18              	TM__h69aKLv9bAieBdiFzvDngbMw_2:
  19 0000 0E000000 		.quad	14
  19      00000000 
  20 0008 00000000 		.quad	TM__h69aKLv9bAieBdiFzvDngbMw_3
  20      00000000 
  21              		.text
  23              	nimFrame:
  24              	.LFB0:
  25              		.file 1 "/home/runner/work/nimrun-action/nimrun-action/@mtemp.nim.c"
  26              		.loc 1 60 68
  27              		.cfi_startproc
  28 0000 55       		push	rbp
  29              		.cfi_def_cfa_offset 16
  30              		.cfi_offset 6, -16
  31 0001 4889E5   		mov	rbp, rsp
  32              		.cfi_def_cfa_register 6
  33 0004 4883EC10 		sub	rsp, 16
  34 0008 48897DF8 		mov	QWORD PTR -8[rbp], rdi
  35              		.loc 1 62 7
  36 000c 488B0500 		mov	rax, QWORD PTR framePtr__system_3678[rip]
  36      000000
  37              		.loc 1 62 6
  38 0013 4885C0   		test	rax, rax
  39 0016 750C     		jne	.L8
  40              		.loc 1 63 42
  41 0018 488B45F8 		mov	rax, QWORD PTR -8[rbp]
  42 001c 66C74022 		mov	WORD PTR 34[rax], 0
  42      0000
  43              		.loc 1 65 2
  44 0022 EB19     		jmp	.L4
  45              	.L8:
  46              		.loc 1 62 56
  47 0024 90       		nop
  48              	.L3:
  49              		.loc 1 68 52
  50 0025 488B0500 		mov	rax, QWORD PTR framePtr__system_3678[rip]
  50      000000
  51              		.loc 1 68 75
  52 002c 0FB74022 		movzx	eax, WORD PTR 34[rax]
  53              		.loc 1 68 86
GAS LISTING /tmp/ccyufMpL.s 			page 2


  54 0030 83C001   		add	eax, 1
  55              		.loc 1 68 44
  56 0033 89C2     		mov	edx, eax
  57              		.loc 1 68 42
  58 0035 488B45F8 		mov	rax, QWORD PTR -8[rbp]
  59 0039 66895022 		mov	WORD PTR 34[rax], dx
  60              	.L4:
  61              		.loc 1 71 36
  62 003d 488B1500 		mov	rdx, QWORD PTR framePtr__system_3678[rip]
  62      000000
  63 0044 488B45F8 		mov	rax, QWORD PTR -8[rbp]
  64 0048 488910   		mov	QWORD PTR [rax], rdx
  65              		.loc 1 72 24
  66 004b 488B45F8 		mov	rax, QWORD PTR -8[rbp]
  67 004f 48890500 		mov	QWORD PTR framePtr__system_3678[rip], rax
  67      000000
  68              		.loc 1 74 37
  69 0056 488B45F8 		mov	rax, QWORD PTR -8[rbp]
  70 005a 0FB74022 		movzx	eax, WORD PTR 34[rax]
  71              		.loc 1 74 6
  72 005e 663DD007 		cmp	ax, 2000
  73 0062 7507     		jne	.L9
  74              		.loc 1 75 3
  75 0064 E8000000 		call	callDepthLimitReached__system_4198
  75      00
  76              		.loc 1 78 1
  77 0069 EB01     		jmp	.L10
  78              	.L9:
  79              		.loc 1 74 66
  80 006b 90       		nop
  81              	.L6:
  82              	.L10:
  83              		.loc 1 78 1
  84 006c 90       		nop
  85 006d C9       		leave
  86              		.cfi_def_cfa 7, 8
  87 006e C3       		ret
  88              		.cfi_endproc
  89              	.LFE0:
  92              	popFrame:
  93              	.LFB1:
  94              		.loc 1 79 39
  95              		.cfi_startproc
  96 006f 55       		push	rbp
  97              		.cfi_def_cfa_offset 16
  98              		.cfi_offset 6, -16
  99 0070 4889E5   		mov	rbp, rsp
 100              		.cfi_def_cfa_register 6
 101              		.loc 1 80 27
 102 0073 488B0500 		mov	rax, QWORD PTR framePtr__system_3678[rip]
 102      000000
 103              		.loc 1 80 50
 104 007a 488B00   		mov	rax, QWORD PTR [rax]
 105              		.loc 1 80 24
 106 007d 48890500 		mov	QWORD PTR framePtr__system_3678[rip], rax
 106      000000
 107              		.loc 1 81 1
GAS LISTING /tmp/ccyufMpL.s 			page 3


 108 0084 90       		nop
 109 0085 5D       		pop	rbp
 110              		.cfi_def_cfa 7, 8
 111 0086 C3       		ret
 112              		.cfi_endproc
 113              	.LFE1:
 115              		.globl	PreMainInner
 116              		.hidden	PreMainInner
 118              	PreMainInner:
 119              	.LFB2:
 120              		.loc 1 83 39
 121              		.cfi_startproc
 122 0087 F30F1EFA 		endbr64
 123 008b 55       		push	rbp
 124              		.cfi_def_cfa_offset 16
 125              		.cfi_offset 6, -16
 126 008c 4889E5   		mov	rbp, rsp
 127              		.cfi_def_cfa_register 6
 128              		.loc 1 84 1
 129 008f 90       		nop
 130 0090 5D       		pop	rbp
 131              		.cfi_def_cfa 7, 8
 132 0091 C3       		ret
 133              		.cfi_endproc
 134              	.LFE2:
 136              		.hidden	cmdCount
 137              		.globl	cmdCount
 138              		.bss
 139              		.align 4
 142              	cmdCount:
 143 0000 00000000 		.zero	4
 144              		.hidden	cmdLine
 145              		.globl	cmdLine
 146 0004 00000000 		.align 8
 149              	cmdLine:
 150 0008 00000000 		.zero	8
 150      00000000 
 151              		.hidden	gEnv
 152              		.globl	gEnv
 153              		.align 8
 156              	gEnv:
 157 0010 00000000 		.zero	8
 157      00000000 
 158              		.text
 159              		.globl	PreMain
 160              		.hidden	PreMain
 162              	PreMain:
 163              	.LFB3:
 164              		.loc 1 89 34
 165              		.cfi_startproc
 166 0092 F30F1EFA 		endbr64
 167 0096 55       		push	rbp
 168              		.cfi_def_cfa_offset 16
 169              		.cfi_offset 6, -16
 170 0097 4889E5   		mov	rbp, rsp
 171              		.cfi_def_cfa_register 6
 172              		.loc 1 96 2
GAS LISTING /tmp/ccyufMpL.s 			page 4


 173 009a E8000000 		call	atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminusathdevelatslibatssystemdotn
 173      00
 174              		.loc 1 97 2
 175 009f E8000000 		call	PreMainInner
 175      00
 176              		.loc 1 99 1
 177 00a4 90       		nop
 178 00a5 5D       		pop	rbp
 179              		.cfi_def_cfa 7, 8
 180 00a6 C3       		ret
 181              		.cfi_endproc
 182              	.LFE3:
 184              		.globl	NimMainInner
 185              		.hidden	NimMainInner
 187              	NimMainInner:
 188              	.LFB4:
 189              		.loc 1 101 49
 190              		.cfi_startproc
 191 00a7 F30F1EFA 		endbr64
 192 00ab 55       		push	rbp
 193              		.cfi_def_cfa_offset 16
 194              		.cfi_offset 6, -16
 195 00ac 4889E5   		mov	rbp, rsp
 196              		.cfi_def_cfa_register 6
 197              		.loc 1 102 2
 198 00af E8000000 		call	NimMainModule
 198      00
 199              		.loc 1 103 1
 200 00b4 90       		nop
 201 00b5 5D       		pop	rbp
 202              		.cfi_def_cfa 7, 8
 203 00b6 C3       		ret
 204              		.cfi_endproc
 205              	.LFE4:
 207              		.globl	NimMain
 209              	NimMain:
 210              	.LFB5:
 211              		.loc 1 105 30
 212              		.cfi_startproc
 213 00b7 F30F1EFA 		endbr64
 214 00bb 55       		push	rbp
 215              		.cfi_def_cfa_offset 16
 216              		.cfi_offset 6, -16
 217 00bc 4889E5   		mov	rbp, rsp
 218              		.cfi_def_cfa_register 6
 219              		.loc 1 112 2
 220 00bf E8000000 		call	PreMain
 220      00
 221              		.loc 1 113 2
 222 00c4 E8000000 		call	NimMainInner
 222      00
 223              		.loc 1 115 1
 224 00c9 90       		nop
 225 00ca 5D       		pop	rbp
 226              		.cfi_def_cfa 7, 8
 227 00cb C3       		ret
 228              		.cfi_endproc
GAS LISTING /tmp/ccyufMpL.s 			page 5


 229              	.LFE5:
 231              		.globl	main
 233              	main:
 234              	.LFB6:
 235              		.loc 1 117 45
 236              		.cfi_startproc
 237 00cc F30F1EFA 		endbr64
 238 00d0 55       		push	rbp
 239              		.cfi_def_cfa_offset 16
 240              		.cfi_offset 6, -16
 241 00d1 4889E5   		mov	rbp, rsp
 242              		.cfi_def_cfa_register 6
 243 00d4 4883EC20 		sub	rsp, 32
 244 00d8 897DFC   		mov	DWORD PTR -4[rbp], edi
 245 00db 488975F0 		mov	QWORD PTR -16[rbp], rsi
 246 00df 488955E8 		mov	QWORD PTR -24[rbp], rdx
 247              		.loc 1 118 10
 248 00e3 488B45F0 		mov	rax, QWORD PTR -16[rbp]
 249 00e7 48890500 		mov	QWORD PTR cmdLine[rip], rax
 249      000000
 250              		.loc 1 119 11
 251 00ee 8B45FC   		mov	eax, DWORD PTR -4[rbp]
 252 00f1 89050000 		mov	DWORD PTR cmdCount[rip], eax
 252      0000
 253              		.loc 1 120 7
 254 00f7 488B45E8 		mov	rax, QWORD PTR -24[rbp]
 255 00fb 48890500 		mov	QWORD PTR gEnv[rip], rax
 255      000000
 256              		.loc 1 121 2
 257 0102 E8000000 		call	NimMain
 257      00
 258              		.loc 1 122 9
 259 0107 488B0500 		mov	rax, QWORD PTR nim_program_result[rip]
 259      000000
 260              		.loc 1 123 1
 261 010e C9       		leave
 262              		.cfi_def_cfa 7, 8
 263 010f C3       		ret
 264              		.cfi_endproc
 265              	.LFE6:
 267              		.section	.rodata
 268              	.LC0:
 269 0018 74656D70 		.string	"temp"
 269      00
 270 001d 000000   		.align 8
 271              	.LC1:
 272 0020 2F686F6D 		.string	"/home/runner/work/nimrun-action/nimrun-action/temp.nim"
 272      652F7275 
 272      6E6E6572 
 272      2F776F72 
 272      6B2F6E69 
 273              		.text
 274              		.globl	NimMainModule
 275              		.hidden	NimMainModule
 277              	NimMainModule:
 278              	.LFB7:
 279              		.loc 1 125 52
GAS LISTING /tmp/ccyufMpL.s 			page 6


 280              		.cfi_startproc
 281 0110 F30F1EFA 		endbr64
 282 0114 55       		push	rbp
 283              		.cfi_def_cfa_offset 16
 284              		.cfi_offset 6, -16
 285 0115 4889E5   		mov	rbp, rsp
 286              		.cfi_def_cfa_register 6
 287 0118 4883EC40 		sub	rsp, 64
 288              		.loc 1 125 52
 289 011c 64488B04 		mov	rax, QWORD PTR fs:40
 289      25280000 
 289      00
 290 0125 488945F8 		mov	QWORD PTR -8[rbp], rax
 291 0129 31C0     		xor	eax, eax
 292              	.LBB2:
 293              		.loc 1 127 2
 294 012b 488D0500 		lea	rax, .LC0[rip]
 294      000000
 295 0132 488945C8 		mov	QWORD PTR -56[rbp], rax
 296 0136 488D0500 		lea	rax, .LC1[rip]
 296      000000
 297 013d 488945D8 		mov	QWORD PTR -40[rbp], rax
 298 0141 48C745D0 		mov	QWORD PTR -48[rbp], 0
 298      00000000 
 299 0149 66C745E0 		mov	WORD PTR -32[rbp], 0
 299      0000
 300 014f 488D45C0 		lea	rax, -64[rbp]
 301 0153 4889C7   		mov	rdi, rax
 302 0156 E8A5FEFF 		call	nimFrame
 302      FF
 303              		.loc 1 128 2
 304 015b BE010000 		mov	esi, 1
 304      00
 305 0160 488D0500 		lea	rax, TM__h69aKLv9bAieBdiFzvDngbMw_2[rip]
 305      000000
 306 0167 4889C7   		mov	rdi, rax
 307 016a E8000000 		call	echoBinSafe
 307      00
 308              		.loc 1 129 2
 309 016f E8000000 		call	nimTestErrorFlag
 309      00
 310              		.loc 1 130 2
 311 0174 E8F6FEFF 		call	popFrame
 311      FF
 312              	.LBE2:
 313              		.loc 1 132 1
 314 0179 90       		nop
 315 017a 488B45F8 		mov	rax, QWORD PTR -8[rbp]
 316 017e 64482B04 		sub	rax, QWORD PTR fs:40
 316      25280000 
 316      00
 317 0187 7405     		je	.L19
 318 0189 E8000000 		call	__stack_chk_fail@PLT
 318      00
 319              	.L19:
 320 018e C9       		leave
 321              		.cfi_def_cfa 7, 8
GAS LISTING /tmp/ccyufMpL.s 			page 7


 322 018f C3       		ret
 323              		.cfi_endproc
 324              	.LFE7:
 326              	.Letext0:
 327              		.file 2 "/usr/include/x86_64-linux-gnu/bits/types.h"
 328              		.file 3 "/usr/include/x86_64-linux-gnu/bits/stdint-intn.h"
 329              		.file 4 "/usr/include/x86_64-linux-gnu/bits/stdint-uintn.h"
 330              		.file 5 "/home/runner/.choosenim/toolchains/nim-#devel/lib/nimbase.h"
 1587              		.section	.note.gnu.property,"a"
 1588              		.align 8
 1589 0000 04000000 		.long	1f - 0f
 1590 0004 10000000 		.long	4f - 1f
 1591 0008 05000000 		.long	5
 1592              	0:
 1593 000c 474E5500 		.string	"GNU"
 1594              	1:
 1595              		.align 8
 1596 0010 020000C0 		.long	0xc0000002
 1597 0014 04000000 		.long	3f - 2f
 1598              	2:
 1599 0018 03000000 		.long	0x3
 1600              	3:
 1601 001c 00000000 		.align 8
 1602              	4:

Repository owner deleted a comment from github-actions bot Jun 25, 2023
Repository owner deleted a comment from github-actions bot Jun 25, 2023
Repository owner deleted a comment from github-actions bot Jun 25, 2023
Repository owner deleted a comment from github-actions bot Jun 25, 2023
Repository owner deleted a comment from github-actions bot Jun 25, 2023
Repository owner deleted a comment from github-actions bot Jun 25, 2023
Repository owner deleted a comment from github-actions bot Jun 25, 2023
Repository owner deleted a comment from github-actions bot Jun 25, 2023
Repository owner deleted a comment from github-actions bot Jun 25, 2023
Repository owner deleted a comment from github-actions bot Jun 25, 2023
Repository owner deleted a comment from github-actions bot Jun 25, 2023
Repository owner deleted a comment from github-actions bot Jun 25, 2023
Repository owner deleted a comment from github-actions bot Jun 26, 2023
Repository owner deleted a comment from github-actions bot Jun 26, 2023
Repository owner deleted a comment from github-actions bot Jun 26, 2023
Repository owner deleted a comment from github-actions bot Jun 26, 2023
Repository owner deleted a comment from github-actions bot Jun 26, 2023
Repository owner deleted a comment from github-actions bot Jun 26, 2023
Repository owner deleted a comment from github-actions bot Jun 26, 2023
Repository owner deleted a comment from github-actions bot Jun 26, 2023
Repository owner deleted a comment from github-actions bot Jun 26, 2023
Repository owner deleted a comment from github-actions bot Jun 26, 2023
Repository owner deleted a comment from github-actions bot Jun 26, 2023
Repository owner deleted a comment from github-actions bot Jun 26, 2023
Repository owner deleted a comment from github-actions bot Jun 26, 2023
Repository owner deleted a comment from github-actions bot Jun 26, 2023
Repository owner deleted a comment from github-actions bot Jun 26, 2023
Repository owner deleted a comment from github-actions bot Jun 26, 2023
@juancarlospaco
Copy link
Owner Author

@github-actions nim c

doAssert NimMinor > 5, "Simulate Bug"

@github-actions
Copy link

@juancarlospaco (owner)

devel :+1:

Output


Stats

  • Created 2023-06-26T12:14:18Z
  • Started 2023-06-26T12:14:51
  • Finished 2023-06-26T12:14:51
  • Duration 1 minute
  • Filesize 74.47 Kb
  • Commands nim c --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim

AST

nnkStmtList.newTree(
  nnkCommand.newTree(
    newIdentNode("doAssert"),
    nnkInfix.newTree(
      newIdentNode(">"),
      newIdentNode("NimMinor"),
      newLit(5)
    ),
    newLit("Simulate Bug")
  )
)

IR

#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_u315)(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_u4484)(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[88+1];
} TM__h69aKLv9bAieBdiFzvDngbMw_2 = { 88 | NIM_STRLIT_FLAG, "/home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 1) `NimMinor > 5` Simulate Bug" };
static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_3 = {88, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_2};
extern NIM_BOOL nimInErrorMode__system_u4266;
extern TFrame* framePtr__system_u3872;
static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) {
	NIM_BOOL* result;
	result = (NIM_BOOL*)0;
	result = (&nimInErrorMode__system_u4266);
	return result;
}
static N_INLINE(void, nimFrame)(TFrame* s_p0) {
	{
		if (!(framePtr__system_u3872 == ((TFrame*) NIM_NIL))) goto LA3_;
		(*s_p0).calldepth = ((NI16)0);
	}
	goto LA1_;
LA3_: ;
	{
		(*s_p0).calldepth = (NI16)((*framePtr__system_u3872).calldepth + ((NI16)1));
	}
LA1_: ;
	(*s_p0).prev = framePtr__system_u3872;
	framePtr__system_u3872 = s_p0;
	{
		if (!((*s_p0).calldepth == ((NI16)2000))) goto LA8_;
		callDepthLimitReached__system_u4484();
	}
LA8_: ;
}
static N_INLINE(void, popFrame)(void) {
	framePtr__system_u3872 = (*framePtr__system_u3872).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/nimrun-action/temp.nim");
nimErr_ = nimErrorFlag();
	{
		if (!NIM_FALSE) goto LA3_;
		failedAssertImpl__stdZassertions_u315(TM__h69aKLv9bAieBdiFzvDngbMw_3);
		if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
	}
LA3_: ;
	BeforeRet_: ;
	nimTestErrorFlag();
	popFrame();
}
}
stable :+1:

Output


Stats

  • Created 2023-06-26T12:14:18Z
  • Started 2023-06-26T12:14:52
  • Finished 2023-06-26T12:14:53
  • Duration 1 minute
  • Filesize 78.21 Kb
  • Commands nim c --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim

AST

nnkStmtList.newTree(
  nnkCommand.newTree(
    newIdentNode("doAssert"),
    nnkInfix.newTree(
      newIdentNode(">"),
      newIdentNode("NimMinor"),
      newLit(5)
    ),
    newLit("Simulate Bug")
  )
)

IR

#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, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus1dot6dot12atslibatssystemdotnim_DatInit000)(void);
N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus1dot6dot12atslibatssystemdotnim_Init000)(void);
N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void);
STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug", 89);
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;
	atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus1dot6dot12atslibatssystemdotnim_DatInit000();
	initStackBottomWith((void *)&inner);
	atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus1dot6dot12atslibatssystemdotnim_Init000();
	(*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/nimrun-action/temp.nim");
	{
		if (!NIM_FALSE) goto LA3_;
		failedAssertImpl__systemZassertions_56(((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_2));
	}
	LA3_: ;
	popFrame();
}
}
1.6.10 :+1:

Output


Stats

  • Created 2023-06-26T12:14:18Z
  • Started 2023-06-26T12:14:56
  • Finished 2023-06-26T12:14:57
  • Duration 1 minute
  • Filesize 78.21 Kb
  • Commands nim c --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim

AST

nnkStmtList.newTree(
  nnkCommand.newTree(
    newIdentNode("doAssert"),
    nnkInfix.newTree(
      newIdentNode(">"),
      newIdentNode("NimMinor"),
      newLit(5)
    ),
    newLit("Simulate Bug")
  )
)

IR

#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, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus1dot6dot10atslibatssystemdotnim_DatInit000)(void);
N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus1dot6dot10atslibatssystemdotnim_Init000)(void);
N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void);
STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug", 89);
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;
	atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus1dot6dot10atslibatssystemdotnim_DatInit000();
	initStackBottomWith((void *)&inner);
	atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus1dot6dot10atslibatssystemdotnim_Init000();
	(*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/nimrun-action/temp.nim");
	{
		if (!NIM_FALSE) goto LA3_;
		failedAssertImpl__systemZassertions_56(((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_2));
	}
	LA3_: ;
	popFrame();
}
}
1.6.4 :+1:

Output


Stats

  • Created 2023-06-26T12:14:18Z
  • Started 2023-06-26T12:15:00
  • Finished 2023-06-26T12:15:01
  • Duration 1 minute
  • Filesize 78.21 Kb
  • Commands nim c --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim

AST

nnkStmtList.newTree(
  nnkCommand.newTree(
    newIdentNode("doAssert"),
    nnkInfix.newTree(
      newIdentNode(">"),
      newIdentNode("NimMinor"),
      newLit(5)
    ),
    newLit("Simulate Bug")
  )
)

IR

#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/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug", 89);
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/nimrun-action/temp.nim");
	{
		if (!NIM_FALSE) goto LA3_;
		failedAssertImpl__systemZassertions_56(((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_2));
	}
	LA3_: ;
	popFrame();
}
}
1.6.0 :+1:

Output


Stats

  • Created 2023-06-26T12:14:18Z
  • Started 2023-06-26T12:15:03
  • Finished 2023-06-26T12:15:04
  • Duration 1 minute
  • Filesize 78.21 Kb
  • Commands nim c --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim

AST

nnkStmtList.newTree(
  nnkCommand.newTree(
    newIdentNode("doAssert"),
    nnkInfix.newTree(
      newIdentNode(">"),
      newIdentNode("NimMinor"),
      newLit(5)
    ),
    newLit("Simulate Bug")
  )
)

IR

#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/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug", 89);
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/nimrun-action/temp.nim");
	{
		if (!NIM_FALSE) goto LA3_;
		failedAssertImpl_systemZassertions_56(((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_2));
	}
	LA3_: ;
	popFrame();
}
}
1.4.8 :-1:

Output

Error: Command failed: nim c --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
/home/runner/work/nimrun-action/nimrun-action/temp.nim temp
/home/runner/.choosenim/toolchains/nim-1.4.8/lib/system/assertions.nim failedAssertImpl
/home/runner/.choosenim/toolchains/nim-1.4.8/lib/system/assertions.nim raiseAssert
/home/runner/.choosenim/toolchains/nim-1.4.8/lib/system/fatal.nim sysFatal
Error: unhandled exception: /home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug [AssertionDefect]
Error: execution of an external program failed: '/home/runner/work/nimrun-action/nimrun-action/temp '

1.4.4 :-1:

Output

Error: Command failed: nim c --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
/home/runner/work/nimrun-action/nimrun-action/temp.nim temp
/home/runner/.choosenim/toolchains/nim-1.4.4/lib/system/assertions.nim failedAssertImpl
/home/runner/.choosenim/toolchains/nim-1.4.4/lib/system/assertions.nim raiseAssert
/home/runner/.choosenim/toolchains/nim-1.4.4/lib/system/fatal.nim sysFatal
Error: unhandled exception: /home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug [AssertionDefect]
Error: execution of an external program failed: '/home/runner/work/nimrun-action/nimrun-action/temp '

1.4.0 :-1:

Output

Error: Command failed: nim c --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
/home/runner/work/nimrun-action/nimrun-action/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/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug [AssertionDefect]
Error: execution of an external program failed: '/home/runner/work/nimrun-action/nimrun-action/temp '

1.2.18 :-1:

Output

Error: Command failed: nim c --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
/home/runner/work/nimrun-action/nimrun-action/temp.nim temp
/home/runner/.choosenim/toolchains/nim-1.2.18/lib/system/assertions.nim failedAssertImpl
/home/runner/.choosenim/toolchains/nim-1.2.18/lib/system/assertions.nim raiseAssert
/home/runner/.choosenim/toolchains/nim-1.2.18/lib/system/fatal.nim sysFatal
Error: unhandled exception: /home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug [AssertionError]
Error: execution of an external program failed: '/home/runner/work/nimrun-action/nimrun-action/temp '

1.2.10 :-1:

Output

Error: Command failed: nim c --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
/home/runner/work/nimrun-action/nimrun-action/temp.nim temp
/home/runner/.choosenim/toolchains/nim-1.2.10/lib/system/assertions.nim failedAssertImpl
/home/runner/.choosenim/toolchains/nim-1.2.10/lib/system/assertions.nim raiseAssert
/home/runner/.choosenim/toolchains/nim-1.2.10/lib/system/fatal.nim sysFatal
Error: unhandled exception: /home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug [AssertionError]
Error: execution of an external program failed: '/home/runner/work/nimrun-action/nimrun-action/temp '

1.2.0 :-1:

Output

Error: Command failed: nim c --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
/home/runner/work/nimrun-action/nimrun-action/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/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug [AssertionError]
Error: execution of an external program failed: '/home/runner/work/nimrun-action/nimrun-action/temp '

1.0.10 :-1:

Output

Error: Command failed: nim c --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
/home/runner/work/nimrun-action/nimrun-action/temp.nim temp
/home/runner/.choosenim/toolchains/nim-1.0.10/lib/system/assertions.nim failedAssertImpl
/home/runner/.choosenim/toolchains/nim-1.0.10/lib/system/assertions.nim raiseAssert
/home/runner/.choosenim/toolchains/nim-1.0.10/lib/system/fatal.nim sysFatal
Error: unhandled exception: /home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug [AssertionError]
Error: execution of an external program failed: '/home/runner/work/nimrun-action/nimrun-action/temp '

1.0.4 :-1:

Output

Error: Command failed: nim c --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
/home/runner/work/nimrun-action/nimrun-action/temp.nim temp
/home/runner/.choosenim/toolchains/nim-1.0.4/lib/system/assertions.nim failedAssertImpl
/home/runner/.choosenim/toolchains/nim-1.0.4/lib/system/assertions.nim raiseAssert
/home/runner/.choosenim/toolchains/nim-1.0.4/lib/system/fatal.nim sysFatal
Error: unhandled exception: /home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug [AssertionError]
Error: execution of an external program failed: '/home/runner/work/nimrun-action/nimrun-action/temp '

1.0.0 :-1:

Output

Error: Command failed: nim c --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
/home/runner/work/nimrun-action/nimrun-action/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/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug [AssertionError]
Error: execution of an external program failed: '/home/runner/work/nimrun-action/nimrun-action/temp '

@juancarlospaco
Copy link
Owner Author

@github-actions nim cpp

doAssert NimMinor > 5, "Simulate Bug"

@github-actions
Copy link

@juancarlospaco (owner)

devel :+1:

Output


Stats

  • Created 2023-06-26T12:20:34Z
  • Started 2023-06-26T12:21:07
  • Finished 2023-06-26T12:21:09
  • Duration 1 minute
  • Filesize 82.88 Kb
  • Commands nim cpp --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim

AST

nnkStmtList.newTree(
  nnkCommand.newTree(
    newIdentNode("doAssert"),
    nnkInfix.newTree(
      newIdentNode(">"),
      newIdentNode("NimMinor"),
      newLit(5)
    ),
    newLit("Simulate Bug")
  )
)

IR

#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;
struct NimStrPayload;
struct 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_u315)(NimStringV2 msg_p0);
static N_INLINE(void, nimFrame)(TFrame* s_p0);
N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__system_u4447)(void);
static N_INLINE(void, popFrame)(void);
N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminusathdevelatslibatssystematsexceptionsdotnim_DatInit000)(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[88+1];
} TM__h69aKLv9bAieBdiFzvDngbMw_2 = { 88 | NIM_STRLIT_FLAG, "/home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 1) `NimMinor > 5` Simulate Bug" };
static const NimStringV2 TM__h69aKLv9bAieBdiFzvDngbMw_3 = {88, (NimStrPayload*)&TM__h69aKLv9bAieBdiFzvDngbMw_2};
extern TFrame* framePtr__system_u3872;
static N_INLINE(void, nimFrame)(TFrame* s_p0) {
	{
		if (!(framePtr__system_u3872 == ((TFrame*) NIM_NIL))) goto LA3_;
{		(*s_p0).calldepth = ((NI16)0);
}	}
	goto LA1_;
LA3_: ;
	{
		(*s_p0).calldepth = (NI16)((*framePtr__system_u3872).calldepth + ((NI16)1));
	}
LA1_: ;
	(*s_p0).prev = framePtr__system_u3872;
	framePtr__system_u3872 = s_p0;
	{
		if (!((*s_p0).calldepth == ((NI16)2000))) goto LA8_;
{		callDepthLimitReached__system_u4447();
}	}
LA8_: ;
}
static N_INLINE(void, popFrame)(void) {
	framePtr__system_u3872 = (*framePtr__system_u3872).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;
	atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminusathdevelatslibatssystematsexceptionsdotnim_DatInit000();
	atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminusathdevelatslibatssystemdotnim_Init000();
	(*inner)();
#else
	atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminusathdevelatslibatssystematsexceptionsdotnim_DatInit000();
	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) {
{
	nimfr_("temp", "/home/runner/work/nimrun-action/nimrun-action/temp.nim");
	{
		if (!NIM_FALSE) goto LA3_;
{		failedAssertImpl__stdZassertions_u315(TM__h69aKLv9bAieBdiFzvDngbMw_3);
}	}
LA3_: ;
	popFrame();
}
}
stable :+1:

Output


Stats

  • Created 2023-06-26T12:20:34Z
  • Started 2023-06-26T12:21:09
  • Finished 2023-06-26T12:21:11
  • Duration 1 minute
  • Filesize 78.86 Kb
  • Commands nim cpp --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim

AST

nnkStmtList.newTree(
  nnkCommand.newTree(
    newIdentNode("doAssert"),
    nnkInfix.newTree(
      newIdentNode(">"),
      newIdentNode("NimMinor"),
      newLit(5)
    ),
    newLit("Simulate Bug")
  )
)

IR

#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;
  struct NimStringDesc;
struct TGenericSeq;
struct TGenericSeq {
NI len;
NI reserved;
};
struct NimStringDesc : public TGenericSeq {
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_2993)(void);
static N_INLINE(void, popFrame)(void);
N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus1dot6dot12atslibatssystemdotnim_DatInit000)(void);
N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus1dot6dot12atslibatssystemdotnim_Init000)(void);
N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void);
STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug", 89);
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_2993();
}	}
	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;
	atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus1dot6dot12atslibatssystemdotnim_DatInit000();
	initStackBottomWith((void *)&inner);
	atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus1dot6dot12atslibatssystemdotnim_Init000();
	(*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/nimrun-action/temp.nim");
	{
		if (!NIM_FALSE) goto LA3_;
{		failedAssertImpl__systemZassertions_56(((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_2));
}	}
	LA3_: ;
	popFrame();
}
}
1.6.10 :+1:

Output


Stats

  • Created 2023-06-26T12:20:34Z
  • Started 2023-06-26T12:21:14
  • Finished 2023-06-26T12:21:15
  • Duration 1 minute
  • Filesize 78.86 Kb
  • Commands nim cpp --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim

AST

nnkStmtList.newTree(
  nnkCommand.newTree(
    newIdentNode("doAssert"),
    nnkInfix.newTree(
      newIdentNode(">"),
      newIdentNode("NimMinor"),
      newLit(5)
    ),
    newLit("Simulate Bug")
  )
)

IR

#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;
  struct NimStringDesc;
struct TGenericSeq;
struct TGenericSeq {
NI len;
NI reserved;
};
struct NimStringDesc : public TGenericSeq {
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_2993)(void);
static N_INLINE(void, popFrame)(void);
N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus1dot6dot10atslibatssystemdotnim_DatInit000)(void);
N_LIB_PRIVATE N_NIMCALL(void, atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus1dot6dot10atslibatssystemdotnim_Init000)(void);
N_LIB_PRIVATE N_NIMCALL(void, NimMainModule)(void);
STRING_LITERAL(TM__h69aKLv9bAieBdiFzvDngbMw_2, "/home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug", 89);
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_2993();
}	}
	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;
	atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus1dot6dot10atslibatssystemdotnim_DatInit000();
	initStackBottomWith((void *)&inner);
	atmdotdotatsdotdotatsdotdotatsdotchoosenimatstoolchainsatsnimminus1dot6dot10atslibatssystemdotnim_Init000();
	(*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/nimrun-action/temp.nim");
	{
		if (!NIM_FALSE) goto LA3_;
{		failedAssertImpl__systemZassertions_56(((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_2));
}	}
	LA3_: ;
	popFrame();
}
}
1.6.4 :+1:

Output


Stats

  • Created 2023-06-26T12:20:34Z
  • Started 2023-06-26T12:21:18
  • Finished 2023-06-26T12:21:20
  • Duration 1 minute
  • Filesize 78.86 Kb
  • Commands nim cpp --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim

AST

nnkStmtList.newTree(
  nnkCommand.newTree(
    newIdentNode("doAssert"),
    nnkInfix.newTree(
      newIdentNode(">"),
      newIdentNode("NimMinor"),
      newLit(5)
    ),
    newLit("Simulate Bug")
  )
)

IR

#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;
  struct NimStringDesc;
struct TGenericSeq;
struct TGenericSeq {
NI len;
NI reserved;
};
struct NimStringDesc : public TGenericSeq {
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_2993)(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/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug", 89);
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_2993();
}	}
	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/nimrun-action/temp.nim");
	{
		if (!NIM_FALSE) goto LA3_;
{		failedAssertImpl__systemZassertions_56(((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_2));
}	}
	LA3_: ;
	popFrame();
}
}
1.6.0 :+1:

Output


Stats

  • Created 2023-06-26T12:20:34Z
  • Started 2023-06-26T12:21:24
  • Finished 2023-06-26T12:21:25
  • Duration 1 minute
  • Filesize 78.86 Kb
  • Commands nim cpp --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim

AST

nnkStmtList.newTree(
  nnkCommand.newTree(
    newIdentNode("doAssert"),
    nnkInfix.newTree(
      newIdentNode(">"),
      newIdentNode("NimMinor"),
      newLit(5)
    ),
    newLit("Simulate Bug")
  )
)

IR

#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;
  struct NimStringDesc;
struct TGenericSeq;
struct TGenericSeq {
NI len;
NI reserved;
};
struct NimStringDesc : public TGenericSeq {
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_2993)(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/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug", 89);
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_2993();
}	}
	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/nimrun-action/temp.nim");
	{
		if (!NIM_FALSE) goto LA3_;
{		failedAssertImpl_systemZassertions_56(((NimStringDesc*) &TM__h69aKLv9bAieBdiFzvDngbMw_2));
}	}
	LA3_: ;
	popFrame();
}
}
1.4.8 :-1:

Output

Error: Command failed: nim cpp --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
/home/runner/work/nimrun-action/nimrun-action/temp.nim temp
/home/runner/.choosenim/toolchains/nim-1.4.8/lib/system/assertions.nim failedAssertImpl
/home/runner/.choosenim/toolchains/nim-1.4.8/lib/system/assertions.nim raiseAssert
/home/runner/.choosenim/toolchains/nim-1.4.8/lib/system/fatal.nim sysFatal
Error: unhandled exception: /home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug [AssertionDefect]
Error: execution of an external program failed: '/home/runner/work/nimrun-action/nimrun-action/temp '

1.4.4 :-1:

Output

Error: Command failed: nim cpp --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
/home/runner/work/nimrun-action/nimrun-action/temp.nim temp
/home/runner/.choosenim/toolchains/nim-1.4.4/lib/system/assertions.nim failedAssertImpl
/home/runner/.choosenim/toolchains/nim-1.4.4/lib/system/assertions.nim raiseAssert
/home/runner/.choosenim/toolchains/nim-1.4.4/lib/system/fatal.nim sysFatal
Error: unhandled exception: /home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug [AssertionDefect]
Error: execution of an external program failed: '/home/runner/work/nimrun-action/nimrun-action/temp '

1.4.0 :-1:

Output

Error: Command failed: nim cpp --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
/home/runner/work/nimrun-action/nimrun-action/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/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug [AssertionDefect]
Error: execution of an external program failed: '/home/runner/work/nimrun-action/nimrun-action/temp '

1.2.18 :-1:

Output

Error: Command failed: nim cpp --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
/home/runner/work/nimrun-action/nimrun-action/temp.nim temp
/home/runner/.choosenim/toolchains/nim-1.2.18/lib/system/assertions.nim failedAssertImpl
/home/runner/.choosenim/toolchains/nim-1.2.18/lib/system/assertions.nim raiseAssert
/home/runner/.choosenim/toolchains/nim-1.2.18/lib/system/fatal.nim sysFatal
Error: unhandled exception: /home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug [AssertionError]
Error: execution of an external program failed: '/home/runner/work/nimrun-action/nimrun-action/temp '

1.2.10 :-1:

Output

Error: Command failed: nim cpp --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
/home/runner/work/nimrun-action/nimrun-action/temp.nim temp
/home/runner/.choosenim/toolchains/nim-1.2.10/lib/system/assertions.nim failedAssertImpl
/home/runner/.choosenim/toolchains/nim-1.2.10/lib/system/assertions.nim raiseAssert
/home/runner/.choosenim/toolchains/nim-1.2.10/lib/system/fatal.nim sysFatal
Error: unhandled exception: /home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug [AssertionError]
Error: execution of an external program failed: '/home/runner/work/nimrun-action/nimrun-action/temp '

1.2.0 :-1:

Output

Error: Command failed: nim cpp --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
/home/runner/work/nimrun-action/nimrun-action/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/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug [AssertionError]
Error: execution of an external program failed: '/home/runner/work/nimrun-action/nimrun-action/temp '

1.0.10 :-1:

Output

Error: Command failed: nim cpp --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
/home/runner/work/nimrun-action/nimrun-action/temp.nim temp
/home/runner/.choosenim/toolchains/nim-1.0.10/lib/system/assertions.nim failedAssertImpl
/home/runner/.choosenim/toolchains/nim-1.0.10/lib/system/assertions.nim raiseAssert
/home/runner/.choosenim/toolchains/nim-1.0.10/lib/system/fatal.nim sysFatal
Error: unhandled exception: /home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug [AssertionError]
Error: execution of an external program failed: '/home/runner/work/nimrun-action/nimrun-action/temp '

1.0.4 :-1:

Output

Error: Command failed: nim cpp --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
/home/runner/work/nimrun-action/nimrun-action/temp.nim temp
/home/runner/.choosenim/toolchains/nim-1.0.4/lib/system/assertions.nim failedAssertImpl
/home/runner/.choosenim/toolchains/nim-1.0.4/lib/system/assertions.nim raiseAssert
/home/runner/.choosenim/toolchains/nim-1.0.4/lib/system/fatal.nim sysFatal
Error: unhandled exception: /home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug [AssertionError]
Error: execution of an external program failed: '/home/runner/work/nimrun-action/nimrun-action/temp '

1.0.0 :-1:

Output

Error: Command failed: nim cpp --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
/home/runner/work/nimrun-action/nimrun-action/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/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug [AssertionError]
Error: execution of an external program failed: '/home/runner/work/nimrun-action/nimrun-action/temp '

Repository owner deleted a comment from github-actions bot Jun 26, 2023
Repository owner deleted a comment from github-actions bot Jun 26, 2023
@juancarlospaco
Copy link
Owner Author

@github-actions nim js

doAssert NimMinor > 5, "Simulate Bug"

@github-actions
Copy link

@juancarlospaco (owner)

devel :+1:

Output


Stats

  • Created 2023-06-26T12:39:37Z
  • Started 2023-06-26T12:40:27
  • Finished 2023-06-26T12:40:28
  • Duration 1 minute
  • Filesize 20.28 Kb
  • Commands nim js -d:nodejs --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim

AST

nnkStmtList.newTree(
  nnkCommand.newTree(
    newIdentNode("doAssert"),
    nnkInfix.newTree(
      newIdentNode(">"),
      newIdentNode("NimMinor"),
      newLit(5)
    ),
    newLit("Simulate Bug")
  )
)

IR

var framePtr = null;
var excHandler = 0;
var lastJSError = null;
var NTI134217749 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI134217751 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI134217741 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI134217743 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33554435 = {size: 0,kind: 31,base: null,node: null,finalizer: null};
var NTI33555833 = {size: 0, kind: 18, base: null, node: null, finalizer: null};
var NTI33555171 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33555179 = {size: 0, kind: 22, base: null, node: null, finalizer: null};
var NTI33554450 = {size: 0,kind: 29,base: null,node: null,finalizer: null};
var NTI33555178 = {size: 0, kind: 22, base: null, node: null, finalizer: null};
var NTI33555175 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33555176 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI134217745 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33554449 = {size: 0,kind: 28,base: null,node: null,finalizer: null};
var NNI134217745 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI134217745.node = NNI134217745;
var NNI33555176 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555176.node = NNI33555176;
NTI33555178.base = NTI33555175;
NTI33555179.base = NTI33555175;
var NNI33555175 = {kind: 2, len: 5, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "parent", len: 0, typ: NTI33555178, name: "parent", sons: null}, 
{kind: 1, offset: "name", len: 0, typ: NTI33554450, name: "name", sons: null}, 
{kind: 1, offset: "message", len: 0, typ: NTI33554449, name: "msg", sons: null}, 
{kind: 1, offset: "trace", len: 0, typ: NTI33554449, name: "trace", sons: null}, 
{kind: 1, offset: "up", len: 0, typ: NTI33555179, name: "up", sons: null}]};
NTI33555175.node = NNI33555175;
var NNI33555171 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555171.node = NNI33555171;
NTI33555175.base = NTI33555171;
NTI33555176.base = NTI33555175;
NTI134217745.base = NTI33555176;
var NNI33555833 = {kind: 2, len: 3, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554450, name: "Field0", sons: null}, 
{kind: 1, offset: "Field1", len: 0, typ: NTI33554435, name: "Field1", sons: null}, 
{kind: 1, offset: "Field2", len: 0, typ: NTI33554450, name: "Field2", sons: null}]};
NTI33555833.node = NNI33555833;
var NNI134217743 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI134217743.node = NNI134217743;
var NNI134217741 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI134217741.node = NNI134217741;
NTI134217741.base = NTI33555176;
NTI134217743.base = NTI134217741;
var NNI134217751 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI134217751.node = NNI134217751;
NTI134217751.base = NTI33555176;
var NNI134217749 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI134217749.node = NNI134217749;
NTI134217749.base = NTI33555176;
function setConstr() {
        var result = {};
    for (var i = 0; i < arguments.length; ++i) {
      var x = arguments[i];
      if (typeof(x) == "object") {
        for (var j = x[0]; j <= x[1]; ++j) {
          result[j] = true;
        }
      } else {
        result[x] = true;
      }
    }
    return result;
}
var ConstSet1 = setConstr(17, 16, 4, 18, 27, 19, 23, 22, 21);
function nimCopy(dest_33557264, src_33557265, ti_33557266) {
  var result_33557275 = null;
    switch (ti_33557266.kind) {
    case 21:
    case 22:
    case 23:
    case 5:
      if (!(isFatPointer_33557255(ti_33557266))) {
      result_33557275 = src_33557265;
      }
      else {
        result_33557275 = [src_33557265[0], src_33557265[1]];
      }
      break;
    case 19:
            if (dest_33557264 === null || dest_33557264 === undefined) {
        dest_33557264 = {};
      }
      else {
        for (var key in dest_33557264) { delete dest_33557264[key]; }
      }
      for (var key in src_33557265) { dest_33557264[key] = src_33557265[key]; }
      result_33557275 = dest_33557264;
      break;
    case 18:
    case 17:
      if (!((ti_33557266.base == null))) {
      result_33557275 = nimCopy(dest_33557264, src_33557265, ti_33557266.base);
      }
      else {
      if ((ti_33557266.kind == 17)) {
      result_33557275 = (dest_33557264 === null || dest_33557264 === undefined) ? {m_type: ti_33557266} : dest_33557264;
      }
      else {
        result_33557275 = (dest_33557264 === null || dest_33557264 === undefined) ? {} : dest_33557264;
      }
      }
      nimCopyAux(result_33557275, src_33557265, ti_33557266.node);
      break;
    case 4:
    case 16:
            if(ArrayBuffer.isView(src_33557265)) { 
        if(dest_33557264 === null || dest_33557264 === undefined || dest_33557264.length != src_33557265.length) {
          dest_33557264 = new src_33557265.constructor(src_33557265);
        } else {
          dest_33557264.set(src_33557265, 0);
        }
        result_33557275 = dest_33557264;
      } else {
        if (src_33557265 === null) {
          result_33557275 = null;
        }
        else {
          if (dest_33557264 === null || dest_33557264 === undefined || dest_33557264.length != src_33557265.length) {
            dest_33557264 = new Array(src_33557265.length);
          }
          result_33557275 = dest_33557264;
          for (var i = 0; i < src_33557265.length; ++i) {
            result_33557275[i] = nimCopy(result_33557275[i], src_33557265[i], ti_33557266.base);
          }
        }
      }
      break;
    case 24:
    case 27:
            if (src_33557265 === null) {
        result_33557275 = null;
      }
      else {
        if (dest_33557264 === null || dest_33557264 === undefined || dest_33557264.length != src_33557265.length) {
          dest_33557264 = new Array(src_33557265.length);
        }
        result_33557275 = dest_33557264;
        for (var i = 0; i < src_33557265.length; ++i) {
          result_33557275[i] = nimCopy(result_33557275[i], src_33557265[i], ti_33557266.base);
        }
      }
      break;
    case 28:
            if (src_33557265 !== null) {
        result_33557275 = src_33557265.slice(0);
      }
      break;
    default: 
      result_33557275 = src_33557265;
      break;
    }
  return result_33557275;
}
function arrayConstr(len_33557310, value_33557311, typ_33557312) {
        var result = new Array(len_33557310);
    for (var i = 0; i < len_33557310; ++i) result[i] = nimCopy(null, value_33557311, typ_33557312);
    return result;
}
function mnewString(len_33556999) {
        return new Array(len_33556999);
}
function addInt(a_33557046, b_33557047) {
        var result = a_33557046 + b_33557047;
    checkOverflowInt(result);
    return result;
}
function chckRange(i_33557320, a_33557321, b_33557322) {
  var result_33557323 = 0;
  BeforeRet: {
    if (((a_33557321 <= i_33557320) && (i_33557320 <= b_33557322))) {
    result_33557323 = i_33557320;
    break BeforeRet;
    }
    else {
    raiseRangeError();
    }
  };
  return result_33557323;
}
function chckIndx(i_33557315, a_33557316, b_33557317) {
  var result_33557318 = 0;
  BeforeRet: {
    if (((a_33557316 <= i_33557315) && (i_33557315 <= b_33557317))) {
    result_33557318 = i_33557315;
    break BeforeRet;
    }
    else {
    raiseIndexError(i_33557315, a_33557316, b_33557317);
    }
  };
  return result_33557318;
}
function cstrToNimstr(c_33556894) {
      var ln = c_33556894.length;
  var result = new Array(ln);
  var r = 0;
  for (var i = 0; i < ln; ++i) {
    var ch = c_33556894.charCodeAt(i);
    if (ch < 128) {
      result[r] = ch;
    }
    else {
      if (ch < 2048) {
        result[r] = (ch >> 6) | 192;
      }
      else {
        if (ch < 55296 || ch >= 57344) {
          result[r] = (ch >> 12) | 224;
        }
        else {
            ++i;
            ch = 65536 + (((ch & 1023) << 10) | (c_33556894.charCodeAt(i) & 1023));
            result[r] = (ch >> 18) | 240;
            ++r;
            result[r] = ((ch >> 12) & 63) | 128;
        }
        ++r;
        result[r] = ((ch >> 6) & 63) | 128;
      }
      ++r;
      result[r] = (ch & 63) | 128;
    }
    ++r;
  }
  return result;
}
function toJSStr(s_33556897) {
  var result_33556898 = null;
    var res_33556939 = newSeq_33556915((s_33556897).length);
    var i_33556940 = 0;
    var j_33556941 = 0;
    Label1: {
        Label2: while (true) {
        if (!(i_33556940 < (s_33556897).length)) break Label2;
          var c_33556942 = s_33556897[i_33556940];
          if ((c_33556942 < 128)) {
          res_33556939[j_33556941] = String.fromCharCode(c_33556942);
          i_33556940 += 1;
          }
          else {
            var helper_33556955 = newSeq_33556915(0);
            Label3: {
                Label4: while (true) {
                if (!true) break Label4;
                  var code_33556956 = c_33556942.toString(16);
                  if ((((code_33556956) == null ? 0 : (code_33556956).length) == 1)) {
                  helper_33556955.push("%0");;
                  }
                  else {
                  helper_33556955.push("%");;
                  }
                  helper_33556955.push(code_33556956);;
                  i_33556940 += 1;
                  if ((((s_33556897).length <= i_33556940) || (s_33556897[i_33556940] < 128))) {
                  break Label3;
                  }
                  c_33556942 = s_33556897[i_33556940];
                }
            };
++excHandler;
            try {
            res_33556939[j_33556941] = decodeURIComponent(helper_33556955.join(""));
--excHandler;
} catch (EXCEPTION) {
 var prevJSError = lastJSError;
 lastJSError = EXCEPTION;
 --excHandler;
            res_33556939[j_33556941] = helper_33556955.join("");
            lastJSError = prevJSError;
            } finally {
            }
          }
          j_33556941 += 1;
        }
    };
    if (res_33556939.length < j_33556941) { for (var i = res_33556939.length ; i < j_33556941 ; ++i) res_33556939.push(null); }
               else { res_33556939.length = j_33556941; };
    result_33556898 = res_33556939.join("");
  return result_33556898;
}
function raiseException(e_33556649, ename_33556650) {
    e_33556649.name = ename_33556650;
    if ((excHandler == 0)) {
    unhandledException(e_33556649);
    }
    e_33556649.trace = nimCopy(null, rawWriteStackTrace_33556600(), NTI33554449);
    throw e_33556649;
}
function makeNimstrLit(c_33556891) {
      var result = [];
  for (var i = 0; i < c_33556891.length; ++i) {
    result[i] = c_33556891.charCodeAt(i);
  }
  return result;
}
function isFatPointer_33557255(ti_33557256) {
  var result_33557257 = false;
  BeforeRet: {
    result_33557257 = !((ConstSet1[ti_33557256.base.kind] != undefined));
    break BeforeRet;
  };
  return result_33557257;
}
function nimCopyAux(dest_33557268, src_33557269, n_33557270) {
    switch (n_33557270.kind) {
    case 0:
      break;
    case 1:
            dest_33557268[n_33557270.offset] = nimCopy(dest_33557268[n_33557270.offset], src_33557269[n_33557270.offset], n_33557270.typ);
      break;
    case 2:
          for (var i = 0; i < n_33557270.sons.length; i++) {
      nimCopyAux(dest_33557268, src_33557269, n_33557270.sons[i]);
    }
      break;
    case 3:
            dest_33557268[n_33557270.offset] = nimCopy(dest_33557268[n_33557270.offset], src_33557269[n_33557270.offset], n_33557270.typ);
      for (var i = 0; i < n_33557270.sons.length; ++i) {
        nimCopyAux(dest_33557268, src_33557269, n_33557270.sons[i][1]);
      }
      break;
    }
}
function add_33556369(x_33556370, x_33556370_Idx, y_33556371) {
          if (x_33556370[x_33556370_Idx] === null) { x_33556370[x_33556370_Idx] = []; }
      var off = x_33556370[x_33556370_Idx].length;
      x_33556370[x_33556370_Idx].length += y_33556371.length;
      for (var i = 0; i < y_33556371.length; ++i) {
        x_33556370[x_33556370_Idx][off+i] = y_33556371.charCodeAt(i);
      }
}
function raiseOverflow() {
    raiseException({message: [111,118,101,114,45,32,111,114,32,117,110,100,101,114,102,108,111,119], parent: null, m_type: NTI134217743, name: null, trace: [], up: null}, "OverflowDefect");
}
function checkOverflowInt(a_33557044) {
        if (a_33557044 > 2147483647 || a_33557044 < -2147483648) raiseOverflow();
}
function raiseRangeError() {
    raiseException({message: [118,97,108,117,101,32,111,117,116,32,111,102,32,114,97,110,103,101], parent: null, m_type: NTI134217751, name: null, trace: [], up: null}, "RangeDefect");
}
function raiseIndexError(i_33556808, a_33556809, b_33556810) {
    var Temporary1;
    if ((b_33556810 < a_33556809)) {
    Temporary1 = [105,110,100,101,120,32,111,117,116,32,111,102,32,98,111,117,110,100,115,44,32,116,104,101,32,99,111,110,116,97,105,110,101,114,32,105,115,32,101,109,112,116,121];
    }
    else {
    Temporary1 = ([105,110,100,101,120,32] || []).concat(HEX24_369098760(i_33556808) || [],[32,110,111,116,32,105,110,32] || [],HEX24_369098760(a_33556809) || [],[32,46,46,32] || [],HEX24_369098760(b_33556810) || []);
    }
    raiseException({message: nimCopy(null, Temporary1, NTI33554449), parent: null, m_type: NTI134217749, name: null, trace: [], up: null}, "IndexDefect");
}
function addChars_301990090(result_301990092, result_301990092_Idx, x_301990093, start_301990094, n_301990095) {
    var Temporary1;
    var old_301990096 = (result_301990092[result_301990092_Idx]).length;
    if (result_301990092[result_301990092_Idx].length < (Temporary1 = chckRange(addInt(old_301990096, n_301990095), 0, 2147483647), Temporary1)) { for (var i = result_301990092[result_301990092_Idx].length; i < Temporary1; ++i) result_301990092[result_301990092_Idx].push(0); }
         else {result_301990092[result_301990092_Idx].length = Temporary1; };
    Label2: {
      var iHEX60gensym4_301990110 = 0;
      var i_520093713 = 0;
      Label3: {
          Label4: while (true) {
          if (!(i_520093713 < n_301990095)) break Label4;
            iHEX60gensym4_301990110 = i_520093713;
            result_301990092[result_301990092_Idx][chckIndx(addInt(old_301990096, iHEX60gensym4_301990110), 0, (result_301990092[result_301990092_Idx]).length - 1)] = x_301990093.charCodeAt(chckIndx(addInt(start_301990094, iHEX60gensym4_301990110), 0, (x_301990093).length - 1));
            i_520093713 = addInt(i_520093713, 1);
          }
      };
    };
}
function addChars_301990086(result_301990088, result_301990088_Idx, x_301990089) {
    addChars_301990090(result_301990088, result_301990088_Idx, x_301990089, 0, ((x_301990089) == null ? 0 : (x_301990089).length));
}
function addInt_301990111(result_301990112, result_301990112_Idx, x_301990113) {
    addChars_301990086(result_301990112, result_301990112_Idx, ((x_301990113) + ""));
}
function addInt_301990129(result_301990130, result_301990130_Idx, x_301990131) {
    addInt_301990111(result_301990130, result_301990130_Idx, BigInt(x_301990131));
}
function HEX24_369098760(x_369098761) {
  var result_369098762 = [[]];
    addInt_301990129(result_369098762, 0, x_369098761);
  return result_369098762[0];
}
function auxWriteStackTrace_33556504(f_33556505) {
  var result_33556506 = [[]];
    var it_33556514 = f_33556505;
    var i_33556515 = 0;
    var total_33556516 = 0;
    var tempFrames_33556517 = arrayConstr(64, {Field0: null, Field1: 0, Field2: null}, NTI33555833);
    Label1: {
        Label2: while (true) {
        if (!(!((it_33556514 == null)) && (i_33556515 <= 63))) break Label2;
          tempFrames_33556517[i_33556515].Field0 = it_33556514.procname;
          tempFrames_33556517[i_33556515].Field1 = it_33556514.line;
          tempFrames_33556517[i_33556515].Field2 = it_33556514.filename;
          i_33556515 += 1;
          total_33556516 += 1;
          it_33556514 = it_33556514.prev;
        }
    };
    Label3: {
        Label4: while (true) {
        if (!!((it_33556514 == null))) break Label4;
          total_33556516 += 1;
          it_33556514 = it_33556514.prev;
        }
    };
    result_33556506[0] = nimCopy(null, [], NTI33554449);
    if (!((total_33556516 == i_33556515))) {
    result_33556506[0].push.apply(result_33556506[0], [40]);;
    result_33556506[0].push.apply(result_33556506[0], HEX24_369098760((total_33556516 - i_33556515)));;
    result_33556506[0].push.apply(result_33556506[0], [32,99,97,108,108,115,32,111,109,105,116,116,101,100,41,32,46,46,46,10]);;
    }
    Label5: {
      var j_33556550 = 0;
      var colontmp__520093705 = 0;
      colontmp__520093705 = (i_33556515 - 1);
      var res_520093707 = colontmp__520093705;
      Label6: {
          Label7: while (true) {
          if (!(0 <= res_520093707)) break Label7;
            j_33556550 = res_520093707;
            result_33556506[0].push.apply(result_33556506[0], cstrToNimstr(tempFrames_33556517[j_33556550].Field2));;
            if ((0 < tempFrames_33556517[j_33556550].Field1)) {
            result_33556506[0].push.apply(result_33556506[0], [40]);;
            addInt_301990129(result_33556506, 0, tempFrames_33556517[j_33556550].Field1);
            if (false) {
            result_33556506[0].push.apply(result_33556506[0], [44,32]);;
            addInt_301990129(result_33556506, 0, 0);
            }
            result_33556506[0].push.apply(result_33556506[0], [41]);;
            }
            result_33556506[0].push.apply(result_33556506[0], [32,97,116,32]);;
            add_33556369(result_33556506, 0, tempFrames_33556517[j_33556550].Field0);
            result_33556506[0].push.apply(result_33556506[0], [10]);;
            res_520093707 -= 1;
          }
      };
    };
  return result_33556506[0];
}
function rawWriteStackTrace_33556600() {
  var result_33556601 = [];
    if (!((framePtr == null))) {
    result_33556601 = nimCopy(null, ([84,114,97,99,101,98,97,99,107,32,40,109,111,115,116,32,114,101,99,101,110,116,32,99,97,108,108,32,108,97,115,116,41,10] || []).concat(auxWriteStackTrace_33556504(framePtr) || []), NTI33554449);
    }
    else {
      result_33556601 = nimCopy(null, [78,111,32,115,116,97,99,107,32,116,114,97,99,101,98,97,99,107,32,97,118,97,105,108,97,98,108,101,10], NTI33554449);
    }
  return result_33556601;
}
function newSeq_33556915(len_33556917) {
  var result_33556918 = [];
    result_33556918 = new Array(len_33556917); for (var i = 0 ; i < len_33556917 ; ++i) { result_33556918[i] = null; }
  return result_33556918;
}
function unhandledException(e_33556645) {
    var buf_33556646 = [[]];
    if (!(((e_33556645.message).length == 0))) {
    buf_33556646[0].push.apply(buf_33556646[0], [69,114,114,111,114,58,32,117,110,104,97,110,100,108,101,100,32,101,120,99,101,112,116,105,111,110,58,32]);;
    buf_33556646[0].push.apply(buf_33556646[0], e_33556645.message);;
    }
    else {
    buf_33556646[0].push.apply(buf_33556646[0], [69,114,114,111,114,58,32,117,110,104,97,110,100,108,101,100,32,101,120,99,101,112,116,105,111,110]);;
    }
    buf_33556646[0].push.apply(buf_33556646[0], [32,91]);;
    add_33556369(buf_33556646, 0, e_33556645.name);
    buf_33556646[0].push.apply(buf_33556646[0], [93,10]);;
    buf_33556646[0].push.apply(buf_33556646[0], rawWriteStackTrace_33556600());;
    var cbuf_33556647 = toJSStr(buf_33556646[0]);
    framePtr = null;
      if (typeof(Error) !== "undefined") {
    throw new Error(cbuf_33556647);
  }
  else {
    throw cbuf_33556647;
  }
}
function sysFatal_268435501(message_268435504) {
    raiseException({message: nimCopy(null, message_268435504, NTI33554449), m_type: NTI134217745, parent: null, name: null, trace: [], up: null}, "AssertionDefect");
}
function raiseAssert_268435499(msg_268435500) {
    sysFatal_268435501(msg_268435500);
}
function failedAssertImpl_268435541(msg_268435542) {
    raiseAssert_268435499(msg_268435542);
}
var F = {procname: "module temp", prev: framePtr, filename: "/home/runner/work/nimrun-action/nimrun-action/temp.nim", line: 0};
framePtr = F;
if (false) {
failedAssertImpl_268435541(makeNimstrLit("/home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 1) `NimMinor > 5` Simulate Bug"));
}
framePtr = F.prev;
var F = {procname: "module temp", prev: framePtr, filename: "/home/runner/work/nimrun-action/nimrun-action/temp.nim", line: 0};
framePtr = F;
framePtr = F.prev;
stable :+1:

Output


Stats

  • Created 2023-06-26T12:39:37Z
  • Started 2023-06-26T12:40:28
  • Finished 2023-06-26T12:40:29
  • Duration now
  • Filesize 19.70 Kb
  • Commands nim js -d:nodejs --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim

AST

nnkStmtList.newTree(
  nnkCommand.newTree(
    newIdentNode("doAssert"),
    nnkInfix.newTree(
      newIdentNode(">"),
      newIdentNode("NimMinor"),
      newLit(5)
    ),
    newLit("Simulate Bug")
  )
)

IR

var framePtr = null;
var excHandler = 0;
var lastJSError = null;
var NTI33555128 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33555130 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33555120 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33555122 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33554456 = {size: 0,kind: 31,base: null,node: null,finalizer: null};
var NTI33555919 = {size: 0, kind: 18, base: null, node: null, finalizer: null};
var NTI33555083 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33555165 = {size: 0, kind: 22, base: null, node: null, finalizer: null};
var NTI33554440 = {size: 0,kind: 29,base: null,node: null,finalizer: null};
var NTI33555164 = {size: 0, kind: 22, base: null, node: null, finalizer: null};
var NTI33555112 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33555113 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33555124 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33554439 = {size: 0,kind: 28,base: null,node: null,finalizer: null};
var NNI33555124 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555124.node = NNI33555124;
var NNI33555113 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555113.node = NNI33555113;
NTI33555164.base = NTI33555112;
NTI33555165.base = NTI33555112;
var NNI33555112 = {kind: 2, len: 5, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "parent", len: 0, typ: NTI33555164, name: "parent", sons: null}, 
{kind: 1, offset: "name", len: 0, typ: NTI33554440, name: "name", sons: null}, 
{kind: 1, offset: "message", len: 0, typ: NTI33554439, name: "msg", sons: null}, 
{kind: 1, offset: "trace", len: 0, typ: NTI33554439, name: "trace", sons: null}, 
{kind: 1, offset: "up", len: 0, typ: NTI33555165, name: "up", sons: null}]};
NTI33555112.node = NNI33555112;
var NNI33555083 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555083.node = NNI33555083;
NTI33555112.base = NTI33555083;
NTI33555113.base = NTI33555112;
NTI33555124.base = NTI33555113;
var NNI33555919 = {kind: 2, len: 3, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554440, name: "Field0", sons: null}, 
{kind: 1, offset: "Field1", len: 0, typ: NTI33554456, name: "Field1", sons: null}, 
{kind: 1, offset: "Field2", len: 0, typ: NTI33554440, name: "Field2", sons: null}]};
NTI33555919.node = NNI33555919;
var NNI33555122 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555122.node = NNI33555122;
var NNI33555120 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555120.node = NNI33555120;
NTI33555120.base = NTI33555113;
NTI33555122.base = NTI33555120;
var NNI33555130 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555130.node = NNI33555130;
NTI33555130.base = NTI33555113;
var NNI33555128 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555128.node = NNI33555128;
NTI33555128.base = NTI33555113;
function setConstr() {
        var result = {};
    for (var i = 0; i < arguments.length; ++i) {
      var x = arguments[i];
      if (typeof(x) == "object") {
        for (var j = x[0]; j <= x[1]; ++j) {
          result[j] = true;
        }
      } else {
        result[x] = true;
      }
    }
    return result;
}
var ConstSet1 = setConstr(17, 16, 4, 18, 27, 19, 23, 22, 21);
function nimCopy(dest_33557140, src_33557141, ti_33557142) {
  var result_33557151 = null;
    switch (ti_33557142.kind) {
    case 21:
    case 22:
    case 23:
    case 5:
      if (!(isFatPointer_33557131(ti_33557142))) {
      result_33557151 = src_33557141;
      }
      else {
        result_33557151 = [src_33557141[0], src_33557141[1]];
      }
      break;
    case 19:
            if (dest_33557140 === null || dest_33557140 === undefined) {
        dest_33557140 = {};
      }
      else {
        for (var key in dest_33557140) { delete dest_33557140[key]; }
      }
      for (var key in src_33557141) { dest_33557140[key] = src_33557141[key]; }
      result_33557151 = dest_33557140;
      break;
    case 18:
    case 17:
      if (!((ti_33557142.base == null))) {
      result_33557151 = nimCopy(dest_33557140, src_33557141, ti_33557142.base);
      }
      else {
      if ((ti_33557142.kind == 17)) {
      result_33557151 = (dest_33557140 === null || dest_33557140 === undefined) ? {m_type: ti_33557142} : dest_33557140;
      }
      else {
        result_33557151 = (dest_33557140 === null || dest_33557140 === undefined) ? {} : dest_33557140;
      }
      }
      nimCopyAux(result_33557151, src_33557141, ti_33557142.node);
      break;
    case 24:
    case 4:
    case 27:
    case 16:
            if (src_33557141 === null) {
        result_33557151 = null;
      }
      else {
        if (dest_33557140 === null || dest_33557140 === undefined || dest_33557140.length != src_33557141.length) {
          dest_33557140 = new Array(src_33557141.length);
        }
        result_33557151 = dest_33557140;
        for (var i = 0; i < src_33557141.length; ++i) {
          result_33557151[i] = nimCopy(result_33557151[i], src_33557141[i], ti_33557142.base);
        }
      }
      break;
    case 28:
            if (src_33557141 !== null) {
        result_33557151 = src_33557141.slice(0);
      }
      break;
    default: 
      result_33557151 = src_33557141;
      break;
    }
  return result_33557151;
}
function makeNimstrLit(c_33556801) {
      var result = [];
  for (var i = 0; i < c_33556801.length; ++i) {
    result[i] = c_33556801.charCodeAt(i);
  }
  return result;
}
function arrayConstr(len_33557179, value_33557180, typ_33557181) {
        var result = new Array(len_33557179);
    for (var i = 0; i < len_33557179; ++i) result[i] = nimCopy(null, value_33557180, typ_33557181);
    return result;
}
function mnewString(len_33556893) {
        return new Array(len_33556893);
}
function addInt(a_33556940, b_33556941) {
        var result = a_33556940 + b_33556941;
    checkOverflowInt(result);
    return result;
}
function chckRange(i_33557189, a_33557190, b_33557191) {
      var Temporary1;
  var result_33557192 = 0;
  BeforeRet: do {
      if (!(a_33557190 <= i_33557189)) Temporary1 = false; else {        Temporary1 = (i_33557189 <= b_33557191);      }    if (Temporary1) {
    result_33557192 = i_33557189;
    break BeforeRet;
    }
    else {
    raiseRangeError();
    }
  } while (false);
  return result_33557192;
}
function chckIndx(i_33557184, a_33557185, b_33557186) {
      var Temporary1;
  var result_33557187 = 0;
  BeforeRet: do {
      if (!(a_33557185 <= i_33557184)) Temporary1 = false; else {        Temporary1 = (i_33557184 <= b_33557186);      }    if (Temporary1) {
    result_33557187 = i_33557184;
    break BeforeRet;
    }
    else {
    raiseIndexError(i_33557184, a_33557185, b_33557186);
    }
  } while (false);
  return result_33557187;
}
function cstrToNimstr(c_33556804) {
      var ln = c_33556804.length;
  var result = new Array(ln);
  var r = 0;
  for (var i = 0; i < ln; ++i) {
    var ch = c_33556804.charCodeAt(i);
    if (ch < 128) {
      result[r] = ch;
    }
    else {
      if (ch < 2048) {
        result[r] = (ch >> 6) | 192;
      }
      else {
        if (ch < 55296 || ch >= 57344) {
          result[r] = (ch >> 12) | 224;
        }
        else {
            ++i;
            ch = 65536 + (((ch & 1023) << 10) | (c_33556804.charCodeAt(i) & 1023));
            result[r] = (ch >> 18) | 240;
            ++r;
            result[r] = ((ch >> 12) & 63) | 128;
        }
        ++r;
        result[r] = ((ch >> 6) & 63) | 128;
      }
      ++r;
      result[r] = (ch & 63) | 128;
    }
    ++r;
  }
  return result;
}
function toJSStr(s_33556807) {
                    var Temporary5;
            var Temporary7;
  var result_33556808 = null;
    var res_33556842 = newSeq_33556825((s_33556807).length);
    var i_33556843 = 0;
    var j_33556844 = 0;
    Label1: do {
        Label2: while (true) {
        if (!(i_33556843 < (s_33556807).length)) break Label2;
          var c_33556845 = s_33556807[i_33556843];
          if ((c_33556845 < 128)) {
          res_33556842[j_33556844] = String.fromCharCode(c_33556845);
          i_33556843 += 1;
          }
          else {
            var helper_33556857 = newSeq_33556825(0);
            Label3: do {
                Label4: while (true) {
                if (!true) break Label4;
                  var code_33556858 = c_33556845.toString(16);
                  if ((((code_33556858) == null ? 0 : (code_33556858).length) == 1)) {
                  helper_33556857.push("%0");;
                  }
                  else {
                  helper_33556857.push("%");;
                  }
                  helper_33556857.push(code_33556858);;
                  i_33556843 += 1;
                    if (((s_33556807).length <= i_33556843)) Temporary5 = true; else {                      Temporary5 = (s_33556807[i_33556843] < 128);                    }                  if (Temporary5) {
                  break Label3;
                  }
                  c_33556845 = s_33556807[i_33556843];
                }
            } while (false);
++excHandler;
            Temporary7 = framePtr;
            try {
            res_33556842[j_33556844] = decodeURIComponent(helper_33556857.join(""));
--excHandler;
} catch (EXCEPTION) {
 var prevJSError = lastJSError;
 lastJSError = EXCEPTION;
 --excHandler;
            framePtr = Temporary7;
            res_33556842[j_33556844] = helper_33556857.join("");
            lastJSError = prevJSError;
            } finally {
            framePtr = Temporary7;
            }
          }
          j_33556844 += 1;
        }
    } while (false);
    if (res_33556842.length < j_33556844) { for (var i = res_33556842.length ; i < j_33556844 ; ++i) res_33556842.push(null); }
               else { res_33556842.length = j_33556844; };
    result_33556808 = res_33556842.join("");
  return result_33556808;
}
function raiseException(e_33556667, ename_33556668) {
    e_33556667.name = ename_33556668;
    if ((excHandler == 0)) {
    unhandledException(e_33556667);
    }
    e_33556667.trace = nimCopy(null, rawWriteStackTrace_33556631(), NTI33554439);
    throw e_33556667;
}
function isFatPointer_33557131(ti_33557132) {
  var result_33557133 = false;
  BeforeRet: do {
    result_33557133 = !((ConstSet1[ti_33557132.base.kind] != undefined));
    break BeforeRet;
  } while (false);
  return result_33557133;
}
function nimCopyAux(dest_33557144, src_33557145, n_33557146) {
    switch (n_33557146.kind) {
    case 0:
      break;
    case 1:
            dest_33557144[n_33557146.offset] = nimCopy(dest_33557144[n_33557146.offset], src_33557145[n_33557146.offset], n_33557146.typ);
      break;
    case 2:
          for (var i = 0; i < n_33557146.sons.length; i++) {
      nimCopyAux(dest_33557144, src_33557145, n_33557146.sons[i]);
    }
      break;
    case 3:
            dest_33557144[n_33557146.offset] = nimCopy(dest_33557144[n_33557146.offset], src_33557145[n_33557146.offset], n_33557146.typ);
      for (var i = 0; i < n_33557146.sons.length; ++i) {
        nimCopyAux(dest_33557144, src_33557145, n_33557146.sons[i][1]);
      }
      break;
    }
}
function add_33556419(x_33556420, x_33556420_Idx, y_33556421) {
          if (x_33556420[x_33556420_Idx] === null) { x_33556420[x_33556420_Idx] = []; }
      var off = x_33556420[x_33556420_Idx].length;
      x_33556420[x_33556420_Idx].length += y_33556421.length;
      for (var i = 0; i < y_33556421.length; ++i) {
        x_33556420[x_33556420_Idx][off+i] = y_33556421.charCodeAt(i);
      }
}
function raiseOverflow() {
    raiseException({message: makeNimstrLit("over- or underflow"), parent: null, m_type: NTI33555122, name: null, trace: [], up: null}, "OverflowDefect");
}
function checkOverflowInt(a_33556938) {
        if (a_33556938 > 2147483647 || a_33556938 < -2147483648) raiseOverflow();
}
function raiseRangeError() {
    raiseException({message: makeNimstrLit("value out of range"), parent: null, m_type: NTI33555130, name: null, trace: [], up: null}, "RangeDefect");
}
function raiseIndexError(i_33556754, a_33556755, b_33556756) {
    var Temporary1;
    if ((b_33556756 < a_33556755)) {
    Temporary1 = makeNimstrLit("index out of bounds, the container is empty");
    }
    else {
    Temporary1 = (makeNimstrLit("index ") || []).concat(HEX24_335544323(i_33556754) || [],makeNimstrLit(" not in ") || [],HEX24_335544323(a_33556755) || [],makeNimstrLit(" .. ") || [],HEX24_335544323(b_33556756) || []);
    }
    raiseException({message: nimCopy(null, Temporary1, NTI33554439), parent: null, m_type: NTI33555128, name: null, trace: [], up: null}, "IndexDefect");
}
function addChars_251658415(result_251658417, result_251658417_Idx, x_251658418, start_251658419, n_251658420) {
    var old_251658421 = (result_251658417[result_251658417_Idx]).length;
    (result_251658417[result_251658417_Idx].length = chckRange(addInt(old_251658421, n_251658420), 0, 2147483647));
    Label1: do {
      var iHEX60gensym4_251658435 = 0;
      var i_452984849 = 0;
      Label2: do {
          Label3: while (true) {
          if (!(i_452984849 < n_251658420)) break Label3;
            iHEX60gensym4_251658435 = i_452984849;
            result_251658417[result_251658417_Idx][chckIndx(addInt(old_251658421, iHEX60gensym4_251658435), 0, (result_251658417[result_251658417_Idx]).length - 1)] = x_251658418.charCodeAt(chckIndx(addInt(start_251658419, iHEX60gensym4_251658435), 0, (x_251658418).length - 1));
            i_452984849 = addInt(i_452984849, 1);
          }
      } while (false);
    } while (false);
}
function addChars_251658411(result_251658413, result_251658413_Idx, x_251658414) {
    addChars_251658415(result_251658413, result_251658413_Idx, x_251658414, 0, ((x_251658414) == null ? 0 : (x_251658414).length));
}
function addInt_251658436(result_251658437, result_251658437_Idx, x_251658438) {
    addChars_251658411(result_251658437, result_251658437_Idx, ((x_251658438) + ""));
}
function addInt_251658457(result_251658458, result_251658458_Idx, x_251658459) {
    addInt_251658436(result_251658458, result_251658458_Idx, x_251658459);
}
function HEX24_335544323(x_335544324) {
  var result_335544325 = [[]];
    addInt_251658457(result_335544325, 0, x_335544324);
  return result_335544325[0];
}
function auxWriteStackTrace_33556559(f_33556560) {
          var Temporary3;
  var result_33556561 = [[]];
    var it_33556569 = f_33556560;
    var i_33556570 = 0;
    var total_33556571 = 0;
    var tempFrames_33556572 = arrayConstr(64, {Field0: null, Field1: 0, Field2: null}, NTI33555919);
    Label1: do {
        Label2: while (true) {
          if (!!((it_33556569 == null))) Temporary3 = false; else {            Temporary3 = (i_33556570 <= 63);          }        if (!Temporary3) break Label2;
          tempFrames_33556572[i_33556570].Field0 = it_33556569.procname;
          tempFrames_33556572[i_33556570].Field1 = it_33556569.line;
          tempFrames_33556572[i_33556570].Field2 = it_33556569.filename;
          i_33556570 += 1;
          total_33556571 += 1;
          it_33556569 = it_33556569.prev;
        }
    } while (false);
    Label4: do {
        Label5: while (true) {
        if (!!((it_33556569 == null))) break Label5;
          total_33556571 += 1;
          it_33556569 = it_33556569.prev;
        }
    } while (false);
    result_33556561[0] = nimCopy(null, [], NTI33554439);
    if (!((total_33556571 == i_33556570))) {
    result_33556561[0].push.apply(result_33556561[0], makeNimstrLit("("));;
    result_33556561[0].push.apply(result_33556561[0], HEX24_335544323((total_33556571 - i_33556570)));;
    result_33556561[0].push.apply(result_33556561[0], makeNimstrLit(" calls omitted) ...\x0A"));;
    }
    Label6: do {
      var j_33556602 = 0;
      var colontmp__452984841 = 0;
      colontmp__452984841 = (i_33556570 - 1);
      var res_452984843 = colontmp__452984841;
      Label7: do {
          Label8: while (true) {
          if (!(0 <= res_452984843)) break Label8;
            j_33556602 = res_452984843;
            result_33556561[0].push.apply(result_33556561[0], cstrToNimstr(tempFrames_33556572[j_33556602].Field2));;
            if ((0 < tempFrames_33556572[j_33556602].Field1)) {
            result_33556561[0].push.apply(result_33556561[0], makeNimstrLit("("));;
            addInt_251658457(result_33556561, 0, tempFrames_33556572[j_33556602].Field1);
            if (false) {
            result_33556561[0].push.apply(result_33556561[0], makeNimstrLit(", "));;
            addInt_251658457(result_33556561, 0, 0);
            }
            result_33556561[0].push.apply(result_33556561[0], makeNimstrLit(")"));;
            }
            result_33556561[0].push.apply(result_33556561[0], makeNimstrLit(" at "));;
            add_33556419(result_33556561, 0, tempFrames_33556572[j_33556602].Field0);
            result_33556561[0].push.apply(result_33556561[0], makeNimstrLit("\x0A"));;
            res_452984843 -= 1;
          }
      } while (false);
    } while (false);
  return result_33556561[0];
}
function rawWriteStackTrace_33556631() {
  var result_33556632 = [];
    if (!((framePtr == null))) {
    result_33556632 = nimCopy(null, (makeNimstrLit("Traceback (most recent call last)\x0A") || []).concat(auxWriteStackTrace_33556559(framePtr) || []), NTI33554439);
    }
    else {
      result_33556632 = nimCopy(null, makeNimstrLit("No stack traceback available\x0A"), NTI33554439);
    }
  return result_33556632;
}
function newSeq_33556825(len_33556827) {
  var result_33556828 = [];
    result_33556828 = new Array(len_33556827); for (var i = 0 ; i < len_33556827 ; ++i) { result_33556828[i] = null; }
  return result_33556828;
}
function unhandledException(e_33556663) {
    var buf_33556664 = [[]];
    if (!(((e_33556663.message).length == 0))) {
    buf_33556664[0].push.apply(buf_33556664[0], makeNimstrLit("Error: unhandled exception: "));;
    buf_33556664[0].push.apply(buf_33556664[0], e_33556663.message);;
    }
    else {
    buf_33556664[0].push.apply(buf_33556664[0], makeNimstrLit("Error: unhandled exception"));;
    }
    buf_33556664[0].push.apply(buf_33556664[0], makeNimstrLit(" ["));;
    add_33556419(buf_33556664, 0, e_33556663.name);
    buf_33556664[0].push.apply(buf_33556664[0], makeNimstrLit("]\x0A"));;
    buf_33556664[0].push.apply(buf_33556664[0], rawWriteStackTrace_33556631());;
    var cbuf_33556665 = toJSStr(buf_33556664[0]);
    framePtr = null;
      if (typeof(Error) !== "undefined") {
    throw new Error(cbuf_33556665);
  }
  else {
    throw cbuf_33556665;
  }
}
function sysFatal_218103842(message_218103845) {
    raiseException({message: nimCopy(null, message_218103845, NTI33554439), m_type: NTI33555124, parent: null, name: null, trace: [], up: null}, "AssertionDefect");
}
function raiseAssert_218103840(msg_218103841) {
    sysFatal_218103842(msg_218103841);
}
function failedAssertImpl_218103864(msg_218103865) {
    raiseAssert_218103840(msg_218103865);
}
var F = {procname: "module temp", prev: framePtr, filename: "/home/runner/work/nimrun-action/nimrun-action/temp.nim", line: 0};
framePtr = F;
if (false) {
failedAssertImpl_218103864(makeNimstrLit("/home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug"));
}
framePtr = F.prev;
var F = {procname: "module temp", prev: framePtr, filename: "/home/runner/work/nimrun-action/nimrun-action/temp.nim", line: 0};
framePtr = F;
framePtr = F.prev;
var F = {procname: "module temp", prev: framePtr, filename: "/home/runner/work/nimrun-action/nimrun-action/temp.nim", line: 0};
framePtr = F;
framePtr = F.prev;
1.6.10 :+1:

Output


Stats

  • Created 2023-06-26T12:39:37Z
  • Started 2023-06-26T12:40:32
  • Finished 2023-06-26T12:40:32
  • Duration now
  • Filesize 19.70 Kb
  • Commands nim js -d:nodejs --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim

AST

nnkStmtList.newTree(
  nnkCommand.newTree(
    newIdentNode("doAssert"),
    nnkInfix.newTree(
      newIdentNode(">"),
      newIdentNode("NimMinor"),
      newLit(5)
    ),
    newLit("Simulate Bug")
  )
)

IR

var framePtr = null;
var excHandler = 0;
var lastJSError = null;
var NTI33555128 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33555130 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33555120 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33555122 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33554456 = {size: 0,kind: 31,base: null,node: null,finalizer: null};
var NTI33555919 = {size: 0, kind: 18, base: null, node: null, finalizer: null};
var NTI33555083 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33555165 = {size: 0, kind: 22, base: null, node: null, finalizer: null};
var NTI33554440 = {size: 0,kind: 29,base: null,node: null,finalizer: null};
var NTI33555164 = {size: 0, kind: 22, base: null, node: null, finalizer: null};
var NTI33555112 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33555113 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33555124 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33554439 = {size: 0,kind: 28,base: null,node: null,finalizer: null};
var NNI33555124 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555124.node = NNI33555124;
var NNI33555113 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555113.node = NNI33555113;
NTI33555164.base = NTI33555112;
NTI33555165.base = NTI33555112;
var NNI33555112 = {kind: 2, len: 5, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "parent", len: 0, typ: NTI33555164, name: "parent", sons: null}, 
{kind: 1, offset: "name", len: 0, typ: NTI33554440, name: "name", sons: null}, 
{kind: 1, offset: "message", len: 0, typ: NTI33554439, name: "msg", sons: null}, 
{kind: 1, offset: "trace", len: 0, typ: NTI33554439, name: "trace", sons: null}, 
{kind: 1, offset: "up", len: 0, typ: NTI33555165, name: "up", sons: null}]};
NTI33555112.node = NNI33555112;
var NNI33555083 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555083.node = NNI33555083;
NTI33555112.base = NTI33555083;
NTI33555113.base = NTI33555112;
NTI33555124.base = NTI33555113;
var NNI33555919 = {kind: 2, len: 3, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554440, name: "Field0", sons: null}, 
{kind: 1, offset: "Field1", len: 0, typ: NTI33554456, name: "Field1", sons: null}, 
{kind: 1, offset: "Field2", len: 0, typ: NTI33554440, name: "Field2", sons: null}]};
NTI33555919.node = NNI33555919;
var NNI33555122 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555122.node = NNI33555122;
var NNI33555120 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555120.node = NNI33555120;
NTI33555120.base = NTI33555113;
NTI33555122.base = NTI33555120;
var NNI33555130 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555130.node = NNI33555130;
NTI33555130.base = NTI33555113;
var NNI33555128 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555128.node = NNI33555128;
NTI33555128.base = NTI33555113;
function setConstr() {
        var result = {};
    for (var i = 0; i < arguments.length; ++i) {
      var x = arguments[i];
      if (typeof(x) == "object") {
        for (var j = x[0]; j <= x[1]; ++j) {
          result[j] = true;
        }
      } else {
        result[x] = true;
      }
    }
    return result;
}
var ConstSet1 = setConstr(17, 16, 4, 18, 27, 19, 23, 22, 21);
function nimCopy(dest_33557140, src_33557141, ti_33557142) {
  var result_33557151 = null;
    switch (ti_33557142.kind) {
    case 21:
    case 22:
    case 23:
    case 5:
      if (!(isFatPointer_33557131(ti_33557142))) {
      result_33557151 = src_33557141;
      }
      else {
        result_33557151 = [src_33557141[0], src_33557141[1]];
      }
      break;
    case 19:
            if (dest_33557140 === null || dest_33557140 === undefined) {
        dest_33557140 = {};
      }
      else {
        for (var key in dest_33557140) { delete dest_33557140[key]; }
      }
      for (var key in src_33557141) { dest_33557140[key] = src_33557141[key]; }
      result_33557151 = dest_33557140;
      break;
    case 18:
    case 17:
      if (!((ti_33557142.base == null))) {
      result_33557151 = nimCopy(dest_33557140, src_33557141, ti_33557142.base);
      }
      else {
      if ((ti_33557142.kind == 17)) {
      result_33557151 = (dest_33557140 === null || dest_33557140 === undefined) ? {m_type: ti_33557142} : dest_33557140;
      }
      else {
        result_33557151 = (dest_33557140 === null || dest_33557140 === undefined) ? {} : dest_33557140;
      }
      }
      nimCopyAux(result_33557151, src_33557141, ti_33557142.node);
      break;
    case 24:
    case 4:
    case 27:
    case 16:
            if (src_33557141 === null) {
        result_33557151 = null;
      }
      else {
        if (dest_33557140 === null || dest_33557140 === undefined || dest_33557140.length != src_33557141.length) {
          dest_33557140 = new Array(src_33557141.length);
        }
        result_33557151 = dest_33557140;
        for (var i = 0; i < src_33557141.length; ++i) {
          result_33557151[i] = nimCopy(result_33557151[i], src_33557141[i], ti_33557142.base);
        }
      }
      break;
    case 28:
            if (src_33557141 !== null) {
        result_33557151 = src_33557141.slice(0);
      }
      break;
    default: 
      result_33557151 = src_33557141;
      break;
    }
  return result_33557151;
}
function makeNimstrLit(c_33556801) {
      var result = [];
  for (var i = 0; i < c_33556801.length; ++i) {
    result[i] = c_33556801.charCodeAt(i);
  }
  return result;
}
function arrayConstr(len_33557179, value_33557180, typ_33557181) {
        var result = new Array(len_33557179);
    for (var i = 0; i < len_33557179; ++i) result[i] = nimCopy(null, value_33557180, typ_33557181);
    return result;
}
function mnewString(len_33556893) {
        return new Array(len_33556893);
}
function addInt(a_33556940, b_33556941) {
        var result = a_33556940 + b_33556941;
    checkOverflowInt(result);
    return result;
}
function chckRange(i_33557189, a_33557190, b_33557191) {
      var Temporary1;
  var result_33557192 = 0;
  BeforeRet: do {
      if (!(a_33557190 <= i_33557189)) Temporary1 = false; else {        Temporary1 = (i_33557189 <= b_33557191);      }    if (Temporary1) {
    result_33557192 = i_33557189;
    break BeforeRet;
    }
    else {
    raiseRangeError();
    }
  } while (false);
  return result_33557192;
}
function chckIndx(i_33557184, a_33557185, b_33557186) {
      var Temporary1;
  var result_33557187 = 0;
  BeforeRet: do {
      if (!(a_33557185 <= i_33557184)) Temporary1 = false; else {        Temporary1 = (i_33557184 <= b_33557186);      }    if (Temporary1) {
    result_33557187 = i_33557184;
    break BeforeRet;
    }
    else {
    raiseIndexError(i_33557184, a_33557185, b_33557186);
    }
  } while (false);
  return result_33557187;
}
function cstrToNimstr(c_33556804) {
      var ln = c_33556804.length;
  var result = new Array(ln);
  var r = 0;
  for (var i = 0; i < ln; ++i) {
    var ch = c_33556804.charCodeAt(i);
    if (ch < 128) {
      result[r] = ch;
    }
    else {
      if (ch < 2048) {
        result[r] = (ch >> 6) | 192;
      }
      else {
        if (ch < 55296 || ch >= 57344) {
          result[r] = (ch >> 12) | 224;
        }
        else {
            ++i;
            ch = 65536 + (((ch & 1023) << 10) | (c_33556804.charCodeAt(i) & 1023));
            result[r] = (ch >> 18) | 240;
            ++r;
            result[r] = ((ch >> 12) & 63) | 128;
        }
        ++r;
        result[r] = ((ch >> 6) & 63) | 128;
      }
      ++r;
      result[r] = (ch & 63) | 128;
    }
    ++r;
  }
  return result;
}
function toJSStr(s_33556807) {
                    var Temporary5;
            var Temporary7;
  var result_33556808 = null;
    var res_33556842 = newSeq_33556825((s_33556807).length);
    var i_33556843 = 0;
    var j_33556844 = 0;
    Label1: do {
        Label2: while (true) {
        if (!(i_33556843 < (s_33556807).length)) break Label2;
          var c_33556845 = s_33556807[i_33556843];
          if ((c_33556845 < 128)) {
          res_33556842[j_33556844] = String.fromCharCode(c_33556845);
          i_33556843 += 1;
          }
          else {
            var helper_33556857 = newSeq_33556825(0);
            Label3: do {
                Label4: while (true) {
                if (!true) break Label4;
                  var code_33556858 = c_33556845.toString(16);
                  if ((((code_33556858) == null ? 0 : (code_33556858).length) == 1)) {
                  helper_33556857.push("%0");;
                  }
                  else {
                  helper_33556857.push("%");;
                  }
                  helper_33556857.push(code_33556858);;
                  i_33556843 += 1;
                    if (((s_33556807).length <= i_33556843)) Temporary5 = true; else {                      Temporary5 = (s_33556807[i_33556843] < 128);                    }                  if (Temporary5) {
                  break Label3;
                  }
                  c_33556845 = s_33556807[i_33556843];
                }
            } while (false);
++excHandler;
            Temporary7 = framePtr;
            try {
            res_33556842[j_33556844] = decodeURIComponent(helper_33556857.join(""));
--excHandler;
} catch (EXCEPTION) {
 var prevJSError = lastJSError;
 lastJSError = EXCEPTION;
 --excHandler;
            framePtr = Temporary7;
            res_33556842[j_33556844] = helper_33556857.join("");
            lastJSError = prevJSError;
            } finally {
            framePtr = Temporary7;
            }
          }
          j_33556844 += 1;
        }
    } while (false);
    if (res_33556842.length < j_33556844) { for (var i = res_33556842.length ; i < j_33556844 ; ++i) res_33556842.push(null); }
               else { res_33556842.length = j_33556844; };
    result_33556808 = res_33556842.join("");
  return result_33556808;
}
function raiseException(e_33556667, ename_33556668) {
    e_33556667.name = ename_33556668;
    if ((excHandler == 0)) {
    unhandledException(e_33556667);
    }
    e_33556667.trace = nimCopy(null, rawWriteStackTrace_33556631(), NTI33554439);
    throw e_33556667;
}
function isFatPointer_33557131(ti_33557132) {
  var result_33557133 = false;
  BeforeRet: do {
    result_33557133 = !((ConstSet1[ti_33557132.base.kind] != undefined));
    break BeforeRet;
  } while (false);
  return result_33557133;
}
function nimCopyAux(dest_33557144, src_33557145, n_33557146) {
    switch (n_33557146.kind) {
    case 0:
      break;
    case 1:
            dest_33557144[n_33557146.offset] = nimCopy(dest_33557144[n_33557146.offset], src_33557145[n_33557146.offset], n_33557146.typ);
      break;
    case 2:
          for (var i = 0; i < n_33557146.sons.length; i++) {
      nimCopyAux(dest_33557144, src_33557145, n_33557146.sons[i]);
    }
      break;
    case 3:
            dest_33557144[n_33557146.offset] = nimCopy(dest_33557144[n_33557146.offset], src_33557145[n_33557146.offset], n_33557146.typ);
      for (var i = 0; i < n_33557146.sons.length; ++i) {
        nimCopyAux(dest_33557144, src_33557145, n_33557146.sons[i][1]);
      }
      break;
    }
}
function add_33556419(x_33556420, x_33556420_Idx, y_33556421) {
          if (x_33556420[x_33556420_Idx] === null) { x_33556420[x_33556420_Idx] = []; }
      var off = x_33556420[x_33556420_Idx].length;
      x_33556420[x_33556420_Idx].length += y_33556421.length;
      for (var i = 0; i < y_33556421.length; ++i) {
        x_33556420[x_33556420_Idx][off+i] = y_33556421.charCodeAt(i);
      }
}
function raiseOverflow() {
    raiseException({message: makeNimstrLit("over- or underflow"), parent: null, m_type: NTI33555122, name: null, trace: [], up: null}, "OverflowDefect");
}
function checkOverflowInt(a_33556938) {
        if (a_33556938 > 2147483647 || a_33556938 < -2147483648) raiseOverflow();
}
function raiseRangeError() {
    raiseException({message: makeNimstrLit("value out of range"), parent: null, m_type: NTI33555130, name: null, trace: [], up: null}, "RangeDefect");
}
function raiseIndexError(i_33556754, a_33556755, b_33556756) {
    var Temporary1;
    if ((b_33556756 < a_33556755)) {
    Temporary1 = makeNimstrLit("index out of bounds, the container is empty");
    }
    else {
    Temporary1 = (makeNimstrLit("index ") || []).concat(HEX24_318767107(i_33556754) || [],makeNimstrLit(" not in ") || [],HEX24_318767107(a_33556755) || [],makeNimstrLit(" .. ") || [],HEX24_318767107(b_33556756) || []);
    }
    raiseException({message: nimCopy(null, Temporary1, NTI33554439), parent: null, m_type: NTI33555128, name: null, trace: [], up: null}, "IndexDefect");
}
function addChars_251658415(result_251658417, result_251658417_Idx, x_251658418, start_251658419, n_251658420) {
    var old_251658421 = (result_251658417[result_251658417_Idx]).length;
    (result_251658417[result_251658417_Idx].length = chckRange(addInt(old_251658421, n_251658420), 0, 2147483647));
    Label1: do {
      var iHEX60gensym4_251658435 = 0;
      var i_436207633 = 0;
      Label2: do {
          Label3: while (true) {
          if (!(i_436207633 < n_251658420)) break Label3;
            iHEX60gensym4_251658435 = i_436207633;
            result_251658417[result_251658417_Idx][chckIndx(addInt(old_251658421, iHEX60gensym4_251658435), 0, (result_251658417[result_251658417_Idx]).length - 1)] = x_251658418.charCodeAt(chckIndx(addInt(start_251658419, iHEX60gensym4_251658435), 0, (x_251658418).length - 1));
            i_436207633 = addInt(i_436207633, 1);
          }
      } while (false);
    } while (false);
}
function addChars_251658411(result_251658413, result_251658413_Idx, x_251658414) {
    addChars_251658415(result_251658413, result_251658413_Idx, x_251658414, 0, ((x_251658414) == null ? 0 : (x_251658414).length));
}
function addInt_251658436(result_251658437, result_251658437_Idx, x_251658438) {
    addChars_251658411(result_251658437, result_251658437_Idx, ((x_251658438) + ""));
}
function addInt_251658457(result_251658458, result_251658458_Idx, x_251658459) {
    addInt_251658436(result_251658458, result_251658458_Idx, x_251658459);
}
function HEX24_318767107(x_318767108) {
  var result_318767109 = [[]];
    addInt_251658457(result_318767109, 0, x_318767108);
  return result_318767109[0];
}
function auxWriteStackTrace_33556559(f_33556560) {
          var Temporary3;
  var result_33556561 = [[]];
    var it_33556569 = f_33556560;
    var i_33556570 = 0;
    var total_33556571 = 0;
    var tempFrames_33556572 = arrayConstr(64, {Field0: null, Field1: 0, Field2: null}, NTI33555919);
    Label1: do {
        Label2: while (true) {
          if (!!((it_33556569 == null))) Temporary3 = false; else {            Temporary3 = (i_33556570 <= 63);          }        if (!Temporary3) break Label2;
          tempFrames_33556572[i_33556570].Field0 = it_33556569.procname;
          tempFrames_33556572[i_33556570].Field1 = it_33556569.line;
          tempFrames_33556572[i_33556570].Field2 = it_33556569.filename;
          i_33556570 += 1;
          total_33556571 += 1;
          it_33556569 = it_33556569.prev;
        }
    } while (false);
    Label4: do {
        Label5: while (true) {
        if (!!((it_33556569 == null))) break Label5;
          total_33556571 += 1;
          it_33556569 = it_33556569.prev;
        }
    } while (false);
    result_33556561[0] = nimCopy(null, [], NTI33554439);
    if (!((total_33556571 == i_33556570))) {
    result_33556561[0].push.apply(result_33556561[0], makeNimstrLit("("));;
    result_33556561[0].push.apply(result_33556561[0], HEX24_318767107((total_33556571 - i_33556570)));;
    result_33556561[0].push.apply(result_33556561[0], makeNimstrLit(" calls omitted) ...\x0A"));;
    }
    Label6: do {
      var j_33556602 = 0;
      var colontmp__436207625 = 0;
      colontmp__436207625 = (i_33556570 - 1);
      var res_436207627 = colontmp__436207625;
      Label7: do {
          Label8: while (true) {
          if (!(0 <= res_436207627)) break Label8;
            j_33556602 = res_436207627;
            result_33556561[0].push.apply(result_33556561[0], cstrToNimstr(tempFrames_33556572[j_33556602].Field2));;
            if ((0 < tempFrames_33556572[j_33556602].Field1)) {
            result_33556561[0].push.apply(result_33556561[0], makeNimstrLit("("));;
            addInt_251658457(result_33556561, 0, tempFrames_33556572[j_33556602].Field1);
            if (false) {
            result_33556561[0].push.apply(result_33556561[0], makeNimstrLit(", "));;
            addInt_251658457(result_33556561, 0, 0);
            }
            result_33556561[0].push.apply(result_33556561[0], makeNimstrLit(")"));;
            }
            result_33556561[0].push.apply(result_33556561[0], makeNimstrLit(" at "));;
            add_33556419(result_33556561, 0, tempFrames_33556572[j_33556602].Field0);
            result_33556561[0].push.apply(result_33556561[0], makeNimstrLit("\x0A"));;
            res_436207627 -= 1;
          }
      } while (false);
    } while (false);
  return result_33556561[0];
}
function rawWriteStackTrace_33556631() {
  var result_33556632 = [];
    if (!((framePtr == null))) {
    result_33556632 = nimCopy(null, (makeNimstrLit("Traceback (most recent call last)\x0A") || []).concat(auxWriteStackTrace_33556559(framePtr) || []), NTI33554439);
    }
    else {
      result_33556632 = nimCopy(null, makeNimstrLit("No stack traceback available\x0A"), NTI33554439);
    }
  return result_33556632;
}
function newSeq_33556825(len_33556827) {
  var result_33556828 = [];
    result_33556828 = new Array(len_33556827); for (var i = 0 ; i < len_33556827 ; ++i) { result_33556828[i] = null; }
  return result_33556828;
}
function unhandledException(e_33556663) {
    var buf_33556664 = [[]];
    if (!(((e_33556663.message).length == 0))) {
    buf_33556664[0].push.apply(buf_33556664[0], makeNimstrLit("Error: unhandled exception: "));;
    buf_33556664[0].push.apply(buf_33556664[0], e_33556663.message);;
    }
    else {
    buf_33556664[0].push.apply(buf_33556664[0], makeNimstrLit("Error: unhandled exception"));;
    }
    buf_33556664[0].push.apply(buf_33556664[0], makeNimstrLit(" ["));;
    add_33556419(buf_33556664, 0, e_33556663.name);
    buf_33556664[0].push.apply(buf_33556664[0], makeNimstrLit("]\x0A"));;
    buf_33556664[0].push.apply(buf_33556664[0], rawWriteStackTrace_33556631());;
    var cbuf_33556665 = toJSStr(buf_33556664[0]);
    framePtr = null;
      if (typeof(Error) !== "undefined") {
    throw new Error(cbuf_33556665);
  }
  else {
    throw cbuf_33556665;
  }
}
function sysFatal_218103842(message_218103845) {
    raiseException({message: nimCopy(null, message_218103845, NTI33554439), m_type: NTI33555124, parent: null, name: null, trace: [], up: null}, "AssertionDefect");
}
function raiseAssert_218103840(msg_218103841) {
    sysFatal_218103842(msg_218103841);
}
function failedAssertImpl_218103864(msg_218103865) {
    raiseAssert_218103840(msg_218103865);
}
var F = {procname: "module temp", prev: framePtr, filename: "/home/runner/work/nimrun-action/nimrun-action/temp.nim", line: 0};
framePtr = F;
if (false) {
failedAssertImpl_218103864(makeNimstrLit("/home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug"));
}
framePtr = F.prev;
var F = {procname: "module temp", prev: framePtr, filename: "/home/runner/work/nimrun-action/nimrun-action/temp.nim", line: 0};
framePtr = F;
framePtr = F.prev;
var F = {procname: "module temp", prev: framePtr, filename: "/home/runner/work/nimrun-action/nimrun-action/temp.nim", line: 0};
framePtr = F;
framePtr = F.prev;
1.6.4 :+1:

Output


Stats

  • Created 2023-06-26T12:39:37Z
  • Started 2023-06-26T12:40:35
  • Finished 2023-06-26T12:40:36
  • Duration now
  • Filesize 19.70 Kb
  • Commands nim js -d:nodejs --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim

AST

nnkStmtList.newTree(
  nnkCommand.newTree(
    newIdentNode("doAssert"),
    nnkInfix.newTree(
      newIdentNode(">"),
      newIdentNode("NimMinor"),
      newLit(5)
    ),
    newLit("Simulate Bug")
  )
)

IR

var framePtr = null;
var excHandler = 0;
var lastJSError = null;
var NTI33555128 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33555130 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33555120 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33555122 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33554456 = {size: 0,kind: 31,base: null,node: null,finalizer: null};
var NTI33555920 = {size: 0, kind: 18, base: null, node: null, finalizer: null};
var NTI33555083 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33555165 = {size: 0, kind: 22, base: null, node: null, finalizer: null};
var NTI33554440 = {size: 0,kind: 29,base: null,node: null,finalizer: null};
var NTI33555164 = {size: 0, kind: 22, base: null, node: null, finalizer: null};
var NTI33555112 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33555113 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33555124 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33554439 = {size: 0,kind: 28,base: null,node: null,finalizer: null};
var NNI33555124 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555124.node = NNI33555124;
var NNI33555113 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555113.node = NNI33555113;
NTI33555164.base = NTI33555112;
NTI33555165.base = NTI33555112;
var NNI33555112 = {kind: 2, len: 5, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "parent", len: 0, typ: NTI33555164, name: "parent", sons: null}, 
{kind: 1, offset: "name", len: 0, typ: NTI33554440, name: "name", sons: null}, 
{kind: 1, offset: "message", len: 0, typ: NTI33554439, name: "msg", sons: null}, 
{kind: 1, offset: "trace", len: 0, typ: NTI33554439, name: "trace", sons: null}, 
{kind: 1, offset: "up", len: 0, typ: NTI33555165, name: "up", sons: null}]};
NTI33555112.node = NNI33555112;
var NNI33555083 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555083.node = NNI33555083;
NTI33555112.base = NTI33555083;
NTI33555113.base = NTI33555112;
NTI33555124.base = NTI33555113;
var NNI33555920 = {kind: 2, len: 3, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554440, name: "Field0", sons: null}, 
{kind: 1, offset: "Field1", len: 0, typ: NTI33554456, name: "Field1", sons: null}, 
{kind: 1, offset: "Field2", len: 0, typ: NTI33554440, name: "Field2", sons: null}]};
NTI33555920.node = NNI33555920;
var NNI33555122 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555122.node = NNI33555122;
var NNI33555120 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555120.node = NNI33555120;
NTI33555120.base = NTI33555113;
NTI33555122.base = NTI33555120;
var NNI33555130 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555130.node = NNI33555130;
NTI33555130.base = NTI33555113;
var NNI33555128 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555128.node = NNI33555128;
NTI33555128.base = NTI33555113;
function setConstr() {
        var result = {};
    for (var i = 0; i < arguments.length; ++i) {
      var x = arguments[i];
      if (typeof(x) == "object") {
        for (var j = x[0]; j <= x[1]; ++j) {
          result[j] = true;
        }
      } else {
        result[x] = true;
      }
    }
    return result;
}
var ConstSet1 = setConstr(17, 16, 4, 18, 27, 19, 23, 22, 21);
function nimCopy(dest_33557141, src_33557142, ti_33557143) {
  var result_33557152 = null;
    switch (ti_33557143.kind) {
    case 21:
    case 22:
    case 23:
    case 5:
      if (!(isFatPointer_33557132(ti_33557143))) {
      result_33557152 = src_33557142;
      }
      else {
        result_33557152 = [src_33557142[0], src_33557142[1]];
      }
      break;
    case 19:
            if (dest_33557141 === null || dest_33557141 === undefined) {
        dest_33557141 = {};
      }
      else {
        for (var key in dest_33557141) { delete dest_33557141[key]; }
      }
      for (var key in src_33557142) { dest_33557141[key] = src_33557142[key]; }
      result_33557152 = dest_33557141;
      break;
    case 18:
    case 17:
      if (!((ti_33557143.base == null))) {
      result_33557152 = nimCopy(dest_33557141, src_33557142, ti_33557143.base);
      }
      else {
      if ((ti_33557143.kind == 17)) {
      result_33557152 = (dest_33557141 === null || dest_33557141 === undefined) ? {m_type: ti_33557143} : dest_33557141;
      }
      else {
        result_33557152 = (dest_33557141 === null || dest_33557141 === undefined) ? {} : dest_33557141;
      }
      }
      nimCopyAux(result_33557152, src_33557142, ti_33557143.node);
      break;
    case 24:
    case 4:
    case 27:
    case 16:
            if (src_33557142 === null) {
        result_33557152 = null;
      }
      else {
        if (dest_33557141 === null || dest_33557141 === undefined || dest_33557141.length != src_33557142.length) {
          dest_33557141 = new Array(src_33557142.length);
        }
        result_33557152 = dest_33557141;
        for (var i = 0; i < src_33557142.length; ++i) {
          result_33557152[i] = nimCopy(result_33557152[i], src_33557142[i], ti_33557143.base);
        }
      }
      break;
    case 28:
            if (src_33557142 !== null) {
        result_33557152 = src_33557142.slice(0);
      }
      break;
    default: 
      result_33557152 = src_33557142;
      break;
    }
  return result_33557152;
}
function makeNimstrLit(c_33556802) {
      var result = [];
  for (var i = 0; i < c_33556802.length; ++i) {
    result[i] = c_33556802.charCodeAt(i);
  }
  return result;
}
function arrayConstr(len_33557180, value_33557181, typ_33557182) {
        var result = new Array(len_33557180);
    for (var i = 0; i < len_33557180; ++i) result[i] = nimCopy(null, value_33557181, typ_33557182);
    return result;
}
function mnewString(len_33556894) {
        return new Array(len_33556894);
}
function addInt(a_33556941, b_33556942) {
        var result = a_33556941 + b_33556942;
    checkOverflowInt(result);
    return result;
}
function chckRange(i_33557190, a_33557191, b_33557192) {
      var Temporary1;
  var result_33557193 = 0;
  BeforeRet: do {
      if (!(a_33557191 <= i_33557190)) Temporary1 = false; else {        Temporary1 = (i_33557190 <= b_33557192);      }    if (Temporary1) {
    result_33557193 = i_33557190;
    break BeforeRet;
    }
    else {
    raiseRangeError();
    }
  } while (false);
  return result_33557193;
}
function chckIndx(i_33557185, a_33557186, b_33557187) {
      var Temporary1;
  var result_33557188 = 0;
  BeforeRet: do {
      if (!(a_33557186 <= i_33557185)) Temporary1 = false; else {        Temporary1 = (i_33557185 <= b_33557187);      }    if (Temporary1) {
    result_33557188 = i_33557185;
    break BeforeRet;
    }
    else {
    raiseIndexError(i_33557185, a_33557186, b_33557187);
    }
  } while (false);
  return result_33557188;
}
function cstrToNimstr(c_33556805) {
      var ln = c_33556805.length;
  var result = new Array(ln);
  var r = 0;
  for (var i = 0; i < ln; ++i) {
    var ch = c_33556805.charCodeAt(i);
    if (ch < 128) {
      result[r] = ch;
    }
    else {
      if (ch < 2048) {
        result[r] = (ch >> 6) | 192;
      }
      else {
        if (ch < 55296 || ch >= 57344) {
          result[r] = (ch >> 12) | 224;
        }
        else {
            ++i;
            ch = 65536 + (((ch & 1023) << 10) | (c_33556805.charCodeAt(i) & 1023));
            result[r] = (ch >> 18) | 240;
            ++r;
            result[r] = ((ch >> 12) & 63) | 128;
        }
        ++r;
        result[r] = ((ch >> 6) & 63) | 128;
      }
      ++r;
      result[r] = (ch & 63) | 128;
    }
    ++r;
  }
  return result;
}
function toJSStr(s_33556808) {
                    var Temporary5;
            var Temporary7;
  var result_33556809 = null;
    var res_33556843 = newSeq_33556826((s_33556808).length);
    var i_33556844 = 0;
    var j_33556845 = 0;
    Label1: do {
        Label2: while (true) {
        if (!(i_33556844 < (s_33556808).length)) break Label2;
          var c_33556846 = s_33556808[i_33556844];
          if ((c_33556846 < 128)) {
          res_33556843[j_33556845] = String.fromCharCode(c_33556846);
          i_33556844 += 1;
          }
          else {
            var helper_33556858 = newSeq_33556826(0);
            Label3: do {
                Label4: while (true) {
                if (!true) break Label4;
                  var code_33556859 = c_33556846.toString(16);
                  if ((((code_33556859) == null ? 0 : (code_33556859).length) == 1)) {
                  helper_33556858.push("%0");;
                  }
                  else {
                  helper_33556858.push("%");;
                  }
                  helper_33556858.push(code_33556859);;
                  i_33556844 += 1;
                    if (((s_33556808).length <= i_33556844)) Temporary5 = true; else {                      Temporary5 = (s_33556808[i_33556844] < 128);                    }                  if (Temporary5) {
                  break Label3;
                  }
                  c_33556846 = s_33556808[i_33556844];
                }
            } while (false);
++excHandler;
            Temporary7 = framePtr;
            try {
            res_33556843[j_33556845] = decodeURIComponent(helper_33556858.join(""));
--excHandler;
} catch (EXCEPTION) {
 var prevJSError = lastJSError;
 lastJSError = EXCEPTION;
 --excHandler;
            framePtr = Temporary7;
            res_33556843[j_33556845] = helper_33556858.join("");
            lastJSError = prevJSError;
            } finally {
            framePtr = Temporary7;
            }
          }
          j_33556845 += 1;
        }
    } while (false);
    if (res_33556843.length < j_33556845) { for (var i = res_33556843.length ; i < j_33556845 ; ++i) res_33556843.push(null); }
               else { res_33556843.length = j_33556845; };
    result_33556809 = res_33556843.join("");
  return result_33556809;
}
function raiseException(e_33556668, ename_33556669) {
    e_33556668.name = ename_33556669;
    if ((excHandler == 0)) {
    unhandledException(e_33556668);
    }
    e_33556668.trace = nimCopy(null, rawWriteStackTrace_33556632(), NTI33554439);
    throw e_33556668;
}
function isFatPointer_33557132(ti_33557133) {
  var result_33557134 = false;
  BeforeRet: do {
    result_33557134 = !((ConstSet1[ti_33557133.base.kind] != undefined));
    break BeforeRet;
  } while (false);
  return result_33557134;
}
function nimCopyAux(dest_33557145, src_33557146, n_33557147) {
    switch (n_33557147.kind) {
    case 0:
      break;
    case 1:
            dest_33557145[n_33557147.offset] = nimCopy(dest_33557145[n_33557147.offset], src_33557146[n_33557147.offset], n_33557147.typ);
      break;
    case 2:
          for (var i = 0; i < n_33557147.sons.length; i++) {
      nimCopyAux(dest_33557145, src_33557146, n_33557147.sons[i]);
    }
      break;
    case 3:
            dest_33557145[n_33557147.offset] = nimCopy(dest_33557145[n_33557147.offset], src_33557146[n_33557147.offset], n_33557147.typ);
      for (var i = 0; i < n_33557147.sons.length; ++i) {
        nimCopyAux(dest_33557145, src_33557146, n_33557147.sons[i][1]);
      }
      break;
    }
}
function add_33556420(x_33556421, x_33556421_Idx, y_33556422) {
          if (x_33556421[x_33556421_Idx] === null) { x_33556421[x_33556421_Idx] = []; }
      var off = x_33556421[x_33556421_Idx].length;
      x_33556421[x_33556421_Idx].length += y_33556422.length;
      for (var i = 0; i < y_33556422.length; ++i) {
        x_33556421[x_33556421_Idx][off+i] = y_33556422.charCodeAt(i);
      }
}
function raiseOverflow() {
    raiseException({message: makeNimstrLit("over- or underflow"), parent: null, m_type: NTI33555122, name: null, trace: [], up: null}, "OverflowDefect");
}
function checkOverflowInt(a_33556939) {
        if (a_33556939 > 2147483647 || a_33556939 < -2147483648) raiseOverflow();
}
function raiseRangeError() {
    raiseException({message: makeNimstrLit("value out of range"), parent: null, m_type: NTI33555130, name: null, trace: [], up: null}, "RangeDefect");
}
function raiseIndexError(i_33556755, a_33556756, b_33556757) {
    var Temporary1;
    if ((b_33556757 < a_33556756)) {
    Temporary1 = makeNimstrLit("index out of bounds, the container is empty");
    }
    else {
    Temporary1 = (makeNimstrLit("index ") || []).concat(HEX24_318767107(i_33556755) || [],makeNimstrLit(" not in ") || [],HEX24_318767107(a_33556756) || [],makeNimstrLit(" .. ") || [],HEX24_318767107(b_33556757) || []);
    }
    raiseException({message: nimCopy(null, Temporary1, NTI33554439), parent: null, m_type: NTI33555128, name: null, trace: [], up: null}, "IndexDefect");
}
function addChars_251658415(result_251658417, result_251658417_Idx, x_251658418, start_251658419, n_251658420) {
    var old_251658421 = (result_251658417[result_251658417_Idx]).length;
    (result_251658417[result_251658417_Idx].length = chckRange(addInt(old_251658421, n_251658420), 0, 2147483647));
    Label1: do {
      var iHEX60gensym4_251658435 = 0;
      var i_436207633 = 0;
      Label2: do {
          Label3: while (true) {
          if (!(i_436207633 < n_251658420)) break Label3;
            iHEX60gensym4_251658435 = i_436207633;
            result_251658417[result_251658417_Idx][chckIndx(addInt(old_251658421, iHEX60gensym4_251658435), 0, (result_251658417[result_251658417_Idx]).length - 1)] = x_251658418.charCodeAt(chckIndx(addInt(start_251658419, iHEX60gensym4_251658435), 0, (x_251658418).length - 1));
            i_436207633 = addInt(i_436207633, 1);
          }
      } while (false);
    } while (false);
}
function addChars_251658411(result_251658413, result_251658413_Idx, x_251658414) {
    addChars_251658415(result_251658413, result_251658413_Idx, x_251658414, 0, ((x_251658414) == null ? 0 : (x_251658414).length));
}
function addInt_251658436(result_251658437, result_251658437_Idx, x_251658438) {
    addChars_251658411(result_251658437, result_251658437_Idx, ((x_251658438) + ""));
}
function addInt_251658457(result_251658458, result_251658458_Idx, x_251658459) {
    addInt_251658436(result_251658458, result_251658458_Idx, x_251658459);
}
function HEX24_318767107(x_318767108) {
  var result_318767109 = [[]];
    addInt_251658457(result_318767109, 0, x_318767108);
  return result_318767109[0];
}
function auxWriteStackTrace_33556560(f_33556561) {
          var Temporary3;
  var result_33556562 = [[]];
    var it_33556570 = f_33556561;
    var i_33556571 = 0;
    var total_33556572 = 0;
    var tempFrames_33556573 = arrayConstr(64, {Field0: null, Field1: 0, Field2: null}, NTI33555920);
    Label1: do {
        Label2: while (true) {
          if (!!((it_33556570 == null))) Temporary3 = false; else {            Temporary3 = (i_33556571 <= 63);          }        if (!Temporary3) break Label2;
          tempFrames_33556573[i_33556571].Field0 = it_33556570.procname;
          tempFrames_33556573[i_33556571].Field1 = it_33556570.line;
          tempFrames_33556573[i_33556571].Field2 = it_33556570.filename;
          i_33556571 += 1;
          total_33556572 += 1;
          it_33556570 = it_33556570.prev;
        }
    } while (false);
    Label4: do {
        Label5: while (true) {
        if (!!((it_33556570 == null))) break Label5;
          total_33556572 += 1;
          it_33556570 = it_33556570.prev;
        }
    } while (false);
    result_33556562[0] = nimCopy(null, [], NTI33554439);
    if (!((total_33556572 == i_33556571))) {
    result_33556562[0].push.apply(result_33556562[0], makeNimstrLit("("));;
    result_33556562[0].push.apply(result_33556562[0], HEX24_318767107((total_33556572 - i_33556571)));;
    result_33556562[0].push.apply(result_33556562[0], makeNimstrLit(" calls omitted) ...\x0A"));;
    }
    Label6: do {
      var j_33556603 = 0;
      var colontmp__436207625 = 0;
      colontmp__436207625 = (i_33556571 - 1);
      var res_436207627 = colontmp__436207625;
      Label7: do {
          Label8: while (true) {
          if (!(0 <= res_436207627)) break Label8;
            j_33556603 = res_436207627;
            result_33556562[0].push.apply(result_33556562[0], cstrToNimstr(tempFrames_33556573[j_33556603].Field2));;
            if ((0 < tempFrames_33556573[j_33556603].Field1)) {
            result_33556562[0].push.apply(result_33556562[0], makeNimstrLit("("));;
            addInt_251658457(result_33556562, 0, tempFrames_33556573[j_33556603].Field1);
            if (false) {
            result_33556562[0].push.apply(result_33556562[0], makeNimstrLit(", "));;
            addInt_251658457(result_33556562, 0, 0);
            }
            result_33556562[0].push.apply(result_33556562[0], makeNimstrLit(")"));;
            }
            result_33556562[0].push.apply(result_33556562[0], makeNimstrLit(" at "));;
            add_33556420(result_33556562, 0, tempFrames_33556573[j_33556603].Field0);
            result_33556562[0].push.apply(result_33556562[0], makeNimstrLit("\x0A"));;
            res_436207627 -= 1;
          }
      } while (false);
    } while (false);
  return result_33556562[0];
}
function rawWriteStackTrace_33556632() {
  var result_33556633 = [];
    if (!((framePtr == null))) {
    result_33556633 = nimCopy(null, (makeNimstrLit("Traceback (most recent call last)\x0A") || []).concat(auxWriteStackTrace_33556560(framePtr) || []), NTI33554439);
    }
    else {
      result_33556633 = nimCopy(null, makeNimstrLit("No stack traceback available\x0A"), NTI33554439);
    }
  return result_33556633;
}
function newSeq_33556826(len_33556828) {
  var result_33556829 = [];
    result_33556829 = new Array(len_33556828); for (var i = 0 ; i < len_33556828 ; ++i) { result_33556829[i] = null; }
  return result_33556829;
}
function unhandledException(e_33556664) {
    var buf_33556665 = [[]];
    if (!(((e_33556664.message).length == 0))) {
    buf_33556665[0].push.apply(buf_33556665[0], makeNimstrLit("Error: unhandled exception: "));;
    buf_33556665[0].push.apply(buf_33556665[0], e_33556664.message);;
    }
    else {
    buf_33556665[0].push.apply(buf_33556665[0], makeNimstrLit("Error: unhandled exception"));;
    }
    buf_33556665[0].push.apply(buf_33556665[0], makeNimstrLit(" ["));;
    add_33556420(buf_33556665, 0, e_33556664.name);
    buf_33556665[0].push.apply(buf_33556665[0], makeNimstrLit("]\x0A"));;
    buf_33556665[0].push.apply(buf_33556665[0], rawWriteStackTrace_33556632());;
    var cbuf_33556666 = toJSStr(buf_33556665[0]);
    framePtr = null;
      if (typeof(Error) !== "undefined") {
    throw new Error(cbuf_33556666);
  }
  else {
    throw cbuf_33556666;
  }
}
function sysFatal_218103842(message_218103845) {
    raiseException({message: nimCopy(null, message_218103845, NTI33554439), m_type: NTI33555124, parent: null, name: null, trace: [], up: null}, "AssertionDefect");
}
function raiseAssert_218103840(msg_218103841) {
    sysFatal_218103842(msg_218103841);
}
function failedAssertImpl_218103864(msg_218103865) {
    raiseAssert_218103840(msg_218103865);
}
var F = {procname: "module temp", prev: framePtr, filename: "/home/runner/work/nimrun-action/nimrun-action/temp.nim", line: 0};
framePtr = F;
if (false) {
failedAssertImpl_218103864(makeNimstrLit("/home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug"));
}
framePtr = F.prev;
var F = {procname: "module temp", prev: framePtr, filename: "/home/runner/work/nimrun-action/nimrun-action/temp.nim", line: 0};
framePtr = F;
framePtr = F.prev;
var F = {procname: "module temp", prev: framePtr, filename: "/home/runner/work/nimrun-action/nimrun-action/temp.nim", line: 0};
framePtr = F;
framePtr = F.prev;
1.6.0 :+1:

Output


Stats

  • Created 2023-06-26T12:39:37Z
  • Started 2023-06-26T12:40:40
  • Finished 2023-06-26T12:40:41
  • Duration now
  • Filesize 19.70 Kb
  • Commands nim js -d:nodejs --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim

AST

nnkStmtList.newTree(
  nnkCommand.newTree(
    newIdentNode("doAssert"),
    nnkInfix.newTree(
      newIdentNode(">"),
      newIdentNode("NimMinor"),
      newLit(5)
    ),
    newLit("Simulate Bug")
  )
)

IR

var framePtr = null;
var excHandler = 0;
var lastJSError = null;
var NTI33555128 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33555130 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33555120 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33555122 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33554456 = {size: 0,kind: 31,base: null,node: null,finalizer: null};
var NTI33555919 = {size: 0, kind: 18, base: null, node: null, finalizer: null};
var NTI33555083 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33555165 = {size: 0, kind: 22, base: null, node: null, finalizer: null};
var NTI33554440 = {size: 0,kind: 29,base: null,node: null,finalizer: null};
var NTI33555164 = {size: 0, kind: 22, base: null, node: null, finalizer: null};
var NTI33555112 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33555113 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33555124 = {size: 0, kind: 17, base: null, node: null, finalizer: null};
var NTI33554439 = {size: 0,kind: 28,base: null,node: null,finalizer: null};
var NNI33555124 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555124.node = NNI33555124;
var NNI33555113 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555113.node = NNI33555113;
NTI33555164.base = NTI33555112;
NTI33555165.base = NTI33555112;
var NNI33555112 = {kind: 2, len: 5, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "parent", len: 0, typ: NTI33555164, name: "parent", sons: null}, 
{kind: 1, offset: "name", len: 0, typ: NTI33554440, name: "name", sons: null}, 
{kind: 1, offset: "message", len: 0, typ: NTI33554439, name: "msg", sons: null}, 
{kind: 1, offset: "trace", len: 0, typ: NTI33554439, name: "trace", sons: null}, 
{kind: 1, offset: "up", len: 0, typ: NTI33555165, name: "up", sons: null}]};
NTI33555112.node = NNI33555112;
var NNI33555083 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555083.node = NNI33555083;
NTI33555112.base = NTI33555083;
NTI33555113.base = NTI33555112;
NTI33555124.base = NTI33555113;
var NNI33555919 = {kind: 2, len: 3, offset: 0, typ: null, name: null, sons: [{kind: 1, offset: "Field0", len: 0, typ: NTI33554440, name: "Field0", sons: null}, 
{kind: 1, offset: "Field1", len: 0, typ: NTI33554456, name: "Field1", sons: null}, 
{kind: 1, offset: "Field2", len: 0, typ: NTI33554440, name: "Field2", sons: null}]};
NTI33555919.node = NNI33555919;
var NNI33555122 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555122.node = NNI33555122;
var NNI33555120 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555120.node = NNI33555120;
NTI33555120.base = NTI33555113;
NTI33555122.base = NTI33555120;
var NNI33555130 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555130.node = NNI33555130;
NTI33555130.base = NTI33555113;
var NNI33555128 = {kind: 2, len: 0, offset: 0, typ: null, name: null, sons: []};
NTI33555128.node = NNI33555128;
NTI33555128.base = NTI33555113;
function setConstr() {
        var result = {};
    for (var i = 0; i < arguments.length; ++i) {
      var x = arguments[i];
      if (typeof(x) == "object") {
        for (var j = x[0]; j <= x[1]; ++j) {
          result[j] = true;
        }
      } else {
        result[x] = true;
      }
    }
    return result;
}
var ConstSet1 = setConstr(17, 16, 4, 18, 27, 19, 23, 22, 21);
function nimCopy(dest_33557141, src_33557142, ti_33557143) {
  var result_33557152 = null;
    switch (ti_33557143.kind) {
    case 21:
    case 22:
    case 23:
    case 5:
      if (!(isFatPointer_33557132(ti_33557143))) {
      result_33557152 = src_33557142;
      }
      else {
        result_33557152 = [src_33557142[0], src_33557142[1]];
      }
      break;
    case 19:
            if (dest_33557141 === null || dest_33557141 === undefined) {
        dest_33557141 = {};
      }
      else {
        for (var key in dest_33557141) { delete dest_33557141[key]; }
      }
      for (var key in src_33557142) { dest_33557141[key] = src_33557142[key]; }
      result_33557152 = dest_33557141;
      break;
    case 18:
    case 17:
      if (!((ti_33557143.base == null))) {
      result_33557152 = nimCopy(dest_33557141, src_33557142, ti_33557143.base);
      }
      else {
      if ((ti_33557143.kind == 17)) {
      result_33557152 = (dest_33557141 === null || dest_33557141 === undefined) ? {m_type: ti_33557143} : dest_33557141;
      }
      else {
        result_33557152 = (dest_33557141 === null || dest_33557141 === undefined) ? {} : dest_33557141;
      }
      }
      nimCopyAux(result_33557152, src_33557142, ti_33557143.node);
      break;
    case 24:
    case 4:
    case 27:
    case 16:
            if (src_33557142 === null) {
        result_33557152 = null;
      }
      else {
        if (dest_33557141 === null || dest_33557141 === undefined || dest_33557141.length != src_33557142.length) {
          dest_33557141 = new Array(src_33557142.length);
        }
        result_33557152 = dest_33557141;
        for (var i = 0; i < src_33557142.length; ++i) {
          result_33557152[i] = nimCopy(result_33557152[i], src_33557142[i], ti_33557143.base);
        }
      }
      break;
    case 28:
            if (src_33557142 !== null) {
        result_33557152 = src_33557142.slice(0);
      }
      break;
    default: 
      result_33557152 = src_33557142;
      break;
    }
  return result_33557152;
}
function makeNimstrLit(c_33556802) {
      var result = [];
  for (var i = 0; i < c_33556802.length; ++i) {
    result[i] = c_33556802.charCodeAt(i);
  }
  return result;
}
function arrayConstr(len_33557180, value_33557181, typ_33557182) {
        var result = new Array(len_33557180);
    for (var i = 0; i < len_33557180; ++i) result[i] = nimCopy(null, value_33557181, typ_33557182);
    return result;
}
function mnewString(len_33556894) {
        return new Array(len_33556894);
}
function addInt(a_33556941, b_33556942) {
        var result = a_33556941 + b_33556942;
    checkOverflowInt(result);
    return result;
}
function chckRange(i_33557190, a_33557191, b_33557192) {
      var Temporary1;
  var result_33557193 = 0;
  BeforeRet: do {
      if (!(a_33557191 <= i_33557190)) Temporary1 = false; else {        Temporary1 = (i_33557190 <= b_33557192);      }    if (Temporary1) {
    result_33557193 = i_33557190;
    break BeforeRet;
    }
    else {
    raiseRangeError();
    }
  } while (false);
  return result_33557193;
}
function chckIndx(i_33557185, a_33557186, b_33557187) {
      var Temporary1;
  var result_33557188 = 0;
  BeforeRet: do {
      if (!(a_33557186 <= i_33557185)) Temporary1 = false; else {        Temporary1 = (i_33557185 <= b_33557187);      }    if (Temporary1) {
    result_33557188 = i_33557185;
    break BeforeRet;
    }
    else {
    raiseIndexError(i_33557185, a_33557186, b_33557187);
    }
  } while (false);
  return result_33557188;
}
function cstrToNimstr(c_33556805) {
      var ln = c_33556805.length;
  var result = new Array(ln);
  var r = 0;
  for (var i = 0; i < ln; ++i) {
    var ch = c_33556805.charCodeAt(i);
    if (ch < 128) {
      result[r] = ch;
    }
    else {
      if (ch < 2048) {
        result[r] = (ch >> 6) | 192;
      }
      else {
        if (ch < 55296 || ch >= 57344) {
          result[r] = (ch >> 12) | 224;
        }
        else {
            ++i;
            ch = 65536 + (((ch & 1023) << 10) | (c_33556805.charCodeAt(i) & 1023));
            result[r] = (ch >> 18) | 240;
            ++r;
            result[r] = ((ch >> 12) & 63) | 128;
        }
        ++r;
        result[r] = ((ch >> 6) & 63) | 128;
      }
      ++r;
      result[r] = (ch & 63) | 128;
    }
    ++r;
  }
  return result;
}
function toJSStr(s_33556808) {
                    var Temporary5;
            var Temporary7;
  var result_33556809 = null;
    var res_33556843 = newSeq_33556826((s_33556808).length);
    var i_33556844 = 0;
    var j_33556845 = 0;
    Label1: do {
        Label2: while (true) {
        if (!(i_33556844 < (s_33556808).length)) break Label2;
          var c_33556846 = s_33556808[i_33556844];
          if ((c_33556846 < 128)) {
          res_33556843[j_33556845] = String.fromCharCode(c_33556846);
          i_33556844 += 1;
          }
          else {
            var helper_33556858 = newSeq_33556826(0);
            Label3: do {
                Label4: while (true) {
                if (!true) break Label4;
                  var code_33556859 = c_33556846.toString(16);
                  if ((((code_33556859) == null ? 0 : (code_33556859).length) == 1)) {
                  helper_33556858.push("%0");;
                  }
                  else {
                  helper_33556858.push("%");;
                  }
                  helper_33556858.push(code_33556859);;
                  i_33556844 += 1;
                    if (((s_33556808).length <= i_33556844)) Temporary5 = true; else {                      Temporary5 = (s_33556808[i_33556844] < 128);                    }                  if (Temporary5) {
                  break Label3;
                  }
                  c_33556846 = s_33556808[i_33556844];
                }
            } while (false);
++excHandler;
            Temporary7 = framePtr;
            try {
            res_33556843[j_33556845] = decodeURIComponent(helper_33556858.join(""));
--excHandler;
} catch (EXCEPTION) {
 var prevJSError = lastJSError;
 lastJSError = EXCEPTION;
 --excHandler;
            framePtr = Temporary7;
            res_33556843[j_33556845] = helper_33556858.join("");
            lastJSError = prevJSError;
            } finally {
            framePtr = Temporary7;
            }
          }
          j_33556845 += 1;
        }
    } while (false);
    if (res_33556843.length < j_33556845) { for (var i = res_33556843.length ; i < j_33556845 ; ++i) res_33556843.push(null); }
               else { res_33556843.length = j_33556845; };
    result_33556809 = res_33556843.join("");
  return result_33556809;
}
function raiseException(e_33556668, ename_33556669) {
    e_33556668.name = ename_33556669;
    if ((excHandler == 0)) {
    unhandledException(e_33556668);
    }
    e_33556668.trace = nimCopy(null, rawWriteStackTrace_33556632(), NTI33554439);
    throw e_33556668;
}
function isFatPointer_33557132(ti_33557133) {
  var result_33557134 = false;
  BeforeRet: do {
    result_33557134 = !((ConstSet1[ti_33557133.base.kind] != undefined));
    break BeforeRet;
  } while (false);
  return result_33557134;
}
function nimCopyAux(dest_33557145, src_33557146, n_33557147) {
    switch (n_33557147.kind) {
    case 0:
      break;
    case 1:
            dest_33557145[n_33557147.offset] = nimCopy(dest_33557145[n_33557147.offset], src_33557146[n_33557147.offset], n_33557147.typ);
      break;
    case 2:
          for (var i = 0; i < n_33557147.sons.length; i++) {
      nimCopyAux(dest_33557145, src_33557146, n_33557147.sons[i]);
    }
      break;
    case 3:
            dest_33557145[n_33557147.offset] = nimCopy(dest_33557145[n_33557147.offset], src_33557146[n_33557147.offset], n_33557147.typ);
      for (var i = 0; i < n_33557147.sons.length; ++i) {
        nimCopyAux(dest_33557145, src_33557146, n_33557147.sons[i][1]);
      }
      break;
    }
}
function add_33556420(x_33556421, x_33556421_Idx, y_33556422) {
          if (x_33556421[x_33556421_Idx] === null) { x_33556421[x_33556421_Idx] = []; }
      var off = x_33556421[x_33556421_Idx].length;
      x_33556421[x_33556421_Idx].length += y_33556422.length;
      for (var i = 0; i < y_33556422.length; ++i) {
        x_33556421[x_33556421_Idx][off+i] = y_33556422.charCodeAt(i);
      }
}
function raiseOverflow() {
    raiseException({message: makeNimstrLit("over- or underflow"), parent: null, m_type: NTI33555122, name: null, trace: [], up: null}, "OverflowDefect");
}
function checkOverflowInt(a_33556939) {
        if (a_33556939 > 2147483647 || a_33556939 < -2147483648) raiseOverflow();
}
function raiseRangeError() {
    raiseException({message: makeNimstrLit("value out of range"), parent: null, m_type: NTI33555130, name: null, trace: [], up: null}, "RangeDefect");
}
function raiseIndexError(i_33556755, a_33556756, b_33556757) {
    var Temporary1;
    if ((b_33556757 < a_33556756)) {
    Temporary1 = makeNimstrLit("index out of bounds, the container is empty");
    }
    else {
    Temporary1 = (makeNimstrLit("index ") || []).concat(HEX24_318767107(i_33556755) || [],makeNimstrLit(" not in ") || [],HEX24_318767107(a_33556756) || [],makeNimstrLit(" .. ") || [],HEX24_318767107(b_33556757) || []);
    }
    raiseException({message: nimCopy(null, Temporary1, NTI33554439), parent: null, m_type: NTI33555128, name: null, trace: [], up: null}, "IndexDefect");
}
function addChars_251658415(result_251658417, result_251658417_Idx, x_251658418, start_251658419, n_251658420) {
    var old_251658421 = (result_251658417[result_251658417_Idx]).length;
    (result_251658417[result_251658417_Idx].length = chckRange(addInt(old_251658421, n_251658420), 0, 2147483647));
    Label1: do {
      var iHEX60gensym4_251658435 = 0;
      var i_436207633 = 0;
      Label2: do {
          Label3: while (true) {
          if (!(i_436207633 < n_251658420)) break Label3;
            iHEX60gensym4_251658435 = i_436207633;
            result_251658417[result_251658417_Idx][chckIndx(addInt(old_251658421, iHEX60gensym4_251658435), 0, (result_251658417[result_251658417_Idx]).length - 1)] = x_251658418.charCodeAt(chckIndx(addInt(start_251658419, iHEX60gensym4_251658435), 0, (x_251658418).length - 1));
            i_436207633 = addInt(i_436207633, 1);
          }
      } while (false);
    } while (false);
}
function addChars_251658411(result_251658413, result_251658413_Idx, x_251658414) {
    addChars_251658415(result_251658413, result_251658413_Idx, x_251658414, 0, ((x_251658414) == null ? 0 : (x_251658414).length));
}
function addInt_251658436(result_251658437, result_251658437_Idx, x_251658438) {
    addChars_251658411(result_251658437, result_251658437_Idx, ((x_251658438) + ""));
}
function addInt_251658457(result_251658458, result_251658458_Idx, x_251658459) {
    addInt_251658436(result_251658458, result_251658458_Idx, x_251658459);
}
function HEX24_318767107(x_318767108) {
  var result_318767109 = [[]];
    addInt_251658457(result_318767109, 0, x_318767108);
  return result_318767109[0];
}
function auxWriteStackTrace_33556560(f_33556561) {
          var Temporary3;
  var result_33556562 = [[]];
    var it_33556570 = f_33556561;
    var i_33556571 = 0;
    var total_33556572 = 0;
    var tempFrames_33556573 = arrayConstr(64, {Field0: null, Field1: 0, Field2: null}, NTI33555919);
    Label1: do {
        Label2: while (true) {
          if (!!((it_33556570 == null))) Temporary3 = false; else {            Temporary3 = (i_33556571 <= 63);          }        if (!Temporary3) break Label2;
          tempFrames_33556573[i_33556571].Field0 = it_33556570.procname;
          tempFrames_33556573[i_33556571].Field1 = it_33556570.line;
          tempFrames_33556573[i_33556571].Field2 = it_33556570.filename;
          i_33556571 += 1;
          total_33556572 += 1;
          it_33556570 = it_33556570.prev;
        }
    } while (false);
    Label4: do {
        Label5: while (true) {
        if (!!((it_33556570 == null))) break Label5;
          total_33556572 += 1;
          it_33556570 = it_33556570.prev;
        }
    } while (false);
    result_33556562[0] = nimCopy(null, [], NTI33554439);
    if (!((total_33556572 == i_33556571))) {
    result_33556562[0].push.apply(result_33556562[0], makeNimstrLit("("));;
    result_33556562[0].push.apply(result_33556562[0], HEX24_318767107((total_33556572 - i_33556571)));;
    result_33556562[0].push.apply(result_33556562[0], makeNimstrLit(" calls omitted) ...\x0A"));;
    }
    Label6: do {
      var j_33556603 = 0;
      var colontmp__436207625 = 0;
      colontmp__436207625 = (i_33556571 - 1);
      var res_436207627 = colontmp__436207625;
      Label7: do {
          Label8: while (true) {
          if (!(0 <= res_436207627)) break Label8;
            j_33556603 = res_436207627;
            result_33556562[0].push.apply(result_33556562[0], cstrToNimstr(tempFrames_33556573[j_33556603].Field2));;
            if ((0 < tempFrames_33556573[j_33556603].Field1)) {
            result_33556562[0].push.apply(result_33556562[0], makeNimstrLit("("));;
            addInt_251658457(result_33556562, 0, tempFrames_33556573[j_33556603].Field1);
            if (false) {
            result_33556562[0].push.apply(result_33556562[0], makeNimstrLit(", "));;
            addInt_251658457(result_33556562, 0, 0);
            }
            result_33556562[0].push.apply(result_33556562[0], makeNimstrLit(")"));;
            }
            result_33556562[0].push.apply(result_33556562[0], makeNimstrLit(" at "));;
            add_33556420(result_33556562, 0, tempFrames_33556573[j_33556603].Field0);
            result_33556562[0].push.apply(result_33556562[0], makeNimstrLit("\x0A"));;
            res_436207627 -= 1;
          }
      } while (false);
    } while (false);
  return result_33556562[0];
}
function rawWriteStackTrace_33556632() {
  var result_33556633 = [];
    if (!((framePtr == null))) {
    result_33556633 = nimCopy(null, (makeNimstrLit("Traceback (most recent call last)\x0A") || []).concat(auxWriteStackTrace_33556560(framePtr) || []), NTI33554439);
    }
    else {
      result_33556633 = nimCopy(null, makeNimstrLit("No stack traceback available\x0A"), NTI33554439);
    }
  return result_33556633;
}
function newSeq_33556826(len_33556828) {
  var result_33556829 = [];
    result_33556829 = new Array(len_33556828); for (var i = 0 ; i < len_33556828 ; ++i) { result_33556829[i] = null; }
  return result_33556829;
}
function unhandledException(e_33556664) {
    var buf_33556665 = [[]];
    if (!(((e_33556664.message).length == 0))) {
    buf_33556665[0].push.apply(buf_33556665[0], makeNimstrLit("Error: unhandled exception: "));;
    buf_33556665[0].push.apply(buf_33556665[0], e_33556664.message);;
    }
    else {
    buf_33556665[0].push.apply(buf_33556665[0], makeNimstrLit("Error: unhandled exception"));;
    }
    buf_33556665[0].push.apply(buf_33556665[0], makeNimstrLit(" ["));;
    add_33556420(buf_33556665, 0, e_33556664.name);
    buf_33556665[0].push.apply(buf_33556665[0], makeNimstrLit("]\x0A"));;
    buf_33556665[0].push.apply(buf_33556665[0], rawWriteStackTrace_33556632());;
    var cbuf_33556666 = toJSStr(buf_33556665[0]);
    framePtr = null;
      if (typeof(Error) !== "undefined") {
    throw new Error(cbuf_33556666);
  }
  else {
    throw cbuf_33556666;
  }
}
function sysFatal_218103842(message_218103845) {
    raiseException({message: nimCopy(null, message_218103845, NTI33554439), m_type: NTI33555124, parent: null, name: null, trace: [], up: null}, "AssertionDefect");
}
function raiseAssert_218103840(msg_218103841) {
    sysFatal_218103842(msg_218103841);
}
function failedAssertImpl_218103864(msg_218103865) {
    raiseAssert_218103840(msg_218103865);
}
var F = {procname: "module temp", prev: framePtr, filename: "/home/runner/work/nimrun-action/nimrun-action/temp.nim", line: 0};
framePtr = F;
if (false) {
failedAssertImpl_218103864(makeNimstrLit("/home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug"));
}
framePtr = F.prev;
var F = {procname: "module temp", prev: framePtr, filename: "/home/runner/work/nimrun-action/nimrun-action/temp.nim", line: 0};
framePtr = F;
framePtr = F.prev;
var F = {procname: "module temp", prev: framePtr, filename: "/home/runner/work/nimrun-action/nimrun-action/temp.nim", line: 0};
framePtr = F;
framePtr = F.prev;
1.4.8 :-1:

Output

Error: Command failed: nim js -d:nodejs  --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
/home/runner/work/nimrun-action/nimrun-action/temp:416
    throw new Error(cbuf_1420201);
    ^

Error: Error: unhandled exception: /home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug [AssertionDefect]
Traceback (most recent call last)
/home/runner/work/nimrun-action/nimrun-action/temp.nim at module temp

    at unhandledException (/home/runner/work/nimrun-action/nimrun-action/temp:416:11)
    at raiseException (/home/runner/work/nimrun-action/nimrun-action/temp:257:5)
    at sysFatal_1305418 (/home/runner/work/nimrun-action/nimrun-action/temp:426:5)
    at raiseAssert_1305414 (/home/runner/work/nimrun-action/nimrun-action/temp:431:5)
    at failedAssertImpl_1305480 (/home/runner/work/nimrun-action/nimrun-action/temp:436:5)
    at Object.<anonymous> (/home/runner/work/nimrun-action/nimrun-action/temp:443:1)
    at Module._compile (node:internal/modules/cjs/loader:1254:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
    at Module._load (node:internal/modules/cjs/loader:958:12)

Node.js v18.16.0
Error: execution of an external program failed: '/usr/local/bin/node /home/runner/work/nimrun-action/nimrun-action/temp '

1.4.4 :-1:

Output

Error: Command failed: nim js -d:nodejs  --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
/home/runner/work/nimrun-action/nimrun-action/temp:416
    throw new Error(cbuf_1420201);
    ^

Error: Error: unhandled exception: /home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug [AssertionDefect]
Traceback (most recent call last)
/home/runner/work/nimrun-action/nimrun-action/temp.nim at module temp

    at unhandledException (/home/runner/work/nimrun-action/nimrun-action/temp:416:11)
    at raiseException (/home/runner/work/nimrun-action/nimrun-action/temp:257:5)
    at sysFatal_1305418 (/home/runner/work/nimrun-action/nimrun-action/temp:426:5)
    at raiseAssert_1305414 (/home/runner/work/nimrun-action/nimrun-action/temp:431:5)
    at failedAssertImpl_1305480 (/home/runner/work/nimrun-action/nimrun-action/temp:436:5)
    at Object.<anonymous> (/home/runner/work/nimrun-action/nimrun-action/temp:443:1)
    at Module._compile (node:internal/modules/cjs/loader:1254:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
    at Module._load (node:internal/modules/cjs/loader:958:12)

Node.js v18.16.0
Error: execution of an external program failed: '/usr/local/bin/node /home/runner/work/nimrun-action/nimrun-action/temp '

1.4.0 :-1:

Output

Error: Command failed: nim js -d:nodejs  --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
/home/runner/work/nimrun-action/nimrun-action/temp:428
    throw new Error(cbuf_1420201);
    ^

Error: Error: unhandled exception: /home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug [AssertionDefect]
Traceback (most recent call last)
/home/runner/work/nimrun-action/nimrun-action/temp.nim at module temp

    at unhandledException (/home/runner/work/nimrun-action/nimrun-action/temp:428:11)
    at raiseException (/home/runner/work/nimrun-action/nimrun-action/temp:265:5)
    at sysFatal_1305418 (/home/runner/work/nimrun-action/nimrun-action/temp:438:5)
    at raiseAssert_1305414 (/home/runner/work/nimrun-action/nimrun-action/temp:443:5)
    at failedAssertImpl_1305480 (/home/runner/work/nimrun-action/nimrun-action/temp:448:5)
    at Object.<anonymous> (/home/runner/work/nimrun-action/nimrun-action/temp:455:1)
    at Module._compile (node:internal/modules/cjs/loader:1254:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
    at Module._load (node:internal/modules/cjs/loader:958:12)

Node.js v18.16.0
Error: execution of an external program failed: '/usr/local/bin/node /home/runner/work/nimrun-action/nimrun-action/temp '

1.2.18 :-1:

Output

Error: Command failed: nim js -d:nodejs  --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
/home/runner/work/nimrun-action/nimrun-action/temp:421
    throw new Error(cbuf_190201);
    ^

Error: Error: unhandled exception: /home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug [AssertionError]
No stack traceback available

    at unhandledException (/home/runner/work/nimrun-action/nimrun-action/temp:421:11)
    at raiseException (/home/runner/work/nimrun-action/nimrun-action/temp:266:5)
    at sys_fatal_102618 (/home/runner/work/nimrun-action/nimrun-action/temp:431:5)
    at raise_assert_102614 (/home/runner/work/nimrun-action/nimrun-action/temp:436:5)
    at failed_assert_impl_102680 (/home/runner/work/nimrun-action/nimrun-action/temp:441:5)
    at Object.<anonymous> (/home/runner/work/nimrun-action/nimrun-action/temp:446:1)
    at Module._compile (node:internal/modules/cjs/loader:1254:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
    at Module._load (node:internal/modules/cjs/loader:958:12)

Node.js v18.16.0
Error: execution of an external program failed: '/usr/local/bin/node /home/runner/work/nimrun-action/nimrun-action/temp '

1.2.10 :-1:

Output

Error: Command failed: nim js -d:nodejs  --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
/home/runner/work/nimrun-action/nimrun-action/temp:421
    throw new Error(cbuf_190201);
    ^

Error: Error: unhandled exception: /home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug [AssertionError]
No stack traceback available

    at unhandledException (/home/runner/work/nimrun-action/nimrun-action/temp:421:11)
    at raiseException (/home/runner/work/nimrun-action/nimrun-action/temp:266:5)
    at sys_fatal_102618 (/home/runner/work/nimrun-action/nimrun-action/temp:431:5)
    at raise_assert_102614 (/home/runner/work/nimrun-action/nimrun-action/temp:436:5)
    at failed_assert_impl_102680 (/home/runner/work/nimrun-action/nimrun-action/temp:441:5)
    at Object.<anonymous> (/home/runner/work/nimrun-action/nimrun-action/temp:446:1)
    at Module._compile (node:internal/modules/cjs/loader:1254:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
    at Module._load (node:internal/modules/cjs/loader:958:12)

Node.js v18.16.0
Error: execution of an external program failed: '/usr/local/bin/node /home/runner/work/nimrun-action/nimrun-action/temp '

1.2.0 :-1:

Output

Error: Command failed: nim js -d:nodejs  --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
/home/runner/work/nimrun-action/nimrun-action/temp:421
    throw new Error(cbuf_190201);
    ^

Error: Error: unhandled exception: /home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug [AssertionError]
No stack traceback available

    at unhandledException (/home/runner/work/nimrun-action/nimrun-action/temp:421:11)
    at raiseException (/home/runner/work/nimrun-action/nimrun-action/temp:266:5)
    at sys_fatal_102618 (/home/runner/work/nimrun-action/nimrun-action/temp:431:5)
    at raise_assert_102614 (/home/runner/work/nimrun-action/nimrun-action/temp:436:5)
    at failed_assert_impl_102680 (/home/runner/work/nimrun-action/nimrun-action/temp:441:5)
    at Object.<anonymous> (/home/runner/work/nimrun-action/nimrun-action/temp:446:1)
    at Module._compile (node:internal/modules/cjs/loader:1254:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
    at Module._load (node:internal/modules/cjs/loader:958:12)

Node.js v18.16.0
Error: execution of an external program failed: '/usr/local/bin/node /home/runner/work/nimrun-action/nimrun-action/temp '

1.0.10 :-1:

Output

Error: Command failed: nim js -d:nodejs  --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
/home/runner/work/nimrun-action/nimrun-action/temp:438
    throw new Error(cbuf_21601);
    ^

Error: Error: unhandled exception: /home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug [AssertionError]
No stack traceback available

    at unhandledException (/home/runner/work/nimrun-action/nimrun-action/temp:438:11)
    at raiseException (/home/runner/work/nimrun-action/nimrun-action/temp:277:3)
    at sys_fatal_15062 (/home/runner/work/nimrun-action/nimrun-action/temp:452:3)
    at raise_assert_15058 (/home/runner/work/nimrun-action/nimrun-action/temp:458:3)
    at failed_assert_impl_15266 (/home/runner/work/nimrun-action/nimrun-action/temp:464:3)
    at Object.<anonymous> (/home/runner/work/nimrun-action/nimrun-action/temp:469:1)
    at Module._compile (node:internal/modules/cjs/loader:1254:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
    at Module._load (node:internal/modules/cjs/loader:958:12)

Node.js v18.16.0
Error: execution of an external program failed: '/usr/local/bin/node /home/runner/work/nimrun-action/nimrun-action/temp '

1.0.4 :-1:

Output

Error: Command failed: nim js -d:nodejs  --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
/home/runner/work/nimrun-action/nimrun-action/temp:438
    throw new Error(cbuf_21601);
    ^

Error: Error: unhandled exception: /home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug [AssertionError]
No stack traceback available

    at unhandledException (/home/runner/work/nimrun-action/nimrun-action/temp:438:11)
    at raiseException (/home/runner/work/nimrun-action/nimrun-action/temp:277:3)
    at sys_fatal_15062 (/home/runner/work/nimrun-action/nimrun-action/temp:452:3)
    at raise_assert_15058 (/home/runner/work/nimrun-action/nimrun-action/temp:458:3)
    at failed_assert_impl_15266 (/home/runner/work/nimrun-action/nimrun-action/temp:464:3)
    at Object.<anonymous> (/home/runner/work/nimrun-action/nimrun-action/temp:469:1)
    at Module._compile (node:internal/modules/cjs/loader:1254:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
    at Module._load (node:internal/modules/cjs/loader:958:12)

Node.js v18.16.0
Error: execution of an external program failed: '/usr/local/bin/node /home/runner/work/nimrun-action/nimrun-action/temp '

1.0.0 :-1:

Output

Error: Command failed: nim js -d:nodejs  --run -d:strip -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --threads:off --verbosity:0 --hints:off --warnings:off --lineTrace:off --nimcache:/home/runner/work/nimrun-action/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim
/home/runner/work/nimrun-action/nimrun-action/temp:439
    throw new Error(cbuf_21601);
    ^

Error: Error: unhandled exception: /home/runner/work/nimrun-action/nimrun-action/temp.nim(1, 10) `NimMinor > 5` Simulate Bug [AssertionError]
No stack traceback available

    at unhandledException (/home/runner/work/nimrun-action/nimrun-action/temp:439:11)
    at raiseException (/home/runner/work/nimrun-action/nimrun-action/temp:277:3)
    at sys_fatal_15062 (/home/runner/work/nimrun-action/nimrun-action/temp:453:3)
    at raise_assert_15058 (/home/runner/work/nimrun-action/nimrun-action/temp:459:3)
    at failed_assert_impl_15266 (/home/runner/work/nimrun-action/nimrun-action/temp:465:3)
    at Object.<anonymous> (/home/runner/work/nimrun-action/nimrun-action/temp:470:1)
    at Module._compile (node:internal/modules/cjs/loader:1254:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
    at Module._load (node:internal/modules/cjs/loader:958:12)

Node.js v18.16.0
Error: execution of an external program failed: '/usr/local/bin/node /home/runner/work/nimrun-action/nimrun-action/temp '

@juancarlospaco
Copy link
Owner Author

!nim cpp

import random, fuzzings
randomize()
type O = enum A, B
echo O.fuzzing
echo int.fuzzing
echo int64.fuzzing
echo int32.fuzzing
echo int16.fuzzing
echo int8.fuzzing
echo uint64.fuzzing
echo uint32.fuzzing
echo uint16.fuzzing
echo uint8.fuzzing
echo byte.fuzzing
echo char.fuzzing
echo repr(BackwardsIndex.fuzzing)
echo bool.fuzzing
echo float.fuzzing
echo float64.fuzzing
echo float32.fuzzing
echo Positive.fuzzing
echo Natural.fuzzing
echo string.fuzzing
echo cstring.fuzzing

@github-actions
Copy link

@juancarlospaco (owner)

devel 👍 $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6
�
7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
h��ހY�
h��ހY�

Stats

  • Started 2023-08-10T18:12:03
  • Finished 2023-08-10T18:12:04
  • Duration 1 minutes
stable 👍 $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6
�
7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
h��ހY�
h��ހY�

Stats

  • Started 2023-08-10T18:12:04
  • Finished 2023-08-10T18:12:06
  • Duration 1 minutes
2.0.0 👍 $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6
�
7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
h��ހY�
h��ހY�

Stats

  • Started 2023-08-10T18:12:06
  • Finished 2023-08-10T18:12:07
  • Duration 1 minutes
1.6.0 👍 $\color{green}\textbf{\large OK}$

Output

A
7586808324216765190
1743436550
1743436550
15110
6
7586808324216765190
1743436550
47878
6
6
�
7586808324216765190
false
7.393582946379575e+307
7.393582946379575e+307
1.399519018743475e+38
7586808324216765190
7586808324216765190
h��ހY�
h��ހY�

Stats

  • Started 2023-08-10T18:12:10
  • Finished 2023-08-10T18:12:11
  • Duration 1 minutes
1.4.0 👍 $\color{green}\textbf{\large OK}$

Output

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

Stats

  • Started 2023-08-10T18:12:14
  • Finished 2023-08-10T18:12:15
  • Duration 1 minutes
1.2.0 👍 $\color{green}\textbf{\large OK}$

Output

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

Stats

  • Started 2023-08-10T18:12:31
  • Finished 2023-08-10T18:12:32
  • Duration
1.0.0 👍 $\color{green}\textbf{\large OK}$

Output

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

Stats

  • Started 2023-08-10T18:12:45
  • Finished 2023-08-10T18:12:46
  • Duration
0.20.2 👍 $\color{green}\textbf{\large OK}$

Output

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

Stats

  • Started 2023-08-10T18:12:59
  • Finished 2023-08-10T18:13:00
  • Duration 1 minutes
Stats
  • GCC 11.4.0
  • LibC 2.35
  • Valgrind 3.18.1
  • NodeJS 17.0
  • Linux 5.15.0
  • Created 2023-08-10T18:11:23Z
  • Comments 20
  • Commands nim cpp --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/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim

🤖 Bug found in 1 minutes bisecting 8 commits at 6 commits per second.

@juancarlospaco
Copy link
Owner Author

!nim c

import nimpy
echo "OK"
nimble install -y nimpy

@github-actions
Copy link

@juancarlospaco (owner)

devel 👍 $\color{green}\textbf{\large OK}$

Output

OK

Stats

  • Started 2023-08-29T13:15:58
  • Finished 2023-08-29T13:16:01
  • Duration 3 minutes
stable 👍 $\color{green}\textbf{\large OK}$

Output

OK

Stats

  • Started 2023-08-29T13:16:03
  • Finished 2023-08-29T13:16:04
  • Duration 1 minutes
2.0.0 👍 $\color{green}\textbf{\large OK}$

Output

OK

Stats

  • Started 2023-08-29T13:16:05
  • Finished 2023-08-29T13:16:06
  • Duration 1 minutes
1.6.0 👍 $\color{green}\textbf{\large OK}$

Output

OK

Stats

  • Started 2023-08-29T13:16:11
  • Finished 2023-08-29T13:16:13
  • Duration 1 minutes
1.4.0 👍 $\color{green}\textbf{\large OK}$

Output

OK

Stats

  • Started 2023-08-29T13:16:15
  • Finished 2023-08-29T13:16:16
  • Duration 1 minutes
1.2.0 👍 $\color{green}\textbf{\large OK}$

Output

OK

Stats

  • Started 2023-08-29T13:16:36
  • Finished 2023-08-29T13:16:38
  • Duration 1 minutes
1.0.0 👍 $\color{green}\textbf{\large OK}$

Output

OK

Stats

  • Started 2023-08-29T13:16:47
  • Finished 2023-08-29T13:16:48
  • Duration 1 minutes
0.20.2 👍 $\color{green}\textbf{\large OK}$

Output

OK

Stats

  • Started 2023-08-29T13:16:57
  • Finished 2023-08-29T13:16:58
  • Duration
Stats
  • GCC 11.4.0
  • LibC 2.35
  • Valgrind 3.18.1
  • NodeJS 17.1
  • Linux 5.15.0
  • Created 2023-08-29T13:15:12Z
  • Comments 22
  • 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/nimrun-action --out:/home/runner/work/nimrun-action/nimrun-action/temp /home/runner/work/nimrun-action/nimrun-action/temp.nim

🤖 Bug found in 5 minutes bisecting 8 commits at 1 commits per second.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants