Build #1 for TCache-0.13.3

[all reports]

Package TCache-0.13.3
Install InstallOk
Docs Ok
Tests Ok
Time submitted 2023-02-12 19:48:47.745331199 UTC
Compiler ghc-9.2.4
OS linux
Arch x86_64
Dependencies RefSerialize-0.4.0, base-4.16.3.0, bytestring-0.11.3.1, containers-0.6.5.1, directory-1.3.6.2, hashtables-1.3.1, mtl-2.2.2, old-time-1.1.0.3, stm-2.5.0.2, text-1.2.5.0
Flags none

Code Coverage

expressions38% (589/1535)
booleanguards10% (1/10)
conditions 25% (1/4)
qualifiers100% (0/0)
alternatives24% (31/125)
local declarations46% (21/45)
top-level declarations42% (42/99)

Build log

[view raw]

Resolving dependencies...
Starting     data-array-byte-0.1.0.1
Starting     old-locale-1.0.0.7
Starting     stringsearch-0.3.6.6
Starting     primitive-0.7.4.0
Starting     vector-stream-0.1.0.0
Building     data-array-byte-0.1.0.1
Building     old-locale-1.0.0.7
Building     stringsearch-0.3.6.6
Building     primitive-0.7.4.0
Building     vector-stream-0.1.0.0
Completed    old-locale-1.0.0.7
Starting     old-time-1.1.0.3
Completed    data-array-byte-0.1.0.1
Starting     hashable-1.4.2.0
Building     old-time-1.1.0.3
Building     hashable-1.4.2.0
Completed    vector-stream-0.1.0.0
Completed    stringsearch-0.3.6.6
Completed    old-time-1.1.0.3
Completed    hashable-1.4.2.0
Completed    primitive-0.7.4.0
Starting     vector-0.13.0.0
Building     vector-0.13.0.0
Completed    vector-0.13.0.0
Starting     hashtables-1.3.1
Building     hashtables-1.3.1
Completed    hashtables-1.3.1
Downloading  RefSerialize-0.4.0
Downloaded   RefSerialize-0.4.0
Starting     RefSerialize-0.4.0
Building     RefSerialize-0.4.0
Completed    RefSerialize-0.4.0
Downloading  TCache-0.13.3
Downloaded   TCache-0.13.3
Starting     TCache-0.13.3
Building     TCache-0.13.3
Completed    TCache-0.13.3

Test log

[view raw]

Resolving dependencies...
Build profile: -w ghc-9.2.4 -O0
In order, the following will be built (use -v for more details):
 - RefSerialize-0.4.0 (lib:RefSerialize) (requires build)
 - TCache-0.13.3 (first run)
Starting     RefSerialize-0.4.0 (all, legacy fallback)
Building     RefSerialize-0.4.0 (all, legacy fallback)
Installing   RefSerialize-0.4.0 (all, legacy fallback)
Completed    RefSerialize-0.4.0 (all, legacy fallback)
Configuring TCache-0.13.3...
Preprocessing library for TCache-0.13.3..
Building library for TCache-0.13.3..
[ 1 of 11] Compiling Data.Persistent.IDynamic ( Data/Persistent/IDynamic.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/build/Data/Persistent/IDynamic.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/build/Data/Persistent/IDynamic.dyn_o )
[ 2 of 11] Compiling Data.TCache.Defs ( Data/TCache/Defs.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/build/Data/TCache/Defs.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/build/Data/TCache/Defs.dyn_o )
[ 3 of 11] Compiling Data.TCache.IResource ( Data/TCache/IResource.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/build/Data/TCache/IResource.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/build/Data/TCache/IResource.dyn_o )
[ 4 of 11] Compiling Data.TCache.Triggers ( Data/TCache/Triggers.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/build/Data/TCache/Triggers.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/build/Data/TCache/Triggers.dyn_o )

Data/TCache/Triggers.hs:44:3: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type (TyCon, [TypeRep]) not matched:
            ((ghc-prim:GHC.Types.TyCon _ _ _ _ _ _), [])
   |
44 |   (_,atype:_)= splitTyConApp  . typeOf $ TriggerType tr
   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 5 of 11] Compiling Data.TCache      ( Data/TCache.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/build/Data/TCache.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/build/Data/TCache.dyn_o )

Data/TCache.hs:713:38: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a lambda abstraction:
        Patterns of type [Maybe a] not matched:
            []
            (Nothing:_:_)
            ((Just _):_:_)
    |
713 | withResource r f= withResources [r] (\[mr]-> [f mr])
    |                                      ^^^^^^^^^^^^^^

Data/TCache.hs:756:13: warning: [-Wincomplete-record-updates]
    Pattern match(es) are non-exhaustive
    In a record-update construct:
        Patterns of type Resources a () not matched: Retry
    |
756 |    f1 mrs = resources {toDelete=catMaybes mrs}
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 6 of 11] Compiling Data.TCache.Memoization ( Data/TCache/Memoization.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/build/Data/TCache/Memoization.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/build/Data/TCache/Memoization.dyn_o )

Data/TCache/Memoization.hs:100:35: warning: [-Wincomplete-record-updates]
    Pattern match(es) are non-exhaustive
    In a record-update construct:
        Patterns of type Resources (Cached a b) () not matched: Retry
    |
100 |     withSTMResources [] . const $ resources{toAdd= [Cached a b c d] }
    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Data/TCache/Memoization.hs:123:30: warning: [-Woperator-whitespace-ext-conflict]
    The prefix use of a $ would denote an untyped splice
      were the TemplateHaskell extension enabled.
    Suggested fix: add whitespace after the $.
    |
123 |      let r = unsafePerformIO $return . fromJust =<< readResource proto   -- !> "fillIt"
    |                              ^
[ 7 of 11] Compiling Data.TCache.IndexQuery ( Data/TCache/IndexQuery.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/build/Data/TCache/IndexQuery.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/build/Data/TCache/IndexQuery.dyn_o )

Data/TCache/IndexQuery.hs:92:8: warning: [-Wcompat-unqualified-imports]
    To ensure compatibility with future core libraries changes
    imports to Data.List should be
    either qualified or have an explicit import list.
   |
92 | import Data.List
   |        ^^^^^^^^^

Data/TCache/IndexQuery.hs:94:31: warning: [-Wunused-imports]
    The import of fromMaybe from module Data.Maybe is redundant
   |
94 | import Data.Maybe (catMaybes, fromMaybe)
   |                               ^^^^^^^^^

Data/TCache/IndexQuery.hs:141:8: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type [TypeRep] not matched:
            []
            [(base:Data.Typeable.Internal.SomeTypeRep _)]
            ((base:Data.Typeable.Internal.SomeTypeRep _):
             (base:Data.Typeable.Internal.SomeTypeRep _):_:_)
    |
141 |        [typeofreg, typeofa]= typeRepArgs $! typeOf map1
    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Data/TCache/IndexQuery.hs:155:8: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type [TypeRep] not matched:
            []
            [(base:Data.Typeable.Internal.SomeTypeRep _)]
            ((base:Data.Typeable.Internal.SomeTypeRep _):
             (base:Data.Typeable.Internal.SomeTypeRep _):_:_)
    |
155 |    let [one, two]= typeRepArgs $! typeOf selector
    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Data/TCache/IndexQuery.hs:165:8: warning: [-Wname-shadowing]
    This binding for index shadows the existing binding
      defined at Data/TCache/IndexQuery.hs:213:1
    |
165 |    let index = case mindex of 
    |        ^^^^^

Data/TCache/IndexQuery.hs:166:21: warning: [-Wname-shadowing]
    This binding for index shadows the existing binding
      bound at Data/TCache/IndexQuery.hs:165:8
    |
166 |         Just (Index index) ->  index
    |                     ^^^^^

Data/TCache/IndexQuery.hs:172:15: warning: [-Wname-shadowing]
    This binding for dbrefs shadows the existing binding
      bound at Data/TCache/IndexQuery.hs:171:8
    |
172 |         Just  dbrefs -> dbrefs
    |               ^^^^^^

Data/TCache/IndexQuery.hs:214:8: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type [TypeRep] not matched:
            []
            [(base:Data.Typeable.Internal.SomeTypeRep _)]
            ((base:Data.Typeable.Internal.SomeTypeRep _):
             (base:Data.Typeable.Internal.SomeTypeRep _):_:_)
    |
214 |    let [one, two]= typeRepArgs $! typeOf sel
    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Data/TCache/IndexQuery.hs:323:8: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type [TypeRep] not matched:
            []
            [(base:Data.Typeable.Internal.SomeTypeRep _)]
            ((base:Data.Typeable.Internal.SomeTypeRep _):
             (base:Data.Typeable.Internal.SomeTypeRep _):_:_)
    |
323 |    let [one, two]= typeRepArgs $! typeOf selector
    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 8 of 11] Compiling Data.TCache.IndexText ( Data/TCache/IndexText.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/build/Data/TCache/IndexText.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/build/Data/TCache/IndexText.dyn_o )

Data/TCache/IndexText.hs:70:1: warning: [-Wunused-imports]
    The import of GHC.Conc is redundant
      except perhaps to import instances from GHC.Conc
    To import instances alone, use: import GHC.Conc()
   |
70 | import GHC.Conc(unsafeIOToSTM)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Data/TCache/IndexText.hs:147:7: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type [TypeRep] not matched:
            []
            [(base:Data.Typeable.Internal.SomeTypeRep _)]
            ((base:Data.Typeable.Internal.SomeTypeRep _):
             (base:Data.Typeable.Internal.SomeTypeRep _):_:_)
    |
147 |   let [t1,t2]=  typeRepArgs $! typeOf sel
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Data/TCache/IndexText.hs:203:9: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type [TypeRep] not matched:
            []
            [(base:Data.Typeable.Internal.SomeTypeRep _)]
            ((base:Data.Typeable.Internal.SomeTypeRep _):
             (base:Data.Typeable.Internal.SomeTypeRep _):_:_)
    |
203 |         [t1, t2] = typeRepArgs $! typeOf sel
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Data/TCache/IndexText.hs:212:7: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a pattern binding:
        Patterns of type [TypeRep] not matched:
            []
            [(base:Data.Typeable.Internal.SomeTypeRep _)]
            ((base:Data.Typeable.Internal.SomeTypeRep _):
             (base:Data.Typeable.Internal.SomeTypeRep _):_:_)
    |
212 |   let [t1, t2]=  typeRepArgs $! typeOf sel
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Data/TCache/IndexText.hs:216:8: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a lambda abstraction:
        Patterns of type [Maybe IndexText] not matched:
            []
            (Nothing:_:_)
            ((Just _):_:_)
    |
216 |      $ \[r] -> resources{toReturn= r}
    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Data/TCache/IndexText.hs:216:16: warning: [-Wincomplete-record-updates]
    Pattern match(es) are non-exhaustive
    In a record-update construct:
        Patterns of type Resources IndexText () not matched: Retry
    |
216 |      $ \[r] -> resources{toReturn= r}
    |                ^^^^^^^^^^^^^^^^^^^^^^
[ 9 of 11] Compiling Data.TCache.DefaultPersistence ( Data/TCache/DefaultPersistence.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/build/Data/TCache/DefaultPersistence.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/build/Data/TCache/DefaultPersistence.dyn_o )
[10 of 11] Compiling Data.Persistent.Collection ( Data/Persistent/Collection.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/build/Data/Persistent/Collection.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/build/Data/Persistent/Collection.dyn_o )

Data/Persistent/Collection.hs:34:1: warning: [-Wunused-imports]
    The import of STM, atomically
    from module Control.Concurrent.STM is redundant
   |
34 | import Control.Concurrent.STM(STM,atomically, retry)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[11 of 11] Compiling Paths_TCache     ( /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/build/autogen/Paths_TCache.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/build/Paths_TCache.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/build/Paths_TCache.dyn_o )
Preprocessing test suite 'caching' for TCache-0.13.3..
Building test suite 'caching' for TCache-0.13.3..
[1 of 2] Compiling Main             ( demos/caching.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/build/caching/caching-tmp/Main.o )
[2 of 2] Compiling Paths_TCache     ( /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/build/caching/autogen/Paths_TCache.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/build/caching/caching-tmp/Paths_TCache.o )
Linking /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/build/caching/caching ...
Running 1 test suites...
Test suite caching: RUNNING...
Test suite caching: PASS
Test suite logged to:
/home/builder/builder-dir/build-cache/tmp-install/reports/TCache-0.13.3.test
Writing: TCache-0.13.3-inplace/Data.TCache.Triggers.hs.html
Writing: TCache-0.13.3-inplace/Data.TCache.IResource.hs.html
Writing: TCache-0.13.3-inplace/Data.TCache.Defs.hs.html
Writing: TCache-0.13.3-inplace/Data.TCache.DefaultPersistence.hs.html
Writing: TCache-0.13.3-inplace/Data.TCache.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
/home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/hpc/vanilla/html/caching/hpc_index.html
1 of 1 test suites (1 of 1 test cases) passed.
Writing: TCache-0.13.3-inplace/Data.TCache.Triggers.hs.html
Writing: TCache-0.13.3-inplace/Data.TCache.IResource.hs.html
Writing: TCache-0.13.3-inplace/Data.TCache.Defs.hs.html
Writing: TCache-0.13.3-inplace/Data.TCache.DefaultPersistence.hs.html
Writing: TCache-0.13.3-inplace/Data.TCache.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
/home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/TCache-0.13.3/noopt/hpc/vanilla/html/TCache-0.13.3/hpc_index.html