Resolving dependencies... Downloading deriving-via-fun-0.1.0.0 Downloaded deriving-via-fun-0.1.0.0 Configuring deriving-via-fun-0.1.0.0... Preprocessing library for deriving-via-fun-0.1.0.0.. Building library for deriving-via-fun-0.1.0.0.. [1 of 1] Compiling DerivingViaFun ( src/DerivingViaFun.hs, dist/build/DerivingViaFun.o, dist/build/DerivingViaFun.dyn_o ) src/DerivingViaFun.hs:455:3: warning: [GHC-50928] [-Wnoncanonical-monoid-instances] Noncanonical mappend definition detected in the instance declaration for Monoid (Fun (f :: a ~> b)). mappend will eventually be removed in favour of (<>) Suggested fix: Either remove definition for mappend (recommended) or define as mappend = (<>) See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/semigroup-monoid | 455 | mappend (Fun x) (Fun y) = Fun (x <> y) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/DerivingViaFun.hs:549:13: warning: [GHC-68441] [-Wdeprecations] In the use of bitSize (imported from Data.Bits, but defined in GHC.Bits): Deprecated: "Use 'bitSizeMaybe' or 'finiteBitSize' instead" | 549 | bitSize = bitSize . unfun | ^^^^^^^ src/DerivingViaFun.hs:590:3: warning: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical return definition detected in the instance declaration for Monad (Fun1 (f :: p ~> q)). return will eventually be removed in favour of pure Suggested fix: Either remove definition for return (recommended) or define as return = pure See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 590 | return = Fun1 . pure | ^^^^^^^^^^^^^^^^^^^^ src/DerivingViaFun.hs:592:3: warning: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical (>>) definition detected in the instance declaration for Monad (Fun1 (f :: p ~> q)). (>>) will eventually be removed in favour of (*>) Suggested fix: Either remove definition for (>>) (recommended) or define as (>>) = (*>) See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 592 | u >> v = fun1 (unfun1 u >> unfun1 v) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Preprocessing library for deriving-via-fun-0.1.0.0.. Running Haddock on library for deriving-via-fun-0.1.0.0.. Warning: --source-* options are ignored when --hyperlinked-source is enabled. [1 of 1] Compiling DerivingViaFun ( src/DerivingViaFun.hs, nothing ) src/DerivingViaFun.hs:455:3: warning: [GHC-50928] [-Wnoncanonical-monoid-instances] Noncanonical mappend definition detected in the instance declaration for Monoid (Fun (f :: a ~> b)). mappend will eventually be removed in favour of (<>) Suggested fix: Either remove definition for mappend (recommended) or define as mappend = (<>) See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/semigroup-monoid | 455 | mappend (Fun x) (Fun y) = Fun (x <> y) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/DerivingViaFun.hs:549:13: warning: [GHC-68441] [-Wdeprecations] In the use of bitSize (imported from Data.Bits, but defined in GHC.Bits): Deprecated: "Use 'bitSizeMaybe' or 'finiteBitSize' instead" | 549 | bitSize = bitSize . unfun | ^^^^^^^ src/DerivingViaFun.hs:590:3: warning: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical return definition detected in the instance declaration for Monad (Fun1 (f :: p ~> q)). return will eventually be removed in favour of pure Suggested fix: Either remove definition for return (recommended) or define as return = pure See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 590 | return = Fun1 . pure | ^^^^^^^^^^^^^^^^^^^^ src/DerivingViaFun.hs:592:3: warning: [GHC-22705] [-Wnoncanonical-monad-instances] Noncanonical (>>) definition detected in the instance declaration for Monad (Fun1 (f :: p ~> q)). (>>) will eventually be removed in favour of (*>) Suggested fix: Either remove definition for (>>) (recommended) or define as (>>) = (*>) See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 592 | u >> v = fun1 (unfun1 u >> unfun1 v) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Haddock coverage: Warning: 'Fun' is ambiguous. It is defined * at src/DerivingViaFun.hs:115:29 * at src/DerivingViaFun.hs:115:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/DerivingViaFun.hs:115:1 Warning: 'Fun1' is ambiguous. It is defined * at src/DerivingViaFun.hs:385:38 * at src/DerivingViaFun.hs:385:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/DerivingViaFun.hs:385:1 100% ( 33 / 33) in 'DerivingViaFun' Documentation created: dist/doc/html/deriving-via-fun/, dist/doc/html/deriving-via-fun/deriving-via-fun.txt Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/deriving-via-fun-0.1.0.0-ATHAEEQYMI6J0ySjU7Cgmv Completed deriving-via-fun-0.1.0.0