=> Bootstrap dependency digest>=20211023: found digest-20211023 ===> 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.11nb2 Preprocessing library for basement-0.0.11.. Building library for basement-0.0.11.. [ 1 of 84] Compiling Basement.Compat.Bifunctor ( Basement/Compat/Bifunctor.hs, dist/build/Basement/Compat/Bifunctor.o, dist/build/Basement/Compat/Bifunctor.dyn_o ) [ 2 of 84] 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 84] Compiling Basement.Compat.CallStack ( Basement/Compat/CallStack.hs, dist/build/Basement/Compat/CallStack.o, dist/build/Basement/Compat/CallStack.dyn_o ) [ 4 of 84] Compiling Basement.Compat.Identity ( Basement/Compat/Identity.hs, dist/build/Basement/Compat/Identity.o, dist/build/Basement/Compat/Identity.dyn_o ) [ 5 of 84] Compiling Basement.Compat.IsList ( Basement/Compat/IsList.hs, dist/build/Basement/Compat/IsList.o, dist/build/Basement/Compat/IsList.dyn_o ) [ 6 of 84] Compiling Basement.Compat.Natural ( Basement/Compat/Natural.hs, dist/build/Basement/Compat/Natural.o, dist/build/Basement/Compat/Natural.dyn_o ) [ 7 of 84] Compiling Basement.Compat.NumLiteral ( Basement/Compat/NumLiteral.hs, dist/build/Basement/Compat/NumLiteral.o, dist/build/Basement/Compat/NumLiteral.dyn_o ) [ 8 of 84] Compiling Basement.Compat.PrimTypes ( Basement/Compat/PrimTypes.hs, dist/build/Basement/Compat/PrimTypes.o, dist/build/Basement/Compat/PrimTypes.dyn_o ) [ 9 of 84] Compiling Basement.Compat.Primitive ( Basement/Compat/Primitive.hs, dist/build/Basement/Compat/Primitive.o, dist/build/Basement/Compat/Primitive.dyn_o ) [10 of 84] Compiling Basement.Compat.Semigroup ( Basement/Compat/Semigroup.hs, dist/build/Basement/Compat/Semigroup.o, dist/build/Basement/Compat/Semigroup.dyn_o ) [11 of 84] Compiling Basement.Compat.Typeable ( Basement/Compat/Typeable.hs, dist/build/Basement/Compat/Typeable.o, dist/build/Basement/Compat/Typeable.dyn_o ) [12 of 84] Compiling Basement.Compat.Base ( Basement/Compat/Base.hs, dist/build/Basement/Compat/Base.o, dist/build/Basement/Compat/Base.dyn_o ) [13 of 84] 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 84] Compiling Basement.Compat.AMP ( Basement/Compat/AMP.hs, dist/build/Basement/Compat/AMP.o, dist/build/Basement/Compat/AMP.dyn_o ) [15 of 84] Compiling Basement.Endianness ( Basement/Endianness.hs, dist/build/Basement/Endianness.o, dist/build/Basement/Endianness.dyn_o ) [16 of 84] Compiling Basement.Floating ( Basement/Floating.hs, dist/build/Basement/Floating.o, dist/build/Basement/Floating.dyn_o ) [17 of 84] Compiling Basement.Monad ( Basement/Monad.hs, dist/build/Basement/Monad.o, dist/build/Basement/Monad.dyn_o ) [18 of 84] Compiling Basement.FinalPtr ( Basement/FinalPtr.hs, dist/build/Basement/FinalPtr.o, dist/build/Basement/FinalPtr.dyn_o ) [19 of 84] 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:84:46: error: * Couldn't match expected type `Word32#' with actual type `Word#' * In the first argument of `W32#', namely `(uncheckedShiftRL# w64 32#)' In the first argument of `Word32x2', namely `(W32# (uncheckedShiftRL# w64 32#))' In the expression: Word32x2 (W32# (uncheckedShiftRL# w64 32#)) (W32# (narrow32Word# w64)) | 84 | word64ToWord32s (W64# w64) = Word32x2 (W32# (uncheckedShiftRL# w64 32#)) (W32# (narrow32Word# w64)) | ^^^^^^^^^^^^^^^^^^^^^^^^^ Basement/Numerical/Conversion.hs:84:81: error: * Couldn't match expected type `Word32#' with actual type `Word#' * In the first argument of `W32#', namely `(narrow32Word# w64)' In the second argument of `Word32x2', namely `(W32# (narrow32Word# w64))' In the expression: Word32x2 (W32# (uncheckedShiftRL# w64 32#)) (W32# (narrow32Word# w64)) | 84 | word64ToWord32s (W64# w64) = Word32x2 (W32# (uncheckedShiftRL# w64 32#)) (W32# (narrow32Word# w64)) | ^^^^^^^^^^^^^^^^^ [20 of 84] Compiling Basement.Numerical.Number ( Basement/Numerical/Number.hs, dist/build/Basement/Numerical/Number.o, dist/build/Basement/Numerical/Number.dyn_o ) [22 of 84] Compiling Basement.Types.Char7 ( Basement/Types/Char7.hs, dist/build/Basement/Types/Char7.o, dist/build/Basement/Types/Char7.dyn_o ) Basement/Types/Char7.hs:47:47: error: * Couldn't match expected type `Word#' with actual type `Word8#' * In the first argument of `word2Int#', namely `w' In the first argument of `chr#', namely `(word2Int# w)' In the first argument of `C#', namely `(chr# (word2Int# w))' | 47 | toChar !(Char7 (W8# w)) = C# (chr# (word2Int# w)) | ^ Basement/Types/Char7.hs:54:61: error: * Couldn't match expected type `Word8#' with actual type `Word#' * In the first argument of `W8#', namely `(int2Word# (ord# c#))' In the second argument of `($)', namely `W8# (int2Word# (ord# c#))' In the second argument of `($)', namely `Char7 $ W8# (int2Word# (ord# c#))' | 54 | | bool# (ltChar# c# (chr# 0x80#)) = Just $ Char7 $ W8# (int2Word# (ord# c#)) | ^^^^^^^^^^^^^^^^^^^ Basement/Types/Char7.hs:67:38: error: * Couldn't match expected type `Word8#' with actual type `Word#' * In the first argument of `W8#', namely `(and# (int2Word# (ord# c#)) 0x7f##)' In the second argument of `($)', namely `W8# (and# (int2Word# (ord# c#)) 0x7f##)' In the expression: Char7 $ W8# (and# (int2Word# (ord# c#)) 0x7f##) | 67 | fromCharMask !(C# c#) = Char7 $ W8# (and# (int2Word# (ord# c#)) 0x7f##) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Basement/Types/Char7.hs:71:39: error: * Couldn't match expected type `Word8#' with actual type `Word#' * In the first argument of `W8#', namely `(and# w# 0x7f##)' In the second argument of `($)', namely `W8# (and# w# 0x7f##)' In the expression: Char7 $ W8# (and# w# 0x7f##) | 71 | fromByteMask !(W8# w#) = Char7 $ W8# (and# w# 0x7f##) | ^^^^^^^^^^^^^^ Basement/Types/Char7.hs:71:44: error: * Couldn't match expected type `Word#' with actual type `Word8#' * In the first argument of `and#', namely `w#' In the first argument of `W8#', namely `(and# w# 0x7f##)' In the second argument of `($)', namely `W8# (and# w# 0x7f##)' | 71 | fromByteMask !(W8# w#) = Char7 $ W8# (and# w# 0x7f##) | ^^ *** 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