Verifying dependencies for sha1@1.1
Installing dnsclient@#head
Downloading https://github.com/ba0f3/dnsclient.nim using git
Warning: Package 'dnsclient' has an incorrect structure. It should contain a single directory hierarchy for source files, named 'dnsclientpkg', but file 'srv.nim' is in a directory named 'private/records' instead. This will be an error in the future.
Hint: If 'private/records' contains source files for building 'dnsclient', rename it to 'dnsclientpkg'. Otherwise, prevent its installation by adding `skipDirs = @["private/records"]` to the .nimble file.
Verifying dependencies for dnsclient@#head
Installing dnsclient@#head
Building dnsclient/dnsclient using c backend
Prompt: Build failed for 'anonimongo@0.4.10', would you like to try installing 'anonimongo@#head' (latest unstable)? [y/N]
Answer: y
...
Installing dnsclient@#head
Downloading https://github.com/ba0f3/dnsclient.nim using git
Verifying dependencies for dnsclient@#head
Installing dnsclient@#head
Building dnsclient/dnsclient using c backend
Tip: 72 messages have been suppressed, use --verbose to show them.
Error: Build failed for package: dnsclient
... Details:
... Execution failed with exit code 1
... Command: "/Users/timothee/.nimble/bin/nim" c --noNimblePath -d:NimblePkgVersion=0.0.2 -d:release -o:"/var/folders/ll/dtd6ksrn50n3xkdy4y61tf_80000gn/T/nimble_89329/githubcom_ba0f3dnsclientnim_#head/dnsclient" "/var/folders/ll/dtd6ksrn50n3xkdy4y61tf_80000gn/T/nimble_89329/githubcom_ba0f3dnsclientnim_#head/src/dnsclient.nim"
... Output: /private/var/folders/ll/dtd6ksrn50n3xkdy4y61tf_80000gn/T/nimble_89329/githubcom_ba0f3dnsclientnim_#head/src/dnsclient.nim(6, 1) template/generic instantiation from here
... /private/var/folders/ll/dtd6ksrn50n3xkdy4y61tf_80000gn/T/nimble_89329/githubcom_ba0f3dnsclientnim_#head/src/private/protocol.nim(2, 1) template/generic instantiation from here
... /private/var/folders/ll/dtd6ksrn50n3xkdy4y61tf_80000gn/T/nimble_89329/githubcom_ba0f3dnsclientnim_#head/src/private/records.nim(3, 1) template/generic instantiation from here
... /private/var/folders/ll/dtd6ksrn50n3xkdy4y61tf_80000gn/T/nimble_89329/githubcom_ba0f3dnsclientnim_#head/src/private/records/cname.nim(1, 1) template/generic instantiation from here
... /private/var/folders/ll/dtd6ksrn50n3xkdy4y61tf_80000gn/T/nimble_89329/githubcom_ba0f3dnsclientnim_#head/src/private/records/cname.nim(6, 8) Warning: method has lock level <unknown>, but another method has 0 [LockLevel]
... method parse*(r: CNAMERecord, data: StringStream) =
... ^
... /Users/timothee/git_clone/nim/Nim_devel/compiler/cgmeth.nim(152, 14) compiler msg initiated here [MsgOrigin]
... /private/var/folders/ll/dtd6ksrn50n3xkdy4y61tf_80000gn/T/nimble_89329/githubcom_ba0f3dnsclientnim_#head/src/dnsclient.nim(6, 1) template/generic instantiation from here
... /private/var/folders/ll/dtd6ksrn50n3xkdy4y61tf_80000gn/T/nimble_89329/githubcom_ba0f3dnsclientnim_#head/src/private/protocol.nim(2, 1) template/generic instantiation from here
... /private/var/folders/ll/dtd6ksrn50n3xkdy4y61tf_80000gn/T/nimble_89329/githubcom_ba0f3dnsclientnim_#head/src/private/records.nim(3, 1) template/generic instantiation from here
... /private/var/folders/ll/dtd6ksrn50n3xkdy4y61tf_80000gn/T/nimble_89329/githubcom_ba0f3dnsclientnim_#head/src/private/records/hinfo.nim(1, 1) template/generic instantiation from here
... /private/var/folders/ll/dtd6ksrn50n3xkdy4y61tf_80000gn/T/nimble_89329/githubcom_ba0f3dnsclientnim_#head/src/private/records/hinfo.nim(7, 8) Warning: method has lock level 0, but another method has <unknown> [LockLevel]
... method parse*(r: HINFORecord, data: StringStream) =
... ^
... /Users/timothee/git_clone/nim/Nim_devel/compiler/cgmeth.nim(152, 14) compiler msg initiated here [MsgOrigin]
... /private/var/folders/ll/dtd6ksrn50n3xkdy4y61tf_80000gn/T/nimble_89329/githubcom_ba0f3dnsclientnim_#head/src/dnsclient.nim(6, 1) template/generic instantiation from here
... /private/var/folders/ll/dtd6ksrn50n3xkdy4y61tf_80000gn/T/nimble_89329/githubcom_ba0f3dnsclientnim_#head/src/private/protocol.nim(2, 1) template/generic instantiation from here
... /private/var/folders/ll/dtd6ksrn50n3xkdy4y61tf_80000gn/T/nimble_89329/githubcom_ba0f3dnsclientnim_#head/src/private/records.nim(3, 1) template/generic instantiation from here
... /private/var/folders/ll/dtd6ksrn50n3xkdy4y61tf_80000gn/T/nimble_89329/githubcom_ba0f3dnsclientnim_#head/src/private/records/txt.nim(1, 1) template/generic instantiation from here
... /private/var/folders/ll/dtd6ksrn50n3xkdy4y61tf_80000gn/T/nimble_89329/githubcom_ba0f3dnsclientnim_#head/src/private/records/txt.nim(7, 8) Warning: method has lock level 0, but another method has <unknown> [LockLevel]
... method parse*(r: TXTRecord, data: StringStream) =
... ^
... /Users/timothee/git_clone/nim/Nim_devel/compiler/cgmeth.nim(152, 14) compiler msg initiated here [MsgOrigin]
... /private/var/folders/ll/dtd6ksrn50n3xkdy4y61tf_80000gn/T/nimble_89329/githubcom_ba0f3dnsclientnim_#head/src/dnsclient.nim(58, 1) template/generic instantiation from here
... /private/var/folders/ll/dtd6ksrn50n3xkdy4y61tf_80000gn/T/nimble_89329/githubcom_ba0f3dnsclientnim_#head/src/dnsclient.nim(67, 21) template/generic instantiation of `..` from here
... /Users/timothee/git_clone/nim/Nim_devel/lib/system/iterators_1.nim(84, 9) template/generic instantiation from here
... /Users/timothee/git_clone/nim/Nim_devel/lib/system/iterators_1.nim(85, 12) Error: type mismatch: got <QKind>
... but expected one of:
... proc inc[T: Ordinal](x: var T; y = 1)
... first type mismatch at position: 1
... required type for x: var T: Ordinal
... but expression 'res' is of type: QKind
... expression: inc(res)
... inc(res)
... ^
... /Users/timothee/git_clone/nim/Nim_devel/compiler/semcall.nim(292, 13) compiler msg initiated here [MsgOrigin]
... No stack traceback available
EDIT: NOTE: this may be root caused by https://github.com/ba0f3/dnsclient.nim/issues/3, but still; this means we can't install anonimongo
from a fresh nimble:
NIMBLE_DIR=$HOME/.nimble_fake34 nimble install anonimongo