The build failed. It prevents 10 other packages from building.

Build log

> /tmp/stackage-build2453$ stack unpack th-abstraction-0.2.8.0@sha256:db5a2ee91cce9afbe7e251c925c2d2b78725b515f6655eb5079aaeeb935c247b
Unpacked th-abstraction-0.2.8.0 to /tmp/stackage-build2453/th-abstraction-0.2.8.0/
> /tmp/stackage-build2453/th-abstraction-0.2.8.0$ ghc -clear-package-db -global-package-db -package-db=/home/circleci/project/builds/nightly/pkgdb Setup
[1 of 1] Compiling Main             ( Setup.hs, Setup.o )
Linking Setup ...
> /tmp/stackage-build2453/th-abstraction-0.2.8.0$ ./Setup configure --package-db=clear --package-db=global --package-db=/home/circleci/project/builds/nightly/pkgdb --libdir=/home/circleci/project/builds/nightly/lib --bindir=/home/circleci/project/builds/nightly/bin --datadir=/home/circleci/project/builds/nightly/share --libexecdir=/home/circleci/project/builds/nightly/libexec --sysconfdir=/home/circleci/project/builds/nightly/etc --docdir=/home/circleci/project/builds/nightly/doc/th-abstraction-0.2.8.0 --htmldir=/home/circleci/project/builds/nightly/doc/th-abstraction-0.2.8.0 --haddockdir=/home/circleci/project/builds/nightly/doc/th-abstraction-0.2.8.0
Configuring th-abstraction-0.2.8.0...
> /tmp/stackage-build2453/th-abstraction-0.2.8.0$ ghc -clear-package-db -global-package-db -package-db=/home/circleci/project/builds/nightly/pkgdb Setup
> /tmp/stackage-build2453/th-abstraction-0.2.8.0$ ./Setup build
Preprocessing library for th-abstraction-0.2.8.0..
Building library for th-abstraction-0.2.8.0..
[1 of 2] Compiling Language.Haskell.TH.Datatype.Internal ( src/Language/Haskell/TH/Datatype/Internal.hs, dist/build/Language/Haskell/TH/Datatype/Internal.o )
[2 of 2] Compiling Language.Haskell.TH.Datatype ( src/Language/Haskell/TH/Datatype.hs, dist/build/Language/Haskell/TH/Datatype.o )

src/Language/Haskell/TH/Datatype.hs:525:9: error:
    • The constructor ‘NewtypeInstD’ should have 7 arguments, but has been given 6
    • In the pattern: NewtypeInstD cx n ts k c deriv
      In a stmt of a pattern guard for
                     an equation for ‘repairDataFam’:
        NewtypeInstD cx n ts k c deriv <- instD
      In an equation for ‘repairDataFam’:
          repairDataFam famD instD
            | DataFamilyD _ dvars _ <- famD,
              NewtypeInstD cx n ts k c deriv <- instD
            = NewtypeInstD cx n (repairVarKindsWith dvars ts) k c deriv
            | DataFamilyD _ dvars _ <- famD,
              DataInstD cx n ts k c deriv <- instD
            = DataInstD cx n (repairVarKindsWith dvars ts) k c deriv
    |
525 |       , NewtypeInstD cx n ts k c deriv <- instD
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Language/Haskell/TH/Datatype.hs:579:5: error:
    • The constructor ‘NewtypeInstD’ should have 7 arguments, but has been given 6
    • In the pattern:
        NewtypeInstD context name params _kind con _derives
      In a case alternative:
          NewtypeInstD context name params _kind con _derives
            -> repair13618' . giveTypesStarKinds
                 =<<
                   normalizeDec' isReified context name params [con] NewtypeInstance
      In the expression:
        case dec of
          NewtypeD context name tyvars _kind con _derives
            -> giveTypesStarKinds
                 <$>
                   normalizeDec'
                     isReified context name (bndrParams tyvars) [con] Newtype
          DataD context name tyvars _kind cons _derives
            -> giveTypesStarKinds
                 <$>
                   normalizeDec'
                     isReified context name (bndrParams tyvars) cons Datatype
          NewtypeInstD context name params _kind con _derives
            -> repair13618' . giveTypesStarKinds
                 =<<
                   normalizeDec' isReified context name params [con] NewtypeInstance
          DataInstD context name params _kind cons _derives
            -> repair13618' . giveTypesStarKinds
                 =<< normalizeDec' isReified context name params cons DataInstance
          _ -> fail "normalizeDecFor: DataD or NewtypeD required"
    |
579 |     NewtypeInstD context name params _kind con _derives ->
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Language/Haskell/TH/Datatype.hs:1638:45: error:
    • Couldn't match type ‘Type -> TySynEqn’ with ‘TySynEqn’
      Expected type: Q TySynEqn
        Actual type: Q (Type -> TySynEqn)
    • In the second argument of ‘(<$>)’, namely
        ‘(TySynEqn <$> sequence ps <*> r)’
      In the expression:
        TySynInstD n <$> (TySynEqn <$> sequence ps <*> r)
      In an equation for ‘tySynInstDCompat’:
          tySynInstDCompat n ps r
            = TySynInstD n <$> (TySynEqn <$> sequence ps <*> r)
     |
1638 | tySynInstDCompat n ps r = TySynInstD n <$> (TySynEqn <$> sequence ps <*> r)
     |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Language/Haskell/TH/Datatype.hs:1638:58: error:
    • Couldn't match type ‘[]’ with ‘Maybe’
      Expected type: Q (Maybe [TyVarBndr])
        Actual type: Q [Type]
    • In the second argument of ‘(<$>)’, namely ‘sequence ps’
      In the first argument of ‘(<*>)’, namely ‘TySynEqn <$> sequence ps’
      In the second argument of ‘(<$>)’, namely
        ‘(TySynEqn <$> sequence ps <*> r)’
     |
1638 | tySynInstDCompat n ps r = TySynInstD n <$> (TySynEqn <$> sequence ps <*> r)
     |                                                          ^^^^^^^^^^^

src/Language/Haskell/TH/Datatype.hs:1638:74: error:
    • Couldn't match type ‘Type’ with ‘[Type]’
      Expected type: Q [Type]
        Actual type: TypeQ
    • In the second argument of ‘(<*>)’, namely ‘r’
      In the second argument of ‘(<$>)’, namely
        ‘(TySynEqn <$> sequence ps <*> r)’
      In the expression:
        TySynInstD n <$> (TySynEqn <$> sequence ps <*> r)
     |
1638 | tySynInstDCompat n ps r = TySynInstD n <$> (TySynEqn <$> sequence ps <*> r)
     |                                                                          ^