Closed Rellikeht closed 1 year ago
!nim c --incremental:on
import strformat
type E = enum a
echo fmt"{a}"
@juancarlospaco (contributor)devel :-1: FAIL
Output
Error: Command failed: nim c --incremental:on --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/Nim/Nim --out:/home/runner/work/Nim/Nim/temp /home/runner/work/Nim/Nim/temp.nim
/home/runner/.choosenim/toolchains/nim-#devel/lib/system/fatal.nim(52, 36) Error: internal error: '=destroy' operator not found for type string
2023-07-05T20:40:18Z
2023-07-05T20:40:52
2023-07-05T20:40:53
1 minute
nim c --incremental:on --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/Nim/Nim --out:/home/runner/work/Nim/Nim/temp /home/runner/work/Nim/Nim/temp.nim
Error: Command failed: nim c --incremental:on --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/Nim/Nim --out:/home/runner/work/Nim/Nim/temp /home/runner/work/Nim/Nim/temp.nim
/home/runner/.choosenim/toolchains/nim-1.6.14/lib/core/macros.nim(771, 22) Error: 'newNimNode' can only be used in compile-time context
2023-07-05T20:40:18Z
2023-07-05T20:40:54
2023-07-05T20:40:56
2 minutes
nim c --incremental:on --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/Nim/Nim --out:/home/runner/work/Nim/Nim/temp /home/runner/work/Nim/Nim/temp.nim
Error: Command failed: nim c --incremental:on --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/Nim/Nim --out:/home/runner/work/Nim/Nim/temp /home/runner/work/Nim/Nim/temp.nim
/home/runner/.choosenim/toolchains/nim-1.6.0/lib/core/macros.nim(755, 22) Error: 'newNimNode' can only be used in compile-time context
2023-07-05T20:40:18Z
2023-07-05T20:40:59
2023-07-05T20:41:00
2 minutes
nim c --incremental:on --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/Nim/Nim --out:/home/runner/work/Nim/Nim/temp /home/runner/work/Nim/Nim/temp.nim
Error: Command failed: nim c --incremental:on --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/Nim/Nim --out:/home/runner/work/Nim/Nim/temp /home/runner/work/Nim/Nim/temp.nim
command line(1, 2) Error: the compiler was not built with incremental compilation features; bootstrap with -d:nimIncremental to enable
2023-07-05T20:40:18Z
2023-07-05T20:41:04
2023-07-05T20:41:04
now
nim c --incremental:on --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/Nim/Nim --out:/home/runner/work/Nim/Nim/temp /home/runner/work/Nim/Nim/temp.nim
Error: Command failed: nim c --incremental:on --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/Nim/Nim --out:/home/runner/work/Nim/Nim/temp /home/runner/work/Nim/Nim/temp.nim
command line(1, 2) Error: the compiler was not built with incremental compilation features; bootstrap with -d:nimIncremental to enable
2023-07-05T20:40:18Z
2023-07-05T20:41:19
2023-07-05T20:41:19
now
nim c --incremental:on --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/Nim/Nim --out:/home/runner/work/Nim/Nim/temp /home/runner/work/Nim/Nim/temp.nim
Error: Command failed: nim c --incremental:on --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/Nim/Nim --out:/home/runner/work/Nim/Nim/temp /home/runner/work/Nim/Nim/temp.nim
command line(1, 2) Error: the compiler was not built with incremental compilation features; bootstrap with -d:nimIncremental to enable
2023-07-05T20:40:18Z
2023-07-05T20:41:29
2023-07-05T20:41:29
now
nim c --incremental:on --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/Nim/Nim --out:/home/runner/work/Nim/Nim/temp /home/runner/work/Nim/Nim/temp.nim
40 minutes
bisecting 6
commits at 0
commits per second. Development of IC is on hold until 2.0 has been released. And we know it doesn't work, thanks.
Description
This is minimal example of code that generates compile error when using --incremental:on
Nim Version
Nim Compiler Version 1.9.5 [Linux: amd64] Compiled at 2023-07-05 Copyright (c) 2006-2023 by Andreas Rumpf
git hash: 86ff37fab8656f7acd08fc9c3fa237f9e022dbf4 active boot switches: -d:release
Current Output
Expected Output
Possible Solution
No response
Additional Information
It does that too on stable versions (1.6.x)