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

nim/tests/dll case compile failed. #24212

Open
raojm opened this issue Oct 1, 2024 · 1 comment
Open

nim/tests/dll case compile failed. #24212

raojm opened this issue Oct 1, 2024 · 1 comment

Comments

@raojm
Copy link

raojm commented Oct 1, 2024

Description

nim/tests/dll case compile failed

Nim Version

2.0.8

Current Output

PS D:\source\Nim\tests\dll> .\test_nimhcr_integration.bat

D:\source\Nim\tests\dll>set NIM=nim

D:\source\Nim\tests\dll>set NIM_FLAGS=-d:debug

D:\source\Nim\tests\dll>nim c --outdir:"." -d:debug ../../lib/nimrtl.nim
Hint: used config file 'D:\Programs\nim-2.0.8\config\nim.cfg' [Conf]
Hint: used config file 'D:\Programs\nim-2.0.8\config\config.nims' [Conf]
Hint: used config file 'D:\source\Nim\lib\nimrtl.nim.cfg' [Conf]
............
D:\Programs\nim-2.0.8\lib\system\rawquits.nim(1, 14) Hint: duplicate import of 'ctypes'; previous import here: D:\Programs\nim-2.0.8\lib\system.nim(1122, 14) [DuplicateModuleImport]
......
D:\Programs\nim-2.0.8\lib\system\ansi_c.nim(54, 5) Hint: 'SIGTERM' is declared but not used [XDeclaredButNotUsed]
.................
D:\Programs\nim-2.0.8\lib\system\fatal.nim(13, 3) Hint: 'gotoBasedExceptions' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\fatal.nim(55, 8) Hint: 'sysFatal' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\rawquits.nim(26, 8) Hint: 'rawQuit' is declared but not used [XDeclaredButNotUsed]
...
D:\Programs\nim-2.0.8\lib\system\coro_detection.nim(3, 10) Hint: 'coroutinesSupportedPlatform' is declared but not used [XDeclaredButNotUsed]
....
D:\Programs\nim-2.0.8\lib\std\private\schubfach.nim(42, 6) Hint: 'constructSingle' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\std\private\schubfach.nim(54, 6) Hint: 'isFinite' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\std\private\schubfach.nim(57, 6) Hint: 'isInf' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\std\private\schubfach.nim(61, 6) Hint: 'isNaN' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\std\private\schubfach.nim(65, 6) Hint: 'isZero' is declared but not used [XDeclaredButNotUsed]
...............
D:\Programs\nim-2.0.8\lib\system\alloc.nim(14, 19) Hint: duplicate import of 'syslocks'; previous import here: D:\Programs\nim-2.0.8\lib\system.nim(1616, 21) [DuplicateModuleImport]
D:\Programs\nim-2.0.8\lib\system\alloc.nim(15, 11) Hint: duplicate import of 'sysatomics'; previous import here: D:\Programs\nim-2.0.8\lib\system.nim(1428, 15) [DuplicateModuleImport]
....
D:\Programs\nim-2.0.8\lib\system\channels_builtin.nim(142, 19) Hint: duplicate import of 'syslocks'; previous import here: D:\Programs\nim-2.0.8\lib\system\alloc.nim(14, 19) [DuplicateModuleImport]
D:\Programs\nim-2.0.8\lib\system.nim(2264, 1) Hint: duplicate import of 'digitsutils'; previous import here: D:\Programs\nim-2.0.8\lib\system\strmantle.nim(12, 19) [DuplicateModuleImport]
.......
D:\Programs\nim-2.0.8\lib\std\syncio.nim(704, 9) Hint: 'f2' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\std\syncio.nim(104, 6) Hint: 'c_feof' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\std\syncio.nim(581, 6) Hint: 'readAllFile' is declared but not used [XDeclaredButNotUsed]
.
D:\Programs\nim-2.0.8\lib\system.nim(1064, 3) Hint: 'seqShallowFlag' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system.nim(126, 7) Hint: 'ThisIsSystem' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system.nim(2165, 11) Hint: 'GenericSeqSize' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system.nim(444, 7) Hint: 'NoFakeVars' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\alloc.nim(1077, 6) Hint: 'realloc0' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\alloc.nim(1099, 6) Hint: 'getFreeMem' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\alloc.nim(1100, 6) Hint: 'getTotalMem' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\alloc.nim(1101, 6) Hint: 'getOccupiedMem' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\alloc.nim(422, 10) Hint: 'allObjects' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\alloc.nim(903, 6) Hint: 'rawAlloc0' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\basic_types.nim(34, 3) Hint: 'nil' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\bitmasks.nim(30, 3) Hint: 'UnitsPerPage' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\channels_builtin.nim(156, 3) Hint: 'LoadStoreMode' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\dyncalls.nim(18, 3) Hint: 'NilLibHandle' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\excpt.nim(30, 8) Hint: 'writeToStdErr' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\excpt.nim(41, 6) Hint: 'writeToStdErr' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\excpt.nim(673, 7) Hint: 'SIG_IGN' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\excpt.nim(69, 3) Hint: 'GcFrame' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\memalloc.nim(389, 8) Hint: 'alignedRealloc0' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\mmdisp.nim(17, 3) Hint: 'debugGC' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\mmdisp.nim(18, 3) Hint: 'logGC' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\mmdisp.nim(19, 3) Hint: 'traceGC' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\mmdisp.nim(20, 3) Hint: 'alwaysCycleGC' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\mmdisp.nim(21, 3) Hint: 'alwaysGC' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\mmdisp.nim(25, 3) Hint: 'trackAllocationSource' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\mmdisp.nim(27, 3) Hint: 'cycleGC' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\mmdisp.nim(28, 3) Hint: 'reallyDealloc' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\mmdisp.nim(38, 3) Hint: 'PByte' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\mmdisp.nim(39, 3) Hint: 'PString' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\orc.nim(23, 3) Hint: 'maybeCycle' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\orc.nim(24, 3) Hint: 'jumpStackFlag' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\orc.nim(31, 3) Hint: 'DisposeProc' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\osalloc.nim(159, 5) Hint: 'MEM_TOP_DOWN' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\osalloc.nim(162, 5) Hint: 'MEM_DECOMMIT' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\osalloc.nim(27, 7) Hint: 'doNotUnmap' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\threadlocalstorage.nim(19, 8) Hint: 'threadVarGetValue' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\threadlocalstorage.nim(7, 8) Hint: 'threadVarAlloc' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system.nim(1741, 14) Warning: imported and not used: 'coro_detection' [UnusedImport]
.........
D:\Programs\nim-2.0.8\lib\pure\math.nim(82, 5) Hint: 'div_t' is declared but not used [XDeclaredButNotUsed]
..................
D:\Programs\nim-2.0.8\lib\pure\pathnorm.nim(42, 10) Hint: 'dirs' is declared but not used [XDeclaredButNotUsed]
.........
D:\Programs\nim-2.0.8\lib\pure\times.nim(661, 20) Warning: nanoseconds, microseconds, milliseconds, seconds, minutes, hours, days, weeks all have default value '0', this may be unintentional, either use ';' (semicolon) or explicitly write each default value [ImplicitDefaultValue]
D:\Programs\nim-2.0.8\lib\pure\times.nim(1926, 31) Warning: suspicious code: enum to enum conversion [EnumConv]
D:\Programs\nim-2.0.8\lib\pure\times.nim(1934, 31) Warning: suspicious code: enum to enum conversion [EnumConv]
D:\Programs\nim-2.0.8\lib\pure\times.nim(2352, 24) Warning: nanoseconds, microseconds, milliseconds, seconds, minutes, hours, days, weeks, months, years all have default value '0', this may be unintentional, either use ';' (semicolon) or explicitly write each default value [ImplicitDefaultValue]
D:\Programs\nim-2.0.8\lib\pure\times.nim(2757, 80) template/generic instantiation of `since` from here
D:\Programs\nim-2.0.8\lib\pure\times.nim(2769, 39) Warning: use `dateTime`; initDateTime is deprecated [Deprecated]
D:\Programs\nim-2.0.8\lib\pure\times.nim(2757, 80) template/generic instantiation of `since` from here
D:\Programs\nim-2.0.8\lib\pure\times.nim(2770, 3) Warning: use `dateTime`; initDateTime is deprecated [Deprecated]
....
D:\Programs\nim-2.0.8\lib\std\private\ossymlinks.nim(13, 19) Warning: imported and not used: 'times' [UnusedImport]
......
D:\Programs\nim-2.0.8\lib\std\envvars.nim(190, 40) Warning: use `uint`; ByteAddress is deprecated [Deprecated]
...
D:\Programs\nim-2.0.8\lib\pure\os.nim(55, 18) Warning: imported and not used: 'pathnorm' [UnusedImport]
.......................
D:\Programs\nim-2.0.8\lib\pure\osproc.nim(743, 27) Warning: type 'int' is too big to be a `set` element, assuming a range of 0..65535, explicitly write this range to get rid of warning [AboveMaxSizeSet]
D:\Programs\nim-2.0.8\lib\pure\osproc.nim(204, 67) Hint: 'running' cannot raise 'OSError' [XCannotRaiseY]
D:\Programs\nim-2.0.8\lib\pure\osproc.nim(215, 41) Hint: 'waitForExit' cannot raise 'ValueError' [XCannotRaiseY]
D:\Programs\nim-2.0.8\lib\pure\osproc.nim(244, 74) Hint: 'outputStream' cannot raise 'IOError' [XCannotRaiseY]
D:\Programs\nim-2.0.8\lib\pure\osproc.nim(244, 83) Hint: 'outputStream' cannot raise 'OSError' [XCannotRaiseY]
D:\Programs\nim-2.0.8\lib\pure\osproc.nim(885, 8) Hint: 'select' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\pure\osproc.nim(21, 3) Warning: imported and not used: 'strutils' [UnusedImport]
..
D:\source\Nim\lib\nimrtl.nim(39, 3) Warning: imported and not used: 'parseutils' [UnusedImport]
D:\source\Nim\lib\nimrtl.nim(39, 15) Warning: imported and not used: 'strutils' [UnusedImport]
D:\source\Nim\lib\nimrtl.nim(39, 25) Warning: imported and not used: 'parseopt' [UnusedImport]
D:\source\Nim\lib\nimrtl.nim(39, 35) Warning: imported and not used: 'parsecfg' [UnusedImport]
D:\source\Nim\lib\nimrtl.nim(39, 45) Warning: imported and not used: 'strtabs' [UnusedImport]
D:\source\Nim\lib\nimrtl.nim(39, 54) Warning: imported and not used: 'unicode' [UnusedImport]
D:\source\Nim\lib\nimrtl.nim(39, 63) Warning: imported and not used: 'pegs' [UnusedImport]
D:\source\Nim\lib\nimrtl.nim(39, 69) Warning: imported and not used: 'ropes' [UnusedImport]
D:\source\Nim\lib\nimrtl.nim(40, 3) Warning: imported and not used: 'os' [UnusedImport]
D:\source\Nim\lib\nimrtl.nim(40, 7) Warning: imported and not used: 'osproc' [UnusedImport]
D:\source\Nim\lib\nimrtl.nim(40, 15) Warning: imported and not used: 'times' [UnusedImport]
D:\source\Nim\lib\nimrtl.nim(40, 22) Warning: imported and not used: 'cstrutils' [UnusedImport]
CC: ../../../Programs/nim-2.0.8/lib/system/exceptions.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/since.nim
CC: ../../../Programs/nim-2.0.8/lib/system/ctypes.nim
CC: ../../../Programs/nim-2.0.8/lib/std/sysatomics.nim
CC: ../../../Programs/nim-2.0.8/lib/system/ansi_c.nim
CC: ../../../Programs/nim-2.0.8/lib/system/memory.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/syslocks.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/threadtypes.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/digitsutils.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/miscdollars.nim
CC: ../../../Programs/nim-2.0.8/lib/std/assertions.nim
CC: ../../../Programs/nim-2.0.8/lib/system/iterators.nim
CC: ../../../Programs/nim-2.0.8/lib/system/coro_detection.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/dragonbox.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/schubfach.nim
CC: ../../../Programs/nim-2.0.8/lib/std/formatfloat.nim
CC: ../../../Programs/nim-2.0.8/lib/std/objectdollar.nim
CC: ../../../Programs/nim-2.0.8/lib/system/dollars.nim
CC: ../../../Programs/nim-2.0.8/lib/std/typedthreads.nim
CC: ../../../Programs/nim-2.0.8/lib/system/stacktraces.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/bitops_utils.nim
CC: ../../../Programs/nim-2.0.8/lib/system/countbits_impl.nim
CC: ../../../Programs/nim-2.0.8/lib/system/repr_v2.nim
CC: ../../../Programs/nim-2.0.8/lib/std/widestrs.nim
CC: ../../../Programs/nim-2.0.8/lib/std/syncio.nim
CC: ../../../Programs/nim-2.0.8/lib/system.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/parseutils.nim
CC: ../../../Programs/nim-2.0.8/lib/core/macros.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/bitops.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/fenv.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/math.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/algorithm.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/typetraits.nim
CC: ../../../Programs/nim-2.0.8/lib/std/enumutils.nim
CC: ../../../Programs/nim-2.0.8/lib/std/strbasics.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/unicode.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/jsutils.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/strimpl.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/strutils.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/osseps.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/ntpath.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/pathnorm.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/dynlib.nim
CC: ../../../Programs/nim-2.0.8/lib/windows/winlean.nim
CC: ../../../Programs/nim-2.0.8/lib/std/oserrors.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/options.nim
CC: ../../../Programs/nim-2.0.8/lib/std/time_t.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/times.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/oscommon.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/ospaths2.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/ossymlinks.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/osfiles.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/osdirs.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/win_setenv.nim
CC: ../../../Programs/nim-2.0.8/lib/std/envvars.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/osappdirs.nim
CC: ../../../Programs/nim-2.0.8/lib/std/cmdline.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/os.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/parseopt.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/streams.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/lexbase.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/hashes.nim
CC: ../../../Programs/nim-2.0.8/lib/std/outparams.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/collections/tables.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/decode_helpers.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/parsecfg.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/strtabs.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/pegs.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/ropes.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/win_getsysteminfo.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/concurrency/cpuinfo.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/collections/deques.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/streamwrapper.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/osproc.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/cstrutils.nim
CC: nimrtl.nim
Hint:  [Link]
Hint: mm: orc; threads: on; opt: none (DEBUG BUILD, `-d:release` generates faster code)
63668 lines; 1.371s; 108.91MiB peakmem; proj: D:\source\Nim\lib\nimrtl.nim; out: D:\source\Nim\tests\dll\nimrtl.dll [SuccessX]

D:\source\Nim\tests\dll>nim c --outdir:"." -d:debug ../../lib/nimhcr.nim
Hint: used config file 'D:\Programs\nim-2.0.8\config\nim.cfg' [Conf]
Hint: used config file 'D:\Programs\nim-2.0.8\config\config.nims' [Conf]
Hint: used config file 'D:\source\Nim\lib\nimhcr.nim.cfg' [Conf]
............
D:\Programs\nim-2.0.8\lib\system\rawquits.nim(1, 14) Hint: duplicate import of 'ctypes'; previous import here: D:\Programs\nim-2.0.8\lib\system.nim(1122, 14) [DuplicateModuleImport]
......
D:\Programs\nim-2.0.8\lib\system\ansi_c.nim(54, 5) Hint: 'SIGTERM' is declared but not used [XDeclaredButNotUsed]
.................
D:\Programs\nim-2.0.8\lib\system\fatal.nim(13, 3) Hint: 'gotoBasedExceptions' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\fatal.nim(55, 8) Hint: 'sysFatal' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\rawquits.nim(26, 8) Hint: 'rawQuit' is declared but not used [XDeclaredButNotUsed]
...
D:\Programs\nim-2.0.8\lib\system\coro_detection.nim(3, 10) Hint: 'coroutinesSupportedPlatform' is declared but not used [XDeclaredButNotUsed]
....
D:\Programs\nim-2.0.8\lib\std\private\schubfach.nim(42, 6) Hint: 'constructSingle' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\std\private\schubfach.nim(54, 6) Hint: 'isFinite' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\std\private\schubfach.nim(57, 6) Hint: 'isInf' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\std\private\schubfach.nim(61, 6) Hint: 'isNaN' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\std\private\schubfach.nim(65, 6) Hint: 'isZero' is declared but not used [XDeclaredButNotUsed]
...............
D:\Programs\nim-2.0.8\lib\system\alloc.nim(14, 19) Hint: duplicate import of 'syslocks'; previous import here: D:\Programs\nim-2.0.8\lib\system.nim(1616, 21) [DuplicateModuleImport]
D:\Programs\nim-2.0.8\lib\system\alloc.nim(15, 11) Hint: duplicate import of 'sysatomics'; previous import here: D:\Programs\nim-2.0.8\lib\system.nim(1428, 15) [DuplicateModuleImport]
....
D:\Programs\nim-2.0.8\lib\system\channels_builtin.nim(142, 19) Hint: duplicate import of 'syslocks'; previous import here: D:\Programs\nim-2.0.8\lib\system\alloc.nim(14, 19) [DuplicateModuleImport]
D:\Programs\nim-2.0.8\lib\system.nim(2264, 1) Hint: duplicate import of 'digitsutils'; previous import here: D:\Programs\nim-2.0.8\lib\system\strmantle.nim(12, 19) [DuplicateModuleImport]
.......
D:\Programs\nim-2.0.8\lib\std\syncio.nim(704, 9) Hint: 'f2' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\std\syncio.nim(104, 6) Hint: 'c_feof' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\std\syncio.nim(581, 6) Hint: 'readAllFile' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system.nim(1064, 3) Hint: 'seqShallowFlag' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system.nim(126, 7) Hint: 'ThisIsSystem' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system.nim(2165, 11) Hint: 'GenericSeqSize' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system.nim(444, 7) Hint: 'NoFakeVars' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\alloc.nim(1077, 6) Hint: 'realloc0' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\alloc.nim(1082, 6) Hint: 'deallocOsPages' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\alloc.nim(1099, 6) Hint: 'getFreeMem' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\alloc.nim(1100, 6) Hint: 'getTotalMem' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\alloc.nim(1101, 6) Hint: 'getOccupiedMem' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\alloc.nim(1111, 10) Hint: 'instantiateForRegion' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\alloc.nim(265, 6) Hint: 'getMaxMem' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\alloc.nim(422, 10) Hint: 'allObjects' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\alloc.nim(903, 6) Hint: 'rawAlloc0' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\basic_types.nim(34, 3) Hint: 'nil' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\bitmasks.nim(30, 3) Hint: 'UnitsPerPage' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\channels_builtin.nim(156, 3) Hint: 'LoadStoreMode' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\dyncalls.nim(18, 3) Hint: 'NilLibHandle' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\excpt.nim(30, 8) Hint: 'writeToStdErr' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\excpt.nim(41, 6) Hint: 'writeToStdErr' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\excpt.nim(69, 3) Hint: 'GcFrame' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\memalloc.nim(389, 8) Hint: 'alignedRealloc0' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\mmdisp.nim(17, 3) Hint: 'debugGC' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\mmdisp.nim(18, 3) Hint: 'logGC' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\mmdisp.nim(19, 3) Hint: 'traceGC' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\mmdisp.nim(20, 3) Hint: 'alwaysCycleGC' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\mmdisp.nim(21, 3) Hint: 'alwaysGC' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\mmdisp.nim(25, 3) Hint: 'trackAllocationSource' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\mmdisp.nim(27, 3) Hint: 'cycleGC' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\mmdisp.nim(28, 3) Hint: 'reallyDealloc' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\mmdisp.nim(38, 3) Hint: 'PByte' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\mmdisp.nim(39, 3) Hint: 'PString' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\orc.nim(23, 3) Hint: 'maybeCycle' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\orc.nim(24, 3) Hint: 'jumpStackFlag' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\orc.nim(31, 3) Hint: 'DisposeProc' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\osalloc.nim(159, 5) Hint: 'MEM_TOP_DOWN' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\osalloc.nim(162, 5) Hint: 'MEM_DECOMMIT' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\osalloc.nim(27, 7) Hint: 'doNotUnmap' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\threadlocalstorage.nim(19, 8) Hint: 'threadVarGetValue' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system\threadlocalstorage.nim(7, 8) Hint: 'threadVarAlloc' is declared but not used [XDeclaredButNotUsed]
D:\Programs\nim-2.0.8\lib\system.nim(1741, 14) Warning: imported and not used: 'coro_detection' [UnusedImport]
............
D:\Programs\nim-2.0.8\lib\pure\math.nim(82, 5) Hint: 'div_t' is declared but not used [XDeclaredButNotUsed]
.............
D:\Programs\nim-2.0.8\lib\pure\pathnorm.nim(42, 10) Hint: 'dirs' is declared but not used [XDeclaredButNotUsed]
.........
D:\Programs\nim-2.0.8\lib\pure\times.nim(661, 20) Warning: nanoseconds, microseconds, milliseconds, seconds, minutes, hours, days, weeks all have default value '0', this may be unintentional, either use ';' (semicolon) or explicitly write each default value [ImplicitDefaultValue]
D:\Programs\nim-2.0.8\lib\pure\times.nim(1926, 31) Warning: suspicious code: enum to enum conversion [EnumConv]
D:\Programs\nim-2.0.8\lib\pure\times.nim(1934, 31) Warning: suspicious code: enum to enum conversion [EnumConv]
D:\Programs\nim-2.0.8\lib\pure\times.nim(2352, 24) Warning: nanoseconds, microseconds, milliseconds, seconds, minutes, hours, days, weeks, months, years all have default value '0', this may be unintentional, either use ';' (semicolon) or explicitly write each default value [ImplicitDefaultValue]
D:\Programs\nim-2.0.8\lib\pure\times.nim(2757, 80) template/generic instantiation of `since` from here
D:\Programs\nim-2.0.8\lib\pure\times.nim(2769, 39) Warning: use `dateTime`; initDateTime is deprecated [Deprecated]
D:\Programs\nim-2.0.8\lib\pure\times.nim(2757, 80) template/generic instantiation of `since` from here
D:\Programs\nim-2.0.8\lib\pure\times.nim(2770, 3) Warning: use `dateTime`; initDateTime is deprecated [Deprecated]
....
D:\Programs\nim-2.0.8\lib\std\private\ossymlinks.nim(13, 19) Warning: imported and not used: 'times' [UnusedImport]
......
D:\Programs\nim-2.0.8\lib\std\envvars.nim(190, 40) Warning: use `uint`; ByteAddress is deprecated [Deprecated]
...
D:\Programs\nim-2.0.8\lib\pure\os.nim(55, 18) Warning: imported and not used: 'pathnorm' [UnusedImport]
..........
D:\Programs\nim-2.0.8\lib\pure\reservedmem.nim(58, 5) Hint: 'memNoAccess' is declared but not used [XDeclaredButNotUsed]
D:\source\Nim\lib\nimhcr.nim(271, 11) Hint: 'jumpSize' is declared but not used [XDeclaredButNotUsed]
D:\source\Nim\lib\nimhcr.nim(273, 11) Hint: 'jumpSize' is declared but not used [XDeclaredButNotUsed]
D:\source\Nim\lib\nimhcr.nim(228, 8) Hint: 'sanitize' is declared but not used [XDeclaredButNotUsed]
D:\source\Nim\lib\nimhcr.nim(232, 8) Hint: 'sanitize' is declared but not used [XDeclaredButNotUsed]
CC: ../../../Programs/nim-2.0.8/lib/system/exceptions.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/since.nim
CC: ../../../Programs/nim-2.0.8/lib/system/ctypes.nim
CC: ../../../Programs/nim-2.0.8/lib/std/sysatomics.nim
CC: ../../../Programs/nim-2.0.8/lib/system/ansi_c.nim
CC: ../../../Programs/nim-2.0.8/lib/system/memory.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/syslocks.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/threadtypes.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/digitsutils.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/miscdollars.nim
CC: ../../../Programs/nim-2.0.8/lib/std/assertions.nim
CC: ../../../Programs/nim-2.0.8/lib/system/iterators.nim
CC: ../../../Programs/nim-2.0.8/lib/system/coro_detection.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/dragonbox.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/schubfach.nim
CC: ../../../Programs/nim-2.0.8/lib/std/formatfloat.nim
CC: ../../../Programs/nim-2.0.8/lib/std/objectdollar.nim
CC: ../../../Programs/nim-2.0.8/lib/system/dollars.nim
CC: ../../../Programs/nim-2.0.8/lib/std/typedthreads.nim
CC: ../../../Programs/nim-2.0.8/lib/system/stacktraces.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/bitops_utils.nim
CC: ../../../Programs/nim-2.0.8/lib/system/countbits_impl.nim
CC: ../../../Programs/nim-2.0.8/lib/system/repr_v2.nim
CC: ../../../Programs/nim-2.0.8/lib/std/widestrs.nim
CC: ../../../Programs/nim-2.0.8/lib/std/syncio.nim
CC: ../../../Programs/nim-2.0.8/lib/system.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/parseutils.nim
CC: ../../../Programs/nim-2.0.8/lib/core/macros.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/bitops.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/fenv.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/math.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/algorithm.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/typetraits.nim
CC: ../../../Programs/nim-2.0.8/lib/std/enumutils.nim
CC: ../../../Programs/nim-2.0.8/lib/std/strbasics.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/unicode.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/jsutils.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/strimpl.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/strutils.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/osseps.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/ntpath.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/pathnorm.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/dynlib.nim
CC: ../../../Programs/nim-2.0.8/lib/windows/winlean.nim
CC: ../../../Programs/nim-2.0.8/lib/std/oserrors.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/options.nim
CC: ../../../Programs/nim-2.0.8/lib/std/time_t.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/times.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/oscommon.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/ospaths2.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/ossymlinks.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/osfiles.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/osdirs.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/win_setenv.nim
CC: ../../../Programs/nim-2.0.8/lib/std/envvars.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/osappdirs.nim
CC: ../../../Programs/nim-2.0.8/lib/std/cmdline.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/os.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/hashes.nim
CC: ../../../Programs/nim-2.0.8/lib/std/outparams.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/collections/tables.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/collections/sets.nim
CC: ../../../Programs/nim-2.0.8/lib/std/private/win_getsysteminfo.nim
CC: ../../../Programs/nim-2.0.8/lib/pure/reservedmem.nim
CC: nimhcr.nim
Hint:  [Link]
Hint: mm: orc; threads: on; opt: none (DEBUG BUILD, `-d:release` generates faster code)
56351 lines; 0.960s; 88.488MiB peakmem; proj: D:\source\Nim\lib\nimhcr.nim; out: D:\source\Nim\tests\dll\nimhcr.dll [SuccessX]

D:\source\Nim\tests\dll>set HCR_FLAGS=--forceBuild --hotCodeReloading:on --nimcache:nimcache -d:debug

D:\source\Nim\tests\dll>nim --forceBuild --hotCodeReloading:on --nimcache:nimcache -d:debug c nimhcr_integration.nim
Hint: used config file 'D:\Programs\nim-2.0.8\config\nim.cfg' [Conf]
Hint: used config file 'D:\Programs\nim-2.0.8\config\config.nims' [Conf]
Hint: used config file 'D:\source\Nim\tests\config.nims' [Conf]
D:\Programs\nim-2.0.8\lib\pure\streams.nim(1306, 30) Error: type mismatch: got <proc (s: Stream, buffer: var string, slice: Slice[system.int]): int{.noSideEffect, gcsafe.}> but expected 'proc (s: Stream, buffer: var string, slice: Slice[system.int]): int{.nimcall, gcsafe.}'
.raise effects differ

D:\source\Nim\tests\dll>nimhcr_integration nim --forceBuild --hotCodeReloading:on --nimcache:nimcache -d:debug c nimhcr_integration.nim
'nimhcr_integration' is not recognized as an internal or external command,
operable program or batch file.

Expected Output

success compile

Known Workarounds

No response

Additional Information

No response

@metagn
Copy link
Collaborator

metagn commented Oct 1, 2024

The raise effects node of ssReadDataStrImpl is literally the call prepareMutation(buffer). Like, the effect list node of the proc is the node prepareMutation(buffer), being compared against [Defect, IOError, OSError]. Same for the tags node.

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

No branches or pull requests

2 participants