lookunder / RedmineHs

MIT License
2 stars 0 forks source link

Duplicate instance Declarations (Aeson) #7

Open averagehat opened 7 years ago

averagehat commented 7 years ago
streaming-commons-0.1.16: using precompiled package
lifted-base-0.2.3.8: using precompiled package
hslogger-1.2.10: build
regex-base-0.93.2: configure
http-client-0.4.31.2: using precompiled package
resourcet-1.1.9: using precompiled package
conduit-1.2.8: using precompiled package
conduit-extra-1.1.15: using precompiled package
regex-base-0.93.2: build
HTTP-4000.3.4: configure
HTTP-4000.3.4: build
HUnit-1.3.1.2: copy/register
regex-base-0.93.2: copy/register
hslogger-1.2.10: copy/register
regex-posix-0.95.2: download
regex-posix-0.95.2: configure
regex-posix-0.95.2: build
regex-posix-0.95.2: copy/register
regex-compat-0.95.1: download
regex-compat-0.95.1: configure
regex-compat-0.95.1: build
regex-compat-0.95.1: copy/register
MissingH-1.4.0.1: download
MissingH-1.4.0.1: configure
MissingH-1.4.0.1: build
HTTP-4000.3.4: copy/register
MissingH-1.4.0.1: copy/register
cryptonite-0.21: copy/register
x509-1.6.5: configure
x509-1.6.5: build
x509-1.6.5: copy/register
x509-store-1.6.2: configure
x509-store-1.6.2: build
x509-store-1.6.2: copy/register
x509-system-1.6.4: configure
x509-system-1.6.4: build
x509-validation-1.6.5: configure
x509-validation-1.6.5: build
x509-system-1.6.4: copy/register
x509-validation-1.6.5: copy/register
tls-1.3.9: download
tls-1.3.9: configure
tls-1.3.9: build
tls-1.3.9: copy/register
connection-0.2.6: configure
connection-0.2.6: build
connection-0.2.6: copy/register
http-client-tls-0.2.4.1: configure
http-client-tls-0.2.4.1: build
http-client-tls-0.2.4.1: copy/register
http-conduit-2.1.11: configure
http-conduit-2.1.11: build
http-conduit-2.1.11: copy/register
Redmine-0.0.6: download
Redmine-0.0.6: configure
Redmine-0.0.6: build
Progress: 65/66
--  While building package Redmine-0.0.6 using:
      /Users/mikep/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_1.24.0.0_ghc-8.0.1 --builddir=.stack-work/dist/x86_64-osx/Cabal-1.24.0.0 build --ghc-options " -ddump-hi -ddump-to-file"
    Process exited with code: ExitFailure 1
    Logs have been written to: /Users/mikep/haskell/intero-demo/.stack-work/logs/Redmine-0.0.6.log

    Configuring Redmine-0.0.6...
    Building Redmine-0.0.6...
    Preprocessing library Redmine-0.0.6...
    [1 of 7] Compiling Redmine.Put      ( src/Redmine/Put.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.0.0/build/Redmine/Put.o )
    [2 of 7] Compiling Redmine.Manager  ( src/Redmine/Manager.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.0.0/build/Redmine/Manager.o )
    [3 of 7] Compiling Redmine.Types    ( src/Redmine/Types.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.0.0/build/Redmine/Types.o )
    [4 of 7] Compiling Redmine.JSON     ( src/Redmine/JSON.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.0.0/build/Redmine/JSON.o )

    /private/var/folders/l6/0rj4k0fj3616k7gb3p7gl1vc0000gn/T/stack546/Redmine-0.0.6/src/Redmine/JSON.hs:157:10: error:
        Duplicate instance declarations:
          instance FromJSON Day -- Defined at src/Redmine/JSON.hs:157:10
          instance FromJSON Day
            -- Defined in ‘aeson-0.11.2.1:Data.Aeson.Types.Instances’

    /private/var/folders/l6/0rj4k0fj3616k7gb3p7gl1vc0000gn/T/stack546/Redmine-0.0.6/src/Redmine/JSON.hs:236:10: error:
        Duplicate instance declarations:
          instance ToJSON Day -- Defined at src/Redmine/JSON.hs:236:10
          instance ToJSON Day
            -- Defined in ‘aeson-0.11.2.1:Data.Aeson.Types.Instances’
lookunder commented 7 years ago

I uploaded a new package into Hackage. Version 008. Give it a try.

averagehat commented 7 years ago

Am I missing something?

screen shot 2017-01-19 at 2 05 14 pm
lookunder commented 7 years ago

Not sure what is happening with hackage. Clone the repo for now. I'll look at why the upload does not work.

lookunder commented 7 years ago

I had uploaded a package candidate the first time. It should be available now.