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

Build failure with aeson 1.0 #12

Open
snoyberg opened this issue Sep 15, 2016 · 0 comments
Open

Build failure with aeson 1.0 #12

snoyberg opened this issue Sep 15, 2016 · 0 comments
Assignees

Comments

@snoyberg
Copy link

> /tmp/stackage-build8$ stack unpack smsaero-0.6.1
Unpacked smsaero-0.6.1 to /tmp/stackage-build8/smsaero-0.6.1/
> /tmp/stackage-build8/smsaero-0.6.1$ runghc -clear-package-db -global-package-db -package-db=/var/stackage/work/builds/nightly/pkgdb Setup configure --package-db=clear --package-db=global --package-db=/var/stackage/work/builds/nightly/pkgdb --libdir=/var/stackage/work/builds/nightly/lib --bindir=/var/stackage/work/builds/nightly/bin --datadir=/var/stackage/work/builds/nightly/share --libexecdir=/var/stackage/work/builds/nightly/libexec --sysconfdir=/var/stackage/work/builds/nightly/etc --docdir=/var/stackage/work/builds/nightly/doc/smsaero-0.6.1 --htmldir=/var/stackage/work/builds/nightly/doc/smsaero-0.6.1 --haddockdir=/var/stackage/work/builds/nightly/doc/smsaero-0.6.1 --flags=
Configuring smsaero-0.6.1...
> /tmp/stackage-build8/smsaero-0.6.1$ runghc -clear-package-db -global-package-db -package-db=/var/stackage/work/builds/nightly/pkgdb Setup build
Building smsaero-0.6.1...
Preprocessing library smsaero-0.6.1...
[1 of 4] Compiling SMSAero.Types    ( src/SMSAero/Types.hs, dist/build/SMSAero/Types.o )
[2 of 4] Compiling SMSAero.API      ( src/SMSAero/API.hs, dist/build/SMSAero/API.o )

src/SMSAero/API.hs:100:10: warning: [-Wredundant-constraints]
    • Redundant constraint: KnownSymbol sym
    • In the instance declaration for
        ‘HasDocs (RequiredQueryParam sym a :> sub)’
[3 of 4] Compiling SMSAero.Client   ( src/SMSAero/Client.hs, dist/build/SMSAero/Client.o )

src/SMSAero/Client.hs:50:17: error:
    • Overlapping instances for aeson-1.0.0.0:Data.Aeson.Types.FromJSON.FromJSON
                                  (containers-0.5.7.1:Data.Map.Base.Map MessageId MessageStatus)
        arising from a use of ‘client’
      Matching instances:
        two instances involving out-of-scope types
        (use -fprint-potential-instances to see them all)
    • In the expression: client (Proxy :: Proxy SMSAeroAPI)
      In an equation for ‘smsAeroClient’:
          smsAeroClient = client (Proxy :: Proxy SMSAeroAPI)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants