Skip to content

Doesn't compile with 1.6.0 on macOS #123

Description

@ynfle
 $ nimble install inim --verbose
    Reading official package list
Downloading https://github.com/inim-repl/INim using git
    Cloning latest tagged version: v0.6.1
  Verifying dependencies for inim@0.6.1
    Reading official package list
   Checking for cligen@>= 1.2.0
      Info: Dependency on cligen@>= 1.2.0 already satisfied
  Verifying dependencies for cligen@1.2.2
    Reading official package list
   Checking for noise@>= 0.1.4
      Info: Dependency on noise@>= 0.1.4 already satisfied
  Verifying dependencies for noise@0.1.4
 Installing inim@0.6.1
   Building inim/inim using c backend
  Executing ~/.nimble/bin/nim c --colors:on --noNimblePath -d:release -d:NimblePkgVersion=0.6.1 --path:~/.nimble/pkgs/cligen-1.2.2 --path:~/.nimble/pkgs/noise-0.1.4 -o:/var/folders/st/xh33tkfx0x329ltvx1c4j78m0000gn/T/nimble_49023/githubcom_inimreplINim/inim /var/folders/st/xh33tkfx0x329ltvx1c4j78m0000gn/T/nimble_49023/githubcom_inimreplINim/src/inim.nim
Hint: used config file '~/.choosenim/toolchains/nim-1.6.0/config/nim.cfg' [Conf]
Hint: used config file '~/.choosenim/toolchains/nim-1.6.0/config/config.nims' [Conf]
......................................................................................................
/private/var/folders/st/xh33tkfx0x329ltvx1c4j78m0000gn/T/nimble_49023/githubcom_inimreplINim/src/inim.nim(5, 15) Hint: duplicate import of 'strformat'; previous import here: /private/var/folders/st/xh33tkfx0x329ltvx1c4j78m0000gn/T/nimble_49023/githubcom_inimreplINim/src/inim.nim(4, 20) [DuplicateModuleImport]
....................
/private/var/folders/st/xh33tkfx0x329ltvx1c4j78m0000gn/T/nimble_49023/githubcom_inimreplINim/src/inim.nim(7, 1) Hint: duplicate import of 'sequtils'; previous import here: /private/var/folders/st/xh33tkfx0x329ltvx1c4j78m0000gn/T/nimble_49023/githubcom_inimreplINim/src/inim.nim(4, 51) [DuplicateModuleImport]
.
/private/var/folders/st/xh33tkfx0x329ltvx1c4j78m0000gn/T/nimble_49023/githubcom_inimreplINim/src/inim.nim(420, 9) Hint: 'n' is declared but not used [XDeclaredButNotUsed]
/private/var/folders/st/xh33tkfx0x329ltvx1c4j78m0000gn/T/nimble_49023/githubcom_inimreplINim/src/inim.nim(457, 11) Hint: 'n' is declared but not used [XDeclaredButNotUsed]
/private/var/folders/st/xh33tkfx0x329ltvx1c4j78m0000gn/T/nimble_49023/githubcom_inimreplINim/src/inim.nim(543, 21) Hint: 'echo_status' is declared but not used [XDeclaredButNotUsed]
................
/private/var/folders/st/xh33tkfx0x329ltvx1c4j78m0000gn/T/nimble_49023/githubcom_inimreplINim/src/inim.nim(627, 11) template/generic instantiation of `dispatch` from here
~/.nimble/pkgs/cligen-1.2.2/cligen.nim(768, 14) template/generic instantiation of `dispatchCf` from here
~/.nimble/pkgs/cligen-1.2.2/cligen.nim(745, 31) Error: expression 'dispatchmain(mergeParams([""], commandLineParams()), clUse, "", false, false,
             false)' has no type (or is ambiguous)
 $ nim -v
Nim Compiler Version 1.6.0 [MacOSX: amd64]
Compiled at 2021-10-19
Copyright (c) 2006-2021 by Andreas Rumpf

active boot switches: -d:release

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions