=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for hs-basement-0.0.12nb2 Preprocessing library for basement-0.0.12.. Building library for basement-0.0.12.. [ 1 of 85] Compiling Basement.Compat.Bifunctor ( Basement/Compat/Bifunctor.hs, dist/build/Basement/Compat/Bifunctor.o, dist/build/Basement/Compat/Bifunctor.dyn_o ) [ 2 of 85] Compiling Basement.Compat.C.Types ( Basement/Compat/C/Types.hs, dist/build/Basement/Compat/C/Types.o, dist/build/Basement/Compat/C/Types.dyn_o ) [ 3 of 85] Compiling Basement.Compat.CallStack ( Basement/Compat/CallStack.hs, dist/build/Basement/Compat/CallStack.o, dist/build/Basement/Compat/CallStack.dyn_o ) [ 4 of 85] Compiling Basement.Compat.Identity ( Basement/Compat/Identity.hs, dist/build/Basement/Compat/Identity.o, dist/build/Basement/Compat/Identity.dyn_o ) [ 5 of 85] Compiling Basement.Compat.IsList ( Basement/Compat/IsList.hs, dist/build/Basement/Compat/IsList.o, dist/build/Basement/Compat/IsList.dyn_o ) [ 6 of 85] Compiling Basement.Compat.Natural ( Basement/Compat/Natural.hs, dist/build/Basement/Compat/Natural.o, dist/build/Basement/Compat/Natural.dyn_o ) [ 7 of 85] Compiling Basement.Compat.NumLiteral ( Basement/Compat/NumLiteral.hs, dist/build/Basement/Compat/NumLiteral.o, dist/build/Basement/Compat/NumLiteral.dyn_o ) [ 8 of 85] Compiling Basement.Compat.PrimTypes ( Basement/Compat/PrimTypes.hs, dist/build/Basement/Compat/PrimTypes.o, dist/build/Basement/Compat/PrimTypes.dyn_o ) [ 9 of 85] Compiling Basement.Compat.Primitive ( Basement/Compat/Primitive.hs, dist/build/Basement/Compat/Primitive.o, dist/build/Basement/Compat/Primitive.dyn_o ) [10 of 85] Compiling Basement.Compat.Semigroup ( Basement/Compat/Semigroup.hs, dist/build/Basement/Compat/Semigroup.o, dist/build/Basement/Compat/Semigroup.dyn_o ) [11 of 85] Compiling Basement.Compat.Typeable ( Basement/Compat/Typeable.hs, dist/build/Basement/Compat/Typeable.o, dist/build/Basement/Compat/Typeable.dyn_o ) [12 of 85] Compiling Basement.Compat.Base ( Basement/Compat/Base.hs, dist/build/Basement/Compat/Base.o, dist/build/Basement/Compat/Base.dyn_o ) [13 of 85] Compiling Basement.Compat.MonadTrans ( Basement/Compat/MonadTrans.hs, dist/build/Basement/Compat/MonadTrans.o, dist/build/Basement/Compat/MonadTrans.dyn_o ) Basement/Compat/MonadTrans.hs:30:5: warning: [-Wnoncanonical-monad-instances] Noncanonical `return' definition detected in the instance declaration for `Monad (State r m)'. `return' will eventually be removed in favour of `pure' 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 | 30 | return a = State $ \st -> return (a,st) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Basement/Compat/MonadTrans.hs:47:5: warning: [-Wnoncanonical-monad-instances] Noncanonical `return' definition detected in the instance declaration for `Monad (Reader r m)'. `return' will eventually be removed in favour of `pure' 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 | 47 | return a = Reader $ \_ -> return a | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [14 of 85] Compiling Basement.Compat.AMP ( Basement/Compat/AMP.hs, dist/build/Basement/Compat/AMP.o, dist/build/Basement/Compat/AMP.dyn_o ) [15 of 85] Compiling Basement.Endianness ( Basement/Endianness.hs, dist/build/Basement/Endianness.o, dist/build/Basement/Endianness.dyn_o ) [16 of 85] Compiling Basement.Floating ( Basement/Floating.hs, dist/build/Basement/Floating.o, dist/build/Basement/Floating.dyn_o ) [17 of 85] Compiling Basement.HeadHackageUtils ( Basement/HeadHackageUtils.hs, dist/build/Basement/HeadHackageUtils.o, dist/build/Basement/HeadHackageUtils.dyn_o ) [18 of 85] Compiling Basement.Monad ( Basement/Monad.hs, dist/build/Basement/Monad.o, dist/build/Basement/Monad.dyn_o ) [19 of 85] Compiling Basement.FinalPtr ( Basement/FinalPtr.hs, dist/build/Basement/FinalPtr.o, dist/build/Basement/FinalPtr.dyn_o ) [20 of 85] Compiling Basement.Numerical.Conversion ( Basement/Numerical/Conversion.hs, dist/build/Basement/Numerical/Conversion.o, dist/build/Basement/Numerical/Conversion.dyn_o ) Basement/Numerical/Conversion.hs:36:26: error: * Couldn't match expected type `Int64#' with actual type `Int#' * In the first argument of `I64#', namely `i' In the expression: I64# i In an equation for `intToInt64': intToInt64 (I# i) = I64# i | 36 | intToInt64 (I# i) = I64# i | ^ Basement/Numerical/Conversion.hs:43:26: error: * Couldn't match expected type `Int#' with actual type `Int64#' * In the first argument of `I#', namely `i' In the expression: I# i In an equation for `int64ToInt': int64ToInt (I64# i) = I# i | 43 | int64ToInt (I64# i) = I# i | ^ Basement/Numerical/Conversion.hs:50:28: error: * Couldn't match expected type `Word64#' with actual type `Word#' * In the first argument of `W64#', namely `i' In the expression: W64# i In an equation for `wordToWord64': wordToWord64 (W# i) = W64# i | 50 | wordToWord64 (W# i) = W64# i | ^ Basement/Numerical/Conversion.hs:57:28: error: * Couldn't match expected type `Word#' with actual type `Word64#' * In the first argument of `W#', namely `i' In the expression: W# i In an equation for `word64ToWord': word64ToWord (W64# i) = W# i | 57 | word64ToWord (W64# i) = W# i | ^ Basement/Numerical/Conversion.hs:64:32: error: * Couldn't match expected type `Int64#' with actual type `Int#' * In the first argument of `I64#', namely `(word2Int# i)' In the expression: I64# (word2Int# i) In an equation for `word64ToInt64': word64ToInt64 (W64# i) = I64# (word2Int# i) | 64 | word64ToInt64 (W64# i) = I64# (word2Int# i) | ^^^^^^^^^^^ Basement/Numerical/Conversion.hs:64:42: error: * Couldn't match expected type `Word#' with actual type `Word64#' * In the first argument of `word2Int#', namely `i' In the first argument of `I64#', namely `(word2Int# i)' In the expression: I64# (word2Int# i) | 64 | word64ToInt64 (W64# i) = I64# (word2Int# i) | ^ Basement/Numerical/Conversion.hs:71:32: error: * Couldn't match expected type `Word64#' with actual type `Word#' * In the first argument of `W64#', namely `(int2Word# i)' In the expression: W64# (int2Word# i) In an equation for `int64ToWord64': int64ToWord64 (I64# i) = W64# (int2Word# i) | 71 | int64ToWord64 (I64# i) = W64# (int2Word# i) | ^^^^^^^^^^^ Basement/Numerical/Conversion.hs:71:42: error: * Couldn't match expected type `Int#' with actual type `Int64#' * In the first argument of `int2Word#', namely `i' In the first argument of `W64#', namely `(int2Word# i)' In the expression: W64# (int2Word# i) | 71 | int64ToWord64 (I64# i) = W64# (int2Word# i) | ^ Basement/Numerical/Conversion.hs:88:85: error: * Couldn't match expected type `Word#' with actual type `Word64#' * In the first argument of `uncheckedShiftRL#', namely `w64' In the first argument of `wordToWord32Compat#', namely `(uncheckedShiftRL# w64 32#)' In the first argument of `W32#', namely `(wordToWord32Compat# (uncheckedShiftRL# w64 32#))' | 88 | word64ToWord32s (W64# w64) = Word32x2 (W32# (wordToWord32Compat# (uncheckedShiftRL# w64 32#))) (W32# (narrow32WordCompat# w64)) | ^^^ Basement/Numerical/Conversion.hs:88:123: error: * Couldn't match expected type `Word#' with actual type `Word64#' * In the first argument of `narrow32WordCompat#', namely `w64' In the first argument of `W32#', namely `(narrow32WordCompat# w64)' In the second argument of `Word32x2', namely `(W32# (narrow32WordCompat# w64))' | 88 | word64ToWord32s (W64# w64) = Word32x2 (W32# (wordToWord32Compat# (uncheckedShiftRL# w64 32#))) (W32# (narrow32WordCompat# w64)) | ^^^ [21 of 85] Compiling Basement.Numerical.Number ( Basement/Numerical/Number.hs, dist/build/Basement/Numerical/Number.o, dist/build/Basement/Numerical/Number.dyn_o ) [23 of 85] Compiling Basement.Types.Char7 ( Basement/Types/Char7.hs, dist/build/Basement/Types/Char7.o, dist/build/Basement/Types/Char7.dyn_o ) [24 of 85] Compiling Basement.Base16 ( Basement/Base16.hs, dist/build/Basement/Base16.o, dist/build/Basement/Base16.dyn_o ) *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/devel/hs-basement *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/devel/hs-basement