Public bug reported:

ghc has fully deprecated and removed MonadFail proposal, requiring code
to be rewritten.

Git/Types.hs:144:14: error:
    • Could not deduce (MonadFail m) arising from a use of ‘fail’
      from the context: Monad m
        bound by the type signature for:
                   textToSha :: forall (m :: * -> *). Monad m => Text -> m SHA
        at Git/Types.hs:140:1-37
      Possible fix:
        add (MonadFail m) to the context of
          the type signature for:
            textToSha :: forall (m :: * -> *). Monad m => Text -> m SHA
    • In the expression: fail "Invalid base16 encoding"
      In a case alternative: _ -> fail "Invalid base16 encoding"
      In the expression:
        case B16.decode $ T.encodeUtf8 t of
          (bs, "") -> return (SHA bs)
          _ -> fail "Invalid base16 encoding"
    |
144 |         _ -> fail "Invalid base16 encoding"
    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Haddock coverage:
Warning: 'Repository' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'resolveRef' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
 100% (  9 /  9) in 'Git.Tutorial'

haskell-gitlib still uses the deprecated "fail" which is no longer
exposed by MonadFail.


It is leaf without any reverse dependencies, please remove it from the archive.

$ reverse-depends src:haskell-gitlib
No reverse dependencies found
$ reverse-depends -b src:haskell-gitlib
No reverse dependencies found

** Affects: haskell-gitlib (Ubuntu)
     Importance: Undecided
         Status: Triaged

** Summary changed:

- FTBFS due to MonadFail
+ RM haskell-gitlib FTBFS due to MonadFail

** Changed in: haskell-gitlib (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1886725

Title:
  RM haskell-gitlib FTBFS due to MonadFail

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/haskell-gitlib/+bug/1886725/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to