[all reports]
| Package |
deriving-via-fun-0.1.1.0 |
| Install |
InstallOk |
| Docs |
Ok |
| Tests |
Ok |
| Time submitted |
2025-11-06 22:09:56.635272571 UTC
|
| Compiler |
ghc-9.8.4 |
| OS |
linux |
| Arch |
x86_64 |
| Dependencies |
base-4.19.2.0 |
| Flags |
none
|
Code Coverage
| expressions | 0% (0/758) |
| boolean | guards | 100% (0/0) |
| conditions | 100% (0/0) |
| qualifiers | 100% (0/0) |
| alternatives | 100% (0/0) |
| local declarations | 100% (0/0) |
| top-level declarations | 0% (0/178) |
Build log
[view raw]
Resolving dependencies...
Downloading deriving-via-fun-0.1.1.0
Downloaded deriving-via-fun-0.1.1.0
Configuring deriving-via-fun-0.1.1.0...
Preprocessing library for deriving-via-fun-0.1.1.0..
Building library for deriving-via-fun-0.1.1.0..
[1 of 1] Compiling DerivingViaFun ( src/DerivingViaFun.hs, dist/build/DerivingViaFun.o, dist/build/DerivingViaFun.dyn_o )
src/DerivingViaFun.hs:459: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
|
459 | mappend (Fun x) (Fun y) = Fun (x <> y)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/DerivingViaFun.hs:553: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"
|
553 | bitSize = bitSize . unfun
| ^^^^^^^
src/DerivingViaFun.hs:594: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
|
594 | return = Fun1 . pure
| ^^^^^^^^^^^^^^^^^^^^
src/DerivingViaFun.hs:596: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
|
596 | u >> v = fun1 (unfun1 u >> unfun1 v)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Preprocessing library for deriving-via-fun-0.1.1.0..
Running Haddock on library for deriving-via-fun-0.1.1.0..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
[1 of 1] Compiling DerivingViaFun ( src/DerivingViaFun.hs, nothing )
src/DerivingViaFun.hs:459: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
|
459 | mappend (Fun x) (Fun y) = Fun (x <> y)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/DerivingViaFun.hs:553: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"
|
553 | bitSize = bitSize . unfun
| ^^^^^^^
src/DerivingViaFun.hs:594: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
|
594 | return = Fun1 . pure
| ^^^^^^^^^^^^^^^^^^^^
src/DerivingViaFun.hs:596: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
|
596 | u >> v = fun1 (unfun1 u >> unfun1 v)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Haddock coverage:
Warning: 'Fun' is ambiguous. It is defined
* at src/DerivingViaFun.hs:119:29
* at src/DerivingViaFun.hs:119: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:119:1
Warning: 'Fun1' is ambiguous. It is defined
* at src/DerivingViaFun.hs:389:38
* at src/DerivingViaFun.hs:389: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:389: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.1.0-39G7WQrtsbC8fK1TqidfOj
Completed deriving-via-fun-0.1.1.0
Test log
[view raw]
Resolving dependencies...
Build profile: -w ghc-9.8.4 -O0
In order, the following will be built (use -v for more details):
- deriving-via-fun-0.1.1.0 (first run)
Configuring deriving-via-fun-0.1.1.0...
Preprocessing library for deriving-via-fun-0.1.1.0..
Building library for deriving-via-fun-0.1.1.0..
[1 of 1] Compiling DerivingViaFun ( src/DerivingViaFun.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/deriving-via-fun-0.1.1.0/noopt/build/DerivingViaFun.o, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/deriving-via-fun-0.1.1.0/noopt/build/DerivingViaFun.dyn_o )
src/DerivingViaFun.hs:459: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
|
459 | mappend (Fun x) (Fun y) = Fun (x <> y)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/DerivingViaFun.hs:553: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"
|
553 | bitSize = bitSize . unfun
| ^^^^^^^
src/DerivingViaFun.hs:594: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
|
594 | return = Fun1 . pure
| ^^^^^^^^^^^^^^^^^^^^
src/DerivingViaFun.hs:596: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
|
596 | u >> v = fun1 (unfun1 u >> unfun1 v)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Preprocessing test suite 'deriving-via-fun-test' for deriving-via-fun-0.1.1.0..
Building test suite 'deriving-via-fun-test' for deriving-via-fun-0.1.1.0..
[1 of 1] Compiling Main ( test/Main.hs, /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/deriving-via-fun-0.1.1.0/noopt/build/deriving-via-fun-test/deriving-via-fun-test-tmp/Main.o )
[2 of 2] Linking /var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/deriving-via-fun-0.1.1.0/noopt/build/deriving-via-fun-test/deriving-via-fun-test
Running 1 test suites...
Test suite deriving-via-fun-test: RUNNING...
Test suite deriving-via-fun-test: PASS
Test suite logged to:
/var/lib/hackage-doc-builder/build-cache/tmp-install/reports/deriving-via-fun-0.1.1.0.test
Writing: deriving-via-fun-0.1.1.0-inplace/DerivingViaFun.hs.html
Writing: hpc_index.html
Writing: hpc_index_fun.html
Writing: hpc_index_alt.html
Writing: hpc_index_exp.html
Test coverage report written to
/var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/deriving-via-fun-0.1.1.0/noopt/hpc/vanilla/html/deriving-via-fun-test/hpc_index.html
1 of 1 test suites (1 of 1 test cases) passed.
Writing: deriving-via-fun-0.1.1.0-inplace/DerivingViaFun.hs.html
Writing: hpc_index.html
Writing: hpc_index_fun.html
Writing: hpc_index_alt.html
Writing: hpc_index_exp.html
Package coverage report written to
/var/lib/hackage-doc-builder/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.8.4/deriving-via-fun-0.1.1.0/noopt/hpc/vanilla/html/deriving-via-fun-0.1.1.0/hpc_index.html