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

serialise-0.2.4.0 #6340

Closed
jkachmar opened this issue Dec 2, 2021 · 3 comments
Closed

serialise-0.2.4.0 #6340

jkachmar opened this issue Dec 2, 2021 · 3 comments

Comments

@jkachmar
Copy link
Contributor

jkachmar commented Dec 2, 2021

serialise-0.2.4.0 benchmarks currently fail to compile with the following error.

error
/var/stackage/work/unpack-dir/unpacked/serialise-0.2.4.0-83f4947f247bdb3547e3aaff5f847fadd58dd60dbaa9cfed35ccbedb30711656/bench/
versus/Macro/PkgAesonTH.hs:12:18: error:
    • No instance for (ToJSON GenericPackageDescription)
        arising from a use of ‘encode’
    • In the expression: encode pkgs
      In an equation for ‘serialise’: serialise pkgs = encode pkgs
   |
12 | serialise pkgs = Aeson.encode pkgs
   |                  ^^^^^^^^^^^^^^^^^

/var/stackage/work/unpack-dir/unpacked/serialise-0.2.4.0-83f4947f247bdb3547e3aaff5f847fadd58dd60dbaa9cfed35ccbedb30711656/bench/
versus/Macro/PkgAesonTH.hs:15:26: error:
    • No instance for (FromJSON GenericPackageDescription)
        arising from a use of ‘decode'’
    • In the second argument of ‘(.)’, namely ‘decode'’
      In the expression: fromJust . decode'
      In an equation for ‘deserialise’: deserialise = fromJust . decode'
   |
15 | deserialise = fromJust . Aeson.decode'
   |                          ^^^^^^^^^^^^^
jkachmar added a commit that referenced this issue Dec 2, 2021
@jkachmar jkachmar changed the title serialize-0.2.4.0 serialise-0.2.4.0 Dec 2, 2021
@jkachmar
Copy link
Contributor Author

jkachmar commented Dec 2, 2021

Not sure what the deal is? I can't seem to reproduce this locally.

@bergmark
Copy link
Member

bergmark commented Dec 3, 2021

I can reproduce it with cabal new-build -O0 -w ghc-9.0.1 --enable-bench

@bergmark
Copy link
Member

We're closing this since we upgraded to GHC 9.2.2. Packages that hadn't been updated have been disabled. If so, they are listed in #6486.

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

No branches or pull requests

2 participants