cannot install langserver in `1.7.3`
scarf005 opened this issue · 0 comments
scarf005 commented
nim:
✘ ~ nim --version
Nim Compiler Version 1.7.3 [Linux: amd64]
Compiled at 2022-11-10
Copyright (c) 2006-2022 by Andreas Rumpf
git hash: 31be01d78f98a2904725994fd30eae4232e5a47c
active boot switches: -d:release
ran:
nimble install nimlangserver
got:
/tmp/nimble_20595/githubcom_nimlanglangserver/nimlangserver.nim(343, 68) template/generic instantiation of `async` from here
/tmp/nimble_20595/githubcom_nimlanglangserver/nimlangserver.nim(386, 13) Error: type mismatch: got <proc (){.closure.}>
but expected one of:
proc callSoon(cbproc: proc () {.gcsafe.})
first type mismatch at position: 1
required type for cbproc: proc (){.closure, gcsafe.}
but expression 'proc () =
bind logIMPL, bindSym, brForceOpen
try:
block chroniclesLogStmt:
var record_570440976:
defaultChroniclesStreamLogRecord
mixin activateOutput
record_570440976 = default(typeof(record_570440976))
discard
initLogRecord(record_570440976, LogLevel(2), "",
"Running delayed check project...")
mixin setProperty, formatItIMPL
setProperty(record_570440976, "uri", uri)
logAllDynamicProperties(
defaultChroniclesStream, record_570440976)
flushRecord(record_570440976)
except CatchableError as err`gensym535:
logLoggingFailure(cstring("Running delayed check project..."), err`gensym535)
traceAsyncErrors checkProject(ls, uri)' is of type: proc (){.closure.}
Pragma mismatch: got '{..}', but expected '{.gcsafe.}'.
This expression is not GC-safe. Annotate the proc with {.gcsafe.} to get extended error information.
expression: callSoon(proc () =
bind logIMPL, bindSym, brForceOpen
try:
block chroniclesLogStmt:
var record_570440976:
defaultChroniclesStreamLogRecord
mixin activateOutput
record_570440976 = default(typeof(record_570440976))
discard
initLogRecord(record_570440976, LogLevel(2), "",
"Running delayed check project...")
mixin setProperty, formatItIMPL
setProperty(record_570440976, "uri", uri)
logAllDynamicProperties(
defaultChroniclesStream, record_570440976)
flushRecord(record_570440976)
except CatchableError as err`gensym535:
logLoggingFailure(cstring("Running delayed check project..."), err`gensym535)
traceAsyncErrors checkProject(ls, uri))
Tip: 315 messages have been suppressed, use --verbose to show them.
Error: Build failed for package: nimlangserver
... Execution failed with exit code 1
... Command: /home/scarf/.nimble/bin/nim c --colors:on --noNimblePath -d:release -d:NimblePkgVersion=0.1.0 --path:'/home/scarf/.nimble/pkgs/asynctools-#non-blocking' --path:'/home/scarf/.nimble/pkgs/json_rpc-#notif-changes' --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/nimcrypto-0.5.4 --path:/home/scarf/.nimble/pkgs/stint-0.0.1 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/chronos-3.0.11 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/bearssl-0.2.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/httputils-0.3.0 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/httputils-0.3.0 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/chronicles-0.10.3 --path:/home/scarf/.nimble/pkgs/testutils-0.5.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/json_serialization-0.1.0 --path:/home/scarf/.nimble/pkgs/serialization-0.1.0 --path:/home/scarf/.nimble/pkgs/faststreams-0.3.0 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/chronos-3.0.11 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/bearssl-0.2.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/httputils-0.3.0 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:'/home/scarf/.nimble/pkgs/news-#status' --path:/home/scarf/.nimble/pkgs/websock-0.1.0 --path:/home/scarf/.nimble/pkgs/chronos-3.0.11 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/bearssl-0.2.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/httputils-0.3.0 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/httputils-0.3.0 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/chronicles-0.10.3 --path:/home/scarf/.nimble/pkgs/testutils-0.5.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/json_serialization-0.1.0 --path:/home/scarf/.nimble/pkgs/serialization-0.1.0 --path:/home/scarf/.nimble/pkgs/faststreams-0.3.0 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/chronos-3.0.11 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/bearssl-0.2.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/httputils-0.3.0 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/nimcrypto-0.5.4 --path:/home/scarf/.nimble/pkgs/bearssl-0.2.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/zlib-0.1.0 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:'/home/scarf/.nimble/pkgs/asynctools-#non-blocking' --path:/home/scarf/.nimble/pkgs/faststreams-0.3.0 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/chronos-3.0.11 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/bearssl-0.2.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/httputils-0.3.0 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/json_serialization-0.1.0 --path:/home/scarf/.nimble/pkgs/serialization-0.1.0 --path:/home/scarf/.nimble/pkgs/faststreams-0.3.0 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/chronos-3.0.11 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/bearssl-0.2.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/httputils-0.3.0 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/with-0.4.0 --path:/home/scarf/.nimble/pkgs/itertools-0.4.0 --path:/home/scarf/.nimble/pkgs/chronicles-0.10.3 --path:/home/scarf/.nimble/pkgs/testutils-0.5.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/json_serialization-0.1.0 --path:/home/scarf/.nimble/pkgs/serialization-0.1.0 --path:/home/scarf/.nimble/pkgs/faststreams-0.3.0 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/chronos-3.0.11 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/bearssl-0.2.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/httputils-0.3.0 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --path:/home/scarf/.nimble/pkgs/stew-0.1.0 --path:/home/scarf/.nimble/pkgs/unittest2-0.0.5 --hints:off -o:/tmp/nimble_20595/githubcom_nimlanglangserver/nimlangserver /tmp/nimble_20595/githubcom_nimlanglangserver/nimlangserver.nim