Resolving dependencies... Build profile: -w ghc-9.2.4 -O0 In order, the following will be built (use -v for more details): - store-0.7.17 (first run) Configuring store-0.7.17... Preprocessing library for store-0.7.17.. Building library for store-0.7.17.. [1 of 9] Compiling Data.Store.Impl ( src/Data/Store/Impl.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/store-0.7.17/noopt/build/Data/Store/Impl.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/store-0.7.17/noopt/build/Data/Store/Impl.dyn_o ) src/Data/Store/Impl.hs:198:28: warning: [-Wstar-is-type] Using * (or its Unicode variant) to mean Data.Kind.Type relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: use Type from Data.Kind instead. | 198 | type family SumArity (a :: * -> *) :: Nat where | ^ src/Data/Store/Impl.hs:198:33: warning: [-Wstar-is-type] Using * (or its Unicode variant) to mean Data.Kind.Type relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: use Type from Data.Kind instead. | 198 | type family SumArity (a :: * -> *) :: Nat where | ^ src/Data/Store/Impl.hs:300:52: warning: [-Wstar-is-type] Using * (or its Unicode variant) to mean Data.Kind.Type relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: use Type from Data.Kind instead. | 300 | class KnownNat n => GStoreSizeSum (n :: Nat) (f :: * -> *) where gsizeSum :: f a -> Proxy n -> Int | ^ src/Data/Store/Impl.hs:300:57: warning: [-Wstar-is-type] Using * (or its Unicode variant) to mean Data.Kind.Type relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: use Type from Data.Kind instead. | 300 | class KnownNat n => GStoreSizeSum (n :: Nat) (f :: * -> *) where gsizeSum :: f a -> Proxy n -> Int | ^ src/Data/Store/Impl.hs:301:52: warning: [-Wstar-is-type] Using * (or its Unicode variant) to mean Data.Kind.Type relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: use Type from Data.Kind instead. | 301 | class KnownNat n => GStorePokeSum (n :: Nat) (f :: * -> *) where gpokeSum :: f p -> Proxy n -> Poke () | ^ src/Data/Store/Impl.hs:301:57: warning: [-Wstar-is-type] Using * (or its Unicode variant) to mean Data.Kind.Type relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: use Type from Data.Kind instead. | 301 | class KnownNat n => GStorePokeSum (n :: Nat) (f :: * -> *) where gpokeSum :: f p -> Proxy n -> Poke () | ^ src/Data/Store/Impl.hs:302:52: warning: [-Wstar-is-type] Using * (or its Unicode variant) to mean Data.Kind.Type relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: use Type from Data.Kind instead. | 302 | class KnownNat n => GStorePeekSum (n :: Nat) (f :: * -> *) where gpeekSum :: Word8 -> Proxy n -> Peek (f p) | ^ src/Data/Store/Impl.hs:302:57: warning: [-Wstar-is-type] Using * (or its Unicode variant) to mean Data.Kind.Type relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: use Type from Data.Kind instead. | 302 | class KnownNat n => GStorePeekSum (n :: Nat) (f :: * -> *) where gpeekSum :: Word8 -> Proxy n -> Peek (f p) | ^ [2 of 9] Compiling Data.Store.TH.Internal ( src/Data/Store/TH/Internal.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/store-0.7.17/noopt/build/Data/Store/TH/Internal.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/store-0.7.17/noopt/build/Data/Store/TH/Internal.dyn_o ) [3 of 9] Compiling Data.Store.TH ( src/Data/Store/TH.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/store-0.7.17/noopt/build/Data/Store/TH.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/store-0.7.17/noopt/build/Data/Store/TH.dyn_o ) [4 of 9] Compiling Data.Store.Internal ( src/Data/Store/Internal.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/store-0.7.17/noopt/build/Data/Store/Internal.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/store-0.7.17/noopt/build/Data/Store/Internal.dyn_o ) src/Data/Store/Internal.hs:133:1: warning: [-Wunused-imports] The import of Numeric.Natural is redundant except perhaps to import instances from Numeric.Natural To import instances alone, use: import Numeric.Natural() | 133 | import Numeric.Natural (Natural) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ src/Data/Store/Internal.hs:619:13: warning: [-Wdeprecations] In the use of data constructor S# (imported from GHC.Integer.GMP.Internals): Deprecated: "Use IS constructor instead" | 619 | I.S# _ -> sizeOf (undefined :: Int) | ^^^^ src/Data/Store/Internal.hs:620:13: warning: [-Wdeprecations] In the use of data constructor Jp# (imported from GHC.Integer.GMP.Internals): Deprecated: "Use IP constructor instead" | 620 | I.Jp# (I.BN# arr) -> sizeOf (undefined :: Int) + I# (sizeofByteArray# arr) | ^^^^^ src/Data/Store/Internal.hs:621:13: warning: [-Wdeprecations] In the use of data constructor Jn# (imported from GHC.Integer.GMP.Internals): Deprecated: "Use IN constructor instead" | 621 | I.Jn# (I.BN# arr) -> sizeOf (undefined :: Int) + I# (sizeofByteArray# arr) | ^^^^^ src/Data/Store/Internal.hs:622:11: warning: [-Wdeprecations] In the use of data constructor S# (imported from GHC.Integer.GMP.Internals): Deprecated: "Use IS constructor instead" | 622 | poke (I.S# x) = poke (0 :: Word8) >> poke (I# x) | ^^^^ src/Data/Store/Internal.hs:623:11: warning: [-Wdeprecations] In the use of data constructor Jp# (imported from GHC.Integer.GMP.Internals): Deprecated: "Use IP constructor instead" | 623 | poke (I.Jp# (I.BN# arr)) = do | ^^^^^ src/Data/Store/Internal.hs:628:11: warning: [-Wdeprecations] In the use of data constructor Jn# (imported from GHC.Integer.GMP.Internals): Deprecated: "Use IN constructor instead" | 628 | poke (I.Jn# (I.BN# arr)) = do | ^^^^^ src/Data/Store/Internal.hs:637:18: warning: [-Wdeprecations] In the use of data constructor Jp# (imported from GHC.Integer.GMP.Internals): Deprecated: "Use IP constructor instead" | 637 | 1 -> I.Jp# <$> peekBN | ^^^^^ src/Data/Store/Internal.hs:638:18: warning: [-Wdeprecations] In the use of data constructor Jn# (imported from GHC.Integer.GMP.Internals): Deprecated: "Use IN constructor instead" | 638 | 2 -> I.Jn# <$> peekBN | ^^^^^ [5 of 9] Compiling Data.Store ( src/Data/Store.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/store-0.7.17/noopt/build/Data/Store.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/store-0.7.17/noopt/build/Data/Store.dyn_o ) [6 of 9] Compiling Data.Store.TypeHash.Internal ( src/Data/Store/TypeHash/Internal.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/store-0.7.17/noopt/build/Data/Store/TypeHash/Internal.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/store-0.7.17/noopt/build/Data/Store/TypeHash/Internal.dyn_o ) src/Data/Store/TypeHash/Internal.hs:22:1: warning: [-Wunused-imports] The import of Data.Monoid is redundant except perhaps to import instances from Data.Monoid To import instances alone, use: import Data.Monoid() | 22 | import Data.Monoid ((<>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [7 of 9] Compiling Data.Store.TypeHash ( src/Data/Store/TypeHash.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/store-0.7.17/noopt/build/Data/Store/TypeHash.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/store-0.7.17/noopt/build/Data/Store/TypeHash.dyn_o ) [8 of 9] Compiling Data.Store.Version ( src/Data/Store/Version.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/store-0.7.17/noopt/build/Data/Store/Version.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/store-0.7.17/noopt/build/Data/Store/Version.dyn_o ) [9 of 9] Compiling System.IO.ByteBuffer ( src/System/IO/ByteBuffer.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/store-0.7.17/noopt/build/System/IO/ByteBuffer.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/store-0.7.17/noopt/build/System/IO/ByteBuffer.dyn_o ) Preprocessing test suite 'store-test' for store-0.7.17.. Building test suite 'store-test' for store-0.7.17.. [1 of 5] Compiling Data.Store.UntrustedSpec ( test/Data/Store/UntrustedSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/store-0.7.17/noopt/build/store-test/store-test-tmp/Data/Store/UntrustedSpec.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/store-0.7.17/noopt/build/store-test/store-test-tmp/Data/Store/UntrustedSpec.dyn_o ) [2 of 5] Compiling Data.StoreSpec.TH ( test/Data/StoreSpec/TH.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/store-0.7.17/noopt/build/store-test/store-test-tmp/Data/StoreSpec/TH.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/store-0.7.17/noopt/build/store-test/store-test-tmp/Data/StoreSpec/TH.dyn_o ) [3 of 5] Compiling Data.StoreSpec ( test/Data/StoreSpec.hs, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/store-0.7.17/noopt/build/store-test/store-test-tmp/Data/StoreSpec.o, /home/builder/builder-dir/build-cache/tmp-install/dist-newstyle/build/x86_64-linux/ghc-9.2.4/store-0.7.17/noopt/build/store-test/store-test-tmp/Data/StoreSpec.dyn_o ) test/Data/StoreSpec.hs:357:24: error: " Not in scope: type constructor or class Time.FirstWeekType Neither Data.Time, Data.Time.Calendar.Quarter, Data.Time.Clock.System, Data.Time.Clock.TAI nor Data.Time.Format.ISO8601 exports FirstWeekType. " In the Template Haskell quotation [t| Time.FirstWeekType |] In the untyped splice: $(do insts <- getAllInstanceTypes1 ''Store omitTys0 <- sequence $ [[t| CUIntPtr |], [t| CIntPtr |], [t| IntPtr |], ....] omitTys <- (omitTys0 ++) <$> mapM (\ ty -> [t| PV.Vector $(pure ty) |]) omitTys0 let f ty = isMonoType ty && ty `notElem` omitTys && null (listify isThName ty) filtered = filter f insts isThName n = nameModule n == Just "Language.Haskell.TH.Syntax" smallcheckManyStore verbose 2 $ map return filtered) | 357 | , [t| Time.FirstWeekType |] | ^^^^^^^^^^^^^^^^^^